Commit Graph

196 Commits

Author SHA1 Message Date
Sachin Hosmani
1f3982def1 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused 2014-01-06 14:16:32 +05:30
Chris Peterson
e990bb9cc8 Bug 956468 - Fix "ReferenceError: assignment to undeclared variable res" in nsUpdateService.js. r=rstrong 2013-12-31 20:18:47 -08:00
Robert Strong
0d236a513f Bug 959004 - remove gVolumeMountLock declaration since it isn't used. r=bbondy 2014-01-12 18:18:16 -08:00
Robert Strong
c6b7cec81d Part 11 - Bug 951662 - fix updates patch dir in use after staging, make the helper sleep timeout consistent across tests, and use STATE_APPLIED instead of STATE_APPLIED_SVC on Windows for non service tests. r=bbondy 2014-01-12 13:47:29 -08:00
Fernando Jiménez
e61f3f5989 Bug 926737 - FOTA update includes device GUID for identification purpose. Part 2: nsUpdateService r=rstrong 2014-01-10 11:02:58 +01:00
Kai-Zhen Li
d0f7214133 Bug 916033 - Add a new status 'applied-os' for nsIUpdateService. r=rstrong 2013-10-31 20:05:08 +08:00
Robert Strong
806b115759 Bug 931586 - Use FileUtils.PERMS_DIRECTORY instead of 0755 in nsUpdateService.js. r=bbondy 2013-10-27 19:27:21 -07:00
Brian R. Bondy
92c5f35616 Bug 882142 - _postUpdateProcessing is not run after updates from Metro when Metro updates are disabled. r=rstrong
These updates can still be applied when the user manually clicks on check for update from
within Metro.  When _postUpdateProcessing is not called, then the last status in the update history XML
is not updated to succeeded.  This causes the Metro browser to show a "Restart to Update" button
because the last update's status is still applied.
2013-09-10 10:24:57 -04:00
Tim Abraldes
7eb6429775 bug 904230. Make nsIWinMetroUtils available as Services.metro. r=mbrubeck for the metro piece. r=rnewman for the sync piece. r=dolske for the toolkit piece. 2013-08-28 10:27:32 -07:00
Robert Strong
f0f9977192 Bug 907975 - Several telemetry histograms sent for checkForBackgroundUpdates and notify that should only be sent for notify. r=bbondy 2013-08-23 12:24:43 -07:00
Steffen Wilberg
4b3b61ef1e Bug 711475: Allow to perform updates using the About Firefox dialog on limited user accounts if the maintenance service is installed. r=bbondy 2013-08-07 23:07:17 +02:00
Shih-Chiang Chien
c572763895 Bug 891009 - Remove the selected patch after unrecoverable error. r=rstrong 2013-07-11 19:11:58 +08:00
Robert Strong
0fcf3f69e0 Bug 886545 - Provide method to check for updates to support bug 885641. r=bbondy 2013-07-11 13:46:32 -07:00
Shih-Chiang Chien
0e912e8678 Bug 880737 - Cancel retry timer while pausing OTA download. r=bbondy 2013-06-26 21:35:29 -04:00
Robert Strong
e5552276d3 1. main patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-22 13:37:07 -07:00
Phil Ringnalda
e08849038a Back out 01bc57172461:5bd9adbd3b15 (bug 843497) for xpcshell failures 2013-06-21 19:49:47 -07:00
Robert Strong
b38227af7b 1. main patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-21 18:10:58 -07:00
Robert Strong
baccf2449c Main patch - Bug 882007 - Restart notification is not shown when staging is enabled. r=bbondy 2013-06-19 18:05:04 -07:00
Brian R. Bondy
1a98e6a30f Bug 866229 - Metro pref telemetry. r=rstrong 2013-06-12 10:31:10 -04:00
Brian R. Bondy
eb0aebb6f9 Bug 866229 - Don't abort when app.update.silent is true and update.showPrompt is true on Metro. r=rstrong 2013-06-12 10:31:10 -04:00
Brian R. Bondy
d333d326e7 Bug 866229 - Use metro enabled pref. r=rstrong 2013-06-12 10:31:09 -04:00
Brian R. Bondy
b9e39d1fd3 Bug 867056. r=rstrong 2013-05-23 13:26:44 -04:00
Brian R. Bondy
9473261262 Bug 794937 - Make updates work from the Metro front end, add handling for 1 instance handling updates. r=rstrong 2013-05-22 10:16:53 -04:00
Marshall Culpepper
db64eb46e1 Bug 833708: Correctly set the active update's errorCode when there isn't enough space in Gonk. r=dhylands 2013-02-25 21:11:14 -06:00
Shih-Chiang Chien
51eab430af Bug 835260 - Need B2G version number for composing update URL. r=marshall_law 2013-02-25 20:44:12 -05:00
Dave Hylands
a60ab23aba Bug 827896 - Cancel download rather than letting it fail when powering off the phone. r=rstrong 2013-02-08 19:36:16 -08:00
Mike Hommey
e96f6b5fb9 Bug 793767 - Use the executable file location to derive the update root. r=rstrong 2013-02-08 15:58:52 +01:00
Robert Strong
cbe8c04b69 Bug 695811 - Checking for updates logs two warnings about deprecated XMLHttpRequest attributes. r=bbondy, r=dhylands 2013-02-01 18:58:48 -08:00
Dave Hylands
b4056501e2 Bug 831701 - Finish active updates unless the user swtiches to a newer one. Remove stale updates. r=rstrong
Once the user starts to download an update, stick to that update until the user cancels the download and does a "Check Now".

If a newer update is started and a stale update is detected, remove the stale update.

If a download fails due an update being in the applied state, prompt the user to apply it.

If an update was fully downloaded, but interrupted during verification, then don't redownload.
2013-01-25 10:27:49 -08:00
Dave Hylands
b5c77b1fa1 Bug 830462 - Remove update.mar from sdcard when finished (or when starting a new download). r=rstrong 2013-01-14 20:29:46 -08:00
Dave Hylands
0088d3fc1c Bug 813770 - Rebooting after update is downloaded but before it's applied doesn't show prompt to re-apply on subsequent restart. r=rstrong 2013-01-12 05:03:13 +01:00
Marshall Culpepper
2bc6edc34f Bug 816306: Part 1 - Report more network errors during update checks. r=bbondy 2013-01-10 18:10:19 +01:00
Dave Hylands
91219f76ca Bug 785124 - Pt 6 - Fix JS code that was failing xpcshell tests. r=marshall_law 2013-01-10 14:46:39 +01:00
Dave Hylands
e0f66a6b02 Bug 785124 - Pt 2 - JS changes to updater to allow storing update.mar to sdcard. r=marshall_law
From 93958fee051e9355930edba538eabeb91f4b442d Mon Sep 17 00:00:00 2001
 sdcard and lock sdcard while in use
---
 b2g/components/DirectoryProvider.js       |  154 ++++++++++++++++++++++++++---
 b2g/components/UpdatePrompt.js            |   16 ++-
 toolkit/mozapps/update/nsUpdateService.js |  124 ++++++++++++++++++++++-
 3 files changed, 276 insertions(+), 18 deletions(-)
* * *
Fix log stmt
2012-12-14 16:05:39 -08:00
Phil Ringnalda
d137321fea Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands
068a810dfc Bug 785124 - Pt 2 - JS changes to updater to allow storing update.mar to sdcard. r=marshall
From 93958fee051e9355930edba538eabeb91f4b442d Mon Sep 17 00:00:00 2001
 sdcard and lock sdcard while in use
---
 b2g/components/DirectoryProvider.js       |  154 ++++++++++++++++++++++++++---
 b2g/components/UpdatePrompt.js            |   16 ++-
 toolkit/mozapps/update/nsUpdateService.js |  124 ++++++++++++++++++++++-
 3 files changed, 276 insertions(+), 18 deletions(-)
* * *
Fix log stmt
2012-12-14 16:05:39 -08:00
Cameron McCormack
36280f6dd0 Bug 822548 - Fix a bunch of JS warnings on startup. r=dao 2012-12-19 09:27:56 +11:00
Marshall Culpepper
8c259e8a1b Bug 812584: Part 1 - Always forward update download errors in B2G. r=bbondy 2012-12-17 17:23:14 -06:00
Marshall Culpepper
c8a3343b3e Bug 813778: Don't attempt to retry when a FOTA update fails to apply in B2G. r=bbondy 2012-11-29 10:47:44 -06:00
Stephen Pohl
6ca2de9109 1 of 2 - Main patch for Bug 813322 - Add ability to control time interval for restart prompt to apply update. r=bbondy 2012-11-28 20:56:32 -08:00
Fabrice Desré
e1b6762a8e Bug 802228 - Check for app updates when we check for system update [r=marshall] 2012-11-15 12:52:19 -08:00
Brian R. Bondy
ed00af96ac Bug 791829 - Add support for resuming a stopped/partial update. r=rstrong 2012-11-06 20:09:43 -05:00
Marshall Culpepper
d11ffe7871 Bug 809605: Add %PRODUCT_MODEL% token for update URLs in B2G. r=ehsan 2012-11-07 22:18:10 -05:00
Masatoshi Kimura
4999721f39 Bug 685202 - Cleanup the update directory if canApplyUpdates is false; r=ehsan 2012-11-05 19:08:21 -05:00
Adri Hilviu
7ab2fefdd2 Bug 805466 - Remove old MozUpdater-i folders in /tmp in PostUpdate. r=bbondy 2012-10-31 16:32:14 -04:00
Kyle Huey
76a2832eea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
c34b7d9377 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00