Jared Wein
285bebb13e
Bug 1330791 - Enable the brace-style rule for eslint in /services and fix the associated errors. r=markh
...
MozReview-Commit-ID: Ebl3bODX14z
--HG--
extra : rebase_source : 20fe1d8043b04c53b9521bc0ad30b72ebf253062
2017-01-12 18:24:52 -05:00
Jared Wein
ac53e1b8be
Bug 1330791 - Enable no-else-return rule for eslint in /services and fix associated errors. r=markh
...
MozReview-Commit-ID: 7Os4uZQCDox
--HG--
extra : rebase_source : 2a1d9ef6fb6510f7f3b02b6c727bc706e56637b0
2017-01-12 18:14:54 -05:00
Jared Wein
7cb8b041fe
Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
...
MozReview-Commit-ID: DFcvEllwGSb
--HG--
extra : rebase_source : c6abc288124c1c47480cc73db8294195d8832fa2
2017-01-12 18:02:08 -05:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Mathieu Leplatre
ef51c56995
Bug 1331604
- Minor style and idiom changes (r=mgoodwin)
...
MozReview-Commit-ID: IdO8EP3hg0P
--HG--
extra : rebase_source : 86f6da5d655bd84fa849b4a5374a41aebb8e814f
2017-01-17 15:04:43 +01:00
Mathieu Leplatre
8f6110a8e5
Bug 1331604
- Upgrade kinto libraries (r=glasserc,RyanVM)
...
MozReview-Commit-ID: AfbkZozKDzb
--HG--
extra : rebase_source : 7a2ad054d5d449903a1d659ace183d3ecc613c01
2017-01-18 14:53:52 +01:00
Wes Kocher
20dc006d88
Backed out 14 changesets (bug 1330791) for various android failures a=backout
...
Backed out changeset eada8de7256f (bug 1330791)
Backed out changeset a3c656a9f3ca (bug 1330791)
Backed out changeset e0cbc754e841 (bug 1330791)
Backed out changeset 49d8016fab12 (bug 1330791)
Backed out changeset 53d4b83ccd22 (bug 1330791)
Backed out changeset b35cbfcd801f (bug 1330791)
Backed out changeset 25a6356de622 (bug 1330791)
Backed out changeset 46f9c247550d (bug 1330791)
Backed out changeset ef7356099bd3 (bug 1330791)
Backed out changeset a5fe483288db (bug 1330791)
Backed out changeset 4902107b7568 (bug 1330791)
Backed out changeset 5b2b2be2e389 (bug 1330791)
Backed out changeset 610ec89e98bb (bug 1330791)
Backed out changeset 631adda26a21 (bug 1330791)
MozReview-Commit-ID: GGUFW29U3TL
2017-01-17 17:06:36 -08:00
Jared Wein
3ebade8189
Bug 1330791 - Enable the brace-style rule for eslint in /services and fix the associated errors. r=markh
...
MozReview-Commit-ID: Ebl3bODX14z
--HG--
extra : rebase_source : f708038a1e3d27f7397d2ff6ac8981d1e5fa5d43
2017-01-12 18:24:52 -05:00
Jared Wein
d3dba448bd
Bug 1330791 - Enable no-else-return rule for eslint in /services and fix associated errors. r=markh
...
MozReview-Commit-ID: 7Os4uZQCDox
--HG--
extra : rebase_source : 8d14b02c97b8024268b5625a633393e75efed117
2017-01-12 18:14:54 -05:00
Jared Wein
42349d27b4
Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
...
MozReview-Commit-ID: DFcvEllwGSb
--HG--
extra : rebase_source : 24dc56342d6b1a95df64c0c7c5a1819344cfe603
2017-01-12 18:02:08 -05:00
Jared Wein
43bac26d30
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Jared Wein
9a0aefca79
Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
...
MozReview-Commit-ID: Be36laqLQQ2
--HG--
extra : rebase_source : 48f6fc7a832e51035c04ea825f77a38cb08a7151
2017-01-10 12:08:32 -05:00
Jared Wein
65605f286e
Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
...
MozReview-Commit-ID: EjyAssqiQk8
--HG--
extra : rebase_source : cbfc8d4474b6c3d46eb21374e33fd3341403444f
2017-01-10 12:09:02 -05:00
Iris Hsiao
55313b4bc9
Backed out changeset 7e0a0bd74199 (bug 1330014)
2017-01-13 11:06:43 +08:00
Iris Hsiao
303147b9fa
Backed out changeset afe70927277c (bug 1330014) for xpcshell test_storage_manager.js failures
2017-01-13 11:06:38 +08:00
Jared Wein
dd7ec3a99b
Bug 1330014 - Remove extra lines that eslint --fix adds for no-useless-return. r=standard8
...
MozReview-Commit-ID: Be36laqLQQ2
--HG--
extra : rebase_source : 05c863e038aa1a6571500f4178c325b1b9913af9
2017-01-10 12:08:32 -05:00
Jared Wein
81cb5e57b9
Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
...
MozReview-Commit-ID: EjyAssqiQk8
--HG--
extra : rebase_source : d783829bc7fced3044d0d076c4786a6957d29bb6
2017-01-10 12:09:02 -05:00
Mark Banner
582fcb8090
Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
...
MozReview-Commit-ID: 5NKHHb70YA6
--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Florian Quèze
fc6379e827
Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws.
2017-01-09 20:27:26 +01:00
Mark Goodwin
31afeff0c3
Bug 1283109 - Create a services client for augmenting the STS preload list between releases. r=leplatrem
...
MozReview-Commit-ID: H9zZpBwJRgi
--HG--
extra : rebase_source : ae9f58eea512c020ea96fe293c7825bbcc3ccf15
2016-12-21 15:36:31 +00:00
Mark Goodwin
a4645b5275
Bug 1306470 - Create a services client for augmenting the PKP preload list between releases. r=leplatrem
...
This makes use of the recent changes to the nsISiteSecurityService (from bug
1306471) to provide a self-updating public key preload list.
MozReview-Commit-ID: 4s3LORibAN1
--HG--
extra : rebase_source : 90a5a242177d4d8826c80e6c1f424805b62608d4
2016-12-16 16:34:42 +00:00
Ethan Glasser-Camp
b80b66c130
Bug 1319884 - Address FirefoxAdapter feedback from kinto.js#589, r=mgoodwin
...
Change FirefoxAdapter definitively to require an externally-managed
Sqlite connection in order to function. This connection must be
produced by calling an openConnection() static method, which does the
work of initializing the tables and schema. Passing any other
connection is wrong, but won't be detected at runtime, and might even
work depending on the previous state of the database. Future work
might define a new KintoSqliteConnection type that can only be
produced by this method, so that it's impossible to create an
uninitialized Kinto database.
This change, since it moves Sqlite connections out of the
FirefoxAdapter, also means that the path option is no longer handled
or provided with a default. This means that the previous default,
"kinto.sqlite", is now preserved in a bunch of places all over the
codebase. This is unfortunate, but a migration is outside the scope of
this patch.
MozReview-Commit-ID: BKJqPR3jOTq
--HG--
extra : rebase_source : 91e0027890ac5fd0ba683abddc23e268f672d169
2016-11-23 14:18:53 -05:00
Ethan Glasser-Camp
5a6b486919
Bug 1318669 - Remove stripPrivateProps from blocklist-clients.js, r=mgoodwin
...
MozReview-Commit-ID: 84yvzpBr3Q6
--HG--
extra : rebase_source : 727b0d86405c9f4db217a290b7fd7c68d689b2f4
2016-11-18 10:07:39 -05:00
Ethan Glasser-Camp
877252b989
Bug 1317841 - Stylistic pass on new kinto-storage-adapter, r=MattN
...
- Reflow things to try to avoid long lines.
- Add terminal comma where possible.
MozReview-Commit-ID: 1USxo0lO33w
--HG--
extra : rebase_source : 0869cc9f9ba29cc39b227a0694e9cd6d635ccc3f
2016-11-16 11:13:32 -05:00
Ethan Glasser-Camp
4742db4baa
Bug 1317841 - Update version of kinto.js to v6.0.0, r=MattN
...
This major version of kinto.js released without a FirefoxStorage
adapter. Since Gecko is the only project with a need for this adapter
as well as the only one who can use it, that file moves to this repo
as a new kinto-storage-adapter.js. This file is mostly a copy of the
most recent FirefoxStorage.js, plus some other non-exported utility
functions copied from kinto.js to make it work.
This changes the export of the kinto-offline-client.js from a
`loadKinto` function which returns the Kinto class, to the actual
Kinto class itself, with the user expected to "hook up" the
adapter. It turns out that this doesn't change much in how we actually
use Kinto, since we were always previously explicitly selecting the
Kinto adapter.
This release of kinto.js also changes some of the build options
around, which changes the minified output of kinto-offline-client.js.
There are still some outstanding stylistic complaints about
FirefoxAdapter having to do with its _init static method which is
public and the fact that sometimes FirefoxAdapter manages its own
Sqlite connection and sometimes it doesn't. These will be addressed in
a future patch.
MozReview-Commit-ID: HF0oNCEDcFs
--HG--
rename : services/common/kinto-offline-client.js => services/common/kinto-storage-adapter.js
extra : rebase_source : 11d01e573b259798305494ac072575247ac01e2c
2016-11-15 19:38:53 -05:00
Mark Hammond
9c1b1b298b
Bug 1317587 - don't start scheduled sync after shutdown. r=rnewman
...
MozReview-Commit-ID: GSyWAUa1qyr
--HG--
extra : rebase_source : 45d0dfd5c686803f017230ab6152d0204a3d4c8e
2016-11-15 15:28:52 +11:00
Sebastian Hengst
0dc4492dd2
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: services. r=RyanVM
...
MozReview-Commit-ID: DuzsFEaAeYr
--HG--
extra : rebase_source : b6c4cb95bf0563b0abd48949d50d2c156c86602b
2016-11-05 11:29:21 +01:00
Ethan Glasser-Camp
65d084b973
Bug 1315247 - Update version of Kinto.js client to 5.1.0, r=MattN
...
MozReview-Commit-ID: K68DXYrpHYX
--HG--
extra : rebase_source : 9c2dd7ff123ce364e9ee5cfaee4efe73ee26c83b
2016-11-04 09:38:34 -04:00
Ethan Glasser-Camp
bce63cb01d
Bug 1308515: Update version of kinto.js client to 5.0.0, r=MattN
...
MozReview-Commit-ID: D3WISXfSaTz
--HG--
extra : rebase_source : ab9d5497c4b1aa22ae15bae65ef4f7a30ec87626
2016-10-07 10:27:48 -04:00
Ethan Glasser-Camp
061b360de6
Bug 1308515: Fix blocklist-clients.js so that it can work with new kinto.js, r=leplatrem,MattN
...
MozReview-Commit-ID: AwLBvYQb4DX
--HG--
extra : rebase_source : 5b2b1084aad4f9a1b98a243a9693cfe1ab3e8516
2016-10-17 10:20:50 -04:00
Ethan Glasser-Camp
b307183a8c
Bug 1300591 - Update Kinto.js to v4.0.4, r=MattN
...
MozReview-Commit-ID: B5pB3AmjjAL
--HG--
extra : rebase_source : ff7960141b7a46dc4a96c1dce6286d942c02645c
2016-09-05 13:18:25 -04:00
Ethan Glasser-Camp
64606dd324
Bug 1299208 - Update kinto.js to v4.0.3. r=MattN
...
MozReview-Commit-ID: HlLbIpRri19
--HG--
extra : rebase_source : 68371c68745480f36b516b208428d2453ea06609
2016-08-30 12:19:19 -04:00
Ethan Glasser-Camp
f42c20c601
Bug 1298106 - Update Kinto.js to 4.0.2, r=MattN
...
MozReview-Commit-ID: 3xi7o9DvAmS
--HG--
extra : rebase_source : a751fea322f063718aa91630bb4c6303e36fe48c
2016-08-25 14:13:15 -04:00
Thom Chiovoloni
98df436e16
Bug 1288445 - Use new hashed_fxa_uid field instead of the real FxA UID in sync telemetry ping. r=bsmedberg,markh
...
MozReview-Commit-ID: DhlIEvyrtlL
--HG--
extra : rebase_source : b8a45bf1c13be13ff00c8dc3a9cdd8f0504908f3
2016-08-09 12:28:35 -04:00
Wes Kocher
66c318b349
Backed out changeset e4437c4da937 (bug 1288445) for xpcshell failures a=backout
2016-08-12 19:06:00 -07:00
Thom Chiovoloni
e8d58192dd
Bug 1288445 - Use new hashed_fxa_uid field instead of the real FxA UID in sync telemetry ping. r=bsmedberg,markh
...
MozReview-Commit-ID: DhlIEvyrtlL
--HG--
extra : rebase_source : 8fffdf42ba56242144e4450a783c4d23cc4f2aeb
2016-08-09 12:28:35 -04:00
Thom Chiovoloni
5b9dedc2c6
Bug 1283456 - Ensure the response exists in the HawkClient's onComplete method. r=markh
...
MozReview-Commit-ID: CYQ8E9vEjqY
--HG--
extra : transplant_source : %1CI%9F%BB%FE%B5S%14%EFVZ%B53%19e%CF%A6%CC%0B%5E
2016-08-04 17:19:41 -04:00
Sumit Tiwari
ec358ae079
Bug 1292995 - Replace Iterator() with Object.{values,entries} in services/; r=gps
...
MozReview-Commit-ID: 3VEOjAJROld
--HG--
extra : rebase_source : 09102ed0ea8831adc1e6fd5973a290d16afcba03
2016-08-08 22:40:23 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
8428cd56e3
merge mozilla-inbound to mozilla-central a=merge
2016-07-20 11:20:15 +02:00
Mark Hammond
5d1196dc29
Bug 1279145 - log manager now cleans old Sync and ReadingList log files. r=tcsc
...
MozReview-Commit-ID: JpispWkvlFZ
--HG--
extra : rebase_source : 10e7339e50e6238e56c06e915fdb148fdbeda79d
2016-07-18 11:46:01 +10:00
Mark Goodwin
73853a0ba3
Bug 1280877 - Prevent collections from being overwritten by outdated signed data r=MattN, r=leplatrem
...
MozReview-Commit-ID: JI7DEVEW7P6
2016-07-18 19:32:56 +01:00
Ethan Glasser-Camp
7e018723e9
Bug 1282109: update kinto-offline-client.js, r=MattN
...
MozReview-Commit-ID: BiE4UvlLu6T
2016-07-13 15:09:42 -04:00
Mark Hammond
7332bc6420
Bug 1283379 - have RESTRequest log on channel redirect. r=tcsc
...
MozReview-Commit-ID: 5QakocdCw7k
--HG--
extra : rebase_source : eb6993058b80493604e98c2621fbae3634d94cae
2016-06-30 17:15:35 +10:00
Ben Kelly
dd3c9e4501
Bug 1279389 P3 Fix OS.File.DirectoryIterator leaks throughout tree. r=yoric
2016-06-28 18:47:55 -07:00
Mark Goodwin
f386fadbc0
Bug 1263602 - Verify kinto collection signatures using the content signature service. r=MattN, r=leplatrem
...
MozReview-Commit-ID: J6fuSDaW1JR
2016-06-02 09:01:26 +01:00
Mark Goodwin
da244c1539
Bug 1286600 - prevent errors in calls to the CertBlocklist from causing blocklist sync to fail. r=MattN
...
MozReview-Commit-ID: 42O2QnPQRuj
2016-07-14 21:31:54 +01:00
Mathieu Leplatre
695a9942a4
Bug 1266235 - Use blocklist prefix in preference names. r=MattN
...
MozReview-Commit-ID: 5aeoiSEMwYw
--HG--
extra : rebase_source : ff4e77c88de58923afe75be2046dcdb98e40ad2f
2016-05-19 12:51:13 +02:00
Mathieu Leplatre
fe3e7d0c4d
Bug 1266235 - Rename KintoBlocklist to blocklist-clients. r=mgoodwin
...
MozReview-Commit-ID: Eus7sHqN6GW
--HG--
rename : services/common/KintoBlocklist.js => services/common/blocklist-clients.js
rename : services/common/tests/unit/test_kintoCertBlocklist.js => services/common/tests/unit/test_blocklist_certificates.js
rename : services/common/tests/unit/test_kintoAddonPluginBlocklist.js => services/common/tests/unit/test_blocklist_clients.js
extra : rebase_source : 4543b62309fd35139087090e1aa2445601d58eaf
2016-04-28 13:24:21 +02:00
Mathieu Leplatre
397e35b6c1
Bug 1266235 - Rename kinto-updater to blocklist-updater. r=mgoodwin
...
MozReview-Commit-ID: 8bDKbxbIus3
--HG--
rename : services/common/kinto-updater.js => services/common/blocklist-updater.js
rename : services/common/tests/unit/test_kinto_updater.js => services/common/tests/unit/test_blocklist_updater.js
extra : rebase_source : 4d03542a741cdd38bc048f54fea6a752e8114f40
2016-04-21 17:22:01 +02:00