Commit Graph

3125 Commits

Author SHA1 Message Date
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
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 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
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
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 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
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 10480c1afe
Adding optional user as argument to Realm.automaticSyncConfiguration. (#1709) 2018-03-14 08:26:41 +01:00
Kenneth Geisshirt 0efc4fbedb
Merge pull request #1686 from realm/2.3.x
Release 2.3.0
2018-03-13 17:11:00 +01:00
Kenneth Geisshirt 55a4224d83 [2.3.0] Bump version 2018-03-13 14:29:50 +01:00
Kenneth Geisshirt 9435490ea3
Upgrading to Realm Sync 3.0.0-rc.2 (#1706)
* Adding role to __User.
* Update to Realm Sync 3.0.0
* Renamed defaultSyncConfiguration to automaticSyncConfiguration
2018-03-13 14:27:31 +01:00
Kenneth Geisshirt edfdd933b0
Updating API docs and TS definitions (closes #1770). (#1707) 2018-03-13 12:45:23 +01:00
Kenneth Geisshirt 2f20006e47
Kneth/allow partial in urls (#1704)
* Adding _disablePartialSyncUrlChecks.
2018-03-13 08:27:47 +01:00
James Stone 8dc5149770
Merge pull request #1660 from realm/jas/backlink-queries
Preliminary work for queries over named backlinks
2018-03-12 15:47:30 -07:00
James Stone 187c4354f1 Inline method in hpp to remove duplicate definitions 2018-03-12 10:48:57 -07:00
Kenneth Geisshirt 6d5c1e42e8 Fix typos 2018-03-12 10:42:51 +01:00
Kenneth Geisshirt 5cc7bb6aa6
Merge branch 'master' into 2.3.x 2018-03-10 22:36:31 +01:00
Kenneth Geisshirt b10fddb722 Merge branch '2.3.x' of github.com:realm/realm-js into jas/backlink-queries 2018-03-09 16:45:17 +01:00
Kenneth Geisshirt 30c7d901dc [2.3.0-beta.3] Bump version 2018-03-09 15:55:37 +01:00
Kenneth Geisshirt 9d8a677ecf
Revoke refresh token upon logout. (#1696)
* Revoke refresh token upon logout.
* Always log out
2018-03-09 15:51:45 +01:00
Kenneth Geisshirt e53cb3c7b1 [2.2.15] Bump version 2018-03-09 11:56:36 +01:00
Kenneth Geisshirt 2e4e0df01c Merge branch '2.3.x' of github.com:realm/realm-js into jas/backlink-queries 2018-03-09 11:18:06 +01:00
Kenneth Geisshirt abb04e399b
Default sync realm (#1693)
* Configuration for default Realm.
* Use url-parse to make RN happy.
2018-03-09 10:40:45 +01:00
Kenneth Geisshirt 945181b3ab
Updating to Realm Sync 3.0.0-rc.1 and Realm Core 5.4.0. (#1698) 2018-03-09 09:56:30 +01:00
Alex Bass 032757a6e5 Stop worker being redefined and breaking Jest #1635 (#1695) 2018-03-08 13:26:00 -08:00
Kenneth Geisshirt dfc6aea6a6
Deprecated setFeatureToken(). (#1694) 2018-03-08 17:27:13 +01:00
Kenneth Geisshirt 1066722a09 Revert "Deprecated setFeatureToken()."
This reverts commit d846794cd5.
2018-03-08 15:47:50 +01:00
Kenneth Geisshirt d846794cd5 Deprecated setFeatureToken(). 2018-03-08 15:44:11 +01:00
Kenneth Geisshirt 0924b7d660 Merge branch 'master' of github.com:realm/realm-js into 2.3.x 2018-03-07 12:46:11 +01:00
Kenneth Geisshirt 928db78339 [2.3.0-beta.2] Bump version 2018-03-07 10:04:15 +01:00
Thomas Goyne d90403b279
Merge pull request #1681 from realm/tg/permissions
Add basic object-level permissions support
2018-03-06 10:29:44 -08:00
Kenneth Geisshirt 83715e840f Adding API doc and changelog. 2018-03-06 18:05:17 +01:00
astigsen 09b47d3348
Merge pull request #1677 from realm/as/querydoc
Update query docs
2018-03-06 05:59:39 -08:00
astigsen 3433654a97 Removed backlink queries (for now) 2018-03-06 13:43:10 +01:00
Kenneth Geisshirt 3a444aae5b Merge branch 'master' of github.com:realm/realm-js into 2.3.x 2018-03-06 09:53:53 +01:00
Thomas Goyne 9da59d8f04 Reformat permissions-tests.js to a consistent 4-space indent 2018-03-05 09:46:24 -08:00