Commit Graph

488 Commits

Author SHA1 Message Date
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
54e46d4157 Merge pull request #666 from ParsePlatform/nlutsenko.files.url
Remove 'url' as a required field on Files when they are stored on object.
2016-02-25 20:45:17 -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
Drew
839f6b795c Merge pull request #652 from ParsePlatform/flovilmart.fixCloudCodeQueryProblem
Generates a javascriptKey if not passed for CloudCode
2016-02-25 16:28:16 -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
Drew
e5b1d50343 Merge pull request #500 from flovilmart/hooks-API
Adds Hooks API
2016-02-25 11:03:54 -08: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
c0714b9b9d Shows --port option in README 2016-02-25 08:10:07 -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
Fosco Marotto
535853311f Merge pull request #634 from drew-gross/2.1.3
Changelog and package.json for 2.1.3
2016-02-24 16:47:21 -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
7bbe1665f8 Merge pull request #637 from ParsePlatform/nlutsenko.files.expand
Fix missing file URL for short-circuited _User in RestWrite.
2016-02-24 15:57:12 -08:00
Nikita Lutsenko
970682a499 Merge pull request #636 from ParsePlatform/andrewi.ship_less
Move npmignore blacklist to package.json whitelist
2016-02-24 15:28:28 -08:00
Nikita Lutsenko
9d342a8aee Fix missing file URL for short-circuited _User in RestWrite. 2016-02-24 15:18:40 -08:00
Andrew Imm
f3286f9d16 Move npmignore blacklist to package.json whitelist 2016-02-24 14:47:27 -08:00
Drew
f2f42fe66d Update CHANGELOG.md 2016-02-24 13:33:17 -08:00
Nikita Lutsenko
f461f2abb3 Merge pull request #632 from ParsePlatform/nlutsenko.users.login
Send a sessionToken back on /users/me.
2016-02-24 13:16:08 -08:00
Drew Gross
e15f9dc8b1 Changelog and package.json for 2.1.3 2016-02-24 13:11:33 -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
a41ca281f0 Merge pull request #619 from ParsePlatform/nlutsenko.triggers.inflate
Improve beforeSave triggers for newly created objects.
2016-02-24 10:27:23 -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
39dce71e4f Add a test to validate pointer mutation in beforeSave hooks. 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
63a7e854fd Merge pull request #608 from drew-gross/throw-no-server-url
Require a server URL
2016-02-23 22:11:16 -08:00
Nikita Lutsenko
24a25d14b3 Unify all beforeSave with custom hooks into a single describe(), reset the global state on before/after test. 2016-02-23 22:01:12 -08:00
Nikita Lutsenko
69efeac1a3 Enable strict mode in ParseAPI.spec.js. 2016-02-23 22:00:48 -08:00
Nikita Lutsenko
4643be7086 Remove duplicate import in helper.js. 2016-02-23 22:00:25 -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