Commit Graph

2137 Commits

Author SHA1 Message Date
Eduard Bosch Bertran
c0e3672e32 New query condition support to match all strings that starts with some other given strings (#3864)
* feat: Convert $regex value to RegExp object

* feat: Add lib folder

* Revert "feat: Add lib folder"

This reverts commit c9dfbcbf699ff220baeb2df5586a944d19808e5e.

* feat: Add $regex test in $all array

* test: Test regex with $all only in MongoDB

* Revert "test: Test regex with $all only in MongoDB"

This reverts commit d7194c7869dee98d924fbc2502593a198385dba1.

* feat: Add tests for containsAllStartingWith

* feat: Add postgres support

Thanks to @dplewis

* feat: Check that all values in $all must be regex or none

* test: Check that $all vaules must be regex or none

* feat: Update tests to use only REST API

* refactor: Move $all regex check to adapter

* feat: Check for valid $all values in progres

* refactor: Update function name

* fix:  Postgres $all values regex checking

* fix: Check starts with as string

* fix: Define contains all regex sql function

* fix: Wrong value check

* fix: Check valid data

* fix: Check regex when there is only one value

* fix: Constains all starting with string returns empty with bad params

* fix: Pass correct regex value

* feat: Add missing tests

* feat: Add missing tests

* feat: Add more tests

* fix: Unify MongoDB and PostgreSQL functionality

* fix: Lint checks

* fix: Test broken

$regex in $all list must be { $regex: "string" }

* test for empty $all
2018-05-15 20:42:32 -05:00
Joseph Frazier
2c357df33e Fix typo: "requrest" -> "request" (#4761) 2018-05-13 13:49:07 -04:00
Florent Vilmart
3999de7e0b Update issue templates 2018-05-08 16:40:07 -04:00
Florent Vilmart
a3e5b20536 Bumps @parse/simple-mailgun-adapter (#4753) 2018-05-08 13:48:51 -04:00
Florent Vilmart
bb1641419f fix(package): update mime to version 2.3.1 (#4721)
Closes #4716
2018-05-01 14:02:56 -04:00
Florent Vilmart
0b69700f18 chore(package): update flow-bin to version 0.71.0 (#4746)
Closes #4730
2018-05-01 13:32:12 -04:00
greenkeeper[bot]
ac2695e196 chore(package): update deep-diff to version 1.0.0 (#4733) 2018-05-01 13:31:47 -04:00
Florent Vilmart
098d085621 fix(package): update request to version 2.85.0 (#4745)
Closes #4634
2018-05-01 13:31:02 -04:00
Vitaly Tomilov
a1f5f37af7 upgrading pg-promise to 8.4.0 (#4736) 2018-05-01 13:27:29 -04:00
greenkeeper[bot]
d48b30c734 fix(package): update mongodb to version 3.0.7 (#4732) 2018-05-01 13:26:04 -04:00
greenkeeper[bot]
3b5dff195f chore(package): update bcrypt to version 2.0.1 (#4735) 2018-05-01 13:25:37 -04:00
Florent Vilmart
fad7b46c65 chore: Fixes issue related to flow types (#4724)
* Fixes issue related to flow types

* Improves type inference on where clause, index

* run parse-server start on liveQueryServer only on mongo, state leaks on postgres
2018-05-01 07:37:38 -04:00
Claire Neveu
04588bccb9 Allow creation of indices on default fields (#4738)
* Allow creation of indexes on default fields

* Update test

* Try to address flaky cache test
2018-04-25 16:06:10 -07:00
oleg
b1017ac17c Send version for Vkontakte API (#4725) 2018-04-15 15:09:28 -04:00
Florent Vilmart
ebf65bfc5d Updates @parse/push-adapter (#4723) 2018-04-15 09:52:18 -04:00
dblythy
22801d2d8f Ensure we respond with invalid password even if email is unverified (#4708) 2018-04-11 15:39:32 -04:00
Florent Vilmart
8380107e6b chore(package): update nodemon to version 1.17.3 (#4712)
Closes #4637
2018-04-10 13:57:11 -04:00
Florent Vilmart
a77b0a238f chore(package): update flow-bin to version 0.69.0 (#4711)
Closes #4651
2018-04-10 13:56:46 -04:00
Florent Vilmart
6c81635188 fix(package): update mongodb to version 3.0.6 (#4710)
Closes #4674
2018-04-10 13:56:05 -04:00
Florent Vilmart
fed40128a5 fix(package): update mime to version 2.2.2 (#4709)
Closes #4687
2018-04-10 13:55:21 -04:00
greenkeeper[bot]
ee151de56a fix(package): update ws to version 5.1.1 (#4691) 2018-04-10 13:55:02 -04:00
Jong Eun Lee
b0bcbd8731 add _password_history to default sensitive data (#4699) 2018-04-10 13:54:35 -04:00
greenkeeper[bot]
06be78802e chore(package): update bcrypt to version 2.0.0 (#4703) 2018-04-10 13:53:49 -04:00
Diamond Lewis
0fd8493929 Fix purging empty class (#4676)
* Fix purging empty class

* remove fit
2018-03-25 08:41:25 -05:00
Diamond Lewis
710848938f PG: Fixes issues comparing to zero or false (#4667)
* initial test

* more test

* clean up

* added correct errors

* test fix

* $eq null test

* type check
2018-03-24 17:45:34 -05:00
Samarth Verma
1a5c05b6a8 Fix organization url (#4639) 2018-03-21 14:54:08 -04:00
greenkeeper[bot]
306826fe0f fix(package): update ws to version 5.1.0 (#4662) 2018-03-21 14:52:50 -04:00
Diamond Lewis
a3230011eb Check for node version in postinstall script (#4657)
Added open collective as a bonus.

I notice a lot of user still fork parse-server-example. They then update to the latest version but their engines.node in package.json stays the same.

This will output directions to support latest version.
2018-03-16 16:09:00 -05:00
SebC
6abf29dd97 Remove FB Graph API version from URL to use the oldest non deprecated version (2.5 for now, which will be deprecated soon) (#4650) 2018-03-15 14:05:41 -05:00
Diamond Lewis
c36ef99368 Fix Aggregate Match Pointer (#4643) 2018-03-14 21:57:30 -05:00
Florent Vilmart
3acb3e7a9b Release 2.7.4 (#4626)
*  Release 2.7.4

* Update package.json

* Update CHANGELOG.md
2018-03-10 16:40:59 -05:00
greenkeeper[bot]
d852cade9c fix(package): update pg-promise to version 8.2.1 (#4624) 2018-03-10 16:23:07 -05:00
Diamond Lewis
c6bc81caef Mongo: Fix reversing polygon coordinates (#4609)
* Fix reversing polygon coordinates

* comments fix

* real data test

* improved tests
2018-03-10 14:27:03 -06:00
Florent Vilmart
c7235829c3 chore(package): update nodemon to version 1.17.1 (#4623)
Closes #4578
2018-03-10 12:03:17 -05:00
Florent Vilmart
0569ddd8d3 Release 2.7.3 (#4622) 2018-03-10 11:58:27 -05:00
greenkeeper[bot]
3f19540f1a chore(package): update cross-env to version 5.1.4 (#4617) 2018-03-10 10:08:41 -05:00
greenkeeper[bot]
c12d430c43 fix(package): update winston to version 2.4.1 (#4618) 2018-03-10 10:08:18 -05:00
greenkeeper[bot]
c737f794a0 fix(package): update pg-promise to version 8.2.0 (#4620) 2018-03-10 10:07:54 -05:00
AreyouHappy
d768211ab9 fix purge command issue affecting readonly masterKey (#4619) (#4621) 2018-03-10 10:07:31 -05:00
greenkeeper[bot]
673039fc5a fix(package): update commander to version 2.15.0 (#4611) 2018-03-08 17:30:59 -05:00
greenkeeper[bot]
e8c8151277 fix(package): update lru-cache to version 4.1.2 (#4614) 2018-03-08 17:30:43 -05:00
greenkeeper[bot]
38f57c3fcb chore(package): update flow-bin to version 0.67.1 (#4612) 2018-03-08 17:30:32 -05:00
Arthur Cinader
d19ac077b6 Live query defaults reference ParseServer instead of LiverQuery server. (#4613)
* fix workding for live query defaults help

* generate the definition file.
2018-03-08 17:30:18 -05:00
Diamond Lewis
f0674df424 Fixes Issue unsetting in beforeSave doesn't allow object creation (#4610)
* skip unset fields on canAddField

* removed fit

* add null check
2018-03-08 10:31:53 -06:00
Stephen Tuso
f03e35ff76 Fix cloud env var in readme (#4584) 2018-03-06 19:27:09 -05:00
greenkeeper[bot]
887adea4dd chore(package): update jasmine to version 3.1.0 (#4592) 2018-03-06 19:26:09 -05:00
greenkeeper[bot]
d7a554e426 fix(package): update parse to version 1.11.1 (#4605) 2018-03-06 19:25:46 -05:00
Florent Vilmart
e785f07876 fix(package): update ws to version 5.0.0 (#4604)
Closes #4585
2018-03-06 10:43:25 -05:00
Florent Vilmart
909ead487c fix(package): update mongodb to version 3.0.4 (#4603)
Closes #4586
2018-03-06 10:43:00 -05:00
Florent Vilmart
7feafb9eea fix(package): update pg-promise to version 8.1.1 (#4602)
Closes #4587
2018-03-06 10:42:31 -05:00