Commit Graph

11 Commits

Author SHA1 Message Date
Matthew Smith
b39f835a38 Fixed asset permissions 2019-10-18 02:18:27 +01:00
Matthew Smith
3de58740c6 Added multi-option search along.
Added auto hiding of categories in search unless selected.
Added field allowing to choose whether category auto-hidden

Fixes #353
2019-10-16 18:23:16 +01:00
Matthew Smith
8ec27eb075 Added asset_id autofill for asset creation and duplication 2019-10-15 01:13:14 +01:00
Matthew Smith
85a20dac26 Assets now conforms to pep8 2019-10-14 14:07:06 +01:00
Matthew Smith
743d290405 Assets are now ordered by asset_id. Fixes #355 2019-10-14 00:19:38 +01:00
Matthew Smith
d2ba39bc60 Merge of cable additions 2019-10-14 00:13:00 +01:00
Matthew Smith
aac900318e Cables are now a thing, unfortunately by making a monolithic Asset model
Co-authored-by: Arona Jones <aj@aronajones.com>
2019-10-14 00:05:18 +01:00
f5fc41ce30 Initial work on asset DB perms
Partial #352.
2019-10-11 17:41:48 +01:00
Matthew Smith
b7e14b7dc3 Added form validation
* Asset IDs must be unique
* Asset IDs that are legacy and unchange have no validation applied
* Asset IDs must be alphanumeric
* Values must be >=0
* Lengths, CSAs, Circuits and Cores of cables must all be >0
2019-10-08 22:34:03 +01:00
Matthew Smith
207bf7bd7a Added dependency django-polymorphic
Model change to take advantage of said polymorphism
Implemented asset search
2019-10-02 21:12:24 +01:00
Matthew Smith
1e1f3037f8 Preparing files for transfer to PyRIGS 2019-10-01 13:22:16 +01:00