Commit Graph

3069 Commits

Author SHA1 Message Date
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
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
Kenneth Geisshirt 4660c5ff64 [2.2.14] Bump version 2018-03-05 10:48:44 +01:00
Kenneth Geisshirt f9b6736bcb
Updating to Realm Sync 2.2.15 (#1684) 2018-03-05 10:46:48 +01:00
Kenneth Geisshirt 4e4c16946f [2.3.0-beta.1] Bump version 2018-03-03 12:57:49 +01:00
Kenneth Geisshirt 1f2173b599
Avoid Table::clear() when using partial sync (#1680)
* Avoid Table::clear() when using partial sync
* Updated to sync 3.0.0-beta.10
* Update object store
2018-03-03 12:55:11 +01:00
Thomas Goyne d1a4e899d8 Fix the Permissions typescript definitions 2018-03-02 15:36:45 -08:00
Thomas Goyne fadd35bb26 Add a typescript declaration for Sync.SubscriptionState 2018-03-02 15:36:10 -08:00
Thomas Goyne 384f43c637 Make testOfferPermissions more reliable
The order of the permissions is undefined and will vary based on what order
things happen to resolve on the server.
2018-03-02 13:44:56 -08:00
Thomas Goyne 5ff5df97be Fix running nested-list-helper.js with node 8 2018-03-02 12:06:00 -08:00
Thomas Goyne 302db024bf Eliminate some gratuitous promise nesting in tests 2018-03-02 12:05:09 -08:00
Kenneth Geisshirt e34ec308e3 [2.2.13] Bump version 2018-03-02 20:44:00 +01:00
Thomas Goyne 61126aef53 Use node.execPath in runOutOfProcess() 2018-03-02 10:47:04 -08:00
Kenneth Geisshirt 3eaef14fca
Updating to Realm Sync 2.2.14 (#1683) 2018-03-02 19:43:06 +01:00
Thomas Goyne 3934413180 Update object store 2018-03-02 10:07:29 -08:00
Thomas Goyne 0047ffba13 Add object-level permissions tests 2018-03-01 16:16:58 -08:00
Thomas Goyne ac7f7d9c4e Add schema definitions for the permissions types 2018-03-01 16:16:43 -08:00
Thomas Goyne 4722e75eba Expose computed privileges 2018-03-01 16:16:26 -08:00
Thomas Goyne d89c7ea24f Delete a helper function that's now exposed directly by sync 2018-03-01 16:16:26 -08:00
Nabil Hachicha e93ff333ed [2.3.0-alpha.15] Bump version 2018-03-01 20:30:57 +00:00
Kenneth Geisshirt 9698ea651d Update 2018-03-01 16:38:47 +01:00
Kenneth Geisshirt 27349fc0b9 [2.3.0-alpha.14] Bump version 2018-03-01 15:38:26 +01:00
Kenneth Geisshirt 2f2c557cc1 [2.3.0-alpha.14] Bump version 2018-03-01 15:37:44 +01:00
Kenneth Geisshirt ec5ea3e32a Remember to mention which sync version we are using. 2018-02-27 11:28:53 +01:00
Kenneth Geisshirt 615d6ff35e Merge branch '2.3.x' of github.com:realm/realm-js into 2.3.x 2018-02-27 10:58:58 +01:00
Nabil Hachicha 4122305ea3 [2.3.0-alpha.13] Bump version 2018-02-26 17:33:50 +00:00
Nabil Hachicha e77ca6c119 updated package.json 2018-02-23 18:23:48 +00:00
Nabil Hachicha 9580997ba9 [2.3.0-alpha.12] Bump version 2018-02-23 18:17:58 +00:00
Kenneth Geisshirt 4bc69f0a1b
Don't include the downloaded files in package (#1672) 2018-02-23 11:28:02 +01:00
Kenneth Geisshirt 46d128b444 Oops, shouldn't remove 2018-02-23 00:33:13 +01:00
Kenneth Geisshirt abe5287333 [2.2.12] Bump version 2018-02-23 00:29:41 +01:00
Kenneth Geisshirt 3a82a46fb9 [2.2.11] Bump version - 2nd attempt 2018-02-22 22:59:25 +01:00
Kenneth Geisshirt 0adadbb191 [2.2.11] Bump version 2018-02-22 20:41:07 +01:00
Kenneth Geisshirt 966230c7a7
Validate that a given type appears at most once in the schema (#1670) 2018-02-22 20:38:18 +01:00
Kenneth Geisshirt 2e900e85e0 Merge branch 'master' of github.com:realm/realm-js into 2.3.x 2018-02-20 18:03:54 +01:00
Kenneth Geisshirt 2b4bb9f769 [2.2.10] Bump version 2018-02-20 14:50:43 +01:00
Kenneth Geisshirt a90e9ec45f
Test of: Multiple list of primitive types (#1665)
* Adding tests for nested lists
* Updated to Realm Sync 2.2.12.
2018-02-20 14:43:36 +01:00
Kenneth Geisshirt 462856a24d
Partial sync (#1583)
The new Partial Sync API
2018-02-20 13:40:54 +01:00
Kenneth Geisshirt dbd543d891 [2.2.9] Bump version 2018-02-19 21:04:13 +01:00
Kenneth Geisshirt af41f049ca
Realm Sync 2.2.11. (#1666) 2018-02-19 21:00:52 +01:00
Nabil Hachicha 9c07407d50 [2.3.0-alpha.11] Bump version 2018-02-19 17:45:34 +00:00
Kræn Hansen fdf9497bdd Fixing objectForPrimaryKey return type (#1664)
According to https://github.com/realm/realm-js/blob/master/docs/realm.js#L171 and runtime behaviour it returns `undefined` not `null` if the object doesn't exist.
2018-02-16 10:27:30 +01:00
Kenneth Geisshirt e42eb6469a [2.3.0-alpha.10] Bump version 2018-02-15 16:42:16 +01:00
Kenneth Geisshirt 8faac5561f [2.3.0-alpha.9] Bump version 2018-02-14 08:58:24 +01:00
Kenneth Geisshirt 217ca17b9a Merge branch 'master' of github.com:realm/realm-js into 2.3.x 2018-02-14 08:56:14 +01:00
Kenneth Geisshirt 1ad557b47f [2.2.8] Bump version 2018-02-13 22:19:48 +01:00
Kenneth Geisshirt fd22a89ebb
Updating to Realm Sync 2.2.10 (#1659) 2018-02-13 22:18:03 +01:00
Kenneth Geisshirt 95fc7f2234 [2.3.0-alpha.8] Bump version 2018-02-13 08:56:03 +01:00