Commit Graph

1614 Commits

Author SHA1 Message Date
jeacott1
ac3f5cd686 this function was extremely slow. (#3264)
this fix reduces the time to process 165k installations
from 282738.599ms (almost 5 minutes of total server lockup!)
to just 16.283ms!
2017-01-04 09:27:47 -05:00
Greenkeeper
9fd34fd25e chore(package): update bcryptjs to version 2.4.0 (#3225)
https://greenkeeper.io/
2017-01-03 16:42:59 -06:00
Greenkeeper
7ff3a3813d chore(package): update babel-core to version 6.21.0 (#3249)
https://greenkeeper.io/
2017-01-02 15:04:18 -06:00
Greenkeeper
754f5d0505 chore(package): update babel-plugin-transform-flow-strip-types to version 6.21.0 (#3250)
https://greenkeeper.io/
2017-01-02 14:40:30 -06:00
Greenkeeper
0e8c3c2457 chore(package): update multer to version 1.2.1 (#3276)
https://greenkeeper.io/
2017-01-02 14:09:24 -06:00
Greenkeeper
423a50133a chore(package): update lodash to version 4.17.4 (#3303)
https://greenkeeper.io/
2017-01-02 13:25:37 -06:00
Greenkeeper
a3d416de4a chore(package): update bcrypt to version 1.0.2 (#3304)
https://greenkeeper.io/
2017-01-01 12:01:59 -06:00
Greenkeeper
a2dfcc8da8 chore(package): update babel-core to version 6.20.0 (#3216)
https://greenkeeper.io/
2017-01-01 08:44:38 -06:00
Arthur Cinader
f4734a65c0 fix trivial typo (#3238) 2016-12-14 14:28:23 -08:00
Florent Vilmart
aa071e034e Changelog 2.3.1 (#3213)
* Update CHANGELOG.md

* Update package.json
2016-12-08 14:30:59 -05:00
Florent Vilmart
4f46eceacf Fixes issue affecting the auth providers (#3211)
* Reproduces error for issue 3208

* Make sure we don't override a default adapter with the options when validation function are not provided
2016-12-08 08:54:06 -08:00
Florent Vilmart
81ebbb8954 Update README.md 2016-12-08 10:16:31 -05:00
Greenkeeper
e82395e268 chore(package): update bcrypt to version 1.0.1 (#3207)
https://greenkeeper.io/
2016-12-08 09:55:35 -05:00
Florent Vilmart
0159360a5d Fixes CI dist (#3206) 2016-12-07 19:57:13 -08:00
Florent Vilmart
aab10bea79 Changelog 2.3.0 (#3205)
* 2.3.0 changelog

* bumps package

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2016-12-07 20:48:54 -05:00
Florent Vilmart
752f0e9143 Fixes #3195 (#3201)
* Adds error reproduction

* Fix transform in order to accept nested array results in $in/$nin

The error originated by the nesting of 2 array in $in [["..."]], using _.flatMap with those will guarantee at the lower level
that the query is properly resolved

* nits

* _.flatMap the $in/$nin values
2016-12-07 20:03:40 -05:00
Florent Vilmart
025e7a3218 Adds depreciation notes for Parse.Cloud.useMasterKey(), (#3204)
Adds depreciation notes for Parse.Cloud.useMasterKey()
2016-12-07 18:35:22 -05:00
Arthur Cinader
ca286b7108 Enable prefer-const lint rule (#3202) 2016-12-07 18:17:05 -05:00
Florent Vilmart
a6c988176e Adds tests that shows issue #3194 is ok (#3200) 2016-12-07 14:18:52 -08:00
corban baxter
e069b20ef9 adding simple test for adding and removing users on a role. (#3198) 2016-12-07 16:15:01 -05:00
Arthur Cinader
ae30ec647b let's see if i can force latest to rebuild... (#3196) 2016-12-07 08:57:01 -08:00
Greenkeeper
fc53fa9c32 chore(package): update parse-server-s3-adapter to version 1.0.6 (#3192)
https://greenkeeper.io/
2016-12-06 16:56:26 -08:00
Florent Vilmart
c1dcaf1271 Auth Adapters refactoring (#3177)
* Moves all authentication providers to Adapter/Auth

* refactors specs

* Deprecates oauth option in favor of auth option

- Deprecates facebookAppIds option (in favor of auth.facebook.appIds)
- Adds warnings about the deprecated options

* nits
2016-12-06 14:09:43 -08:00
Florent Vilmart
a9067260fc adds ability to pass custom installationId to create sessions in cloud code (#3156) 2016-12-06 16:46:09 -05:00
Florent Vilmart
2e569ca7dd Fixes SchemaController data for Volatile Classes (#3171)
* Reproduction for the issue

* Ensures Volatile classes and other schema share the same structure
2016-12-06 16:42:54 -05:00
Arthur Cinader
8111c3338e turn on max empty line rule with default of max: 2. (#3176)
Run with fix.
2016-12-06 13:35:23 -08:00
Florent Vilmart
fb36dfa26f Fix #3185 (#3186)
* Adds tests that reproduce the issue

* Use values from keys to force include when needed
2016-12-06 16:28:55 -05:00
Andrew Lane
998b271994 HyperDev changed its name to Gomix, so reflect that in the README (#3191) 2016-12-06 10:44:37 -08:00
Florent Vilmart
a7821f6e57 Removes NodeChef (#3188)
NodeChef explicitly runs a private fork of parse-server, we should not support this.

Explicitely, Scheduled Push and Cloud Code browser are most requested features, that they didn't provide back to the community.
2016-12-06 10:39:21 -05:00
Greenkeeper
ddb6f7bc57 chore(package): update bcrypt to version 1.0.0 (#3178)
https://greenkeeper.io/
2016-12-05 19:08:46 -08:00
Kulshekhar Kabra
8124bf4600 Add a CLI option to specify the host (#3180) 2016-12-05 08:50:46 -05:00
Kulshekhar Kabra
df74a1f8ae Use trusty in travis (#3170)
* Use trusty in travis

* Install postgresql-9.5-postgis-2.3 in travis
2016-12-03 18:43:30 -05:00
Florent Vilmart
e0704b440c Adds class level permission requiring authenticated user (#893)
* Adds class level permission requiring authenticated user

* Updates to latest schema permissions syntax

* fix flaky test

* Exclude PG

* Rebased and nitted

* lints
2016-12-02 19:47:33 -05:00
Arthur Cinader
01b05b060f Strip personally identifiable information from user table for unauthorized users.
- add a config option to explicitly enumerate pii fields beyond email
- in query controller, strip pii of user table results before sending out the door.
2016-12-02 19:39:09 -05:00
Arthur Cinader
a270632570 More lint tweaking (#3164)
1. Add no space in paren rule
2. fix spec/eslintrc.json so it allow for inheriting from root rc.

Because the spce rc specified reccomended, it "turned off" all of the
rule tweaks in the root.  This fixes that.
2016-12-02 19:11:54 -05:00
Florent Vilmart
b9afccd338 Makes sudo: false (#3166)
* Makes sudo: false

* ignore error when configuring postgis

* Use precise instead of trusty
2016-12-02 17:53:32 -05:00
Arthur Cinader
37daafc7b0 Add strip whitespace and trailing eol to spec too. (#3159) 2016-12-01 21:45:49 -05:00
Arthur Cinader
8359284329 Fix some random minor typos. (#3157) 2016-12-01 20:34:39 -05:00
Greenkeeper
2b0c39caaa chore(package): update pg-promise to version 5.4.5 (#3140)
https://greenkeeper.io/
2016-12-01 17:59:10 -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
Arthur Cinader
7292fa7f11 Allow select (keys) to be altered in triggers (#3146)
Inspect the keys when a query is returned from a trigger and respect the new
value.
2016-12-01 10:04:47 -05:00
Arthur Cinader
4d17bed374 lint before test. (#3147)
Also turn on lint cacheing to make this change painless ;)
add lint cache to gitignore...
2016-11-30 17:58:59 -05:00
Steven Shipton
143bd11638 Change arg check from truthy to defined (#3143)
Show log on master when using cluster
2016-11-30 08:48:49 -05:00
Bhaskar Reddy Yasa
bd1689190f Adds password history support to passwordPolicy (#3102)
* password history support in passwordPolicy

* Refactor RestWrite.transformUser

* fix eslint issues
2016-11-29 09:01:52 -08:00
Greenkeeper
08bac9f790 chore(package): update pg-promise to version 5.4.4 (#3121)
https://greenkeeper.io/
2016-11-29 12:01:49 -05:00
Greenkeeper
f2df0303b2 chore(package): update winston-daily-rotate-file to version 1.4.0 (#3132)
https://greenkeeper.io/
2016-11-29 10:53:24 -05:00
Steven Shipton
fbb2b086af ensure batch routing paths are posix (#3138) 2016-11-29 09:52:17 -05:00
Florent Vilmart
127629d4f7 Changelog 2.2.25 (#3134) 2016-11-28 16:42:41 -05:00
Florent Vilmart
6676c6a4b9 Let multiple installations be updates if no critical values are set (#3040)
* Let multiple installations be updates if no critical values are set

* nits
2016-11-28 13:11:54 -05:00
Florent Vilmart
b6fb3d8d51 Update CONTRIBUTING.md (#3109)
Note on linting
2016-11-28 10:38:55 -05:00