Commit Graph

2163 Commits

Author SHA1 Message Date
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
Florent Vilmart
60eea59c76 Handle mongodb auth errors that may occur after running the server for a while (#4576) 2018-03-02 10:24:58 -05:00
maciej-ka
9db63a4a50 fix: failing tests with dates in local time 2018-03-01 10:24:24 -08:00
Diamond Lewis
d8f3fb16bd Skip afterFind for Aggregate and Distinct Queries (#4596) 2018-02-28 19:32:01 -06:00
6thfdwp
213801c4b1 auth: add adapter for Facebook accountkit login (#4434)
* Integrate auth adapter for Facebook accountkit login

* Also verify Facebook app id associated with account kit login

* Add appsecret_proof as extra graph request parameter

* Specific error message for Account kit and more test coverage

* One more test to cover when AppIds for Facebook account kit not configured properly
2018-02-23 07:37:55 -05:00
greenkeeper[bot]
55f4b0f7c5 fix(package): update pg-promise to version 7.5.4 (#4577) 2018-02-20 08:27:20 -05:00
Florent Vilmart
647d8e5bff chore(package): update babel-eslint to version 8.2.2 (#4579) 2018-02-20 08:26:43 -05:00
Florent Vilmart
11c40dce97 Adds session creation code in Auth.js (#4574) 2018-02-19 11:15:54 -05:00
Florent Vilmart
b754d51e8e chore(package): update jasmine to version 3.0.0 (#4553)
* chore(package): update jasmine to version 3.0.0

Closes #4547

* Fixes failing tests for jasmine 3.0

Starting 3.0, done(something) will fail

* Update tests so they dont leverage var, but let and const

With jasmine 3.0, the randomization engine was making the test fails because of the scope of `var`

* Remove randomizer

* Use same adapter for PG tests, drop table to ensure the tests dont side effect
2018-02-17 09:55:30 -05:00
greenkeeper[bot]
8ec7785d53 chore(package): update nodemon to version 1.15.0 (#4569) 2018-02-16 16:21:28 -05:00
greenkeeper[bot]
7ab5da171e fix(package): update pg-promise to version 7.5.3 (#4571) 2018-02-16 16:20:56 -05:00
greenkeeper[bot]
ab669a21e7 chore(package): update flow-bin to version 0.66.0 (#4572) 2018-02-16 16:20:41 -05:00
Diamond Lewis
143b0f01cf PG: Add dates to group aggregate (#4549)
* PG: Add dates to group aggregate

* returns dates as UTC
2018-02-16 12:41:02 -06:00
Juan Camilo Guarin Peñaranda
10eafe922e Added docs for objectIdSize (#4526) 2018-02-16 10:45:06 -05:00
Diamond Lewis
848a6cf7ae Distinct support for null (#4559)
* distinct support for null

* better testing
2018-02-16 10:44:42 -05:00
Florent Vilmart
cac14bce09 fix(package): update pg-promise to version 7.5.2 (#4570)
Closes #4525
2018-02-16 08:41:00 -05:00
greenkeeper[bot]
3b5a4579d1 chore(package): update flow-bin to version 0.65.0 (#4548) 2018-02-16 08:40:18 -05:00
fridays
8be7491595 Fix server crash on invalid LiveQuery socket event (#4533)
* add failing test for missing command message

* don't mock tv4.validate

* fix existing tests

* make request.op required

* Update comment
2018-02-16 08:40:04 -05:00
Florent Vilmart
ae349f3888 fix(package): update commander to version 2.14.1 (#4552)
Closes #4545
2018-02-16 08:39:03 -05:00
greenkeeper[bot]
c85c90a454 fix(package): update mongodb to version 3.0.2 (#4529) 2018-02-16 08:38:40 -05:00
Diamond Lewis
3cd77eeb7c duplicate value on unique index error (#4560) 2018-02-09 07:39:35 -06:00
greenkeeper[bot]
c16e6bb5e0 fix(package): update lodash to version 4.17.5 (#4543) 2018-02-07 22:29:39 -05:00
greenkeeper[bot]
90fd051ba4 chore(package): update nodemon to version 1.14.12 (#4539) 2018-02-07 22:29:23 -05:00
Tyson Andre
83a0d7b685 Fix "undefined property '__op'" in postgres update (#4541)
* Fix "undefined property '__op'" in postgres update

This causes a TypeError which becomes a regular Error,
before the update can be issued. (I think)

This happens when there is an object schema,
and there is also an unrelated field in originalUpdate
which is null or undefined.

e.g. when 'location' is a mandatory object in postgres,
and 'middleName' is an optional string,
PostgresStorageAdapter would throw when a query similar
to the below was performed:
(Object.keys(originalUpdate) would include "middleName" as a value of `k`)

    query.set('location', {'country': 'US'})
    query.set('middleName', undefined);

* Fix lint error
2018-02-07 08:16:54 -05:00
Benjamin Wilson Friedman
db8594dd33 Regenerate Email Verification Token on Email Request (#4439)
* regenerate email verification token & expiration in /verificationEmailRequest

* Remove password field when saving on postgres
2018-02-01 18:35:08 -05:00