Commit graph

5,314 commits

Author SHA1 Message Date
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
5376d1c611 Pin dependencies for Django 3.2 2026-10-06 12:31:27 +03:00
569948b7bb Add license files and a note for the vendored packages 2026-10-06 10:56:34 +03:00
9c4c223390 Adapt code to Django 2.2: urls, on_delete, app_name, auth views, template tags 2026-10-06 10:32:20 +03:00
aebf065449 Bring legacy django-reversion tables to the 3.x schema on start 2026-10-06 10:32:20 +03:00
a54ebfd749 Move to Python 3.8 and Django 2.2 dependency pins 2026-10-06 10:32:20 +03:00
f20e757777 Drop custom view_* permissions that clash with Django's built-in ones 2026-10-06 10:32:20 +03:00
7cbbbc0a3a Implement CMSMultiSiteMiddleware in the repo instead of the unmaintained fork 2026-10-06 10:32:20 +03:00
9c465422b6 Vendor stored_messages and cmsplugin_filer packages patched for Django 2 2026-10-06 10:32:20 +03:00
3f36b0899b Apply legacy migration dependencies before migrating 2026-10-06 01:10:06 +03:00
292f3d0513 Adapt code to django CMS 3.6 and Django 1.11
Decide the home redirect per request instead of querying at import time,
replace the removed _get_placeholder helper, stop shadowing the
is_superuser field, and set the seeded home page as the CMS home.
2026-10-06 01:10:06 +03:00
61af03b342 Use the merged django-meta template path 2026-10-06 01:10:06 +03:00
8e5761e62a Move settings and middleware to Django 1.11 style
Use MIDDLEWARE with adapted old-style middleware, the template context
processors, explicit bootstrap3 URLs, the captcha app name, and drop the
obsolete migration module overrides and removed apps.
2026-10-06 01:10:06 +03:00
b4e73d50c6 Pin dependencies for Django 1.11 2026-10-06 01:10:05 +03:00
8c1cfcfc11 Add a script to restore the snapshot into the compose stack 2026-10-05 22:59:58 +03:00
b003bbcc52 Add a Django 1.9 sample-database snapshot for testing migrations 2026-10-05 22:59:58 +03:00
2beebb9c9f Document the startup delay, the smoke test and the login behavior 2026-10-05 22:46:47 +03:00
a0d4ed2497 Add a smoke test that opens every site and logs in to the admin 2026-10-05 22:46:47 +03:00
07de15c795 Use plain Django login in dev when no LDAP server is configured 2026-10-05 22:46:47 +03:00
96639c4d4b Update VPS URL in Docker documentation for clarity 2026-10-01 13:13:49 +03:00
d4f765c400 Add network configuration to app build in docker-compose 2026-10-01 13:13:45 +03:00
920348637e Rewrite docker guide: VPS quick start, production checklist, known limits 2026-09-30 16:49:20 +03:00
fbc6c215ae Seed production-like content, and only into a database without page content 2026-09-30 16:35:15 +03:00
691863b78e Keep required settings strict and supply their dev values in .env.docker 2026-09-30 16:35:15 +03:00