habitica-self-host/website/views
Mateus Etto b0eda344f1 Limit party size to 30 members (#8589)
* Added a field in Party page with members count and maximum members in party

* Added information of invitations counter

* Limited party to 2 members on server (API)

* Fixed english text

* Consider current number of invitations in the party

* Moved PARTY_LIMIT_MEMBERS to common folder

* Access the PARTY_LIMIT_MEMBERS through groupsCtrl

* Some corrections

* Hide invite button when invite limit is reached

* Added missing trailing comma

* Do not test 'returns only first 30 invites' in a party anymore, but in a guild: party is limited to 30 members, so it would always fail

* Test: allow 30 members in a party

* Test: do not allow 30+ members in a party

* Improved 'allow 30 members in a party' test

* Test: 'allow 30+ members in a guild'

* Added missing trailing comma

* Code style corrections

* Fixed new line position

* Party limit check done inside Group.validateInvitations function

* Improved members count query

* Fixed tests

* Rewrite tests

* Removed import of BadRequest: value became unused

* Added 'await' to remaining 'Group.validateInvitations' functions

* Fixed tests that would always success
2017-03-26 21:23:19 +02:00
..
auth Don't send plaintext reset passwords via email (#8457) 2017-02-14 18:08:31 +01:00
main Thehollidayinn/group plans part 2 (#8262) 2016-12-21 13:45:45 -06:00
options Limit party size to 30 members (#8589) 2017-03-26 21:23:19 +02:00
shared chore(news): Bailey 2017-03-23 21:00:48 +00:00
social fix spelling mistake in Check-In Incentives social media messages (consitent > consistent) 2016-11-27 07:29:47 +10:00
static remove "Habitica - Gamify Your Life" video from Press Kit (#8595) 2017-03-26 21:12:09 +02:00
avatar-static.jade Format files to adhere to editorconfig (#7977) 2016-09-07 12:58:26 -05:00
index.jade Facebook pixel Revert (3rd time's a charm?) (#8450) 2017-01-23 14:42:57 -06:00