realm-js/lib/browser
Marius Rackwitz 9e0a9a3bd3 Add support for accessing linking objects / backlinks (#1101)
* Add support for linkingObjects

* Test linkingObjects

* Borrow names helper from list tests

* include computed properties when serializing the schema for the RN debugger

* add API docs

* review comments

* Expose admin users to JS (#1100)

The JS binding used to conflate `SyncUser::is_admin()` with the user being created by calling `Realm.Sync.User.adminToken()`, but now that we expose a user’s role on the server under `is_admin()` this supposition is no longer correct.

#1097 attempted to fix one such case, but fixing it only uncovered another: in `UserClass<T>::all_users()`.  I’ve gone through all the callsites of `SyncUser::is_admin()` to make sure they don’t assume an admin token user.

* [1.8.3] Bump version

* add linkingObjects method to Realm.Object

* changelog
2017-06-29 11:59:10 +02:00
..
.eslintrc.json Bumped version of ESLint, added eslinting of specs, make all linting pass 2016-11-14 10:48:50 -08:00
base64.js Convert browser module to use ES6 modules 2016-02-29 03:24:58 -08:00
collections.js Improve CI builds relying on Chrome (#796) 2017-01-11 18:22:41 +01:00
constants.js Sync Session API (#825) 2017-02-01 14:18:59 +01:00
index.js fix for open async in RN Debug 2017-05-20 09:41:51 +03:00
lists.js Added method to find index of object in collections (#1094) 2017-06-26 13:43:49 +02:00
objects.js Add support for accessing linking objects / backlinks (#1101) 2017-06-29 11:59:10 +02:00
results.js Added method to find index of object in collections (#1094) 2017-06-26 13:43:49 +02:00
rpc.js rpc.js: removed Buffer.from 2017-02-10 18:28:03 +13:00
session.js Fix token refresh and session bugs in chrome debugging (#831) 2017-02-01 23:44:56 +01:00
user.js Extract admin status from the refresh token (#1078) 2017-06-17 16:59:15 +02:00
util.js Use RPC callback mechanism for writes and listeners 2016-05-02 12:41:53 -07:00