Commit graph

49 commits

Author SHA1 Message Date
Jeremy Andrews
41b9919e7c Issue #1909 - Ensure UpdateChecker and UpdateParser can handle empty manifest URLs. 2022-06-13 09:11:23 +08:00
roytam1
d8e6867dad Revert "Issue #1909 - Guard against empty update manifest URL"
This reverts commit 7b3f9fb7c0.
2022-06-10 09:47:01 +08:00
FranklinDM
7b3f9fb7c0 Issue #1909 - Guard against empty update manifest URL
When installing an incompatible add-on, the add-ons manager checks first if a newer and compatible version of that add-on is available by sending a request either to the AUS or the provided update URL in the manifest.

If there's no update URL in the manifest and if the application does not provide an add-on update URL via preferences, the add-ons manager will error out and fail to notify that the said add-on is incompatible.

This commit addresses that by:
(a) preventing substitutions on the update manifest URL - this throws an error if it's empty; and
(b) failing early in the add-on update checker if the update manifest URL is empty and sends out an error notification
2022-05-31 09:43:02 +08:00
FranklinDM
06d8563a58 Issue #21 - Remove run phase property and constants from XPIProvider.jsm
These were introduced in Bug 853388 for the sole purpose of tracking the current startup phase for telemetry
2022-05-04 10:11:17 +08:00
Moonchild
44388b01a3 Issue #21 - Remove Telemetry accumulation/structures from toolkit js.
This fixes toolkit modules and prevents toolkit component breakage.
Also removes about:telemetry
2022-04-28 10:26:19 +08:00
Moonchild
a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Roy Tam
35f288dc4a Revert UXP issue 1628 related changes. 2020-08-08 10:14:13 +08:00
Matt A. Tobin
3bfc574220 Issue #1628 - Remove redundant PREF_EM_UPDATE_BACKGROUND_URL 2020-08-08 06:56:47 +08:00
Matt A. Tobin
b31c90d1ab Issue #1612 - Add-ons targeting Toolkit's ID (and not Firefox's) should be considered "native" by the Add-ons Manager when using the Dual-GUID system
A version bump triggering add-on compatibility check will re-evaluate the "native" status (among other things) so no extra or special work is required to fix erroneous warnings.

tl;dr instafix!
2020-07-25 06:25:46 +08:00
Matt A. Tobin
678b1ea2ec Issue #1053 - Remove android support from toolkit
Note: Does not remove support completely from toolkit/mozapps/installer or from telemetry or AppConstants.jsm
2020-02-27 07:32:40 +08:00
JustOff
c12890f12c Issue #1300 - Clear the message manager script cache when updating and removing add-ons 2019-11-28 10:32:39 +08:00
JustOff
e50e93cd7f Issue #1259 - Adjust Widewine strings after removing Adobe Primetime support 2019-11-22 10:48:13 +08:00
Ascrod
a24456a76d Issue #991 Part 8: Toolkit everything else 2019-04-27 08:22:23 +08:00
NTD
e30598c519 [TychoAM] Fix GMP* so that EME works in Basilisk
Also, keep WebExAM working for the moment
2019-02-16 00:27:39 +08:00
wolfbeast
eebdb819ea [AM] Remove spurious warning for staged cleanup.
This fixes #773.
2019-02-16 00:27:33 +08:00
NTD
0b1b0c752e Update list of IDs to never send to AUS in AddonUpdateChecker.jsm 2019-02-16 00:14:15 +08:00
wolfbeast
9c9ba7c6c8 [TychoAM] Make resilient to missing pref lightweightThemes.animation.enabled 2019-02-16 00:07:26 +08:00
NTD
34b241fdfd [AllAM] De-duplicate Content.js 2019-02-16 00:05:15 +08:00
NTD
aa30cb6915 [AllAM] De-duplicate AddonLogging.jsm 2019-02-16 00:05:08 +08:00
NTD
aa2e6cbed2 [TychoAM] Make sure console messages from AddonUpdateChecker indicate which parser they originate from 2019-02-16 00:05:02 +08:00
NTD
7a4872a755 [TychoAM] Issue #409 - Upgrade and enhance AddonUpdateChecker including support for update.json 2019-02-16 00:05:01 +08:00
NTD
c5f22288ca [AllAM] Revert Bug 956990 - PREF_CHECKCOMAT_THEMEOVERRIDE 2019-02-16 00:04:53 +08:00
wolfbeast
ee199e864d Use newer asyncFetch() instead of asyncFetch2() in LWT image optimizer.
This resolves #485.
2019-02-16 00:02:36 +08:00
janekptacijarabaci
10ec23e5a8 [PALEMOON] [frontend vs backend] Part 2: Mass-replace global-scope let/const with var in Pale Moon and TychoAM
Issue #155

Part 2 for:
931950a880
2019-02-15 23:59:21 +08:00
NTD
f5ddf51953 [WebExAM] Deduplicate toolkit/mozapps/webextensions 2019-02-15 23:59:20 +08:00
NTD
a073130d31 [TychoAM] Do not allow Jetpack extensions to install if Jetpack isn't actually built
This does not cover the previous case of an application dropping jetpack support.. This follows the WebExtension route. A new case will have to be redeveloped if an existing application drops jetpack support.
2019-02-15 23:55:26 +08:00
NTD
c9446a4319 [TychoAM] Make the Add-ons Manager conditionally devtools free 2019-02-15 23:55:23 +08:00
NTD
69920e72f2 Only set and show the dual-guid indicators when dual-guid has been built 2019-02-15 23:55:20 +08:00
NTD
89f2084eef [*AM] Expand the list for excluding internally used IDs from being sent to AUS 2019-02-15 23:54:07 +08:00
janekptacijarabaci
9ff88cf7df Bug 1263935 - Forward AddonManager.mapURIToAddonId to AddonPathService.mapURIToAddonId
Issue #102
2019-02-15 23:53:09 +08:00
JustOff
c54e714ef5 Fix accessing the bootstrap methods when they are declared in the new lexical scope 2019-02-15 23:49:52 +08:00
NTD
a9cc6150e6 Fix for loops in AddonRepository_SQLiteMigrator.jsm (SyntaxError: missing ] after element list) 2019-02-15 23:48:57 +08:00
JustOff
3df5e55320 Use asyncOpen2 instead of asyncOpen everywhere in Pale Moon 2019-02-15 23:46:31 +08:00
wolfbeast
d5b0bc88af Mass-replace global-scope let with var in Pale Moon and TychoAM
tag #155
2019-02-15 23:45:42 +08:00
NTD
11155c71c0 Bump Phoenix extensions to allow installing up to Firefox 56.9 2019-02-15 23:45:23 +08:00
janekptacijarabaci
c03236765c [PALEMOON] Fix some paths (deprecated) with Console.jsm (sessionstore, extensions) 2019-02-15 23:42:04 +08:00
janekptacijarabaci
b688ccaecc [PALEMOON] [DevTools] Fix some paths with ToolboxProcess.jsm (extensions)
Issue #102
2019-02-15 23:42:02 +08:00
NTD
66e00ae185 Remove the hard blocker on unmodified jetpack extensions from TychoAM
Be sure to remove the now unused string from Pale Moon
2019-02-15 23:36:35 +08:00
NTD
45c9880478 Port Pale Moon commit a3044d3 - Exclude default theme from update checks.
Do this both for TychoAM and WebExAM
2019-02-15 23:35:40 +08:00
NTD
bbe87d1e96 Make NPAPI Plugins work 2019-02-15 23:31:29 +08:00
NTD
0e6e573e4e Just about almost totally fix GMP 2019-02-15 23:31:27 +08:00
NTD
dc2a2a22de Fix for loops in AddonRepository.jsm (SyntaxError: missing ] after element list) 2019-02-15 23:31:23 +08:00
NTD
93549aa772 Fix for loops in XPIProvider.jsm (SyntaxError: missing ] after element list) 2019-02-15 23:31:21 +08:00
NTD
a0f91b5bfa Use the uuid-generator service instead of mangling a random number generator result to generate a syncGUID 2019-02-15 23:31:20 +08:00
NTD
a122115666 Import Tycho's Add-on Manager 2019-02-15 23:31:11 +08:00
NTD
358cd0404a Move WebExtensions enabled Add-ons Manager 2019-02-15 23:31:05 +08:00
NTD
f5048f2a1d Remove kinto client, Firefox kinto storage adapter, blocklist update client and integration with sync, OneCRL and the custom time check for derives system time. 2019-02-14 14:27:06 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00