Commit Graph

2458 Commits

Author SHA1 Message Date
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
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 0db8fac3e5 [1.10.3] Version bump 2017-08-17 11:35:13 +02:00
Brian Munkholm e5cd112197 Update README.md 2017-08-16 21:03:24 +02:00
Brian Munkholm b528c8dace Update README.md 2017-08-16 21:02:12 +02:00
Brian Munkholm c2d90d6fa7 Update license for Core 2017-08-16 21:00:48 +02:00
Kenneth Geisshirt 1dd85b591a Merge pull request #1190 from ejoy-jsc/master
correct testProgressNotificationsForRealmOpen
2017-08-16 14:56:14 +02:00
blagoev cd187eca43 Merge pull request #1210 from realm/depreciate-setAccessToken
Deprecate setAccessToken
2017-08-16 12:51:27 +03:00
Kristian Dupont c24cc16ebf Fix a few publish issues (#1215)
* Stop trying to kill the server twice after testing

* Fix test targets to run before publishing

* ...

* Remove electron runner from publish for now

* Update changelog
2017-08-16 11:11:28 +02:00
kristiandupont 796ebe2533 [1.10.2] Bump version 2017-08-15 15:12:18 +02:00
blagoev fad3b369dc fix bad term 2017-08-15 12:36:15 +03:00
blagoev 86999412f0 Depreciate setAccessToken
rename setAccessToken to setFeatureToken
expose both functions while setAccessToken is depreciated
Trim token argument string
2017-08-15 12:36:15 +03:00
Kristian Dupont 08acb83e58 Update pull_request_template.md 2017-08-14 12:43:59 +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
Kræn Hansen e4e1431c55 Running js tests in Electron renderer process (#1196)
* First take on running the tests inside an Electron render process

* Making progress

* Making it possible to override the location of the admin token

* Ignoreing the realm-object-server files

* Fixing a console.log to return a string instead of a boolean

But it should probably be removed entirely

* Making the downloaded ROS log less

* Adjusting comments in the test.sh

* Checking number of windows to determine an Electron crash

* Added a test that triggers garbage collection of ArrayBuffers

* Enabled the ability to run the tests in Electrons main process

* Run tests first in main process and the render

* Added a README.md that documents how Electron tests can be run

* Added a comment on why the garbage-collection test was added.

* Waiting with reading the admin token, until it is actually used

* Disabling the GarbageCollectionTests for now
2017-08-11 10:30:57 +02:00
Yavor Georgiev fb7f11263c Modernize V8 ArrayBuffer usage (#1198)
Instead of manually allocating a chunk of memory and asking V8 to create an ArrayBuffer around it, have V8 create an ArrayBuffer with its own allocator and copy the data in it. (fixes #1197)

Remove an extra copy when reading data from ArrayBufferViews.

Remove TODOs for Node.js versions older than 4.
2017-08-10 11:45:48 +02:00
Kristian Dupont bb3411f7f7 Fix Object.setPrototypeOf issue on Android (#1195)
* Fix Object.setPrototypeOf issue on Android

* Fix prototype chain
2017-08-09 15:08:19 +02:00
Jagdeep Nagpal ee3b855efb Remove override annotation (#1178) 2017-08-09 11:09:31 +02:00
Kristian Dupont b09385f97d Make jsdoc import tutorials (#1181) 2017-08-08 11:35:03 +02:00
toanz 7d903cc96e correct testProgressNotificationsForRealmOpen
ProgressNotifications is not working , this test is incorrect
2017-08-07 10:28:01 +07:00
Yavor Georgiev b71eec6b98
[1.10.1] Bump version 2017-08-02 14:07:16 +02:00
blagoev c090cd9700 Merge pull request #1146 from realm/ni/open-async
Don’t invoke openAsync callback twice
2017-07-27 13:26:57 +03:00
blagoev 68df00154f Merge pull request #1162 from realm/aviwarner-patch-1
Create SUPPORT.md
2017-07-27 12:09:01 +03:00
Avi Warner 8f50bb772a Create SUPPORT.md
Creating a SUPPORT.md file to improve issue submission
2017-07-25 11:27:28 -07:00
David Shore 56d571c204 Update README 2017-07-21 11:35:27 -07:00
Nikola Irinchev bbe62c361b
Don’t execute callback in Realm.open either 2017-07-18 11:28:33 +03:00
Nikola Irinchev 081c3e5224
Add changelog 2017-07-18 00:22:59 +03:00
Nikola Irinchev bd10a6d8e0
Don’t invoke openAsync callback twice 2017-07-18 00:16:25 +03:00
Yavor Georgiev 22a086859f
[1.10.0] Bump version 2017-07-12 16:45:35 +02:00