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
Nikita Lutsenko
62e671dd9e
Refactor and deduplicate RolesRouter, fix missing query on /roles.
2016-02-11 23:27:54 -08:00
Nikita Lutsenko
b2570a9af8
Update style in InstallationsRouter.
2016-02-11 23:17:38 -08:00
Nikita Lutsenko
99ac6c1161
Refactor and deduplicate logic in SessionsRouter.
2016-02-11 23:17:38 -08:00
Nikita Lutsenko
ab841b5ab4
Refactor and deduplicate logic in UsersRouter.
2016-02-11 23:17:38 -08:00
Francis Lessard
90a4ac70ac
Fix session token issue
...
In _User collection a field _session_token is present and if you fetch
the user data form server, this field override the sessionToken saved
in your browser.
If you don't fetch the user, all request to server contain the right
sessionToken and if you fetch the user data from the server, all next
requests will contain the wrong sessionToken come form the
_session_token in user data fetched.
2016-02-11 20:32:31 -05:00
Nikita Lutsenko
6a127447ad
Cleanup duplicate logic and refactor installations.js into InstallationsRouter.
2016-02-11 13:50:48 -08:00
Nikita Lutsenko
1f660d9f7c
Restructure ClassesRouter as a class.
2016-02-11 13:41:06 -08:00