Commit graph

128 commits

Author SHA1 Message Date
150dbacba2 Merge pull request 'Set up pytest' (#23) from pytest into main
All checks were successful
Build and Deploy Staging / build (push) Successful in 47s
Build and Deploy Staging / deploy (push) Successful in 7s
Reviewed-on: https://servala-2nkgm.app.codey.ch/servala/servala-portal/pulls/23
2025-03-24 09:34:53 +00:00
1424fdf3bb Add very basic tests 2025-03-24 10:33:32 +01:00
832763cb2a Document env file option in uv 2025-03-24 10:30:41 +01:00
6dd52cea03
set uv cache dir in deployment env vars
All checks were successful
Build and Deploy Staging / build (push) Successful in 46s
Build and Deploy Staging / deploy (push) Successful in 7s
2025-03-21 15:23:44 +01:00
fdfed693ff
configure reverse proxy header for proper TLS
All checks were successful
Build and Deploy Staging / build (push) Successful in 47s
Build and Deploy Staging / deploy (push) Successful in 7s
2025-03-21 15:12:58 +01:00
c6c078c5c2
gitignore local tmp folder
All checks were successful
Build and Deploy Staging / build (push) Successful in 45s
Build and Deploy Staging / deploy (push) Successful in 7s
2025-03-21 15:00:45 +01:00
99a68c1578
configure csrf trusted origins
All checks were successful
Build and Deploy Staging / build (push) Successful in 47s
Build and Deploy Staging / deploy (push) Successful in 7s
2025-03-21 14:59:37 +01:00
65d60bf17c
no kubernetes probes during development 2025-03-21 14:59:12 +01:00
294e3ae732
because of permissions use main db credentials
All checks were successful
Build and Deploy Staging / build (push) Successful in 47s
Build and Deploy Staging / deploy (push) Successful in 7s
2025-03-21 14:46:55 +01:00
7789ec98cc
configure a dedicated db and user
All checks were successful
Build and Deploy Staging / build (push) Successful in 47s
Build and Deploy Staging / deploy (push) Successful in 7s
2025-03-21 14:43:36 +01:00
782e404942
use separate token for staging deployment
All checks were successful
Build and Deploy Staging / build (push) Successful in 46s
Build and Deploy Staging / deploy (push) Successful in 8s
2025-03-21 14:34:17 +01:00
5dea8e0579 Merge pull request 'Deployment to Staging' (#18) from deployment-to-test into main
Some checks failed
Build and Deploy Staging / build (push) Successful in 46s
Build and Deploy Staging / deploy (push) Failing after 6s
Reviewed-on: https://servala-2nkgm.app.codey.ch/servala/servala-portal/pulls/18
2025-03-21 13:26:59 +00:00
f2580675a0
document deployment to staging 2025-03-21 14:24:37 +01:00
07812efe82
configure uv cache to support openshift 2025-03-21 14:24:21 +01:00
fb66d5666c
properly support staticfiles in docker 2025-03-21 14:24:21 +01:00
e56447ece6
dont include local sqlite file in docker build 2025-03-21 14:24:21 +01:00
dafd73b7d5
deployment automation for staging 2025-03-21 14:24:21 +01:00
f773cf169b Merge pull request 'Organization tenancy and frontend' (#16) from 6-organizations into main
All checks were successful
Build and Deploy / build (push) Successful in 45s
Reviewed-on: http://servala-2nkgm.app.codey.ch/servala/servala-portal/pulls/16
2025-03-21 12:32:52 +00:00
d10ba90b4d Profile view permissions 2025-03-21 09:52:53 +01:00
832d85b7fc Add sidebar icon 2025-03-20 16:57:52 +01:00
31003c5c76 Use rules permissions in views and HTMX forms 2025-03-20 16:57:15 +01:00
21ff6fe7d0 Implement organization rules 2025-03-20 16:50:56 +01:00
f11c1ca5bc Improve look of org create button with no existing orgs 2025-03-20 16:03:01 +01:00
da82b459bd Disable django_scopes in admin namespace 2025-03-20 15:51:04 +01:00
34df06939a Add django-rules 2025-03-20 15:36:40 +01:00
b6571ede2c Add organization edit view 2025-03-20 14:31:33 +01:00
7f3bd159cb Make HTMX integration more flexible 2025-03-20 12:05:22 +01:00
8a98f1ac33 Add urlman for easier url access
With a variable slug, reverse()/{% url %} is rough to use.
2025-03-20 11:32:46 +01:00
8be1c86deb Move org account switcher to sidebar header 2025-03-20 10:57:17 +01:00
1d4162582a Add auto-active links to sidebar 2025-03-20 10:51:56 +01:00
6e6f2d0993 Add django-scopes 2025-03-20 10:32:03 +01:00
2dcc5650a9 Add organization context to every request 2025-03-20 10:22:54 +01:00
7f389434a4 Add organization dashboard and redirects 2025-03-20 10:22:54 +01:00
1b69310c77 Fix admin form rendering 2025-03-20 10:22:54 +01:00
314ecc9c0d Make Organization.billing_entity nullable 2025-03-20 10:22:54 +01:00
6ed19e90a3 Form rendering improvements 2025-03-20 10:22:54 +01:00
f17e1a0782 Fix alignment 2025-03-20 10:22:54 +01:00
eae01c74c7 More code reuse + inline form rendering 2025-03-20 10:22:54 +01:00
b36ebcf5ff Implement inline form renderer 2025-03-20 10:22:54 +01:00
72bd7388d6 Inline-edit user profile with HTMX 2025-03-20 10:22:54 +01:00
ecf4052819 Form and View mixins for HTMX/partials 2025-03-20 10:22:54 +01:00
dcbf98f829 Use HTMX on all pages 2025-03-20 10:22:54 +01:00
db2268badd New dependency: django-template-partials
for better HTMX integration
2025-03-20 10:22:54 +01:00
86776651b6 Vendor HTMX 2025-03-20 10:22:54 +01:00
1302dcce44 Merge pull request 'Login and registration' (#10) from 5-authentication into main
Some checks failed
Build and Deploy / build (push) Failing after 57s
Reviewed-on: http://git.example.com/servala/servala-portal/pulls/10
2025-03-20 09:20:53 +00:00
b11c7ecc21 Link keycloak on profile page 2025-03-19 17:36:20 +01:00
c28fa71b9d Show user company in profile 2025-03-19 16:58:14 +01:00
a285d655a7 Add menu hide/show toggle on mobile 2025-03-19 16:58:04 +01:00
8f719b0d65 Fix organization creation, make reusable for API 2025-03-19 15:42:47 +01:00
98e114dc79 Request company in signup process 2025-03-19 14:59:00 +01:00