Commit Graph

69 Commits

Author SHA1 Message Date
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 5aedea6075 remove the default test s file 2019-07-19 17:10:35 +02:00
Andreas Zweili e0a6bf76bc move the Customer class to companies 2019-07-19 16:40:49 +02:00
Andreas Zweili 6bc7f7d560 remove a trailing empty line 2019-07-19 16:33:27 +02:00
Andreas Zweili 27728da0d5 fix various formating errors 2019-07-19 16:32:24 +02:00
Andreas Zweili 567761f68f add decorators for Device and ConnectedDevice 2019-07-19 16:10:33 +02:00
Andreas Zweili 6c40c0ccde remove trailing whitespaces 2019-07-19 16:08:21 +02:00
Andreas Zweili 242b3fa089 move the static files into the application 2019-07-14 19:23:13 +02:00
Andreas Zweili d6f7bfa937 make the permission test more robust 2019-07-14 13:04:22 +02:00
Andreas Zweili 4c761e551a move the data creation into fixtures 2019-07-14 12:58:10 +02:00
Andreas Zweili 66706c854e finish the test for the customer list 2019-07-13 16:15:01 +02:00
Andreas Zweili 68e3bbeb4b add more meaningful test object names 2019-07-13 15:48:17 +02:00
Andreas Zweili 99747257b0 split the requirements and settings 2019-07-13 12:37:58 +02:00
Andreas Zweili 44c4576029 fix indentation 2019-06-19 21:28:54 +02:00
Andreas Zweili 8b7c4262ad allow empty relations for RAM and CPUs 2019-06-16 22:54:25 +02:00
Andreas Zweili ff75b95427 update indentation 2019-06-16 22:54:01 +02:00
Andreas Zweili 010b50c946 replace pc IP with pc owner 2019-06-16 22:53:41 +02:00
Andreas Zweili e7d8f86751 change staticfiles to static 2019-06-16 22:11:53 +02:00
Andreas Zweili b3844cafbc WIP add view test 2019-06-16 22:10:08 +02:00
Andreas Zweili 088483e5b9 add fixture to populate the test db 2019-06-16 22:09:51 +02:00
Andreas Zweili 21fa33d00f add an additional line to the customer model 2019-06-16 15:05:51 +02:00
Andreas Zweili 4ab32be82c extend the computer details with permissions 2019-06-16 15:02:47 +02:00
Andreas Zweili cd6fd5ae2a add a decorator to check for PC permissions 2019-06-16 15:00:21 +02:00
Andreas Zweili 09159652a1 add a customer admin 2019-06-16 14:58:53 +02:00
Andreas Zweili 6fbeae0e66 remove an old view 2019-06-10 22:25:27 +02:00
Andreas Zweili 9647da27f8 remove the STATIC_ROOT option
django throws a lot of errors with it.
2019-06-10 22:24:48 +02:00
Andreas Zweili 79e8ebe769 use explicit imports 2019-06-10 22:24:19 +02:00
Andreas Zweili 76e1799fb3 remove an old file 2019-06-10 22:23:42 +02:00
Andreas Zweili a8aaa1aad8 merge the work from the other project 2019-06-10 21:56:21 +02:00
Andreas Zweili 0b7d0f690e extend the fixtures 2019-06-10 21:52:40 +02:00
Andreas Zweili 9ab28b10c3 add minimal working example of django-guardian 2019-06-10 21:46:29 +02:00
Andreas Zweili ad90e2f4d0 remove internal URL from the allowed hosts 2019-06-10 21:00:48 +02:00
Andreas Zweili adf4bdbc11 change setup to docker 2019-06-10 20:59:46 +02:00
Andreas Zweili cd9253f80d remove unused imports 2018-05-21 16:09:44 +02:00
Andreas Zweili 50614938a7 add a directory configuration 2018-05-20 14:04:26 +02:00
Andreas Zweili 93dcacfd4c refactor according to PEP8 2018-05-17 18:18:49 +02:00
Andreas Zweili 489933e003 make the footer smaller 2018-01-14 14:19:20 +01:00
Andreas Zweili 70cf7c28fb Merge branch 'master' of git.2li.ch:Nebucatnetzer/network_inventory 2018-01-14 13:36:17 +01:00
Andreas Zweili f16aad35f2 change the computer ip from CharField to GenericIPAddressField 2018-01-14 13:35:39 +01:00
Andreas Zweili 01631f0ca9 order computers by their IP address 2018-01-06 09:55:34 +01:00
Andreas Zweili 11b5d3c3f2 add the sakura theme 2018-01-06 09:47:50 +01:00
Andreas Zweili 26869813e0 correct the page titles 2017-12-29 12:35:50 +01:00
Andreas Zweili 5a30aa8814 split the various lists into seperate pages 2017-12-29 12:33:05 +01:00
Andreas Zweili 03adc4b76f remove the static root line 2017-12-29 11:48:47 +01:00
Andreas Zweili 0ef15afd6e add a bit whitespace to improve visibility 2017-12-29 11:45:56 +01:00
Andreas Zweili f9f20c0932 add a counter for the CPU 2017-12-29 11:45:43 +01:00
Andreas Zweili ed504889d7 add a javascript file to make tables sortable 2017-12-29 11:42:39 +01:00