Commit Graph

2140 Commits

Author SHA1 Message Date
Alexey Sokolov c8266aafda Rename new callback, fix build 2025-02-13 21:22:09 +00:00
Alexey Sokolov 22f27b2e88 Fix indentation of SASL code.
This should help understanding what it's trying to do.
2025-02-13 21:03:16 +00:00
Alexey Sokolov c6ae8d16e5 saslplain: use CZNC::AuthUser()
1. this should work better with modules such as imapauth
2. it fixes a null pointer dereference when the username wasn't found

This module won't work as is yet, and has some other obvious issues with
this approach, but was a good starting point.
2025-02-13 20:56:02 +00:00
Alexey Sokolov 41a0030fdb Merge branch 'master' into sasl
Conflicts:
	include/znc/Client.h
	src/Client.cpp
	src/Modules.cpp
	test/integration/tests/modules.cpp
2025-02-13 20:37:32 +00:00
Peter 44e4b95a20 Welcome to 2025 (#1929) 2025-02-07 23:23:45 +00:00
Alexey Sokolov 25b19bb889 modperl: remove given/when
new perl version removes this feature
2024-10-13 21:35:30 +01:00
Alexey Sokolov a3867d100f unify indents in startup.pl 2024-10-13 21:27:42 +01:00
Alexey Sokolov afefc048d0 Simply disconnect if SASL not available on server
Instead of disabling network

This unavailability could be temporarily

Fix #1918
2024-10-13 19:22:48 +01:00
Alexey Sokolov 0506e95a74 Merge branch '1.9.x' 2024-07-03 16:16:12 +01:00
Alexey Sokolov 8cbf8d6281 Fix RCE vulnerability in modtcl
Remote attacker could execute arbitrary code embedded into the kick
reason while kicking someone on a channel.

To mitigate this for existing installations, simply unload the modtcl
module for every user, if it's loaded.
Note that only users with admin rights can load modtcl at all.

While at it, also escape the channel name.

Discovered by Johannes Kuhn (DasBrain)

Patch by https://github.com/glguy

CVE-2024-39844
2024-07-01 10:27:49 +01:00
4G3NT d6605d199e Fix casing on traffic info table 2024-04-10 22:56:29 -07:00
4G3NT 1e89f7b4ba Fix casing 2024-04-10 22:38:23 -07:00
Alexey Sokolov 82e82f0bf6 Merge branch '1.9.x' 2024-04-09 22:51:50 +01:00
Alexey Sokolov 207eaf4b1e Fix title case of tooltips
Close #1906
2024-04-09 22:49:00 +01:00
4G3NT 8b768593b1 Add a helpful tooltip 2024-04-09 22:47:12 +01:00
ZNC-Jenkins 3761c910b8 Update translations from Crowdin for id_ID 2024-03-03 22:25:45 +00:00
Alexey Sokolov 19e99fbc16 Try to fix merge conflict by rerunning CI 2024-03-03 22:05:59 +00:00
Alexey Sokolov eb45a523c2 Merge branch '1.9.x' 2024-03-03 21:48:54 +00:00
ZNC-Jenkins 82bf7fb803 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 2024-02-26 00:33:26 +00:00
ZNC-Jenkins e819082432 Update translations from Crowdin for id_ID 2024-02-26 00:33:25 +00:00
Alexey Sokolov 04fd57ad46 Merge branch '1.9.x' 2024-02-25 14:28:20 +00:00
ZNC-Jenkins feeece9c84 Update translations from Crowdin for pl_PL pt_BR pt_PT 2024-02-23 00:33:44 +00:00
ZNC-Jenkins 0b28e3a834 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 2024-02-23 00:33:43 +00:00
ZNC-Jenkins 251a8159b9 Update translations from Crowdin for it_IT 2024-02-20 00:32:30 +00:00
ZNC-Jenkins 01bc617d58 Update translations from Crowdin for id_ID 2024-02-18 00:33:08 +00:00
ZNC-Jenkins 47ea6fa87d Update translations from Crowdin for de_DE el_GR 2024-02-13 00:32:39 +00:00
ZNC-Jenkins cc8fd4394a Update translations from Crowdin for bg_BG da_DK de_DE fr_FR nl_NL 2024-02-11 00:32:54 +00:00
Alexey Sokolov 6e0591ff98 Remove unused field and getter
When account-tag was introduced, these fields were used, but since cap
3.2 this is no longer useful
2024-02-10 00:18:11 +00:00
ZNC-Jenkins 0b45616bd3 Update translations from Crowdin for de_DE 2024-02-09 05:05:55 +00:00
ZNC-Jenkins f066c3ee71 Update translations from Crowdin for bg_BG da_DK fr_FR nl_NL 2024-02-09 01:46:04 +00:00
Alexey Sokolov 2b3b224bca Make modperl support AddServerDependentCapability 2024-01-14 12:11:00 +00:00
Alexey Sokolov efd136c01c Make modpython work with server-dependent caps 2024-01-14 11:12:32 +00:00
Alexey Sokolov 4b1a524a72 Move extended-join test to integration test
Fix build of modperl/modpython
2024-01-14 01:46:12 +00:00
Alexey Sokolov b1009bd809 Code cleanup
Since now there are no server-dependent caps defined in the core
2024-01-14 00:27:21 +00:00
Alexey Sokolov f7ff0ee3f3 Modulefy core server-dependent caps 2024-01-13 23:34:03 +00:00
Alexey Sokolov 1d3b33354f Merge branch 'master' into cap302 2024-01-06 20:36:24 +00:00
Alexey Sokolov 64ce25e53d Update comments, namespace some internal modpython functions 2024-01-05 08:54:08 +00:00
Alexey Sokolov 3f4c1cce77 Fix build with SWIG 4.2.0
https://bugs.gentoo.org/921230
2024-01-05 02:20:49 +00:00
Falk Rund 17a004aa0b Welcome to 2024
[skip ci]
2023-12-31 21:09:25 +01:00
Alexey Sokolov 4cbccac707 Merge branch 'master' into cap302 2023-11-19 10:53:47 +00:00
ZNC-Jenkins 5e950e65fb Update translations from Crowdin for pl_PL 2023-11-07 00:33:08 +00:00
ZNC-Jenkins 3f2d7d5e87 Update translations from Crowdin for it_IT 2023-11-04 00:32:22 +00:00
ZNC-Jenkins 397b8e5ced Update translations from Crowdin for el_GR id_ID 2023-10-30 00:34:05 +00:00
ZNC-Jenkins edd5dac89f Update translations from Crowdin for bg_BG da_DK de_DE fr_FR nl_NL 2023-10-26 00:33:58 +00:00
Alexey Sokolov aa5016657b Fix modpython to show list of available modules
In 1.8.0 I switched from deprecated imp to importlib for loading module
by name, but forgot about this function

Close #1884
2023-10-26 00:36:12 +01:00
ZNC-Jenkins cd275d23dd Update translations from Crowdin for id_ID 2023-10-04 00:33:59 +00:00
Alexey Sokolov 5c7aac3958 Merge pull request #1883 from DarthGandalf/applecctz
Maybe fix build on macos
2023-09-30 16:37:16 +01:00
Alexey Sokolov afe94158a7 Try to simplify building modules 2023-09-30 11:59:53 +01:00
Alexey Sokolov 57188cda04 Pass list of deps to modperl and modpython bindings too 2023-09-30 10:07:21 +01:00
Alexey Sokolov 901c318028 Maybe fix macos build again 2023-09-30 03:11:30 +01:00