20 Commits

Author SHA1 Message Date
824edabe63 Enforces secure auto-configuration and fetching from Exchange (#50)
This patch enforces `mailnews.auto_config.fetchFromISP.sslOnly` and resets `mailnews.auto_config.fetchFromExchange.enabled` to allow fetching from Exchange servers when auto-configuration is enabled.

It also resets two auto-configuration URL preferences as doing so prevented users from re-enabling this feature.

Co-authored-by: Samuel FORESTIER <samuel+dev@forestier.app>
2024-07-09 19:47:44 +00:00
48529d1963 Enables sending HTML emails and "resume from crash" (#49)
This patch re-allows users to send HTML emails (when needed).

It also re-enables "resume from crash" (`browser.sessionstore.resume_from_crash`) and resets `calendar.extract.service.enabled` (already disabled by default).

Co-authored-by: Samuel FORESTIER <samuel+dev@forestier.app>
2024-07-09 19:36:44 +00:00
c6fef1356e Enables project notes (start page) (#52)
This is to show (by default) update notifications, and allow users to check changelog.

Co-authored-by: Samuel FORESTIER <samuel+dev@forestier.app>
2024-07-09 18:53:26 +00:00
ebeb8cf3fb Updates GitHub Actions to v4 to address Node.js 16 deprecation 2024-04-24 23:32:01 +02:00
ee7649a8b4 Migrates ESLint configuration to new (9+) "flat format" 2024-04-24 23:28:00 +02:00
7390a8056c [META] Updates copyrights for 2024 2024-04-24 23:28:00 +02:00
e6c5df30f2 Disables ESLint "flat configuration" format 2024-04-21 21:47:04 +02:00
ad0cac10b2 Mentions RFP breaks mozAddonManager integration (AMO/ATN)
It appears that re-enabling JavaScript is also required. See wiki page :
<https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/4.1-Extensions#installing-extensions-from-amo-atn>

> closes #43
2024-04-21 20:29:29 +02:00
d6b18302e4 Bumps to v115.0 2023-11-18 15:02:30 +01:00
ee80afc278 Prevents donation appeal page opening on fresh profiles unconditionally 2023-11-18 13:57:45 +00:00
3996c279fd Enforces datareporting.policy.dataSubmissionPolicyBypassNotification
to completely disable telemetry (by preventing new data submission)
2023-11-18 13:57:45 +00:00
088da14f7e Applies Arkenfox v102.1..v115.1 migration 2023-11-18 13:57:45 +00:00
87b0d325e2 Revert "Workaround ETP Strict Mode lack of support in 102"
This reverts commit d8d79d6c84.
2023-11-18 13:57:45 +00:00
5a59c1b7e7 Enforces mail.html_sanitize.drop_conditional_css (TB 78 ESR) 2023-11-18 13:57:45 +00:00
167ddc02be Removes preferences related to charset dropped in ESR 78 2023-11-18 13:57:45 +00:00
8bd612fd82 Adds preferences from TB 115 ESR mailnews.js 2023-11-18 13:57:45 +00:00
fc144d3cb1 Fixes related project repository link
> closes #38
2023-09-14 09:57:47 +02:00
ac8a715b06 Adds missing semi-colon in reset mail.rights.version 2023-07-15 19:13:06 +02:00
439e5b5e7d Adds mail.inline_attachments.text to template
This preference controls whether "text attachments" (e.g. CSV, HTML or even plain text) should **also** be directly rendered in message body.

> see #35
2023-07-15 19:03:42 +02:00
07d26c7881 Resets mail.SpellCheckBeforeSend
> see #35
2023-07-15 18:56:50 +02:00
6 changed files with 310 additions and 514 deletions

36
.eslint.config.mjs Normal file
View File

@ -0,0 +1,36 @@
// Thunderbird User.JS ESLint configuration file
import js from "@eslint/js";
export default [
js.configs.recommended,
{
rules: {
// Expect only double-quoted strings.
quotes: ["error", "double"],
// Expect a semicolon after each statement.
semi: ["error", "always", {"omitLastInOneLineBlock": false}],
// As project code style, don't allow tabulation nor trailing whitespaces.
"no-tabs": "error",
"no-trailing-spaces": "error",
// Don't allow whitespace before semicolons.
"semi-spacing": ["error", {"before": false}],
// Don't allow irregular whitespace characters in our sheet.
"no-irregular-whitespace": ["error", {"skipStrings": false, "skipComments": false}],
},
languageOptions: {
// From <https://searchfox.org/mozilla-central/rev/c938c7416c633639a5c8ce4412be586eefb48005/modules/libpref/parser/src/lib.rs#296>
globals: {
pref: "readonly",
user_pref: "readonly",
sticky: "readonly",
locked: "readonly",
sticky_pref: "readonly",
},
},
},
];

View File

@ -1,45 +0,0 @@
%YAML 1.2
---
root: true
extends: 'eslint:recommended'
globals:
# From <https://searchfox.org/mozilla-central/rev/c938c7416c633639a5c8ce4412be586eefb48005/modules/libpref/parser/src/lib.rs#296>
pref: true
user_pref: true
sticky: true
locked: true
sticky_pref: true
rules:
# Expect a semicolon after each statement.
semi:
- "error"
- "always"
-
omitLastInOneLineBlock: false
# As internal code style, don't allow tabulation.
no-tabs: "error"
# ... nor trailing spaces !
no-trailing-spaces: "error"
# Expect only double-quoted strings.
quotes:
- "error"
- "double"
# Don't allow whitespace before semicolons.
semi-spacing:
- "error"
-
before: false
# Don't allow irregular whitespace characters in our sheet.
no-irregular-whitespace:
- "error"
-
skipStrings: false
skipComments: false

View File

@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
- run: npm install -g eslint
- run: eslint user.js
- run: npm install eslint @eslint/js
- run: npx eslint -c .eslint.config.mjs user.js

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2019-2023 HorlogeSkynet
Copyright (c) 2019-2024 HorlogeSkynet
Copyright (c) 2019 dngray
Copyright (c) 2019 arkenfox [prev. ghacksuserjs]

View File

@ -39,4 +39,4 @@ Also be aware that this `user.js` is made specifically for Thunderbird and is on
* [Privacy Handbuch](https://www.privacy-handbuch.de/handbuch_31p.htm)
* [Privacy Haters](http://r-36.net/scm/privacy-haters/file/README.md.html)
* [12bytes.org's user-overrides.js](https://codeberg.org/12bytes.org/thunderbird-user.js-supplement)
* [12bytes's user-overrides.js](https://codeberg.org/12bytes/thunderbird-user.js-supplement)

731
user.js

File diff suppressed because it is too large Load Diff