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
Ashwin Phatak
c550105b2c
Merge pull request #1346 from realm/ap/rn49_bundler_fix
...
Workaround for RN >= 0.49 metro-bundler check for single string liter…
2017-09-26 13:17:56 +05:30
Ashwin Phatak
e1b70c2f57
Workaround for RN >= 0.49 metro-bundler check for single string literal argument to require() ( #1342 )
2017-09-26 10:00:31 +05:30
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
Kenneth Geisshirt
49392bd4c6
Merge branch '2.0.x' of github.com:realm/realm-js into kneth/v1_v2-upgrade
2017-09-25 16:04:43 +02:00
Kenneth Geisshirt
61ad47faf5
Fixing a few typos
2017-09-25 16:03:14 +02: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
b1fb8ece57
Fix typo
2017-09-23 10:37:15 +02:00
Kenneth Geisshirt
a0aff98173
Switch to later object store
2017-09-23 10:18:57 +02:00
Kenneth Geisshirt
a717b291e8
Merge branch '2.0.x' of github.com:realm/realm-js into kneth/v1_v2-upgrade
2017-09-23 00:18:42 +02:00
Kenneth Geisshirt
39fe8c6280
Creating a proper IncompatibleSyncedRealmError class.
2017-09-23 00:05:33 +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
blagoev
2c33bacb5f
Update ROS 2.0 to alpha 36
2017-09-22 20:10:54 +03:00
blagoev
ec6e700d33
fix retrieveAccount endpoint
2017-09-22 20:10:04 +03:00
blagoev
1a538ffa94
Enable ROS 2.0 download
2017-09-22 20:09:45 +03:00
Morten Krogh
508a547898
Typescript definition for ssl_verify_callback.
2017-09-22 13:52:49 +02:00
Kenneth Geisshirt
4b2acf3b79
Updating documentation and test.
2017-09-22 13:50:17 +02:00
blagoev
f8f6661fe2
Fix api doc error
2017-09-22 13:14:02 +03:00
Morten Krogh
c1e198cbab
Documentation and comments for ssl_verify_callback.
2017-09-22 11:21:36 +02:00
Morten Krogh
3657ef385c
The sync config object gets a new property called ssl_verify_callback.
...
The callback is used to let JS code decide whether the server's SSL
certificate should be accepted or rejected. The ssl_verify_callback
function is only applicable for platforms using OpenSSL.
2017-09-22 10:29:37 +02:00
Kenneth Geisshirt
b0c1db8c45
[2.0.0-rc10] Bump version
2017-09-21 22:56:44 +02:00
Kenneth Geisshirt
315bc65288
Updating to sync 2.0.0-rc23 (wrong package name) ( #1335 )
2017-09-21 22:53:39 +02:00
Thomas Goyne
e44b9126a8
Merge pull request #1303 from realm/tg/keypath-sort
...
Use the objectstore keypath sorting functionality
2017-09-21 11:02:50 -07:00
Thomas Goyne
086f31c07f
Use the objectstore keypath sorting functionality
...
Adds support for sorting on values over links, reduces the amount of code in
the binding, and is required for sorting non-object lists.
2017-09-21 10:41:19 -07:00
blagoev
dad61c924a
Merge pull request #1333 from realm/test-2.0.x
...
fix build for 2.0.x
2017-09-21 19:23:17 +03:00
Kenneth Geisshirt
3f685c15b8
wip
2017-09-21 16:11:27 +02:00
blagoev
988a86ff19
ignore kill process errors
2017-09-21 16:12:43 +03:00
blagoev
4f5e51430c
Test 2.0.x on CI
2017-09-21 15:41:00 +03:00
blagoev
749c88ec74
Uncomment tests (now that they are guarded by a Fixme)
2017-09-21 02:38:22 +03:00
blagoev
8c8e75aa40
Merge pull request #1330 from realm/blagoev/download-ros2.0-for-testing
...
Blagoev/download ros2.0 for testing
2017-09-21 02:24:27 +03:00
blagoev
c9d9bd5c5b
update gitignore
2017-09-21 02:22:50 +03:00
blagoev
3f7e693a26
Download ROS 2.0 from npm for testing
...
disabled permissions and account tests
2017-09-21 02:22:49 +03:00
Thomas Goyne
1490285483
Skip running tests against ROS until they are updated for 2.0
2017-09-21 02:09:05 +03:00
blagoev
560f2cd5c0
Merge pull request #1319 from realm/blagoev/fix-2.0-tests
...
Blagoev/fix 2.0 tests
2017-09-21 01:48:39 +03:00
blagoev
0f1d916874
fix users tests (account tests still fail)
2017-09-21 01:43:08 +03:00
blagoev
b7fef1b6e9
Fix tests
2017-09-21 01:43:08 +03:00
blagoev
3ee26d5719
fix error reporting
2017-09-21 01:43:08 +03:00
blagoev
ac6a39728a
Fix admin-user-helper for ROS 2.0
2017-09-21 01:43:08 +03:00
blagoev
5d92b03110
Move ROS version up to alpha 22
2017-09-21 01:39:17 +03:00
blagoev
cb0d49fdd7
fix proptypes missing dependency
2017-09-21 01:33:04 +03:00
blagoev
275db8a631
fix progress notifications registrations
2017-09-20 21:59:07 +03:00