Commit Graph

5747 Commits

Author SHA1 Message Date
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
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
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
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
Alexey Sokolov
8778a2bb5d Parse network and client from authzid. Tests will be in future commit 2025-02-24 09:21:30 +00:00
Alexey Sokolov
ed20d489b6 Apply suggestions from code review
Co-authored-by: dgw <dgw@technobabbl.es>
2025-02-23 22:41:01 +01:00
Alexey Sokolov
4f07558a7d Remove a footgun by decreasing the SASL API surface for modules
Even without the bad vtable of mutex inside shared_ptr, if a module
creates a subclass of CAuthBase, but then unloads, we have the same
problem.
2025-02-23 09:25:24 +00:00
Giovanni
ab763a7b99 CMake: use cmake_{push,pop}_check_state() (#1933) 2025-02-23 01:30:48 +01:00
Alexey Sokolov
af21753901 Rename saslplain to saslplainauth for consistency with other auth
modules
2025-02-22 16:03:46 +00:00
Alexey Sokolov
6e9980d67f Various SASL changes 2025-02-22 15:59:52 +00:00
Alexey Sokolov
99a5a52fea fail2ban: Reset the counter upon successful login
This is for SASL: when multiple mechanisms available it's kinda expected
that some of them can fail, e.g. if client attempted EXTERNAL without
providing the cert first.
2025-02-15 00:17:24 +00:00
Alexey Sokolov
4ef64eb4d5 rename next sasl module hook 2025-02-13 21:36:07 +00:00