Marco Cheung
7c8ad7e071
Throw error when push is missing configuration ( #2035 )
2016-06-13 09:26:02 -07:00
Florent Vilmart
d49d539a81
_PushStatus uses proper Parse format ( #1580 )
...
* removes mongo style props from _PushStatus
* removes log
* Update MongoTransform.js
Removes _id case
2016-04-21 21:36:15 -04:00
Florent Vilmart
1023baf20d
DBController refactoring ( #1228 )
...
* Moves transform to MongoTransform
- Adds ACL query injection in MongoTransform
* Removes adaptiveCollection from DatabaseController
- All collections manipulations are now handled by a DBController
- Adds optional flags to configure an unsafe databaseController for direct
access
- Adds ability to configure RestWrite with multiple writes
- Moves some transfirmations to MongoTransform as they output specific code
* Renames Unsafe to WithoutValidation
2016-04-14 19:24:56 -04:00
Florent Vilmart
af30f669cc
Push status nits ( #1462 )
...
* Sets _id to objectId in _PushStatus (fixes #1457 )
* _PushStatus stores serialized payload (fixes #1458 )
2016-04-12 17:43:46 -04:00
Florent Vilmart
6055f2a552
Improves report for Push error in logs and _PushStatus
2016-03-29 22:42:37 -04:00
Florent Vilmart
aeda714b87
Improve flattening of results from pushAdapter
2016-03-26 11:02:26 -04:00
Florent Vilmart
18781f1f82
Removes _PushStatus from system classes, uses direct DB access to write
2016-03-14 10:20:24 -04:00
Florent Vilmart
7c387e1ee9
Adds support to store push results
2016-03-13 23:37:13 -04:00
Florent Vilmart
dad50d12f5
Upgrade APNS to use HTTP/2
...
- uses universal certificate
- removes tests logs
- standardized returned promises from APNS and GCM to something usable in _PushStatus
2016-03-13 18:15:15 -04:00
Florent Vilmart
a392c088d8
Uses the resolved promise from the adapter
2016-03-12 15:30:12 -05:00
Florent Vilmart
4d401d9daa
Stores the _PushStatus when sending push, set pending, and running states
2016-03-12 14:32:39 -05:00
Florent Vilmart
b89619b6ee
Full query support for badge Increment
2016-03-11 16:23:58 -05:00
Florent Vilmart
bf96f0d28a
Fixes problems related to increment badge
...
- name conventions are aweful in PushController
- properly looks at the badge into body.data instead of body
- We may want to refactor that as it's confusing to use a full body
2016-03-07 22:07:15 -05:00
Nikita Lutsenko
de0f71cc9e
Remove useless masterKey validation in PushController.sendPush.
2016-03-07 17:22:27 -08:00
Florent Vilmart
ee3b37d4a2
Adds support for badging on iOS
2016-03-02 20:51:26 -05:00
Florent Vilmart
b490688652
Splits Push handling in Router and Controller
...
- Improves tests and coverage, fix bugs
2016-02-20 10:51:56 -05:00
wangmengyan95
06b1ee2362
Make push follow controller and adapter style
2016-02-11 02:56:52 -08:00