python-postorius/postorius-settings.patch

32 lines
1.3 KiB
Diff
Raw Normal View History

Accepting request 1036470 from home:gladiac:branches:devel:languages:python:mailman - Update to version 1.3.7 * Fix a bug where various form(s) allowed setting empty values for delivery_mode and language. (Fixes #540, #522) * Rename labels description and info fields as 'Short Description' and 'Long Description' to signify what they mean. (Fixes #510) * Use date to format the dates in 'List Metrics' section in the List summary page. (Fixes #508) * Sort the list of languages in all Select elements alphabetically so they are easier to naviate with screen readers. (Fixes #498) * Add support for Django 4.0 * A couple of unit tests are now marked expectedFailure due to https://gitlab.com/mailman/mailman/-/merge_requests/997. (See #548) * Translate template names in the “New Templates” page (See #547) * Translate the section names in the MailingList->"Settings" tab. (See #550) * Add support for Django 4.1 * Add support for Python 3.10 * Remove support for Django < 3.2 * Remove support for Python < 3.7 * Replace the use of mock with unittest.mock * Change the way role is selector in the List index page to allow use of the * filtering without javascript enabled dropdowns. It also enhances usability by enabling the roles that are currently active by default. (See #544) * Show the number of files in each Mailman queue under 'System Information' tab for Admins. (Fixes #480) OBS-URL: https://build.opensuse.org/request/show/1036470 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=42
2022-11-17 16:12:06 +01:00
Index: postorius-1.3.7/example_project/settings.py
===================================================================
Accepting request 1036470 from home:gladiac:branches:devel:languages:python:mailman - Update to version 1.3.7 * Fix a bug where various form(s) allowed setting empty values for delivery_mode and language. (Fixes #540, #522) * Rename labels description and info fields as 'Short Description' and 'Long Description' to signify what they mean. (Fixes #510) * Use date to format the dates in 'List Metrics' section in the List summary page. (Fixes #508) * Sort the list of languages in all Select elements alphabetically so they are easier to naviate with screen readers. (Fixes #498) * Add support for Django 4.0 * A couple of unit tests are now marked expectedFailure due to https://gitlab.com/mailman/mailman/-/merge_requests/997. (See #548) * Translate template names in the “New Templates” page (See #547) * Translate the section names in the MailingList->"Settings" tab. (See #550) * Add support for Django 4.1 * Add support for Python 3.10 * Remove support for Django < 3.2 * Remove support for Python < 3.7 * Replace the use of mock with unittest.mock * Change the way role is selector in the List index page to allow use of the * filtering without javascript enabled dropdowns. It also enhances usability by enabling the roles that are currently active by default. (See #544) * Show the number of files in each Mailman queue under 'System Information' tab for Admins. (Fixes #480) OBS-URL: https://build.opensuse.org/request/show/1036470 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=42
2022-11-17 16:12:06 +01:00
--- postorius-1.3.7.orig/example_project/settings.py 2022-10-22 07:10:31.000000000 +0200
+++ postorius-1.3.7/example_project/settings.py 2022-11-17 16:05:22.163232646 +0100
@@ -142,7 +142,7 @@ WSGI_APPLICATION = 'wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': os.path.join(BASE_DIR, 'postorius.db'),
+ 'NAME': '/var/lib/postorius/data/postorius.db',
}
}
Accepting request 1036470 from home:gladiac:branches:devel:languages:python:mailman - Update to version 1.3.7 * Fix a bug where various form(s) allowed setting empty values for delivery_mode and language. (Fixes #540, #522) * Rename labels description and info fields as 'Short Description' and 'Long Description' to signify what they mean. (Fixes #510) * Use date to format the dates in 'List Metrics' section in the List summary page. (Fixes #508) * Sort the list of languages in all Select elements alphabetically so they are easier to naviate with screen readers. (Fixes #498) * Add support for Django 4.0 * A couple of unit tests are now marked expectedFailure due to https://gitlab.com/mailman/mailman/-/merge_requests/997. (See #548) * Translate template names in the “New Templates” page (See #547) * Translate the section names in the MailingList->"Settings" tab. (See #550) * Add support for Django 4.1 * Add support for Python 3.10 * Remove support for Django < 3.2 * Remove support for Python < 3.7 * Replace the use of mock with unittest.mock * Change the way role is selector in the List index page to allow use of the * filtering without javascript enabled dropdowns. It also enhances usability by enabling the roles that are currently active by default. (See #544) * Show the number of files in each Mailman queue under 'System Information' tab for Admins. (Fixes #480) OBS-URL: https://build.opensuse.org/request/show/1036470 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=42
2022-11-17 16:12:06 +01:00
@@ -190,7 +190,7 @@ USE_TZ = True
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/var/www/example.com/static/"
-STATIC_ROOT = os.path.join(BASE_DIR, 'static')
+STATIC_ROOT = '/srv/www/webapps/mailman/postorius/static'
# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"
Accepting request 1036470 from home:gladiac:branches:devel:languages:python:mailman - Update to version 1.3.7 * Fix a bug where various form(s) allowed setting empty values for delivery_mode and language. (Fixes #540, #522) * Rename labels description and info fields as 'Short Description' and 'Long Description' to signify what they mean. (Fixes #510) * Use date to format the dates in 'List Metrics' section in the List summary page. (Fixes #508) * Sort the list of languages in all Select elements alphabetically so they are easier to naviate with screen readers. (Fixes #498) * Add support for Django 4.0 * A couple of unit tests are now marked expectedFailure due to https://gitlab.com/mailman/mailman/-/merge_requests/997. (See #548) * Translate template names in the “New Templates” page (See #547) * Translate the section names in the MailingList->"Settings" tab. (See #550) * Add support for Django 4.1 * Add support for Python 3.10 * Remove support for Django < 3.2 * Remove support for Python < 3.7 * Replace the use of mock with unittest.mock * Change the way role is selector in the List index page to allow use of the * filtering without javascript enabled dropdowns. It also enhances usability by enabling the roles that are currently active by default. (See #544) * Show the number of files in each Mailman queue under 'System Information' tab for Admins. (Fixes #480) OBS-URL: https://build.opensuse.org/request/show/1036470 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=42
2022-11-17 16:12:06 +01:00
@@ -269,7 +269,7 @@ LOGGING = {
'level': 'INFO',
#'class': 'logging.handlers.RotatingFileHandler',
'class': 'logging.handlers.WatchedFileHandler',
- 'filename': os.path.join(BASE_DIR, 'logs', 'postorius.log'),
+ 'filename': '/var/log/postorius/postorius.log',
'formatter': 'verbose',
},
},