habitica/website/server
Mateus Etto cdc8473f60 Allow Multiple Invites to Party (#8683)
* (server) Add parties array to store invites

* (server) Lint files

* Update joinGroup, rejectGroupInvite, _inviteByUUID, and remove clearPartyInvitation.js

* Update user schema: detailed 'invitations.parties' attributes

* Code improvement and do not let invite twice

* Check if the user is already invited earlier in the code

* Added message to invitation page, and show all invitations

* Added join party confirmation alert

* Small fixes

* Created test: allow inviting a user to 2 different parties

* Updated tests

* Update invitations.parties on more places

* Small adjustments

* Updates on invitations.party references

* Show all invitations when user is already in a party

* Fixed notifications counter

* Update both 'party' and 'parties' at _handleGroupInvitation

* Updated a test

* Fixed small mistake at _handleGroupInvitation

* More test update

* Update invitation.party when removing single invite and small adjust at view
2017-07-19 18:45:28 -07:00
..
controllers Allow Multiple Invites to Party (#8683) 2017-07-19 18:45:28 -07:00
libs chore(words): reclassify some words as slurs 2017-07-19 21:41:08 +00:00
middlewares Tasks cron ryamodal fixes (#8871) 2017-07-13 15:11:27 -07:00
models Allow Multiple Invites to Party (#8683) 2017-07-19 18:45:28 -07:00
.eslintrc Upgrade ESLint to v3 (#8299) 2016-12-20 22:31:36 +01:00
api-doc.js Improved API documentation for hall #8087 (#8536) 2017-06-06 11:48:11 -07:00
index.js remove newrelic 2017-02-05 18:43:00 +01:00
server.js fix: move attachMiddlwares function so mongoose models have tx strings 2016-09-12 20:40:12 -05:00