Commit Graph

5764 Commits

Author SHA1 Message Date
Alexey Sokolov
4c8e780a60 Revert "CI: parallelize integration test"
This reverts commit b1a03fa1cc.

Let's plug it as part of 'make inttest'
2025-04-21 09:06:23 +01:00
Alexey Sokolov
81e3c908ad Fix include 2025-04-21 01:01:42 +01:00
Alexey Sokolov
b1a03fa1cc CI: parallelize integration test
I'm not sure whether 'make inttest' should do this or not
2025-04-21 00:52:29 +01:00
Alexey Sokolov
b642d92ce7 Switch integration test to mostly use unix sockets
By not using the same hardcoded number for every test, we can parallelize the test now.

There are several cases remaining where we can't easily use unix sockets (e.g. QSslSocket or imapauth module), for that ask kernel what port number is currently free to use. This is a bit racy though.
2025-04-21 00:19:46 +01:00
Alexey Sokolov
63d10ccb17 Add support to connect to server via unix socket
The syntax for AddServer command and config is chosen to be unix:/path or unix:ssl:/path

For security reasons, only admins can add such servers, to prevent users from poking around the file system.
2025-04-20 22:40:20 +01:00
Alexey Sokolov
66b17926cc update csocket 2025-04-20 08:54:25 +01:00
Alexey Sokolov
d3a7f125cf Make unix sockets work from modules 2025-04-20 08:31:36 +01:00
Alexey Sokolov
0af3e0705f Configure unix listeners in webadmin 2025-04-19 23:43:09 +01:00
Alexey Sokolov
dab1127090 Add unix listener support to *status addport, delport 2025-04-19 22:17:30 +01:00
Alexey Sokolov
18af9b0895 More cleanup of listeners 2025-04-19 20:44:39 +01:00
Alexey Sokolov
3348de5b97 Remove old compatibility code in webadmin
Previously it was creating its own listener, but http support migrated to core ages ago
2025-04-19 20:23:08 +01:00
Alexey Sokolov
b952502eae Dedup code between TCP and Unix listener 2025-04-19 20:17:52 +01:00
Alexey Sokolov
b53612edab Merge branch 'master' into unix 2025-04-18 23:46:16 +01:00
Daniel
a206d1a3bb Webadmin: Fix Edit Network when using DenySetNetwork (#1942) 2025-04-18 02:11:43 +01:00
ZNC-Jenkins
9ab81d1dad Update translations from Crowdin for bg_BG da_DK de_DE el_GR es_ES fr_FR id_ID it_IT nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU tr_TR 2025-04-14 00:26:32 +00:00
Alexey Sokolov
6a0f0dce9c Merge pull request #1941 from DarthGandalf/tagmsg
Implement message-tags spec
2025-04-13 11:46:18 +01:00
Alexey Sokolov
ef4b59005c CTCP sent to *status shouldn't reach server 2025-04-11 21:45:45 +01:00
Alexey Sokolov
69cb57e51e Add @since comment to SASL module callbacks 2025-04-11 21:34:59 +01:00
Alexey Sokolov
f93829e3b3 Implement message-tags spec
Message tags were supported already, but not arbitrary tags, and not
TAGMSG
2025-04-11 21:28:10 +01:00
dependabot[bot]
df6a5073ff Bump codecov/codecov-action from 4 to 5 (#1923)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 13:53:18 +00:00
ZNC-Jenkins
bf5aa45b34 Update translations from Crowdin for bg_BG da_DK de_DE el_GR es_ES fr_FR id_ID it_IT nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU tr_TR 2025-03-17 00:26:30 +00:00
Alexey Sokolov
ebfe1143e4 log: don't log user quit to disabled channels
Fix #1925
2025-03-16 22:00:11 +00:00
Alexey Sokolov
ce47e7ea3d Fix sending server passwords with spaces in them
Fix #1928
Fix #1899
2025-03-16 21:31:34 +00:00
Alexey Sokolov
29104e81a2 certauth: use SHA-256 instead of SHA-1 for fingerprints
Transparently upgrade the hash upon successful login.

I intend to remove SHA-1 support in several versions.
2025-03-16 20:00:11 +00:00
Giovanni
30fbf1172c Fix host name retrieval during TLS certificate generation (#1935)
Use HOSTNAME if defined, otherwise invoke gethostname(3) if possible,
fallback to uname(2)
2025-03-16 15:43:39 +00:00
Alexey Sokolov
9ec6ce833e Merge pull request #1936 from DarthGandalf/sasl
SASL Authentication for Clients
2025-03-16 14:09:28 +00:00
Alexey Sokolov
ab4125692c Remove accidentally added header from previous commit 2025-03-16 11:14:01 +00:00
Alexey Sokolov
89e6d58d5a SASL: Move tests which are not about modules
from modules.cpp to core.cpp
2025-03-16 09:46:10 +00:00
Alexey Sokolov
0a45c4710a SASL: Support receiving USER and NICK after CAP END 2025-03-16 09:44:10 +00:00
Alexey Sokolov
a7dffb8ff1 Add modperl support for sasl 2025-03-16 00:42:27 +00:00
Alexey Sokolov
93e364b296 Add modpython sasl test 2025-03-15 22:43:35 +00:00
Alexey Sokolov
d6578402b7 Merge branch 'sasl' of github.com:DarthGandalf/znc into sasl 2025-03-15 22:34:02 +00:00
Alexey Sokolov
2ac6493150 Merge branch 'master' into sasl 2025-03-15 10:16:44 +00:00
Alexey Sokolov
7cbdb16e8d Merge branch 'master' of github.com:znc/znc 2025-03-15 09:04:52 +00:00
Alexey Sokolov
ac2c307db0 CI: update comments in jenkinsfile crowdin 2025-03-15 09:02:37 +00:00
ZNC-Jenkins
bf6c6c6154 Update translations from Crowdin for bg_BG da_DK de_DE el_GR es_ES fr_FR id_ID it_IT nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU tr_TR 2025-03-15 09:00:42 +00:00
Alexey Sokolov
0524b9aa27 CI: update usage of crowdin client 2025-03-15 08:08:42 +00:00
Alexey Sokolov
2aeac2f4bb CI: try to update crowdin config for new format 2025-03-09 14:59:32 +01:00
Alexey Sokolov
201d522db0 CI: try to fix crowdin CLI invocation 2025-03-08 09:24:57 +01:00
Matt Smith
6203ae64ba Remove the word "either" (#1938)
This is likely there because there are two different paths
depending on if the module was loaded as a network or a user
module. But only one of them is printed here so either does
not make any sense.
2025-03-06 16:44:41 +01:00
Alexey Sokolov
ffcf3aed5f Merge branch 'master' into sasl 2025-03-01 15:32:30 +01:00
Alexey Sokolov
e8c4cda0e6 Fix syntax of the filter
Bug #1937
2025-03-01 14:27:22 +01:00
Alexey Sokolov
4c944344fa CI: disable another python test on mac
See #1937
2025-03-01 10:29:36 +01:00
Alexey Sokolov
2e685e6a1f CI: disable python test on mac
See #1937
2025-03-01 10:13:40 +01:00
Alexey Sokolov
9f8015b8ad Add several more tests to sasl 2025-02-28 20:48:24 +01:00
Alexey Sokolov
db5eeb1626 Merge branch 'master' into sasl 2025-02-25 18:44:52 +00:00
Alexey Sokolov
a85533b15a Merge branch 'master' of github.com:znc/znc 2025-02-25 18:44:25 +00:00
Alexey Sokolov
843b40becc Merge branch 'master' into sasl 2025-02-25 18:42:51 +00:00
Alexey Sokolov
fc0dd1431f fix flaky chghost test 2025-02-25 18:41:02 +00:00
Alexey Sokolov
37457105f3 Support SASL EXTERNAL in certauth 2025-02-24 22:52:47 +00:00