Commit Graph

27 Commits

Author SHA1 Message Date
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
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
Fosco Marotto
1b83d9c621 Fix for #413 - support empty authData on signup 2016-02-26 05:05:15 -08:00
Nikita Lutsenko
9d342a8aee Fix missing file URL for short-circuited _User in RestWrite. 2016-02-24 15:18:40 -08:00
Nikita Lutsenko
bc90effd32 Send a sessionToken back on /users/me. 2016-02-24 12:54:04 -08:00
Florent Vilmart
e010fd82f2 Generic OAuth provider support
Refactors facebook login into oauth generic login

Adds additional oauth2 providers

adds ability to pass an oAuth validator in the config

Adds Twitter validation support + OAuth 1 client

Support auth_token instead of access_token for twitter

Improves code coverage of OAuth

Adds validation of oauth provider structures

Better coverage of the OAuth spec

100% coverage of OAuth1.js

Adds passing auth_token_secret for Twitter auth.

Refactors auth validation methods to include authData parameter

- Adds ability to extens oauth validator through configuration
- Adds ability to extend oauth validator through external module (file or package)
- Adds more tests
- Adds tests to login with custom auth provider

Adds more tests for REST API

fixes twitter auth_token

f
2016-02-17 08:06:30 -05:00
Florent Vilmart
86c502c702 Removes installationId from _User 2016-02-16 12:38:45 -05:00
Fosco Marotto
b1a9536cc6 Merge pull request #438 from flovilmart/flovilmart.fix-default_User.metadata
Adds locked down ACL on _User
2016-02-16 08:11:21 -08:00
Florent Vilmart
20eca71a6f Adds locked down ACL on _User 2016-02-15 21:23:17 -05:00
Florent Vilmart
be92b4af67 Adds test to make sure Parse.User.become is functional 2016-02-15 10:21:01 -05: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
Francis Lessard
56552537a1 Add test to the session token hasn't changed 2016-02-12 08:15:58 -05:00
Fosco Marotto
8d89838afb Merge pull request #254 from ParsePlatform/fosco.logout
Removed extra /logout handler
2016-02-10 16:52:30 -08:00
Fosco Marotto
dee640c7d0 Added logout test and fixed error in restwrite 2016-02-10 14:52:42 -08:00
Nikita Lutsenko
053ac990e6 Fixed missing url for files on user login. 2016-02-09 19:31:50 -08:00
Nikita Lutsenko
3271b45102 Update imports in all specs. 2016-02-08 20:20:08 -08:00
Fosco Marotto
e5140deaed Marked flaky client test notWorking 2016-02-03 00:06:14 -08:00
Fosco Marotto
190dc5eb75 Fixed tests and some undefined value handling. 2016-02-03 00:02:54 -08:00
Fosco Marotto
373f4f06a6 Updated user tests, added /logout 2016-02-02 20:16:06 -08:00
Fosco Marotto
c430ee94da Updated test Parse.User testing user.isCurrent, and raised testing time limit. 2016-02-02 18:08:25 -08:00
Fosco Marotto
cb1079a6d3 Addressed bugs with bcrypt-nodejs and changed crypto.js to password.js 2016-02-01 11:24:26 -08:00
Peter
956fd0840f remove trailing spaces 2016-02-02 03:09:57 +13:00
Fosco Marotto
7f5d744ce2 Initial release, parse-server, 2.0.0 2016-01-28 10:58:12 -08:00