Commit Graph

41 Commits

Author SHA1 Message Date
Florent Vilmart
61e8f2aeea Adds maxUploadSize option 2016-02-23 11:49:21 -05: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
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
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
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
fb1c6bb3fb Add babel-polyfill to index.js. 2016-02-20 23:45:54 -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
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
Nikita Lutsenko
78c5292bc3 Merge pull request #515 from flovilmart/receipt-validation
Adds receipt validation endpoint
2016-02-19 17:41:16 -08:00
Drew Gross
f8b1d9f303 Merge remote-tracking branch 'upstream/master' into test-configurations 2016-02-19 12:53:53 -08:00
Fosco Marotto
3087b2121e Merge pull request #464 from simonbengtsson/master
Don't use https://api.parse.com/1 as default serverURL
2016-02-19 12:01:48 -08:00
Florent Vilmart
9c477907bf Adds receipt validation endpoint 2016-02-19 13:06:02 -05:00
Drew Gross
c9dfac277f Add ability to test multiple server configurations 2016-02-18 18:44:04 -08:00
Simon Bengtsson
4ecf0ac10c Don't use https://api.parse.com/1 as default serverURL 2016-02-17 20:30:43 +01:00
Florent Vilmart
e010fd82f2 Generic OAuth provider support
Refactors facebook login into oauth generic login

Adds additional oauth2 providers

adds ability to pass an oAuth validator in the config

Adds Twitter validation support + OAuth 1 client

Support auth_token instead of access_token for twitter

Improves code coverage of OAuth

Adds validation of oauth provider structures

Better coverage of the OAuth spec

100% coverage of OAuth1.js

Adds passing auth_token_secret for Twitter auth.

Refactors auth validation methods to include authData parameter

- Adds ability to extens oauth validator through configuration
- Adds ability to extend oauth validator through external module (file or package)
- Adds more tests
- Adds tests to login with custom auth provider

Adds more tests for REST API

fixes twitter auth_token

f
2016-02-17 08:06:30 -05:00
Florent Vilmart
c0bd5d2036 adds ability to disable anonymous users 2016-02-15 22:44:50 -05:00
Peter J. Shin
23c12846af Merge pull request #243 from ParsePlatform/peterjs.logs
Logs support.
2016-02-12 10:21:43 -08:00
Peter Shin
dc4859f561 Logs support.
Added /logs endpoint with basic logger and LoggerAdapter.
2016-02-12 08:21:30 -08:00
Nikita Lutsenko
62e671dd9e Refactor and deduplicate RolesRouter, fix missing query on /roles. 2016-02-11 23:27:54 -08:00
Nikita Lutsenko
99ac6c1161 Refactor and deduplicate logic in SessionsRouter. 2016-02-11 23:17:38 -08:00
Nikita Lutsenko
ab841b5ab4 Refactor and deduplicate logic in UsersRouter. 2016-02-11 23:17:38 -08:00
Nikita Lutsenko
6a127447ad Cleanup duplicate logic and refactor installations.js into InstallationsRouter. 2016-02-11 13:50:48 -08:00
Nikita Lutsenko
1f660d9f7c Restructure ClassesRouter as a class. 2016-02-11 13:41:06 -08:00
wangmengyan95
06b1ee2362 Make push follow controller and adapter style 2016-02-11 02:56:52 -08:00
wangmengyan95
6afaeb808b Add support for push 2016-02-11 02:54:34 -08:00
Peter Theill
1d576bcc9f Update tests and ensure tests are run regardless of exp flag 2016-02-11 01:32:38 +01:00
Peter Theill
fb6af2cfa0 Hide /config behind PARSE_EXPERIMENTAL_CONFIG_ENABLED flag 2016-02-11 01:06:25 +01:00
Peter Theill
ba68a7969e Merge remote-tracking branch 'github/master' 2016-02-11 00:44:13 +01:00
Nikita Lutsenko
07c9c1d648 Cleanup and modernize S3Adapter to ES6 syntax. 2016-02-09 21:48:05 -08:00
Nikita Lutsenko
8ca25cbabe Moved getting the url for every file from RestQuery into FilesController. 2016-02-09 19:31:29 -08:00
Nikita Lutsenko
53b2d4e176 Refactor files.js into FilesController. 2016-02-09 14:38:34 -08:00
Peter Theill
7fa4b3bc07 Merged with master 2016-02-09 10:23:55 +01:00
Nikita Lutsenko
53fdc9bdeb Refactor FilesAdapter to ES6 style. 2016-02-09 00:05:27 -08:00
Nikita Lutsenko
b989bbcaae Move all source files into 'src' folder. 2016-02-08 19:41:07 -08:00