Commit Graph

1348 Commits

Author SHA1 Message Date
Andreas Zweili 6d3f177b71 add tests for Net and Backup views 2019-08-06 22:03:46 +02:00
Andreas Zweili d2a54d265a add tests for device views 2019-08-06 21:48:29 +02:00
Andreas Zweili 0fccb6f886 use get_object_or_404 with ConnectedDevice 2019-08-06 21:46:53 +02:00
Andreas Zweili 81b35d9772 use get_object_or_404 with device 2019-08-06 21:46:32 +02:00
Andreas Zweili 4fe8f4be6e test computer not found case 2019-08-06 21:41:55 +02:00
Andreas Zweili e8c28e41d5 use get_object_or_404 in computer_view_permission 2019-08-06 21:41:31 +02:00
Andreas Zweili 4910a40336 remove unnused variables 2019-08-06 21:03:58 +02:00
Andreas Zweili ac63104157 use objects.create whereever possible 2019-08-06 20:52:05 +02:00
Andreas Zweili d920a9ba53 extend tests 2019-08-04 22:17:02 +02:00
Andreas Zweili 82f25255d4 only allow logged in users to acces pages 2019-08-04 22:15:30 +02:00
Andreas Zweili 671c7c1d8e add trailing slash to url 2019-08-04 22:14:20 +02:00
Andreas Zweili 3933e04e9c refactor the tests 2019-08-04 20:50:10 +02:00
Andreas Zweili e3ca65b61b add pylint as dependency 2019-08-04 20:49:20 +02:00
Andreas Zweili b022b1747d refacture the fixtures
the fixtures where overcomplicated and should be easier.
2019-08-04 20:46:02 +02:00
Andreas Zweili 5317f42349 extend the views with login required 2019-08-04 20:44:37 +02:00
Andreas Zweili 74677e6c2d rearrange the urls 2019-08-04 20:44:19 +02:00
Andreas Zweili b2281be9cd extend gitignore 2019-08-04 20:43:56 +02:00
Andreas Zweili be7cfb7da9 add AllComputersView 2019-08-02 16:54:32 +02:00
Andreas Zweili 15eea784ac use the minimal css from semantic 2019-08-02 16:54:02 +02:00
Andreas Zweili 268337cc5b implement a basic backup view 2019-08-02 14:31:55 +02:00
Andreas Zweili bb650d6d04 hide hardware card if none is present 2019-08-02 14:19:08 +02:00
Andreas Zweili 660a183e34 remove a div 2019-08-02 13:40:06 +02:00
Andreas Zweili 672949f4b2 implement cards ui for computers 2019-08-02 13:39:14 +02:00
Andreas Zweili 35d399eac5 implement django-tables2 2019-08-02 13:05:42 +02:00
Andreas Zweili 3c28f6fd70 add verbose names to the Computer and Net model 2019-08-02 13:04:25 +02:00
Andreas Zweili e3a789b125 add djang-tables2 to the apps 2019-08-02 12:21:40 +02:00
Andreas Zweili cf7f1ee6d2 implement the semantic css theme 2019-08-02 12:21:05 +02:00
Andreas Zweili 4353b7e1dd extend the ComputerDetailView with various properties 2019-07-30 23:17:56 +02:00
Andreas Zweili 0c2f76bcf1 make the tables a bit smaller in order to fit more information 2019-07-30 23:16:59 +02:00
Andreas Zweili 7fd85a1040 add IPs to the computer view 2019-07-29 21:16:14 +02:00
Andreas Zweili 27fb338a7f add views for nets 2019-07-28 22:02:07 +02:00
Andreas Zweili 503ccb4d5a allow the customer description to be empty 2019-07-28 21:41:17 +02:00
Andreas Zweili 113afb4f6c add first_name field 2019-07-28 21:10:30 +02:00
Andreas Zweili 438b2bdc43 add hyper_threading field 2019-07-28 21:10:11 +02:00
Andreas Zweili 2284e6eaa0 move the DeviceManufacturer class to companies.py 2019-07-28 21:09:51 +02:00
Andreas Zweili d1ebb7b94d add a NotificationFromBackup class 2019-07-28 21:07:27 +02:00
Andreas Zweili 7213b59f98 change url of the devices list 2019-07-25 20:42:09 +02:00
Andreas Zweili 462d0169eb small reformating of the customer table 2019-07-25 20:41:52 +02:00
Andreas Zweili 1d6c631af3 remove the list_of_lists 2019-07-25 20:37:03 +02:00
Andreas Zweili 91672e8128 rename the views for better clarity 2019-07-25 20:35:22 +02:00
Andreas Zweili 33ef653602 extend the home index page 2019-07-25 20:35:05 +02:00
Andreas Zweili 368eb670e2 add a customers details page 2019-07-25 20:34:52 +02:00
Andreas Zweili 9fec74496a change to relativ imports 2019-07-25 20:13:04 +02:00
Andreas Zweili a623aab846 remove redundant code 2019-07-24 23:15:12 +02:00
Andreas Zweili f9dd215e78 load fixtures only once with sqlite DB 2019-07-24 23:13:40 +02:00
Andreas Zweili f8531e6014 add list of lists
this lists show all the lists related to the currently selected customer.
2019-07-24 22:56:08 +02:00
Andreas Zweili abba395440 add a make command to remove the sqlite db restart the server 2019-07-24 22:52:12 +02:00
Andreas Zweili e162ec4177 PEP8, line length 2019-07-24 22:38:19 +02:00
Andreas Zweili c84047362b switch from url to path patterns 2019-07-24 22:27:14 +02:00
Andreas Zweili 02643a9e55 add the large version of the diagramm 2019-07-24 19:56:55 +02:00