Commit Graph

65 Commits

Author SHA1 Message Date
Drew Gross
81519852d1 Report Server Version so Dashboard can consume it 2016-03-02 16:16:16 -08:00
Peter Shin
66eaf6c6ef Features Endpoint for Dashboard. 2016-03-01 12:21:57 -08:00
Nikita Lutsenko
63a534f31d Make GridStoreAdapter persist it's own connection and don't talk to config.database. 2016-02-29 21:00:04 -08:00
Florent Vilmart
28d1a8afe4 Sends 404 when parseServerURL is not set on public pages
- throws when verifyEmail = true && publicServerURL not set
2016-02-29 20:51:13 -05:00
Florent Vilmart
6aa38ea8ca Improves validation of email parameters in Configuration 2016-02-29 19:26:50 -05:00
Florent Vilmart
3ecaa0aa4b Sends verification email upon set and update email
- nits
2016-02-29 18:58:34 -05:00
Florent Vilmart
91d9724182 Adds reset password logic 2016-02-29 18:55:15 -05:00
Florent Vilmart
f3bb2c99e0 Refactor and advancements
- Drops mailController, centralized in UserController
- Adds views folder for change_password
- Improves PromiseRouter to support text results
- Improves PromiseRouter to support empty responses for redirects
- Adds options to AdaptableController
- UsersController gracefully fails when no adapter is set
- Refactors GlobalConfig into same style for Routers
2016-02-29 18:55:14 -05:00
Florent Vilmart
7dd765256c Refactors verify_email, adds public html 2016-02-29 18:52:11 -05:00
Florent Vilmart
0b307bc22f Improves AdapterLoader, enforces configuraiton on Adapters 2016-02-29 18:52:10 -05:00
Drew Gross
8dc37b9d30 Exploring the interface of a mail adapter
Add some tests and demonstrate the adapter loading interface
2016-02-29 18:52:10 -05:00
Nikita Lutsenko
d78c2746e9 Rename ExportAdapter to DatabaseController. 2016-02-29 12:50:47 -08:00
Nikita Lutsenko
d30c3e90df Remove useless method in index.js. 2016-02-26 22:48:53 -08:00
Nikita Lutsenko
9bc636dc5c Cleanup, remove unusued methods and unify cache.js. 2016-02-26 22:48:53 -08:00
Nikita Lutsenko
0cf3f56b00 Remove dependency from DatabaseAdapter on cache.js. 2016-02-26 20:46:49 -08: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
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
Peter J. Shin
5fae41183e Updating comments for loggerAdapter. 2016-02-24 11:15:26 -08:00
Nikita Lutsenko
7a14695da8 Restrict triggers on _Session class. 2016-02-24 01:24:16 -08:00
Drew Gross
2dc080fd00 Require a server URL 2016-02-23 21:51:04 -08:00
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