Drew
b2183680be
Refactor cloud code tests ( #1837 )
...
* Move cloud code tests
* Remove _removeHook calls that are no longer necessary
* Use Strict
2016-05-19 13:38:16 -07:00
Marco Cheung
d0c3535a39
Fix error when unset user email ( #1778 )
2016-05-13 10:51:01 -07:00
Drew
d33dd68cc5
Add revokeSessionOnPasswordReset option. Closes #1584 ( #1597 )
...
* Add revokeSessionOnPasswordReset option
* Fix nits
2016-04-22 18:21:50 -04:00
Drew
7b91ee98ed
Fixes #1568 ( #1574 )
2016-04-20 18:42:18 -04:00
Florent Vilmart
59b4047de8
Defers the session creation after DB operation ( #1561 )
2016-04-20 11:57:38 -04:00
Drew
5d37755d88
Test facebook unlinking (regression test #1532 ) ( #1538 )
2016-04-20 00:31:15 -07:00
Florent Vilmart
73a3db44ab
Fixes #1444 ( #1451 )
2016-04-11 11:27:55 -07:00
Florent Vilmart
b433fb9b4e
Prevents _User lock out when setting ACL on signup or afterwards ( #1429 )
2016-04-08 13:19:41 -04:00
Jeremy May
f99b5588ab
Added session length option for session tokens to server configuration
2016-04-02 11:36:47 -04:00
yuzeh
1b8e613dfb
Clean authData of null values on _User update
...
Adds a step to the RestWrite#execute chain: it cleans the response
authData object of null values.
For example, this:
{"authData": {"anonymous": null}, "updatedAt", ...}
will be transformed to this:
{"updatedAt", ...}
And this:
{"authData": {"anonymous": null, "twitter": ...}, "updatedAt", ...}
will be transformed to this:
{"authData": {"twitter": ...}, "updatedAt", ...}
Fixing this issue will fix anonymous user upgrades from the Android SDK.
2016-03-29 14:42:37 -07:00
Florent Vilmart
a31baa4ebd
differentiate signup and login createdWith.action on _Session
2016-03-20 15:58:17 -04:00
Fosco Marotto
877d29daf8
Clear the session-user cache when changing _User objects
2016-03-17 02:06:26 -07:00
Florent Vilmart
461ddcbd05
Makes sure the location in results has the proper objectId
2016-03-16 20:37:59 -04:00
Florent Vilmart
cadd6fe406
Sanitizes RestWrite.data before passing to inflated object
2016-03-11 23:03:47 -05:00
Florent Vilmart
7d787328c5
Merge pull request #952 from ParsePlatform/flovilmart.OAuthImprovements
...
AuthData logic refactor
2016-03-11 15:38:19 -05:00
Florent Vilmart
daad05a00f
removes key transformation for authData from restWrite, ensures authData is set in hooks
2016-03-11 15:14:53 -05:00
Florent Vilmart
1ed868b99c
Fixes #935 , cleans up authData null keys on login for android crash
2016-03-11 11:14:58 -05:00
Florent Vilmart
bcffcbade2
Fix when multiple authData keys are passed
2016-03-11 09:02:21 -05:00
Drew Gross
befcd453a4
Add test
2016-03-02 21:01:24 -08: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
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