Commit Graph

857 Commits

Author SHA1 Message Date
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
Andreas Zweili
5610e8d1ca change the string representation for raid to the project standard 2020-05-26 22:09:47 +02:00
Andreas Zweili
b202013841 extend the license test to include computer licenses 2020-05-26 22:08:49 +02:00
Andreas Zweili
5c907f7897 unify the license count 2020-05-25 22:57:30 +02:00
Andreas Zweili
875be1a3b7 add test_device_in_net_delete_view 2020-05-25 21:52:58 +02:00
Andreas Zweili
653db0134a add test_device_in_net_update_view 2020-05-25 21:52:45 +02:00
Andreas Zweili
a29f04b62b add test_device_in_net_create_view 2020-05-25 21:52:31 +02:00
Andreas Zweili
e31d2a793f add test_warranty_delete_view 2020-05-25 21:35:06 +02:00
Andreas Zweili
e0c4347894 add test_warranty_update_view 2020-05-25 21:34:52 +02:00
Andreas Zweili
8a94679872 convert the tests to use the test client
using the test client ensures that the whole stack gets tested and not just the
view.
2020-05-24 22:20:18 +02:00