Commit Graph

248 Commits

Author SHA1 Message Date
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
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
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
Florent Vilmart
a0150a743f Fix error preventing starting parse-server from CLI with a config file 2016-03-01 22:33:58 -05: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
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
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
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
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
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
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
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
Florent Vilmart
0b307bc22f Improves AdapterLoader, enforces configuraiton on Adapters 2016-02-29 18:52:10 -05:00
Drew Gross
8dc37b9d30 Exploring the interface of a mail adapter
Add some tests and demonstrate the adapter loading interface
2016-02-29 18:52:10 -05:00
Fosco Marotto
d9f1e00345 Merge pull request #702 from simonbengtsson/before-save-login
Don't trigger beforeSave when logging in with a provider
2016-02-29 14:40:22 -08:00
Fosco Marotto
04491fcb20 Merge pull request #673 from stephentuso/installation-handling-fix
Handle duplicate android device tokens correctly
2016-02-29 14:37:24 -08:00
Fosco Marotto
46da50f2b3 Merge pull request #689 from ParsePlatform/flovilmart.rolesHierarchy
Recursive lookup for roles
2016-02-29 14:35:04 -08:00
Nikita Lutsenko
eb892830e6 Move and cleanup getting collections into MongoStorageAdapter. 2016-02-29 12:51:43 -08:00
Nikita Lutsenko
7215300c1e Move Mongo database property directly to mongo adapter. 2016-02-29 12:50:47 -08:00
Nikita Lutsenko
997da898eb Split mongodb connection creation from DatabaseController. 2016-02-29 12:50:47 -08:00
Nikita Lutsenko
d78c2746e9 Rename ExportAdapter to DatabaseController. 2016-02-29 12:50:47 -08:00
Nikita Lutsenko
10efd5d38d Merge pull request #694 from ParsePlatform/nlutsenko.cache
Unify and cleanup cache.js.
2016-02-29 12:49:04 -08:00
Simon Bengtsson
6cafd46d06 Validate authData before triggering beforeSave 2016-02-27 15:54:43 +01:00
Marco129
c359d0fb5f Allow create system class even allowClientClassCreation option is false 2016-02-27 15:37:34 +08:00
Nikita Lutsenko
d30c3e90df Remove useless method in index.js. 2016-02-26 22:48:53 -08:00
Nikita Lutsenko
daa5f11122 Remove 'database' field from request and make all database requests go through config. 2016-02-26 22:48:53 -08:00
Nikita Lutsenko
49a4b74f7c Fix missing return type on requiredParameter.js. 2016-02-26 22:48:53 -08:00
Nikita Lutsenko
9bc636dc5c Cleanup, remove unusued methods and unify cache.js. 2016-02-26 22:48:53 -08:00