Commit Graph

478 Commits

Author SHA1 Message Date
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
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
Drew
18d7a7a2af Merge pull request #586 from ParsePlatform/fosco.emptyACL
Fixed ACL creation for #504.
2016-02-22 21:57:31 -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
Florent Vilmart
48dcfe37e7 Removes shared code in PushAdapter, replaces AdapterLoader.load by loadAdapter 2016-02-22 18:31:10 -05:00
Nikita Lutsenko
8ce8e2bbe0 Merge pull request #579 from ParsePlatform/nlutsenko.files.contentType
Allow uploading files without Content-Type.
2016-02-22 14:44:38 -08:00
Ilya Diallo
24824757a7 #510 Detect when the port you are trying to run the server on is already in use. 2016-02-22 23:38:29 +01:00