Commit Graph

195 Commits

Author SHA1 Message Date
Simon Bengtsson
6cafd46d06 Validate authData before triggering beforeSave 2016-02-27 15:54:43 +01:00
Nikita Lutsenko
0cf3f56b00 Remove dependency from DatabaseAdapter on cache.js. 2016-02-26 20:46:49 -08:00
Drew
ca9b750993 Merge pull request #684 from Marco129/client-class-creation
Add allowClientClassCreation option
2016-02-26 11:46:50 -08:00
Drew
9142dec5fd Merge pull request #679 from ParsePlatform/fosco.empty-authData
Fix for #413 - support empty authData on signup
2016-02-26 11:17:25 -08:00
Fosco Marotto
34a621b279 Merge pull request #682 from ParsePlatform/flovilmart.fixKeysChecking
Improves key matching algorithm
2016-02-26 07:39:59 -08:00
Florent Vilmart
4e5cc1feb0 Fixes handing of no keys set in config 2016-02-26 10:22:05 -05:00
Florent Vilmart
ea2de87b1a Improves key matching algorithm 2016-02-26 10:18:16 -05:00
Marco129
97489106b4 Add allowClientClassCreation option 2016-02-26 23:08:20 +08:00
Fosco Marotto
6a17eca69c Fix for JS SDK needing a key 2016-02-26 06:25:37 -08:00
Fosco Marotto
1b83d9c621 Fix for #413 - support empty authData on signup 2016-02-26 05:05:15 -08:00
Fosco Marotto
791c5512aa Merge pull request #567 from IlyaDiallo/master
Accept subdocuments keys ("object.subobject"), to allow atomic updates of an object field.
2016-02-26 02:05:03 -08:00
Nikita Lutsenko
3b1165b686 Merge pull request #670 from ParsePlatform/nlutsenko.strings
Use constants instead of magic strings for trigger names.
2016-02-25 20:45:25 -08:00
Nikita Lutsenko
5e4cecd94e Use constants instead of magic strings for trigger names. 2016-02-25 20:01:52 -08:00
Nikita Lutsenko
a96cb6b31d Remove 'url' as a required field on Files when they are stored on object. 2016-02-25 19:31:55 -08:00
Drew
1945313794 Merge pull request #663 from ParsePlatform/flovilmart.hotfix#659
sets defaults value to options for Type error in CLI
2016-02-25 17:15:39 -08:00
Florent Vilmart
fa729c5c18 sets defaults value to options 2016-02-25 19:07:17 -05:00
Florent Vilmart
98c65062e5 Generates a javascriptKey if not passed for CloudCode 2016-02-25 14:15:09 -05:00
Florent Vilmart
3c6141576f Fixes 2016-02-25 13:32:19 -05: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
Drew
a7262dafd8 Merge pull request #603 from flovilmart/proper-cli
Proper CLI with commander
2016-02-24 20:51:23 -08:00
Drew
e58aa54e31 Merge pull request #640 from drew-gross/allow-master-key
Allow master key headers in cross origin requests.
2016-02-24 17:39:13 -08:00
Drew Gross
c867e37559 Allow master key headers 2016-02-24 17:26:50 -08:00
Florent Vilmart
db5338abaa Infers serverURL based on mountPath and port 2016-02-24 19:17:50 -05:00
Florent Vilmart
fe11fb54fc Stupid ES6 imports... 2016-02-24 19:17:50 -05:00
Florent Vilmart
f58befd7bb ES6-ify 2016-02-24 19:17:50 -05:00
Florent Vilmart
3ca1e9f79e Adds maxUploadSize 2016-02-24 19:17:50 -05:00
Florent Vilmart
81f5c682d4 Updates README, makes serverURL required
- prints help when misconfigured
- prints missing appId, masterKey, serverURL
2016-02-24 19:17:50 -05:00
Florent Vilmart
30aafd2c62 Adds proper tests 2016-02-24 19:17:49 -05:00
Florent Vilmart
ab425d85b0 New CLI for parse-server 2016-02-24 19:17:49 -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
bc90effd32 Send a sessionToken back on /users/me. 2016-02-24 12:54:04 -08:00
Peter J. Shin
5fae41183e Updating comments for loggerAdapter. 2016-02-24 11:15:26 -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
74289f9ce5 Use saveJSON instead of full JSON to avoid expansion of pointers. 2016-02-24 01:24:16 -08:00
Nikita Lutsenko
7a14695da8 Restrict triggers on _Session class. 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
1ae61c92c8 Merge pull request #614 from ParsePlatform/nlutsenko.beforeSave.dirty
Fix dirtyKeys() and dirty(key:) on beforeSave when updating objects.
2016-02-23 22:35:57 -08:00
Drew Gross
2dc080fd00 Require a server URL 2016-02-23 21:51:04 -08:00
Nikita Lutsenko
14cc82a057 Fix dirtyKeys() and dirty(key:) on beforeSave when updating objects. 2016-02-23 21:50:17 -08:00
Drew
531e2ffea8 Merge pull request #604 from flovilmart/adds-max-file-size-option
Adds maxUploadSize option
2016-02-23 18:33:25 -08:00
Drew
b1c2d9da6a Merge pull request #576 from flovilmart/httpRequest-tests
improves coverage and API of httpRequest
2016-02-23 13:02:48 -08:00
Florent Vilmart
61e8f2aeea Adds maxUploadSize option 2016-02-23 11:49:21 -05:00
Florent Vilmart
b6223f598c Adds support for application/x-www-form-urlencoded
- Now the body encoding is inferred on the headers as supposed
2016-02-23 08:17:48 -05:00
Nikita Lutsenko
1f707a97d3 Merge pull request #587 from ParsePlatform/nlutsenko.cc.test
Do not pass objectId, updatedAt, createdAt to beforeSave hooks on object create.
2016-02-22 22:13:51 -08:00
Nikita Lutsenko
be693fb736 Do not pass objectId, updatedAt, createdAt to beforeSave hooks on object create. 2016-02-22 19:33:32 -08:00
Nikita Lutsenko
17e5686efd Move test-only Cloud Code into spec subfolder. 2016-02-22 19:33:29 -08:00
Fosco Marotto
5755126525 Fixed ACL creation for #504. 2016-02-22 17:33:11 -08:00
Drew
1f40c0a7cd Merge pull request #584 from flovilmart/hotfix-pushadapters
hotfix for #549
2016-02-22 16:45:52 -08:00
Drew
017863fe7a Merge pull request #582 from IlyaDiallo/510
#510 Detect when the port you try to run the server on is already in use
2016-02-22 16:29:52 -08:00