Commit Graph

213 Commits

Author SHA1 Message Date
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
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
edc7720660 Add tests that verify installationId in Cloud Code triggers. 2016-03-02 21:02:50 -08:00
Nikita Lutsenko
c4fa3f0ee0 Propagate installationId in all Cloud Code triggers. 2016-03-02 21:02:50 -08:00
Drew Gross
befcd453a4 Add test 2016-03-02 21:01:24 -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
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
358a7ae7f3 Fix missing 'let/var' in OneSignalPushAdapter.spec. 2016-03-02 18:43:15 -08: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
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
ccc2a1a03f Fix tests again 2016-03-02 16:34:07 -08:00
Drew Gross
a56fe0f7e6 Fix tests 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
Fosco Marotto
bfafcd4e87 Fix an installation deduplication bug 2016-03-02 14:14:12 -08: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
jim1_lin
789dc48f47 remove redundant log 2016-03-02 21:09:20 +08:00
jim1_lin
36aa5935b1 change error msg 2016-03-02 16:50:00 +08:00
jim1_lin
a909ab71e3 ACL must be specified in _Role 2016-03-02 16:08:39 +08:00
Nikita Lutsenko
17235b576b Use shared middleware to enforce master key on logs API. 2016-03-01 20:42:41 -08:00
Nikita Lutsenko
806800c6fb Use shared middleware to enforce master key on global config update API. 2016-03-01 20:42:41 -08:00
jim1_lin
5f9b5d54f3 move check from classRouter to Schema.js 2016-03-02 12:21:18 +08:00
jim1_lin
4054c247ec Add test, JavascriptSDK 1.7.1 rest format not as expected
JavascriptSDK 1.7.1 use serverUrl/classes/_Role directly.
So move validation from RolesRouter to ClassesRouter.
2016-03-02 11:13:24 +08:00
Nikita Lutsenko
fb4a2524b1 Cleanup and use masterkey middleware in FeaturesRouter. 2016-03-01 16:16:07 -08:00
Nikita Lutsenko
e58c935f22 Use middleware instead of custom checks inside SchemasRouter. 2016-03-01 16:16:07 -08:00
Drew
72e6eae727 Merge pull request #739 from ParsePlatform/peterjs.featuresEndpoint
Features Endpoint for Dashboard.
2016-03-01 15:08:15 -08:00
Florent Vilmart
9601ca4fca Better promise router 2016-03-01 17:11:23 -05:00
Peter Shin
66eaf6c6ef Features Endpoint for Dashboard. 2016-03-01 12:21:57 -08:00
Florent Vilmart
78d380df72 Adds content type support in S3 2016-03-01 09:28:17 -05:00
Florent Vilmart
9287afc3c2 refactors filesAdapter tests in factories 2016-03-01 09:02:36 -05:00
Nikita Lutsenko
d1dbc1a035 Remove direct mongo access from schemas.spec.js. 2016-02-29 19:47:08 -08:00
Nikita Lutsenko
2733c0924b Remove direct mongo access from Schema.spec.js. 2016-02-29 19:47:08 -08:00
Nikita Lutsenko
6893895aea Remove direct mongo access from SchemaRouter.modify, Schema.deleteField. 2016-02-29 19:47:08 -08:00
Nikita Lutsenko
028ef2a7b2 Remove dependency on raw mongo from SchemaRouter.delete. 2016-02-29 19:47:08 -08:00
Florent Vilmart
28d1a8afe4 Sends 404 when parseServerURL is not set on public pages
- throws when verifyEmail = true && publicServerURL not set
2016-02-29 20:51:13 -05:00
Florent Vilmart
2183b0be82 Allows very simple mail adapters
- Fix nasty bug when updating users email and sending verification
2016-02-29 18:58:35 -05:00
Florent Vilmart
3ecaa0aa4b Sends verification email upon set and update email
- nits
2016-02-29 18:58:34 -05:00
Florent Vilmart
91d9724182 Adds reset password logic 2016-02-29 18:55:15 -05:00
Florent Vilmart
f3bb2c99e0 Refactor and advancements
- Drops mailController, centralized in UserController
- Adds views folder for change_password
- Improves PromiseRouter to support text results
- Improves PromiseRouter to support empty responses for redirects
- Adds options to AdaptableController
- UsersController gracefully fails when no adapter is set
- Refactors GlobalConfig into same style for Routers
2016-02-29 18:55:14 -05:00
Florent Vilmart
7dd765256c Refactors verify_email, adds public html 2016-02-29 18:52:11 -05:00