Commit Graph
100 Commits
Author SHA1 Message Date
holger krekel 34f7b3c0d3 introduce "cmdeploy bench" 2023-12-10 12:10:36 +01:00
holger krekel e2828f4103 cleanup 2023-12-10 12:00:03 +01:00
holger krekel df515bea41 generate dns zone file via cmdeploy 2023-12-10 11:56:41 +01:00
holger krekel 5614f03611 add dns command beginning 2023-12-09 18:07:44 +01:00
holger krekel 70443545d7 make cmdeploy test work 2023-12-09 17:55:08 +01:00
holger krekel 10ef842061 snap 2023-12-09 17:45:26 +01:00
holger krekel 98f92cd9b6 fix various test setups 2023-12-09 16:54:05 +01:00
holger krekel fe99b97386 add webdev sub command 2023-12-09 16:42:03 +01:00
holger krekel 542decf798 making it work 2023-12-09 15:15:57 +01:00
holger krekel 2e7f8483b3 rework UI for chatmail setup 2023-12-09 13:43:56 +01:00
holger krekel 5c58e625f0 draft init flow 2023-12-09 02:07:09 +01:00
holger krekel 009f549619 document some attributes in chatmail.ini 2023-12-09 01:20:17 +01:00
holger krekel 99d36235fe get passthrough_recipients list from config 2023-12-09 01:07:37 +01:00
holger krekel b52a8c969f various fixes 2023-12-09 00:22:58 +01:00
holger krekel 8520a9d8f2 introduce basic config file 2023-12-08 21:56:15 +01:00
holger krekel 652b9688d3 deploy chatmaild in a virtualenv to make it easier to add dependencies 2023-12-08 21:55:18 +01:00
holger krekel 59c3730d84 fix data fixture access 2023-12-08 20:47:49 +01:00
holger krekel 84db074686 fix README link 2023-12-08 14:59:17 +01:00
holger krekel 7eec0ab301 tweak QR code generation 2023-12-08 14:56:48 +01:00
holger krekelandGitHub 7cb8f90340 create a wwwdev.sh entry point for helping live web design/development (#92)
* create a wwwdev.sh entry point for developing the web part

* rename script

* fix README

* add a note

* don't depend on deltachat python package

* avoid bailing out on jinja2 errors, and provide file-url for instant clickability

* in webdev mode make page auto-refresh every 3 seconds
2023-12-08 14:32:40 +01:00
holger krekel 8cb77d3b98 be fine with 9 chars for password already 2023-12-07 17:34:19 +01:00
c67fb69af2 Parametrized privacy policy, unified and refined nine/non-nine landing pages (#89)
- move web sources to markdown
- integrate privacy policy template
- create and use chatmail.ini file to driving web-page generation 

Co-authored-by: missytake <missytake@systemli.org>

---------

Co-authored-by: missytake <missytake@systemli.org>
2023-12-07 13:52:00 +01:00
holger krekel 960bc1599b add missing simple test file for generating a qr code 2023-12-06 11:00:07 +01:00
holger krekel 0f05216ea0 mention QRcode in readme and modify nine.testrun.org index page to include it 2023-12-05 14:22:42 +01:00
holger krekel 75551224b3 revert unneccessary reformatting and unused file 2023-12-05 14:22:42 +01:00
holger krekel 0b8de41da2 put index.html into www/ dir, as it's not config 2023-12-05 14:22:42 +01:00
holger krekel f9b5783296 streamline text to be less redundant 2023-12-05 14:22:42 +01:00
holger krekelandmissytake d3281cc746 Update deploy-chatmail/src/deploy_chatmail/nginx/index.html.j2
Co-authored-by: missytake <missytake@systemli.org>

use example config as recommended by fcgiwrap/README.debian
2023-12-05 14:22:42 +01:00
holger krekel 4c7e39c10c add origin of genqr code 2023-12-05 14:22:42 +01:00
holger krekel 7b3c1d5ab9 streamline index.html 2023-12-05 14:22:42 +01:00
holger krekel 2d5eb86776 make QR code clickable, verified it works on android and desktop 2023-12-05 14:22:42 +01:00
holger krekel 5c9d9a98b3 works 2023-12-05 14:22:42 +01:00
holger krekel 4478270fc9 properly call logging.exception 2023-11-20 22:54:15 +01:00
holger krekel e7c9992fdc it's unclear what this limit really means -- with ipv6 one can easily create lots of IP addresses anyway 2023-11-20 22:54:15 +01:00
holger krekel a9d43c42f4 - tune down logging for filtermail
- allow higher smtp connection limit
2023-11-20 22:54:15 +01:00
holger krekel bbf2f0dd36 with help/side-comments from alex i fixed the concurrent account creation problem 2023-11-20 22:54:15 +01:00
holger krekel 43c02377ef make headlines as big as normal text 2023-11-16 11:46:47 +01:00
holger krekel 02eaa55441 reduce retro-ness of design after @hocuri's comment :) 2023-11-16 11:46:47 +01:00
holger krekelandHocuri 6c3ec903c2 Update www/nine.testrun.org/index.html
Co-authored-by: Hocuri <hocuri@gmx.de>
2023-11-15 20:48:30 +01:00
holger krekel 7d9b81863f refining the entry point, more info, more directly speaking to DC users
(we don't want to get arbitrary users to report issues)
2023-11-15 20:48:30 +01:00
holger krekelandlink2xt 6b3590e7c8 test: test concurrent user creation 2023-11-08 19:36:38 +00:00
holger krekel 8791e7735d simplify history of nine branch 2023-11-01 23:15:25 +01:00
holger krekel 248f67dcf6 fix nocreate location 2023-11-01 22:42:38 +01:00
holger krekel a24df735d4 streamline README, port some changes/additions from nine-branch 2023-11-01 22:42:38 +01:00
holger krekel 7d0797c510 streamline account creation and add tests
also incorporates nine.testrun.org user policies
2023-11-01 21:57:43 +01:00
holger krekel 3a9db729f8 simplify sysctl call 2023-10-31 22:03:03 +01:00
holger krekel 7eb86cba34 increase inotify limits for dovecot 2023-10-31 22:03:03 +01:00
holger krekel d5912b909c fix benchmark script 2023-10-28 16:50:24 +02:00
holger krekel 11ebc4623c somehow this deploy.sh adpatation was missing from main, not sure why 2023-10-24 23:19:40 +02:00
holger krekel 1e7d0d10f5 follow link2xt advise and don't check subject/body at all -- turns out there were no tests anyway. 2023-10-22 14:59:37 +02:00
holger krekel 3dd94cbe69 passes the test 2023-10-22 14:59:37 +02:00
holger krekel ed1b2f9da1 add a failing test for read receipts between two instances 2023-10-22 14:59:37 +02:00
holger krekel fcd3194eb1 run tests via scripts 2023-10-22 14:48:30 +02:00
holger krekel bdef189ce1 try to run all offline tests in CI 2023-10-22 14:48:30 +02:00
holger krekel 3058ddc542 fix init.sh and test.sh
use tox for chatmaild non-online tests
2023-10-22 14:48:30 +02:00
holger krekel bada933fef add missing file 2023-10-22 14:48:30 +02:00
holger krekel 1d74b94162 rename fixture to maildata and rename doveauth 2023-10-22 14:48:30 +02:00
holger krekel eee6d0c871 more maildata shifting 2023-10-22 14:48:30 +02:00
holger krekel ed5e37f1fa move all inlined mails to a data directory 2023-10-22 14:48:30 +02:00
holger krekel 364300274e move all tests into a root "tests" folder so they can share setup and config 2023-10-22 14:48:30 +02:00
holger krekel 848b25c790 add marker dynamically to allow "pytest" to execute nicely at repo root without warnings 2023-10-20 23:07:18 +02:00
holger krekel 107d10ace4 rename test files to be unambigously numbered 2023-10-20 23:07:18 +02:00
holger krekel 83e6a42252 slight refinement for benchmark formatting, not worth a PR 2023-10-20 18:43:06 +02:00
holger krekel 3012bfb79d some reformatting and striking overall 2023-10-20 11:05:58 +02:00
holger krekel 03442bc115 some improvements, adding a bnech 2023-10-20 11:05:58 +02:00
holger krekel 1ae6291d06 add ping-pong bench and formatting 2023-10-20 11:05:58 +02:00
holger krekel 1b347f97a0 better benchmarking and reporting 2023-10-20 11:05:58 +02:00
holger krekel c7995356b9 shift for simpler diff 2023-10-19 01:16:19 +02:00
holger krekel fb2ea27477 open a persistent client between the BeforeQueueHandler and postfix smtpd without content filter 2023-10-19 01:10:06 +02:00
holger krekel 7cf6cc2c91 remove filtermail split and LMTP backend 2023-10-19 01:05:49 +02:00
holger krekel 4358d5fe61 only do a smtp beforequeue-handler, also simplifies the send-rate-limiting test and improves DC behaviour 2023-10-19 00:54:45 +02:00
holger krekel 10cb099c0e all tests pass 2023-10-19 00:07:22 +02:00
holger krekel bbd2773506 refactor test and filtermail to prepare it for BeforeQueue handling 2023-10-18 21:43:06 +02:00
holger krekel 8fcd423015 apply most of linkxt review comments 2023-10-18 18:59:01 +02:00
holger krekel df39d05263 doc the test 2023-10-18 18:59:01 +02:00
holger krekel 05ce4f769b make test more readable 2023-10-18 18:59:01 +02:00
holger krekel 8dc05ba7ec also test that external addresses fail to be forged 2023-10-18 18:59:01 +02:00
holger krekel 6701c9749c refactor test to be more strict 2023-10-18 18:59:01 +02:00
holger krekel c6d8f7e759 initial forged-from protection 2023-10-18 18:59:01 +02:00
holger krekel fffbdc10c3 minimize capabilities 2023-10-17 01:22:19 +02:00
holger krekel 3419e359c8 create build venv in chatmaild/venv 2023-10-17 00:35:07 +02:00
holger krekel 0b051f8154 move deploy.py file and revamp README 2023-10-17 00:35:07 +02:00
holger krekel b74fde2a9f add postfix instrumented debugging 2023-10-16 23:38:02 +02:00
holger krekel e176595f1f add global debug flag and instrument dovecot with it 2023-10-16 23:38:02 +02:00
holger krekel c35e485510 an empty message in the handler means EOF 2023-10-16 21:49:56 +02:00
holger krekel 1bac4b5b46 generalize remotelog to "remote" and offer remote.iter_output method 2023-10-16 20:49:30 +02:00
holger krekel 63a7ad82ff fix capturing of logging to capture postfix better 2023-10-16 20:49:30 +02:00
holger krekel 37ef3f13b4 fix bugs 2023-10-16 20:49:30 +02:00
holger krekel 9dfd0ceb5a simplify and speedup multi-chatmail instance support 2023-10-16 20:49:30 +02:00
holger krekel 55c58e3c7a add support for using a second chatmail server 2023-10-16 20:49:30 +02:00
holger krekel c2692c7e92 introduce remotelog fixture for capturing systemd-unit logs 2023-10-16 20:49:30 +02:00
holger krekel b943f24587 apply nami's suggestions (chatmail SSH env var, running --slow in test.sh) 2023-10-16 17:52:08 +02:00
holger krekel df00333a19 also show the chatmail instance prominently in the test header 2023-10-16 17:52:08 +02:00
holger krekel 4fc63461fb - introduce pytest.mark.slow marker and "--slow" CLI option
- refactor login tests to allow running them against both imap/smtp
2023-10-16 17:52:08 +02:00
holger krekelandmissytake 00af333694 test works by logging into remote machine and checking the dovecot quota log 2023-10-16 15:19:29 +02:00
holger krekelandmissytake c9fd133942 improved test but still not doing what it should 2023-10-16 15:19:29 +02:00
holger krekelandmissytake caed6a3754 some fixes but still not quite running through 2023-10-16 15:19:29 +02:00
holger krekelandmissytake f71d372491 add a quota test (inspired by nami's #21 ) and try to get postfix/dovecot to implement the limit and the test to pass (it doesn't yet) 2023-10-16 15:19:29 +02:00
holger krekelandmissytake 60e1671062 make quota work 2023-10-16 15:19:29 +02:00
holger krekel ade18aab7b refine script 2023-10-15 19:14:18 +02:00