Commit Graph

2675 Commits

Author SHA1 Message Date
Mark Rowe 0f9e99affe Update ROS to v2.0.0-alpha.42.
alpha.42 uses realm-sync v2.0.0-rc26, allowing our sync tests to pass
once more.
2017-09-29 21:31:56 -07:00
Kenneth Geisshirt 9b6569716e [2.0.0-rc16] Bump version 2017-09-29 23:33:27 +02:00
Kenneth Geisshirt 477ead57c9 Updating core (4.0.1) and sync (2.0.0-rc26) (#1362) 2017-09-29 23:29:40 +02:00
Kenneth Geisshirt 7ae915fe0b [2.0.0-rc15] Bump version 2017-09-29 20:36:49 +02:00
Kenneth Geisshirt 04cf15a36e [2.0.0-rc14] Bump version 2017-09-29 00:33:51 +02:00
Kenneth Geisshirt 51a4f524a9 Updating to core 4.0.0 and sync 2.0.0-rc25 (#1360)
* Updating to core 4.0.0 and sync 2.0.0-rc25
* Adding file to React Native projects
* Move sync_config.cpp to the correct target in the Xcode project.
2017-09-29 00:31:22 +02:00
Thomas Goyne 154d259326 Update typescript declarations for arrays of primitives (#1359) 2017-09-28 15:03:56 -07:00
blagoev fc4f6f6c20 Merge pull request #1353 from realm/kneth/lazy-enable-sync
Enable SyncManager late
2017-09-28 11:21:38 +03:00
blagoev 37105e7f00 Merge branch '2.0.x' into kneth/lazy-enable-sync 2017-09-28 10:29:37 +03:00
Kenneth Geisshirt 77e05b474a [2.0.0-rc13] Bump version 2017-09-28 09:14:48 +02:00
blagoev 7e048a9bee Merge pull request #1338 from realm/fix-accountInfo-2.0
Fix account info 2.0
2017-09-28 10:08:47 +03:00
Thomas Goyne e608255282 Update JSDocs for arrays of primitives (#1357) 2017-09-27 17:57:41 -07:00
blagoev 3b00719aaa Enable _adminUser in RN debug context 2017-09-28 01:26:20 +03:00
Kenneth Geisshirt 5616fb6f50 [2.0.0-rc12] Bump version 2017-09-27 22:58:50 +02:00
Mark Rowe 666d606914 Specify a timeout when making the HTTP request to refresh access tokens. (#1356)
* Specify a timeout when making the HTTP request to refresh access tokens.

Without the timeout, some requests are silently never made.

Fixes realm/realm-js-private#338.

* Add a changelog entry.
2017-09-27 22:52:14 +02:00
Kenneth Geisshirt c370de6d5d Linker issue. 2017-09-27 22:31:27 +02:00
Kenneth Geisshirt a738415763 wip 2017-09-27 21:02:09 +02:00
Kenneth Geisshirt 2caa14abf2 Don't expose an initializer function. 2017-09-27 20:16:44 +02:00
Kenneth Geisshirt f94f351bfb Adding documentation, TS definition and change log. 2017-09-27 17:53:09 +02:00
Kenneth Geisshirt e669a221a1 Cleaning up 2017-09-27 16:00:45 +02:00
Kenneth Geisshirt f4248f5d30 wip 2017-09-27 15:59:21 +02:00
Kenneth Geisshirt 87ab6dd6d3 creating a Realm.Sync.initialiize() 2017-09-27 15:56:09 +02:00
blagoev 273d241999 Merge pull request #1345 from realm/tg/primitive-array
Add support for lists of things other than objects
2017-09-27 16:23:16 +03:00
Kenneth Geisshirt d52121f290 make it fail 2017-09-27 11:22:46 +02:00
Kenneth Geisshirt 20defad505 Merge branch '2.0.x' of github.com:realm/realm-js into fix-accountInfo-2.0 2017-09-27 10:01:20 +02:00
Thomas Goyne c9a3548f32 Add some missing property type validation 2017-09-26 14:43:44 -07:00
Thomas Goyne fbf5da388b Make an error message test less specific to accomodate platform differences 2017-09-26 13:43:01 -07:00
Thomas Goyne cf0f0d127f Align the error thrown for assigning to read-only collection properties 2017-09-26 13:43:01 -07:00
Thomas Goyne 741d19458b Pass negative indices over the RPC bridge rather than special-casing -1 2017-09-26 13:43:01 -07:00
Thomas Goyne d1248b6676 Add RPC handling for the type and optional properties 2017-09-26 13:43:01 -07:00
Thomas Goyne c7e44cd01f Fix assertion failures when serializing collections for RPC 2017-09-26 12:23:10 -07:00
Thomas Goyne fdfd89e7e7 Fix nil message send when no simulators are booted 2017-09-26 12:23:10 -07:00
Thomas Goyne d278649fee Extract the ruby script for finding iOS simulators to a separate file 2017-09-26 12:23:10 -07:00
Thomas Goyne 9a31febc4c Add support for lists of things other than objects
And add a shorthand syntax for schema definitions.
2017-09-26 11:40:22 -07:00
Thomas Goyne 54bbc708e9 Create a global named `global` when running JSC tests 2017-09-26 11:40:22 -07:00
Thomas Goyne ada3d116af Include linking objects properties in the property names reported 2017-09-26 11:40:22 -07:00
Thomas Goyne 2a28a29341 Avoid throwing exceptions in non-error property reads
These make debugging annoying (and probably slow things down, but that's a
secondary benefit).
2017-09-26 11:40:22 -07:00
Thomas Goyne 18dea2bc6c Add an equality assertion that does the right thing for a given property type 2017-09-26 11:40:22 -07:00
Thomas Goyne 0167e60142 Add support for choosing what stack depth to report in test failures
This gives a much more useful test failure message when an assertion is called
from within a function.
2017-09-26 11:40:22 -07:00
Kenneth Geisshirt 2efa71ebfb [2.0.0-rc11] Bump version 2017-09-26 11:49:04 +02:00
Kenneth Geisshirt b676201e03 Alignment of permission schemas with ROS 2 (#1344)
* Alignment of permission schemas with ROS 2
2017-09-26 11:23:36 +02:00
Thomas Goyne 41cecabe45 Merge pull request #1336 from realm/tg/merge-master-to-2.0.x
Merge master into 2.0.x
2017-09-25 10:17:24 -07:00
Thomas Goyne 2298609ce5 Merge remote-tracking branch 'origin/master' into tg/merge-master-to-2.0.x
* origin/master: (23 commits)
  Fix api doc error
  fix progress notifications registrations
  Fix typo in Github issue template
  Fix port conflict between RN >= 0.48 and RPC server (#1294)
  Disable testAddListener when running in chrome
  Ensure RN has an event loop running for async tests
  Make permission tests better handle server delays
  Fix race conditions in testAddListener
  Separate build and test steps in xcode to reduce chance of hitting "Early unexpected exit"
  Ignore errors when sourcing nvm.sh
  Don't forward arguments to nvh.sh
  Skip sourcing nvm.sh if it's already available
  Fix some shellcheck warnings
  Ensure node 6.5.0 is installed on CI
  Build realm from source for each test-runner test
  Improve error reporting for incorrect argument counts for Realm methods
  Use the same error messages in the RPC code as the regular code
  Silence an unused variable warning when building with sync disabled
  Check the exception message in all Realm tests which assert an exception is thrown
  Don't discard the actual error message in validated_get_X
  ...
2017-09-25 09:40:56 -07:00
Morten Krogh 590f5845af Merge pull request #1337 from realm/mk/ssl-verify-callback-2
The sync config object gets a new property called ssl_verify_callback.
2017-09-25 13:11:04 +02:00
Morten Krogh fe9677b1c5 Added documentation abut exceptions for open_ssl_verify_callback. 2017-09-25 11:57:18 +02:00
Morten Krogh 73dd90a05f Merge branch 'mk/ssl-verify-callback-2' of github.com:realm/realm-js into mk/ssl-verify-callback-2 2017-09-25 11:08:36 +02:00
Morten Krogh fbe619c255 Changed ssl_verify_callback to open_ssl_verify_callback.
Changed the preverifyOk to acceptedByOpenSSL and made it a Boolean.
Changed jsdoc formatting.
2017-09-25 11:05:16 +02:00
Kenneth Geisshirt 0332fc7e66 Update realm.js
Fixing old typos.
2017-09-22 19:39:00 +02:00
blagoev eed5395c99 Enable all tests except permissions 2017-09-22 20:25:37 +03:00
blagoev a88463bb18 fix users tests 2017-09-22 20:22:17 +03:00