Commit Graph

996 Commits

Author SHA1 Message Date
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
Oliver Falk
fe1113df06 Merge branch 'master' into devel 2025-02-07 14:51:34 +01:00
Oliver Falk
ad79c414da Merge branch 'bluesky' into 'devel'
Refactor: Centralize URL handling and add Bluesky integration

See merge request oliver/ivatar!240
2025-02-07 11:34:24 +00:00
Oliver Falk
3aaaac51f0 Bluesky integration
* Centralize the our urlopen for consistency.
* Fix a few tests
2025-02-07 11:34:24 +00:00
Oliver Falk
56780cba69 Merge branch 'devel' into 'master'
Move latest developments up the chain into production

See merge request oliver/ivatar!239
2025-02-07 10:43:37 +00:00
Oliver Falk
dcbd2c5df5 Patch release - no major changes
Testing fixes and stabilization
Test improvement / speed up
PostgreSQL side container for building
2025-02-07 10:43:37 +00:00
Oliver Falk
0a0a96ab6e Commit a few tests for Bluesky, now that they are in shape 2025-02-07 08:44:13 +01:00
Oliver Falk
22f9dac816 Reschuffle config slightly to ensure config_local is really processed at the end and fetch Bluesky creds from env (mainly for CI/CD purpose 2025-02-03 15:48:16 +01:00
Oliver Falk
433bf4d3e2 Put Bluesky tests into separate file, as the existing test class is already too large 2025-01-31 16:11:13 +01:00
Oliver Falk
6e0bc487cd Correct tst for redict with gravatarproxy disabled 2025-01-31 16:07:58 +01:00
Oliver Falk
6cd5b64553 Fix a few tests to work properly again 2025-01-31 14:40:01 +01:00
Oliver Falk
154e965fe3 Ensure we can add Bluesky handles and display it on the profile page 2025-01-31 12:51:51 +01:00
Oliver Falk
072783bfd5 Handle development environment differently to ensure we hit the local instance 2025-01-31 12:50:34 +01:00
Oliver Falk
259d370d9a Need to handle URL request 2025-01-31 12:49:32 +01:00
Oliver Falk
e1705cef36 Add BlueskyProxy + handle requests 2025-01-31 12:49:06 +01:00
Oliver Falk
94b0fc2068 New field bluesky_handle in both main models 2025-01-31 12:44:11 +01:00
Oliver Falk
ffab741445 Bluesky creds could be undefined, handle that exception accordingly
Signed-off-by: Oliver Falk <oliver@linux-kernel.at>
2025-01-27 08:06:12 +01:00
Oliver Falk
7559ddad6e Refactor: Centralize URL handling and add Bluesky integration
- Centralize urlopen functionality in utils.py with improved error handling
- Add configurable URL timeout across the project
- Introduce Bluesky client for fetching avatar from there (TBC)
- Support SSL verification bypass in debug mode

Signed-off-by: Oliver Falk <oliver@linux-kernel.at>
2025-01-25 13:16:04 +01:00
Oliver Falk
dc30267ff4 Don't use Argon2, as it doesn't work in old Python envs 2025-01-23 13:45:27 +01:00
Oliver Falk
3fad7497a1 Add argon2 to reqs; Fixes pipeline build as well
Signed-off-by: Oliver Falk <oliver@linux-kernel.at>
2025-01-23 13:33:49 +01:00
Oliver Falk
4a615c933b Newer Django may create this dir for djcache 2025-01-21 19:55:59 +01:00
Oliver Falk
6c25f6ea12 Pin Django to > 5.1, as older version may not work properly any more 2025-01-21 19:44:04 +01:00
Oliver Falk
cea4d5eb24 settings: Update for Django 5.1 compatibility
* Add LocaleMiddleware and i18n template context processor
* Add ATOMIC_REQUESTS for database transactions
* Adjust password validation settings:
  - Keep min length at 6 chars
* Add security settings for production environment
2025-01-21 19:42:32 +01:00
Oliver Falk
e878224ba6 Ensure we change the navbar to red-ish in case of the development instance 2025-01-08 13:52:00 +01:00
Oliver Falk
483dcf8cf7 Remove debugging statements 2024-06-25 10:36:07 +02:00
Oliver Falk
07c7f42f01 Merge branch 'master' into devel 2024-06-25 10:35:05 +02:00
Oliver Falk
b0d09e3ad4 Merge branch 'master' into devel 2024-06-25 10:34:09 +02:00
Oliver Falk
a2972ac61f Merge branch 'test-with-pgsql' into 'devel'
Use real database (side container)

See merge request oliver/ivatar!238
2024-06-25 08:32:35 +00:00
Oliver Falk
1fa5dddce5 Use real database (side container) 2024-06-25 08:32:34 +00:00
Oliver Falk
2cb868b129 Explicitly set pip cache 2024-06-24 16:50:32 +02:00
Oliver Falk
0e295401df Add pip cache 2024-06-24 16:15:00 +02:00
Oliver Falk
ecc87033cc Readd, but it's borken right now 2024-06-24 16:14:21 +02:00
Oliver Falk
2df0cdf892 Don't use CI lint args 2024-06-24 16:13:25 +02:00
Oliver Falk
cf5c058bfb Merge branch 'devel' into 'master'
Fix use of WEBP in production (file formats are all 3 letters, but WEBP is 4 letters, breaking the limited varchar(3)

Closes #97

See merge request oliver/ivatar!237
2024-05-31 15:17:45 +00:00
Oliver Falk
c2145e144f All file formats are 3 letters, but WEBP is 4, need to adjust - Closes #97 2024-05-31 17:03:00 +02:00
Oliver Falk
549289a36a Merge branch '95-logout-leading-to-http-error-405' into 'master'
Resolve "Logout leading to HTTP error 405" and add new tests to catch it next time

Closes #95

See merge request oliver/ivatar!236
2024-01-16 14:00:39 +00:00
Oliver Falk
8b0fc31f6a Resolve "Logout leading to HTTP error 405" - closing #95 2024-01-16 14:00:38 +00:00
Oliver Falk
4eedb3e628 Merge branch 'devel' into 'master'
Ensure master has the latest fixes from devel included

See merge request oliver/ivatar!235
2023-12-28 15:00:10 +00:00
Oliver Falk
049271acdd Bound/Unbound forms need deeper investigation - for the moment, disable testing several FormErrors 2023-12-28 15:42:35 +01:00
Oliver Falk
1a859af31f Use older dnspython version - something changed that is incompatible with libravatar (client) libs 2023-12-28 15:40:49 +01:00
Oliver Falk
2fe8af6fab JSONSerializer has been deprecated: https://docs.djangoproject.com/en/4.2/releases/4.1/ 2023-12-07 09:41:22 +01:00
Oliver Falk
3a61d519ba Add example issue template 2023-09-12 16:56:58 +02:00
Oliver Falk
8dff034f9e Merge branch 'devel' into 'master'
Pull in latest developments

See merge request oliver/ivatar!230
2023-09-12 14:54:33 +00:00
Oliver Falk
b58c35e98b Pillow 10.0.0 removed the ANTIALIAS alias. 2023-09-12 16:35:51 +02:00