Commit Graph

116 Commits

Author SHA1 Message Date
Thomas Goyne 3a8ee98f72 Merge remote-tracking branch 'origin/master' into next-major
* origin/master: (87 commits)
  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
  Documenting sync.config properties (#1312)
  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
  Add the invalid value to the type error exception message
  Improve the errors thrown for invalid schema definitions
  Throw a more appropriate error for some operations on closed Realms
  ...
2017-09-19 16:36:49 -07:00
Thomas Goyne 70739d632b Build realm from source for each test-runner test
Without this node-pre-gyp will instead download the prebuilt binary and test
that, and I couldn't find a way to persuade node-pre-gyp to "download" the
locally built copy.
2017-09-18 11:58:37 -07:00
Kenneth Geisshirt e18f54594f [1.12.0] Bump verion 2017-09-14 11:07:47 +02:00
Kenneth Geisshirt 806146b07c [1.11.1] Bump version 2017-09-01 13:07:37 +02:00
kristiandupont de94dc0e16 [1.11.0] Bump version 2017-08-31 12:52:36 +02:00
agerson a407b43944 Fixing #1191 - prop-types depreciation warning (#1250)
Added prop-types package modified listview.js to use it to remove depreciation warning.
2017-08-29 10:51:36 +02:00
Yavor Georgiev 614c699385 [2.0.0-rc4] Bump version 2017-08-17 13:21:34 +02:00
Yavor Georgiev 1be5340129 [2.0.0-rc3] Bump version 2017-08-17 13:20:41 +02:00
Yavor Georgiev c78f82ac0c Update download script for the new core build system 2017-08-17 13:01:41 +02:00
Yavor Georgiev b17dcddd17 use sync 2.0-rc11 2017-08-17 12:56:01 +02:00
kristiandupont 0db8fac3e5 [1.10.3] Version bump 2017-08-17 11:35:13 +02:00
kristiandupont 796ebe2533 [1.10.2] Bump version 2017-08-15 15:12:18 +02:00
Kristian Dupont f55fa10b6b Add environment-check script (#1199)
* Add environment-check script

* Check version without using semver module
2017-08-14 10:30:03 +02:00
Kristian Dupont b09385f97d Make jsdoc import tutorials (#1181) 2017-08-08 11:35:03 +02:00
Yavor Georgiev b71eec6b98
[1.10.1] Bump version 2017-08-02 14:07:16 +02:00
Yavor Georgiev 22a086859f
[1.10.0] Bump version 2017-07-12 16:45:35 +02:00
Yavor Georgiev 7b9c4eee46
[1.9.0] Bump version 2017-07-10 17:26:44 +02:00
Yavor Georgiev 1adabdd73e
[1.8.3] Bump version 2017-06-27 20:38:39 +02:00
Yavor Georgiev e6818d693d
[1.8.2] Bump version 2017-06-26 13:49:50 +02:00
Yavor Georgiev feba70333b
[1.8.1] Bump version 2017-06-20 16:27:05 +02:00
Maximilian Alexander 775bd8e2ff adding ts and package.json typings (#1076)
* adding ts and package.json typings

* remove DefinitelyTyped needed comments, we are hosting this ourselves

* adding licensing comments

* Added initial contribution support

Thanks @akim95

* changing year

* adding parameters

* Expand on collection typings

* update the windows pre-gyp script (#1072)

* Extract admin status from the refresh token (#1078)

* Extract admin status from the refresh token

Fixes #1063

* wire up rpc

* Make sure all callbacks enqueue on the Node.js event loop (#1079)

Fixes #1077

* Use an uncached realm instance for _waitForDownload (#1083)

Fixes #1061

* Add objectSchema method to Realm Object (#1055)

* Add objectSchema property to Realm Object

* fix

* fixes

* move typings under lib/

* changelog
2017-06-20 13:09:01 +02:00
Yavor Georgiev 0f5d6a1df4
[1.8.0] Bump version 2017-06-15 16:27:43 +02:00
Niklas Nisbeth 236f8df1aa update pre-gyp info in package.json (#1030) 2017-06-15 15:52:32 +02:00
kristiandupont 401a6043bf [1.3.1] Bump version 2017-05-18 13:13:28 +02:00
blagoev 26a0079135 remove obsolete scripts 2017-05-18 07:53:37 +03:00
blagoev be328accb4 Merge pull request #1021 from realm/download-api-3
Download API with fixes for windows build
2017-05-17 20:07:00 +03:00
blagoev 468e69d76e Improve VS Code debug
Allow debugging of session-tests and improve VS Code debug tasks.
New VS Code task to download and start server for debugging
New VS Code tasks to build only changed files and full rebuild
2017-05-17 16:05:15 +03:00
blagoev 018afe6207 Revert "Download api (aka open async api)" 2017-05-17 15:12:30 +03:00
blagoev 8258e184f4 Merge pull request #1005 from realm/download-api
Download api (aka open async api)
2017-05-17 14:29:42 +03:00
kristiandupont a916958941 [1.3.0] Bump version 2017-05-11 14:34:52 +02:00
blagoev 9a73d9d215 Improve VS Code debug
Allow debugging of session-tests and improve VS Code debug tasks.
New VS Code task to download and start server for debugging
New VS Code tasks to build only changed files and full rebuild
2017-05-06 15:19:19 +03:00
blagoev 8069c7e25a fix npm scripts 2017-04-20 14:03:54 +03:00
blagoev 8b1bec1123 enable android build on windows 2017-04-20 14:03:54 +03:00
blagoev a33577eccb remove obsolete test nosync targets 2017-03-30 11:24:46 +03:00
blagoev 68e75a4265 enable js debugging of node tests from within vs code 2017-03-28 23:22:31 +03:00
Yavor Georgiev 2881cf5502
[1.2.0] Bump version 2017-03-28 14:49:58 +02:00
blagoev d23d60f272 refactor test.sh to use npm commands
fixed license-check npm command
added test-runners npm command
2017-03-27 19:18:56 +03:00
blagoev 1de37b5844 fix license-check command 2017-03-27 19:18:56 +03:00
blagoev edf4cb5760 rewrite most test commands to be platform agnostic 2017-03-27 19:18:56 +03:00
Kristian Dupont c4535bdf1a Improve api docs (#920)
* Set docs title in configuration

* Add markdown plugin to jsdoc

* Add query language tutorial to docs

* jsdoc template submodule updated

* Add query docs

* Document placeholders and composition operators

* Add logo

* Add note about boolean checks

* Fixes as per PR comments
2017-03-22 12:54:35 +01:00
Yavor Georgiev cfc330305b
[1.1.1] Bump version 2017-03-09 14:35:30 +01:00
Yavor Georgiev 9e70a493e9 Make sure there is only one .gyp file in the tarball (#901) 2017-03-09 14:34:01 +01:00
Yavor Georgiev 72329865ec
[1.1.0] Bump version 2017-03-09 11:53:00 +01:00
Yavor Georgiev db8ebd9333 Node.js Win32 support (#864)
* Remove the windows install check

* Node.js Win32 support

* Bring back the `REALM_HAVE_CONFIG` definition

* Download core for Windows when building

* Implement cross-platform node platform.cpp with libuv

* wip

* Make jasmine run quicker

https://github.com/jasmine/jasmine/issues/1204

* Wait for worker process to close in AsyncTests

* Cross-platform paths in tests

* Normalize path separator for forward slash on Windows

* MSVC exception voodoo

* cross-platform uv_cwd

* fix linux build

* make the prepublish script cross-platform

* Disable encryption tests on windows

* ignore vendor/realm-node

* jenkinsfile work

* Only run the prepublish script for publish and pack

* Jenkinsfile work

* Include gyp files in package

* rewrite default_realm_file_directory()

* fix React Native Android build

* delete all realm artifacts in remove_realm_files_from_directory

* bring back build environment variables

* node-pre-gyp windows

* Update CHANGELOG.md
2017-03-07 23:24:30 +01:00
kristiandupont 0840c136b9 [1.0.2] Bump version 2017-02-07 13:01:16 +01:00
Kristian Dupont 9eaba13f12 Validate that dependencies have valid licenses (#841) 2017-02-06 11:33:14 +01:00
Yavor Georgiev f22efa7117
[1.0.1] Bump version 2017-02-02 15:50:17 +01:00
Yavor Georgiev de3c3e6788
[1.0.0] Bump version 2017-02-02 13:51:53 +01:00
Kristian Dupont 0c9c5ac407 Add missing chrome debugging apis for Sync.User (#801)
* Add user tests

* Add Sync member to Realm

* Add a simple test for addListener

* Introduce browser User class

* Introduce Sync.User proxy

* Fix User.all

* Add User.logout

* Remove some console.log statements

* Update rpc.cpp from tests-folder

* Use user.current from user-methods, not cpp

* remove user.current from two missing places

* Start server in realmjs and react tests

* Add user tests

* Add Sync member to Realm

* Add a simple test for addListener

* Introduce browser User class

* Introduce Sync.User proxy

* Fix User.all

* Add User.logout

* Remove some console.log statements

* Update rpc.cpp from tests-folder

* Use user.current from user-methods, not cpp

* remove user.current from two missing places

* Start server in realmjs and react tests

* Replace needle with node-fetch

* Make AuthError work in the browser

* Allow for persistent callbacks

* Expose _authenticateRealm to native

* Use clear_test_state in roc

* Streamline test inclusion

* Fix login tests

* Promisify testLogin()

* Disable AsyncTests for now

* Mode jasmine timeout to spec/unit_tests.js

* Avoid use of global for fetch module

* Only include user-tests is sync is enabled

* Skip ROS for android tests

* Add some comments about persistent callbacks

* Fix results-test

* Run async-tests in node

* Add a comment about (user object)

* Cache all users in User.current and return promises in fetch

* node_require async-tests so RN doesn't try and package them

* Add missing parenthesis
2017-01-31 14:07:29 +01:00
Kristian Dupont 35c21c203f [0.15.4] Bump version 2017-01-11 12:53:01 +01:00