Commit Graph

1348 Commits

Author SHA1 Message Date
Andreas Zweili 70d8f35a01 add a settings file for flakes 2022-02-01 21:12:32 +01:00
Andreas Zweili e2d8f9f19e add defaultPackage 2022-02-01 17:56:02 +01:00
Andreas Zweili 8cc6b656d7 remove the pypi-deps-db 2022-01-31 22:57:55 +01:00
Andreas Zweili 51e3a8b39b ignore the .direnv directory 2022-01-31 20:50:34 +01:00
Andreas Zweili 2d297ab0ff add a direnv file 2022-01-31 20:50:16 +01:00
Andreas Zweili a5f5cb0ab8
Merge pull request #59 from Nebucatnetzer/broken-flake
Add a working Nix devShell
2022-01-31 19:36:23 +01:00
Andreas Zweili bfba56005c fix the devShell 2022-01-31 19:35:08 +01:00
Andreas Zweili 72151e3cbf add WIP flake 2022-01-31 19:27:53 +01:00
Andreas Zweili 84c783496e use auto with the pytest 2022-01-31 18:27:56 +01:00
Andreas Zweili 31eb209ec2 lock the requirements 2022-01-29 16:30:10 +01:00
Andreas Zweili c4f5d572f6 slightly better styling for the login page 2022-01-28 17:44:38 +01:00
Andreas Zweili 72720bbbc2 reformat the login page 2022-01-28 17:39:35 +01:00
Andreas Zweili 1e9804cde3 move the modal to core 2022-01-10 17:53:10 +01:00
Andreas Zweili 2bb830c105 add a file for a partial modal 2022-01-09 11:29:53 +01:00
Andreas Zweili 4c77979bb9 move the closeModal function to the core template 2022-01-08 17:32:12 +01:00
Andreas Zweili 99c4d5b3ec rewrite the customer creation process to a modal 2022-01-08 17:28:43 +01:00
Andreas Zweili 91978758fd add the code server ip to allowed hosts 2022-01-01 16:11:10 +01:00
Andreas Zweili 0f87a2730c add a view for groups 2021-12-30 20:51:39 +01:00
Andreas Zweili e4ad765b63 add a required setting for primary keys 2021-12-30 19:06:34 +01:00
Andreas Zweili cd757ab386 remove some unused fixtures 2021-12-30 18:55:06 +01:00
Andreas Zweili 799b2a57dd add a custom user model 2021-12-30 18:31:47 +01:00
Andreas Zweili b85be757cd change the admin url 2021-12-30 18:05:25 +01:00
Andreas Zweili b51d7c00e9 fix the cleanall command 2021-12-30 16:53:06 +01:00
Andreas Zweili 28ce263a99 expand fixtures 2021-12-30 16:10:04 +01:00
Andreas Zweili 6fc66ffb78 limit the dropdowns in device and computer forms 2021-12-30 14:57:47 +01:00
Andreas Zweili c2104b23f7 fix the computer_update_view 2021-12-29 19:18:30 +01:00
Andreas Zweili 9cc47c361b replace the computer_update_view with a FBV 2021-12-29 19:12:32 +01:00
Andreas Zweili a1e4f8fc5a check the dates in the Warranty forms 2021-12-29 14:57:12 +01:00
Andreas Zweili 613fc79516 fix the dates in the warranty tests
because of the new constraint the tests failed when the valid_from date
was after the valid_until date.
2021-12-29 10:50:18 +01:00
Andreas Zweili cb9933967e add CheckConstraint to Warranty
valid_from should always be lower than valid_unil
2021-12-28 18:42:30 +01:00
Andreas Zweili bb70c0f56b devices need to be unique per customer 2021-12-28 17:53:00 +01:00
Andreas Zweili 641a3a7d31 add CSRF_TRUSTED_ORIGINS 2021-12-28 17:45:46 +01:00
Andreas Zweili 0ffa115ebe correct vscode settings 2021-12-28 16:49:41 +01:00
Andreas Zweili 1db8153e70 add a missing env variable 2021-12-28 16:33:44 +01:00
Andreas Zweili 342f460f8b update workflow 2021-12-28 16:30:49 +01:00
Andreas Zweili 69f980efd9 try to build docker image 2021-12-28 16:21:55 +01:00
Andreas Zweili a74af74786 rename job 2021-12-28 16:21:09 +01:00
Andreas Zweili 9d499999d5 run tests on pull request 2021-12-28 16:20:30 +01:00
Andreas Zweili 291acd7622 add tests for get_objects_for_customer 2021-12-28 16:17:35 +01:00
Andreas Zweili c411be37c1 upgrade to django 4.0 2021-12-28 16:07:12 +01:00
Andreas Zweili c1ff79dec6 ignore the db_data dir 2021-12-28 16:06:59 +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 fa10b77403 add coverage report to testlocal 2021-12-26 15:18:48 +01:00
Andreas Zweili 20524c20d4 remove the get_objects util 2021-12-24 13:12:07 +01:00
Andreas Zweili 436434cc86 replace test badge 2021-12-24 13:05:46 +01:00
Andreas Zweili 252d07eff9 try out a github workflow 2021-12-24 13:01:46 +01:00
Andreas Zweili f901999aee make get_customers an internal function 2021-12-24 12:55:34 +01:00