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 |
Andreas Zweili
|
b78780555d
|
rename util function to retrieve objects
|
2021-12-24 12:48:56 +01:00 |
Andreas Zweili
|
c648fd1874
|
replace decorator with generic util
|
2021-12-24 12:42:36 +01:00 |
Andreas Zweili
|
f9212d2cbe
|
rewrite the computers_table_view to use the new util
|
2021-12-24 12:32:48 +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
|
554a6f874d
|
rewrite CustomerCreateView to FBV
|
2021-12-23 22:44:31 +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
|
2ff96a4976
|
refactor customer_detail_view
|
2021-12-23 19:14:20 +01:00 |
Andreas Zweili
|
3e14c00220
|
remove unused import
|
2021-12-23 19:02:58 +01:00 |
Andreas Zweili
|
c49fa57994
|
implement the object permission directly
|
2021-12-23 19:02:18 +01:00 |
Andreas Zweili
|
3f206daaf4
|
rewrite CustomerDetailView to a FBV
|
2021-12-23 18:50:03 +01:00 |
Andreas Zweili
|
52bdd8efae
|
PEP8
|
2021-12-23 18:38:00 +01:00 |
Andreas Zweili
|
5ad5851926
|
remove unnecessary flag
I don't want the users to use the admin interface.
|
2021-12-23 18:36:21 +01:00 |
Andreas Zweili
|
c99e54049c
|
use TemplateResponse in htmx_create_customer
|
2021-12-23 15:24:50 +01:00 |
Andreas Zweili
|
7945dadd65
|
Fix the customer delete view
|
2021-12-23 15:11:41 +01:00 |
Andreas Zweili
|
478c07160e
|
Add a slight hack to reload the page after success
|
2021-12-23 15:10:29 +01:00 |
Andreas Zweili
|
c1fbf81bd4
|
rewrite htmx test to FBV
|
2021-12-22 19:14:18 +01:00 |
Andreas Zweili
|
381c5c9568
|
make customer names unique
|
2021-12-22 19:13:44 +01:00 |
Andreas Zweili
|
f042f5f1d4
|
ignore pycharm config for the moment
|
2021-12-22 19:13:29 +01:00 |
Andreas Zweili
|
1573d148ad
|
fix the form
|
2021-12-21 18:17:58 +01:00 |
Andreas Zweili
|
ba3e40f1c2
|
create a first working example
|
2021-12-21 17:51:57 +01:00 |
Andreas Zweili
|
cf59bf9323
|
linting
|
2021-12-21 17:30:21 +01:00 |
Andreas Zweili
|
4d8bfce029
|
Merge branch 'master' into htmx
|
2021-12-20 21:18:46 +01:00 |
Andreas Zweili
|
32e667a9a2
|
fix the flake
|
2021-12-20 21:18:24 +01:00 |
Andreas Zweili
|
b546901623
|
remove depricated urls
|
2021-12-20 19:42:44 +01:00 |
Andreas Zweili
|
cc48f11c41
|
remove broken code
|
2021-12-20 19:34:48 +01:00 |
Andreas Zweili
|
f5ba9fdcfd
|
change nginx port to 8080
On the code server I can't use 80
|
2021-12-12 13:51:03 +01:00 |
Andreas Zweili
|
41bf9b1dc8
|
add a basic htmx config
|
2021-12-11 14:22:24 +01:00 |
Andreas Zweili
|
64cfbe126f
|
Merge pull request #58 from Nebucatnetzer/dependabot/pip/requirements/django-3.2.10
Bump django from 3.2 to 3.2.10 in /requirements
|
2021-12-10 19:02:03 +01:00 |
dependabot[bot]
|
f3fdbee28d
|
Bump django from 3.2 to 3.2.10 in /requirements
Bumps [django](https://github.com/django/django) from 3.2 to 3.2.10.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2...3.2.10)
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2021-12-10 18:00:44 +00:00 |
Andreas Zweili
|
9f6d68fbbc
|
format base
|
2021-12-10 18:56:56 +01:00 |