Commit Graph

2689 Commits

Author SHA1 Message Date
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
Ashwin Phatak 9ab5468d1f Revert "Check if the supported version (10e) of Android NDK is installed"
This reverts commit a3795fdfb0.
2017-08-22 15:49:32 +05:30
Ashwin Phatak e6c2bdee6e Merge pull request #1227 from ashwinphatak/master
Use exact Node & NDK versions known to work in prerequisites
2017-08-22 14:40:33 +05:30
Ashwin Phatak a9254a1a23 Use exact Node & NDK versions known to work in prerequisites 2017-08-22 14:33:32 +05:30
Ashwin Phatak 0e23737371 Merge pull request #1228 from realm/ap/env_check_ndk
Check if the supported version (10e) of Android NDK is installed
2017-08-22 12:50:23 +05:30
Ashwin Phatak a3795fdfb0 Check if the supported version (10e) of Android NDK is installed 2017-08-22 12:48:20 +05:30
Kenneth Geisshirt 85fb49b354 Adding methods and property to manually control write transactions (#1216)
* Adding methods and property to manually control write transactions
2017-08-21 17:48:53 +02:00
Kenneth Geisshirt bd28c05936 Add shouldCompactOnLaunch option to configuration (#1209)
* Adding shouldCompactOnLaunch option to configuration
* Adding Realm.compact()
2017-08-18 14:22:29 +02:00
Kenneth Geisshirt 0c557fcfe5 How to contribute a function (#1224)
* Guideline on how to add a function
2017-08-18 14:19:56 +02:00
Brian Munkholm 3c07391997 Merge pull request #1225 from justjenu/patch-1
Update link to community newsletter
2017-08-18 10:14:05 +02:00
Jennifer Hooper 8301d2838c Update link to community newsletter 2017-08-17 13:13:57 -07:00
kristiandupont 88dbbb4e50 [2.0.0-rc5] Bump version 2017-08-17 15:25:40 +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 5db836dc8b use newest ROS 2017-08-17 13:02:21 +02:00
Yavor Georgiev c78f82ac0c Update download script for the new core build system 2017-08-17 13:01:41 +02:00
Yavor Georgiev e0a9cc6246 use sync 2.0.0-rc12 2017-08-17 13:01:01 +02:00
Yavor Georgiev c8a86f6fd7 bring back the download binaries condition in gyp 2017-08-17 13:01:01 +02:00