Commit Graph

866 Commits

Author SHA1 Message Date
Andreas Zweili 72b8c86a98 add create and delete views for backups 2020-06-29 13:36:12 +02:00
Andreas Zweili 273d4da42b change the url format for the ComputerLicenseCreateView 2020-06-29 12:09:43 +02:00
Andreas Zweili 4b6e375833 add LicenseWithComputerDeleteView 2020-06-28 23:59:50 +02:00
Andreas Zweili efaead7d7d add LicenseWithComputerCreateView 2020-06-28 23:31:47 +02:00
Andreas Zweili 16fc66385f add form to delete a ComputerSoftwareRelation 2020-06-28 19:12:49 +02:00
Andreas Zweili 5640d0ab3f PEP8 2020-06-28 19:08:14 +02:00
Andreas Zweili 61d966f785 add a form to create a ComputerSoftwareRelation 2020-06-28 19:04:55 +02:00
Andreas Zweili d08a1f0557 add a quick way to add a host and the OS
it might be nice to have a seperate form for both of them however this is just
much quicker to add and when I limit the hosts they will be limited here as
well. So for the moment this is good enough.
2020-06-28 17:17:39 +02:00
Andreas Zweili 3bb63bc44d replace the Django runserver command with gunicorn
I would like to test how this performs and if it works for development. Would
be nice because this way I can have a setup which is closer to what I run in
produciton than with Django runserver.
2020-06-28 16:48:23 +02:00
Andreas Zweili accc02d8d1 update django to 2.2.13 2020-06-15 22:55:17 +02:00
Andreas Zweili 960a698c36 add tests for all the hardware forms 2020-06-15 22:53:33 +02:00
Andreas Zweili 5c69552c50 correct the urls for the hardware forms 2020-06-15 22:53:16 +02:00
Andreas Zweili c07978fa79 add test for verbose name filter 2020-06-15 22:05:28 +02:00
Andreas Zweili 49fc10a4dd add forms and views for the ComputerDiskRelation 2020-06-15 21:39:58 +02:00
Andreas Zweili 1ddf0a23e6 add forms and views for the ComputerGpuRelation 2020-06-15 21:39:31 +02:00
Andreas Zweili 3311619ef7 add forms and views for the ComputerCpuRelation 2020-06-15 21:38:21 +02:00
Andreas Zweili 1aa48a7109 make the confirmation template generic 2020-06-15 21:36:41 +02:00
Andreas Zweili 9e34bf1f54 add a filter to get the verbose name for an object 2020-06-15 21:36:03 +02:00
Andreas Zweili d5fcec4ab1 add the test data fixture to the development script 2020-06-15 19:51:46 +02:00
Andreas Zweili 38680d86c8 clean out the test data fixture 2020-06-15 19:51:34 +02:00
Andreas Zweili a590adbc11 add a fixture file with test data 2020-06-15 19:36:00 +02:00
Andreas Zweili f7ecf9ca82 change the favicon 2020-06-15 19:35:00 +02:00
Andreas Zweili 7717255f18 add delete and create views for the ram relation 2020-06-09 21:59:20 +02:00
Andreas Zweili 17a67fda8c correct the order of the customer fields 2020-06-09 21:43:34 +02:00
Andreas Zweili 29f869ea78 add various create buttons to the computer detail view 2020-06-08 22:11:49 +02:00
Andreas Zweili c07eb4cb99 match the customer details page to the rest of the application 2020-06-08 21:12:42 +02:00
Andreas Zweili e3689f6d16 add a Manufacturer detail view 2020-06-08 21:09:05 +02:00
Andreas Zweili f3a0d77168 add get_absolute_url method to DeviceManufacturer model 2020-06-08 21:08:16 +02:00
Andreas Zweili 459771924c move the description field to the base Company model 2020-06-08 21:07:40 +02:00
Andreas Zweili 180124d641 extend notes 2020-06-08 17:05:57 +02:00
Andreas Zweili afd1320a91 Merge branch 'master' into clean-out-computer-forms 2020-06-08 17:03:46 +02:00
Andreas Zweili e79eba2828 show all models in the admin interface
Since we decided to create many forms in the frontend the admin interface
should really be a way to access all models even the ones which aren't
accessible from the front end.
2020-06-08 17:02:15 +02:00
Andreas Zweili 71c84c51d2 clean out the docker-compose file 2020-06-08 17:01:55 +02:00
Andreas Zweili b99aedce54 set the settings variable before starting the docker container
When you first set the variable for the local settings file it will overwrite
the settings required for the docker container. Therefore I'm setting them
explicitly in the Makefile. Shouldn't be a problem on a production system.
2020-06-08 17:00:16 +02:00
Andreas Zweili c1abc5a09f extend the device manufacturer model 2020-06-08 16:56:45 +02:00
Andreas Zweili 490ac6d2cf make cancel go one page back 2020-06-02 06:15:58 +02:00
Andreas Zweili 320e5d449b return to the previous page after the form view 2020-06-02 06:15:31 +02:00
Andreas Zweili ef8fbf1b1c fix the test_computer_update_form test 2020-05-31 15:50:29 +02:00
Andreas Zweili b3e3acd4c9 change the test command 2020-05-31 15:50:19 +02:00
Andreas Zweili 4ff158a866 return to previous page after DeviceUpdateView 2020-05-27 22:50:29 +02:00
Andreas Zweili 52d438a96f add tests for the computer views 2020-05-26 23:26:44 +02:00
Andreas Zweili 94381045c4 add ComputerDeleteView 2020-05-26 23:26:31 +02:00
Andreas Zweili 19eae6768a remove the various formsets from the computer forms
The formsets are currently just too much of a hasle. I can do 90% of the
functionality I want without them and don't have problems with adding a new
relationship everytime I'm updating the computer object.
2020-05-26 23:25:21 +02:00
Andreas Zweili 7336aac441 clean out the docker-compose file 2020-05-26 23:23:50 +02:00
Andreas Zweili b5b38066bd extend notes 2020-05-26 23:23:29 +02:00
Andreas Zweili 58ee81791e add test_computer_create_view 2020-05-26 22:37:18 +02:00
Andreas Zweili d2784a6534 match string representations to the project standard 2020-05-26 22:26:30 +02:00
Andreas Zweili 2bfe3f6aee add comments 2020-05-26 22:26:22 +02:00
Andreas Zweili ee2af48a2c add a test for warranties with a duration > 365 days 2020-05-26 22:25:51 +02:00
Andreas Zweili d125937b10 remove the superuser property from the warranty view tests 2020-05-26 22:13:54 +02:00