Commit Graph

958 Commits

Author SHA1 Message Date
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
Andreas Zweili
b3fde54abe add test for WarrantyCreateView 2020-05-24 21:58:26 +02:00
Andreas Zweili
d42281ec08 add success_url to DeviceUpdateView 2020-05-24 21:56:43 +02:00
Andreas Zweili
b5a267fa88 add test for device_update_view 2020-05-24 21:54:14 +02:00
Andreas Zweili
f56198117c remove test for absent device
we don't need to test that Django is doing its job.
2020-05-24 21:53:28 +02:00
Andreas Zweili
57139bd41b add tests for device create and delete view 2020-05-24 21:12:52 +02:00
Andreas Zweili
288c4fdd25 add favicon 2020-05-24 18:38:23 +02:00
Andreas Zweili
15091da2ef rename the customer form view tests file 2020-05-24 18:05:44 +02:00
Andreas Zweili
d0bb64c889 extend notes 2020-05-24 17:58:50 +02:00
Andreas Zweili
37915ad039 add a button to create a customer 2020-05-23 14:18:16 +02:00
Andreas Zweili
61bbe30a3d add a Cancel button to the computer_create template 2020-05-04 09:41:22 +02:00
Andreas Zweili
a8296397a8 add a Cancel button 2020-05-04 09:40:18 +02:00
Andreas Zweili
f96b51e06c udpate notes 2020-05-03 22:21:02 +02:00
Andreas Zweili
59fa44f4a4 add a DeviceInNetDeleteView 2020-05-03 22:18:16 +02:00
Andreas Zweili
8b48110d79 add a DeviceInNetUpdateView 2020-05-03 22:13:47 +02:00
Andreas Zweili
fd14dcd748 display the IP status again 2020-05-03 22:13:10 +02:00
Andreas Zweili
696356bd8a remove the nets property from the Device model
since we remove the grouping function from the device details we don't need it
anmore.
2020-05-03 22:11:44 +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
bfc6499f96 add a cancel button to the warranty update form 2020-05-03 21:59:01 +02:00
Andreas Zweili
17053f586b remove the ConnectedDevice model 2020-05-03 21:48:40 +02:00
Andreas Zweili
02b8657ba2 add a Add button to the ip table 2020-05-03 21:18:30 +02:00
Andreas Zweili
800ea71f26 add url to deviceInNetCreateView 2020-05-03 21:13:55 +02:00
Andreas Zweili
96b574d1ab add DeviceInNetCreateView 2020-05-03 21:12:58 +02:00
Andreas Zweili
a1e697971a add device_in_net_create template 2020-05-03 21:11:43 +02:00
Andreas Zweili
898787a3fb add DeviceInNetForm 2020-05-03 21:11:31 +02:00
Andreas Zweili
5bc07af575 update notes 2020-05-03 21:10:08 +02:00
Andreas Zweili
42367297d8 add comment to form classes 2020-05-03 20:08:57 +02:00
Andreas Zweili
7c3ab5abf6 correct the title in the warranty_create link 2020-05-03 20:07:50 +02:00
Andreas Zweili
48c5dedb01 add a WarrantyUpdateView 2020-05-03 20:07:22 +02:00
Andreas Zweili
2bac8f77dc update the notes 2020-05-03 19:33:28 +02:00
16656ad8f7 update the static volume for nginx 2020-05-03 19:28:26 +02:00
Andreas Zweili
af4e97d111 extend notes 2020-05-02 22:47:57 +02:00
Andreas Zweili
ab6cb1ce63 extend notes 2020-05-02 22:46:39 +02:00
Andreas Zweili
56ebccf667 add a cancel button to the WarrantyAddView 2020-05-02 22:38:34 +02:00
Andreas Zweili
9c4227e217 convert input to button 2020-05-02 22:38:25 +02:00
Andreas Zweili
01afb1292c add DeviceDeleteView 2020-05-02 22:36:35 +02:00
Andreas Zweili
1279311055 add missing csrf tokens 2020-05-02 22:28:07 +02:00
Andreas Zweili
20b87a3e39 add a delete view for warranties 2020-05-02 22:28:02 +02:00
Andreas Zweili
327aebd9e4 replace the create warranty button with an add icon 2020-05-02 21:53:32 +02:00
Andreas Zweili
83d4ea4f9e replace the edit button with an edit icon 2020-05-02 21:53:12 +02:00
Andreas Zweili
94ecbd54f9 add material font icons 2020-05-02 21:52:56 +02:00
Andreas Zweili
b1ada3751d update notes 2020-05-01 17:07:36 +02:00
Andreas Zweili
adcb9b6ac1 update the notes 2020-05-01 17:04:34 +02:00
Andreas Zweili
ac801c93d3 correct the title for the connected devices table 2020-05-01 17:04:01 +02:00
Andreas Zweili
3e00746f89 add a "Create Device" button to the connected devices table 2020-05-01 17:03:33 +02:00
Andreas Zweili
98f3400f8e add the url for the WarrantyCreateView 2020-05-01 16:59:19 +02:00
Andreas Zweili
49571ccf08 add a test for the ip status string 2020-05-01 16:59:07 +02:00
Andreas Zweili
2796736c75 add an "Edit Device" button to the device detail view 2020-05-01 16:58:35 +02:00
Andreas Zweili
aea6ea6cf5 use the string representation for the net relation 2020-05-01 16:58:10 +02:00
Andreas Zweili
07a9ebcffa remove unused code 2020-05-01 16:57:59 +02:00