richard pushed to branch tor-browser-115.0esrbase-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
1492a00d by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 40933: Add tor-launcher functionality
Switched to ES modules for this commit.
- - - - -
60a28f46 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 40933: Add tor-launcher functionality
Implemented a function for getting GETINFO net/listeners/socks.
- - - - -
168a3899 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Remove unused assets.
- - - - -
5bea8348 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Remove part of the about:tor additions from the torbutton commit to
move them to a commit on their own.
- - - - -
e089589f by Kathleen Brade at 2023-07-11T21:38:01+00:00
Bug 7494: Create local home page for TBB.
- - - - -
fa669b81 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 7494: Create local home page for TBB.
Removed unused mobile CSS
- - - - -
448ac064 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 7494: Create local home page for TBB.
Moved aboutTor.xhtml to its new location and make it use more modern IPC
mechanisms.
- - - - -
1aeaceb8 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 7494: Create local home page for TBB.
First step toward IPC modernizartion (WIP).
- - - - -
1865d68c by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 7494: Create local home page for TBB.
Populate the page with real data.
- - - - -
8d33aa91 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Do not send data to about:tor on Torbutton anymore.
- - - - -
ec0f4a89 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Move the Tor checking functions from torbutton.js to its file.
Also, rework the file a little bit, to make it an ES module, and import
the file directly, instead of using XPCOM.
- - - - -
61c0fed5 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 7494: Create local home page for TBB.
Get the TorCheckService by importing the module, instead of using XPCOM.
- - - - -
ee3f0a7f by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Continued to rework TorCheckService.
Use a ConsoleAPI logger instead of the old Torbutton logger.
Reworked the local check, to delegate TorProtocolService to get the
listeners, and then improved the rest of the function, in general.
Finally, changed the topic name, and notify observers whenever the
status change, also if suddenly the check succeeded.
- - - - -
2a10a930 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 7494: Create local home page for TBB.
If we know that TorCheckService already failed, or that we are invoked
by an observer, do not wait for the test again, but show the result
immediately.
If it changes, the observer will trigger another page update.
- - - - -
9fcb8789 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Reworked the remote check of TorCheckService.
- - - - -
1ed38c58 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Move the check service to the about:tor commit.
- - - - -
983b1f77 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 7494: Create local home page for TBB.
Move TorCheckService here, since it is used only for about:tor.
Move here also the check for the TOR_DEFAULT_HOMEPAGE variable.
- - - - -
3173b2c0 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Stop customizing the about dialog in the Torbutton commit.
- - - - -
71a828ca by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 2176: Rebrand Firefox to TorBrowser
Customize the about dialog in the branding commit.
This actually depends on the strings commit, but maybe we could move it
to earlier in the patchset.
- - - - -
993f3151 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Bug 41842: Remove the logic to remove cookies|protected-*json
Removed the function that deleted some cookie JSON preference file.
The function was introduced in
torbutton@2dfa0e0c9cff7cfad93664e0b0b6cdc05b24b7f2 in 2019.
However, since we have had a watershed release, we don't need it
anymore.
And because of the 12.0 watershed, we do not need to mess up with some
these preferences anymore.
- - - - -
4f033ea0 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 40933: Add tor-launcher functionality
Bug 41842: Stop migrating torrc: we have not written control/socks
ports to it for years!
- - - - -
e75aa843 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Bug 41845: Do not force pref values for non-PBM users anymore.
A preference cleanup function will be added later, when we finish
removing all the torbutton stuff.
- - - - -
7943e632 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Add default values for preferencs in the logger.
I anticipated the removal of the old defaults, since the logger is going
away with another MR, but the cleanup function was already in this one.
- - - - -
a5366a9a by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 40562: Added Tor Browser preferences to 000-tor-browser.js
Remove the defaults for the old preferences we are deleting.
- - - - -
cda83a31 by Pier Angelo Vendrame at 2023-07-11T21:38:01+00:00
fixup! Bug 41435: Add a Tor Browser migration function
Bug 41845: Clear user values for the prefs we decided not to force
anymore.
Also, remove some old Torbutton preferences.
- - - - -
30 changed files:
- browser/app/profile/000-tor-browser.js
- browser/base/content/aboutDialog.xhtml
- toolkit/torbutton/chrome/skin/aboutDialog.css → browser/base/content/aboutDialogTor.css
- browser/base/jar.mn
- browser/components/BrowserGlue.sys.mjs
- + browser/components/abouttor/AboutTorChild.sys.mjs
- + browser/components/abouttor/AboutTorParent.sys.mjs
- + browser/components/abouttor/HomepageOverride.sys.mjs
- + browser/components/abouttor/TorCheckService.sys.mjs
- toolkit/torbutton/chrome/skin/aboutTor.css → browser/components/abouttor/content/aboutTor.css
- + browser/components/abouttor/content/aboutTor.js
- + browser/components/abouttor/content/aboutTor.xhtml
- toolkit/torbutton/chrome/skin/banner-warning.svg → browser/components/abouttor/content/banner-warning.svg
- toolkit/torbutton/chrome/skin/dax-logo.svg → browser/components/abouttor/content/dax-logo.svg
- + browser/components/abouttor/jar.mn
- + browser/components/abouttor/moz.build
- browser/components/moz.build
- docshell/base/nsAboutRedirector.cpp
- toolkit/components/tor-launcher/TorBootstrapRequest.jsm → toolkit/components/tor-launcher/TorBootstrapRequest.sys.mjs
- toolkit/components/tor-launcher/TorLauncherUtil.jsm → toolkit/components/tor-launcher/TorLauncherUtil.sys.mjs
- toolkit/components/tor-launcher/TorMonitorService.jsm → toolkit/components/tor-launcher/TorMonitorService.sys.mjs
- toolkit/components/tor-launcher/TorParsers.jsm → toolkit/components/tor-launcher/TorParsers.sys.mjs
- toolkit/components/tor-launcher/TorProcess.jsm → toolkit/components/tor-launcher/TorProcess.sys.mjs
- toolkit/components/tor-launcher/TorProtocolService.jsm → toolkit/components/tor-launcher/TorProtocolService.sys.mjs
- toolkit/components/tor-launcher/TorStartupService.jsm → toolkit/components/tor-launcher/TorStartupService.sys.mjs
- toolkit/components/tor-launcher/components.conf
- toolkit/components/tor-launcher/moz.build
- toolkit/themes/shared/desktop-jar.inc.mn
- toolkit/torbutton/chrome/skin/about-wordmark.png → toolkit/themes/shared/illustrations/about-wordmark.png
- − toolkit/torbutton/chrome/content/aboutTor/aboutTor-content.js
The diff was not included because it is too large.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/a884f3…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/a884f3…
You're receiving this email because of your account on gitlab.torproject.org.
ma1 pushed to branch base-browser-115.0esrbase-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
eba10c40 by hackademix at 2023-07-11T16:45:09+02:00
fixup! Bug 41698: Reword the recommendation badges in about:addons
- - - - -
3 changed files:
- toolkit/content/widgets/moz-support-link/moz-support-link.mjs
- toolkit/mozapps/extensions/content/aboutaddons.html
- toolkit/mozapps/extensions/content/aboutaddons.js
Changes:
=====================================
toolkit/content/widgets/moz-support-link/moz-support-link.mjs
=====================================
@@ -52,6 +52,23 @@ export default class MozSupportLink extends HTMLAnchorElement {
this.setAttribute("target", "_blank");
this.addEventListener("click", this);
if (!this.getAttribute("data-l10n-id")) {
+ const fixupL10nId = this.getAttribute("data-basebrowser-l10n-fixup");
+ if (fixupL10nId) {
+ document.l10n.formatValue(fixupL10nId).then(title => {
+ this.setAttribute("title", title);
+ // NOTE: Mozilla adds identical aria-label and title attributes. This is
+ // generally bad practice because this link has no text content, so the
+ // title alone will already act as the accessible name.
+ // Normally setting both aria-label and title will lead to the title being
+ // used as the accessible description, but since they are identical
+ // the LocalAccessible::Description method will make an exception and keep
+ // the description empty.
+ // Since this component is outside of our fork's control, we follow the
+ // same practice just in case Mozilla ever adds some text content.
+ this.setAttribute("aria-label", title);
+ });
+ return;
+ }
document.l10n.setAttributes(this, "moz-support-link-text");
}
document.l10n.translateFragment(this);
=====================================
toolkit/mozapps/extensions/content/aboutaddons.html
=====================================
@@ -359,6 +359,7 @@
is="moz-support-link"
support-page="add-on-badges"
utm-content="promoted-addon-badge"
+ data-basebrowser-l10n-fixup="basebrowser-addon-badge-recommended"
hidden
>
</a>
@@ -376,6 +377,7 @@
is="moz-support-link"
support-page="add-on-badges"
utm-content="promoted-addon-badge"
+ data-basebrowser-l10n-fixup="basebrowser-addon-badge-verified"
hidden
>
</a>
=====================================
toolkit/mozapps/extensions/content/aboutaddons.js
=====================================
@@ -4220,29 +4220,6 @@ async function initialize() {
);
}
}
-
- // At the moment we need to do this, because Weblate still does not support
- // attributes in Fluent.
- const [recommended, verified] = await document.l10n.formatValues([
- { id: "basebrowser-addon-badge-recommended" },
- { id: "basebrowser-addon-badge-verified" },
- ]);
-
- importTemplate("card");
- _templates.card.content
- .querySelector(".addon-badge-recommended")
- .setAttribute("title", recommended);
- _templates.card.content
- .querySelector(".addon-badge-verified")
- .setAttribute("title", verified);
-
- // We also update any template copy that has already been created.
- for (const badge of document.querySelectorAll(".addon-badge-recommended")) {
- badge.setAttribute("title", recommended);
- }
- for (const badge of document.querySelectorAll(".addon-badge-verified")) {
- badge.setAttribute("title", verified);
- }
}
window.promiseInitialized = new Promise(resolve => {
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/eba10c4…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/eba10c4…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch base-browser-115.0esrbase-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
95d711c9 by Pier Angelo Vendrame at 2023-07-11T16:41:03+02:00
fixup! Bug 40069: Add helpers for message passing with extensions
Bug 41877: Fix the NoScript message passing function
- - - - -
1 changed file:
- toolkit/components/extensions/ExtensionParent.sys.mjs
Changes:
=====================================
toolkit/components/extensions/ExtensionParent.sys.mjs
=====================================
@@ -2274,7 +2274,7 @@ async function torSendExtensionMessage(extensionId, message) {
// pages listening to browser.runtime.onMessage.
const result = await ProxyMessenger.conduit.castRuntimeMessage("messenger", {
extensionId,
- holder: new StructuredCloneHolder(message),
+ holder: new StructuredCloneHolder("torSendExtensionMessage", null, message),
firstResponse: true,
sender: {
id: extensionId,
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/95d711c…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/95d711c…
You're receiving this email because of your account on gitlab.torproject.org.
ma1 pushed to branch tor-browser-115.0esrbase-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
a884f352 by hackademix at 2023-07-11T15:48:11+02:00
fixup! Bug 41698: Reword the recommendation badges in about:addons
- - - - -
3 changed files:
- toolkit/content/widgets/moz-support-link/moz-support-link.mjs
- toolkit/mozapps/extensions/content/aboutaddons.html
- toolkit/mozapps/extensions/content/aboutaddons.js
Changes:
=====================================
toolkit/content/widgets/moz-support-link/moz-support-link.mjs
=====================================
@@ -52,6 +52,23 @@ export default class MozSupportLink extends HTMLAnchorElement {
this.setAttribute("target", "_blank");
this.addEventListener("click", this);
if (!this.getAttribute("data-l10n-id")) {
+ const fixupL10nId = this.getAttribute("data-basebrowser-l10n-fixup");
+ if (fixupL10nId) {
+ document.l10n.formatValue(fixupL10nId).then(title => {
+ this.setAttribute("title", title);
+ // NOTE: Mozilla adds identical aria-label and title attributes. This is
+ // generally bad practice because this link has no text content, so the
+ // title alone will already act as the accessible name.
+ // Normally setting both aria-label and title will lead to the title being
+ // used as the accessible description, but since they are identical
+ // the LocalAccessible::Description method will make an exception and keep
+ // the description empty.
+ // Since this component is outside of our fork's control, we follow the
+ // same practice just in case Mozilla ever adds some text content.
+ this.setAttribute("aria-label", title);
+ });
+ return;
+ }
document.l10n.setAttributes(this, "moz-support-link-text");
}
document.l10n.translateFragment(this);
=====================================
toolkit/mozapps/extensions/content/aboutaddons.html
=====================================
@@ -359,6 +359,7 @@
is="moz-support-link"
support-page="add-on-badges"
utm-content="promoted-addon-badge"
+ data-basebrowser-l10n-fixup="basebrowser-addon-badge-recommended"
hidden
>
</a>
@@ -376,6 +377,7 @@
is="moz-support-link"
support-page="add-on-badges"
utm-content="promoted-addon-badge"
+ data-basebrowser-l10n-fixup="basebrowser-addon-badge-verified"
hidden
>
</a>
=====================================
toolkit/mozapps/extensions/content/aboutaddons.js
=====================================
@@ -4220,29 +4220,6 @@ async function initialize() {
);
}
}
-
- // At the moment we need to do this, because Weblate still does not support
- // attributes in Fluent.
- const [recommended, verified] = await document.l10n.formatValues([
- { id: "basebrowser-addon-badge-recommended" },
- { id: "basebrowser-addon-badge-verified" },
- ]);
-
- importTemplate("card");
- _templates.card.content
- .querySelector(".addon-badge-recommended")
- .setAttribute("title", recommended);
- _templates.card.content
- .querySelector(".addon-badge-verified")
- .setAttribute("title", verified);
-
- // We also update any template copy that has already been created.
- for (const badge of document.querySelectorAll(".addon-badge-recommended")) {
- badge.setAttribute("title", recommended);
- }
- for (const badge of document.querySelectorAll(".addon-badge-verified")) {
- badge.setAttribute("title", verified);
- }
}
window.promiseInitialized = new Promise(resolve => {
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a884f35…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a884f35…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-115.0esrbase-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
e431eb45 by Pier Angelo Vendrame at 2023-07-11T12:17:35+02:00
fixup! Bug 40069: Add helpers for message passing with extensions
Bug 41877: Fix the NoScript message passing function
- - - - -
1 changed file:
- toolkit/components/extensions/ExtensionParent.sys.mjs
Changes:
=====================================
toolkit/components/extensions/ExtensionParent.sys.mjs
=====================================
@@ -2274,7 +2274,7 @@ async function torSendExtensionMessage(extensionId, message) {
// pages listening to browser.runtime.onMessage.
const result = await ProxyMessenger.conduit.castRuntimeMessage("messenger", {
extensionId,
- holder: new StructuredCloneHolder(message),
+ holder: new StructuredCloneHolder("torSendExtensionMessage", null, message),
firstResponse: true,
sender: {
id: extensionId,
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e431eb4…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e431eb4…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
af4a370f by Nicolas Vigier at 2023-07-06T20:03:30+00:00
Bug 40895: Update go_vendor_sha256sum for lyrebird in nightly
- - - - -
1 changed file:
- projects/lyrebird/config
Changes:
=====================================
projects/lyrebird/config
=====================================
@@ -17,7 +17,7 @@ targets:
version: '[% c("abbrev") %]'
tag_gpg_id: 0
var:
- go_vendor_sha256sum: d95d1fa8ce3904b76395b20ef169e8ef2b039fa485764b74739bb6290631537d
+ go_vendor_sha256sum: 8e9a5fd52f5a3a2b2b891389a224fcfc83b6c081658161bf40882b23fb58834c
steps:
build:
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/a…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/a…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch maint-12.5 at The Tor Project / Applications / tor-browser-build
Commits:
16785a1b by Nicolas Vigier at 2023-07-06T19:52:01+00:00
Bug 40894: Fix format of keyring/boklm.gpg
In #40871 I incorrectly set `keyring/boklm.gpg` in format `GPG keybox
database version 1`, instead of `PGP/GPG key public ring (v4)`.
This was fixed with:
gpg --no-default-keyring --keyring ./keyring/boklm.gpg --export > ./keyring/boklm-2.gpg
mv ./keyring/boklm-2.gpg ./keyring/boklm.gpg
- - - - -
1 changed file:
- keyring/boklm.gpg
Changes:
=====================================
keyring/boklm.gpg
=====================================
Binary files a/keyring/boklm.gpg and b/keyring/boklm.gpg differ
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/1…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/1…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
6e2c33ed by Nicolas Vigier at 2023-07-04T12:11:47+02:00
Bug 40894: Fix format of keyring/boklm.gpg
In #40871 I incorrectly set `keyring/boklm.gpg` in format `GPG keybox
database version 1`, instead of `PGP/GPG key public ring (v4)`.
This was fixed with:
gpg --no-default-keyring --keyring ./keyring/boklm.gpg --export > ./keyring/boklm-2.gpg
mv ./keyring/boklm-2.gpg ./keyring/boklm.gpg
- - - - -
1 changed file:
- keyring/boklm.gpg
Changes:
=====================================
keyring/boklm.gpg
=====================================
Binary files a/keyring/boklm.gpg and b/keyring/boklm.gpg differ
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/6…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/6…
You're receiving this email because of your account on gitlab.torproject.org.
ma1 pushed to branch base-browser-115.0esrbase-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
e4fae18a by hackademix at 2023-07-06T15:46:27+02:00
Bug 41834: Hide "Can't Be Removed - learn more" menu line for uninstallable add-ons
- - - - -
1 changed file:
- toolkit/mozapps/extensions/content/aboutaddons.js
Changes:
=====================================
toolkit/mozapps/extensions/content/aboutaddons.js
=====================================
@@ -1492,8 +1492,9 @@ class AddonOptions extends HTMLElement {
el.disabled = false;
el.hidden = false;
document.l10n.setAttributes(el, "remove-addon-button");
- } else if (addon.isBuiltin) {
- // Likely the built-in themes, can't be removed, that's fine.
+ } else if (true || addon.isBuiltin) {
+ // Just hide the uninstall button for any "special" add-on
+ // which can't be removed (tor-browser#41834)
el.hidden = true;
} else {
// Likely sideloaded, mention that it can't be removed with a link.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e4fae18…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e4fae18…
You're receiving this email because of your account on gitlab.torproject.org.