Commit Graph

1844 Commits

Author SHA1 Message Date
Florent Vilmart
bd6816c14c Release 2.5.0 (#3957)
* Update package.json

* Update CHANGELOG.md
2017-06-26 10:40:20 -04:00
Denis Trofimov
91193c77eb fix(vkontakte auth adapter): replace deadlocked promise with a live one (#3956) 2017-06-26 08:33:08 -04:00
Tyler Brock
fedb381925 Remove warning for invalid MongoDB driver option (#3952) 2017-06-25 13:00:54 -04:00
greenkeeper[bot]
d094a70a3b fix(package): update pg-promise to version 5.9.7 (#3953) 2017-06-25 12:58:04 -04:00
Florent Vilmart
31e2288c3d fix(package): update pg-promise to version 5.9.6 (#3949)
Closes #3943
2017-06-25 13:18:35 +03:00
greenkeeper[bot]
a48044c244 fix(package): update commander to version 2.10.0 (#3948) 2017-06-23 12:34:55 -04:00
Antonio Davi Macedo Coelho de Castro
b6298feaa7 Read preference option per query (#3865) 2017-06-21 23:18:10 +03:00
Antonio Davi Macedo Coelho de Castro
422723fa31 Fix beforeQuery trigger when getting objects through GET API (#3862) 2017-06-21 08:24:51 -04:00
Antonio Davi Macedo Coelho de Castro
a0d1a3517f fix(DatabaseController): Do not match any entry when searching for null in relation field (#3924) 2017-06-21 08:23:20 -04:00
Antonio Davi Macedo Coelho de Castro
4509d25471 Endpoints for audiences CRUD (#3861) 2017-06-21 08:54:13 +03: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
Florent Vilmart
16954c2f74 fix(#3898): session token deletion (#3937)
* fix(#3898): session token deletion

* nits
2017-06-16 12:56:28 -04:00
Florent Vilmart
9d79ba1ccb Server info proper values (#3933)
* Adds failing test

* Makes sure booleans are proper booleans

* nits

* Double negate so it also takes care of null
2017-06-15 15:09:33 -04:00
IlyaDiallo
92fa6f2b8a The 'beforeSave' trigger breaks the dot notation for subdocuments (cf #567) (#3912)
* The 'beforeSave' trigger breaks requests using the dot notation for subdocuments (cf #567)

* Convert 'var' to 'let' / 'const'

* Convert 'var' to 'const'
2017-06-14 21:51:41 +03:00
Florent Vilmart
f0949a1310 feat: Job Scheduling (#3927)
* Adds back _JobSchedule as volatile class

* wip

* Restores jobs endpoints for creation, update and deletion

* Adds tests

* Fixes postgres tests

* Enforce jobName exists before creating a schedule
2017-06-14 13:07:00 -04:00
Florent Vilmart
9256b2d7e6 chore: fix flaky test (#3928)
* logOut is async so handle with a promise
2017-06-13 23:54:15 -04:00
Diamond Lewis
8b21d5ab80 feat: Full Text Search Support (#3904)
* Full Text Support

* invalid input test

* Support for sort

* index exist test

* clean up

* better error messaging

* postgres support

* error instructions for $diacritic and $case sensitivity

* nit

* nit

* nit

* separate test for full text
2017-06-13 21:42:59 -04:00
Arthur Cinader
5f991e90fb chore: put loose test into a describe block where it belongs... (#3920) 2017-06-13 10:40:44 -04:00
Antonio Davi Macedo Coelho de Castro
4aa4ebe807 chore: adds test for multiple dont select query (#3799) (#3885) 2017-06-13 10:40:17 -04:00
greenkeeper[bot]
58ca561ac4 chore(package): update babel-core to version 6.25.0 (#3917) 2017-06-13 10:38:47 -04:00
greenkeeper[bot]
3c845878ac chore(package): update cross-env to version 5.0.1 (#3914) 2017-06-13 10:38:29 -04:00
greenkeeper[bot]
2f1b28c456 fix(package): update pg-promise to version 5.9.1 (#3922) 2017-06-13 10:38:12 -04:00
greenkeeper[bot]
e3d3daa142 fix(package): update lru-cache to version 4.1.0 (#3910) 2017-06-13 10:37:48 -04:00
Worathiti Manosroi
7d70af60ba fix: volatileClasses are masterKey only (#3916)
* volatileClass should respect the schema if defined

* masterKey only for the volatileClasses

* add some test …
2017-06-13 10:36:40 -04:00
greenkeeper[bot]
c4fbc1f358 fix(package): update pg-promise to version 5.9.0 (#3908) 2017-06-04 21:56:29 -04:00
greenkeeper[bot]
b98fbe495b fix(package): update mongodb to version 2.2.28 (#3899) 2017-06-04 10:25:25 +03:00
greenkeeper[bot]
8cb9706eaa fix(package): update pg-promise to version 5.8.2 (#3902) 2017-06-04 09:41:43 +03:00
Ruben
ee23fc3983 Adding logLevel info to README (#3901)
* Adding logLevel info to README

* More detailed description as recommended

* Inline link added for winston

* small text change
2017-06-04 08:54:39 +03:00
greenkeeper[bot]
9e2afca092 chore(package): update nyc to version 11.0.2 (#3903) 2017-06-02 21:01:21 -04:00
Diamond Lewis
4b16a72992 feat(postgres): Add Bytes to Support (#3894)
* Add bytes to schema

* postgres support

* test cases

* bytes work parse object
2017-05-31 22:23:49 -04:00
Diamond Lewis
e8be98ded2 chore(Query): $withinPolygon: 3 point minimum and boundary testing. (#3889)
* added 3 point minimum constraint to within-polygon

* test nit

* test for open and closed paths
2017-05-31 18:08:37 -04:00
greenkeeper[bot]
9ad8697c7a fix(package): update pg-promise to version 5.8.1 (#3883) 2017-05-30 10:00:28 +03:00
Antonio Davi Macedo Coelho de Castro
6cc99aa193 fix(Restwrite): Do not send verification email if users is authenticated using some auth provider (#2660) (#3882) 2017-05-29 20:06:40 -04:00
Florent Vilmart
31744c59ef Release 2.4.2 (#3878)
*  Release 2.4.2

* reflects latest pg-promise version
2017-05-29 11:03:51 +03:00
Florent Vilmart
9a6fb82b68 chore(package): update pg-promise to version 5.7.2 (#3879) 2017-05-28 22:35:02 -04:00
Diamond Lewis
b692e8578d fix(Postgres): Support for GeoPoint equality query (#3875)
* Postgres doesn't support this query type yet

* removing conflict

* near test

* remove trailing space
2017-05-28 20:42:51 -04:00
Florent Vilmart
bd2ea87c1d docs: Improves explanations on Postgres testing (#3873)
* Update CONTRIBUTING.md

* Update CONTRIBUTING.md
2017-05-28 20:36:35 -04:00
Florent Vilmart
c2abbae92d fix(Users): Makes sure verifying emails triggers hooks and liveQuery (#3851)
* Use RestWrite when verifying emails so hooks are called (as master)

* Fixes tests for postgres

* nit

* Makes rest.update support a full where instead of objectId

* Use rest.update to guaranteed proper beforeSave and liveQuery calls
2017-05-28 20:34:49 -04:00
Florent Vilmart
73aafa2d24 fix(tests): Stabilize flaky tests (#3876)
* Longer TTL, shorter wait

* Makes sure we wait for the logout

- Parse.User.logOut is async and was making a test flaky
2017-05-28 20:01:33 -04:00
Florent Vilmart
57efd89b3d fix(AuthAdapters): Do not revalidate auth data if hasn't changed (#3867) (#3872)
* Adds test for #3867

* Always Skip authData validation when nothing is mutated
2017-05-28 17:50:16 -04:00
Florent Vilmart
38a525ba5f chore(testing): only use TESTING=1 as the testing flag (#3877) 2017-05-29 00:04:25 +03:00
Diamond Lewis
c99fdea6fb feat(ParseQuery): Added 'withinPolygon' support for GeoPoints (#3866)
* Added 'withinPolygon' to query

* Unit test for withinPolygon

* More Unit Test

* withinPolygon fix for Postgres

* Fix nit

nit?
2017-05-28 12:42:16 -04:00
Diamond Lewis
a380fcf2c7 fix(postgres): Geopoint issue #3285 (#3874) 2017-05-28 12:41:09 -04:00
Vitaly Tomilov
d149d16fce fix(PostgresStorageAdapter): Use transactions when deleting classes (#3869)
* Update PostgresStorageAdapter.js

refactoring `deleteClass`.

* Update PostgresStorageAdapter.js
2017-05-28 10:48:32 -04:00
Serge Bornow
aedaae1f23 chore(dependencies): Bump to Mongodb client lib (#3868) 2017-05-27 15:52:36 -04:00
Vitaly Tomilov
14e2d26d12 chore(PostgresStorageAdapter): nits (#3870)
refactoring method + removing a comment that's no longer needed.
2017-05-27 15:51:09 -04:00
Anthony Mosca
1f11ad5d74 chore(PushController): Fix push controller tests. (#3853) 2017-05-23 20:22:35 -04:00
Florent Vilmart
67a1da8f9f Release 2.4.1 (#3845) 2017-05-22 13:21:16 -04:00
Florent Vilmart
b5a2042d12 Fixes issue #3835 affecting relation updates (#3836)
* Adds test for 3835

* Makes sure we run relational updates AFTER validating access to the object

* Always run relation udpates last
2017-05-22 12:34:00 -04:00
Felipe Andrade
03b6449fe1 [PushController] Fixes issue with undefined push_time (#3717) (#3824)
* Fixes #3717

This fixes PR #3717. Sending push with parse-server@2.4.0 returns error
504 GATEWAY_TIMEOUT. This happens when push_time is not set (default).

* Fix lint issues

* Fix in PushController and add tests

Add a test to check push_time format and if it should schedule push
when the parse-server is configured
2017-05-20 12:07:45 -04:00