Commit Graph

332 Commits

Author SHA1 Message Date
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
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
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
Marco129
91ff816839 Improve delete flow for non-existence _Join collection 2016-03-07 14:14:28 +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
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
Fosco Marotto
fedeff9a20 Merge pull request #864 from Marco129/fix-delete-field
Fix delete relation field when _Join collection not exist
2016-03-06 04:12:08 -08:00
Fosco Marotto
1450795516 Remove limit when counting results. 2016-03-06 03:32:49 -08:00
Fosco Marotto
3266d59fcc beforeSave changes should propagate to the response 2016-03-06 02:16:17 -08:00
Marco129
908a4eb643 Fix delete relation field when _Join collection not exist 2016-03-06 17:22:36 +08:00
Fosco Marotto
4ee9cb754c Fix for related query on non-existing column 2016-03-06 00:34:44 -08:00
Long Nguyen
fcc8032e4c Merge branch 'master' into master 2016-03-06 01:37:12 +07:00
Long Nguyen
4f643d970a Fix create wrong _Session for Facebook login 2016-03-06 01:32:50 +07:00
Florent Vilmart
17bc79b372 Improves tests, ensure unicity of roleIds 2016-03-04 22:52:27 -05:00
Florent Vilmart
c9f8453171 Fix reversed roles lookup 2016-03-04 22:52:26 -05:00
Nikita Lutsenko
172da3aaa3 Move HooksController to use MongoCollection instead of direct Mongo access. 2016-03-04 19:21:34 -08:00
Drew Gross
e074a922fb Fix leak warnings in tests, use mongodb-runner from node_modules 2016-03-04 19:00:12 -08:00
Florent Vilmart
a44b1d9f76 Improves documentation, add loading tests 2016-03-04 18:09:54 -05:00
Florent Vilmart
069605e9c3 Improves loading of Push Adapter, fix loading of S3Adapter
- Adds environment variables to configure S3Adapter
2016-03-04 18:08:35 -05:00
Nikita Lutsenko
ab11ef158f Merge pull request #826 from ParsePlatform/nlutsenko.schema
Convert Schema.js to ES6 class.
2016-03-04 08:54:59 -08:00
Marco129
8814e1f3b5 Fix add field to system schema 2016-03-04 20:44:21 +08:00
Nikita Lutsenko
295d361725 Convert Schema.js to ES6 class. 2016-03-04 01:05:49 -08:00
Nikita Lutsenko
9a7264100c Merge pull request #794 from ParsePlatform/nlutsenko.schemasRouter
Completely migrate SchemasRouter to new MongoCollection API.
2016-03-03 14:55:54 -08:00
Marco129
50735c4cbb Fix update system schema 2016-03-04 03:09:49 +08:00
Drew
b301ea9a9c Merge pull request #802 from Marco129/fix-delete-schemas
Fix delete schema when actual collection does not exist
2016-03-03 10:44:35 -08:00
Drew
a44e371f40 Merge pull request #797 from Marco129/fix-schema-api
Fix create system class with relation/pointer
2016-03-03 10:36:08 -08:00
Drew
3b4faaaf95 Merge pull request #799 from carmenlau/query-fix
Fix using query.notContainedIn and query.doesNotMatchQuery at the same time, notContainedIn will be ignored problem
2016-03-03 09:50:06 -08:00
Florent Vilmart
e64b6860c1 Allows to pass no where in $select clause
- This is causing a bug for iOS SDK when no query constraints are set
2016-03-03 11:40:57 -05:00
Florent Vilmart
907a05c57a Sanitize objectId in
- if objectId is set in query, move it to $in array
- refactors to addInObjectIdsIds
2016-03-03 10:58:09 -05:00
Marco129
f157538bfd Fix delete schema when actual collection does not exist 2016-03-03 18:46:47 +08:00
Carmen
6973de7910 Fix replace query overwrite the existing query object. 2016-03-03 16:43:44 +08:00
Marco129
90a1e46905 Fix create system class with relation/pointer 2016-03-03 16:37:30 +08:00
Nikita Lutsenko
99cb05ea1e Use throws syntax for errors in SchemasRouter. 2016-03-02 23:48:12 -08:00
Nikita Lutsenko
2afebf955f Completely migrate SchemasRouter to new MongoCollection API. 2016-03-02 21:34:40 -08:00
Nikita Lutsenko
c6406b9e1a Merge pull request #790 from drew-gross/expiresAt-fix
Expires at fix
2016-03-02 21:22:28 -08:00
Nikita Lutsenko
c4fa3f0ee0 Propagate installationId in all Cloud Code triggers. 2016-03-02 21:02:50 -08:00
Drew Gross
df4022060e expiresAt should be a Date, not a string. Fixes #776 2016-03-02 20:32:06 -08:00
Nikita Lutsenko
1053adf01d Merge pull request #784 from ParsePlatform/nlutsenko.afterSave
Flatten custom operations in request.object in afterSave hooks.
2016-03-02 20:15:59 -08:00
Drew
2cc9600604 Merge pull request #785 from flessard/master
Fix : remove query count limit
2016-03-02 20:10:22 -08:00
Florent Vilmart
cd4c4169d5 Merge pull request #777 from ParsePlatform/flovilmart.removeKeysWhenIncludeIsMissing
Fixes mismatching behavior in including keys
2016-03-02 22:16:12 -05:00
Florent Vilmart
dac71019b6 Merge pull request #769 from ParsePlatform/flovilmart.fixFailingQueries
Adds support for multiple $in, pointer / relation queries on $or
2016-03-02 22:15:37 -05:00
Nikita Lutsenko
c4aac335e0 Don't run any afterSave hooks if none are registered. 2016-03-02 18:38:06 -08:00
Francis Lessard
f3b7138269 Fix : remove query count limit
Remove the limit on query count. By default the limit is 100. If you
try to get the count of a collection and the collection has more than
100 rows, the result is always 100.
2016-03-02 21:34:17 -05:00