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
Nikita Lutsenko
2733c0924b
Remove direct mongo access from Schema.spec.js.
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
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
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
0cf3f56b00
Remove dependency from DatabaseAdapter on cache.js.
2016-02-26 20:46:49 -08:00
Florent Vilmart
3c6141576f
Fixes
2016-02-25 13:32:19 -05:00
Florent Vilmart
9ac7a52e40
Adds Hooks API
...
Adds Parse.Hooks.js in src/cloud-code/Parse.Hooks.js
Moves Cloud code related functions in src/cloud-code
2016-02-25 08:10:07 -05:00
Nikita Lutsenko
966d10ca43
Allow uploading files without content-type.
2016-02-22 14:07:58 -08:00
Florent Vilmart
045caca946
private _adapter, ES6 setters and getters
2016-02-22 14:12:51 -05:00
Florent Vilmart
23e55e941e
Splits Adapter loading from AdaptableController
...
- Adds dynamic prototype conformance check upon setting adapter
- Throws when adapter is undefined, invalid in controller
2016-02-21 23:47:07 -05:00
Florent Vilmart
33fa5a7b2a
Adds setDefaultAdapter
2016-02-21 17:04:34 -05:00
Florent Vilmart
d504681589
Improves Controller and Adapter relationship
...
- Controllers that have adapters are AdaptableControllers
- AdaptableController is responsible to instantiate the proper adapter if needed (string, function or BaseAdapter)
- BaseAdapter is the base class for adapters, allows skipping when passed directly to the controller
2016-02-21 17:04:34 -05:00
Florent Vilmart
fbb5e448e6
refactors LoggerController with LogsRouter
2016-02-20 13:52:36 -05:00
Florent Vilmart
305879a251
Refactors FilesController in FilesRouter and FilesController
2016-02-20 13:52:35 -05:00
Florent Vilmart
b490688652
Splits Push handling in Router and Controller
...
- Improves tests and coverage, fix bugs
2016-02-20 10:51:56 -05:00
Florent Vilmart
067946c66c
Refactors PushController and FilesController to support multiple apps
2016-02-19 23:49:12 -05:00
Dmitry Chestnykh
62cbc451aa
Generate tokens and ids with cryptoUtils module.
...
Move object ID, token, and random string generation into their own
module, cryptoUtils.
Remove hat dependency, which was used to generate session and some other
tokens, because it used non-cryptographic random number generator.
Replace it with the cryptographically secure one. The result has the
same format (32-character hex string, 128 bits of entropy).
Remove randomstring dependency, as we already have this functionality.
Add tests.
2016-02-12 21:16:50 +01:00
Peter J. Shin
23c12846af
Merge pull request #243 from ParsePlatform/peterjs.logs
...
Logs support.
2016-02-12 10:21:43 -08:00
Peter Shin
dc4859f561
Logs support.
...
Added /logs endpoint with basic logger and LoggerAdapter.
2016-02-12 08:21:30 -08:00
Nikita Lutsenko
f53cb60d57
Add enforceMasterKeyAccess middleware.
2016-02-11 23:26:44 -08:00
Wes Thomas
a75376523c
file DELETE support
2016-02-11 21:21:42 -05:00
wangmengyan95
06b1ee2362
Make push follow controller and adapter style
2016-02-11 02:56:52 -08:00
Nikita Lutsenko
07c9c1d648
Cleanup and modernize S3Adapter to ES6 syntax.
2016-02-09 21:48:05 -08:00
Nikita Lutsenko
8ca25cbabe
Moved getting the url for every file from RestQuery into FilesController.
2016-02-09 19:31:29 -08:00
Nikita Lutsenko
53b2d4e176
Refactor files.js into FilesController.
2016-02-09 14:38:34 -08:00