Commit Graph

5789 Commits

Author SHA1 Message Date
ZNC-Jenkins ca6d6cd27f 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-05-02 00:24:52 +00:00
Alexey Sokolov 5b871e74aa Bring unix socket syntax of AddPort in line with AddServer 2025-05-02 01:00:56 +01:00
Alexey Sokolov 2a5dc04ef5 Merge pull request #1945 from DarthGandalf/unix
Unix sockets
2025-05-02 00:47:26 +01:00
Alexey Sokolov 00579d151e Pass %p to LLVM_PROFILE_FILE instead of wrapper 2025-05-01 22:44:39 +01:00
Alexey Sokolov 2f02a9ea00 Merge branch 'master' into unix 2025-05-01 22:41:27 +01:00
Alexey Sokolov 92fc74cc00 Try to fix codecov config
Apparently they changed YAML parser, and ! now makes it fail
2025-05-01 22:41:13 +01:00
Alexey Sokolov 864252bfc6 update csocket 2025-05-01 22:31:12 +01:00
Alexey Sokolov 5974d0ff3b Workaround for parallel writing of LLVM profiler data
Skip failing tests on cygwin: we'll just have to mark the unix socket feature as "experimental", but shouldn't block merging it due to cygwin being weird
2025-05-01 22:24:10 +01:00
TehPeGaSuS 056c7d8069 Explain how install ZNC in a custom path (#1946)
Added the the `-DCMAKE_INSTALL_PREFIX` for those wanting to install ZNC in a custom path.

Co-authored-by: Alexey Sokolov <alexey+github@asokolov.org>
2025-04-29 07:51:57 +01:00
Alexey Sokolov 5184d662d3 macos test probably should be fixed now 2025-04-28 22:08:13 +01:00
Alexey Sokolov 81e7fd69de WIP debugging failures on mac and cygwin... 2025-04-28 00:55:13 +01:00
Alexey Sokolov 1ac3571c60 Add modified Qt to NOTICE 2025-04-22 01:15:23 +01:00
Alexey Sokolov 951c39479f Update several tests to accept empty string or "localhost"
For unix sockets the behavior of getpeername() is different on different OS

This required to add support of regex to the integration test framework
2025-04-22 01:10:22 +01:00
Alexey Sokolov d8234a1a71 Fix the IP in SASL
This is wrong PR for that, but I noticed the issue while debugging failed tests here
2025-04-22 00:10:21 +01:00
Alexey Sokolov e084af4b7d more hacks to the cygwin hack 2025-04-21 17:33:35 +01:00
Alexey Sokolov 174a57a6ab fix typo 2025-04-21 16:38:33 +01:00
Alexey Sokolov 6b6614cffc Adapt cygwin workaround to ancient cygwin's qt version 2025-04-21 16:36:39 +01:00
Alexey Sokolov ce0a1584ba Cygwin: try a horrible hack to fix integration test with unix sockets 2025-04-21 15:47:21 +01:00
Alexey Sokolov 2af8cef4c2 update csocket 2025-04-21 11:22:24 +01:00
Alexey Sokolov fc15b8ec5e Make 'make inttest' run in parallel even outside CI 2025-04-21 09:31:08 +01:00
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
ZNC-Jenkins ea33a85ccb 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-20 00:26:50 +00: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 38804af214 Merge pull request #1944 from DarthGandalf/invite
Implement invite-notify
2025-04-19 11:16:00 +01:00
ZNC-Jenkins 6035704622 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-19 00:26:55 +00:00
Alexey Sokolov b53612edab Merge branch 'master' into unix 2025-04-18 23:46:16 +01:00
Alexey Sokolov 5d6aceac79 Add test for OnInvite()+OnInviteMessage() 2025-04-18 22:36:53 +01:00
Alexey Sokolov 5befe2f7f8 Implement invite-notify 2025-04-18 22:23:01 +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