Commit Graph

34 Commits

Author SHA1 Message Date
Github-actions
73841a181d Automatic linting 2026-05-08 13:21:35 +00:00
Roland Geider
a33f47a1a7 Refactor and improve jwt and regular api key handling 2026-05-08 15:21:19 +02:00
Roland Geider
dd4336f9c4 Improve test suite speed and remove unused code 2026-05-06 10:37:35 +02:00
Roland Geider
72abb103b4 Set default URL for SYNC_INGREDIENTS_DUMP_URL in settings
This is more robust since currently the sync URL is made from a local setting
which can be changed (this is a todo for another day)
2026-04-28 17:20:48 +02:00
Roland Geider
00eb981945 Add throttling for ingredient endpoints to protect against high load 2026-04-28 11:59:18 +02:00
Roland Geider
86f5ce62d5 Remove the django-compressor options
This library is not used anymore
2026-04-27 12:09:55 +02:00
Roland Geider
d06180e4f4 Properly register postgres-specific behaviour
Fixes #2304
2026-04-20 11:49:12 +02:00
Roland Geider
b6b9914beb Cleanup the ci settings 2026-04-13 13:04:13 +02:00
Roland Geider
cfba264a2b Watch for default keys
To prevent local instances using default keys in production, server running
with these will warn and generate random ones
2026-04-11 16:31:59 +02:00
Roland Geider
a5c64a0749 Allow configuring the ingredient dump URL 2026-04-11 00:06:40 +02:00
Roland Geider
e2e257dc24 Add tasks to periodically generate the ingredient export 2026-04-10 21:28:07 +02:00
Roland Geider
80cd7d2139 Merge pull request #2260 from pankaj-basnet/feature/2258-migrate-to-django-allauth
Feat: Replace django-email-verification with django-allauth (#2258)
2026-03-29 15:57:45 +02:00
Roland Geider
821a2f4ae6 Use correct setting name 2026-03-28 23:40:21 +01:00
Roland Geider
ccef34409b Remove the django-email-verification dependency 2026-03-28 17:20:37 +01:00
Roland Geider
e950f3b572 For completeness, add STORAGES key to settings_global.py 2026-03-28 16:44:27 +01:00
Roland Geider
4873f939c0 Add account adapter
This allows us to pass the expiration time for the verification emails
2026-03-28 14:14:55 +01:00
Roland Geider
6b42408711 Allow configuring the S3 buckets for static files as well 2026-03-26 19:55:30 +01:00
Roland Geider
2831255f2c Don't hard code the AWS_S3_CUSTOM_DOMAIN option 2026-03-24 14:06:51 +01:00
Github-actions
79771797cf Automatic linting 2026-03-23 19:50:42 +00:00
Roland Geider
40ca8a0dee Improve handling of deleted or uploaded media files
Simply calling .delete() takes care of deletion of entries in the local filesystem
of uploaded to some cloud storage if that option is used. Also, move the S3 options
from global settings so they can be used with the docker setup.
2026-03-23 20:23:36 +01:00
pankaj-basnet
bc8740e9b7 integrate allauth add_email and verification into user preferences (#2258) 2026-03-23 16:26:51 +05:45
pankaj-basnet
d18a20908d remove django-email-verification package code (github issue=2258) 2026-03-22 01:11:37 +05:45
Roland Geider
ce11ab08cc Add configurable captcha score and set widget actions 2026-02-25 11:49:00 +01:00
Roland Geider
ef74611653 Fix formatting 2026-02-24 20:00:53 +01:00
Github-actions
57e6923f2c Automatic linting 2026-01-18 12:06:40 +00:00
Roland Geider
c5281d2665 Formatting 2026-01-18 12:27:22 +01:00
Github-actions
bc061acfdc Automatic linting 2026-01-18 11:22:18 +00:00
Roland Geider
c673caba7f Merge branch 'master' into fork/justin-pinheiro/pr-trophies
# Conflicts:
#	settings/settings_global.py
2026-01-15 11:09:39 +01:00
Github-actions
ea626844af Automatic linting 2026-01-11 20:29:13 +00:00
Roland Geider
6405b10755 Remove django compressor
Our react components' main.js could not be added in the compression, so sometimes users
would get outdated files served. The LenientManifestStaticFilesStorage now makes sure
that the static files get a hash in the filename. Django compressor was removed since
most of the js and css files are already minified and modern http versions can handle
files better.
2026-01-11 17:42:44 +01:00
Github-actions
4f7e61f735 Automatic linting 2026-01-11 11:13:23 +00:00
Roland Geider
10bec7544c Cleanup 2026-01-09 19:55:56 +01:00
Roland Geider
b04e7b34cd Add django compressor's COMPRESS_OFFLINE option for offline compression 2026-01-09 13:41:38 +01:00
Roland Geider
a8ba6fe2d6 Refactor the way the settings are handled.
Instead of a "create-settings" command, which didn't contain all the options
and was a bit awkward, we now have specific settings used for different things.
2025-12-28 21:32:44 +01:00