Commit Graph

95 Commits

Author SHA1 Message Date
Andreas Zweili 9f948fe396 add create and delete views for RAIDs 2020-06-29 22:43:39 +02:00
Andreas Zweili 72b8c86a98 add create and delete views for backups 2020-06-29 13:36:12 +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 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 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 7717255f18 add delete and create views for the ram relation 2020-06-09 21:59:20 +02:00
Andreas Zweili 29f869ea78 add various create buttons to the computer detail view 2020-06-08 22:11:49 +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 ef8fbf1b1c fix the test_computer_update_form test 2020-05-31 15: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 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 5610e8d1ca change the string representation for raid to the project standard 2020-05-26 22:09:47 +02:00
Andreas Zweili 61bbe30a3d add a Cancel button to the computer_create template 2020-05-04 09:41:22 +02:00
Andreas Zweili e1a5c572d8 move each IP into it's own table row
there where too many complications with creating the urls and the various
buttons. This way may be a bit less pretty but for the moments it's a much
stabler way
2020-05-03 22:10:11 +02:00
Andreas Zweili 17053f586b remove the ConnectedDevice model 2020-05-03 21:48:40 +02:00
Andreas Zweili 1279311055 add missing csrf tokens 2020-05-02 22:28:07 +02:00
Andreas Zweili c4f9f597e2 add a WarrantyCreateView 2020-05-01 16:57:38 +02:00
Andreas Zweili 7bf0c4ff0a remove unnecessary code 2020-05-01 16:12:01 +02:00
Andreas Zweili 30daf62383 add a comment to the Create forms 2020-05-01 16:11:47 +02:00
Andreas Zweili 5c980718ee order the computer view imports alphabetically 2020-05-01 13:08:57 +02:00
Andreas Zweili 7268d4eb00 correct indentation 2020-04-30 15:44:52 +02:00
Andreas Zweili 6effe5fea4 move the div element outside of the if block 2020-04-30 15:44:24 +02:00
Andreas Zweili ac4be915a1 correct the gpu test 2020-04-30 15:43:58 +02:00
Andreas Zweili 308d05ceae exend the cpu test 2020-04-30 15:43:48 +02:00
Andreas Zweili f1b280e7cf add a GPU model 2020-04-30 15:40:00 +02:00
Andreas Zweili 61d1ee5ebc add two generic CPUs to the fixtures 2020-04-30 14:49:29 +02:00
Andreas Zweili 6198db4679 make various fields optional for the CPU model 2020-04-30 14:49:04 +02:00
Andreas Zweili a905e350d6 rename the computer form tests 2020-04-27 21:27:58 +02:00
Andreas Zweili 8b65902abe remove user from test_computer_update_form 2020-04-21 18:50:04 +02:00
Andreas Zweili b5013d8b36 add RamFormSet 2020-03-17 23:03:24 +01:00
Andreas Zweili 9b4ff27d25 add inline forms for warranties 2020-03-17 22:00:28 +01:00
Andreas Zweili 6dd0e38513 remove the names of some overly large capitalists
These companies already have far too much money at their disposal.
They might profit from the free advertising appearing in this
repository and we wouldn't want that wouldn't we?
2020-03-15 19:54:43 +01:00
Andreas Zweili 524f83cea6 test the ComputerForms with a normal user as well 2020-02-29 22:36:46 +01:00
Andreas Zweili 35f723a7c4 add test for ComputerUpdateForm 2020-02-29 21:28:39 +01:00
Andreas Zweili 8eb77ba0c5 add test for ComputerCreateForm 2020-02-29 21:11:23 +01:00
Andreas Zweili c02e9ec4e0 add new line to file 2020-02-29 21:06:04 +01:00
Andreas Zweili 1b779482be split parameters over multiple lines 2020-02-29 21:05:37 +01:00
Andreas Zweili d7374ccc7c seperate imports with lines from code 2020-02-29 21:05:18 +01:00
Andreas Zweili 1123aeb259 PEP8 add new line at the end of file 2020-02-29 19:00:47 +01:00