1
0

Compare commits

...

95 Commits

Author SHA256 Message Date
9ca1810ca7 Accepting request 1252100 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1252100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=33
2025-03-11 19:47:05 +00:00
b70b61d799 Add reproducible.patch for reproducible builds
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=94
2025-03-11 15:14:01 +00:00
ad937b434d Accepting request 1223454 from devel:languages:python:mailman
Forwarded request #1222139 from mcalabkova

- Minor tweaks in spec to fix build

OBS-URL: https://build.opensuse.org/request/show/1223454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=32
2024-11-12 18:21:47 +00:00
b400dd9d42 - Minor tweaks in spec to fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=92
2024-11-12 00:49:39 +00:00
a46b84bffe Accepting request 1202860 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1202860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=31
2024-09-24 15:34:11 +00:00
c14dab286f - Update to version 1.3.12
* https://gitlab.com/mailman/hyperkitty/-/blob/1.3.12/doc/news.rst
    or packaged news.rst
- Removed gl-mr635-empty_attachment.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=90
2024-09-24 09:00:26 +00:00
c3b710d9c3 Accepting request 1202271 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1202271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=30
2024-09-22 09:06:17 +00:00
3dfbd98018 - Update to version 1.3.11
* https://gitlab.com/mailman/hyperkitty/-/blob/1.3.11/doc/news.rst
- Removed GPG signature as the download links don't work
- Removed requirement for pytz

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=88
2024-09-20 21:50:26 +00:00
9e047e0973 Accepting request 1188491 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1188491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=29
2024-07-19 13:29:01 +00:00
7e807e120b Accepting request 1183122 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1183122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=28
2024-07-02 16:16:18 +00:00
33fc2d6d96 Accepting request 1156121 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1156121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=27
2024-03-07 21:02:27 +00:00
b91c0629da Accepting request 1155812 from home:gladiac:mailman
- Update to version 1.3.9
  * https://gitlab.com/mailman/hyperkitty/-/releases/1.3.9
- Removed mistune3.patch

OBS-URL: https://build.opensuse.org/request/show/1155812
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=82
2024-03-07 18:03:43 +00:00
ba5ae7d718 Accepting request 1154168 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1154168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=26
2024-03-04 20:24:40 +00:00
a9ab896712 Accepting request 1153607 from home:bnavigator:branches:devel:languages:python:mailman
- Simplify python flavor selection
  * Go back to primary python3 on Tumbleweed
  * Use SLE15 python module pythons on 15.x
- Build PEP517 wheel

OBS-URL: https://build.opensuse.org/request/show/1153607
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=80
2024-03-01 20:18:00 +00:00
8e65df2a9f Accepting request 1152926 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1152926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=25
2024-02-28 18:47:46 +00:00
71795ff6ce Accepting request 1152838 from home:gladiac:mailman
- Fix building on SLE15 based distributions

OBS-URL: https://build.opensuse.org/request/show/1152838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=78
2024-02-28 13:00:57 +00:00
93c7e02dd6 Accepting request 1151771 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1151771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=24
2024-02-26 18:49:21 +00:00
f83a9ec61b Accepting request 1150191 from openSUSE:infrastructure:mailman3
- Split out system user (needed for other packages shipping directories/files owned by hyperkitty) and switch to sysusers
- Build for Python 3.12 (to restore compatibility with Mailman)

OBS-URL: https://build.opensuse.org/request/show/1150191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=76
2024-02-26 14:32:22 +00:00
9276e2c7cb Accepting request 1150049 from home:crameleon:branches:devel:languages:python:mailman
Build for Python 3.12 to restore compatibility with Mailman3

OBS-URL: https://build.opensuse.org/request/show/1150049
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=75
2024-02-25 07:06:14 +00:00
9300f69dbe Accepting request 1123589 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1123589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=23
2023-11-06 20:13:48 +00:00
Andreas Schneider
1cb450d3b0 Accepting request 1123579 from openSUSE:infrastructure:mailman3
- forgot to use 2 defined variables:
  %{django_haystack_min_version} 
  %{django_extensions_min_version}

- make it easy to run a build without testsuite
  osc build --without=testsuite

- refresh gl-mr300-add-opengraph-metadata.patch for version update

- Add upstream patch gl-mr300-add-opengraph-metadata.patch:
  * Add OpenGraph Metadata (https://gitlab.com/mailman/hyperkitty/-/merge_requests/300)
- Add upstream patch gl-mr470-introduce-feed-filtering.patch:
  * Introduce feed filtering (https://gitlab.com/mailman/hyperkitty/-/merge_requests/470)

OBS-URL: https://build.opensuse.org/request/show/1123579
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=73
2023-11-06 13:53:03 +00:00
Andreas Schneider
6d791e7c8e Accepting request 1123458 from home:darix:branches:devel:languages:python:mailman
- ensure that we can create the user and group

- make user and group creation verbose so we actually see errors

- make it easier to notice to keep buildrequires and runtime
  requires version limits in sync. This will also help us to notice
  early when the version of other libraries do not match the
  requires encoded in the source code.

OBS-URL: https://build.opensuse.org/request/show/1123458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=72
2023-11-06 08:25:07 +00:00
ff92243f44 fix deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=71
2023-11-02 12:33:49 +00:00
aeffbb968b Accepting request 1122434 from home:gladiac:mailman
- Update to version 1.3.8
  * See https://gitlab.com/mailman/hyperkitty/-/blob/v1.3.8/doc/news.rst
    or the file news.ret included in this package
- Removed fix-elasticsearch8.patch
- Updated mistune3.patch
- Add missing pre-require for useradd/groupadd

OBS-URL: https://build.opensuse.org/request/show/1122434
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=70
2023-11-02 12:32:25 +00:00
133b7356cf Accepting request 1115875 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1115875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=22
2023-10-06 19:13:52 +00:00
Andreas Schneider
cc1f08525d Accepting request 1115758 from home:mcalabkova:branches:devel:languages:python:mailman
- Add mistune3.patch to fix compatibility with mistune 3.0

OBS-URL: https://build.opensuse.org/request/show/1115758
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=68
2023-10-05 14:42:36 +00:00
dfa84cc6e6 Accepting request 1097875 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/1097875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=21
2023-07-10 14:39:55 +00:00
Andreas Schneider
3c62a0c0b5 Accepting request 1097079 from home:gladiac:mailman
- Add missing dependency to whoosh
- Fix uwsgi requirement
- Use sle15_python_module_pythons
- Some spec file fixes
- Add BuildRequires for sassc

OBS-URL: https://build.opensuse.org/request/show/1097079
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=66
2023-07-10 06:35:52 +00:00
bdabce2390 Accepting request 1094670 from devel:languages:python:mailman
- Update to version 1.3.7
  * ``hyperkitty_import`` will now import messages to a list with archiving
    disabled.  (Closes #451)
  * Add support for Python 3.11.
- Use sle15_python_module_pythons
- Add missing requires for sassc used by manage.py
- Update to version 1.3.6
  * Fixed an issue in hyperkitty_import with an empty Message-ID. (Closes #396)
  * Set Q_CLUSTER retry > timeout in example_project. (Closes #402)
  * Set DEFAULT_AUTO_FIELD to silence errors with Django >= 3.2.
  * Require mistune >= 2.0.0 and fix a problem with importing from it. (Closes
    #395)
  * Adapt parsing of emails to be compatible with python 3.10. (Closes #401)
  * Add gitlab-ci integration for python 3.10.
  * Skip lists with private archives in the find list search. (Closes #237)
  * Add a new setting HYPERKITTY_MBOX_EXPORT which, when set to false, removes
    the :guilabel:`Download` button and disables the export view. ( Fixes #386)
  * Return 400 instead of 500 when the sort mode is invalid. (Fixes #270)
  * Allow HyperKitty to find attachments in either the database or the
    HYPERKITTY_ATTACHMENT_FOLDER. (Closes #213)
  * Implemented a new attachments_to_file management command to move attachment
    content to the file system after setting HYPERKITTY_ATTACHMENT_FOLDER.
    (Closes #413)
  * Handle exception when a banned address tries to post. (Fixes #325)
  * Add an index on the 'name' column (fqdn)for the MailingList table since it
    is most frequently used to query the MailingList object.
  * Add the ability to view a thread without Javascript enabled. This uses the
    same mechanism we use with bot-detection and rendering of the entire page
    at once, which will be slow to load but allow reading. (See #422)
  * Improve the performance of the thread view for logged-in users by
    optimizing the total database calls made. (See !409)
  * Add support for Django <= 4.1
  * Remove support for Django < 3.2
  * Remove support for Python 3.6
  * Fix tests to be compatible with Python 3.10
  * Replace use of mock with unittest.mock in all tests. (Closes #429)
  * The check for writability of HYPERKITTY_ATTACHMENT_FOLDER when set has been
    improved to avoid a potential race condition. (Closes #389)
- Run complete testsuite with pytest
- Removed hyperkitty-django4.patch
- Removed hyperkitty-fix-mistune-2.0-imports.patch
- Removed python-HyperKitty-no-mock.patch
- Removed hyperkitty-fix-qcluster-timeout.patch
- Removed hyperkitty-fix-py310-tests.patch
- Removed fix-django41.patch
- Add fix-django41.patch to fix issues with django4.1
- Add fix-elasticsearch8.patch to fix issues with elasticsearch 8.0.0
- Rename the built package to python prefixless HyperKitty
  * Doesn't imply any false impression of multiflavor
- Go back to python39 -- highest supported Python by mailman
- Add hyperkitty-fix-py310-tests.patch
  * Fix test failures on Python 3.10 (and Python 3.9.13)
  * https://gitlab.com/mailman/hyperkitty/-/issues/401
  * https://gitlab.com/mailman/hyperkitty/-/merge_requests/381
  * https://gitlab.com/mailman/hyperkitty/-/merge_requests/449
- Fix django warning that timeout is bigger than retry
  * Added hyperkitty-fix-qcluster-timeout.patch
- First Make migrations on update, then call migrate
- do not require python-mock for build
- added patches
  fix https://gitlab.com/mailman/hyperkitty/-/issues/429
  + python-HyperKitty-no-mock.patch
- Add hyperkitty-django4.patch to support Django 4
- Add hyperkitty-fix-mistune-2.0-imports.patch ... two function
  moved in mistune 2.0 (gl#mailman/hyperkitty#379).
- Add a patch that fixes compatibility with the full release of mistune 2.0
- Update to version 1.3.5
  * https://gitlab.com/mailman/hyperkitty/-/blob/1.3.5/doc/news.rst
- Fixes CVE-2021-35057
- Removed obsolete python-HyperKitty-CVE-2021-33038.patch
- Fix log dir permissions
- security update
- added patches
  fix CVE-2021-33038 [bsc#1186575], information disclosure when importing a private mailing list
  + python-HyperKitty-CVE-2021-33038.patch
- Remove the hyperkitty-admin user
- Create static files as part of the build process
- Fixed CVE-2021-25322
- restrict to primary python3 flavor due to mailman 
- Update to version 1.3.4
  * Sync owners and moderators from Mailman Core for MailingList. (Fixes #302)
  * Implemented a new HYPERKITTY_JOBS_UPDATE_INDEX_LOCK_LIFE setting to set the
    lock lifetime for the update_and_clean_index job. (Closes #300)
  * Implemented a new HYPERKITTY_ALLOW_WEB_POSTING that allows disabling the
    web posting feature. (Closes #264)
  * Add the ability to disable Gravatar using HYPERKITTY_ENABLE_GRAVATAR
    settings. (Closes #303)
  * Replaced deprecated ugettext functions with gettext. (Closes #310)
  * Fix export of Email message where the In-Reply-To header doesn’t include
    the <> brackets. (Closes #331)
  * We now catch a few more exceptions in hyperkitty_import when getting
    messages from a mbox. (Closes #313 and #314)
  * Added a new contrib/check_hk_import script to check mboxes before running
    hyperkitty_import.
  * We now ignore a ValueError in hyperkitty_import when trying to replace a
    Subject: header. (Closes #317)
  * hyperkitty_import now includes the mbox name in error messages when
    importing multiple mboxes. (Closes #318)
  * `` at `` is now only replaced with @ in From: header values when necessary
    and not unconditionally. (Closes #320)
  * The wildcard notation for any host '*' is now supported into
    MAILMAN_ARCHVER_FROM to disable Hyperkitty clients IP checking.
  * Join the searchbar and search button like it was before bootstrap 4
    migration. (See !301)
  * Use the umd builds for popper.js instead of the regular ones. (See !309)
  * Exceptions thrown by smtplib in sending replies are now caught and give an
    appropriate error message. (Closes #309)
- Removed hyperkitty-fix-tests.patch
- Fixed build on tumbleweed
- Fix quarter hourly timer
- Fix access to CACHE dir
- Improve documentation (README.SUSE.md)
- Fix quaterly timer and service
- Added hyperkitty-qcluster.service
- Added hyperkitty-runjob.service and hyperkitty-runjob.timer
- Create a HyperKitty-web package with webroot files
- Create a HyperKitty-web-uwsgi with uwsgi configuration
- Added hyperkitty-settings.patch
  * Sets the FHS default paths
- Added hyperkitty-fix-tests.patch
  * Make migration compatible with django >= 3.1
- Added rpmlint config
- Version update to 1.3.3
  * Allow SHOW_INACTIVE_LISTS_DEFAULT setting to be configurable. (Closes #276)
  * Fix a bug where the user couldn’t chose the address to send reply or new post as. (Closes #288)
  * Improve the Django admin command reference from hyperkitty_import. (Closes #281)
  * Fix FILTER_VHOST to work with web hosts other than the email host. (Closes #254)
  * Fixed a bug where export can fail if certain headers are wrapped. (Closes #292)
  * Fixed hyperkitty_import to allow odd line endings in a folded message subject. (Closes #280)
  * Fixed a bug that could throw an IndexError when exporting messages. (Closes #293)
  * Use errors='replace' when encoding attachments. (Closes #294)
- Drop merged python-HyperKitty-remove-legacy-use-of-available_attrs.patch
- version update to 1.3.2
  - Remove support for Django 1.11. (Closes #273)
  - Skip ``Thread.DoesNotExist`` exception when raised within
    ``rebuild_thread_cache_votes``. (Closes #245)
  - Send 400 status code for ``ValueError`` when archiving. (Closes #271)
  - Fix a bug where exception for elasticsearch backend would not be caught. (Closes #263)  
- added patches
  03c99ad5be
  + python-HyperKitty-remove-legacy-use-of-available_attrs.patch
- fix dependency (django_compressor -> django-compressor)
- version update to 1.3.1
  * Add support to delete mailing list. (Closes #3)
  * Fix a bug where messages with attachments would skip adding the body when
    exporting the email. (Closes #252)
  * Fix a bug where exporting mbox with messages that have attachments saved
    to disk would raise exception and return a corrupt mbox. (Closes #258)
  * Fix a bug where downloaded attachments are returned as a memoryview object
    instead of bytes and hence fail to download. (Closes #247)
  * Fix a bug where migrations would fail with exceptions on postgresl. (Closes
    #266)
  * Add support for Django 3.0.
- call spec-cleaner
- package documentation
- require python-libsass
- run the testsuite correctly
- initial version 1.3.0 [SLE-7686]

OBS-URL: https://build.opensuse.org/request/show/1094670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=20
2023-06-22 21:27:03 +00:00
e18929ed74 mention patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=64
2023-06-22 13:20:39 +00:00
9fe5400894 Accepting request 1094581 from devel:languages:python:mailman:backports
Update to 1.3.7 and use python 3.11

OBS-URL: https://build.opensuse.org/request/show/1094581
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=63
2023-06-22 12:36:53 +00:00
4d38394b63 Accepting request 1078733 from devel:languages:python:mailman
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1078733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=19
2023-04-12 14:25:21 +00:00
Andreas Schneider
6f955fc888 Fix sassc requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=61
2023-04-05 13:20:52 +00:00
Andreas Schneider
b443d81957 Add missing requires for sassc used by manage.py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=60
2023-04-05 09:45:29 +00:00
662933c26e Accepting request 1009242 from devel:languages:python:mailman
- Add fix-django41.patch to fix issues with django4.1
- Add fix-elasticsearch8.patch to fix issues with elasticsearch 8.0.0
- Rename the built package to python prefixless HyperKitty
  * Doesn't imply any false impression of multiflavor
- Go back to python39 -- highest supported Python by mailman

OBS-URL: https://build.opensuse.org/request/show/1009242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=18
2022-10-12 16:23:58 +00:00
24e07ee082 - Add fix-django41.patch to fix issues with django4.1
- Add fix-elasticsearch8.patch to fix issues with elasticsearch 8.0.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=58
2022-10-06 12:13:14 +00:00
e265efc42a Accepting request 986650 from home:bnavigator:branches:devel:languages:python:mailman
- Rename the built package to python prefixless HyperKitty
  * Doesn't imply any false impression of multiflavor
- Go back to python39 -- highest supported Python by mailman

OBS-URL: https://build.opensuse.org/request/show/986650
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=57
2022-07-04 18:09:52 +00:00
4348184095 Accepting request 986543 from devel:languages:python:mailman
- Add hyperkitty-fix-py310-tests.patch
  * Fix test failures on Python 3.10 (and Python 3.9.13)
  * https://gitlab.com/mailman/hyperkitty/-/issues/401
  * https://gitlab.com/mailman/hyperkitty/-/merge_requests/381
  * https://gitlab.com/mailman/hyperkitty/-/merge_requests/449
- Fix django warning that timeout is bigger than retry
  * Added hyperkitty-fix-qcluster-timeout.patch

OBS-URL: https://build.opensuse.org/request/show/986543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=17
2022-07-04 09:32:38 +00:00
Andreas Schneider
6265b03cbf Accepting request 986502 from home:bnavigator:branches:devel:languages:python:mailman
- Add hyperkitty-fix-py310-tests.patch
  * Fix test failures on Python 3.10 (and Python 3.9.13)
  * https://gitlab.com/mailman/hyperkitty/-/issues/401
  * https://gitlab.com/mailman/hyperkitty/-/merge_requests/381
  * https://gitlab.com/mailman/hyperkitty/-/merge_requests/449

OBS-URL: https://build.opensuse.org/request/show/986502
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=55
2022-07-04 06:05:25 +00:00
Andreas Schneider
bf1e8fe2ee Accepting request 986328 from home:gladiac:mailman3
- Fix django warning that timeout is bigger than retry
  * Added hyperkitty-fix-qcluster-timeout.patch

OBS-URL: https://build.opensuse.org/request/show/986328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=54
2022-07-02 07:10:08 +00:00
a74d77d761 Accepting request 982351 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/982351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=16
2022-06-13 11:02:56 +00:00
Andreas Schneider
0c5be80971 Accepting request 982015 from home:gladiac:mailman3
- First Make migrations on update, then call migrate

OBS-URL: https://build.opensuse.org/request/show/982015
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=52
2022-06-13 07:08:19 +00:00
d4d403caa7 Accepting request 979360 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/979360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=15
2022-05-26 16:44:15 +00:00
21d16f1b38 Accepting request 979312 from home:pgajdos:python
- do not require python-mock for build
- added patches
  fix https://gitlab.com/mailman/hyperkitty/-/issues/429
  + python-HyperKitty-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/979312
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=50
2022-05-26 14:50:27 +00:00
e6b2a55933 Accepting request 943313 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/943313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=14
2022-01-03 09:49:22 +00:00
0881c1d00c Accepting request 942881 from home:jayvdb:branches:devel:languages:python:django
- Add hyperkitty-django4.patch to support Django 4

OBS-URL: https://build.opensuse.org/request/show/942881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=49
2021-12-31 12:38:52 +00:00
e6ea8150c4 Accepting request 941157 from devel:languages:python:mailman
- Add hyperkitty-fix-mistune-2.0-imports.patch ... two function
  moved in mistune 2.0 (gl#mailman/hyperkitty#379).
- Add a patch that fixes compatibility with the full release of mistune 2.0
- Update to version 1.3.5
  * https://gitlab.com/mailman/hyperkitty/-/blob/1.3.5/doc/news.rst
- Fixes CVE-2021-35057
- Removed obsolete python-HyperKitty-CVE-2021-33038.patch

OBS-URL: https://build.opensuse.org/request/show/941157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=13
2021-12-29 20:10:43 +00:00
8f3a400e54 - Add hyperkitty-fix-mistune-2.0-imports.patch ... two function
moved in mistune 2.0 (gl#mailman/hyperkitty#379).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=48
2021-12-17 10:34:51 +00:00
8d92700225 Accepting request 940923 from openSUSE:infrastructure:mailman3
- Add a patch that fixes compatibility with the full release of mistune 2.0

OBS-URL: https://build.opensuse.org/request/show/940923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=47
2021-12-16 17:28:38 +00:00
d2397d2453 Limit mistune >= 2.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=46
2021-11-26 12:24:13 +00:00
f3c325983a Accepting request 932058 from home:gladiac:mailman3
- Update to version 1.3.5
  * https://gitlab.com/mailman/hyperkitty/-/blob/1.3.5/doc/news.rst
- Fixes CVE-2021-35057
- Removed obsolete python-HyperKitty-CVE-2021-33038.patch

OBS-URL: https://build.opensuse.org/request/show/932058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=45
2021-11-18 20:41:39 +00:00
91df509f45 Accepting request 896997 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/896997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=12
2021-06-03 22:33:22 +00:00
cc3b88c119 Accepting request 896976 from home:gladiac:mailman3
- Fix log dir permissions

OBS-URL: https://build.opensuse.org/request/show/896976
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=43
2021-06-02 21:21:23 +00:00
93e43108a6 Accepting request 896957 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/896957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=11
2021-06-02 20:12:26 +00:00
d9cfa22dc4 Accepting request 896914 from home:pgajdos
- security update
- added patches
  fix CVE-2021-33038 [bsc#1186575], information disclosure when importing a private mailing list
  + python-HyperKitty-CVE-2021-33038.patch

OBS-URL: https://build.opensuse.org/request/show/896914
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=41
2021-06-02 16:18:37 +00:00
188a557e07 Accepting request 895964 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/895964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=10
2021-06-01 08:37:19 +00:00
e3409ce788 Accepting request 895954 from home:gladiac:mailman3
- Remove the hyperkitty-admin user

OBS-URL: https://build.opensuse.org/request/show/895954
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=39
2021-05-28 11:34:18 +00:00
732d2c9a52 Accepting request 895422 from home:gladiac:mailman3
- Create static files as part of the build process
- Fixed CVE-2021-25322

OBS-URL: https://build.opensuse.org/request/show/895422
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=38
2021-05-26 12:00:41 +00:00
e6e0b533bc Accepting request 890489 from devel:languages:python:mailman
- restrict to primary python3 flavor due to mailman (forwarded request 890326 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/890489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=9
2021-05-10 13:38:16 +00:00
ce68ddfe22 Accepting request 890326 from home:bnavigator:branches:devel:languages:python:mailman
- restrict to primary python3 flavor due to mailman

OBS-URL: https://build.opensuse.org/request/show/890326
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=36
2021-05-04 18:34:13 +00:00
Richard Brown
fa24e035cf Accepting request 882392 from devel:languages:python:mailman
- Update to version 1.3.4
  * Sync owners and moderators from Mailman Core for MailingList. (Fixes #302)
  * Implemented a new HYPERKITTY_JOBS_UPDATE_INDEX_LOCK_LIFE setting to set the
    lock lifetime for the update_and_clean_index job. (Closes #300)
  * Implemented a new HYPERKITTY_ALLOW_WEB_POSTING that allows disabling the
    web posting feature. (Closes #264)
  * Add the ability to disable Gravatar using HYPERKITTY_ENABLE_GRAVATAR
    settings. (Closes #303)
  * Replaced deprecated ugettext functions with gettext. (Closes #310)
  * Fix export of Email message where the In-Reply-To header doesn’t include
    the <> brackets. (Closes #331)
  * We now catch a few more exceptions in hyperkitty_import when getting
    messages from a mbox. (Closes #313 and #314)
  * Added a new contrib/check_hk_import script to check mboxes before running
    hyperkitty_import.
  * We now ignore a ValueError in hyperkitty_import when trying to replace a
    Subject: header. (Closes #317)
  * hyperkitty_import now includes the mbox name in error messages when
    importing multiple mboxes. (Closes #318)
  * `` at `` is now only replaced with @ in From: header values when necessary
    and not unconditionally. (Closes #320)
  * The wildcard notation for any host '*' is now supported into
    MAILMAN_ARCHVER_FROM to disable Hyperkitty clients IP checking.
  * Join the searchbar and search button like it was before bootstrap 4
    migration. (See !301)
  * Use the umd builds for popper.js instead of the regular ones. (See !309)
  * Exceptions thrown by smtplib in sending replies are now caught and give an
    appropriate error message. (Closes #309)
- Removed hyperkitty-fix-tests.patch
- Fixed build on tumbleweed

OBS-URL: https://build.opensuse.org/request/show/882392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=8
2021-04-01 12:17:57 +00:00
ca6250c637 Accepting request 871404 from home:gladiac:mailman3
- Update to version 1.3.4
  * Sync owners and moderators from Mailman Core for MailingList. (Fixes #302)
  * Implemented a new HYPERKITTY_JOBS_UPDATE_INDEX_LOCK_LIFE setting to set the
    lock lifetime for the update_and_clean_index job. (Closes #300)
  * Implemented a new HYPERKITTY_ALLOW_WEB_POSTING that allows disabling the
    web posting feature. (Closes #264)
  * Add the ability to disable Gravatar using HYPERKITTY_ENABLE_GRAVATAR
    settings. (Closes #303)
  * Replaced deprecated ugettext functions with gettext. (Closes #310)
  * Fix export of Email message where the In-Reply-To header doesn’t include
    the <> brackets. (Closes #331)
  * We now catch a few more exceptions in hyperkitty_import when getting
    messages from a mbox. (Closes #313 and #314)
  * Added a new contrib/check_hk_import script to check mboxes before running
    hyperkitty_import.
  * We now ignore a ValueError in hyperkitty_import when trying to replace a
    Subject: header. (Closes #317)
  * hyperkitty_import now includes the mbox name in error messages when
    importing multiple mboxes. (Closes #318)
  * `` at `` is now only replaced with @ in From: header values when necessary
    and not unconditionally. (Closes #320)
  * The wildcard notation for any host '*' is now supported into
    MAILMAN_ARCHVER_FROM to disable Hyperkitty clients IP checking.
  * Join the searchbar and search button like it was before bootstrap 4
    migration. (See !301)
  * Use the umd builds for popper.js instead of the regular ones. (See !309)
  * Exceptions thrown by smtplib in sending replies are now caught and give an
    appropriate error message. (Closes #309)
- Removed hyperkitty-fix-tests.patch
- Fixed build on tumbleweed

OBS-URL: https://build.opensuse.org/request/show/871404
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=34
2021-02-12 11:01:58 +00:00
85ef42c0e3 Accepting request 859298 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/859298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=7
2020-12-30 16:13:01 +00:00
0d707762c0 Accepting request 859055 from home:gladiac:mailman3
- Fix quarter hourly timer

OBS-URL: https://build.opensuse.org/request/show/859055
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=32
2020-12-29 20:47:08 +00:00
394b563e6f Accepting request 857882 from devel:languages:python:mailman
OBS-URL: https://build.opensuse.org/request/show/857882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=6
2020-12-22 10:52:01 +00:00
96ddb4c914 Accepting request 857766 from home:gladiac:mailman3
- Fix access to CACHE dir
- Improve documentation (README.SUSE.md)
- Fix quaterly timer and service

OBS-URL: https://build.opensuse.org/request/show/857766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=30
2020-12-21 16:42:58 +00:00
33c096e844 Accepting request 856030 from devel:languages:python:mailman
- Added hyperkitty-qcluster.service
- Added hyperkitty-runjob.service and hyperkitty-runjob.timer
- Create a HyperKitty-web package with webroot files
- Create a HyperKitty-web-uwsgi with uwsgi configuration
- Added hyperkitty-settings.patch
  * Sets the FHS default paths
- Added hyperkitty-fix-tests.patch
  * Make migration compatible with django >= 3.1
- Added rpmlint config

OBS-URL: https://build.opensuse.org/request/show/856030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=5
2020-12-16 10:00:57 +00:00
82e80748fa OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=28 2020-12-15 15:27:08 +00:00
803580dbbf Accepting request 856002 from home:gladiac:mailman3
- Added hyperkitty-qcluster.service
- Added hyperkitty-runjob.service and hyperkitty-runjob.timer
- Create a HyperKitty-web package with webroot files
- Create a HyperKitty-web-uwsgi with uwsgi configuration
- Added postorius-settings.patch
  * Sets the FHS default paths
- Added hyperkitty-fix-tests.patch
  * Make migration compatible with django >= 3.1
- Added rpmlint config

OBS-URL: https://build.opensuse.org/request/show/856002
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=27
2020-12-15 15:11:10 +00:00
0e49ea7daf Accepting request 824265 from devel:languages:python:mailman
- Version update to 1.3.3
  * Allow SHOW_INACTIVE_LISTS_DEFAULT setting to be configurable. (Closes #276)
  * Fix a bug where the user couldn’t chose the address to send reply or new post as. (Closes #288)
  * Improve the Django admin command reference from hyperkitty_import. (Closes #281)
  * Fix FILTER_VHOST to work with web hosts other than the email host. (Closes #254)
  * Fixed a bug where export can fail if certain headers are wrapped. (Closes #292)
  * Fixed hyperkitty_import to allow odd line endings in a folded message subject. (Closes #280)
  * Fixed a bug that could throw an IndexError when exporting messages. (Closes #293)
  * Use errors='replace' when encoding attachments. (Closes #294)
- Drop merged python-HyperKitty-remove-legacy-use-of-available_attrs.patch

OBS-URL: https://build.opensuse.org/request/show/824265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=4
2020-08-04 18:23:16 +00:00
40406a2e0f mention patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=25
2020-08-04 07:06:39 +00:00
7562f0ca0a describe changes in 1.3.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=24
2020-08-04 07:02:26 +00:00
86d71ff77d Accepting request 824231 from home:hellcp:branches:devel:languages:python:mailman
- Version update to 1.3.3

OBS-URL: https://build.opensuse.org/request/show/824231
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=23
2020-08-04 06:57:50 +00:00
c0bb662f8a Accepting request 805605 from devel:languages:python:mailman
- version update to 1.3.2
  - Remove support for Django 1.11. (Closes #273)
  - Skip ``Thread.DoesNotExist`` exception when raised within
    ``rebuild_thread_cache_votes``. (Closes #245)
  - Send 400 status code for ``ValueError`` when archiving. (Closes #271)
  - Fix a bug where exception for elasticsearch backend would not be caught. (Closes #263)  
- added patches
  03c99ad5be
  + python-HyperKitty-remove-legacy-use-of-available_attrs.patch

OBS-URL: https://build.opensuse.org/request/show/805605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=3
2020-05-14 21:27:46 +00:00
f0b885961b - version update to 1.3.2
- Remove support for Django 1.11. (Closes #273)
  - Skip ``Thread.DoesNotExist`` exception when raised within
    ``rebuild_thread_cache_votes``. (Closes #245)
  - Send 400 status code for ``ValueError`` when archiving. (Closes #271)
  - Fix a bug where exception for elasticsearch backend would not be caught. (Closes #263)  
- added patches
  03c99ad5be
  + python-HyperKitty-remove-legacy-use-of-available_attrs.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=21
2020-05-14 13:14:08 +00:00
b3fe2fc269 Accepting request 762825 from devel:languages:python:mailman
- fix dependency (django_compressor -> django-compressor)

OBS-URL: https://build.opensuse.org/request/show/762825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=2
2020-01-10 16:50:28 +00:00
bb3611a6ca - fix dependency (django_compressor -> django-compressor)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=19
2020-01-10 12:44:42 +00:00
8ec8e184de OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=18 2020-01-10 12:36:58 +00:00
2f3d729789 - fix dependency (django_compressor 0> django-compressor)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=17
2020-01-10 12:30:57 +00:00
99c3ce2403 Accepting request 755586 from devel:languages:python:mailman
let us see how it goes with newer version

OBS-URL: https://build.opensuse.org/request/show/755586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-HyperKitty?expand=0&rev=1
2019-12-11 11:12:51 +00:00
363b26efa0 - version update to 1.3.1
* Add support to delete mailing list. (Closes #3)
  * Fix a bug where messages with attachments would skip adding the body when
    exporting the email. (Closes #252)
  * Fix a bug where exporting mbox with messages that have attachments saved
    to disk would raise exception and return a corrupt mbox. (Closes #258)
  * Fix a bug where downloaded attachments are returned as a memoryview object
    instead of bytes and hence fail to download. (Closes #247)
  * Fix a bug where migrations would fail with exceptions on postgresl. (Closes
    #266)
  * Add support for Django 3.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=15
2019-12-10 14:36:54 +00:00
ea34ee6fb2 - call spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=14
2019-12-02 10:51:26 +00:00
e5a3158360 - require python-libsass
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=13
2019-11-27 14:10:04 +00:00
86e34d345f - package documentation
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=12
2019-11-27 13:39:00 +00:00
db0e79e3b7 - require rubygem(sass)
(https://hyperkitty.readthedocs.io/en/latest/install.html)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=11
2019-11-27 13:10:03 +00:00
3c1c616704 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=10 2019-11-15 10:40:30 +00:00
71b26c6d51 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=9 2019-11-15 08:47:46 +00:00
4b6219f901 - run the testsuite correctly
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=8
2019-11-15 08:45:40 +00:00
Tomáš Chvátal
69ce03ca74 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=7 2019-11-08 12:48:24 +00:00
a48614c529 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=6 2019-11-08 10:35:42 +00:00
f0a20d4a77 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=5 2019-11-04 14:42:10 +00:00
732dfc9189 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=4 2019-10-09 12:38:13 +00:00
ada5c3a241 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=3 2019-10-02 13:25:25 +00:00
50c8041200 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=2 2019-10-01 11:56:01 +00:00
adb4527b11 - initial version 1.3.0 [SLE-7686]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-HyperKitty?expand=0&rev=1
2019-10-01 09:08:39 +00:00
8 changed files with 79 additions and 61 deletions

View File

@ -1,31 +0,0 @@
From eb67c2fc470b88385f63435a826d73b32fc3c226 Mon Sep 17 00:00:00 2001
From: Mark Sapiro <mark@msapiro.net>
Date: Mon, 15 Jul 2024 17:44:59 -0700
Subject: [PATCH] Return null bytes for empty attachment get_content.
---
hyperkitty/models/email.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hyperkitty/models/email.py b/hyperkitty/models/email.py
index 651694e5..12732a93 100644
--- a/hyperkitty/models/email.py
+++ b/hyperkitty/models/email.py
@@ -329,12 +329,12 @@ class Attachment(models.Model):
if self.content is not None:
return bytes(self.content)
if folder is None:
- return ""
+ return b''
filepath = os.path.join(folder, str(self.counter))
if not os.path.exists(filepath):
logger.error("Could not find local attachment %s for email %s",
self.counter, self.email.id)
- return ""
+ return b''
with open(filepath, "rb") as f:
content = f.read()
return content
--
GitLab

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7cb1a021c5813d92ec3d174482f70f1b46174364f7d9b423586ee4f347f71e7b
size 2204682

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEVB6gRIRTOU/3eg7MnZsroGHQpnwFAmZ2g7oACgkQnZsroGHQ
pnxfTQ/+J5TIlLOZ7XNrBhprfZYp0zhU5TmLkHhCTLbm/06SyvGNspEcqqQicLSJ
YZEkKF4CPByLMCTDvVLiEjjiaaq9S+MJ+FVkASZKPrvogRDxVmB//whIJWjhWYfQ
VPMqj8fflZiuLNLqmfFf7AU2mZbn/y6+ODS2+vDeNISydze5pFEUyLTfk+VXf+X3
9btHzvRjCXC8s7Buj9GaDID0hYU3aYyyLoVMSqnQ0ESqd4YHpSX5+q0PpkTmFuhH
DR/I1vCDsbj4HMvzPJx1dFFEKysMjOmRPqVSTaGGj51EiFZJReraNZ6zSKh4uclx
dO1rE4yqD5l7HkrTCBd7n+Lr3jefJDaTtUjHwTDC2EAC4Z3JfrvB0rczPcTKpzFp
s61fePie43JU/aXfhvObHs/++FZKmLC7B2Q4OpWRQpAIikDcQimLCYOXqpc8WAqo
13CrpRIQXUh5oQuUH69WHDgw/U0QTWtbpYEIDJZ4Ls9MrEeLwJIaM9JZnuBCPUm7
o358JVdBwL/w65BxK4Csk4Y32W8sJM5XF0JtJ+Yzf4PAd6gk2gUetLkRikphih24
2TFzR4Upvc5DJWIM8uitmxFpxo4dmnctbg7bLrWMsvs9Yw4M8kuEVR9QdrNr1ZYS
Thzg/WkYKi0x+BtXE0JxtJ66y+h+hWXQ0ARN9h4XZP7V41UWR+o=
=6rnT
-----END PGP SIGNATURE-----

3
hyperkitty-1.3.12.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:deb582937ec5bc9ea9c1d5d86bfb76a4da429b60e1fea6fd6964e7c667cf161d
size 2231630

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEVB6gRIRTOU/3eg7MnZsroGHQpnwFAmbueWwACgkQnZsroGHQ
pnxsWRAAzB3qp5jEdyUzUI28ptQFdFPQrYfOESVGTwsYzQ88/MxDGnbjhcbs4Ch6
OGt/xATlxbIeiO1fYIYryBO/ZyP3JiwC6PUTaHYnGFGi9rEgJKqaAg2JC10fKBsA
EOKd/Rda9RONZTf54BvODpGl8OgUXGPqblr/xuaddewGfn3pcCiVD3juND8Eromz
U4smsonht08F64jaWGO5Ki2sPaUrXIYfKJdzUMCC5GTwRQLafPEgomamrgfBMcwa
G5LyZt6DXHGEBf0gQKtdR5ixKv4Y6Hk4l2U0NKT3gi5fb6YRF9ftXBZGlRpGEVrj
58xLL4B41ltisf4S5xvZbHidhfvD1hnSpp2RDZtocjkozfk5y71wOSpCZ1/Py19l
keS8Dh4ey90R121+8fa9SBTowIZW3cD4IxlmcJwfNPsuy6wHCv8SJx2I91eiN6rA
z3XTIhk30VFLky7qDLDodH5KucQop0jF+TbvqtJ45HTb4HV30Fx+5eYJMSW5eQAR
SjuYnJih2T/n3o07mRxqhpl9awpdhhLyVsKTevqBLCFES/pmSpwun+bX++JLx4kg
trIVqVYYi+4uUyF7EH0ixOOYVmCx9rJzdLXyX8c9BxKp23zcQcWsxffZzwNpa0N2
9BpT9w/Vn6wdoKqzsyen6CXgRSDVv9kpgpLZtJ85Y6PfcwroJnY=
=R3Fq
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Mar 11 13:19:11 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add reproducible.patch for reproducible builds
-------------------------------------------------------------------
Thu Nov 7 11:33:38 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Minor tweaks in spec to fix build
-------------------------------------------------------------------
Sat Sep 21 12:05:35 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.12
* https://gitlab.com/mailman/hyperkitty/-/blob/1.3.12/doc/news.rst
or packaged news.rst
- Removed gl-mr635-empty_attachment.patch
-------------------------------------------------------------------
Wed Sep 11 18:35:28 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.3.11
* https://gitlab.com/mailman/hyperkitty/-/blob/1.3.11/doc/news.rst
- Removed GPG signature as the download links don't work
- Removed requirement for pytz
-------------------------------------------------------------------
Thu Jul 18 20:22:39 UTC 2024 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>

View File

@ -19,16 +19,14 @@
%bcond_without testsuite
# keep in sync with setup.py
%global django_min_version 3.2
%global django_max_version 4.3
%global django_min_version 4.2
%global django_max_version 5.1
%global django_mailman3_min_version 1.3.13
%global django_gravatar2_min_version 1.0.6
%global djangorestframework_min_version 3.0.0
%global robot_detection_min_version 0.3
%global pytz_min_version 2012
%global django_compressor_min_version 1.3
%global mailmanclient_min_version 3.3.3
# original this was >= 2.0.0, < 3.0 but overwritten by mistune3.patch
%global mistune_min_version 3.0
%global python_dateutil_min_version 2.0
%global networkx_min_version 2.0
@ -66,7 +64,7 @@
%define plainpython python
Name: python-HyperKitty
Version: 1.3.10
Version: 1.3.12
Release: 0
Summary: A web interface to access GNU Mailman v3 archives
License: GPL-3.0-only
@ -94,8 +92,7 @@ Patch0: hyperkitty-settings.patch
Patch98: gl-mr300-add-opengraph-metadata.patch
# PATCH-FIX-UPSTREAM gl-mr470-introduce-feed-filtering.patch gl#mailman/hyperkitty#470
Patch99: gl-mr470-introduce-feed-filtering.patch
# PATCH-FIX-UPSTREAM gl-mr635-empty_attachment.patch gl#mailman/hyperkitty#635
Patch100: gl-mr635-empty_attachment.patch
Patch100: reproducible.patch
#
BuildRequires: %{python_module Django >= %{django_min_version} with %python-Django < %{django_max_version}}
BuildRequires: %{python_module Whoosh}
@ -106,7 +103,7 @@ BuildRequires: %{python_module django-gravatar2 >= %{django_gravatar2_min_versi
BuildRequires: %{python_module isort}
BuildRequires: %{python_module mailmanclient >= %{mailmanclient_min_version}}
BuildRequires: %{python_module mistune >= %{mistune_min_version}}
BuildRequires: %{python_module pdm}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@ -138,7 +135,6 @@ BuildRequires: %{python_module networkx >= %{networkx_min_version}}
BuildRequires: %{python_module pytest-django}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil >= %{python_dateutil_min_version}}
BuildRequires: %{python_module pytz >= %{pytz_min_version}}
BuildRequires: %{python_module robot-detection >= %{robot_detection_min_version}}
# /SECTION
@ -162,7 +158,6 @@ Requires: %{mypython}-mailmanclient >= %{mailmanclient_min_version}
Requires: %{mypython}-mistune >= %{mistune_min_version}
Requires: %{mypython}-networkx >= %{networkx_min_version}
Requires: %{mypython}-python-dateutil >= %{python_dateutil_min_version}
Requires: %{mypython}-pytz >= %{pytz_min_version}
Requires: %{mypython}-robot-detection >= %{robot_detection_min_version}
Requires: %{mypython}-xapian-haystack >= %{django_haystack_min_version}
# help in replacing any previously installed flavor package back to the unprefixed package
@ -363,7 +358,7 @@ fi
%service_del_postun %{hyperkitty_services}
%files -n %{hyperkitty_pkgname}
%doc AUTHORS.txt README.rst example_project
%doc AUTHORS.txt README.rst doc/news.rst example_project
%license COPYING.txt
%{mypython_sitelib}/hyperkitty
%{mypython_sitelib}/hyperkitty-%{version}*-info
@ -373,6 +368,7 @@ fi
%{_sbindir}/hyperkitty-manage
%{_sbindir}/rchyperkitty-qcluster
%{_sbindir}/rchyperkitty-runjob-*
%dir /srv/www
%dir %{webapps_dir}
%dir %{webapps_dir}/mailman
%{_unitdir}/hyperkitty-qcluster.service

27
reproducible.patch Normal file
View File

@ -0,0 +1,27 @@
https://gitlab.com/mailman/hyperkitty/-/merge_requests/656
From 3961ea048f00da1004bbfe22f43ea2a494279d49 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
Date: Mon, 16 Dec 2024 16:08:45 +0100
Subject: [PATCH] Use content based hashing
for deterministic .css files
Without this patch, the mode defaulted to `mtime`
and caused variations between builds.
Fixes #527
This patch was done while working on reproducible builds for openSUSE, sponsored by the NLnet NGI0 fund.
diff --git a/example_project/settings.py b/example_project/settings.py
index ec7f742..1c53df6 100644
--- a/build_static_files/settings.py
+++ b/build_static_files/settings.py
@@ -304,6 +304,7 @@ SOCIALACCOUNT_PROVIDERS = {
# django-compressor
# https://pypi.python.org/pypi/django_compressor
#
+COMPRESS_CSS_HASHING_METHOD = 'content'
COMPRESS_PRECOMPILERS = (
('text/x-scss', 'sassc -t compressed {infile} {outfile}'),
('text/x-sass', 'sassc -t compressed {infile} {outfile}'),