Commit graph

41 commits

Author SHA1 Message Date
620796448d
Add 'active' tag to show active page in navs. 2020-01-11 23:02:20 +01:00
57d5b3f131
Fix average attendance annotation returning None for users that doesn't have any RaidResponses for past raids yet.
This occurs because we don't filter users on weather or not they even have RaidResponses for past raids, but only do the filtering on the Avg function. This is correct behaviour, as we want to show *all* users in the attendance matrix. We therefore introduce the 'Coalesce' function to default to an average attendance of 0.
2020-01-08 20:39:29 +01:00
3d1faa49c3
Update requirements: Django 3.0. 2020-01-07 04:43:44 +01:00
4cca8ced19
Fix no-responses created for disabled users. 2020-01-07 04:43:24 +01:00
dc9928f316
Remove logic for checking if create_user_no_responses is required; just do it on all user save's instead to avoid edge-cases. 2020-01-07 02:32:01 +01:00
94d90efad5
Only create no-responses if user did something that warrants it. 2020-01-07 00:32:22 +01:00
bb16c152c4
Remove unnecessary prefetches. 2020-01-07 00:05:28 +01:00
84f3554d98
Attendance matrix. 2020-01-07 00:04:58 +01:00
c01bb56b5d
Add actual no-response RaidResponses to database; allow setting default attendance value for all response statuses in settings. 2020-01-06 23:09:57 +01:00
dd7f45599d
Automatically set RaidResponse role to character's default role if not set by user. 2020-01-06 22:54:02 +01:00
be86354c1f
Fix ordering on pseudo-responses. 2020-01-03 01:53:15 +01:00
ae56229afe
Raid detail: Prefetch pseudo no-response objects; 162 queries -> 18. 2020-01-02 18:57:48 +01:00
57b3a28008
Raid detail: Prefetch all required objects (e.g. response user's rank and main); 164 -> 31 queries. 2020-01-02 17:30:07 +01:00
7820021864
Show user ranks in raid details. 2020-01-02 04:27:24 +01:00
2bda918954
Show user's main on hover if they signed up as an alt. 2020-01-02 03:56:53 +01:00
a2d1e753c1
Actual string representation of RaidResponse. 2019-11-21 16:59:01 +01:00
5eb4444e1d
Support deletion of users. 2019-11-21 16:47:16 +01:00
Casper V. Kristensen
7f7dfcd748
Remove character name regex validation; Blizzard allows a lot of weird characters and accents which we can never model completely. 2019-11-21 01:10:42 +01:00
c8f050531e
Add support for exporting signups to AddOns like Exorsus Raid Tools. 2019-11-21 00:32:43 +01:00
39d423e437
Make usernames case-insensitive. 2019-11-20 23:24:19 +01:00
d4341e5d0b
Introduce optional raids. 2019-11-20 22:53:38 +01:00
9e4cdd3ec1
Urlize raid description to allow linking logs. 2019-11-20 22:52:49 +01:00
857d11b02b
Remove chat-bubble for response notes. 2019-11-20 22:52:05 +01:00
0731f7407b
Remove random comma in base template. 2019-11-20 22:51:13 +01:00
5ea6e75d0a
Fix bug causing automatic attendance to not be updated when user first signs up then off. 2019-11-19 04:20:23 +01:00
0ac3bda6b7
Move clean logic to clean() instead of save() 2019-11-19 04:18:47 +01:00
9af691f8ca
Add ranks and auto-attendance. Soft-resets migrations. 2019-11-19 03:32:21 +01:00
d5e65c8191
Formatting. 2019-11-18 22:50:39 +01:00
c44aacec5a
More css class colours. 2019-11-18 22:49:48 +01:00
Casper V. Kristensen
f5e3550c28
Fix calendar color styling. 2019-10-28 00:30:59 +01:00
Casper V. Kristensen
74d3b3d3e9
Update raid response formset with custom template, based on Crispy's default one, for better styling. 2019-10-27 16:52:08 +01:00
Casper V. Kristensen
80d109efc0
Small update to aria labels. 2019-10-27 16:51:21 +01:00
Casper V. Kristensen
d8c972ac4b
Improve class-coloured buttons and signup-coloured badges. 2019-10-27 13:41:23 +01:00
Casper V. Kristensen
c7460432d6
Fix and improve raid editing; add confirmed role counts. 2019-10-26 21:40:12 +02:00
Casper V. Kristensen
b843b63240
Improve raid comments styling. 2019-10-26 21:38:29 +02:00
Casper V. Kristensen
37e18971db
Include raids in the previous/next month in the raid calendar. 2019-10-26 15:19:14 +02:00
Casper V. Kristensen
b3ba6caa07
Fix not able to create users in admin by moving main-creation logic from manager's _create_user() to User's save(). 2019-10-25 13:28:33 +02:00
Casper V. Kristensen
8da844d2e4
Add further help text. 2019-10-25 13:27:20 +02:00
Casper V. Kristensen
660c1e75e6
Rename "signup deadline" -> "response deadline." 2019-10-25 13:26:42 +02:00
Casper V. Kristensen
7c7ffee1f3
Create superuser and set site name by default on first run. 2019-10-25 03:35:15 +02:00
Casper V. Kristensen
f78c32db85
Initial 2019-10-25 02:49:09 +02:00