Commit Graph

565 Commits

Author SHA1 Message Date
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
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
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
e9699b64a5 Merge pull request #698 from ParsePlatform/nlutsenko.database.controller
Rename ExportAdapter to DatabaseController, start splitting Mongo specific logic.
2016-02-29 14:09:03 -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
Drew
888354154d Merge pull request #714 from ParsePlatform/flovilmart.echoKeysTests
Adds test that ensures the keys are properly set when using cloudcode
2016-02-28 12:35:32 -08:00
Florent Vilmart
e43c471a7e Adds test that ensures the keys are properly set when using cloudcode 2016-02-28 12:38:36 -05:00
Drew
bd89338b39 Merge pull request #696 from mcdonamp/gcp-logo
Adding the GCP logo and quickstart
2016-02-27 12:04:39 -08:00
Drew
97d6e9d1a8 Merge pull request #695 from Marco129/client-class-creation
Allow create system class even allowClientClassCreation option is false
2016-02-27 11:02:34 -08:00
Simon Bengtsson
4eb9bd442f Adds test that makes sure beforeSave is not called on User when logging in with a provider 2016-02-27 15:57:44 +01:00
Simon Bengtsson
6cafd46d06 Validate authData before triggering beforeSave 2016-02-27 15:54:43 +01:00
Mike McDonald
310650830e Adding the GCP logo and quickstart 2016-02-27 00:23:17 -08:00
Marco129
c359d0fb5f Allow create system class even allowClientClassCreation option is false 2016-02-27 15:37:34 +08:00
Nikita Lutsenko
768a781f98 Fix wrong order of resetting data in test helper. 2016-02-26 22:48:53 -08:00
Nikita Lutsenko
d30c3e90df Remove useless method in index.js. 2016-02-26 22:48:53 -08:00