Commit Graph

259 Commits

Author SHA1 Message Date
Robert Strong
b9d268aa65 Bug 1267891 - toolkit changes - Remove license capability from application update. r=mhowell 2016-04-29 10:01:21 -07:00
Robert Strong
031cd4fcf4 Bug 1262880 - toolkit changes - Remove add-on compatibility check from application update. r=mhowell 2016-04-29 10:00:55 -07:00
Matt Howell
bca3053aa3 Bug 1205843 - Part 2: Disable maintenance service on WinXP < SP3 - r=rstrong
Attempt to get around the fact that XP SP2 (and below) systems won't be able to
handle Authenticode signatues with SHA-2 digests by disabling the maintenance
service, the only thing on our update path that uses Authenticode, on systems
running WinXP below SP3.

This patch both prevents the service from being included in new installations,
and prevents the service from being used where it is already installed.
2015-10-27 14:31:34 -07:00
Dave Townsend
f657500ff0 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Wes Kocher
69b522405d Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend
eef8701d19 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Alexandre Lissy
3fadbc5ae7 Bug 1201556 - Send hashed device id for foxfooders. r=fabrice 2015-09-17 05:06:00 +02:00
Robert Strong
8a707150ec Bug 862173 - don't verify mar file hash when using mar signing to verify the mar file (lessens main thread I/O). r=spohl 2015-08-20 10:05:05 -07:00
Robert Strong
d1f721c720 Bug 1177861 - remove remaining unused declarations and cleanup update staging. r=spohl 2015-08-11 14:30:35 -07:00
Christoph Kerschbaumer
f4af4abdb2 Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan) 2015-08-06 11:17:24 -07:00
Carsten "Tomcat" Book
24bab71afa Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer
a7a204019a Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan) 2015-08-05 12:58:05 -07:00
Stephen A Pohl
6dacc6872f Bug 1183077: Include CPU architecture in build target on Windows. r=rstrong 2015-07-27 10:17:53 -04:00
Carsten "Tomcat" Book
a069b5fa09 merge mozilla-inbound to mozilla-central a=merge 2015-06-25 11:09:46 +02:00
Panos Astithas
488fffbdb9 Display the update badge on the hamburger menu when staging is not possible (bug 1171852). r=rstrong 2015-06-24 16:00:12 -07:00
Mike Hommey
8f41e83edd Bug 1175856 - Still do cert validation when app.update.url.override is set to an empty value. r=rstrong 2015-06-24 10:49:55 -07:00
Robert Strong
6f7f295b9f Bug 1171792 - An update is attempted from an update notification when it is not possible to update. r=spohl 2015-06-08 13:11:43 -07:00
Aus Lacroix
89dd902919 Bug 1164037 - [OTA] Unable to find System Update. r=aus (landing on behalf of nhirata) 2015-05-13 21:14:43 -07:00
Wes Kocher
50875f0625 Merge m-c to fx-team a=merge 2015-05-08 10:41:14 -07:00
Wes Kocher
1f099de48d Merge b2g-inbound to m-c a=merge 2015-05-08 10:35:16 -07:00
Aus Lacroix
4d486ca711 bug 1154947 - Use variant in update URL. r=rstrong 2015-05-07 19:00:19 -07:00
Robert Strong
205b9dcb2d Bug 1159793 - Report actual error code to telemetry instead of generic error 110. r=spohl 2015-05-08 07:34:24 -07:00
3230b820f7 backout of bug 1161579 - blocking smoketests. a=RyanVM 2015-05-06 11:25:29 -07:00
Wander Lairson Costa
dfb7ce06ea Bug 1154947 part 2: Use variant in the URL update.
We need a different update URL for each device variant. This allows us
to provide updates for both user and userdebug device variants.

The solution we came with is appending the variant (build type) in the
product device string. To avoid breaking existing phones, we do only
for non-user build types.
2015-04-30 16:26:38 -03:00
Robert Strong
8b6a068ef8 Bug 1159118 - Minor code cleanup. r=spohl 2015-04-28 08:28:23 -07:00
Robert Strong
ce9dd70871 Bug 1162331 - refreshUpdateStatus incorrectly checks if the service should be used. r=spohl 2015-05-07 10:35:09 -07:00
Robert Strong
5a996371a5 Bug 1155851 - Gonk incorrectly uses the app.update.service.enabled preference. r=marshall 2015-04-21 17:47:57 -07:00
Robert Strong
ac0661ea86 Revert behavior for gonk - Bug 1149276. r=spohl, a=RyanVM 2015-04-17 12:46:58 -07:00
Robert Strong
13264b674e Bug 1155510 - app.update.service.errors and app.update.cancellations preferences are not correctly reset. r=spohl 2015-04-17 08:43:32 -07:00
Robert Strong
c192dbf4bd Bug 958793 - Add 'use strict' to application update. r=spohl 2015-04-17 08:43:24 -07:00
Robert Strong
080c5019b4 Bug 1154591 - getCanStageUpdates has incorrect checks for Windows and B2G. r=bbondy, r=spohl 2015-04-15 08:44:48 -07:00
Robert Strong
0567b03e0d Bug 1151267 - app update telemetry for UPDATE_CANNOT_APPLY_* is reversed. r=spohl 2015-04-10 08:06:32 -07:00
Wes Kocher
550d390c47 Backed out 3 changesets (bug 1151266, bug 920750, bug 1138284) for Windows updater XPCshell test failures
Backed out changeset 816465912339 (bug 920750)
Backed out changeset 8cd18e65ef94 (bug 1138284)
Backed out changeset 8f9d45fcae6b (bug 1151266)
2015-04-07 18:19:46 -07:00
Robert Strong
1e625f025a Bug 1138284 - Extend telemetry for large number of SERVICE_UPDATER_SIGN_ERROR errors. r=spohl 2015-04-07 14:03:04 -07:00
Robert Strong
4619a15c1b Bug 1138282 - Extend telemetry for large number of SERVICE_STILL_APPLYING_ON_FAILURE errors. r=bbondy 2015-04-03 11:19:01 -07:00
Robert Strong
5e76639b20 changes for nsUpdateService.js - Bug 1149334 - Remove preprocessing of nsUpdateService.js and use AppConstants.jsm. r=spohl 2015-04-02 18:29:42 -07:00
Robert Strong
3aac698946 Bug 1149590 - Update/Upgrade for application dowloaded and installed, setting to ask/prompt for action ignored. r=spohl 2015-03-31 14:17:38 -07:00
Robert Strong
9d6e3adefd Bug 1137447 - New app update telemetry for patch type (complete or partial), extended error codes, and general cleanup. r=bbondy 2015-03-28 20:20:53 -07:00
Robert Strong
a3818884a6 Remove FHR from app update Bug 1121018 - FHR data migration: org.mozilla.update. r=spohl 2015-03-28 20:20:38 -07:00
Robert Strong
79ef5279bd Bug 1137901 - Remove param from refreshUpdateStatus. r=spohl 2015-03-02 11:09:13 -08:00
Robert Strong
0bcafeb779 Bug 1135563 - Fix several javascript warnings for xpcshell app update tests and cleanup style. r=spohl 2015-02-23 15:17:32 -08:00
Robert Strong
b4c515a99c Bug 1135319 - Fix several javascript warnings when for mochitest-chrome app update tests and cleanup style. r=spohl 2015-02-23 09:45:03 -08:00
Robert Strong
b4951fdc73 Bug 1044443 - release off main thread crash in nsXPCWrappedJS::Release() via nsUpdateProcessor::~nsUpdateProcessor(). r=bbondy 2015-02-18 16:05:00 -08:00
Christoph Kerschbaumer
2bb13c0b9b Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ (r=gijs) 2014-10-24 15:25:34 -07:00
Robert Strong
6e10d56108 Bug 1062253 - Exception calling callback: TypeError: this._backgroundUpdateCheckCodePing is not a function @ nsUpdateService.js:2380:8. r=spohl 2015-02-10 17:41:27 -08:00
Hector Zhao
9f85d7b94b Bug 1035400 - Fix "restart to update" button. r=felipe 2015-01-14 17:39:01 +08:00
Robert Strong
5748363d93 Bug 1098112 - Auto-updates broken on Linux when /tmp is mounted noexec. r=bbondy 2014-12-02 13:47:37 -05:00
Robert Strong
a183d0f0d9 Mac v2 signing - Bug 1064523 - Create staging directory outside of the Mac bundle. r=bbondy 2014-09-29 11:52:08 -07:00
Brian R. Bondy
98a66d1aec Bug 958554 - Fix about window sometimes saying nightly is being updatd by another instance. r=rstrong
Note that if the process is hung, or there is another instance running in a  different user instance,
or another profile is running, the message is perfectly normal.  But this should prevent the bad case
of getting this message.

This handling was first added specifically for Metro and Firefox running the same intallation at the
same time.  Metro isn't being released but there are still other very valid reasons for having this
handling as noted above.
2014-09-28 21:26:34 -04:00
Brian R. Bondy
9ae4a89df8 Backout bug 945192 for intermittent failures. r=rstrong 2014-09-15 20:29:35 -04:00