Commit Graph

1057 Commits

Author SHA1 Message Date
Oliver Falk
56cceb5724 Add django_celery_results 2025-09-18 20:23:45 +02:00
Oliver Falk
5a005d6845 Add celery 2025-09-18 11:33:28 +02:00
Oliver Falk
493f9405dd Play around with AI avatars - nothing serious yet 2025-09-17 13:55:12 +02:00
Oliver Falk
a641572e4b Adjustments for Bluesky based avatar 2025-09-16 12:49:34 +02:00
Oliver Falk
30f94610bd Improve form button layout and hero section centering
- Fix login page button spacing with proper gap between buttons
- Add responsive button group styling for all forms (login, registration, preferences, etc.)
- Implement mobile-first button layout: horizontal on desktop, vertical stack on mobile
- Center hero section buttons on front page with explicit flexbox centering
- Add theme-resistant CSS overrides to ensure consistent button appearance
- Update HTML structure to properly contain buttons within btn-group containers
- Enhance mobile UX with full-width buttons and touch-friendly spacing
2025-09-16 12:19:11 +02:00
Oliver Falk
55b7466eb5 Fix button text visibility across all themes
- Add CSS overrides with !important to ensure button text is visible
- Fixes invisible text on primary/secondary/danger buttons when custom themes are active
- Resolves issue where theme CSS files (red.css, green.css, clime.css) override text colors
- Ensures consistent button appearance regardless of selected theme
2025-09-16 11:46:53 +02:00
Oliver Falk
8a70ea1131 Improve mobile layout for photo assignment pages
- Replace float layout with responsive CSS Grid for photo selection
- Add proper spacing between image boxes on mobile devices
- Fix button overflow issues with responsive flexbox layout
- Consolidate duplicate CSS into main stylesheet
- Apply improvements to both email and OpenID assignment templates
2025-09-16 11:22:10 +02:00
Oliver Falk
b69f08694a We don't need that debug statement any more 2025-09-15 14:40:15 +02:00
Oliver Falk
ed27493abc Simple logic error and some Bluesky (still beta) fixes 2025-09-15 09:49:53 +02:00
Oliver Falk
f7d72c18fb This is creating a lot of noise and caching now anyway happens more on Apache side - use debug logging 2025-09-13 18:20:22 +02:00
Oliver Falk
7a1e38ab50 Use the hash value from the URL instead, less compute intense and more reliable 2025-09-12 11:49:34 +02:00
Oliver Falk
9d390a5b19 Add last modified and etag for better caching 2025-09-11 20:07:24 +02:00
Oliver Falk
52576bbf18 Remove the debug print 2025-09-11 20:00:47 +02:00
Oliver Falk
d720fcfa50 Rename the custom middleware to ensure it's know this is a localemiddleware. Also ensure we delete the Vary header, it could be empty - still problematic 2025-09-11 19:54:40 +02:00
Oliver Falk
c6e1583e7e Merge with master 2025-09-11 14:32:28 +02:00
Oliver Falk
5114b4d5d0 We actually need to implement this via Middleware, as the Locale Middleware comes later in the process and hinders us from removing the header. Anyway, it's cleaner, since we're not duplicating code 2025-09-11 14:22:34 +02:00
Oliver Falk
f81d6bb84c Merge branch 'devel' into 'master'
Hotfixes from devel

See merge request oliver/ivatar!248
2025-09-11 14:18:41 +02:00
Oliver Falk
16dd861953 Hotfixes from devel 2025-09-11 14:18:41 +02:00
Oliver Falk
4316c2bcc6 Merge branch 'master' into devel 2025-09-11 13:59:34 +02:00
Oliver Falk
b711594c1f We need to ensure the Vary setting isn't set of image responses 2025-09-11 13:55:08 +02:00
Oliver Falk
0d16b1f518 Remove the token auth - that was a bad idea. We may look into implementing a full oauth solution at a later point in time 2025-09-09 10:42:16 +02:00
Oliver Falk
4abbfeaa36 Handle next parameter on the token auth page to correctly redirect to the initiating page 2025-09-08 12:52:24 +02:00
Oliver Falk
13f13f7443 The login page is missing the next parameters, preventing it from working properly 2025-09-08 10:55:23 +02:00
Oliver Falk
f5c8cda222 Login page didn't respect the next parameter, bad UX. Fixed. 2025-09-08 10:37:22 +02:00
Oliver Falk
59c8db6aec Unauthenticated accesses need to be redirected for the full auth flow to work properly 2025-09-08 10:30:21 +02:00
Oliver Falk
ebfcd67512 One more fix for multiple objects 2025-09-07 17:18:18 +02:00
Oliver Falk
0df2af4f4b Unauthenticated requests leads to error - fix that case 2025-09-07 12:53:37 +02:00
Oliver Falk
797ec91320 Missing constraint 2025-09-07 11:59:48 +02:00
Oliver Falk
85c06cd42c §Fix and enhance tests, esp. remove occurances of hardcoded username/pass/email. Also treat request to admin group special and also allow superusers, which is a flag on the userobject and not a group 2025-09-06 11:13:11 +02:00
Oliver Falk
aa742ea181 Implement ExternalAuth for token based authorization 2025-09-06 10:28:50 +02:00
Oliver Falk
deeaab7e23 Identation fixes 2025-09-06 10:26:56 +02:00
Oliver Falk
0832ac9fe0 Some syntax adjustments 2025-09-06 10:26:18 +02:00
Oliver Falk
b3f580e51b Merge branch 'devel' into 'master'
Pull in fixes and updates from devel

See merge request oliver/ivatar!247
2025-08-23 16:17:58 +02:00
Oliver Falk
12bc7e5af4 Filter is a reserved word 2025-08-23 15:35:36 +02:00
Oliver Falk
e44a84e9ae Add thanks for Ezequiel 2025-08-23 15:35:36 +02:00
Oliver Falk
a1d13ba3ce MAX_ENTRIES for PyMemcacheCache doesn't work with all versions - remove it. 2025-08-13 21:40:37 +02:00
Oliver Falk
aa3e1e48dc Merge branch 'master' into devel 2025-05-24 16:31:44 +02:00
Oliver Falk
919ed4d485 We need to check if we already have an ID 2025-05-24 16:30:21 +02:00
Oliver Falk
cb7328fe23 Initial shot at invalidating the cache entry - to be confirmed to work (read: TODO) 2025-05-24 16:16:00 +02:00
Oliver Falk
1892e9585e Increase cache entries 2025-05-24 16:15:02 +02:00
Oliver Falk
7d0d2f931b Merge branch 'devel' into 'master'
Update exception handling for Bluesky to Email

See merge request oliver/ivatar!246
2025-05-07 10:28:12 +02:00
Oliver Falk
5dcd69f332 Handle exceptions during Bluesky assignment to email the same way we handle it for OpenID 2025-05-07 10:13:01 +02:00
Oliver Falk
1560a5d1de Merge branch 'devel' into 'master'
Quick fix to handle an exception in Bluesky handle assignment

See merge request oliver/ivatar!245
2025-05-07 09:06:41 +02:00
Oliver Falk
1f17526fac Move the setting of the handle up to ensure we catch the potential exception as well 2025-05-07 08:47:19 +02:00
Oliver Falk
c36d0fb808 Merge branch 'devel' into 'master'
Merge devel for updating the Bluesky test handles

See merge request oliver/ivatar!244
2025-05-06 14:25:41 +02:00
Oliver Falk
771a386bf4 Change to the libravatar handle 2025-05-06 13:17:31 +02:00
Oliver Falk
c109b70901 Merge branch 'devel' into 'master'
Bluesky integration and Fedora OIDC integration (because OpenID is going to be deprecated)

See merge request oliver/ivatar!243
2025-05-06 11:55:10 +02:00
Oliver Falk
b8996e7b00 Ensure we're sourcing the venv 2025-04-16 09:30:03 +02:00
Oliver Falk
184f3eb7f7 Use latest version from GIT, as it contains some fixes (by us) 2025-04-16 08:57:54 +02:00
Oliver Falk
27e3751776 Use newer Fedora version (investigating even newer soon) and change the registry 2025-04-16 08:57:22 +02:00