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
Oliver Falk
e3b0782082
Merge branch 'oidc' into 'devel'
...
Add support for OIDC authentication with Fedora
See merge request oliver/ivatar!242
2025-04-15 11:10:30 +00:00
Aurélien Bompard
5a0aa4838c
Disable caching in the tests
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-07 11:03:33 +02:00
Aurélien Bompard
bbacd413ca
Email validation fails on some random TLDs
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-07 11:03:33 +02:00
Aurélien Bompard
99b4fdcbcd
Add support for OIDC authentication with Fedora
...
This adds support for authenticating with Fedora's OpenID Connect (OIDC) provider.
Existing users will be matched by email address, they should be able to use the new authentication method transparently.
This requires getting a `client_id` and a `client_secret` from Fedora Infra, see `INSTALL.md`.
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-04-07 11:03:33 +02:00
Oliver Falk
c948f515e0
Remove mysqlclient - we highly recommend using PostgreSQL anyway and for dev, SQLite should be sufficient for most cases
2025-02-27 15:21:21 +01:00
Oliver Falk
8dd29e872d
Removeprefix isn't available in older Python versions, replace with a while, stripping all @ and eliminate the need for this function
2025-02-26 09:25:47 +01:00
Oliver Falk
4f5f498da8
Comment out all these tests, as they all fail with the same issue
2025-02-13 15:30:34 +01:00
Oliver Falk
6c4d928a1f
We still have this particular test failing under some circumstances (esp. during CI)
2025-02-13 15:09:19 +01:00
Oliver Falk
498ab7aa69
Switch return order for better readability
2025-02-13 15:07:48 +01:00
Oliver Falk
e90604a8d3
Code cleanup/refactoring
2025-02-10 16:54:28 +01:00
Oliver Falk
4a892b0c4c
Lots of code cleanup, no functionality change
2025-02-10 13:27:48 +01:00
Oliver Falk
04a39f7693
Bump version - new feature deserves it
2025-02-10 10:59:24 +01:00
Oliver Falk
715725f7c9
Merge branch 'bluesky' into 'devel'
...
UX enhancements for Bluesky
See merge request oliver/ivatar!241
2025-02-10 09:57:55 +00:00
Oliver Falk
b86e211adc
UX enhancements for Bluesky
2025-02-10 09:57:54 +00:00
Oliver Falk
6b24a7732b
Merge bluesky fixes
2025-02-08 15:08:53 +01:00
Oliver Falk
488206f15b
Some fixes for normalizing Bluesky handle + better error catching
2025-02-08 15:07:35 +01:00
Oliver Falk
b12b5df17a
Reduce version requirement. Tested with 4.2.16 - still works fine
2025-02-07 15:44:15 +01:00
Oliver Falk
60ee28270a
Merge branch 'devel' into bluesky
2025-02-07 14:51:56 +01:00