Commit Graph

2048 Commits

Author SHA1 Message Date
greenkeeper[bot]
ac970a40c4 fix(package): update mongodb to version 2.2.32 (#4252) 2017-10-17 14:47:31 -04:00
Benjamin Wilson Friedman
315d30b426 Fix for beforeSave with increment causing key to be Dropped (#4259)
* Fixes an issue where a beforeSave hook could cause a numeric val to be dropped in response.

* Use hasOwnProperty to check instead

* Remove redundant set
2017-10-15 21:15:30 -07:00
greenkeeper[bot]
557a2b2827 fix(package): update pg-promise to version 7.0.2 (#4257) 2017-10-14 18:57:03 -04:00
Benjamin Wilson Friedman
9145c88562 Corrected outdated links (#4254) 2017-10-12 22:40:47 -04:00
Florent Vilmart
f0b7ffcdd6 fix(package): update pg-promise to version 7.0.1 (#4248)
Closes #4239
2017-10-11 17:33:08 -04:00
Florent Vilmart
033437034d Release 2.6.3 (#4233)
*  Release 2.6.3

* Update CHANGELOG.md
2017-10-03 14:33:05 -04:00
Florent Vilmart
7fac070435 Allow queries with String array for pointers containedIn (#4188)
* Adds basic failing test

* Adds ability to use [objectId] for $in/$nin pointers

* makes sure to use a set field

* Makes sure field is defined
2017-10-03 13:50:39 -04:00
Florent Vilmart
2a168936fc Adds support for pointer/string pointers comparison in LiveQuery (#4231)
* Adds support for pointer/string pointers comparison in LiveQuery

* nits

* Makes sure needed is set

* Update QueryTools.js

* Update QueryTools.js
2017-10-03 13:50:20 -04:00
Chris Norris
23bffc8883 Add maxLimit server configuration (#4048)
* Add maxLimit server configuration

* Fix maxlimit validation logic to correctly handle maxLimit:0 case
2017-10-02 09:23:09 -04:00
greenkeeper[bot]
976da4d715 fix(package): update winston to version 2.4.0 (#4227) 2017-10-02 09:18:34 -04:00
greenkeeper[bot]
f2fc3ceabc fix(package): update pg-promise to version 6.10.2 (#4222) 2017-10-01 13:58:28 -04:00
Florent Vilmart
c872da493d fix(package): update pg-promise to version 6.10.1 (#4221)
Closes #4213
2017-09-30 12:59:09 -04:00
bivisss
7c07fff7cc remove device token when APNS error is BadDeviceToken (#4220) 2017-09-29 16:05:45 -04:00
greenkeeper[bot]
c777a263ba fix(package): update winston-daily-rotate-file to version 1.6.0 (#4157) 2017-09-28 10:08:25 -07:00
greenkeeper[bot]
61a3e3c7b6 fix(package): update request to version 2.83.0 (#4211) 2017-09-27 15:24:40 -07:00
Florent Vilmart
770aba193c fix(package): update pg-promise to version 6.9.0 (#4205)
* fix(package): update pg-promise to version 6.9.0

Closes #4160

* Update .travis.yml
2017-09-23 11:42:46 -04:00
greenkeeper[bot]
a3890572c4 fix(package): update request to version 2.82.0 (#4189) 2017-09-23 10:31:40 -04:00
greenkeeper[bot]
c059d15f56 fix(package): update body-parser to version 1.18.2 (#4201) 2017-09-23 10:31:20 -04:00
greenkeeper[bot]
fdf19def48 chore(package): update request-promise to version 4.2.2 (#4200) 2017-09-23 10:31:05 -04:00
Tyler Brock
6eed955319 Export LRU cache on ParseServer Object (#4203) 2017-09-22 17:36:20 -07:00
Florent Vilmart
b703ec8a79 Fix for #4194 - me no likey much (#4198)
* Adds failing test for #4194

* Use the rest module instad of the Parse._request

- Some users have an invalid serverUrl passed in the options

* removes console.logs, fixes tests that leveraged Parse._request
2017-09-22 12:05:06 -04:00
Tyler Brock
70ca7bdd41 Make some error messages more helpful (#4177) 2017-09-19 20:45:13 -07:00
Diamond Lewis
9371958a09 Postgres: Properly handle undefined field values (#4186)
Prevents `UnhandledPromiseRejectionWarning: Unhandled promise rejection` when building queries.
2017-09-19 07:59:48 -04:00
Anthony Mosca
cf630ba462 Updating with two GeoPoints fails correctly. (#4162) 2017-09-19 07:12:40 -04:00
Florent Vilmart
406a21e967 chore(package): update eslint to version 4.7.1 (#4185) 2017-09-18 19:28:00 -04:00
Diamond Lewis
19bcfd27dd handle deleting of class that doesn't exist (#4184) 2017-09-18 19:02:56 -04:00
Florent Vilmart
d8fd670013 Release 2.6.2 (#4183) 2017-09-18 17:10:08 -04:00
marvelm
07ae85eef0 Prefix default push channel with applicationId (#4182) 2017-09-18 15:25:03 -04:00
Florent Vilmart
a5ce9fc175 Refactor pushStatusHandler to use Parse instead of direct access (#4173)
* Refactors pushStatusHandler to use HTTP interface so we can bind CloudCode hooks

* Handle correctly nested dot atomic operations

* Better handling of restricted class names, add support for afterSave _PushStatus

* Adds simple testing for afterSave(PushStatus)

* Reverts jobStatusHandler

* Addresses fixes

* adds delays to all methods
2017-09-18 15:01:07 -04:00
Florent Vilmart
a39d045c7d Fixes issue #4150: Session management (#4152)
* Adds tests

* Provide fix

* Fix post sessions (#4167)

* add tests

* provide fix

* remove console.log
2017-09-18 14:53:11 -04:00
Florent Vilmart
ba0a51ddc9 Fixes unhandled promise rejection error while sending push (#4172) 2017-09-17 09:57:07 -04:00
Florent Vilmart
8d8a8b250e Fixes issue affecting liveQuery on location null/undefined values (#4171) 2017-09-17 11:57:11 +03:00
Florent Vilmart
d0184f438d Live Query basic monitoring (#4168)
* Adds uuid based client identification to prevent overflows

* no-super

* Adds cloud code monitoring

* fixes test

* nit
2017-09-15 17:20:51 -04:00
greenkeeper[bot]
7ecb36e71e chore(package): update nodemon to version 1.12.1 (#4166) 2017-09-15 09:23:48 -04:00
greenkeeper[bot]
be9f27493d fix(package): update ws to version 3.2.0 (#4165) 2017-09-15 08:10:18 -04:00
greenkeeper[bot]
64df33157d chore(package): update mongodb-runner to version 3.6.0 (#4164) 2017-09-15 08:09:35 -04:00
Florent Vilmart
d598d73f36 Adds ability to track sent/failed PerUTCOffset in the PushWorker (#4158)
* Adds ability to track sent/failed PerUTCOffset in the PushWorker

- for scheduled push notifications at a certain time, it helps keep track of the state

* Makes sure we track it all correctly

* Adds to Postgres
2017-09-13 17:28:20 -04:00
greenkeeper[bot]
be2760f9dd fix(package): update pg-promise to version 6.5.3 (#4154) 2017-09-13 09:32:26 -04:00
greenkeeper[bot]
c121b9787e fix(package): update winston-daily-rotate-file to version 1.5.0 (#4151) 2017-09-12 18:26:08 -04:00
Florent Vilmart
3a17904ce8 Push: Cleanup invalid device tokens (#4149)
* Adds collecting invalid / expired device tokens from GCM / APNS

* Cleanup invalid installations based on responses from the adapters

* Adds test for cleanup

* Adds tests for removal
2017-09-12 14:53:05 -04:00
greenkeeper[bot]
a1554d04ab fix(package): update body-parser to version 1.18.1 (#4148) 2017-09-12 14:19:03 -04:00
greenkeeper[bot]
956f1df0f0 chore(package): update babel-eslint to version 8.0.0 (#4147) 2017-09-12 14:18:26 -04:00
Anthony Mosca
4dce3bd63c Add support for more audience fields. (#4145)
* Add support for more audience fields.

* Only update audience when defined audience_id.
2017-09-11 22:06:21 -04:00
Florent Vilmart
9fbb5e29e8 Release 2.6.1 (#4146)
*  Release 2.6.1

* Update CHANGELOG.md
2017-09-11 11:23:07 -04:00
Florent Vilmart
a660a0c25f fix: Issue #4142 (#4144)
* Tweaks test in order to show the error

- Session is effectively created when it should not

* Do not create a session when users need verified accounts on signup
2017-09-11 11:07:39 -04:00
Florent Vilmart
839a117246 Fixes #2885 duplicate sessions (#4143)
* Adds test to repro the issue

* Improved test

* Destroy duplicate sessions for User/Installation-id pair

- Sessions will also be created with action login instead of signup when using 3rd party auth
2017-09-11 09:52:18 -04:00
marvelm
bc3cef2cd9 Support local time for scheduled pushes (#4137)
* Handle local push time

* PR feedback

* Improve timezone detection with regex

* Use indexOf instead of endsWith

* Add documentation

* Add end to end test for scheduled pushes in local time

* Revert changes to npm-git script

* clean up
2017-09-11 09:31:46 -04:00
greenkeeper[bot]
21f4411571 fix(package): update pg-promise to version 6.3.2 (#4009) 2017-09-09 14:02:54 -04:00
greenkeeper[bot]
0fb16a7848 chore(package): update babel-cli to version 6.26.0 (#4098) 2017-09-09 14:02:36 -04:00
Florent Vilmart
0f840b6bb8 Fix/issue pointer permissions (#4141)
* Makes sure we don't override roles

* Reduces the query size whith pointer permissions

- Does not return as $and if not needed
- Returns just the query with the additional constraint

* Do not use $in if include is just of length 1
2017-09-09 14:02:07 -04:00