Commit Graph

5859 Commits

Author SHA1 Message Date
RealKindOne c467da7de4 sample: Use newer On...Message events.
Fix #1954 is also fixed.
2025-07-07 15:38:28 -04:00
Alexey Sokolov 9597bee9a7 Merge pull request #1961 from RealKindOne/fix-chghost/away-notify
Make account-notify, away-notify and chghost only send to client if the nick is in one of channels attached to a client

Fix #1826
2025-07-07 08:33:31 +01:00
RealKindOne b61e21e079 Fix AwayNotify test. 2025-07-06 23:02:10 -04:00
Alexey Sokolov 0cbd9e541f Merge branch '1.10.x' 2025-07-01 22:25:08 +01:00
Alexey Sokolov eff4196c47 Switch version back to git 1.10.x 2025-07-01 22:19:18 +01:00
Alexey Sokolov 29694fd26f ZNC 1.10.1 znc-1.10.1 2025-07-01 22:16:21 +01:00
RealKindOne 106a9fcbb4 Make account, away-notify, and chghost only send to client if attached into a channel. 2025-06-26 10:15:13 -04:00
ZNC-Jenkins ee54fb121e 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-06-25 00:26:40 +00:00
ZNC-Jenkins 641958d85d 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-06-25 00:26:39 +00:00
Alexey Sokolov 7b3e9c65b7 ZNC 1.10.1-rc1 znc-1.10.1-rc1 2025-06-24 19:22:01 +01:00
Alexey Sokolov d48e215761 Merge branch '1.10.x' 2025-06-24 18:16:41 +01:00
Alexey Sokolov af975b2016 Merge pull request #1962 from DarthGandalf/bugs110
Fix several bugs
2025-06-24 18:11:24 +01:00
Alexey Sokolov c46bd41037 Unix listener: chmod and change group
Fix #1955
2025-06-24 09:04:29 +01:00
ZNC-Jenkins 6a2c158540 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-06-24 00:25:37 +00:00
Alexey Sokolov 3b4e5d6951 Merge pull request #1959 from RealKindOne/patch-1
raw: show ZNC->IRC traffic
2025-06-24 00:26:47 +01:00
Alexey Sokolov 4b12c0dc3c Fix nullptr dereference
If client sends TAGMSG while server is not connected
2025-06-23 22:52:34 +01:00
Alexey Sokolov 7b7f691213 Don't store "this" in static variable
Fix #1960

This could also cause use-after-free if the first connected socket disconnects
2025-06-23 22:41:08 +01:00
KindOne a25641f0bf raw: show ZNC->IRC traffic
Fixes #1209
2025-06-19 20:41:51 -04:00
ZNC-Jenkins 296b9ecd08 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-06-20 00:31:30 +00:00
Alexey Sokolov 795d843ee4 Merge pull request #1957 from RealKindOne/logmodule
log: Use new On...Message for events.
2025-06-19 22:45:58 +01:00
KindOne cd8587ddba log: Use suggested changes.
Co-authored-by: Alexey Sokolov <alexey+github@asokolov.org>
2025-06-19 17:30:58 -04:00
KindOne 79491ad2af log: Create helper. 2025-06-19 04:33:17 -04:00
ZNC-Jenkins 5ac26bb0ab Update translations from Crowdin for tr_TR 2025-06-17 00:26:08 +00:00
ZNC-Jenkins 7eaa3048b3 Update translations from Crowdin for tr_TR 2025-06-17 00:26:07 +00:00
KindOne 754ebdf822 log: Fix OnQuitMessage. 2025-06-16 03:31:45 -04:00
ZNC-Jenkins 154208d9b3 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-06-16 00:26:11 +00:00
ZNC-Jenkins d575543fc4 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-06-16 00:26:10 +00:00
KindOne 6903c458b1 log: Use new On...Message for events. 2025-06-15 03:22:27 -04:00
Alexey Sokolov eff347ff85 Merge branch '1.10.x' 2025-06-15 08:08:44 +01:00
KindOne a7bfc73749 Save DisableClientCap/DisableServerCap settings.
(cherry picked from commit 0c13b2392f)
2025-06-15 08:08:23 +01:00
Alexey Sokolov 954070bacf Merge pull request #1956 from RealKindOne/disablecapfix
Make ZNC save the DisableClientCap/DisableServerCap settings.
2025-06-15 08:06:01 +01:00
KindOne 0c13b2392f Save DisableClientCap/DisableServerCap settings. 2025-06-14 23:07:03 -04:00
ZNC-Jenkins 88099916a2 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-06-10 00:26:29 +00:00
Alexey Sokolov 7e5a26739b Merge branch '1.10.x' 2025-06-09 22:29:32 +01:00
Alexey Sokolov 543e12cb6a Docker for git version: update alpine to 3.22 2025-06-09 22:29:04 +01:00
Alexey Sokolov 7dc24e79fd Update crowdin config for 1.10.x branch 2025-06-09 22:03:55 +01:00
Alexey Sokolov cb0a5e4018 Update version to 1.11 in master branch 2025-06-09 22:03:14 +01:00
Alexey Sokolov 5e3fecbcf1 Update future version to 1.10.1 in the 1.10.x branch 2025-06-09 22:01:20 +01:00
Alexey Sokolov 075cd3897f Increase the version number to 1.10.0 znc-1.10.0 2025-06-09 21:41:36 +01:00
Alexey Sokolov b32d3dbbc9 Fix test on cygwin
Depending on timing between client and server, the initial JOIN can come in either order - in one case forwarding directly from client, in another joining the channels after client disconnected.
2025-06-09 20:20:50 +01:00
Alexey Sokolov d1f26593b3 ZNC 1.10.0-rc1 znc-1.10.0-rc1 2025-05-28 21:15:08 +01:00
Alexey Sokolov e10c874abe ZNC 1.10.0-beta1 2025-05-18 20:30:17 +01:00
Alexey Sokolov 23efef6a5c update csocket
fix #1951
2025-05-17 21:27:57 +01:00
Alexey Sokolov 9a61e6058e Drop old travis config
It hasn't been used for ages
2025-05-17 10:14:14 +01:00
ZNC-Jenkins 0abfd1361c 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-12 00:26:03 +00:00
Alexey Sokolov 7108a862fa ZNC 1.10.0-alpha2 2025-05-11 21:28:21 +01:00
Alexey Sokolov 694f50c9c0 Make CTCP flood timer use monotonic time
Probably should use std::chrono types instead of int, but that'll be a later change
2025-05-11 21:24:08 +01:00
Alexey Sokolov 4f65f86ccd Warn user if flood protection is delaying the messages for too long
This should help with cases like #1943
2025-05-11 21:06:21 +01:00
Alexey Sokolov cfd8d3f88d Make PING skip the flood queue just like PONG does
It's unlikely server has nothing to send at all for all the other messages ZNC is sending and that there's nothing happening server-side too. But PING at least is guaranteed to give the response, so ZNC shouldn't disconnect too eagerly
2025-05-11 19:36:53 +01:00
Alexey Sokolov aaeab22ea3 Fix processing of multi-token CAP ACK
I broke it in 5943bc9ed9 while fixing #1950
2025-05-11 18:49:35 +01:00