Commit Graph

1075 Commits

Author SHA1 Message Date
Scott Kyle fb97973f64 Merge pull request #260 from realm/sk-package-json
Update package.json with stuff needed for npm
2016-02-21 19:09:09 -08:00
Tim Anglade 7a6bec9649 Tweaks 2016-02-21 19:07:47 -08:00
Scott Kyle 66572c139b Update package.json with stuff needed for npm
Resolves #220
2016-02-21 19:07:33 -08:00
Scott Kyle 89ce54799f Merge pull request #271 from realm/sk-docs-update
Update API docs with sorted/filtered changes
2016-02-21 19:03:49 -08:00
Tim Anglade 7cc2f69736 Merge pull request #264 from realm/km-js-fixlicense
License update
2016-02-21 18:56:59 -08:00
Scott Kyle ab94f5f314 Merge pull request #270 from realm/sk-port-forward
Automatically forward port 8082 for Android
2016-02-21 18:05:09 -08:00
Scott Kyle c1e5cb03cf Update API docs with sorted/filtered changes 2016-02-21 17:51:58 -08:00
Ari Lazier 4c965fd09c Merge pull request #269 from realm/al-example-class
Use classes in the example
2016-02-21 17:40:28 -08:00
Scott Kyle 52a1fa9196 Automatically forward port 8082 for Android
Fixes #249
2016-02-21 16:57:05 -08:00
Ari Lazier 349d227252 use classes in the examples 2016-02-21 12:16:42 -08:00
Scott Kyle ba0ff5fbaf Merge pull request #265 from realm/nh/fixes_255_debug_server
start debug server only on when using chrome debug
2016-02-19 16:25:14 -08:00
Nabil Hachicha 9bcebfaf29 PR feedback 2016-02-19 22:50:30 +00:00
Scott Kyle f4f6d67a4c Change license headers on analytics files 2016-02-19 14:30:38 -08:00
Scott Kyle f5a15473b9 Merge pull request #263 from realm/sk-packager-bugfix
No longer delete before npm installing local modules
2016-02-19 14:19:05 -08:00
Nabil Hachicha 76981229ab start debug server only on when using chrome debug 2016-02-19 19:05:07 +00:00
Scott Kyle 4647ab4543 Remove installArchives for Android from test script
This is no longer needed
2016-02-19 02:53:47 -08:00
Scott Kyle d81ce5c49a Update test script to always use nvm if possible 2016-02-19 02:53:10 -08:00
Scott Kyle 600a8909d3 Install all modules before running packager for tests 2016-02-19 02:28:59 -08:00
Scott Kyle 1ab3a8a985 No longer delete before npm installing local modules
This doesn't appear to have been necessary and seems to sometimes cause an issue because the packager will start and look for a JS file that was just deleted.
2016-02-19 02:03:54 -08:00
Scott Kyle 2e3a3b5db8 Merge pull request #257 from realm/sk-schema-prop
The schema property should be directly on constructor
2016-02-18 16:27:47 -08:00
Scott Kyle 54d5dd3aeb Revert "Temporarily remove License from README"
This reverts commit 1cf4debd9f.
2016-02-18 15:32:54 -08:00
Karson Miller 84b06fd8e0 missed a couple 2016-02-18 15:30:44 -08:00
Karson Miller 55e8555c23 Add LICENSE file 2016-02-18 15:30:44 -08:00
Karson Miller 5e9333b699 no message 2016-02-18 15:30:44 -08:00
Scott Kyle 1cf4debd9f Temporarily remove License from README 2016-02-18 15:28:41 -08:00
Scott Kyle a661350e59 Merge branch 'sk-sorted-results'
* sk-sorted-results:
  Add sorted() method to List
  Further improve argument checking for sorted()
  Improve error message in sorted() method
  Change sortedBy API as discussed
  Allow sortedBy to accept array of properties
  Change sortByProperty to return new Results
2016-02-18 15:21:35 -08:00
Scott Kyle b6154b4138 Merge pull request #248 from realm/sk-mixpanel
Add Mixpanel Analytics
2016-02-18 14:59:48 -08:00
Scott Kyle 9b55ac9a59 Fix bug with Mixpanel on Android 2016-02-18 14:55:28 -08:00
Tim Anglade f43c75437e Merge pull request #243 from realm/km-react-ReadmeUpdate
Update to Readme for Public Release
2016-02-18 14:19:20 -08:00
Tim Anglade 0d89032439 Minor edits. 2016-02-18 14:19:08 -08:00
Scott Kyle cac3d09bcb Mistakenly thought TARGET_OS_MAC was useful 2016-02-18 14:09:11 -08:00
Scott Kyle f059d57bf4 Add Mixpanel property for JS VM 2016-02-18 13:58:12 -08:00
Scott Kyle 6c644067fd Add comments explaining analytics usage 2016-02-18 13:58:12 -08:00
Scott Kyle 0c9d70905a Adjust Mixpanel properties 2016-02-18 13:58:12 -08:00
Scott Kyle b7c46b701c Add Mixpanel analytics for Android
This is mostly copied and modified from the Realm Java repo.
2016-02-18 13:58:12 -08:00
Scott Kyle 6f90a3a6e8 Add Mixpanel analytics for iOS
This is mostly copied and then modified from the Realm Cocoa repo.
2016-02-18 13:58:12 -08:00
Scott Kyle 18b0d4bf49 Add Gradle task to generate Version class
This uses the version that's in the package.json file.
2016-02-18 13:58:12 -08:00
Scott Kyle 5b2e7b37af Add script to update version in package.json and iOS
This uses agvtool to update the CURRENT_PROJECT_VERSION and DYLIB_CURRENT_VERSION project variables. The Info.plist files have been updated to propagate this value.
2016-02-18 13:58:12 -08:00
Karson Miller be26957cf1 add logo 2016-02-18 13:50:56 -08:00
Scott Kyle d322d5dd9c Add property test for objects with constructor 2016-02-18 13:50:45 -08:00
Tim Anglade 255a32bf13 Minor tweaks. 2016-02-18 13:41:22 -08:00
Scott Kyle 5332131c14 Add sorted() method to List 2016-02-18 13:41:11 -08:00
Scott Kyle d847fbceb1 Further improve argument checking for sorted() 2016-02-18 12:55:54 -08:00
Scott Kyle bd766297ef Improve error message in sorted() method 2016-02-18 12:50:44 -08:00
Scott Kyle 05d84b23a2 Change sortedBy API as discussed
If provided an array, then each member can optionally be an array of [propName, reverse]
2016-02-18 12:47:18 -08:00
Scott Kyle 76865d0da4 Allow sortedBy to accept array of properties
It now optionally accepts an array of properties for both parameters and the tests have been updated to reflect new capabilities.
2016-02-18 11:58:39 -08:00
Scott Kyle 249bcd8f3f Change sortByProperty to return new Results
The method name changed to sortedBy to reflect that it returns a new Results object and to be more succinct. Also, the second optional argument instead reflects descending (or rather, reverse) since it's an anti-pattern to have an optional argument default to true in JS, and this also follows precedences set by other JS libraries and by Python's sorted function.
2016-02-18 11:58:39 -08:00
Scott Kyle b34e52b290 The schema property should be directly on constructor
The constructor is now also called with `this` set as the constructed object.

Fixes #232
2016-02-18 11:10:02 -08:00
Ari Lazier c39c62d0db example fix 2016-02-17 21:34:41 -08:00
Ari Lazier d70de00923 Merge pull request #254 from realm/al-filtered
Add filtered method to List and Results
2016-02-17 21:32:28 -08:00