Commit Graph

929 Commits (test-3.13.0-alpha.2)

Author SHA1 Message Date
sebres 5d9817728d fixes multi-threaded issue on `__pending` dict (caused due to missing lock on `__pending` dict);
1 year ago
Yaroslav Halchenko 8ef0d3c7a9 [DATALAD RUNCMD] run codespell throughout fixing typo automagically
1 year ago
sebres f8622c6f92 fixes IPAddr.searchIP for IPv6 (IPv4 group scanning plain IPv6 is None)
1 year ago
Sergey G. Brester 48c91dfb6b
Merge pull request #3532 from lade-odoo/master-restore_bans_with_full_ticket_info-lade
1 year ago
Sergey G. Brester 7bfa133208
small amend: lets use lower level API for restored tickets too
1 year ago
Laurent Desausoi 3546071aa5 Restore bans from the database with full ticket information
1 year ago
sebres 99ff701678 remove support of python 2.x
1 year ago
sebres 03d7c92ae8 2to3
1 year ago
Sergey G. Brester 5d9603c104
failregex.py: resolve deprecation warning for sre_constants
2 years ago
sebres ca4af85cd7 avoid confusion of path as failure ID with IP/CIDR notation, improve IP/CIDR parsing;
2 years ago
sebres f93a538693 gh-3447: fix careless mistake arisen in b12a3acb06 by attempt to implement new reload capacity (rewritten latter): causing error "'noduplicates' is not defined" by double jail configuration
2 years ago
sebres 582436aadf don't add subnets to local addresses of `ignoreself` from network interfaces, use only IPs instead (subnets may be too heavy and not wanted, todo: make it configurable later)
2 years ago
sebres cb8674e68a amend with few improvements, IPv6IsAllowed prefers IPs from network interfaces (if available for platform) and uses DNS (socket.getaddrinfo) as a fallback only
2 years ago
sebres 09c23fd5b8 try to obtain local addresses from network interfaces before DNS to IP lookup (closes gh-3132);
2 years ago
sebres d8a9812adc improve auto detection of IPv6 - try to check sysctl net.ipv6.conf.all.disable_ipv6 (prefer value read from `/proc/sys/net/ipv6/conf/all/disable_ipv6`)
2 years ago
sebres 58834b6734 better auto-detection for IPv6 support (`allowipv6 = auto` by default); circumvent SF in some python's socket module by getaddrinfo with disabled IPv6 (closes gh-3438)
2 years ago
sebres a58fcb8786 fix cut out of match for pattern with `{EPOCH}` (similar to other datepatterns group capturing whole regex only added if no groups specified at all);
2 years ago
sebres cd17906afe Merge branch '0.11'
2 years ago
sebres 6d19d2e800 Merge branch '0.10' into 0.11
2 years ago
sebres 04c252c34b filtersystemd: code review, wait only if it is necessary - in operational mode and if no more entries retrieved (end of journal);
2 years ago
sebres 7bd4f41171 Merge branch '0.11'
2 years ago
sebres 94dac78afe Merge branch '0.10' into 0.11
2 years ago
sebres 485c50228a explicitly close cursor if not needed anymore (GC can grab it late)
2 years ago
sebres 45ef36276f fixes gh-3352: failed update of database didn't signal with an error
2 years ago
sebres 934e1b606d Merge branch '0.11'
2 years ago
sebres 8dccf099e4 Merge branch '0.10' into 0.11
2 years ago
sebres 5e74499ffd provides details of failed regex compilation in the error message we throw in Regex-constructor (it's good to know what exactly is wrong)
2 years ago
sebres d6896eb26d New logtarget: systemd-journal;
2 years ago
sebres a08b925468 Merge branch '0.11'
2 years ago
sebres 467024797f Merge branch '0.10' into 0.11
2 years ago
sebres 535a982dcc fixes #3334: speedup daemonization process by huge open files limit (try to close open file descriptors obtained from `/proc/self/fd` or `/proc/fd`)
2 years ago
Sergey G. Brester aceae84be2
no extra var needed for iterator
2 years ago
Tomer Shalev 0c3951b864 reverse in a single line
2 years ago
sebres 3c22ae161c Merge branch '0.11'
2 years ago
sebres c6cfd761bb Merge remote-tracking branch 'remotes/gh-upstream/0.10' into 0.11
2 years ago
sebres 4337e36616 wrap global flags like ((?i)xxx) or (?:(?i)xxx) to local flags (?i:xxx) if supported by RE-engine in the python version
2 years ago
sebres 7e2ab36d86 move global groups to start of expression (python 3.11 compat)
2 years ago
Sergey G. Brester a7ade07bf4
fixes typo (copy&paste) by logging of flush impossibility at consistency check, #3306
2 years ago
sebres 9272cce13d Merge branch '0.11'
3 years ago
sebres a69d42cea5 Merge branch '0.10' into 0.11
3 years ago
sebres 5aeb49a620 systemd backend: fixes missing space in message (tag `<matches>`) between timestamp and host if the message read from systemd journal;
3 years ago
sebres f81f85569d Merge branch '0.11'
3 years ago
sebres 8c4d02403b Merge branch '0.10' into 0.11
3 years ago
sebres e2d50f38a6 amend to #2279: ensure that `<F-MLFGAINED>` match would reset all pending multi-line failures
3 years ago
sebres 8eb521694e fulfill getIP with getID replacement; added simple tests for ticket
3 years ago
sebres 96121830da differentiate <ip> and <fid> (<F-ID>): if IP-address deviates from ID then `<ip>` is not `<fid>` anymore;
3 years ago
sebres ff7fe572bf drop support for python 2.6 (hardly possible in modern CIs, new features would expect OrderedDicts, etc)
3 years ago
sebres 13520a0494 Merge branch '0.11'
3 years ago
sebres 8ac49b5858 Merge branch '0.10' into 0.11
3 years ago
sebres cdb6a46945 systemd backend: better avoidance of landing in dead space by seeks over journals;
3 years ago