habitica-self-host/test
Travis 6cc359a935 Adding new user.addNotification method with Mongodb Update (#8272)
* Adding new method to user schema that pushes a new notification to the database with an update operation instead of a save. fixes #8264

* fixing test text

* changing the addUserNotificationUpdate method to a static method as requested.

* Renaming to push notification

* fixing comment documentation based on pr comments.

* Changed the update statement to do a multi update and added a validation step. Added tests for both these cases.

* Updating pushNotification method to allow a query to be passed instead of an array of userIds to make it more flexible.

* Removing createdAt field from tests as it's no longer used.

* Removing only from test suite
2017-01-04 15:27:54 +01:00
..
api Adding new user.addNotification method with Mongodb Update (#8272) 2017-01-04 15:27:54 +01:00
client client: namespaces for actions and getteters 2016-12-08 23:01:59 -08:00
client-old Add 'balanceGemAmount' to Amplitude #8057 (#8323) 2016-12-29 14:31:30 -06:00
common Thehollidayinn/group plans part 2 (#8262) 2016-12-21 13:45:45 -06:00
content Preventing users from buying already gifted subscriber items (#7734) 2016-12-15 10:00:49 -06:00
helpers Thehollidayinn/group plans part 2 (#8262) 2016-12-21 13:45:45 -06:00
migrations API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
sanity Common reorg (#8025) 2016-09-16 17:18:07 +02:00
.eslintrc Upgrade ESLint to v3 (#8299) 2016-12-20 22:31:36 +01:00
mocha.opts API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00