Commit Graph

27 Commits

Author SHA1 Message Date
Aurélien Bompard
b8c965de2c HyperKitty: activate pagination in the API
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2026-02-17 17:12:17 +01:00
Michal Konecny
19f13fa83f [mailman3] Remove non working authentication options
https://pagure.io/fedora-infrastructure/issue/12653
2025-07-14 15:04:11 +02:00
Michal Konecny
3eec83ec9a [mailman3] Fix the incorrect variable names 2025-03-27 13:50:25 +01:00
Michal Konecny
a807fb3d4f [mailman3] Create gunicorn configuration file
To make changing the gunicorn configuration more easily let's move
configuration values from systemd service to separate configuration
file.

The file will live in /etc/mailman3/gunicorn.conf.py.
2025-03-27 13:01:13 +01:00
Seddik Alaoui Ismaili
24aaee6429 move apps to memcached02 2024-12-11 23:22:28 +00:00
Seddik Alaoui Ismaili
c88ab2cb08 test move apps to memcached02 2024-11-25 13:20:45 +00:00
Michal Konecny
58f8c45973 [mailman] Use xapian as a backend for fulltext search
The whoosh engine doesn't seem to be maintained anymore and when generating the
index it got stuck when the size was about 20 GB. Xapian on the other hand looks
more stable and much quicker when generating the index.

Unfortunately the xapian-haystack package is not available in Fedora/EPEL yet
and waiting for review to be finished.

Link to review bug: https://bugzilla.redhat.com/show_bug.cgi?id=2313507

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-07 07:43:36 +00:00
Michal Konecny
04f26a1221 [mailman3] Fix the rest API on mailman
The API didn't work and failed with 500, because the REST framework didn't know
how to render the response. This fixes the issue.

https://pagure.io/fedora-infrastructure/issue/12134

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-08-20 11:57:33 +02:00
Kevin Fenzi
1da59362cd mailman: adjust some settings to try and avoid OOM
Set django to have 4 workers and have a retry longer than the timeout.
Disable local memcached and use the memcached01 instance.
Enabled debug logging on gunicorn to see what it's doing.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-09 13:27:32 -07:00
Michal Konecny
1d562201ed [mailman3] Use the same variable name everywhere
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-27 13:00:45 +02:00
Michal Konecny
fc5ee402bf [mailman3] Fix the jinja variable
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-24 17:04:05 +02:00
Michal Konecny
051650c710 [mailman3] Update default variables
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-06-24 16:19:46 +02:00
Michal Konecny
132d5ce608 [mailman3] Fix the initial-data.json dataload
The fedora isn't available in allauth library and mailman user needs to have
access to initial-data.json

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-05-31 11:55:40 +02:00
Michal Konecny
76c5454fc4 [mailman3] Enable compression of static files
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-26 15:37:19 +02:00
Michal Konecny
29f574fdc5 [mailman3] Fix jinja syntax issue
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-26 12:19:15 +02:00
Michal Konecny
9b1e4bca00 [mailman3] Enable Debug mode for staging
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-26 10:43:52 +02:00
Michal Konecny
9d3fb794e1 [mailman3] Add django fedora auth provider
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-26 10:43:52 +02:00
Michal Konecny
5a3af01100 [mailman3] Add correct authentication method
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-10 15:11:58 +02:00
Aurélien Bompard
b7fa6e5bd1 Mailman3: reorder of the installed apps to fix templates loading
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-04-10 10:47:59 +02:00
Michal Konecny
d67bf18455 [mailman3] Use the correct variables for OIDC vars
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-08 16:22:17 +02:00
Michal Konecny
9fbe2c3d7e [mailman3] Enable OIDC
Enable OIDC support for mailman3 staging deployment.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-08 15:08:32 +02:00
Michal Konecny
cf48dec0eb [mailman3] Disable signup on mailman
This module disables signup on mailman web UI.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-08 14:10:22 +02:00
Michal Konecny
b9f50bbcd2 [mailman3] Clear logging section of settings.py
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-08 14:10:22 +02:00
Michal Konecny
f919603485 [mailman3] Add our own urls file
The current deployment doesn't look to work correctly for redirects, this should
fix it.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-27 14:42:13 +01:00
Michal Konecny
24f93a1f50 [mailman3] Fix the migration task
DB migration task failed on settings.py and permissions. Let's fix that.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-26 10:53:13 +01:00
Michal Konecny
24b8b7a98e [mailman3] Disable django_fedora
Let's see if this is really needed for us.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-25 18:00:15 +01:00
Michal Konecny
c2862e1e8b [mailman3] Create a new role mailman3
It seems that the mailman update is more complicated than I originally thought. So I
decided to start with clean role and will slowly start adding new changes.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-25 10:02:23 +00:00