Commit Graph

9 Commits

Author SHA1 Message Date
c11cbaccfb Merge branch 'master' into assets_audit
# Conflicts:
#	assets/models.py
2020-04-13 15:59:08 +01:00
a0491891e9 Add 'CableTypes' (#406)
* 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...
2020-04-13 15:54:43 +01:00
75660644eb FEAT: More handy buttons 2020-02-17 21:25:25 +00:00
6e15f12fbf FIX: Fix asset sample data command when run alone 2020-02-17 16:29:25 +00:00
0c12a3efdb Improve sample data generator
Does reversion properly and sets colours for asset statuses
2020-02-16 18:46:12 +00:00
Matthew Smith
b77615b9b9 Fix handling of prefixed Asset IDs and sorting of the asset list (#382)
* FIX: Remove misleading admin site title

* Moved across assets_id sorting to use proper numeric values. Also mofifies SQL command to find free asset IDs so that it works on postgres.

* Changed generateSampleAssetsData.py to include prefices on some cables.

* Fixed pep8

* Fixed missed migration

* Ensured hidden asset fields are completed on every database write

* CMULTI is a thing, and therefore a max prefix length of 5 cannot be a thing
2019-12-06 00:28:54 +00:00
62541194ee CHORE: Fix pep8
mutter mutter mutter, grumble
2019-12-05 13:10:08 +00:00
9d51a82f31 FIX: Fix asset sample data generation 2019-12-05 12:56:22 +00:00
4f036af85a Create the Asset Database (#363) 2019-12-04 23:14:27 +00:00