Commit Graph

29 Commits

Author SHA1 Message Date
Drew
61b62e4e9f Rename Schema => SchemaController (#1542)
* Rename Schema to SchemaController

* Rename Schema => SchemaController

* Move to controllers folder

* Move SchemasController to Controllers folder

* remove ./..
2016-04-18 18:59:57 -07:00
Seiji Akiyama
a727e1ccd3 Adds limit = 0 as a valid parameter for queries (#1493)
* Remove results if limit = 0;

* Adds tests for limit=0 and count=1.

* Improves readability.
2016-04-15 11:17:53 -07:00
Florent Vilmart
1023baf20d DBController refactoring (#1228)
* Moves transform to MongoTransform

- Adds ACL query injection in MongoTransform

* Removes adaptiveCollection from DatabaseController

- All collections manipulations are now handled by a DBController
- Adds optional flags to configure an unsafe databaseController for direct
  access
- Adds ability to configure RestWrite with multiple writes
- Moves some transfirmations to MongoTransform as they output specific code

* Renames Unsafe to WithoutValidation
2016-04-14 19:24:56 -04:00
Tyler Brock
51970fb470 Do some triple equals for great justice (#1499) 2016-04-14 15:44:22 -07:00
Simonas Karuzas
e9e561f5e8 Removing sessionToken and authData from _User objects included in a query (#1450)
* Removing sessionToken and authData from _User objects included in a query

This bug caused sessionToken to be replaced on client side to some old
sessionToken from DB.

* Removing dangling variable that is never used
2016-04-12 07:57:31 -04:00
Florent Vilmart
edfa4092c0 😎 fixes #1302
- when including elements from an array of pointers, filters unaccessible/missing objects
2016-03-31 20:39:09 -04:00
Florent Vilmart
ca7d8580e3 👍 fixes #1298 2016-03-31 19:32:24 -04:00
Florent Vilmart
9624970cd0 Merge pull request #1004 from ParsePlatform/flovilmart.PushStatus
Push Status API
2016-03-17 08:16:35 -04:00
Florent Vilmart
3451fc3430 fixes same bug affecting $select and $dontSelect 2016-03-15 19:13:40 -04:00
Florent Vilmart
3ed3982e0e Fixes bug affecting matchesQuery and doesNotMatchQuery on relations on unfetched objects 2016-03-15 16:20:32 -04:00
Florent Vilmart
308fe1498a Centralizes list of system classes into Schema 2016-03-12 13:40:59 -05:00
Florent Vilmart
b89619b6ee Full query support for badge Increment 2016-03-11 16:23:58 -05:00
Nikita Lutsenko
e93873f7b1 Do not require where clause in condition on queries. 2016-03-08 17:08:27 -08:00
Marco129
2f63c5528d Minimize db query 2016-03-09 02:15:27 +08:00
Fosco Marotto
1450795516 Remove limit when counting results. 2016-03-06 03:32:49 -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
Carmen
6973de7910 Fix replace query overwrite the existing query object. 2016-03-03 16:43:44 +08: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
Marco129
c359d0fb5f Allow create system class even allowClientClassCreation option is false 2016-02-27 15:37:34 +08:00
Marco129
97489106b4 Add allowClientClassCreation option 2016-02-26 23:08:20 +08:00
Alex Kwan
7b891bd69c fix spacing againn 2016-02-17 13:14:20 +08:00
Alex Kwan
317a2fe56f fix spacing again 2016-02-17 13:13:20 +08:00
Alex Kwan
c5efcac8e0 fix spacing 2016-02-17 12:53:17 +08:00
Alex Kwan
a7093d33bb fix multiple include 2016-02-15 20:14:50 +08:00
Francis Lessard
90a4ac70ac Fix session token issue
In _User collection a field _session_token is present and if you fetch
the user data form server, this field override the sessionToken saved
in your browser.

If you don't fetch the user, all request to server contain the right
sessionToken and if you fetch the user data from the server, all next
requests will contain the wrong sessionToken come form the
_session_token in user data fetched.
2016-02-11 20:32:31 -05:00
Nikita Lutsenko
8ca25cbabe Moved getting the url for every file from RestQuery into FilesController. 2016-02-09 19:31:29 -08:00
ksaldana1
4f128d761e Implemented ES6 default parameters where valid in ExportAdapter and RestQuery 2016-02-09 15:47:13 -06:00
Nikita Lutsenko
b989bbcaae Move all source files into 'src' folder. 2016-02-08 19:41:07 -08:00