Drew
61b62e4e9f
Rename Schema => SchemaController ( #1542 )
...
* Rename Schema to SchemaController
* Rename Schema => SchemaController
* Move to controllers folder
* Move SchemasController to Controllers folder
* remove ./..
2016-04-18 18:59:57 -07:00
Florent Vilmart
34851c0ae5
Makes sure we don't delete Installations at large when updating a token ( #1475 ) ( #1486 )
2016-04-14 12:59:59 -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
Florent Vilmart
91de7504fe
🎉 fixes #1288
...
* ⚡ regression test for #1288
* 🎉 fixes #1288
2016-04-04 14:27:11 -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
b30805b47b
do not override username
2016-03-22 21:17:53 -04:00
Florent Vilmart
a31baa4ebd
differentiate signup and login createdWith.action on _Session
2016-03-20 15:58:17 -04:00
Florent Vilmart
3603b82eac
Properly sets installationId on creating session with 3rd party auth
2016-03-20 15:58:16 -04:00
wangmengyan95
555e25bf33
Add LiveQuery
2016-03-18 12:32:31 -07:00
Fosco Marotto
5decaecd4f
Merge pull request #1072 from ParsePlatform/fosco.user-cache
...
Clear the session-user cache when changing _User objects
2016-03-18 08:51:51 -08:00
Florent Vilmart
9624970cd0
Merge pull request #1004 from ParsePlatform/flovilmart.PushStatus
...
Push Status API
2016-03-17 08:16:35 -04:00
Florent Vilmart
3837d33ee4
Merge pull request #1066 from ParsePlatform/flovilmart.returnsFullModificationsForREST
...
Improvements in REST calls
2016-03-17 08:16:18 -04:00
Fosco Marotto
877d29daf8
Clear the session-user cache when changing _User objects
2016-03-17 02:06:26 -07:00
Florent Vilmart
e1c475512c
Returns updated keys when running with beforeSave
2016-03-16 23:48:52 -04:00
Florent Vilmart
461ddcbd05
Makes sure the location in results has the proper objectId
2016-03-16 20:37:59 -04:00
Florent Vilmart
308fe1498a
Centralizes list of system classes into Schema
2016-03-12 13:40:59 -05: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
bcffcbade2
Fix when multiple authData keys are passed
2016-03-11 09:02:21 -05:00
Florent Vilmart
9c5f14981e
Renames oauth to authDataManager in src
2016-03-10 18:14:56 -05:00
Florent Vilmart
54d154f7aa
Centralizes AuthData validation
2016-03-10 18:14:56 -05:00
Florent Vilmart
9aaaf78a36
Anonymous is an OAuth
2016-03-10 18:14:56 -05:00
Florent Vilmart
e75d233b7e
Adds validation of addFields
2016-03-09 19:33:48 -05:00
Marco129
2f63c5528d
Minimize db query
2016-03-09 02:15:27 +08:00
Fosco Marotto
3266d59fcc
beforeSave changes should propagate to the response
2016-03-06 02:16:17 -08:00
Long Nguyen
4f643d970a
Fix create wrong _Session for Facebook login
2016-03-06 01:32:50 +07:00
Nikita Lutsenko
c4aac335e0
Don't run any afterSave hooks if none are registered.
2016-03-02 18:38:06 -08:00
Nikita Lutsenko
b778b314fb
Flatten custom operations in request.object in afterSave hooks.
2016-03-02 18:25:27 -08:00
Fosco Marotto
bfafcd4e87
Fix an installation deduplication bug
2016-03-02 14:14:12 -08: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
Fosco Marotto
d9f1e00345
Merge pull request #702 from simonbengtsson/before-save-login
...
Don't trigger beforeSave when logging in with a provider
2016-02-29 14:40:22 -08:00
Fosco Marotto
04491fcb20
Merge pull request #673 from stephentuso/installation-handling-fix
...
Handle duplicate android device tokens correctly
2016-02-29 14:37:24 -08:00
Simon Bengtsson
6cafd46d06
Validate authData before triggering beforeSave
2016-02-27 15:54:43 +01:00
Marco129
c359d0fb5f
Allow create system class even allowClientClassCreation option is false
2016-02-27 15:37:34 +08:00
stephentuso
02b56def6d
Merge branch 'android-installation-duplicate-token-test' into installation-handling-fix
2016-02-26 21:10:14 -05:00
stephentuso
c9d4f7693d
Should pass tests now
2016-02-26 19:42:47 -05:00
Drew
ca9b750993
Merge pull request #684 from Marco129/client-class-creation
...
Add allowClientClassCreation option
2016-02-26 11:46:50 -08:00
Marco129
97489106b4
Add allowClientClassCreation option
2016-02-26 23:08:20 +08:00
Fosco Marotto
1b83d9c621
Fix for #413 - support empty authData on signup
2016-02-26 05:05:15 -08:00
stephentuso
7ca8836768
Treat objectId and installationId matches the same when handling Installation writes
2016-02-26 00:55:36 -05:00
Nikita Lutsenko
5e4cecd94e
Use constants instead of magic strings for trigger names.
2016-02-25 20:01:52 -08:00
Florent Vilmart
c4abd1e267
cache as ES6
2016-02-25 08:10:08 -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
9d342a8aee
Fix missing file URL for short-circuited _User in RestWrite.
2016-02-24 15:18:40 -08:00
Nikita Lutsenko
ae82f33118
Inflate all data as dirty for new ParseObject in beforeSave.
2016-02-24 01:24:16 -08:00
Nikita Lutsenko
b477d16992
Do not do any setup for beforeSave trigger if none is set for this className.
2016-02-24 01:24:15 -08:00
Nikita Lutsenko
14cc82a057
Fix dirtyKeys() and dirty(key:) on beforeSave when updating objects.
2016-02-23 21:50:17 -08:00