Nikita Lutsenko
172da3aaa3
Move HooksController to use MongoCollection instead of direct Mongo access.
2016-03-04 19:21:34 -08:00
Florent Vilmart
a44b1d9f76
Improves documentation, add loading tests
2016-03-04 18:09:54 -05:00
Florent Vilmart
069605e9c3
Improves loading of Push Adapter, fix loading of S3Adapter
...
- Adds environment variables to configure S3Adapter
2016-03-04 18:08:35 -05:00
Mike McDonald
1dc346715d
Merge branch 'master' of https://github.com/ParsePlatform/parse-server into mcdonald-gcs-adapter
...
Get GCSAdapter up to snuff with FilesController + FilesControllerTestFactory
* 'master' of https://github.com/ParsePlatform/parse-server: (102 commits)
Remove duplicated instructions
Release and Changelog for 2.1.4
fixes missing coverage with sh script
Fix update system schema
Adds optional COVERAGE
Allows to pass no where in $select clause
Sanitize objectId in
Fix delete schema when actual collection does not exist
Fix replace query overwrite the existing query object.
Fix create system class with relation/pointer
Use throws syntax for errors in SchemasRouter.
Completely migrate SchemasRouter to new MongoCollection API.
Add tests that verify installationId in Cloud Code triggers.
Propagate installationId in all Cloud Code triggers.
Add test
expiresAt should be a Date, not a string. Fixes #776
Fix missing 'let/var' in OneSignalPushAdapter.spec.
Don't run any afterSave hooks if none are registered.
Fix : remove query count limit
Flatten custom operations in request.object in afterSave hooks.
...
2016-03-03 22:36:25 -08:00
Nikita Lutsenko
244009923f
Add findOneAndUpdate to MongoCollection.
2016-03-02 00:29:18 -08:00
Nikita Lutsenko
e39286d88b
Implement findAndDelete in MongoCollection and move SchemasRouter to it.
2016-03-02 00:28:37 -08:00
Nikita Lutsenko
9538a7dab5
Make parts of SchemasRouter use adaptiveCollection.
2016-03-01 22:36:23 -08:00
Nikita Lutsenko
49994b6e87
Add MongoCollection and adaptiveCollection abstraction to MongoAdapter.
2016-03-01 22:36:23 -08:00
Florent Vilmart
a79fb3a64c
Merge pull request #742 from ParsePlatform/flovilmart.hotfixFilesAdapter
...
documents createFile
2016-03-01 18:34:01 -05:00
Drew
72e6eae727
Merge pull request #739 from ParsePlatform/peterjs.featuresEndpoint
...
Features Endpoint for Dashboard.
2016-03-01 15:08:15 -08:00
Florent Vilmart
ad2e3c9b09
documents createFile
2016-03-01 15:46:36 -05:00
Peter Shin
66eaf6c6ef
Features Endpoint for Dashboard.
2016-03-01 12:21:57 -08:00
Florent Vilmart
7257ee858b
Moves some logic from FilesRouter to FilesController for content-type and filename
2016-03-01 10:14:03 -05:00
Florent Vilmart
78d380df72
Adds content type support in S3
2016-03-01 09:28:17 -05:00
Florent Vilmart
9287afc3c2
refactors filesAdapter tests in factories
2016-03-01 09:02:36 -05:00
Nikita Lutsenko
0b990b671a
Merge pull request #729 from ParsePlatform/nlutsenko.decouple.schema
...
Decouple and remove direct mongo access from Schema/SchemaRouter.
2016-02-29 23:53:01 -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
Nikita Lutsenko
2733c0924b
Remove direct mongo access from Schema.spec.js.
2016-02-29 19:47:08 -08:00
Nikita Lutsenko
028ef2a7b2
Remove dependency on raw mongo from SchemaRouter.delete.
2016-02-29 19:47:08 -08:00
Florent Vilmart
2183b0be82
Allows very simple mail adapters
...
- Fix nasty bug when updating users email and sending verification
2016-02-29 18:58:35 -05:00
Florent Vilmart
3ecaa0aa4b
Sends verification email upon set and update email
...
- nits
2016-02-29 18:58:34 -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
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
eb892830e6
Move and cleanup getting collections into MongoStorageAdapter.
2016-02-29 12:51:43 -08:00
Nikita Lutsenko
7215300c1e
Move Mongo database property directly to mongo adapter.
2016-02-29 12:50:47 -08:00
Nikita Lutsenko
997da898eb
Split mongodb connection creation from DatabaseController.
2016-02-29 12:50:47 -08:00
Nikita Lutsenko
d78c2746e9
Rename ExportAdapter to DatabaseController.
2016-02-29 12:50:47 -08:00
Mike McDonald
360cc3461d
Added tests! Note that tests won't run without a GCP Project, key, and GCS bucket
2016-02-27 21:27:32 -08:00
Mike McDonald
deafb680ae
Removed orphaned "options"
2016-02-27 16:47:26 -08:00
Mike McDonald
2520e7b6c6
Initial commit of Google Cloud Storage File Adapter
2016-02-27 16:33:34 -08:00
Florent Vilmart
48dcfe37e7
Removes shared code in PushAdapter, replaces AdapterLoader.load by loadAdapter
2016-02-22 18:31:10 -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
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
Patrick Pelletier
5f757b0741
Remove default bucket in S3Adapter
2016-02-18 17:26:32 -08:00
Fosco Marotto
5145964407
Merge pull request #405 from gdeglin/master
...
Adding OneSignal Push Adapter
2016-02-16 05:00:47 -08:00
Nikita Lutsenko
2570899272
Fix invalid s3 files url.
2016-02-14 19:59:44 -08:00
George Deglin
2ff6eff63a
Added OneSignalPushAdapter spec and fix a bug in OneSignalPushAdapter.
2016-02-13 23:38:39 -08:00
George Deglin
5a628516a6
OneSignalPushAdapter now correctly sends APNS and GCM notifications and handles errors
2016-02-13 18:26:17 -08:00
George Deglin
a1b24da3e7
WIP Add OneSignal Adapter
2016-02-12 18:32:39 -08:00
Peter J. Shin
9248f9af6d
Fixing comment.
2016-02-12 17:05:57 -08:00
Peter Shin
dc4859f561
Logs support.
...
Added /logs endpoint with basic logger and LoggerAdapter.
2016-02-12 08:21:30 -08:00
Wes Thomas
a75376523c
file DELETE support
2016-02-11 21:21:42 -05:00
wangmengyan95
273a20767b
Change APNS multiple certs handling
2016-02-11 12:28:45 -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
Nikita Lutsenko
07c9c1d648
Cleanup and modernize S3Adapter to ES6 syntax.
2016-02-09 21:48:05 -08:00