Commit Graph

140 Commits

Author SHA1 Message Date
Kenneth Geisshirt 010aa031ad Merge branch 'master' of github.com:realm/realm-js into jas/backlink-update 2018-05-07 10:10:33 +02:00
Nikola Irinchev 5e64d04c19 Update sync.js (#1773) 2018-05-01 10:26:59 +02:00
Nabil Hachicha b321808f4b
Add password reset wrappers (#1699). (#1757)
* Add password reset wrappers (#1699).
2018-04-25 10:23:47 +01:00
James Stone 591aa9fee7 Initial work for unnamed backlink queries and @links.@count tests 2018-04-10 16:37:41 -07: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
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 10480c1afe
Adding optional user as argument to Realm.automaticSyncConfiguration. (#1709) 2018-03-14 08:26:41 +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 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 0924b7d660 Merge branch 'master' of github.com:realm/realm-js into 2.3.x 2018-03-07 12:46:11 +01:00
Kenneth Geisshirt 83715e840f Adding API doc and changelog. 2018-03-06 18:05:17 +01:00
astigsen 3433654a97 Removed backlink queries (for now) 2018-03-06 13:43:10 +01:00
astigsen d1df6d86f8 Minor review fixes 2018-02-27 16:37:45 -08:00
astigsen 02ba8183e1 Fixed missing chars 2018-02-27 14:33:11 -08:00
astigsen 76acf0ab60 Updated query docs in API ref to reflect the features of the new query parser 2018-02-27 14:30:31 -08:00
Kenneth Geisshirt 462856a24d
Partial sync (#1583)
The new Partial Sync API
2018-02-20 13:40:54 +01:00
Thomas Goyne 0c6e254494 Support async sync change listeners (#1626) 2018-01-18 12:20:17 +01:00
Thomas Goyne ce67446976 Perform a pseudo-refresh for admin token users (#1599)
* Perform a pseudo-refresh for admin token users

Although we don't need to actually refresh the token, when multiplexing is
enabled we do still need to hit ROS to let it know we're accessing a Realm and
get the sync label.

* Adding brief JSdoc and TS definition for isAdminToken.

* Perform a pseudo-refresh for admin token users

Although we don't need to actually refresh the token, when multiplexing is
enabled we do still need to hit ROS to let it know we're accessing a Realm and
get the sync label.

* Adding brief JSdoc and TS definition for isAdminToken.

* Make the timeout consistent

* Add basic docs for multiprocess notifications (#1594)

* Add basic docs for multiprocess notifications

* Adopt core's query parser and update to core v5.1.2 (#1563)

* Adopt core's query parser.
* Realm Core 5.1.2
* Realm Sync 2.2.9

* Remove tar.xz (#1585)

* remove tar.xz decompression and lzma deps

* Fixing merge

* Updating object store
2018-01-11 14:47:54 +01:00
Thomas Goyne b5eacfcf16 Add basic docs for multiprocess notifications (#1594)
* Add basic docs for multiprocess notifications
2018-01-11 10:08:18 +01:00
Kenneth Geisshirt 16a218ad49
Adding JWT auth (#1564)
* Adding method Realm.Sync.User.authenticate()
* Adding JWT provider support to Realm.Sync.User.authenticate()
* Adding password provider support to Realm.Sync.User.authenticate()
2018-01-05 09:38:53 +01:00
Yavor Georgiev 4e6cb299b3
Add disableFormatUpgrade to Realm configuration (#1566) 2017-12-14 07:53:03 +01:00
Kenneth Geisshirt aed1ea104b
Adding property Realm.isClosed. (#1560)
* Adding property Realm.isClosed.
2017-12-13 10:09:26 +01:00
Nikola Irinchev 9d5ed20919
Fix typo in docs 2017-12-01 10:15:56 +01:00
Kenneth Geisshirt e81d8589ae
Post-release feedback on client reset (#1372) (#1459)
* Post-release feedback on client reset (#1372)
* Using error.name instead
2017-11-06 13:51:33 +01:00
Kenneth Geisshirt d858c4e87a Updating documentation of realmAtPath 2017-11-01 14:44:40 +01:00
blagoev 0b5aa68c62 Revert "Merge pull request #1409 from realm/kneth/bugfix/invalid-token"
This reverts commit 4055c9e047, reversing
changes made to d6b3fcb8b1.
2017-10-17 00:51:47 +03:00
Brian Munkholm 2284b3c4c3 Update sync.js 2017-10-13 17:23:46 +02:00
Kenneth Geisshirt fca7cd4566 wip 2017-10-13 14:39:28 +02:00
Kenneth Geisshirt 16957f62eb adminUser() throws an exception if token or url is invalid 2017-10-12 16:30:31 +02:00
Thomas Goyne 643c19ea75 Add support for aggregates on arrays of primitives (#1401)
* Fix an unused variable warning in js_sync.hpp
* Add support for aggregates on arrays of primitives
* Update documentation and typescript declarations
* Update collection.js
2017-10-11 14:54:52 +02:00
Ashwin Phatak 4bcef8baff Add support for bulk updates (#808) 2017-10-10 16:25:47 +05:30
Kenneth Geisshirt 19d05c2021 Merge `master` into `2.0.x` (#1377)
* Add 'deleteRealmIfMigrationNeeded' to configuration to delete a Realm if migration needed (#502)
* Minor update due to changes in objec store
2017-10-03 13:37:21 +02:00
Brian Munkholm 7ca60a1641 Minor doc updates to sync 2017-10-03 09:10:18 +02:00
Kenneth Geisshirt 53fec37e84 Frozen results during iteration. (#1368)
* Frozen results during iteration.
* Adding a note about iterators are frozen.
2017-10-02 23:15:19 +02:00
Kenneth Geisshirt feb59ae859 Partial sync (#1361) 2017-10-02 20:29:36 +02:00
Kenneth Geisshirt fe121ea27b Client reset (#1341) 2017-10-02 19:44:24 +02:00
blagoev 33c4a886d0 Merge pull request #1367 from realm/getGrantedPermissions-docs-fix
Get granted permissions docs fix
2017-10-02 18:20:08 +03:00
blagoev aaabc1e286 fix docs 2017-10-01 12:29:04 +03:00
blagoev 8402a6d30b fix docs 2017-10-01 12:21:33 +03:00
blagoev b632389b75 Fix docs 2017-10-01 12:21:17 +03:00
blagoev 4a73b242af fix docs and TS definitions 2017-10-01 08:50:31 +03:00
blagoev 6349d22f55 Merge branch '2.0.x' into kneth/v1_v2-upgrade 2017-09-30 17:21:24 +03:00
Kenneth Geisshirt e109e32ac4 Merge branch 'master' of github.com:realm/realm-js into kneth/master-to-2.0.x 2017-09-30 09:55:14 +02:00
Ashwin Phatak 199210eb68 Add support for aggregates on collections (#807) (#1350) 2017-09-29 16:53:37 +05:30
blagoev 8e984feedb Merge branch '2.0.x' into kneth/v1_v2-upgrade 2017-09-29 12:42:27 +03:00
blagoev 3bf61963e8 Merge branch '2.0.x' into kneth/v1_v2-upgrade 2017-09-28 10:38:09 +03:00
blagoev 6c5960ee7b fix merge 2017-09-28 10:37:45 +03:00
blagoev 37105e7f00 Merge branch '2.0.x' into kneth/lazy-enable-sync 2017-09-28 10:29:37 +03:00
Thomas Goyne e608255282 Update JSDocs for arrays of primitives (#1357) 2017-09-27 17:57:41 -07:00