Commit Graph

1602 Commits

Author SHA1 Message Date
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
Antonio Davi Macedo Coelho de Castro
6264f99ad5 Concat appId to PubSub channel (#3043) 2016-11-28 09:15:21 -05:00
Greenkeeper
ee9099d6ad chore(package): update lru-cache to version 4.0.2 (#3127)
https://greenkeeper.io/
2016-11-28 09:14:17 -05:00
jonas-db
c83a787510 Use the id of the account instead of the application id (#3108)
* Use the id of the account instead of the application id

Fix for issue: https://github.com/ParsePlatform/parse-server/issues/3106

* Update twitter.js

* Update twitter.js
2016-11-25 14:05:41 -05:00
Yuki Takeichi
85567310d4 Ignores createdAt when update (#3111) 2016-11-25 09:20:06 -05:00
David Poetzsch-Heffter
8f1c1f419b fixing equals on array columns in live query (#3089) 2016-11-24 20:42:53 -05:00
Florent Vilmart
d800ff85e2 Enhanced support for batch endpoints (#3042)
* Allow to have different endpoint on publicserverURL and serverURL when batching

* nits
2016-11-24 20:14:12 -05:00
Florent Vilmart
8c2c76dd26 Adds liniting into the workflow (#3082)
* initial linting of src

* fix indent to 2 spaces

* Removes unnecessary rules

* ignore spec folder for now

* Spec linting

* Fix spec indent

* nits

* nits

* no no-empty rule
2016-11-24 15:47:41 -05:00
Florent Vilmart
6e2fba4ae4 Moves test runner logic to helper (#3041) 2016-11-24 15:09:11 -05:00
haifeizhang
e4a7fbbf98 add login with qq, wechat and weibo (#3069)
* add login with qq, wechat and weibo

* modify the code style, etc
2016-11-22 08:30:31 -05:00
Bhaskar Reddy Yasa
edb7b70ced Adds password expiry support to password policy (#3068)
* Adding support for password expiry policy

* Renamed daysBeforeExpiry -> maxPasswordAge
2016-11-21 07:46:38 -08:00
Florent Vilmart
11c6170ed1 Adds support for postgres when saving relation #3074 (#3084) 2016-11-21 09:22:16 -05:00
Andrew Imm
d137e27eb9 Properly expose TestUtils through top-level package (#3086) 2016-11-21 08:53:16 -05:00