12a60e1f50
Correct handling of spaces in paperwork filenames
...
Also normalises display of Invoice IDs. Partial fix for #391 .
2020-10-09 12:48:59 +01:00
5af075946a
One of these days I'll remember to test BEFORE pushing...
2020-10-08 23:29:11 +01:00
3903481b3d
Better approach to generic list templates + other deduplication
2020-10-08 22:54:30 +01:00
af7d3c4070
Revert "Prevent creating duplicate revisions on event"
...
Apparently it was too strong at preventing dupes...
This reverts commit cce0ad0f9f .
# Conflicts:
# RIGS/models.py
2020-10-07 17:31:17 +01:00
025a31f15a
Minor test fixes
2020-10-07 17:29:31 +01:00
cce0ad0f9f
Prevent creating duplicate revisions on event
...
Potential fix for #322 - I couldn't reproduce even before this change...
2020-10-07 17:05:40 +01:00
ae13cabe09
Properly handle eventauthorisations in new versioning
...
It's not great, not terrible...
2020-10-07 16:46:28 +01:00
813b1dac85
Allow multiple event checklists per event
...
TODO: Status chip now needs rethinking
2020-09-29 18:08:55 +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
1ea8090668
Minor fixes
2020-09-19 13:39:58 +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
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
b959ca13a5
Formatting...
2020-09-12 10:30:33 +01:00
ba6dbc6980
Rethink rigboard color logic again
...
Also revert some broken stuff
2020-09-12 10:07:58 +01:00
e602058771
Fix list templates
...
TODO: Sensible place to define the 'expected answer' stuff.
2020-09-03 13:02:30 +01:00
87e831a468
Event properties internal/authorised always return a explicit boolean rather than sometimes None
2020-09-01 15:02:16 +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
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
8bb08724b6
Initial shenanigans on storing my overly fancy EC form
2020-08-24 17:25:25 +01:00
d3f55523da
Start work on event checklist
2020-08-14 17:30:57 +01:00
92377227e0
Start RA 'mark review' feature
2020-08-05 20:51:31 +01:00
2e60c5e7bf
Do not use Django 'required' for radio selects
...
As this requires them to be True, whereas we just need to require that an option be entered.
2020-07-03 17:09:32 +01:00
d800a781a5
Fixes to revisions for RAs
2020-07-02 20:13:24 +01:00
721439d095
More RA fixes
2020-07-02 19:26:27 +01:00
b57b918247
Remove the defaults from the RA fields + make them required
2020-07-02 19:20:20 +01:00
3768f4a613
Start RA list template
2020-05-30 17:19:11 +01:00
e45324f5b4
Refactor activity feed template logic
...
Yay for removing arbitrary if/else chains!
2020-05-30 14:07:50 +01:00
156e639bac
Initial work at coercing activity feed into showing RAs
...
Also shows Asset/Supplier on the homepage feed.
2020-05-29 15:45:16 +01:00
d3b3d1c9d7
Move text definitions to somewhere more authoratitive
2020-05-28 23:02:47 +01:00
4cfd83eeb3
Different approach to RA linking
2020-05-28 21:46:39 +01:00
b75b6a6736
Initial work at integrating the risk assessment
...
#136 . No clever database structure as yet...
2020-05-28 18:55:22 +01:00
2f7389d8bb
Really ought to get a pre-commit hook for pep8...
2020-05-25 13:40:53 +01:00
e6d06db2a1
FIX: Prevent setting access time after start time
...
Cherry pick of d274ea4606 . Will close #405 .
2020-05-25 01:16:26 +01:00
5e60675115
Python Format/import opt
2020-04-12 20:10:35 +01:00
f308a095f3
Breakout (most) user stuff to separate module
...
The model remains in RIGS for now, as it's pretty painful to move...
2020-04-12 19:22:03 +01:00
50ca782569
Start reworking invoice things
2020-03-18 18:38:37 +00:00
f4f8c6b417
Delete obsolete code
2020-03-18 00:30:23 +00:00
8568c591a9
Update Python Dependencies ( #404 )
...
* [requires.io] dependency update
* Server starts...
Various things are broken, but it runs!
* [requires.io] dependency update
* [requires.io] dependency update
* [requires.io] dependency update
* FIX: Broken migrations
* FIX: Update auth framework
* FIX: Correct static use in templates
* FIX: Fix supplier sort
* FIX: Remaining tests
* Revert "Disable password reset as temporary fix to vulnerability (#396 )"
This reverts commit e0c6a56263 .
# Conflicts:
# RIGS/urls.py
* FIX: Fix broken newlining in PDFs
Introduced by a change in Django 2.1 'HTML rendered by form widgets no longer includes a closing slash on void elements, e.g. <br>. This is incompatible within XHTML, although some widgets already used aspects of HTML5 such as boolean attributes.'
* FIX: Fix some Django4 deprecation warnings
Why not...
* Refactor dependency file
Should now only include dependencies we actually use, not dependencies of dependencies and unused things
* Add newlines to the paperwork print test event
This will catch the error encountered in 79ec9214f9
* Swap to pycodestyle rather than pep8 in Travis
And eliminate W605 errors
* Bit too heavy handed with the dep purge there...
* Whoops, helps if one installs pycodestyle...
* FIX: Re-add overridden login view
* Better fix for previous commit
* FIX: Bloody smartquotes
Co-authored-by: requires.io <support@requires.io >
2020-03-07 16:21:48 +00:00