Commit Graph

1872 Commits

Author SHA1 Message Date
8424424d49 Fix #326 (again) 2020-09-29 17:17:53 +01:00
a78bb19015 Asset detail template improvements 2020-09-28 10:38:59 +01:00
bea762b12b Begin to improve event checklist on mobile 2020-09-28 10:32:57 +01:00
70cc554094 Begin to change add buttons success -> primary
Also change search primary -> info to avoid clash
2020-09-28 10:32:45 +01:00
1dad8d2ba5 Tweak asset list markup 2020-09-28 10:32:00 +01:00
c38105a76e Use template filter for consistent removal of 'None links'
Plus cleaner template markup! More HTML-in-Python tho, which always feels a bit CSS-in-JS
2020-09-28 10:31:43 +01:00
6936b94ce6 Put power threshold values in a collapse 2020-09-28 10:30:58 +01:00
74066e9484 Remove database ID from generic list 2020-09-28 09:22:10 +01:00
018397d28e Add ability to mark event checklists as Large Event
This just disables the checks to allow the rest of it to be filled out for large events, though I expect paper forms may still be used...
2020-09-25 22:06:06 +01:00
143b654210 Major improvements/fixes to authorisation templates 2020-09-25 21:29:00 +01:00
2a1bb57c74 More fixes 2020-09-19 18:03:24 +01:00
77c82efce6 More tweaks 2020-09-19 13:46:55 +01:00
1ea8090668 Minor fixes 2020-09-19 13:39:58 +01:00
31f63ba5c7 Invoice template improvements 2020-09-18 12:33:10 +01:00
9739af765f Curse youuuuu pep8 2020-09-17 12:04:41 +01:00
b90be708d0 Fix for my fix 2020-09-17 11:31:32 +01:00
dcc0e53062 Various misc fixes 2020-09-17 09:32:57 +01:00
ce5a92dfa8 Add revision history to invoices/payments.
Also patches previously introduced reversion permissions hole.

Supersedes and closes #337.
2020-09-16 11:37:56 +01:00
fd926aef85 Fix broken invoice list template 2020-09-15 10:39:01 +01:00
1ecc508b0d Fix wrong variable name in settings.py 2020-09-15 10:29:28 +01:00
a5516ee350 Cleanup & Squash migrations 2020-09-15 10:01:52 +01:00
5487b73006 Much better coverage of H&S things 2020-09-15 01:23:45 +01:00
6426880708 Pages/start of tests for EventChecklists 2020-09-14 16:26:02 +01:00
aa0184a5dc Initial work on RA tests 2020-09-12 14:00:03 +01:00
eb7d8e49e8 Merge branch 'master' into bs4
# Conflicts:
#	RIGS/templates/RIGS/index.html
#	requirements.txt
2020-09-12 11:19:46 +01:00
b959ca13a5 Formatting... 2020-09-12 10:30:33 +01:00
d8e6f2f9c1 Why does this work
Bloody overzealous autoformatter...
2020-09-12 10:26:47 +01:00
1cf910752f Modify auth test so it doesn't try and test for external authorisations
Cause that's not a thing
2020-09-12 10:14:16 +01:00
cf7ada3d9e Test fixes 2020-09-12 10:08:47 +01:00
ba6dbc6980 Rethink rigboard color logic again
Also revert some broken stuff
2020-09-12 10:07:58 +01:00
6d836ee4dd Fix cable table template 2020-09-12 10:07:31 +01:00
e602058771 Fix list templates
TODO: Sensible place to define the 'expected answer' stuff.
2020-09-03 13:02:30 +01:00
c1182efa54 Use template filter for notes 2020-09-01 15:15:15 +01:00
87e831a468 Event properties internal/authorised always return a explicit boolean rather than sometimes None 2020-09-01 15:02:16 +01:00
1d5429052f Restrict versioning to one level of depth for speed
Also fixed the template for nested changes
2020-09-01 13:41:12 +01:00
6ee9efa39e Audit template fixes 2020-09-01 13:13:44 +01:00
945e521feb Do event table color logic at python level 2020-08-31 13:45:32 +01:00
689124a891 Templating improvements to RA/EC stuff 2020-08-31 13:09:47 +01:00
8842c2c3d9 Worst case points on checklist 2020-08-30 20:50:06 +01:00
f3c2ce2519 Validation of power reqs 2020-08-30 12:26:50 +01:00
bfe80db85e Misc fixes 2020-08-30 10:48:19 +01:00
9198724748 Medium event power stuff done, barring worst case stuff 2020-08-29 23:56:08 +01:00
dbe0d35400 Event checklist crew works
Mostly - its not happy with timezones
2020-08-29 22:01:23 +01:00
1feb9449ed Cleanup 2020-08-29 17:31:41 +01:00
d708207ab9 Versioning module now does magic
Automatic creation of views/urls for anything registered with reversion, with a small amount of hackage to preserve legacy stuff. (and the DAMNED asset IDs!) I would never get distracted...
2020-08-29 16:24:11 +01:00
8ea96674db Initial work on new checklist handling. No more JSON! 2020-08-29 13:56:57 +01:00
de04498517 Insert a divider between still-out dry hires and actually upcoming events on rigboard 2020-08-27 17:38:26 +01:00
828964ecb6 Alter rig_count to not include un-checked-in dry hires 2020-08-27 17:08:51 +01:00
3438489934 Add new line functionality for vehicles/drivers
Might it have been easier to create 'dummy' models like with EventItems? Probably...
2020-08-27 02:20:46 +01:00
9cf081efc7 Proof of concept for JSON parsing/storage
\o/
2020-08-25 16:00:19 +01:00