Commit Graph

3204 Commits

Author SHA1 Message Date
Kenneth Geisshirt 4f65e057eb
Update to sync 3.3.0 (#1778)
* Updating sync and core
* Simplying linking on node.js binding.
* Adapting to new distribution packages of core.
2018-05-07 10:09:22 +02:00
Thomas Goyne 29ad083f25 Track Realms seen in the notifier by id rather than path
If a Realm is deleted and then a new one is created at the same path it needs
to be treated as a new Realm.
2018-05-04 14:12:34 -07:00
Kenneth Geisshirt c0c2606aa1
Merge pull request #1776 from realm/kneth/merge-2.2-into-master
Merge 2.2.x into master
2018-05-03 12:40:28 +02:00
Kenneth Geisshirt c3c93a8947 Merge branch 'master' of github.com:realm/realm-js into kneth/merge-2.2-into-master 2018-05-03 11:24:09 +02:00
Nikola Irinchev 5e64d04c19 Update sync.js (#1773) 2018-05-01 10:26:59 +02:00
Kenneth Geisshirt ad1962b02b [2.4.0] Bump version 2018-04-26 11:45:38 +02:00
Kenneth Geisshirt 2eccaac431
Kneth/rn logout (#1766)
* `logout()` is implemented in JS and RN debugging must know of `_logout()` instead.
2018-04-26 11:38:24 +02:00
Kenneth Geisshirt 4d0cccb8e5 [2.3.5] Bump version 2018-04-25 12:54:25 +02:00
Nabil Hachicha b321808f4b
Add password reset wrappers (#1699). (#1757)
* Add password reset wrappers (#1699).
2018-04-25 10:23:47 +01:00
Nabil Hachicha 1c95abbff1
Add a certificate validation using Android Keystore for RN (#1761)
* add a certificate validation using Android Keystore for RN
2018-04-25 10:21:52 +01:00
Kenneth Geisshirt 032ee3d178
Updating change log (forgot in PR #1744). (#1755)
* Updating change log (forgot in PR #1744).
2018-04-25 09:48:34 +02:00
Thomas Goyne 72d10eb572 Don't hang forever when the React tests fail to start (#1764)
* Exclude unavailable simulator runtimes
* Fix some warnings
* Don't hang forever when the React tests fail to start
`simctl launch --console` goes into an infinite loop if the app fails to launch
successfully, so don't use --console and manually wait for it to exit.
2018-04-25 08:11:54 +02:00
Kenneth Geisshirt 5cfc3c12ee Use a single object instead of multiple arguments. 2018-04-18 14:07:19 +02:00
Kenneth Geisshirt 20c16196c9 Merge branch 'master' of github.com:realm/realm-js into kneth/fix-ts-for-open_ssl_verify_callback 2018-04-18 14:02:03 +02:00
Artur Miranda 5c86e9e92d Add Subscription import to browser/index.js and register type converter (#1744) 2018-04-18 10:42:02 +02:00
Brian Nicholson 424ff81965 Stringify fetch body in logout (#1731)
* Stringify fetch body in logout
* Update changelog
2018-04-17 15:01:02 +02:00
Kenneth Geisshirt 144732ee96 [2.2.20] Bump version 2018-04-13 10:09:19 +02:00
Kenneth Geisshirt 4c811524b1
Updating to Realm Sync 2.2.17 (#1749) 2018-04-13 10:07:56 +02:00
Kenneth Geisshirt 533d567492 [2.3.4] Bump version 2018-04-12 18:38:05 +02:00
Thomas Goyne c349d5f185 Retry on network errors when refreshing admin tokens (#1747)
* Retry on network errors when refreshing admin tokens

This is the same logic used for non-admin token user fetches, which seems to
already work fine in practice.
2018-04-12 18:20:25 +02:00
James Stone 591aa9fee7 Initial work for unnamed backlink queries and @links.@count tests 2018-04-10 16:37:41 -07:00
Kenneth Geisshirt 78a4478aa7 [2.2.19] Bump version 2018-04-10 10:44:51 +02:00
Kenneth Geisshirt 5140824d93
Preparing 2.2.19 (#1745) 2018-04-10 10:43:13 +02:00
Valerii Hiora c3a83f1866 Added `writeCopyTo` functionality (#1715)
* Added `writeCopyTo` functionality
* Fixes #1678
* Added optional `encryptionKey` to `writeCopyTo`
2018-04-03 11:50:03 +02:00
James Stone 497de5f3ea Fix named linking object queries across classes (#1734)
* Fix named linking object queries across classes
* Add change log entry, remove debug code
2018-04-03 11:48:33 +02:00
Kenneth Geisshirt 6b3b34ae54
Merge pull request #1723 from Gerharddc/patch-1
Stop Permissions being redefined and breaking Jest
2018-04-03 11:42:26 +02:00
Kenneth Geisshirt 5b159da8f0 [2.3.3] Bump version 2018-03-23 11:22:29 +01:00
Kenneth Geisshirt a0cccf7d6f
Merge pull request #1724 from realm/tg/close-realm-on-error
Avoid leaking realms when an error occurs within an event handler
2018-03-23 11:19:30 +01:00
Kenneth Geisshirt 8c3198427d Merge branch '2.2.x' of github.com:realm/realm-js into 2.2.x 2018-03-23 10:01:37 +01:00
Kenneth Geisshirt 7387a79e10 [2.2.18] Bump version 2018-03-23 10:00:25 +01:00
Kenneth Geisshirt 339cf14c38 [2.2.18] Bump version 2018-03-23 09:57:42 +01:00
Kenneth Geisshirt 08dcbf4312
Merge pull request #1725 from realm/kneth/backporting-1724
Avoid leaking realms when an error occurs within an event handler
2018-03-23 09:53:08 +01:00
Thomas Goyne bf26c01fd3 Avoid leaking realms when an error occurs within an event handler 2018-03-23 09:03:12 +01:00
Thomas Goyne f663e4846c Avoid leaking realms when an error occurs within an event handler 2018-03-22 16:43:39 -07:00
Kenneth Geisshirt b743952636 [2.3.2] Bump version 2018-03-21 18:45:36 +01:00
Gerhard de Clercq 7152afddd9
Stop Permissions being redefined and breaking Jest
Fixes a related problem in exactly the same way as https://github.com/realm/realm-js/pull/1695 .
2018-03-21 19:44:57 +02:00
Kenneth Geisshirt c370ef4d86
Testing against ROS 3.0.0. (#1712)
* Testing against ROS 3.0.0.
* Adding Realm.Sync.Subscription.removeAllListeners. Refactor partial sync tests.
* Refactoring partial sync tests.
2018-03-21 18:18:37 +01:00
Kenneth Geisshirt 1d0b1dcc24 [2.2.17] Bump realm-js version 2018-03-21 10:33:49 +01:00
Kenneth Geisshirt aa763f270d
Merge pull request #1722 from realm/kneth/prepare-v2.2.17
Updating changelog
2018-03-21 10:32:16 +01:00
Kenneth Geisshirt b452c1fb04 Updating changelog 2018-03-21 10:20:00 +01:00
Kenneth Geisshirt 65e8962674
Merge pull request #1719 from realm/kneth/add-compatibility
Adding compatibility info
2018-03-19 11:26:01 +01:00
Kenneth Geisshirt dd7abd0a46 typo 2018-03-16 13:45:40 +01:00
Kenneth Geisshirt 2f305357ed Adding compatibility info 2018-03-16 13:44:14 +01:00
Kenneth Geisshirt c50f751776 [2.3.1] Bump version 2018-03-16 12:34:16 +01:00
Kenneth Geisshirt 4fcb79dba4
Merge pull request #1717 from realm/tg/queue-http-requests
Throttle HTTP requests made to the auth server
2018-03-16 12:25:17 +01:00
Kenneth Geisshirt 31fb9ceb1a [2.2.16] Bump version 2018-03-16 09:38:35 +01:00
Kenneth Geisshirt c4da7c8ca5
Merge pull request #1718 from realm/tg/queue-http-requests-2.2
Throttle HTTP requests made to the auth server
2018-03-16 09:36:04 +01:00
Thomas Goyne 2d04437818 Throttle HTTP requests made to the auth server
Making thousands of HTTP requests simultaneously inevitably results in some
failing or the server being overwhelmed, so limit how many can be made at once
(currently to the arbitrary cap of 5) and enqueue any further requests.
2018-03-15 17:09:23 -07:00
Thomas Goyne 635d49e09a Throttle HTTP requests made to the auth server
Making thousands of HTTP requests simultaneously inevitably results in some
failing or the server being overwhelmed, so limit how many can be made at once
(currently to the arbitrary cap of 5) and enqueue any further requests.
2018-03-15 17:02:51 -07:00
Kenneth Geisshirt 90cacdd6c7 Fixing TS definition for open_ssl_verify_callback. 2018-03-14 15:09:45 +01:00