Commit Graph

2439 Commits

Author SHA1 Message Date
Ari Lazier e4239d48af Merge pull request #645 from realm/al-sync-user-tests
User persistence and sync tests
2016-11-15 10:44:47 -08:00
Ari Lazier fabaf5e819 Merge pull request #653 from realm/nh/update_android
Nh/update android
2016-11-15 10:06:20 -08:00
Radu Tutueanu 4b0f5f41e6 Merge pull request #655 from realm/rt/build-without-by-default
Do not build node with sync by default
2016-11-15 18:04:07 +01:00
Ari Lazier d56fbc303f add node-sync to .gitignore 2016-11-15 08:33:07 -08:00
Radu Tutueanu eaf29974fd Empty commit for ci 2016-11-15 17:06:23 +01:00
Ari Lazier db524a56a2 [0.15.0-rc] Bump version 2016-11-15 05:42:25 -08:00
Søren Vind 06b27bf8c0 Add documentation for new methods 2016-11-15 05:19:36 -08:00
Ari Lazier ca3fb62c59 ci build fixes for android 2016-11-15 05:08:26 -08:00
Radu Tutueanu ca0fd78cee Do not build node with sync by default 2016-11-15 13:49:41 +01:00
Adam Fish 6b6b2fa11a Node example with Realm and Express/Winston to demonstrate interprocess communication. 2016-11-15 12:57:35 +01:00
Radu Tutueanu f0daaf6a93 Move apple-related file to mac target 2016-11-14 20:57:01 +01:00
Søren Vind 06d277aacd Bumped version of ESLint, added eslinting of specs, make all linting pass 2016-11-14 10:48:50 -08:00
Marius Rackwitz b01349087c Add a test which synchronizes a change between two clients 2016-11-14 17:36:47 +01:00
Nabil Hachicha a53e802df3 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-14 13:26:54 +00:00
Nabil Hachicha fdf88c2f78 Adding a build type to switch between Core & Core+Sync 2016-11-14 13:26:33 +00:00
Ari Lazier eef8a2de3b property clean up sync state between tests in c++ 2016-11-12 05:26:37 -08:00
Nabil Hachicha f764032ef5 fixing Android example 2016-11-12 10:47:36 +00:00
Ari Lazier 695d6f9efb suppress garbage debug info 2016-11-11 21:20:04 -08:00
Ari Lazier baa8321453 fix test 2016-11-11 19:33:21 -08:00
Ari Lazier 15bb3014b9 example fixes 2016-11-11 18:23:44 -08:00
Ari Lazier 011f293d13 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-11 17:54:04 -08:00
Ari Lazier e4d4cbbdf3 proper fix/hack removal, partially working sync for rn 2016-11-11 17:53:58 -08:00
Ari Lazier 41b0426e01 Merge pull request #652 from realm/rt/improve-build
Improve build
2016-11-11 16:31:48 -08:00
Ari Lazier 043d801bb7 fix for node 2016-11-11 15:33:13 -08:00
Ari Lazier e5ac11bb14 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-11 15:05:15 -08:00
Ari Lazier 2b90def150 terrible hack to make rn not retain the context 2016-11-11 15:05:08 -08:00
Søren Vind 14e75f12bc Documentation for .all and .current 2016-11-11 14:54:12 -08:00
Ari Lazier d9398a0bb9 restart simulators 2016-11-11 12:32:20 -08:00
Ari Lazier bb7e98cbbe use latest rn version 2016-11-11 12:01:31 -08:00
Ari Lazier b2077910a4 fix for handle scope warning 2016-11-11 11:41:27 -08:00
Ari Lazier 7683d1185a rerun tests on failure 2016-11-11 11:31:00 -08:00
Ari Lazier 588fc50e9f try to build then test 2016-11-11 11:24:35 -08:00
Ari Lazier 7970e9d575 remove outdated/out of place examples 2016-11-11 11:12:46 -08:00
Radu Tutueanu 0b9cca78d6 Download core OR sync
No need to download both
2016-11-11 17:42:35 +01:00
Radu Tutueanu e268cfef58 Add variable to enable skipping the download 2016-11-11 17:39:07 +01:00
Radu Tutueanu 900827d72f Skip the download if PREFIX env variables are defined 2016-11-11 14:46:16 +01:00
Ari Lazier d229cd6130 throw exception when trying to open a realm with an invalid user 2016-11-11 00:14:52 -08:00
Ari Lazier 08ffc3bf15 ccache support 2016-11-10 23:55:26 -08:00
Ari Lazier 81402f890b use yarn and fix for test app package.json 2016-11-10 23:11:31 -08:00
Søren Vind 88aae65721 Test logout, slightly better test scaffolding (so now we run tests to completion on the outer level of callbacks). 2016-11-10 18:06:27 -08:00
Ari Lazier 30679c2470 remove unneeded script phases 2016-11-10 15:54:24 -08:00
Ari Lazier babd9b6c3d don't unzip sync zip when not needed 2016-11-10 14:29:28 -08:00
Ari Lazier 6d485866f6 all users should return a dictionary 2016-11-10 13:55:22 -08:00
Søren Vind 87b30fb4ec Add tests of Realm.Sync.User.all and Realm.Sync.User.current. Fix both to only return active (logged-in) users. Fix current return values: Throws if >1 user logged in, returns undefined if no logged in. 2016-11-10 12:54:15 -08:00
Søren Vind 448f68a787 Reformat code, 2 spaces 2016-11-10 12:54:15 -08:00
Ari Lazier fb47fb10cc remove sync test code from test app 2016-11-10 11:51:37 -08:00
Ari Lazier 0cc306ca26 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-10 11:45:04 -08:00
Ari Lazier aeea153a06 don't reset simulators 2016-11-10 11:44:57 -08:00
JP Simard 219947db9e
try to work around failure to run the tests 2016-11-10 11:26:27 -08:00
Ari Lazier 8bd5ee8be7 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-10 10:50:51 -08:00