841 Commits

Author SHA1 Message Date
b151e1fcf3 Checkin only requires login (no perms) and block users from editing other checkins at Django level 2023-05-18 13:34:32 +01:00
013922bd90 Add data migration for crew/vehicles 2023-05-18 13:10:09 +01:00
f72b611e77 pep8 2023-05-17 12:23:17 +01:00
8da90ba670 Implement codedoctor suggestions 2023-05-17 09:45:46 +01:00
0d1beeaead Minor fixes 2023-05-16 17:22:42 +01:00
51ff06fadd Add power record status chip, checklist status chip displays number of checklists 2023-05-16 16:01:27 +01:00
06137ab180 Register check in model with the admin site 2023-05-16 14:45:54 +01:00
e7dd8f4cf9 Clicking check out does not redirect the user 2023-05-16 14:42:56 +01:00
2fb8b8c81b UI work 2023-05-15 13:40:15 +01:00
dd02df4a17 Checkin button turns into checkout button where applicable 2023-05-15 01:31:56 +01:00
417ec8ff3d Basic checkin/out logic complete 2023-05-15 01:12:04 +01:00
97dac51a52 Add ability to edit checkins, more validation 2023-05-15 00:36:57 +01:00
fc8bb2dc4b Fix tests after form split 2023-05-14 22:26:58 +01:00
67d2f80815 Merge branch 'master' into checkin 2023-05-14 22:14:04 +01:00
6ea5dc9698 General dependency update
This contains a major update to selenium and the associated changes to test files.

It also temporarily disables debug toolbar because of https://github.com/jazzband/django-debug-toolbar/issues/1775
2023-05-12 10:30:30 +01:00
15a9a03200 Further work on checkin, add role field etc 2023-05-10 18:24:56 +01:00
676cee164b Very initial version of checkin form 2023-05-09 21:37:25 +01:00
cccb84e4dc Remove old 'vehicle/crew' stuff 2023-05-09 20:47:41 +01:00
742836486e Revamp H&S overview, remove individual lists.
They were not a good thing.
2023-05-08 19:59:58 +01:00
e774b06ac4 Split power related parts of event checklist into a seperate form 2023-05-08 19:46:35 +01:00
8863d86ed0 Add description field to TrainingItems (#523)
* Add 'description' field to TrainingItems

Renamed existing field to name, removed the dummy property.

* Initial version of training item export view

* Fix line length issue and better spacing on exported PDF

* Added export button to item list

* pep8

* Implement code doctor tweaks

* Attempt to fix odd deployment issue

* Pad headers slightly

* Fix page numbering
2023-02-22 21:07:43 +00:00
626779ef25 Turn off RA reminders for non-rigs 2022-12-05 21:30:24 +00:00
fa1dc31639 FIX: Only require login for viewing RAs/ECs 2022-11-26 12:58:15 +00:00
0117091f3e FEAT #513: Implement email reminders to complete risk assessments (#514)
* FEAT #513: Implement email reminders to complete risk assessments

* Add missing f-string tag
2022-11-19 15:34:15 +00:00
de4bed92a4 Build(deps): Generally update JS & Python deps (#512) 2022-11-17 12:06:21 +00:00
259932a548 FIX #502: Possibility to choose 'no selection' in session log form
Ref #501...may help/fix this...uncertain yet. Need to finish writing the relevant test!
2022-10-23 10:56:54 +01:00
7526485837 FEAT: Add periodic cleanup command
Currently performs two functions:
1. Inactivates users that have not logged in for at least one year. Closes #478 (Need to circle back round to full deletion SoonTM)
2. Ensures the supervisor database flag is set correctly for each user

This is run automatically by the Heroku Scheduler addon at midnight daily.
2022-10-21 00:05:20 +01:00
39ed5aefb4 Set printed PDF title == filename
Should fix #497
2022-10-18 12:48:25 +01:00
e7e760de2e Fix copy to clipboard buttons on authorisation request form 2022-10-15 17:58:07 +01:00
3a2e5c943b Fix typo II 2022-05-16 16:19:26 +01:00
426a9088cc Fix typo 2022-05-03 16:33:30 +01:00
bf268a4566 Minor branding tweak 2022-03-03 19:10:05 +00:00
5eb113156b FEAT(T): First version of the 'session log' form 2022-02-27 21:20:34 +00:00
ab03ad081a Markdownify event description in tables
TODO: Restrict max size of headers so they can't go larger than other elements in the table.
2022-02-24 20:20:57 +00:00
805d77af20 Move access/meet times to above start/end in event list 2022-02-22 15:00:39 +00:00
fabab87e23 Add moved templates to git
Not sure why that wasn't automatic.
2022-02-16 15:21:57 +00:00
a95779e04e FEAT: Add ability to generate RA printouts 2022-02-16 15:01:38 +00:00
24e6ba540d Embolden item headers on paperwork
Closes #481
2022-02-16 13:14:53 +00:00
14d3522b81 Do not require supervisor consultation for big power
Only requires power tech
2022-02-16 13:14:25 +00:00
e4cfaba57d Markdown enable generic note fields 2022-02-15 12:13:50 +00:00
c2dcd86d5d Calendar changes
Closes #437
(Probably) Closes #469 but also puts us out of spec...
2022-02-15 01:00:47 +00:00
6c14b30c13 Disable auth request button for authorised events
Overrides and closes #377
2022-02-15 00:29:29 +00:00
8799f822bb HOTFIX: Supplier admin broken 2022-02-14 16:27:02 +00:00
2dd3d306b4 Remove a bunch of rounded corners
Closer to the Forum UI, and also just generally less 2015
2022-02-14 15:45:11 +00:00
05d280172d Order detailed training record by reference number 2022-02-13 11:52:41 +00:00
54c90a7be4 Refactor search logic to a create an 'omnisearch' (#484) 2022-02-08 15:01:01 +00:00
b6952aeb52 Various fixings 2022-01-30 12:31:54 +00:00
d33a4231fb Fix selectpickers showing up slightly wonky 2022-01-30 12:14:26 +00:00
988fb78b45 Rewrite admin merge functionality. Should close #473 2022-01-29 14:58:15 +00:00
15ab626593 HOTFIX: Version string broken on paperwork generation
Why the hell didn't the tests catch that?
2022-01-25 12:30:37 +00:00