Antonio Davi Macedo Coelho de Castro
b6298feaa7
Read preference option per query ( #3865 )
2017-06-21 23:18:10 +03:00
Antonio Davi Macedo Coelho de Castro
4509d25471
Endpoints for audiences CRUD ( #3861 )
2017-06-21 08:54:13 +03:00
greenkeeper[bot]
e94991b368
Update dependencies to enable Greenkeeper 🌴 ( #3940 )
...
* chore(package): update dependencies
* docs(readme): add Greenkeeper badge
* Fix indent issues with eslint 4.0
see http://eslint.org/docs/user-guide/migrating-to-4.0.0\#-the-indent-rule-is-more-strict
2017-06-20 09:15:26 -07:00
Diamond Lewis
8b21d5ab80
feat: Full Text Search Support ( #3904 )
...
* Full Text Support
* invalid input test
* Support for sort
* index exist test
* clean up
* better error messaging
* postgres support
* error instructions for $diacritic and $case sensitivity
* nit
* nit
* nit
* separate test for full text
2017-06-13 21:42:59 -04:00
Florent Vilmart
f7af48db89
Fix/3678 overloaded query constraints ( #3723 )
...
* Added failing test
* Updated test description
* Properly handle equalities with additional operator constraints
* adds continuation to silence rejected promises
* Wrap json parsing
* nits
2017-04-23 15:10:17 -07:00
Florent Vilmart
deedf7b370
Push scalability ( #3080 )
...
* Update status through increment
* adds support for incrementing nested keys
* fix issue when having spaces in keys for ordering
* Refactors PushController to use worker
* Adds tests for custom push queue config
* Makes PushController adapter independant
* Better logging of _PushStatus in VERBOSE
2017-01-13 19:34:04 -05:00
Arthur Cinader
4cb6e7d209
Add lint rule space-infix-ops ( #3237 )
...
Disallows: 1+1. Must be 1 + 1.
2017-01-11 12:31:40 -08:00
Arthur Cinader
ca286b7108
Enable prefer-const lint rule ( #3202 )
2016-12-07 18:17:05 -05:00
Florent Vilmart
fb36dfa26f
Fix #3185 ( #3186 )
...
* Adds tests that reproduce the issue
* Use values from keys to force include when needed
2016-12-06 16:28:55 -05:00
Arthur Cinader
01b05b060f
Strip personally identifiable information from user table for unauthorized users.
...
- add a config option to explicitly enumerate pii fields beyond email
- in query controller, strip pii of user table results before sending out the door.
2016-12-02 19:39:09 -05:00
Florent Vilmart
8c2c76dd26
Adds liniting into the workflow ( #3082 )
...
* initial linting of src
* fix indent to 2 spaces
* Removes unnecessary rules
* ignore spec folder for now
* Spec linting
* Fix spec indent
* nits
* nits
* no no-empty rule
2016-11-24 15:47:41 -05:00
jb
19271fa1ef
Adding support for AfterFind ( #2968 )
2016-11-12 12:35:34 -05:00
Florent Vilmart
6979bb430b
Properly handle select/include pairs #2786 ( #2809 )
...
* Regression test for 2786
* Fix issue affecting selcting/including keys
2016-10-07 09:33:55 -04:00
Florent Vilmart
954a8a4159
Better support for null values in arrays ( #2777 )
...
* Adds reproduction for #2752
* Make sure we support null values in arrays of pointers for inclusion
2016-09-26 13:26:06 -04:00
Florent Vilmart
b5af4d017c
Makes sure pointer includes are interpolated as get ( #2747 )
...
* test for repro #2005
* Adds ability to override CLP op from RestQuery.execute
* nits
2016-09-24 14:54:31 -04:00
Florent Vilmart
9c522be00d
Support for nested .select() calls ( #2737 )
...
* Reproduction for #1567
* Recursive handling of nested pointer keys in select
* Better support for multi-level nested keys
* Adds support for selecting columns natively (mongo)
* Support for postgres column selections
* Filter-out empty keys for pg
2016-09-24 13:43:49 -04:00
Florent Vilmart
c5fdd91aa3
Makes sure we don't duplicate user ACL's keys ( #2651 )
...
* Adds repro for issue #2246
* Provide fix for issue #2246
* Nit with Set to deduplicate the acl array
* remove debuging console.log
2016-09-09 14:43:59 -04:00
Florent Vilmart
e8aa1ad312
Fix null pointer includes ( #2657 )
...
* Adds failing test for #2189
* Improves support for null values in includes
* nit
2016-09-09 14:41:21 -04:00
Florent Vilmart
c9fc80984a
Makes sure we don't strip authData or session token from users using masterKey ( #2348 )
...
* Makes sure we don't strip auth data or session token from users queried with masterKey (#2342 ))
* nit: test title
2016-07-23 11:14:53 -07:00
Dan Huang
c81f48aae6
don't serve null authData values ( #2320 )
2016-07-18 23:00:16 -07:00
Florent Vilmart
9bf21ef093
Restores ability to include non pointer keys ( #2263 )
...
- Matches the behaviour on parse.com
- fixes #2262
2016-07-13 09:14:54 -04:00
Florent Vilmart
2498a954ce
Exposes clientSDK into RestQuery, RestWrite and rest
2016-07-12 10:06:13 -04:00
Drew Gross
2cafd6919f
Passing postgres test with user
2016-06-15 13:11:51 -07:00
Marco Cheung
0ec78d478b
Fix checking existent class for allowClientClassCreation ( #2051 )
2016-06-13 09:21:52 -07:00
Drew
614e1ac8e5
Move query logic into mongo ( #1885 )
...
* Move Parse Server logic into Parse Server and out of MongoAdapter
* Move untransforming up one level
* Make find() in MongoStorageAdapter
* Put nested object untransforming into it's own function
* Simplfy nested untransform
* Don't mess with inner object keys called _auth_data_*
* Prevent untransforming inner object keys named _p_*
* Fix inner keys named _rperm, _wperm
* Fix bugs with inner objects behaving strange when other fields have same name as key in specific circumstances
* remove params from untransform nested object
* Revert changes to find
2016-05-23 19:31:51 -04:00
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