treewide: change license to MPL-2.0
Adjust the license to be able to upstream adjustments from this repository to upstream Firefox. I've asked all contributors if they are fine with the license change in the related issue. Fixes: https://gitlab.com/postmarketOS/mobile-config-firefox/-/issues/31
This commit is contained in:
parent
16a4471b73
commit
75c57aa3aa
27 changed files with 403 additions and 704 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -e
|
||||
# Copyright 2021 Oliver Smith
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
#
|
||||
# As of writing, it seems that every existing CSS linter is either written in
|
||||
# JS or ruby and has tons of dependencies... so instead of that let's use this
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
# Copyright 2021 Oliver Smith
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
HEADER_FILE := src/common/header.css
|
||||
USERCHROME_FILES := $(HEADER_FILE) $(sort $(wildcard src/userChrome/*.css))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh -e
|
||||
# Copyright 2021 Oliver Smith
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
#
|
||||
# Extract the search engine names found in your current Firefox installation,
|
||||
# and create a list suitable for policies.json that removes all of them except
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="addon">
|
||||
<id>org.postmarketos.mobile_config_firefox</id>
|
||||
|
||||
|
||||
<name>Mobile Config for Firefox</name>
|
||||
<summary>Mobile and privacy friendly configuration for Firefox (distro-independent)</summary>
|
||||
|
||||
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-only</project_license>
|
||||
|
||||
<project_license>MPL-2.0</project_license>
|
||||
|
||||
<extends>
|
||||
<id>org.mozilla.firefox</id>
|
||||
</extends>
|
||||
|
||||
|
||||
<description>
|
||||
<p>
|
||||
UI optimizations to allow using Firefox on mobile devices (i.e. small touch screen), including two finger zoom and enforcing of mobile user agent. Privacy enhancements such as disabled search suggestions, disabled Firefox studies, disabled Telemetry and DuckDuckGo as default search engine.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Oliver Smith, Arnaud Ferraris
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
* _ _ _ __ _
|
||||
* _ __ ___ ___ | |__ (_) | ___ ___ ___ _ __ / _(_) __ _
|
||||
* | '_ ` _ \ / _ \| '_ \| | |/ _ \_____ / __/ _ \| '_ \| |_| |/ _` |
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright 2021 Arnaud Ferraris, Oliver Smith
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
// This is a Firefox autoconfig file:
|
||||
// https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright 2021 Oliver Smith, Martijn Braam
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
// Set up autoconfig (we use it to copy/update userChrome.css into profile dir)
|
||||
pref('general.config.filename', "mobile-config-autoconfig.js");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Oliver Smith
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@media (max-width: 700px) {
|
||||
/* Spawn the menu above the navigation bar (now that we've moved it to the
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 plata
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
/* Move navigation bar to bottom */
|
||||
@media (max-width: 700px) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Oliver Smith
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@media (max-width: 700px) {
|
||||
/* The only way I (ollieparanoid) found to make this not glitchy, was to
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Oliver Smith
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.findbar-container {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Oliver Smith
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@media (max-width: 700px) {
|
||||
/* Hack to prevent popups from flickering around. It looks like e.g. the
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Oliver Smith
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
/* Reduce minimum window width */
|
||||
:root {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Peter Mack, Oliver Smith
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@media (max-width: 700px) {
|
||||
/* Even when not in private browsing mode, reserve space to the right of
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Oliver Smith
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
/* Reduce minimum window width */
|
||||
#urlbar-container {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Anri Dellal
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document url("about:addons"), url-prefix("about:addons") {
|
||||
:root {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Anri Dellal
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document url("about:config") {
|
||||
#search-container,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Oliver Smith
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@namespace url("http://www.w3.org/1999/xhtml");
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Anri Dellal
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document url("about:license") {
|
||||
@media (max-width: 500px) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Anri Dellal
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document url("about:logins") {
|
||||
.container {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Anri Dellal
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document url("about:policies"), url-prefix("about:policies") {
|
||||
@media (max-width: 830px) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Anri Dellal
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document regexp("about:preferences.*") {
|
||||
.sticky-container {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Anri Dellal
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document url("about:protections") {
|
||||
#report-content {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Tim Magee
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document url-prefix("about:reader") {
|
||||
@media (max-width: 800px) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 Anri Dellal
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document url("about:rights") {
|
||||
@media (max-width: 500px) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Copyright 2021 plata, Anri Dellal
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
* SPDX-License-Identifier: MPL-2.0 */
|
||||
|
||||
@-moz-document regexp("about:(preferences|addons|policies).*") {
|
||||
.category-icon {
|
||||
|
|
Loading…
Reference in a new issue