Commit Graph

2756 Commits

Author SHA1 Message Date
Kenneth Geisshirt fa0016ba6b Merge branch 'master' of github.com:realm/realm-js into 2.0.x 2017-09-08 14:54:56 +02:00
blagoev 352254c440 trying with latest ROS build 2017-09-08 11:45:36 +03:00
Kenneth Geisshirt 38bceddfb1 Add missing TypeScript declaration (#1285)
* Adding missing TypeScript declaration
2017-09-08 10:19:13 +02:00
Thomas Goyne acf7b4d6cc Update to core 3.1/sync rc18 2017-09-07 16:50:51 -07:00
Ashwin Phatak 4d4606c905 Merge pull request #1269 from realm/ap/delete_realm_api
Add Realm.deleteFile API [#363]
2017-09-07 15:30:39 +05:30
Ashwin Phatak 119cd79e5d Add Realm.deleteFile API (#363) 2017-09-07 10:12:59 +05:30
Thomas Goyne 32b05dcdaa Use the static runtime on Windows 2017-09-05 11:16:59 -07:00
Thomas Goyne d3fde5f728 Bump objectstore version again 2017-09-05 10:16:08 -07:00
Thomas Goyne 682a45a18e Disambiguate some uses of PropertyType for msvc 2017-09-05 10:04:41 -07:00
Yavor Georgiev 5353964804 Update Jenkinsfile (#1282)
* Update Jenkinsfile

Specify build nodes using granular tags

* Update Jenkinsfile

go back to building react tests on the vegas nodes
2017-09-05 15:01:55 +01:00
Thomas Goyne 2185442f41 Link against static core/sync for node
The CMake packaging added shared libraries to the node release package, but the
build system isn't set up to work with them so just go back to using the static
libraries.
2017-09-01 17:27:26 -07:00
Thomas Goyne 4e7f70965f Remove incorrect include paths 2017-09-01 15:55:59 -07:00
Thomas Goyne 49886528ac Merge pull request #1274 from realm/tg/rpc-worker-exceptions
Don't throw an exception every 10ms in the RPC worker
2017-09-01 13:37:46 -07:00
Thomas Goyne ca9263be4f Add changelog entry 2017-09-01 10:33:28 -07:00
Thomas Goyne 360a5fbd07 Don't throw an exception every 10ms in the RPC worker
Cuts the time taken to run the react native tests on my machine from 198
seconds to 41 seconds. Probably has a similar impact on the react native
debugger performance.
2017-09-01 10:32:51 -07:00
Kenneth Geisshirt 806146b07c [1.11.1] Bump version 2017-09-01 13:07:37 +02:00
Kenneth Geisshirt 0c61716c08 Fix accessToken (#1275) 2017-09-01 11:53:52 +02:00
Thomas Goyne 9a434e502a Improve error reporting on test failures a little 2017-08-31 16:43:25 -07:00
Thomas Goyne 7e1466b47a Don't throw an exception every 10ms in the RPC worker
Cuts the time taken to run the react native tests on my machine from 198
seconds to 41 seconds. Probably has a similar impact on the react native
debugger performance.
2017-08-31 16:43:25 -07:00
Thomas Goyne c06daa795e Add missing files to the xcode project 2017-08-31 16:43:25 -07:00
Thomas Goyne dd2d98a9e0 Fix downloading the prebuilt core for ios 2017-08-31 14:38:19 -07:00
Thomas Goyne 736277084e Fix creating admin token users 2017-08-31 13:49:45 -07:00
Thomas Goyne 26b4cdf33f Report what went wrong when refreshAccessToken fails 2017-08-31 13:49:45 -07:00
Thomas Goyne e75496571f Fix unhandled promise rejection warnings when access token refreshing fails 2017-08-31 13:49:45 -07:00
Thomas Goyne ce749578e1 Fix error reporting from admin-user-helper.js
In some cases errors were not being bubbled out correctly.
2017-08-31 13:49:45 -07:00
Thomas Goyne 886949472d Fix a test which tried to use a bool primary key 2017-08-31 13:49:45 -07:00
Thomas Goyne 9c1b04f8e5 Restore old list property validation logic 2017-08-31 13:49:45 -07:00
Thomas Goyne cb9a3c9f76 Add the invalid value to the type error exception message 2017-08-31 13:49:45 -07:00
Thomas Goyne 944ef57b59 Fix property type conversions to ObjectStore types 2017-08-31 13:49:45 -07:00
Thomas Goyne ce0ce3d299 Update to latest objectstore master and core/sync 2017-08-31 13:49:45 -07:00
kristiandupont de94dc0e16 [1.11.0] Bump version 2017-08-31 12:52:36 +02:00
Kenneth Geisshirt 8d7eac1b65 Fix linter error (#1271) 2017-08-31 10:18:10 +02:00
Ashwin Phatak b7a8bdcc49 Merge pull request #1266 from realm/ap/contrib_test_gotcha
Document solution to a gotcha when running tests for a new Realm API
2017-08-31 12:12:16 +05:30
Ashwin Phatak ea5cce8396 Document solution to a gotcha when running tests for a new Realm API 2017-08-30 20:25:52 +05:30
Kristian Dupont 7284caf1ac Move publish testing to "test.sh all" (#1265)
* Move publish testing to "test.sh all"

* Minor fixes
2017-08-30 13:09:40 +02:00
Thomas Goyne 675b517274 Fix some incorrect checks for Array property types 2017-08-29 15:23:49 -07:00
blagoev f5a940fd0c Fix admin-user-helper 2017-08-29 15:23:49 -07:00
blagoev 1e5c8b95e1 fix property type checking 2017-08-29 14:52:21 -07:00
blagoev f115a641b0 Remove not needed casts 2017-08-29 14:52:04 -07:00
blagoev 5e6f576e31 address code review for property type checks 2017-08-29 14:52:02 -07:00
blagoev 736cbd3ef3 Update object store 2017-08-29 14:51:25 -07:00
Kristian Dupont 402bf48f88 Permissions api (#1244)
* Add basic permissions skeleton

* ...

* Update permissions api

* Wait for server to process management realm, add offer api

* Fix test of apply and get permissions, add offer test

* Accept permission offer

* Accept permission offer test

* Invalidate permission offer

* Add basic docs (still need some links etc)

* Refactor tests

* Only run permission tests where sync is enabled

* Use legal syntax for user name generation

* Add changelog entry

* Streamline permission tests

* Fix casing for access level names etc.

* Add basic definitions to index.d.ts

* Use settimeout for resolving promise from listener

* Complete typescript defs

* Improve docs

* Allow 'any' as default recipient in getGrantedPermissions

* Fix getSpecialPurposeRealm on iOS

* Response to PR comments

* Respond to PR comments

* Fix offer description

* Skip permission tests in chrome debugger :-/
2017-08-29 15:23:22 +02:00
blagoev f7bf9df6e5 Merge pull request #1253 from realm/cp/more-log-levels
Allow all log levels in Realm.Sync.setLogLevel()
2017-08-29 15:15:36 +03: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
Constantin S. Pan a84f1ed75d Allow all log levels in Realm.Sync.setLogLevels() 2017-08-29 10:37:29 +02:00
Ashwin Phatak 7062b48063 Merge pull request #1240 from realm/ap/ubuntu_android_fix
Fix 'jni_md.h: No such file or directory' error when building on Ubun…
2017-08-28 14:47:06 +05:30
Ashwin Phatak bc907dadbe Merge pull request #1245 from realm/ap/ndk_version_check
Check that Android NDK version 10e is being used for the build
2017-08-24 18:36:24 +05:30
Ashwin Phatak 5547df3329 Check that Android NDK version 10e is being used for the build 2017-08-24 16:07:10 +05:30
Ashwin Phatak 15f60284de Fix 'jni_md.h: No such file or directory' error when building on Ubuntu 16.04 LTS
When building Android on Ubuntu 16.04 LTS, this fixes an error for a missing header file:
In file included from ./src/android/io_realm_react_RealmReactModule.cpp:19:0:
/usr/lib/jvm/java-8-oracle/include/jni.h:45:20: fatal error: jni_md.h: No such file or directory
                   ^
compilation terminated.
make: *** [/home/ashwinp/projects/realm-js/react-native/android/build/tmp/buildReactNdkLib/local/armeabi-v7a/objs-debug/realmreact/src/android/io_realm_react_RealmReactModule.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/ashwinp/projects/realm-js/react-native/android/src/main/jni'
:buildReactNdkLib FAILED

FAILURE: Build failed with an exception.
2017-08-23 13:06:22 +05:30
Ashwin Phatak ad51b50a5c Merge pull request #1236 from realm/ap/rm-ndk-check
Revert "Check if the supported version (10e) of Android NDK is instal…
2017-08-23 10:10:13 +05:30