Commit Graph

67 Commits

Author SHA1 Message Date
Sandro
c6cd7e3227
Merge pull request #119680 from alyssais/hyperkitty 2021-04-19 06:21:12 +02:00
Alyssa Ross
be74a6ae30
python3.pkgs.hyperkitty: 1.3.3 -> 1.3.4 2021-04-17 21:06:37 +00:00
Alyssa Ross
cc10432418
mailman: add myself as a maintainer all around 2021-04-17 01:07:38 +00:00
Alyssa Ross
912e11a468 mailman-web: 2019-09-29 -> 2021-04-10
* Make it clearer what code comments apply to
* Fix the state directory (this was changed in the update)
* Add m1cr0man as a maintaner

Co-authored-by: Lucas Savva <lucas@m1cr0man.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-14 16:23:09 +00:00
Alyssa Ross
55ac7d4580 mailman-web: fix build 2021-04-14 13:42:11 +00:00
Alyssa Ross
5e4fc1cc5f
mailman-web: mark broken 2021-04-14 12:19:03 +00:00
Alyssa Ross
d0ead9021e
Revert "mailman-web-unstable: 2019-09-29 -> 2021-04-10 (#119135)"
This reverts commit 8dbd553792.

The update has changed where mailman-web looks for its database and
broken the Mailman module in NixOS.
2021-04-14 12:18:44 +00:00
Lucas Savva
8dbd553792
mailman-web-unstable: 2019-09-29 -> 2021-04-10 (#119135)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-13 01:31:53 +02:00
Lucas Savva
3faeac7062 mailman: Add comments wrt updating mailman components
The Mailman Core must be on its latest available version
before updating hyperkitty or postorious.
2021-04-05 03:12:44 +01:00
Lucas Savva
4002146ff5 mailman: 3.3.1 -> 3.3.4
Postorious 1.3.4 (AKA mailman-web, already in unstable/master)
    requires this version to work
2021-04-05 02:14:22 +01:00
Fabian Affolter
a6328de769
Merge pull request #114218 from fabaff/bump-readme_renderer
python3Packages.readme_renderer: 28.0 -> 29.0
2021-03-03 07:41:10 +01:00
Fabian Affolter
8a20e93b50 python3Packages.postorius: 1.3.3 -> 1.3.4 2021-02-24 12:39:32 +01:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Sandro Jäckel
a3c02a34e2
mailman: Disable tests 2020-12-07 11:02:01 +01:00
Linus Heckemann
176bc68a69 mailman: log to journal 2020-06-18 17:23:33 +02:00
Linus Heckemann
f5a57c6c40 mailman-web: remove django version checks and override
This is nonsense! Postorius and Hyperkitty don't even support 1.11 anymore.
2020-06-18 17:21:41 +02:00
Alyssa Ross
9e59980eb5 python3.pkgs.hyperkitty: 1.3.2 -> 1.3.3 2020-06-06 01:05:29 +00:00
Alyssa Ross
1fe94466e6 python3.pkgs.postorius: 1.3.2 -> 1.3.3 2020-06-06 01:05:29 +00:00
Alyssa Ross
5322686d53 mailman: 3.3.0 -> 3.3.1 2020-06-06 01:05:29 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jonathan Ringer
6730bc5144 python3Packages.mailman-web: prevent error from crashing eval 2020-02-12 22:27:24 -08:00
Lancelot SIX
2711c7477d pythonPackages.django: django_1_11 -> django_lts 2020-02-09 09:17:31 +01:00
Alyssa Ross
95de02942f
Revert "mailman-wrapper: crazy hack to work around the missing urllib3 dependency"
This reverts commit ce6b2419be, which
was unnecessary (mailman worked just fine on its parent commit).

See #79222.
2020-02-04 15:40:37 +00:00
Peter Simons
ce6b2419be mailman-wrapper: crazy hack to work around the missing urllib3 dependency
Please remove the explicit urllib3 dependency from this expression again once
https://github.com/NixOS/nixpkgs/issues/79222 is fixed.
2020-02-04 14:43:56 +01:00
Peter Simons
5717f312a4 mailman-web: add myself as a maintainer 2020-02-04 14:43:46 +01:00
Alyssa Ross
881dd9963f mailman-web: use upstream, improve NixOS module
Previously, some files were copied into the Nixpkgs tree, which meant
we wouldn't easily be able to update them, and was also just messy.

The reason it was done that way before was so that a few NixOS
options could be substituted in.  Some problems with doing it this way
were that the _package_ changed depending on the values of the
settings, which is pretty strange, and also that it only allowed those
few settings to be set.

In the new model, mailman-web is a usable package without needing to
override, and I've implemented the NixOS options in a much more
flexible way.  NixOS' mailman-web config file first reads the
mailman-web settings to use as defaults, but then it loads another
configuration file generated from the new services.mailman.webSettings
option, so _any_ mailman-web Django setting can be customised by the
user, rather than just the three that were supported before.  I've
kept the old options, but there might not really be any good reason to
keep them.
2020-01-30 23:14:45 +00:00
Alyssa Ross
a8538a73a7 mailman: init package for Mailman CLI
We already had python3Packages.mailman, but that's only really usable
as a library.  The only other option was to create a whole Python
environment, which was undesirable to install as a system-wide
package.
2020-01-30 23:14:45 +00:00
Alyssa Ross
bc8eece849 python3.pkgs.mailman-hyperkitty: HTTPS homepage 2020-01-30 23:14:45 +00:00
Alyssa Ross
c397d1909f nixos/mailman: don't keep secrets in the Nix store
This replaces all Mailman secrets with ones that are generated the
first time the service is run.  This replaces the hyperkittyApiKey
option, which would lead to a secret in the world-readable store.
Even worse were the secrets hard-coded into mailman-web, which are not
just world-readable, but identical for all users!

services.mailman.hyperkittyApiKey has been removed, and so can no
longer be used to determine whether to enable Hyperkitty.  In its
place, there is a new option, services.mailman.hyperkitty.enable.  For
consistency, services.mailman.hyperkittyBaseUrl has been renamed to
services.mailman.hyperkitty.baseUrl.
2020-01-30 23:14:45 +00:00
Alyssa Ross
126ff4d97e python3.pkgs.mailman*: check isPy3k inside package 2020-01-20 14:36:56 +00:00
Peter Simons
3e26640352 python3.pkgs.mailman: 3.2.2 -> 3.3.0 2020-01-20 14:36:56 +00:00
Alyssa Ross
aec2382b38 python3.pkgs.postorius: 1.2.4 -> 1.3.2 2020-01-20 14:36:56 +00:00
Alyssa Ross
9a43cdc1c6 python3.pkgs.postorius: use checkInputs 2020-01-20 14:36:56 +00:00
Alyssa Ross
6af4de84d3 python3.pkgs.hyperkitty: use checkInputs
The previously propagated build inputs are optional, and so are
included in checkInputs so the tests can run, but not propagated so
they aren't included if unneeded.
2020-01-20 14:36:56 +00:00
Alyssa Ross
38f2103de9 python3.pkgs.hyperkitty: 1.2.2 -> 1.3.2 2020-01-20 14:36:56 +00:00
Alyssa Ross
0b9bfc0132 python3.pkgs.mailman: core.nix -> default.nix
The actual upstream "mailman" name just refers to this, so we should
use the Nixpkgs convention of default.nix.
2020-01-20 14:36:56 +00:00
Alyssa Ross
89b311fa4d mailman: remove unused derivation for mailman 2
This isn't referenced anywhere, so it's just dead code.
2020-01-20 14:36:56 +00:00
Peter Simons
86f8895abb python-mailman-web: turn these Djando configuration files into a make-shift Python library
Suggested in https://github.com/NixOS/nixpkgs/pull/67951#issuecomment-530309702.
2019-09-11 14:48:51 +02:00
Peter Simons
72c7ba5aba nixos/mailman: add support for the Mailman Web UI (Postorius & Hyperkitty) 2019-09-11 12:19:23 +02:00
Frederik Rietdijk
fc74ba8291 Merge master into staging-next 2019-08-31 09:50:38 +02:00
Peter Simons
131910992b python-HyperKitty: initial version 1.2.2
Package the mail archiver for GNU Mailman. I liberally borrowed code
from @globin's repository [1].

[1] https://github.com/mayflower/nixexprs/tree/master/pkgs/python
2019-08-30 14:25:13 +02:00
Peter Simons
e3492eff46 mailman: build full paths to postmap and lynx into the package
No more need to rely on $PATH.
2019-08-29 19:06:33 +02:00
Frederik Rietdijk
98640fd482 Merge master into staging-next 2019-08-27 16:36:47 +02:00
Robin Gloster
6bff4c107e
mailman: add postorius testing 2019-08-26 22:51:53 +02:00
Robin Gloster
4b1cc7eebf
mailman: add meta to python deps 2019-08-26 22:51:33 +02:00
Peter Simons
22af3829a4 mailman: add the Postorious web UI 2019-08-26 21:12:56 +02:00
Peter Simons
da1ff985ae mailman: drop hard-coded references to /usr/bin 2019-08-26 16:20:20 +02:00
Peter Simons
842942baaa mailman: update from 2.1.29 to version 3.2.2 2019-08-25 21:47:03 +02:00