Richard Pospesel pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
d536e6ad by Richard Pospesel at 2023-03-03T17:36:14+00:00
Bug 40798: dmg2mar step also takes care of copying the signed+stabled dmg to the signed directory
- - - - -
2 changed files:
- tools/signing/dmg2mar
- tools/signing/gatekeeper-bundling.sh
Changes:
=====================================
tools/signing/dmg2mar
=====================================
@@ -1,8 +1,7 @@
#!/bin/bash
-# This script runs `make dmg2mar-release` or `make dmg2mar-alpha`, after
-# moving the signed dmg files from the $tbb_version-macos-signed directory
-# to the normal signed directory.
+# This script runs `make dmg2mar-release` or `make dmg2mar-alpha`, and assumes
+# that the final signed dmgs are deployed to the normal signed directory.
# It should be run after `gatekeeper-bundling.sh`.
set -e
@@ -12,19 +11,21 @@ source "$script_dir/functions"
cd "$script_dir/../.."
+# some initial checks to make sure directories and file counts are as expected...
+
version=$(./rbm/rbm showconf browser --target alpha --target torbrowser-linux-x86_64 var/torbrowser_version)
test "$version" = "$tbb_version" || \
exit_error "Incorrect tor browser version: $version != $tbb_version"
-test -d "$macos_signed_dir" || \
- exit_error "$macos_signed_dir does not exist"
+test -d "$signed_version_dir" || \
+ exit_error "$signed_version_dir does not exist"
ProjName=$(ProjectName)
nb_locales=$(echo $bundle_locales | wc -w)
-nb_bundles=$(ls -1 "$macos_signed_dir/$ProjName"-*.dmg | wc -l)
+nb_bundles=$(ls -1 "$signed_version_dir/$ProjName"-*.dmg | wc -l)
test "$nb_locales" -eq "$nb_bundles" || \
exit_error "Wrong number of bundles: $nb_locales != $nb_bundles"
-mv -vf "$macos_signed_dir"/"$ProjName"-*.dmg "$signed_version_dir"/
+# before building converting the dmg to a mar
make $SIGNING_PROJECTNAME-dmg2mar-$tbb_version_type
=====================================
tools/signing/gatekeeper-bundling.sh
=====================================
@@ -73,5 +73,7 @@ do
$script_dir/ddmg.sh $macos_signed_dir/$ProjName-${tbb_version}-macos_$lang.dmg $tmpdir/dmg/ "$Proj_Name"
rm -rf "dmg/$Proj_Name.app"
done
-
rm -Rf "$tmpdir"
+
+# move the signed+stapled dmgs to expected output directory for publishing and mar generation
+mv -vf "$macos_signed_dir"/"$ProjName"-*.dmg "$signed_version_dir"/
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/d…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/d…
You're receiving this email because of your account on gitlab.torproject.org.
Richard Pospesel pushed to branch base-browser-102.8.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
79a5cf25 by Pier Angelo Vendrame at 2023-03-03T16:39:33+00:00
squash! Bug 40002: Remove about:ion
Bug 41662: Disable about:sync-logs
Even though we disable sync by default with
`identity.fxaccounts.enabled`, this about: page is still avilable.
We could throw an exception on the constructor of the related
component, but it would result only in an error in the console, without
a visible "this address does not look right" error page.
If we fix the issues with MOZ_SERVICES_SYNC, we can restore the
component.
(cherry picked from commit 46dc11a619ebb28f1d63e3d8fe94015718db992a)
- - - - -
1 changed file:
- services/sync/components.conf
Changes:
=====================================
services/sync/components.conf
=====================================
@@ -11,10 +11,4 @@ Classes = [
'jsm': 'resource://services-sync/Weave.jsm',
'constructor': 'WeaveService',
},
- {
- 'cid': '{d28f8a0b-95da-48f4-b712-caf37097be41}',
- 'contract_ids': ['@mozilla.org/network/protocol/about;1?what=sync-log'],
- 'jsm': 'resource://services-sync/Weave.jsm',
- 'constructor': 'AboutWeaveLog',
- },
]
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/79a5cf2…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/79a5cf2…
You're receiving this email because of your account on gitlab.torproject.org.
Richard Pospesel pushed to branch tor-browser-102.8.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
46dc11a6 by Pier Angelo Vendrame at 2023-03-03T14:56:18+01:00
squash! Bug 40002: Remove about:ion
Bug 41662: Disable about:sync-logs
Even though we disable sync by default with
`identity.fxaccounts.enabled`, this about: page is still avilable.
We could throw an exception on the constructor of the related
component, but it would result only in an error in the console, without
a visible "this address does not look right" error page.
If we fix the issues with MOZ_SERVICES_SYNC, we can restore the
component.
- - - - -
1 changed file:
- services/sync/components.conf
Changes:
=====================================
services/sync/components.conf
=====================================
@@ -11,10 +11,4 @@ Classes = [
'jsm': 'resource://services-sync/Weave.jsm',
'constructor': 'WeaveService',
},
- {
- 'cid': '{d28f8a0b-95da-48f4-b712-caf37097be41}',
- 'contract_ids': ['@mozilla.org/network/protocol/about;1?what=sync-log'],
- 'jsm': 'resource://services-sync/Weave.jsm',
- 'constructor': 'AboutWeaveLog',
- },
]
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/46dc11a…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/46dc11a…
You're receiving this email because of your account on gitlab.torproject.org.
Richard Pospesel pushed to branch base-browser-102.8.0esr-12.0-1 at The Tor Project / Applications / Tor Browser
Commits:
2094f3a4 by Arthur Edelstein at 2023-03-03T12:10:29+00:00
Bug 18905: Hide unwanted items from help menu
Bug 25660: Remove the "New Private Window" option
(cherry picked from commit 5ff98c20700d45b9bc57d970ff45c1e6519cd64d)
- - - - -
3 changed files:
- browser/base/content/appmenu-viewcache.inc.xhtml
- browser/base/content/browser-menubar.inc
- browser/base/content/browser-safebrowsing.js
Changes:
=====================================
browser/base/content/appmenu-viewcache.inc.xhtml
=====================================
@@ -55,7 +55,8 @@
class="subviewbutton"
data-l10n-id="appmenuitem-new-private-window"
key="key_privatebrowsing"
- command="Tools:PrivateBrowsing"/>
+ command="Tools:PrivateBrowsing"
+ hidden="true"/>
<toolbarseparator/>
<toolbarbutton id="appMenu-new-identity"
class="subviewbutton"
@@ -179,7 +180,8 @@
<toolbarbutton id="appMenu-restoreSession"
data-l10n-id="appmenu-restore-session"
class="subviewbutton"
- command="Browser:RestoreLastSession"/>
+ command="Browser:RestoreLastSession"
+ hidden="true"/>
<toolbarseparator/>
<toolbarbutton id="appMenuClearRecentHistory"
data-l10n-id="appmenu-clear-history"
=====================================
browser/base/content/browser-menubar.inc
=====================================
@@ -458,6 +458,7 @@
have their strings defined by appmenu-data-l10n-id. -->
<menuitem id="menu_openHelp"
oncommand="openHelpLink('firefox-help')"
+ hidden="true"
data-l10n-id="menu-get-help"
appmenu-data-l10n-id="appmenu-get-help"
#ifdef XP_MACOSX
@@ -467,14 +468,17 @@
#endif
<menuitem id="feedbackPage"
oncommand="openFeedbackPage()"
+ hidden="true"
data-l10n-id="menu-help-share-ideas"
appmenu-data-l10n-id="appmenu-help-share-ideas"/>
<menuitem id="helpSafeMode"
oncommand="safeModeRestart();"
+ hidden="true"
data-l10n-id="menu-help-enter-troubleshoot-mode2"
appmenu-data-l10n-id="appmenu-help-enter-troubleshoot-mode2"/>
<menuitem id="troubleShooting"
oncommand="openTroubleshootingPage()"
+ hidden="true"
data-l10n-id="menu-help-more-troubleshooting-info"
appmenu-data-l10n-id="appmenu-help-more-troubleshooting-info"/>
<menuitem id="help_reportSiteIssue"
=====================================
browser/base/content/browser-safebrowsing.js
=====================================
@@ -7,6 +7,13 @@
var gSafeBrowsing = {
setReportPhishingMenu() {
+ // tor-browser#18905: hide these menu entries
+ if (
+ !Services.prefs.getBoolPref("browser.safebrowsing.phishing.enabled", true)
+ ) {
+ return;
+ }
+
// In order to detect whether or not we're at the phishing warning
// page, we have to check the documentURI instead of the currentURI.
// This is because when the DocShell loads an error page, the
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/2094f3a…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/2094f3a…
You're receiving this email because of your account on gitlab.torproject.org.
Richard Pospesel pushed to branch tor-browser-102.8.0esr-12.0-1 at The Tor Project / Applications / Tor Browser
Commits:
36693159 by Pier Angelo Vendrame at 2023-03-03T10:05:00+01:00
dropme! Bug 10760: Integrate TorButton to TorBrowser core
Remove implementation of 18905 from Torbutton
- - - - -
5ff98c20 by Arthur Edelstein at 2023-03-03T10:05:33+01:00
Bug 18905: Hide unwanted items from help menu
Bug 25660: Remove the "New Private Window" option
- - - - -
777cb20b by Pier Angelo Vendrame at 2023-03-03T10:05:40+01:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Bring back the new circuit entries.
- - - - -
7de98cbe by Pier Angelo Vendrame at 2023-03-03T10:05:47+01:00
fixup! Bug 11698: Incorporate Tor Browser Manual pages into Tor Browser
Move the manual menu entry to the manual commit
- - - - -
2 changed files:
- browser/base/content/browser-menubar.inc
- browser/base/content/browser-safebrowsing.js
Changes:
=====================================
browser/base/content/browser-menubar.inc
=====================================
@@ -461,17 +461,11 @@
<menupopup id="menu_HelpPopup" onpopupshowing="buildHelpMenu();">
<!-- Note: Items under here are cloned to the AppMenu Help submenu. The cloned items
have their strings defined by appmenu-data-l10n-id. -->
- <!-- dummy elements to avoid 'getElementById' errors -->
- <box id="feedbackPage"/>
- <box id="helpSafeMode"/>
- <box id="menu_HelpPopup_reportPhishingtoolmenu"/>
- <box id="menu_HelpPopup_reportPhishingErrortoolmenu"/>
<!-- Add Tor Browser manual link -->
<menuitem id="torBrowserUserManual"
oncommand="gBrowser.selectedTab = gBrowser.addTab('about:manual', {triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal()});"
label="&aboutTor.torbrowser_user_manual.label;"
accesskey="&aboutTor.torbrowser_user_manual.accesskey;"/>
- <!-- Bug 18905: Hide unused help menu items -->
<menuitem id="menu_openHelp"
oncommand="openHelpLink('firefox-help')"
hidden="true"
@@ -485,8 +479,8 @@
<menuitem id="feedbackPage"
oncommand="openFeedbackPage()"
hidden="true"
- data-l10n-id="menu-help-feedback-page"
- appmenu-data-l10n-id="appmenu-help-feedback-page"/>
+ data-l10n-id="menu-help-share-ideas"
+ appmenu-data-l10n-id="appmenu-help-share-ideas"/>
<menuitem id="helpSafeMode"
oncommand="safeModeRestart();"
hidden="true"
=====================================
browser/base/content/browser-safebrowsing.js
=====================================
@@ -7,6 +7,13 @@
var gSafeBrowsing = {
setReportPhishingMenu() {
+ // tor-browser#18905: hide these menu entries
+ if (
+ !Services.prefs.getBoolPref("browser.safebrowsing.phishing.enabled", true)
+ ) {
+ return;
+ }
+
// In order to detect whether or not we're at the phishing warning
// page, we have to check the documentURI instead of the currentURI.
// This is because when the DocShell loads an error page, the
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/486cbe…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/486cbe…
You're receiving this email because of your account on gitlab.torproject.org.