Commit Graph

402 Commits

Author SHA1 Message Date
Nabil Hachicha 111e9c223f Adding permission schema for query based sync (#2027)
* Adding permission schema when opening the Realm
* Adding permission schema implicitly for query based Realms
* Remove old code
* Remove outdated test
2018-09-19 16:16:44 +02:00
Christian Melchior 79759dce29
Fix typescript definitions for privileges() methods (#2030) 2018-09-19 13:16:26 +02:00
Apperside af46a2d86f Fixed the type definition for Realm.Permissions.User (#2013)
The identity field was wrong, it should have been id instead
2018-09-17 09:28:01 +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 c6753efe5a
Added to the support library for React Native debugging (#479) (#2005) 2018-09-04 10:58:03 +02:00
Gabriele Petronella 760ddd578f Add param type to addConnectionNotification/removeConnectionNotification (#2003) 2018-09-03 08:35:21 +02:00
Nikola Irinchev 81cb7c4636
Fix type definitions for authenticate (#2000)
* Fix type definitions for authenticate

* Update CHANGELOG.md
2018-08-30 16:20:29 +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 bdd59419cc
fullSynchronization might not be defined (#1990)
* fullSynchronization might not be defined
* don't use fullSynchronization in a test
2018-08-24 16:21: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 a58a984f3f
Automatically add schemas for object level permissions. (#1970) 2018-08-17 10:10:20 +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
Christian Melchior 95472a5cd3
Fix wrong schema definition (#1946) 2018-08-06 15:35:26 +02:00
Vincenzo Castiglia 5cd969a03e fixed 'return' outside of function (30:4) (#1923)
* fixed 'return' outside of function (30:4)
2018-07-12 12:34:37 +02:00
Kenneth Geisshirt 805f3d0804
initial work on getting subscriptions to work in RN debugger (#1902)
* Getting subscriptions to work in RN debugger
2018-07-09 19:54:21 +02:00
Kenneth Geisshirt f907ebc367 Revert "Exposed the computeSize method to the debugger"
This reverts commit 3ee3d3e39c.
2018-06-28 10:36:55 +02:00
Kenneth Geisshirt 8435068cbf Revert "Added a TypeScript definition for computeSize"
This reverts commit 367133c53e.
2018-06-28 10:35:38 +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 9a37726012
Adding getters to debugging support of Realm.Sync.User (#1892) 2018-06-27 09:15:06 +02:00
Kræn Hansen 367133c53e Added a TypeScript definition for computeSize 2018-06-20 16:20:41 +02:00
Kræn Hansen 3ee3d3e39c Exposed the computeSize method to the debugger 2018-06-20 16:16:13 +02:00
Christian Melchior fdcedf86f7 Docs 2018-06-19 09:08:14 +02:00
Christian Melchior fa96eeec9e Fix tests 2018-06-19 00:19:49 +02:00
Christian Melchior d75150aa93 Add support for creating template objects 2018-06-18 22:55:01 +02:00
Thomas Goyne 495355f3fe Expose both newModifications and oldModifications on change events 2018-06-06 16:13:47 -07:00
Kenneth Geisshirt 106dc271ac
Merge branch 'master' into kneth/fix-ts-objects 2018-05-30 13:36:54 +02:00
Christian Melchior 4cb9c77f46
Query-based sync as the default sync mode (#1830) 2018-05-30 12:54:51 +02:00
Kenneth Geisshirt 88d88c57e3
Merge branch 'master' into kneth/fix-ts-objects 2018-05-30 10:47:12 +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
Kenneth Geisshirt d84e2f1645 Fixing TypeScript definition of `Realm.objects()` and `Realm.objectForPrimaryKety()`. 2018-05-25 15:55:46 +02:00
astigsen f85fe2f91d Fix Realm.open() with no config 2018-05-25 12:00:42 +02:00
Kenneth Geisshirt fa2885c8bf
Merge branch 'master' into yg/new-ssl-config-api 2018-05-16 10:59:43 +02:00
astigsen fbf4db56c5 Fix Chrome debug API 2018-05-15 14:37:04 +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 b01dcb44cc
Merge pull request #1713 from realm/kneth/fix-ts-for-open_ssl_verify_callback
Fixing TS definition for open_ssl_verify_callback.
2018-05-07 14:29:25 +02:00
Kenneth Geisshirt dad5b3f521 Merge branch 'master' of github.com:realm/realm-js into kneth/fix-ts-for-open_ssl_verify_callback 2018-05-07 11:17:21 +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 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
Nabil Hachicha b321808f4b
Add password reset wrappers (#1699). (#1757)
* Add password reset wrappers (#1699).
2018-04-25 10:23:47 +01: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