Commit Graph

455 Commits

Author SHA1 Message Date
Andreas Zweili
b38b48f3a0 remove unused code 2020-01-01 21:55:32 +01:00
Andreas Zweili
7fc865f6ae add NotificationFromBackup to the admin page 2020-01-01 21:54:25 +01:00
Andreas Zweili
4ed3e1aba6 remove duplicate migration 2020-01-01 21:53:41 +01:00
Andreas Zweili
1f29810ef4 refactor imports 2020-01-01 21:24:49 +01:00
Andreas Zweili
8063d2ab9a use the alias object directly
The alias object returns its email address when it's called as a string.
Therefor it's better to call the object directly.
2020-01-01 20:23:07 +01:00
Andreas Zweili
f06a92f0c1 correct line length 2020-01-01 20:00:27 +01:00
Andreas Zweili
eefe2f9601 remove an unused variable 2020-01-01 20:00:19 +01:00
Andreas Zweili
4d881fc093 add a link to user_detail_view to the computer_detail_view template 2020-01-01 19:59:05 +01:00
Andreas Zweili
df2bb33091 add links to user_detail_view to various tables 2020-01-01 19:58:53 +01:00
Andreas Zweili
a7232f06ac add url for user_detail_view 2020-01-01 19:58:40 +01:00
Andreas Zweili
1d93b3f449 add user_detail_view 2020-01-01 19:58:31 +01:00
Andreas Zweili
ca2c59285e add template for user_detail_view 2020-01-01 19:58:07 +01:00
Andreas Zweili
2290f635d9 add tests for user_detail_view 2020-01-01 19:57:53 +01:00
Andreas Zweili
8cb41d30e9 add user_view_permission decorator 2020-01-01 19:57:19 +01:00
Andreas Zweili
b3af7881b2 add get_absolute_url method to User model 2020-01-01 19:54:37 +01:00
Andreas Zweili
1e406621ca remove order link from customer table 2020-01-01 19:53:49 +01:00
Andreas Zweili
6b8db3654f capitalise the Net column 2020-01-01 19:25:36 +01:00
Andreas Zweili
871d27e2ca adjust imports 2019-12-31 16:16:41 +01:00
Andreas Zweili
b7c7b1173d fix test_customer_user_table_multiple_users 2019-12-31 01:26:12 +01:00
Andreas Zweili
5313474460 correct test_customer_user_table_no_user 2019-12-31 01:25:08 +01:00
Andreas Zweili
3e5a973287 extend test_customer_user_table to check more attributes 2019-12-31 01:23:41 +01:00
Andreas Zweili
f778beca0a show the first and last name for a user 2019-12-30 13:39:12 +01:00
Andreas Zweili
b7a91c4935 display the related computers and users in the license table 2019-12-30 13:38:56 +01:00
Andreas Zweili
dac5e2744a add customer_users_table_view 2019-12-30 11:17:24 +01:00
Andreas Zweili
1b48ded52d correct line length 2019-12-30 11:13:33 +01:00
Andreas Zweili
22ab084173 reorder imports 2019-12-30 11:09:47 +01:00
Andreas Zweili
73ed48797c reorder imports 2019-12-30 11:09:31 +01:00
Andreas Zweili
cfb452e55e add a link to users to the customer_table_view 2019-12-30 11:00:15 +01:00
Andreas Zweili
fd4b0564d4 check for cell contents in test_customer_list_view 2019-12-30 10:56:32 +01:00
Andreas Zweili
b0aaa25765 make licenses unique to avoid UniqueConstraint 2019-12-30 01:45:26 +01:00
Andreas Zweili
f23234b6e0 fix the run.sh script
without the changes it was failing at first run
2019-12-30 01:37:23 +01:00
Andreas Zweili
0a8e0c7760 remove currently unused tests 2019-12-30 01:29:58 +01:00
Andreas Zweili
b6b259cf0d add tests for licenses 2019-12-30 01:25:30 +01:00
Andreas Zweili
acd264430e remove the clean methods
This logic should be implemented in the respective forms
2019-12-30 01:22:56 +01:00
Andreas Zweili
41c418371e fix the clean check for LicenseWithUser 2019-12-30 00:55:56 +01:00
Andreas Zweili
16fdddd26f make sure that there are always enough licenses 2019-12-30 00:41:07 +01:00
Andreas Zweili
b3f52d1a76 allow users and computers only to use one license 2019-12-30 00:19:50 +01:00
Andreas Zweili
cf3d5546d6 hide all id columns 2019-12-30 00:19:35 +01:00
Andreas Zweili
010b8d407a capitalize all column names 2019-12-30 00:19:24 +01:00
Andreas Zweili
ba61934b6b add license models 2019-12-29 23:54:27 +01:00
Andreas Zweili
c885ab4ac7 delete device when customer gets deleted 2019-12-29 19:04:21 +01:00
Andreas Zweili
e1d1d693d5 correct the on_delete parameter for a device owner 2019-12-29 19:04:03 +01:00
Andreas Zweili
c91b6d423f change the license model to be abstract 2019-12-29 19:00:47 +01:00
Andreas Zweili
a7925a353b extend the RM with license models 2019-12-29 18:49:15 +01:00
Andreas Zweili
d980030c22 link the backup target_devices to the matching computer 2019-12-29 16:20:49 +01:00
Andreas Zweili
045c8e61de extend backup_detail_view to show the target device 2019-12-29 15:17:29 +01:00
Andreas Zweili
1b9f461895 add backup_view_permission decorator 2019-12-29 14:03:31 +01:00
Andreas Zweili
117fbaf084 test for 404 error for non existent backup 2019-12-29 14:03:09 +01:00
Andreas Zweili
fd2121ddeb add view_permission decorator to backup_detail_view 2019-12-29 14:02:25 +01:00
Andreas Zweili
bc9afcd0c6 remove the BackupDetailTable 2019-12-29 13:50:51 +01:00