Commit Graph

741 Commits

Author SHA1 Message Date
Nikita Lutsenko
2730398b92 Add new MongoSchemaCollection class that manages schemas for all collections. 2016-03-09 15:20:59 -08:00
Fosco Marotto
72362bc604 Merge pull request #933 from ParsePlatform/fosco.215
Changelog and update to 2.1.5
2016-03-09 13:01:27 -08:00
Fosco Marotto
d594f93567 Updating to 2.1.5 2016-03-09 08:29:49 -08:00
Drew
21444b07e4 Merge pull request #925 from ParsePlatform/nlutsenko.dontSelectQueries
Do not require where clause in  condition on queries.
2016-03-08 18:24:12 -08:00
Nikita Lutsenko
e93873f7b1 Do not require where clause in condition on queries. 2016-03-08 17:08:27 -08:00
Drew
3723b9bb75 Merge pull request #924 from ParsePlatform/nlutsenko.hooks.acl
Make sure that ACLs propagate to before/after save hooks.
2016-03-08 16:29:53 -08:00
Nikita Lutsenko
0f07c5204e Add test validating that we have ACL propagate to before/after save hooks. 2016-03-08 16:15:49 -08:00
Nikita Lutsenko
b9f08d9694 Do not mutate parameter object in DatabaseController. 2016-03-08 16:08:41 -08:00
Drew
7143a12a46 Merge pull request #919 from Marco129/minimize-query
Minimize db query
2016-03-08 10:52:17 -08:00
Marco129
2f63c5528d Minimize db query 2016-03-09 02:15:27 +08:00
Florent Vilmart
0c446b9731 Merge pull request #912 from carmenlau/911-params-option
#911 support params option in Parse.Cloud.httpRequest
2016-03-08 07:52:54 -05:00
Carmen
440099267d #911 support params option in Parse.Cloud.httpRequest 2016-03-08 20:23:55 +08:00
Nikita Lutsenko
241cd8c735 Merge pull request #909 from ParsePlatform/nlutsenko.databaseController
Move DatabaseController and Schema fully to adaptive mongo collection.
2016-03-08 01:10:55 -08:00
Nikita Lutsenko
49eb9df1ef Remove private Schema API usage from SchemasRouter. 2016-03-08 00:53:51 -08:00
Nikita Lutsenko
fb5b8fb58f Migrate Schema.js to adaptive mongo collection. 2016-03-08 00:53:51 -08:00
Nikita Lutsenko
a163327ac9 Remove usages of non-adaptive collection inside DatabaseController. 2016-03-08 00:53:51 -08:00
Nikita Lutsenko
8d10447c9f Merge pull request #908 from ParsePlatform/nlutsenko.geoPoint
Fix flaky Parse.GeoPoint test.
2016-03-07 23:37:42 -08:00
Nikita Lutsenko
0abd5a5931 Re-enable GeoPoint test. 2016-03-07 22:47:18 -08:00
Nikita Lutsenko
438cf58d4c Fix early server response in Schema validation. 2016-03-07 22:47:18 -08:00
Nikita Lutsenko
98769a2226 Merge pull request #902 from ParsePlatform/flovilmart.FixPushNotifications
Increment badge the right way
2016-03-07 20:44:24 -08:00
Florent Vilmart
80869749aa Merge pull request #708 from mcdonamp/mcdonald-gcs-adapter
Yet Another FileAdapter: Google Cloud Storage
2016-03-07 23:26:21 -05:00
Florent Vilmart
bf96f0d28a Fixes problems related to increment badge
- name conventions are aweful in PushController
- properly looks at the badge into body.data instead of body
- We may want to refactor that as it's confusing to use a full body
2016-03-07 22:07:15 -05:00
Florent Vilmart
4259c5d377 Merge pull request #903 from ParsePlatform/nlutsenko.push
Cleanup PushController/PushRouter, remove raw mongo collection access.
2016-03-07 20:42:21 -05:00
Nikita Lutsenko
654a540b6a Fix race condition in GlobalConfig test. 2016-03-07 17:22:27 -08:00
Nikita Lutsenko
de0f71cc9e Remove useless masterKey validation in PushController.sendPush. 2016-03-07 17:22:27 -08:00
Nikita Lutsenko
47061d8e98 Migrate PushRouter to shared master-key middleware. 2016-03-07 17:22:27 -08:00
Nikita Lutsenko
f2ead46580 Remove .rawCollection method from DatabaseController. 2016-03-07 17:22:27 -08:00
Nikita Lutsenko
7909f0efe0 Merge pull request #900 from drew-gross/schemas-500
Handle legacy _client_permissions key in _SCHEMA. Fixes #888.
2016-03-07 17:08:58 -08:00
Nikita Lutsenko
477e978e2f Merge pull request #901 from ParsePlatform/nlutsenko.config
Migrate ParseGlobalConfig to new database storage API.
2016-03-07 14:50:26 -08:00
Nikita Lutsenko
fa6954169e Migrate ParseGlobalConfig.spec to new database storage API. 2016-03-07 14:11:43 -08:00
Nikita Lutsenko
cea4b2bd6a Migrate and fix GlobalConfig database storage. 2016-03-07 14:06:46 -08:00
Drew Gross
963811d022 Handle legacy _client_permissions key in _SCHEMA. Fixes #888. 2016-03-07 13:44:45 -08:00
Nikita Lutsenko
f1f9bde385 Merge pull request #844 from ParsePlatform/nlutsenko.hooks
Move HooksController to use MongoCollection instead of direct Mongo access.
2016-03-07 13:20:41 -08:00
Florent Vilmart
75ae95815d Merge pull request #887 from ParsePlatform/flovilmart.fixDoubleRelationPointerEqualContraint
Fixes bug when querying equalTo on objectId and relation
2016-03-07 10:37:49 -05:00
Fosco Marotto
2e8f34918e Merge pull request #878 from ParsePlatform/fosco.roles827
Adding a role scenario test for issue 827
2016-03-07 06:17:34 -08:00
Florent Vilmart
5cdcadea36 Fixes bug when querying equalTo on objectId and relation
- Adds $eq operator in transform
- Makes $eq operator on objectId when adding $in operator
2016-03-07 08:26:35 -05:00
Mike McDonald
2c5144028b Added tests to adapter loader, cleaned up README, renamed to GCS_BUCKET from GCS_BUCKET_NAME 2016-03-07 00:47:08 -08:00
Mike McDonald
0f00d659cb Removed extraneous console.log() 2016-03-07 00:34:41 -08:00
Mike McDonald
ce35b81cc6 New things for GCS Adapter 2016-03-07 00:30:21 -08:00
Drew
53e7337eee Merge pull request #881 from Marco129/fix-delete-field
Improve delete flow for non-existence _Join collection
2016-03-06 22:42:56 -08:00
Marco129
91ff816839 Improve delete flow for non-existence _Join collection 2016-03-07 14:14:28 +08:00
Fosco Marotto
3a06117fa1 Adding a role scenario test for issue 827 2016-03-06 18:28:29 -08:00
Florent Vilmart
b36fd6f245 Merge pull request #876 from ParsePlatform/flovilmart.fileUpload
Allow crossdomain on filesRouter
2016-03-06 19:03:46 -05:00
Mike McDonald
84635352e3 Merge branch 'master' of https://github.com/ParsePlatform/parse-server into mcdonald-gcs-adapter
* 'master' of https://github.com/ParsePlatform/parse-server:
  Remove limit when counting results.
  beforeSave changes should propagate to the response
  Fix delete relation field when _Join collection not exist
  Test empty authData block on login for #413
  Fix for related query on non-existing column
  Fix Markdown format: make checkboxes visible
  Fix create wrong _Session for Facebook login
  Modified the npm dev script to support Windows
  Improves tests, ensure unicity of roleIds
  Fix reversed roles lookup
  Fix leak warnings in tests, use mongodb-runner from node_modules
  Improves documentation, add loading tests
  Improves loading of Push Adapter, fix loading of S3Adapter
  Adds public_html and views for packaging
  Removes shebang for windows
  Better support for windows builds
  Fix add field to system schema
  Convert Schema.js to ES6 class.
2016-03-06 15:34:40 -08:00
Fosco Marotto
e92ee7e1c2 Merge pull request #863 from ParsePlatform/fosco.authData2
Test empty authData block on login for #413
2016-03-06 14:35:23 -08:00
Fosco Marotto
157e43f4a4 Merge pull request #861 from ParsePlatform/fosco.role1
Fix for related query on non-existing column
2016-03-06 14:35:03 -08:00
Florent Vilmart
f23aed522a Allow crossdomain on filesRouter 2016-03-06 17:29:09 -05:00
Florent Vilmart
375e7016be Merge pull request #833 from ParsePlatform/flovilmart.S3Environment
Improves loading of Push Adapter, fix loading of S3Adapter
2016-03-06 16:13:05 -05:00
Florent Vilmart
00d0d3ea7c Merge pull request #841 from ParsePlatform/flovilmart.Roles
Fix reversed roles lookup
2016-03-06 15:42:23 -05:00
Fosco Marotto
3fb6a60977 Merge pull request #867 from ParsePlatform/fosco.count
Remove limit when counting results.
2016-03-06 12:39:39 -08:00