Commit Graph

1167 Commits

Author SHA1 Message Date
Alexey Sokolov 579906d686 Don't send emulated chghost-JOIN to channels where the nick wasn't
Fix #1924
2024-12-29 14:54:20 +00:00
Alexey Sokolov 1224d303aa Don't emulate chghost for disabled channels
Bug #1924
2024-12-29 10:12:10 +00:00
Alexey Sokolov 20c540af7d Make CHGHOST work with detached channels 2024-10-15 17:16:32 +01:00
Alexey Sokolov b536d0f3c3 Small optimization for message processing
Avoid creating the map for every message
2024-10-15 13:26:20 +01:00
Alexey Sokolov 9dcd44a15f Make code a bit clearer
Reference doesn't help here due to ?: operator, but it makes one think
that it helps
2024-10-15 13:26:20 +01:00
Alexey Sokolov d49399bbca Implement chghost capability
Interaction with extended-join doesn't yet work correctly, because ZNC
doesn't keep track of everyone's real names
2024-10-15 13:26:20 +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
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 ca3b76368d Suspend registration on CAP REQ
Fix #1820
2024-02-10 00:53:44 +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
Alexey Sokolov 78d7cc34e8 Load corecaps module when upgrading old config
This allows unloading it
2024-02-09 23:32:18 +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 43ffd33dd2 Update default ciphers 2024-02-08 22:33:37 +00:00
Alexey Sokolov eb607b9736 Don't send 333 to client if topic owner is unknown
Fix #1889
2024-02-05 22:45:42 +00:00
Alexey Sokolov efd136c01c Make modpython work with server-dependent caps 2024-01-14 11:12:32 +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 da3919245b Improve test 2024-01-13 22:07:40 +00:00
Alexey Sokolov 99e6869b28 Add CCapability 2024-01-13 21:22:42 +00:00
Alexey Sokolov b5a6ff528b The test is now working 2024-01-07 22:55:52 +00:00
Alexey Sokolov 1d3b33354f Merge branch 'master' into cap302 2024-01-06 20:36:24 +00:00
Alexey Sokolov 66137bd89a Progress 2024-01-05 00:45:41 +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
Alexey Sokolov 157095fd7c Require C++ version via cmake features
This works nicely with znc-buildmod because it will now ask cmake to
support at least C++17, but not limit modules to it
2023-11-18 14:21:28 +00:00
Alexey Sokolov ba0351e426 Use std::string_view instead of backported one 2023-11-18 11:20:22 +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
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 2b9a582d3e Bump cmake requirements in subprojects too 2023-09-30 14:43:15 +01:00
Alexey Sokolov afe94158a7 Try to simplify building modules 2023-09-30 11:59:53 +01:00
Alexey Sokolov 901c318028 Maybe fix macos build again 2023-09-30 03:11:30 +01:00
ZNC-Jenkins 3e65551567 Update translations from Crowdin for bg_BG da_DK de_DE el_GR fr_FR nl_NL 2023-09-29 00:34:39 +00:00
Alexey Sokolov 4228754ffb Use imported targets in cmake more consistently 2023-09-28 22:11:48 +01:00
ZNC-Jenkins 458063a860 Update translations from Crowdin for bg_BG da_DK el_GR fr_FR id_ID nl_NL 2023-09-28 00:33:39 +00:00
Alexey Sokolov a1a254bef1 Update password hashes from SHA-256 to Argon2id
These days salted SHA-256 is considered quite weak for passwords.

Transparently upgrade existing hashes upon login.

Bump cmake requirement to able to use IMPORTED_TARGET, this will allow
further cleanup in next commits.
2023-09-27 01:11:07 +01:00
ZNC-Jenkins 69c8eb0d04 Update translations from Crowdin for pl_PL 2023-09-24 00:33:16 +00:00
ZNC-Jenkins b57643e173 Update translations from Crowdin for bg_BG da_DK de_DE el_GR es_ES fr_FR id_ID it_IT nl_NL pt_BR pt_PT ro_RO ru_RU tr_TR 2023-09-23 21:09:18 +00:00
KindOne ee9ad2ff8e Use module names as the module ident.
Some clients will reuse query windows as the client thinks its just a
nick change if you have a existing query window with a module and a different one messages you.

Fix that by using the modules name as the ident.

Update tests to match new modules ident.
2023-09-08 07:21:31 -04:00
Alexey Sokolov 50a3226b4f Don't duplicate the map of cap handlers per client
The idea here was that modules would dynamically add handlers to the
map, then it needs to be per client; but a simpler way to achieve this
will be in next commit
2023-03-04 10:01:56 +00:00
Alexey Sokolov 9eebb1ff04 Move CClient constructor body to .cpp 2023-03-04 09:32:57 +00:00