Commit Graph

443 Commits

Author SHA1 Message Date
Drew Gross
2dc080fd00 Require a server URL 2016-02-23 21:51:04 -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
Héctor Ramos
3f22d060eb Merge pull request #577 from ParsePlatform/readme
Move advanced configuration docs to the Parse Server Guide
2016-02-22 14:34:12 -08:00
Drew
57bfbfc76d Merge pull request #574 from ParsePlatform/fosco.tombstone
Added _tombstone as an ignored key in untransformObject
2016-02-22 14:13:07 -08:00
Nikita Lutsenko
966d10ca43 Allow uploading files without content-type. 2016-02-22 14:07:58 -08:00
Héctor Ramos
303388d585 Remove examples/ directory 2016-02-22 13:39:57 -08:00
Héctor Ramos
0fe2c64288 Additional README organization. 2016-02-22 13:34:26 -08:00
Florent Vilmart
cc3d93f5d9 improves coverage and API of httpRequest 2016-02-22 15:47:30 -05:00
Nikita Lutsenko
bbc3d36d51 Merge pull request #573 from ParsePlatform/nlutsenko.flakytest
Disable flaky test that fails on Travis-CI.
2016-02-22 12:18:48 -08:00
Fosco Marotto
d7550710a5 Added _tombstone as an ignored key in untransformObject 2016-02-22 12:14:45 -08:00
Nikita Lutsenko
fcf745ad1d Disable flaky test that fails on Travis-CI. 2016-02-22 12:01:55 -08:00
Nikita Lutsenko
dddb6795cf Merge pull request #549 from flovilmart/refactors-adapter-controller
Improves Controller and Adapter relationship
2016-02-22 11:43:38 -08:00
Florent Vilmart
045caca946 private _adapter, ES6 setters and getters 2016-02-22 14:12:51 -05:00
Florent Vilmart
23e55e941e Splits Adapter loading from AdaptableController
- Adds dynamic prototype conformance check upon setting adapter
- Throws when adapter is undefined, invalid in controller
2016-02-21 23:47:07 -05:00
Nikita Lutsenko
0dda59ff73 Merge pull request #544 from ParsePlatform/nlutsenko.flow
Add ability to use Flow type checking.
2016-02-21 18:15:46 -08:00
Florent Vilmart
33fa5a7b2a Adds setDefaultAdapter 2016-02-21 17:04:34 -05:00
Florent Vilmart
d504681589 Improves Controller and Adapter relationship
- Controllers that have adapters are AdaptableControllers
- AdaptableController is responsible to instantiate the proper adapter if needed (string, function or BaseAdapter)
- BaseAdapter is the base class for adapters, allows skipping when passed directly to the controller
2016-02-21 17:04:34 -05:00
Nikita Lutsenko
b774c568e0 Annotate cryptoUtils with Flow. 2016-02-21 01:52:53 -08:00
Nikita Lutsenko
4097f47b1d Add and enable Flow type checking. 2016-02-21 01:52:17 -08:00
Nikita Lutsenko
bd548786ea Merge pull request #543 from ParsePlatform/nlutsenko.query
Fix passing parameters via URL query when querying for objects.
2016-02-21 00:41:06 -08:00
Nikita Lutsenko
04795ff165 Fix passing parameters via URL query when querying for objects. 2016-02-21 00:15:37 -08:00
Nikita Lutsenko
fb1c6bb3fb Add babel-polyfill to index.js. 2016-02-20 23:45:54 -08:00
Nikita Lutsenko
9d9052f2e5 Merge pull request #542 from ParsePlatform/nlutsenko.dev
Fix relative path replacement in bin/dev.
2016-02-20 23:20:00 -08:00
Nikita Lutsenko
64d92daefa Fix relative path replacement in bin/dev. 2016-02-20 22:54:18 -08:00
Nikita Lutsenko
6f4a7a6ff2 Merge pull request #534 from flovilmart/refactor-to-routers
Refactors Controllers to split Controllers and Routers
2016-02-20 15:29:06 -08:00
Fosco Marotto
d9b94c78ef Merge pull request #532 from flovilmart/sub-keys-column-names-restrictions
Fix problems with _keys in nested objects
2016-02-20 11:55:46 -08:00
Florent Vilmart
fbb5e448e6 refactors LoggerController with LogsRouter 2016-02-20 13:52:36 -05:00
Florent Vilmart
305879a251 Refactors FilesController in FilesRouter and FilesController 2016-02-20 13:52:35 -05:00
Florent Vilmart
b490688652 Splits Push handling in Router and Controller
- Improves tests and coverage, fix bugs
2016-02-20 10:51:56 -05:00
Florent Vilmart
fbdd89c2d1 Fix problems with _keys in nested objects 2016-02-20 09:45:09 -05:00
Nikita Lutsenko
eb0340585f Merge pull request #501 from flovilmart/app-agnostic-controllers
Refactors PushController and FilesController to support multiple apps
2016-02-19 21:25:56 -08:00
Florent Vilmart
3c4d5159b4 Refactors routers 2016-02-20 00:08:54 -05:00
Florent Vilmart
067946c66c Refactors PushController and FilesController to support multiple apps 2016-02-19 23:49:12 -05:00
Drew
8aaf8f2ff2 Merge pull request #498 from drew-gross/test-configurations
Add ability to test multiple server configurations
2016-02-19 19:28:30 -08:00
Drew Gross
5378de7398 Add server URL to tests 2016-02-19 19:00:43 -08:00
Nikita Lutsenko
78c5292bc3 Merge pull request #515 from flovilmart/receipt-validation
Adds receipt validation endpoint
2016-02-19 17:41:16 -08:00
Drew
941984f2e0 Merge pull request #390 from workslon/hotfix/access-control-allow-headers-response-header
Fix Access-Control-Allow-Headers to match exact headers
2016-02-19 14:42:13 -08:00