Commit Graph

5914 Commits (c80908837fe2fae5821a53bef82988586dbef2dd)

Author SHA1 Message Date
sebres 054e1d89ca bundling async modules removed in python 3.12 into f2b (fallback to local libraries if import would miss them);
closes gh-3487
2023-12-12 15:16:05 +01:00
sebres 8d6bfd89bf Merge test-3.13: python 3.13 support, see gh-3487 2023-12-12 14:40:46 +01:00
sebres 7e88c9be8d more compat issues (Logger.warn -> Logger.warning) 2023-12-12 14:27:24 +01:00
sebres 337a519cb2 python3.13 support - unittest.makeSuite is removed in 3.13 2023-12-12 14:21:11 +01:00
Sergey G. Brester e3b36756c0
main.yml: test python 3.13 2023-12-12 14:13:39 +01:00
Sergey G. Brester 36c890f15b
main.yml: restore test systemd/journal for python >= 3.10 2023-12-12 13:45:11 +01:00
sebres 4e326cb5cb Merge python-3.12--asyncore: python 3.12 support, see gh-3487 2023-12-12 13:40:11 +01:00
sebres 340d45ca88 amend to 70aef2c3c68d690232fe6c96ba2b6d84ca8af019: py3.12: silence warnings "invalid escape sequence" 2023-12-12 13:37:56 +01:00
sebres 26597f625d revert heavydebug logging for 3.12 in GHA 2023-12-12 13:31:04 +01:00
sebres f1efea6a4f py3.12: install setuptools (packaged now) 2023-12-12 12:54:55 +01:00
sebres f966d88ce5 verbose output for 3.12 2023-12-11 21:50:56 +01:00
sebres ef208e9149 py3.12: ignore smtpd based tests (if no smtpd module) 2023-12-11 21:45:34 +01:00
sebres 70aef2c3c6 py3.12: silence warnings "invalid escape sequence" 2023-12-11 21:26:55 +01:00
sebres 572582137c try to use pip-modules asyncore/asynchat 2023-12-11 19:51:49 +01:00
Sergey G. Brester 7076af637f
main.yml: bump pypy to latest stock version (3.10, because 3.9 seems to have sporadic timing issues anyway) 2023-12-10 16:24:02 +01:00
Sergey G. Brester 5277e91013
Merge pull request #3503 from repcsi/pf_allproto
BSD Pf allproto actiontype to block all communication from source on IP level
2023-12-10 16:11:05 +01:00
Sergey G. Brester c03afd3ad4
servertestcase.py: adjusted, protocol is variable now 2023-12-10 16:09:32 +01:00
sebres e03df4805f Merge branch 'fix-gh-3646': nginx error-log filters extended with support of journal format; closes gh-3646 2023-12-10 15:43:21 +01:00
sebres 7c83669700 update main CI flow to new version of GHA (silence deprecated warnings, etc) 2023-12-10 15:41:03 +01:00
Sergey G. Brester b71ed9e472
GHA: pypy seems need exact version now 2023-12-10 15:36:44 +01:00
Sergey G. Brester 9554279129
CI/main.yml: try to silence warning about deprecated node usage (switch to newer actions version) 2023-12-10 15:30:38 +01:00
sebres 0abba5dc6e more filters for nginx error-log supporting journal format now, added generalized include and __prefix_line 2023-12-10 15:21:20 +01:00
sebres b245225b13 filter.d/nginx-http-auth.conf: added optional prefix to support systemd-journal format and additional timestamp (optionally) in prefix 2023-12-10 14:39:21 +01:00
repcsi 199759f0ba added pf[protocol=all] options as recommended by sebres 2023-12-10 11:20:39 +01:00
sebres 44fa2959e7 fixes gh-3635: avoid sporadic error in pyinotify backend if pending file deleted in other thread; restore correct logging in tests 2023-11-22 20:16:53 +01:00
sebres 5d9817728d fixes multi-threaded issue on `__pending` dict (caused due to missing lock on `__pending` dict);
an entry can be deleted by `_delPending` with 1st thread, while 2nd thread in filter doing `_checkPending` where it still got this key in iterator, but later fails in the cycle because `__pending[path]` may be deleted by 1st thread in-between;
closes #3635
2023-11-22 20:05:02 +01:00
sebres 4d603f9726 added missing inherited `tearDown` invocation 2023-11-22 20:01:31 +01:00
sebres cdb6607261 remove double call of inherited setup in test cases;
previously caused that after that no restore of log-handler takes place in `tearDown` later, so after that tests it remains by `LogCaptureTestCase._MemHandler`, so every future logged message disappear in nirvana;
partially fixes #3635
2023-11-22 20:00:50 +01:00
Yaroslav Halchenko 22ce0c0536
Merge pull request #3630 from yarikoptic/enh-codespell
Add codespell: workflow, config and fix typos it finds
2023-11-22 10:53:48 -05:00
Sergey G. Brester 9fc754ceea
Merge pull request #3633 from brunobell/patch-1
Update Arch Linux package URL in RELEASE
2023-11-22 12:57:55 +01:00
Dash Lu 0e27811818 Update Arch Linux package URL in RELEASE 2023-11-21 23:05:54 +08:00
Yaroslav Halchenko 8ef0d3c7a9 [DATALAD RUNCMD] run codespell throughout fixing typo automagically
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2023-11-18 10:04:04 -05:00
Yaroslav Halchenko 81b2eb32d6 Add pragma to ignore a codespell-detected typoin postfix.conf 2023-11-18 10:03:50 -05:00
Yaroslav Halchenko 5e9060a613 Add skipping of codespell-ignore annotated lines 2023-11-18 09:56:18 -05:00
Yaroslav Halchenko b3bcd0a0f2 Filter substition -> substitution
I think it is just a filter for testing so should be safe to rename
2023-11-18 09:55:24 -05:00
Yaroslav Halchenko e2ede1a43e Further adjust regex since apparently \b would not match at the beginning of e.g. [Uu]ser 2023-11-18 09:55:24 -05:00
Yaroslav Halchenko dcb0177d96 Ignore URLs and few other specific things, group better in regex 2023-11-16 11:07:47 -05:00
Yaroslav Halchenko e96ecf78c1 [DATALAD RUNCMD] Do interactive fixing of some ambigous typos
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2 ./files/fail2ban-openrc.conf ./fail2ban/tests/fail2banclienttestcase.py",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2023-11-16 10:59:16 -05:00
Yaroslav Halchenko 3b3fcde2e6 Some ignores for codespell 2023-11-16 10:58:39 -05:00
Yaroslav Halchenko 698cba5708 Remove .project for Eclipse added originally by Cyril but IMHO never used since never tuned 2023-11-16 10:55:20 -05:00
Yaroslav Halchenko 4b4c728558 Add rudimentary codespell config 2023-11-16 10:42:20 -05:00
Yaroslav Halchenko e20bd9402b Add github action to codespell master on push and PRs 2023-11-16 10:42:20 -05:00
Sergey G. Brester eed319e896
gh-3604: filter.d/slapd.conf - switched to single-line processing
closes gh-3604
2023-10-18 16:06:56 +02:00
Sergey G. Brester 132c719386
Merge pull request #3603 from alexdrupal/patch-1
mysqld-auth: no suffix in message (mariadb 10.3 log format)
2023-10-16 12:05:42 +02:00
Sergey G. Brester 183f805ae3
amend 2023-10-16 11:41:05 +02:00
Sergey G. Brester 7931b67325
mysqld-auth.conf: better RE, optional suffix, non-capturing groups 2023-10-16 11:35:53 +02:00
Aliaksandr Yurchyk 162f0c4b6c
Update mysqld-auth test file 2023-10-16 01:45:43 +03:00
Aliaksandr Yurchyk c55e9949dc
Fix issue with Mariadb 10.3 failed message 2023-10-16 01:35:15 +03:00
Sergey G. Brester 8eac5f597a
Merge pull request #3579 from stweil/travis
Remove Travis CI (no longer working)
2023-09-25 12:43:56 +02:00
Stefan Weil cd2ba0a3ba Remove Travis CI (no longer working)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2023-09-24 20:12:19 +02:00