Commit Graph

179 Commits

Author SHA1 Message Date
Kenneth Geisshirt ffb48ec2ed
Enhancements of subscription api (#2060)
* Adding Realm.subscriptions() and Realm.unsubscribe()
* Update changelog
* RN support
2018-10-10 12:00:04 +02:00
Nikola Irinchev e9f0113218
Expose customQueryBasedSyncIdentifier in the sync config (#2055)
* Expose customQueryBasedSyncIdentifier in the sync config

* Close the correct Realm
2018-10-08 12:02:44 +02:00
Christian Melchior 434e8ca2bc
Align permission API's with Java/Swift (#2036) 2018-10-04 10:09:31 +02:00
Christian Melchior 79759dce29
Fix typescript definitions for privileges() methods (#2030) 2018-09-19 13:16:26 +02:00
Kenneth Geisshirt 81e7cc87ed
Preparing v2.16.0-rc.1 (#2022)
* Preparing v2.16.0-rc.1
* Update CHANGELOG.md
2018-09-14 11:38:40 +02:00
Nikola Irinchev 80cde7a5b0 Redesign user auth (#2002)
* Refactor user auth
* Allow to override the jwt provider name
* Add custom provider and changelog
* Remove the callback argument from docs
2018-09-13 08:45:06 +02:00
Emanuele Zattin 9314ee0a7d Add support for sync pause/resume (#2019)
* Add support for sync pause/resume
* Improve the promise chain in the tests
* Update CHANGELOG.md
* Update sync.js
2018-09-12 16:04:22 +02:00
Kenneth Geisshirt f45ba1c9e7
LIMIT support in queries (#2008)
* Updating to Realm Sync 3.9.9 (and Core 5.10.0 + object store).
* Adding LIMIT to tests
* Use bitnami node image
2018-09-12 15:01:44 +02:00
Nikola Irinchev 477b900530
Expose user serialize and deserialize methods (#1996)
* Expose serialize and deserialize methods

* Changelog and docs

* Forgot to save changelog 🤦‍♂️

* Add input validation
2018-08-28 15:01:32 +02:00
Kenneth Geisshirt 1b1b51ded2
BUG FIX: A schema is required when Realm is opened in a query-based sync situation (#1985) 2018-08-24 08:50:27 +02:00
Christian Melchior adf6bb58c9
Change order of Connection notification parameters (#1961) 2018-08-15 15:52:37 +02:00
Christian Melchior 5a8341a5ac
Support for Connection notifications. (#1950) 2018-08-10 10:39:03 +02:00
James Stone 5df1d7b38a Update the query tutorial (#1943)
* Update the query tutorial
2018-08-06 11:45:17 +02:00
Kenneth Geisshirt 3b101af16b Revert "Adding documentation"
This reverts commit b4955b816d.
2018-06-28 10:37:10 +02:00
Kenneth Geisshirt 1d6e213682
Expose custom HTTP headers in sync configuration (#1898)
* Expose custom HTTP headers in sync configuration
2018-06-28 10:34:02 +02:00
Kenneth Geisshirt 77026c7a19
Fixing the class names of the permission classes (#1894) 2018-06-27 09:14:29 +02:00
Kræn Hansen b4955b816d Adding documentation 2018-06-20 16:07:07 +02:00
Christian Melchior fdcedf86f7 Docs 2018-06-19 09:08:14 +02:00
Christian Melchior 2db3ea5853 Merge branch 'master' into cm/template-method
# Conflicts:
#	CHANGELOG.md
2018-06-19 08:57:42 +02:00
Thomas Goyne 19f04253a7 shouldCompactOnLaunch is passed the used bytes, not unused bytes 2018-06-18 16:17:31 -07:00
Christian Melchior d75150aa93 Add support for creating template objects 2018-06-18 22:55:01 +02:00
Kenneth Geisshirt 5c3feb74e9 Fixing JS doc + template 2018-06-11 15:14:31 +02:00
Kenneth Geisshirt 4dc4bac37e
Update collection.js 2018-06-07 11:25:38 +02:00
Thomas Goyne 495355f3fe Expose both newModifications and oldModifications on change events 2018-06-06 16:13:47 -07:00
Christian Melchior 4cb9c77f46
Query-based sync as the default sync mode (#1830) 2018-05-30 12:54:51 +02:00
Kenneth Geisshirt fa3e2c699b
Preparing 2.7.0 (#1833)
* Preparing 2.7.0
2018-05-29 14:13:01 +02:00
Nabil Hachicha 9b9d7e6471
Nh/is empty (#1820)
* adding isEmpty method to Result and List
2018-05-29 12:24:54 +01:00
Kenneth Geisshirt 58671dd59e
React to schema changes (#1831)
* Adding schema change listener (#1825).
2018-05-29 12:22:34 +02:00
astigsen f85fe2f91d Fix Realm.open() with no config 2018-05-25 12:00:42 +02:00
Kenneth Geisshirt 38ac25a2af Updating to latest jsdoc template 2018-05-17 11:52:20 +02:00
Kenneth Geisshirt 04bdd343d7 Don't abuse jsdoc 2018-05-17 11:51:45 +02:00
Kenneth Geisshirt 223b1fa07e
Merge pull request #1794 from realm/kneth/fix-jsdoc
Using longer names.
2018-05-16 13:30:45 +02:00
Kenneth Geisshirt fa2885c8bf
Merge branch 'master' into yg/new-ssl-config-api 2018-05-16 10:59:43 +02:00
Kenneth Geisshirt ee3791c821 Using lengthy names for classes 2018-05-16 10:46:32 +02:00
astigsen 0783c9081c Fixed method signature in docs 2018-05-15 19:46:20 +02:00
Kenneth Geisshirt 05f0b31a5b Using longer names. 2018-05-15 18:20:20 +02:00
astigsen 5186eeb84e Add Object.linkingObjectCount() 2018-05-15 14:31:54 +02:00
Yavor Georgiev ac3d749ece
Group SSL configuration options in a new config object 2018-05-14 15:16:52 +03:00
Thomas Goyne 67d61ff745 Add support for the 'delete' event 2018-05-11 14:38:35 -07:00
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