* WIP: Basic work on audit
* WIP: Audit modal works
Need to get the ID search working.
* WIP: Javascript shenanigans for asset audit search
It's not clean but it works..
* Improve audit search bar
Optimise for APM!
* Filter asset audit list by never-audited
* Added cable functionality to audit form
Also improved styling
* FIX: Revert partialising of asset search
* Various UX Improvements
Also rearranged asset detail/edit to be more space efficient
* FIX: Remove assets from to-be-audited table when audited
Previously required a page reload
* Improve sample data generator
Does reversion properly and sets colours for asset statuses
* FIX: Gracefully handle 404s in audit search
* FEAT: Add buttons for some common defaults on audit form
TODO: Partialise those fragments and add them to the edit/create forms too.
* FIX: Fix asset sample data command when run alone
* FEAT: More handy buttons
* FIX: Stop quickbuttons being tab-selected
If someone's tabbing through, they won't be needing the buttons...
* FIX: Hide asset detail buttons for basic users
* FIX: Migrations
* Start tests for audit
* Some deduplication for testing code
* Improve asset audit testing
* Remember to test the tests Arona
* Potentially make modal tests more consistent
* FIX?: Up WebDriverWait timeout for modal tests
* FIX?: What about this way...
* Remake migrations
* Fix README badges to point to right branch
While I'm here eh :P
* Use aware time in audit
* Fix migrations again
* Fix for my fix...
* Modify audit exclusions to properly prevent data loss
* pep eiiiiiight
* Move relevant fields and create migration to autogen cable types
* CRUD and ordering
* FIX: Prevent creating duplicate cable types
* FIX: pep8/remove debug print
* FIX: Meta migrations... :>
* FIX: Update tests to match new UX
* Move cabletype menu links into 'Assets' dropdown
* Fix migration
* Specify version of reportlab
Should fix CI - looks like I went a bit too ham-handed in my requirements.txt purge last time...
* [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>
* Started POM and assets test
* FEAT: Adapt unit tests from RIGS to assets
* CHORE: pep8...
* Added Asset Create and Edit forms
* Add non-cable asset creation test
* CHORE: Frickin pep8...
* Add cable asset creation test
* Basic asset create validation testing
* Asset edit tests are here
A bit dodgy in places but par for the course for me :P
* Add access level tests
* Delete unused code
Much less effort way to increase coverage stats :D
* Add delete sample data test for completeness
Chasing that sweet 100% coverage...
* Add supplier list page + tests
Also fix the supplier page not being ordered alphabetically
* Helps if I add the migration...
* Add supplier create/edit tests
* Asset duplicate tests
Also fixed some random bugs
* Asset search tests
* 404 tests and test that everything requires authentication
* Test visibility of form errors
And fix supplier form not displaying errors correctly!
* Fix broken search test
Co-authored-by: Matthew Smith <mattysmith22@googlemail.com>