Commit Graph

588 Commits

Author SHA1 Message Date
Florent Vilmart
d872f52eff backbone style is BAD! 2016-03-02 20:37:45 -05: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
4e312673c7 Merge pull request #746 from ParsePlatform/flovilmart.logsEndpoint
adds scriptlog endpoint
2016-03-02 09:38:49 -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
789dc48f47 remove redundant log 2016-03-02 21:09:20 +08:00
jim1_lin
a909ab71e3 ACL must be specified in _Role 2016-03-02 16:08:39 +08:00
Nikita Lutsenko
4fe670efaf Merge pull request #752 from ParsePlatform/nlutsenko.adapter.collection
Add MongoCollection wrapper and move few basic uses of collection to it.
2016-03-01 23:05:09 -08:00
Nikita Lutsenko
63f7468ce7 Merge pull request #753 from ParsePlatform/nlutsenko.middleware.routers
Use shared middleware to enforce masterkey security on logs/global config/hooks APIs.
2016-03-01 22:44:04 -08:00
Nikita Lutsenko
9538a7dab5 Make parts of SchemasRouter use adaptiveCollection. 2016-03-01 22:36:23 -08:00
Nikita Lutsenko
abde9484ce Use adaptiveCollection for main find/count inside DatabaseController. 2016-03-01 22:36:23 -08:00
Nikita Lutsenko
49994b6e87 Add MongoCollection and adaptiveCollection abstraction to MongoAdapter. 2016-03-01 22:36:23 -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
Nikita Lutsenko
dacc22de42 Use shared middleware to enforce master key on hooks API. 2016-03-01 20:29:55 -08:00
jim1_lin
5f9b5d54f3 move check from classRouter to Schema.js 2016-03-02 12:21:18 +08:00
Florent Vilmart
a0150a743f Fix error preventing starting parse-server from CLI with a config file 2016-03-01 22:33:58 -05: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
92e51ab4d3 Merge pull request #747 from ParsePlatform/nlutsenko.schema.middleware
Add promise-based master-key enforce middleware and move SchemasRouter, FeaturesRouter to use it.
2016-03-01 16:23:19 -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
Nikita Lutsenko
8ce0bd84fb Add promise-based master-key only middleware. 2016-03-01 16:16:07 -08:00
Florent Vilmart
a79fb3a64c Merge pull request #742 from ParsePlatform/flovilmart.hotfixFilesAdapter
documents createFile
2016-03-01 18:34:01 -05: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
750a5794d3 Merge pull request #744 from ParsePlatform/flovilmart.betterPromiseRouter
Better promise router
2016-03-01 17:21:19 -05:00
Florent Vilmart
9601ca4fca Better promise router 2016-03-01 17:11:23 -05:00
Florent Vilmart
ad2e3c9b09 documents createFile 2016-03-01 15:46:36 -05:00
Peter Shin
66eaf6c6ef Features Endpoint for Dashboard. 2016-03-01 12:21:57 -08:00
Florent Vilmart
0e58c8d867 Merge pull request #738 from ParsePlatform/flovilmart.s3Improvements
S3 Improvements
2016-03-01 15:08:30 -05:00
Florent Vilmart
7257ee858b Moves some logic from FilesRouter to FilesController for content-type and filename 2016-03-01 10:14:03 -05: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
jim1_lin
3889223b10 Avoid Role object without name 2016-03-01 20:30:37 +08:00
Nikita Lutsenko
0b990b671a Merge pull request #729 from ParsePlatform/nlutsenko.decouple.schema
Decouple and remove direct mongo access from Schema/SchemaRouter.
2016-02-29 23:53:01 -08:00
Nikita Lutsenko
382149b190 Merge pull request #733 from ParsePlatform/nlutsenko.decouple.files
Make GridStoreAdapter persist it's own connection and don't talk to config.database.
2016-02-29 23:52:49 -08:00
Nikita Lutsenko
63a534f31d Make GridStoreAdapter persist it's own connection and don't talk to config.database. 2016-02-29 21:00:04 -08: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
d7b1184b5e Merge pull request #627 from flovilmart/mail-adapter
Email Validation
2016-02-29 21:16:03 -05: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
6aa38ea8ca Improves validation of email parameters in Configuration 2016-02-29 19:26:50 -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