Diamond Lewis
e6ac3b6932
fix(prettier): Properly handle lint-stage files ( #6970 )
...
Now handles top level files and recursive files in folders.
Set max line length to be 100
2020-10-25 15:06:58 -05:00
Antoine Cormouls
62048260c9
GraphQL: Optimize queries, fixes some null returns (on object), fix stitched GraphQLUpload ( #6709 )
...
* Optimize query, fixes some null returns, fix stitched GraphQLUpload
* Fix authData key selection
* Prefer Iso string since other GraphQL solutions use this format
* fix tests
Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com >
2020-10-01 15:19:26 -07:00
yog27ray
34614e0f78
Pass context in beforeDelete, afterDelete, beforeFind and Parse.Cloud.run. ( #6666 )
...
* add context for following hooks.
1. beforeDelete
2. afterDelete
3. beforeFind
4. Cloud Function
* revert un-necessary code change.
* fix: failing test cases.
* fix: failing test cases.
* fix: failing test cases.
* fix: failing test cases.
* fix: failing test cases.
* fix: failing test cases.
* fix: failing test cases.
* review changes
* revert changes
* revert changes
* review changes
* lint changes
* review changes
2020-07-10 22:47:27 +02:00
Manuel
f095dffcc3
fix context for cascade-saving and saving existing object ( #6735 )
...
* added test cases
* fixed unparsed context when updating object
* fixed context inheritance for cascade-saved objects
* upgraded parse dependecy to 2.14.0
* rebuild
* removed superfluous comments
* undo lint changes
2020-07-02 14:37:41 -05:00
Antonio Davi Macedo Coelho de Castro
14a8d333a3
FIX: Transaction was aborting before all promises have either resolved or rejected ( #5878 )
2019-07-31 18:34:49 -07:00
Antonio Davi Macedo Coelho de Castro
8b97c1380b
Batch transaction ( #5849 )
...
* Batch transaction boilerplate
* Refactoring transaction boilerplate
* Independent sessions test
* Transactions - partial
* Missing only one test
* All tests passing for mongo db
* Tests on Travis
* Transactions on postgres
* Fix travis to restart mongodb
* Remove mongodb service and keep only mongodb runner
* MongoDB service back
* Initialize replicaset
* Remove mongodb runner again
* Again only with mongodb-runner and removing cache
* Trying with pretest and posttest
* WiredTiger
* Pretest and posttest again
* Removing inexistent scripts
* wiredTiger
* One more attempt
* Trying another way to run mongodb-runner
* Fixing tests
* Include batch transaction on direct access
* Add tests to direct access
2019-07-31 02:41:07 -07:00
Florent Vilmart
d83a0b6808
Use Prettier JS ( #5017 )
...
* Adds prettier
* Run lint before tests
2018-09-01 13:58:06 -04:00
greenkeeper[bot]
e94991b368
Update dependencies to enable Greenkeeper 🌴 ( #3940 )
...
* chore(package): update dependencies
* docs(readme): add Greenkeeper badge
* Fix indent issues with eslint 4.0
see http://eslint.org/docs/user-guide/migrating-to-4.0.0\#-the-indent-rule-is-more-strict
2017-06-20 09:15:26 -07:00
Arthur Cinader
4cb6e7d209
Add lint rule space-infix-ops ( #3237 )
...
Disallows: 1+1. Must be 1 + 1.
2017-01-11 12:31:40 -08:00
Arthur Cinader
ca286b7108
Enable prefer-const lint rule ( #3202 )
2016-12-07 18:17:05 -05:00
Arthur Cinader
11f7712651
Add no trailing whitespace and force eol at end of file. ( #3154 )
2016-12-01 13:24:46 -05:00
Steven Shipton
fbb2b086af
ensure batch routing paths are posix ( #3138 )
2016-11-29 09:52:17 -05:00
Florent Vilmart
d800ff85e2
Enhanced support for batch endpoints ( #3042 )
...
* Allow to have different endpoint on publicserverURL and serverURL when batching
* nits
2016-11-24 20:14:12 -05:00
Florent Vilmart
8c2c76dd26
Adds liniting into the workflow ( #3082 )
...
* initial linting of src
* fix indent to 2 spaces
* Removes unnecessary rules
* ignore spec folder for now
* Spec linting
* Fix spec indent
* nits
* nits
* no no-empty rule
2016-11-24 15:47:41 -05:00
Florent Vilmart
cb7b54941b
Direct Access to parse-server ( #2316 )
...
* Adds ParseServerRESTController experimental support
* Adds basic tests
* Do not create sessionToken when requests come from cloudCode #1495
2016-09-09 15:18:37 -04:00
Florent Vilmart
2498a954ce
Exposes clientSDK into RestQuery, RestWrite and rest
2016-07-12 10:06:13 -04:00
Nikita Lutsenko
b989bbcaae
Move all source files into 'src' folder.
2016-02-08 19:41:07 -08:00