Commit Graph

2351 Commits

Author SHA1 Message Date
Florent Vilmart
a9aff79cc6 docker: slim docker image to 154Mb (#5248)
* Better dockerfile

* nits

* proper VOLUMES
2018-12-22 11:33:41 -05:00
greenkeeper[bot]
df109c0023 Update supports-color to the latest version 🚀 (#5256)
* chore(package): update supports-color to version 6.0.0

* chore(package): update lockfile package-lock.json
2018-12-21 16:02:18 +00:00
greenkeeper[bot]
1d8bcb22bd Update babel7 to the latest version 🚀 (#5255)
* chore(package): update @babel/cli to version 7.2.3

* chore(package): update @babel/plugin-transform-flow-strip-types to version 7.2.3

* chore(package): update @babel/preset-env to version 7.2.3

* chore(package): update lockfile package-lock.json
2018-12-20 13:41:28 +00:00
Diamond Lewis
ab32dbc9a2 PG: Fix containedIn query on empty array (#5254)
* PG: Fix containedIn query on empty array

* improve logic
2018-12-19 17:57:55 -06:00
Diamond Lewis
631b1684e2 PG: Updating mixed array test (#5252)
* PG: Updating mixed array test

Currently we can save a mixed array but not update

* build array instead of casting

* fix test

* add recursion
2018-12-18 17:38:05 -06:00
Diamond Lewis
7b3da8b744 PG: Fix updating numeric array (#5251)
* PG: Fix updating numeric array

* lint
2018-12-18 12:11:24 -06:00
Florent Vilmart
c762ee4b43 run tests against mongodb 4.0 (#5250)
* run tests against mongodb 4.0

* Adds compatibility shields
2018-12-18 11:41:18 -05:00
Florent Vilmart
315d3bfee8 Use current LTS 10.14.2 for dev and ci (#5249) 2018-12-18 11:21:33 -05:00
dependabot[bot]
980c2cda3a ⬆️ Bump eslint from 5.9.0 to 5.10.0 (#5247)
Bumps [eslint](https://github.com/eslint/eslint) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.9.0...v5.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-17 07:32:44 -05:00
dependabot[bot]
3ea632fa1b Bump winston from 2.4.1 to 2.4.4 (#5203)
Bumps [winston](https://github.com/winstonjs/winston) from 2.4.1 to 2.4.4.
- [Release notes](https://github.com/winstonjs/winston/releases)
- [Changelog](https://github.com/winstonjs/winston/blob/2.4.4/CHANGELOG.md)
- [Commits](https://github.com/winstonjs/winston/compare/2.4.1...2.4.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-15 08:07:44 -05:00
dependabot[bot]
f08ca7b9cc Bump follow-redirects from 1.5.9 to 1.5.10 (#5204)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.5.9 to 1.5.10.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.5.9...v1.5.10)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-15 08:07:26 -05:00
greenkeeper[bot]
4b8dc9409f Update babel7 to the latest version 🚀 (#5243)
* chore(package): update @babel/core to version 7.2.2

* chore(package): update @babel/plugin-transform-flow-strip-types to version 7.2.0

* chore(package): update @babel/preset-env to version 7.2.0

* chore(package): update lockfile package-lock.json
2018-12-15 11:42:07 +00:00
Diamond Lewis
d478e001b5 PG: Support multiple global config (#5242)
* PG: Support Multiple Configs

* rename test

* refactor
2018-12-14 17:39:07 -06:00
Diamond Lewis
8c419ec52a Update CONTRIBUTING.md (#5241) 2018-12-14 10:46:37 -05:00
dependabot[bot]
9470dfc88a Bump @babel/plugin-proposal-object-rest-spread from 7.0.0 to 7.2.0 (#5221)
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel) from 7.0.0 to 7.2.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.0.0...v7.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-14 10:46:10 -05:00
dependabot[bot]
13626290c0 Bump express from 4.16.2 to 4.16.4 (#5202)
Bumps [express](https://github.com/expressjs/express) from 4.16.2 to 4.16.4.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.16.2...4.16.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-14 10:44:27 -05:00
dependabot[bot]
cbd31d513e Bump nyc from 12.0.2 to 13.1.0 (#5206)
Bumps [nyc](https://github.com/istanbuljs/nyc) from 12.0.2 to 13.1.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v12.0.2...v13.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-14 10:44:11 -05:00
dependabot[bot]
3e414a8c60 Bump lint-staged from 7.3.0 to 8.1.0 (#5211)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 7.3.0 to 8.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v7.3.0...v8.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-14 10:43:55 -05:00
dependabot[bot]
38482cf0fe Bump lru-cache from 5.0.0 to 5.1.1 (#5213)
Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 5.0.0 to 5.1.1.
- [Release notes](https://github.com/isaacs/node-lru-cache/releases)
- [Commits](https://github.com/isaacs/node-lru-cache/compare/v5.0.0...v5.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-14 10:43:34 -05:00
dependabot[bot]
8c044ab85b Bump @babel/cli from 7.1.5 to 7.2.0 (#5222)
Bumps [@babel/cli](https://github.com/babel/babel) from 7.1.5 to 7.2.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.1.5...v7.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-14 10:43:16 -05:00
dependabot[bot]
208f92160d Bump husky from 1.0.0-rc.15 to 1.2.1 (#5237)
Bumps [husky](https://github.com/typicode/husky) from 1.0.0-rc.15 to 1.2.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v1.0.0-rc.15...v1.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-14 10:42:07 -05:00
greenkeeper[bot]
e28770e744 Update pg-promise to the latest version 🚀 (#5234)
* fix(package): update pg-promise to version 8.5.4

* chore(package): update lockfile package-lock.json
2018-12-14 01:29:47 +00:00
greenkeeper[bot]
a4b592a355 Update pg-promise to the latest version 🚀 (#5217)
* fix(package): update pg-promise to version 8.5.3

* chore(package): update lockfile package-lock.json
2018-11-30 04:54:59 +00:00
greenkeeper[bot]
f0626508d3 Update prettier to the latest version 🚀 (#5216)
* chore(package): update prettier to version 1.15.3

* chore(package): update lockfile package-lock.json
2018-11-30 03:28:53 +00:00
dependabot[bot]
bc12b1496a Bump babel-eslint from 10.0.0 to 10.0.1 (#5200)
Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.0 to 10.0.1.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.0...v10.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-27 21:01:40 -05:00
dependabot[bot]
80a9b70253 Bump eslint-plugin-flowtype from 3.0.0 to 3.2.0 (#5197)
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 3.0.0 to 3.2.0.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases)
- [Commits](https://github.com/gajus/eslint-plugin-flowtype/compare/v3.0.0...v3.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-27 20:58:37 -05:00
dependabot[bot]
5d9d7601a9 Bump eslint from 5.6.0 to 5.9.0 (#5199)
Bumps [eslint](https://github.com/eslint/eslint) from 5.6.0 to 5.9.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.6.0...v5.9.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-27 20:58:21 -05:00
Florent Vilmart
021a12f648 Release 3.1.2 (#5193)
- Removes dev script
- Removes nodemon and problematic dependenceis
- addressed event-stream security debacle
2018-11-26 20:57:18 -05:00
greenkeeper[bot]
6cb00d513b Update mime to the latest version 🚀 (#5194)
* fix(package): update mime to version 2.4.0

* chore(package): update lockfile package-lock.json
2018-11-27 01:39:08 +00:00
greenkeeper[bot]
7984bc2ae3 Update lru-cache to the latest version 🚀 (#5189)
* fix(package): update lru-cache to version 5.0.0

* chore(package): update lockfile package-lock.json
2018-11-21 02:17:19 +00:00
greenkeeper[bot]
6659b11962 Update lru-cache to the latest version 🚀 (#5188)
* fix(package): update lru-cache to version 4.1.4

* chore(package): update lockfile package-lock.json
2018-11-21 00:34:02 +00:00
greenkeeper[bot]
284d04a211 Update ws to the latest version 🚀 (#5180)
* fix(package): update ws to version 6.1.2

* chore(package): update lockfile package-lock.json
2018-11-17 20:29:42 +00:00
greenkeeper[bot]
e1de2763c3 Update ws to the latest version 🚀 (#5179)
* fix(package): update ws to version 6.1.1

* chore(package): update lockfile package-lock.json
2018-11-17 07:53:16 +00:00
greenkeeper[bot]
e04fd9e7fe Update mongodb to the latest version 🚀 (#5178)
* fix(package): update mongodb to version 3.1.10

* chore(package): update lockfile package-lock.json
2018-11-16 22:16:28 +00:00
greenkeeper[bot]
463e52b063 Update babel7 to the latest version 🚀 (#5173)
* chore(package): update @babel/core to version 7.1.6

* chore(package): update @babel/plugin-transform-flow-strip-types to version 7.1.6

* chore(package): update @babel/preset-env to version 7.1.6

* chore(package): update lockfile package-lock.json
2018-11-14 16:41:59 +00:00
greenkeeper[bot]
29bf0132f9 Update prettier to the latest version 🚀 (#5169)
* chore(package): update prettier to version 1.15.2

* chore(package): update lockfile package-lock.json
2018-11-10 18:12:58 +00:00
greenkeeper[bot]
ec06b70b8a Update pg-promise to the latest version 🚀 (#5166)
* fix(package): update pg-promise to version 8.5.2

* chore(package): update lockfile package-lock.json
2018-11-08 06:28:19 +00:00
greenkeeper[bot]
42f946dbc6 Update prettier to the latest version 🚀 (#5165)
* chore(package): update prettier to version 1.15.1

* chore(package): update lockfile package-lock.json
2018-11-07 04:57:29 +00:00
greenkeeper[bot]
3254e425e2 Update prettier to the latest version 🚀 (#5164)
* chore(package): update prettier to version 1.15.0

* chore(package): update lockfile package-lock.json
2018-11-07 03:45:48 +00:00
greenkeeper[bot]
18d9811eaa Update babel7 to the latest version 🚀 (#5163)
* chore(package): update @babel/cli to version 7.1.5

* chore(package): update @babel/core to version 7.1.5

* chore(package): update @babel/preset-env to version 7.1.5

* chore(package): update lockfile package-lock.json
2018-11-07 00:45:14 +00:00
greenkeeper[bot]
216579bb01 Update mongodb to the latest version 🚀 (#5162)
* fix(package): update mongodb to version 3.1.9

* chore(package): update lockfile package-lock.json
2018-11-06 13:49:03 +00:00
Antoine Cormouls
d356ef5633 Release 3.1.1 🚀 (#5149)
* Release 3.1.1

* Requested Changes
2018-10-27 11:34:20 -04:00
Diamond Lewis
daab3781a2 Support Distinct for special fields (#5144)
* Support Distinct for special fields

* update changelog
2018-10-26 10:21:42 -05:00
Georges Jamous
961abda4eb "Object not found." instead of "Insufficient auth." when using master key (#5133)
* add additional isMaster check

* adding some tests

* nits

* covering all basis
2018-10-22 19:33:43 -04:00
Antoine Cormouls
de79b70cbc Ensure all roles are properly loaded #5131 (#5132)
* Fix Limitation Role #5131

Allow to manage Live Query with User that have more than 100 Parse.Roles

* Clean Up

* Add Custom Config Support and Test

* Fix Auth Test

* Switch to Async Function

* Fix restWhere

* Fix Test

* Clean Final Commit

* Lint Fix

* Need to Fix Test Callback

* Fixes broken test

* Restore find() method in spy

* adds restquery-each

* small nit

* adds changelog
2018-10-20 16:45:23 -04:00
greenkeeper[bot]
aa9580e59c Update pg-promise to the latest version 🚀 (#5134)
* fix(package): update pg-promise to version 8.5.1

* chore(package): update lockfile package-lock.json
2018-10-19 19:24:35 +00:00
Arthur Cinader
c692f075d1 Release 3.1.0 (#5127) 2018-10-18 08:19:07 -04:00
Florent Vilmart
4b7037ac9a Fix intense CPU usage when sessionToken is invalid in liveQuery (#5126)
* Ensure we bail out early when auth or userId are not provided (sessionToken fetch is invalid)

* Adds changelog

* better handling of session token errors and client tokens
2018-10-18 07:21:31 -04:00
greenkeeper[bot]
318a784e20 Update bcrypt to the latest version 🚀 (#5128)
* chore(package): update bcrypt to version 3.0.2

* chore(package): update lockfile package-lock.json
2018-10-18 03:21:09 +00:00
Florent Vilmart
7c81290252 Live query CLP (#4387)
* Auth module refactoring in order to be reusable

* Ensure cache controller is properly forwarded from helpers

* Nits

* Adds support for static validation

* Adds support for CLP in Live query (no support for roles yet)

* Adds e2e test to validate liveQuery hooks is properly called

* Adds tests over LiveQueryController to ensure data is correctly transmitted

* nits

* Fixes for flow types

* Removes usage of Parse.Promise

* Use the Auth module for authentication and caches

* Cleaner implementation of getting auth

* Adds authCache that stores auth promises

* Proper testing of the caching

* nits
2018-10-17 17:53:49 -04:00