Andreas Zweili
|
6fc66ffb78
|
limit the dropdowns in device and computer forms
|
2021-12-30 14:57:47 +01:00 |
Andreas Zweili
|
291acd7622
|
add tests for get_objects_for_customer
|
2021-12-28 16:17:35 +01:00 |
Andreas Zweili
|
a1161956db
|
add tests for get_all_objects_for_allowed_customers
|
2021-12-26 16:10:03 +01:00 |
Andreas Zweili
|
ba40df90b5
|
fix a typo
|
2021-12-26 16:09:56 +01:00 |
Andreas Zweili
|
c8b7de571e
|
rename test file
|
2021-12-26 15:38:41 +01:00 |
Andreas Zweili
|
d03fc187fe
|
add tests for get_object_with_view_permission
|
2021-12-26 15:37:30 +01:00 |
Andreas Zweili
|
20524c20d4
|
remove the get_objects util
|
2021-12-24 13:12:07 +01:00 |
Andreas Zweili
|
f901999aee
|
make get_customers an internal function
|
2021-12-24 12:55:34 +01:00 |
Andreas Zweili
|
b78780555d
|
rename util function to retrieve objects
|
2021-12-24 12:48:56 +01:00 |
Andreas Zweili
|
819628d008
|
add a util to get objects for a specific customer
|
2021-12-24 12:32:28 +01:00 |
Andreas Zweili
|
05b87c14cf
|
fix the customer_list_view
|
2021-12-23 22:53:42 +01:00 |
Andreas Zweili
|
8be3a2251e
|
add a util to get objects
|
2021-12-23 22:12:14 +01:00 |
Andreas Zweili
|
b4b331ad7b
|
rewrite get_object_with_view_permission
it is now more generic
|
2021-12-23 21:33:48 +01:00 |
Andreas Zweili
|
ffae6e4ac6
|
add a custom function for view_permissions
|
2021-12-23 19:28:47 +01:00 |
Andreas Zweili
|
ba3e40f1c2
|
create a first working example
|
2021-12-21 17:51:57 +01:00 |
Andreas Zweili
|
41bf9b1dc8
|
add a basic htmx config
|
2021-12-11 14:22:24 +01:00 |
Andreas Zweili
|
9f6d68fbbc
|
format base
|
2021-12-10 18:56:56 +01:00 |
Andreas Zweili
|
980c03e666
|
remove all external javascript libraries
I'm currently not using any of them so it doesn't really make sense to
include them
|
2020-08-03 17:38:20 +02:00 |
Andreas Zweili
|
a0191b6dc2
|
PEP8
|
2020-08-03 13:41:49 +02:00 |
Andreas Zweili
|
0ae6a6688e
|
extend the models with 'ordering'
|
2020-07-07 22:12:57 +02:00 |
Andreas Zweili
|
c07978fa79
|
add test for verbose name filter
|
2020-06-15 22:05:28 +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
|
f7ecf9ca82
|
change the favicon
|
2020-06-15 19:35:00 +02:00 |
Andreas Zweili
|
459771924c
|
move the description field to the base Company model
|
2020-06-08 21:07:40 +02:00 |
Andreas Zweili
|
288c4fdd25
|
add favicon
|
2020-05-24 18:38:23 +02:00 |
Andreas Zweili
|
94ecbd54f9
|
add material font icons
|
2020-05-02 21:52:56 +02:00 |
Andreas Zweili
|
8310a1569a
|
correct the static files setup
|
2020-04-20 15:22:48 +02:00 |
Andreas Zweili
|
c6803933fc
|
remove unused file
|
2020-03-01 11:49:59 +01:00 |
Andreas Zweili
|
df31124143
|
allow non admins to see the warranties table
I reckon the customer would be interested in the warranties of his
devices as well.
|
2020-03-01 11:14:38 +01:00 |
Andreas Zweili
|
9f30375f6b
|
change the superuser_required decorator to return 404
|
2020-03-01 11:12:29 +01:00 |
Andreas Zweili
|
7e2cda3bfc
|
remove empty line
|
2020-02-29 21:07:04 +01:00 |
Andreas Zweili
|
49c0f89f11
|
remove unused file
|
2020-02-29 21:06:52 +01:00 |
Andreas Zweili
|
2646b964ca
|
fix the get_objects function
|
2020-02-29 19:26:17 +01:00 |
Andreas Zweili
|
25b2c3c02d
|
Use a better string for the wrong model name
|
2020-02-29 19:25:00 +01:00 |
Andreas Zweili
|
19ff961cfa
|
correct get_objects to return 404 with wrong value
|
2020-02-29 19:01:16 +01:00 |
Andreas Zweili
|
ceb1aa59cc
|
add test_get_objects_raises_404
|
2020-02-29 18:54:04 +01:00 |
Andreas Zweili
|
7b511ccda2
|
add various comments
|
2020-02-29 15:35:46 +01:00 |
Andreas Zweili
|
26dcbf4cb5
|
add a function to get objects limited to customer
this function will return a queryset containing only items which are
related to customers the user is allowed to view.
|
2020-02-29 15:16:26 +01:00 |
Andreas Zweili
|
e882e062e8
|
add function to get customer objects for user
With this function we get a list of customers the user is allowed to view.
|
2020-02-29 15:00:22 +01:00 |
Andreas Zweili
|
42ecb7f5dd
|
indent footer
|
2020-02-29 11:50:09 +01:00 |
Andreas Zweili
|
404de33ffc
|
add margin around footer
|
2020-02-29 11:47:00 +01:00 |
Andreas Zweili
|
ac4ff86ea9
|
update the core template to bootstrap4
|
2020-02-25 20:25:40 +01:00 |
Andreas Zweili
|
9d56537394
|
update backup details to bootstrap4
|
2020-02-25 20:25:20 +01:00 |
Andreas Zweili
|
34a89a0df7
|
Merge branch 'master' of git.2li.ch:Nebucatnetzer/network_inventory
|
2020-02-25 19:25:34 +01:00 |
Andreas Zweili
|
cf2e7ba536
|
move the closing paragraph tag into the form tag
|
2020-02-25 12:54:50 +01:00 |
Andreas Zweili
|
c9790523f9
|
replace semantic css with bootstrap
Bootstrap seems to be more actively developed therefore I'm replacing Semantic
UI with Bootsprap 4.
|
2020-02-23 13:14:33 +01:00 |
Andreas Zweili
|
9c0938b420
|
add a CoreTable class to inherit all tables from
|
2020-02-23 12:58:39 +01:00 |
Andreas Zweili
|
58a8673e1d
|
add a view for all device warranties
|
2020-02-16 22:03:43 +01:00 |
Andreas Zweili
|
c7eb173e32
|
limit the all_computers view to superusers
|
2020-02-16 21:37:33 +01:00 |
Andreas Zweili
|
e1afbe7f51
|
add a decorator to limit a view to superusers
|
2020-02-16 21:37:05 +01:00 |