Nikita Lutsenko
2afebf955f
Completely migrate SchemasRouter to new MongoCollection API.
2016-03-02 21:34:40 -08:00
Drew Gross
36202badf3
Return parse server version
2016-03-02 16:16:16 -08:00
Drew Gross
5219e0b1d8
Touch up features endpoint
2016-03-02 16:16:16 -08:00
Nikita Lutsenko
818fe492d7
Merge pull request #774 from ParsePlatform/fosco.install-fix
...
Fix an installation deduplication bug
2016-03-02 14:36:13 -08:00
Nikita Lutsenko
bb80e5d69f
Merge pull request #759 from ParsePlatform/nlutsenko.storage.findAndDoMagic
...
Add findOneAndDelete, findOneAndModify to MongoCollection, move most of usages to it.
2016-03-02 14:36:01 -08:00
Fosco Marotto
bfafcd4e87
Fix an installation deduplication bug
2016-03-02 14:14:12 -08: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
Nikita Lutsenko
e39286d88b
Implement findAndDelete in MongoCollection and move SchemasRouter to it.
2016-03-02 00:28:37 -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
9538a7dab5
Make parts of SchemasRouter use adaptiveCollection.
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
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
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
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
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
Nikita Lutsenko
7215300c1e
Move Mongo database property directly to mongo adapter.
2016-02-29 12:50:47 -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
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
bc90effd32
Send a sessionToken back on /users/me.
2016-02-24 12:54:04 -08:00
Florent Vilmart
61e8f2aeea
Adds maxUploadSize option
2016-02-23 11:49:21 -05:00
Nikita Lutsenko
966d10ca43
Allow uploading files without content-type.
2016-02-22 14:07:58 -08:00
Nikita Lutsenko
04795ff165
Fix passing parameters via URL query when querying for objects.
2016-02-21 00:15:37 -08: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
3c4d5159b4
Refactors routers
2016-02-20 00:08:54 -05:00
Fosco Marotto
39f8143326
Merge pull request #410 from Marco129/query-constraints
...
Throw when query is encoded incorrectly
2016-02-19 11:56:01 -08:00
Florent Vilmart
cc55bfb7ba
Fix missing session token when fetching a _User
2016-02-18 10:59:36 -05:00
Marco129
06b8157eea
Throw error when query with wrongly encoded parameter
2016-02-17 02:52:32 +08:00
Florent Vilmart
86c502c702
Removes installationId from _User
2016-02-16 12:38:45 -05:00
Fosco Marotto
5856ed0b00
Merge pull request #430 from flovilmart/clear-sessions
...
Fixes Parse.User.become / clears session on password change
2016-02-16 05:04:51 -08:00
Florent Vilmart
ea07eb506d
Clears session on password change
...
- Fixes error type when passing an invalid session token
2016-02-15 10:15:47 -05:00
Lewuathe
ce4f13f3bf
Limit 100 records as default
2016-02-13 17:58:46 +09:00
Fosco Marotto
2a200fc718
Merge pull request #373 from flessard/session-token
...
Fix : Session token issue
2016-02-12 13:08:38 -08:00
Francis Lessard
175d16afdc
Merge branch 'master' into session-token
...
# Conflicts:
# src/users.js
2016-02-12 15:53:38 -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