Commit graph

5,337 commits

Author SHA1 Message Date
789e65c3bf Remove the Signal providing_args argument Django no longer accepts 2026-11-05 13:56:06 +03:00
30bc473210 Log Django errors to the console so kubectl logs shows 500 tracebacks 2026-11-05 13:39:45 +03:00
4321bf6b55 Fix the login page and other views for current Django (is_authenticated is a property, method decorators) 2026-11-05 13:39:44 +03:00
de505d3845 Serve alias hosts instead of redirecting them to the site's canonical domain 2026-11-03 13:51:09 +03:00
28125b434e Make the app files readable for any user whatever umask the image is built with 2026-11-03 13:30:25 +03:00
5427e627dc Document UNGLEICH_SITE_ALIASES in K8S.md 2026-11-02 18:03:09 +03:00
7bb95c14d3 Let UNGLEICH_SITE_ALIASES show a site on another host 2026-11-02 18:00:17 +03:00
1c57cd6024 Run migrate as its own step before web and celery start 2026-11-02 14:00:01 +03:00
9d7021c6c7 Collect static files into /app/static when the image is built 2026-11-02 14:00:01 +03:00
4c252437da Listen on [::] and leave migrate and collectstatic out of start-web.sh 2026-11-02 14:00:01 +03:00
24154a2dba Only run forward steps before cms 0020 so applied migrations aren't rolled back 2026-11-01 22:25:55 +03:00
ae5006a660 Mention the orphan page step in the migrate docstring 2026-10-31 20:08:20 +03:00
6e9c50d812 Give pages without a tree node one before cms 0020 requires it 2026-10-31 20:08:16 +03:00
1c5e9c87af Keep Django's migration history check unless it actually fails 2026-10-16 17:49:43 +03:00
d0de8db029 Make manage.py migrate handle restored old databases and create the sites 2026-10-16 17:42:19 +03:00
b535d1c8f9 Document that the command can be overridden now 2026-10-16 14:39:11 +03:00
0100daf8b9 Read the database settings from the environment instead of a generated file 2026-10-16 14:39:11 +03:00
6e2dd6b555 Clarify PostgreSQL setup instructions and update testing notes in Kubernetes guide 2026-10-09 22:01:35 +03:00
a80010c0bc Rewrite the Kubernetes guide around the Helm chart 2026-10-09 21:44:38 +03:00
fdb9ce6033 Add a Helm chart that migrates with a Job and replaces the raw manifest 2026-10-09 21:44:34 +03:00
fcac609728 Describe the restore, migrate and start order in the Kubernetes steps 2026-10-09 20:45:57 +03:00
6c6aef8309 Run migrations in a Job and stop Kubernetes injecting service env vars 2026-10-09 20:45:57 +03:00
4a6460f129 Replace the Kubernetes guide with a manifest and short steps 2026-10-09 20:00:02 +03:00
3eb05bef6d Document the roles and add the Kubernetes guide 2026-10-09 19:36:30 +03:00
9ee1a3bd49 Pick the container role with ROLE instead of a command 2026-10-09 19:36:30 +03:00
d488b565d9 Serve with gunicorn and WhiteNoise instead of runserver 2026-10-09 19:36:29 +03:00
aecedc6c90 Build one shared image for web and celery 2026-10-09 19:15:41 +03:00
f77619708e Build on Docker's default network and document the IPv6-only DNS fix 2026-10-09 15:51:18 +03:00
3422a87410 Use Postgres 18 in the compose stack 2026-10-07 15:33:05 +03:00
cbecab344b Add sortedm2m to INSTALLED_APPS
Its widget template was not found, so the news article add form returned 500.
2026-10-06 20:24:57 +03:00
ffddf5b7d1 Restore LogEntry.objects.log_action for django-cms
Django 6 removed it; publishing and unpublishing a page returned 500.
2026-10-06 20:24:57 +03:00
5fcdeb60d5 Fix aldryn-categories admin with treebeard 7
treebeard 7 renamed the move form fields to treebeard_position and
treebeard_ref_node; the category add form raised FieldError.
2026-10-06 20:24:57 +03:00
c9cbcc9d55 Fix CMS page tree admin on Django 6: pass cl to the change list templates
Django 6's change list templates read cl.opts, but django-cms 3.11 only
provides opts, so /admin/cms/page/ and /admin/cms/pagetype/ returned 500.
2026-10-06 20:24:56 +03:00
88098f5b25 Use Redis for the cache instead of memcached
CACHE_URL (default redis://redis:6379/1) feeds the built-in RedisCache
backend. Redis is already part of compose for Celery, so this drops
pylibmc, python-memcached and libmemcached-dev.
2026-10-06 19:55:18 +03:00
aeced67121 prod settings: use PyLibMCCache (MemcachedCache was removed in Django 4.1) 2026-10-06 14:32:56 +03:00
096a8cbd0b DOCKER.md: state Postgres and Python/Django versions 2026-10-06 14:31:17 +03:00
e2c6e291e2 Set integer env defaults in .env.docker to silence log noise 2026-10-06 14:31:17 +03:00
392ff8e459 Dockerfile: drop unused openldap-dev and libldap_r workaround 2026-10-06 14:31:16 +03:00
5e4ce6713b Adapt to Django 6.1: compat app config, django.contrib.postgres 2026-10-06 13:56:47 +03:00
82d5292b05 Make FilerPluginManager a treebeard MP_NodeManager 2026-10-06 13:56:47 +03:00
099e8ef11b Pin dependencies for Django 6.1 2026-10-06 13:56:47 +03:00
55c1dc2f75 Adapt code to Django 5.2: django_recaptcha app, utc in old migrations 2026-10-06 13:48:26 +03:00
1a0f4b17e1 Drop the half-configured debug toolbar 2026-10-06 13:48:26 +03:00
73e2890409 Migrate legacy databases with the history check off 2026-10-06 13:48:26 +03:00
c397e94f38 Move to Python 3.12 and PostgreSQL 16, pin dependencies for Django 5.2 2026-10-06 13:48:26 +03:00
eeb6e1b397 Adapt code to Django 4.2: re_path, gettext, force_str, is_ajax 2026-10-06 13:10:20 +03:00
3b5fcafd3f Add compat shims for removed Django names used by unmaintained packages 2026-10-06 13:10:20 +03:00
f784a61cc7 Move to Python 3.10 and pin dependencies for Django 4.2 2026-10-06 13:10:20 +03:00
28546434dc Use the static template library and drop six in the mailer 2026-10-06 12:31:27 +03:00
1dc1c2601d Settings for Django 3.2: DEFAULT_AUTO_FIELD, multisite SITE_ID check, aldryn compat shim 2026-10-06 12:31:27 +03:00