Commit Graph

304 Commits

Author SHA1 Message Date
Marco129
8814e1f3b5 Fix add field to system schema 2016-03-04 20:44:21 +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
Nikita Lutsenko
b778b314fb Flatten custom operations in request.object in afterSave hooks. 2016-03-02 18:25:27 -08:00
Florent Vilmart
d8d374379d Merge pull request #740 from ParsePlatform/flovilmart.badgeIncrement
Adds support for badging on iOS
2016-03-02 21:17:16 -05:00
Florent Vilmart
ee3b37d4a2 Adds support for badging on iOS 2016-03-02 20:51:26 -05:00
Florent Vilmart
d872f52eff backbone style is BAD! 2016-03-02 20:37:45 -05:00
Florent Vilmart
5f9a8d87e5 Nit for Object type 2016-03-02 20:00:26 -05:00
Florent Vilmart
6ddc77601c Fixes mismatching behavior in including keys
- When including a key, parse.com would set to undefined all not found pointer, not parse-server
2016-03-02 19:38:42 -05:00
Drew Gross
36202badf3 Return parse server version 2016-03-02 16:16:16 -08:00
Drew Gross
81519852d1 Report Server Version so Dashboard can consume it 2016-03-02 16:16:16 -08:00
Drew Gross
5219e0b1d8 Touch up features endpoint 2016-03-02 16:16:16 -08:00
Florent Vilmart
1bfee45f64 Merge pull request #773 from ParsePlatform/flovilmart.fixHttpRequest
Graceful fails on httpRequest
2016-03-02 18:43:36 -05:00
Florent Vilmart
8eff44410f Graceful fails on httpRequest 2016-03-02 18:31:39 -05:00
Drew
4b7447e228 Merge pull request #710 from sdf611097/typeChecking
Add __type checking
2016-03-02 14:57:19 -08:00
Nikita Lutsenko
818fe492d7 Merge pull request #774 from ParsePlatform/fosco.install-fix
Fix an installation deduplication bug
2016-03-02 14:36:13 -08:00
Nikita Lutsenko
bb80e5d69f Merge pull request #759 from ParsePlatform/nlutsenko.storage.findAndDoMagic
Add findOneAndDelete, findOneAndModify to MongoCollection, move most of usages to it.
2016-03-02 14:36:01 -08:00
Fosco Marotto
bfafcd4e87 Fix an installation deduplication bug 2016-03-02 14:14:12 -08:00
Florent Vilmart
43f014a47d nits 2016-03-02 15:16:48 -05:00
Florent Vilmart
3629c40036 Adds support for or queries on pointer and relations 2016-03-02 14:33:51 -05:00
Florent Vilmart
27815b18aa Adds support for multiple $in 2016-03-02 12:01:49 -05:00
Florent Vilmart
c7503fc654 Merge pull request #735 from sdf611097/invalidRole
_Role object must specified name and ACL
2016-03-02 09:39:44 -05:00
Florent Vilmart
63dc64004d Removes /logs endpoint 2016-03-02 09:15:44 -05:00
Florent Vilmart
8e034dd9b0 adds scriptlog endpoint 2016-03-02 09:09:54 -05:00
Florent Vilmart
9cc7bd064c Merge pull request #751 from ParsePlatform/flovilmart.hotfixCLI
Fix error preventing starting parse-server from CLI with a config file
2016-03-02 09:07:30 -05:00
jim1_lin
36aa5935b1 change error msg 2016-03-02 16:50:00 +08:00
Nikita Lutsenko
4049ce4102 Move DatabaseController to use new findOneAndUpdate. 2016-03-02 00:29:20 -08:00
Nikita Lutsenko
6d7813be4a Move UserController to use adaptiveCollection for findOneAndUpdate. 2016-03-02 00:29:20 -08:00
Nikita Lutsenko
244009923f Add findOneAndUpdate to MongoCollection. 2016-03-02 00:29:18 -08:00
Nikita Lutsenko
e39286d88b Implement findAndDelete in MongoCollection and move SchemasRouter to it. 2016-03-02 00:28:37 -08:00
jim1_lin
a909ab71e3 ACL must be specified in _Role 2016-03-02 16:08:39 +08:00