Commit Graph

1122 Commits

Author SHA1 Message Date
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
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 9de3f908b9 Build cctz as part of znclib when not found
Because on cygwin otherwise it would be a separate dll
2023-01-07 22:04:43 +00:00
Alexey Sokolov f9693e47a6 Split dependencies of znclib target 2023-01-07 21:45:39 +00:00
Alexey Sokolov 64359328cf Use std::chrono and cctz instead of messing with TZ 2023-01-07 21:18:20 +00:00
Alexey Sokolov 963a00a371 Merge commit 'refs/pull/1853/head' of github.com:znc/znc 2023-01-07 20:41:48 +00:00
Alexey Sokolov c5befe3dc4 Use steady clock for cache map 2023-01-07 18:10:50 +00:00
ZNC-Jenkins 35d8452f99 Update translations from Crowdin for da_DK 2023-01-07 13:48:46 +00:00
Falk Rund f9fd05c307 Welcome to 2023 2023-01-01 06:49:00 +01:00
John Marrett 2a6a1d70ff Add ParseServerTime TZ fix and tests 2022-12-29 07:53:39 -05:00
ZNC-Jenkins 6601b9330a Update translations from Crowdin for ro_RO 2022-10-30 00:30:42 +00:00
ZNC-Jenkins 92a0a9b200 Update translations from Crowdin for bg_BG de_DE el_GR es_ES fr_FR id_ID it_IT nl_NL pl_PL pt_BR pt_PT ru_RU 2022-10-29 00:31:42 +00:00
Alexey Sokolov c55237be0b Make CUser::Put* send to all clients
Instead of only networkless clients, which is a very rare case, because
most clients are connected to some network. This resulted in
CModule::PutModule to sometimes have no effect.

I fixed CUser::PutStatus and PutStatusNotice back in 2011 in
0b6d609014, but missed these 3 functions.

Deprecate CUser::PutAllUser() which is now essentially alias to
CUser::PutUser().
2022-10-28 23:18:43 +01:00
ZNC-Jenkins 32d4a4d580 Update translations from Crowdin for bg_BG de_DE el_GR es_ES fr_FR id_ID it_IT nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU 2022-08-08 00:31:25 +00:00
Uli Schlachter 3e45b2f35f Fix an ODR violation
Building with CFLAGS="-flto -Werror=odr -Werror=lto-type-mismatch
-Werror=strict-aliasing" CXXFLAGS="-flto -Werror=odr
-Werror=lto-type-mismatch -Werror=strict-aliasing" LDFLAGS=-flto fails
due to a violation of the one definition rule. There are two different
definitions of TOption that are both linked into the znc binary.

Fix this by putting them into anonymous namespaces.

Fixes: https://github.com/znc/znc/issues/1834
Signed-off-by: Uli Schlachter <psychon@znc.in>
2022-08-05 16:12:40 +02:00
ZNC-Jenkins 82669e99b3 Update translations from Crowdin for pl_PL 2022-07-10 00:30:43 +00:00
Alexey Sokolov d902aa7129 Merge pull request #1833 from DarthGandalf/pycmd
Rename cmd/desc to command/description
2022-07-05 21:38:29 +01:00
ZNC-Jenkins 2bd3fb1729 Update translations from Crowdin for bg_BG de_DE el_GR es_ES fr_FR id_ID it_IT nl_NL pt_BR pt_PT ro_RO ru_RU 2022-07-05 00:30:02 +00:00
Alexey Sokolov 9c855b5c01 Test module translation of commands 2022-07-05 00:24:38 +01:00
ZNC-Jenkins fab1bb1bd5 Update translations from Crowdin for de_DE 2022-03-20 00:30:35 +00:00
ZNC-Jenkins 23ff8e3c2b Update translations from Crowdin for bg_BG de_DE el_GR es_ES fr_FR id_ID it_IT nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU 2022-03-18 14:37:09 +00:00
Falk Rund 6402d241ac Welcome to 2022
The same procedure as last year, Miss Sophie?
Same procedure as every year, James.
2022-01-01 14:05:32 +01:00
Daniel 50b43d1733 Merge branch 'master' into new-deny-options 2021-10-22 16:59:30 +08:00
ZNC-Jenkins ac57c0e524 Update translations from Crowdin for it_IT 2021-10-08 00:29:50 +00:00
ZNC-Jenkins 22505e3715 Update translations from Crowdin for pt_PT 2021-10-07 00:30:18 +00:00
ZNC-Jenkins 4b1854eadf Update translations from Crowdin for it_IT pt_PT 2021-10-05 00:32:29 +00:00
ZNC-Jenkins b3db313904 Update translations from Crowdin for pt_PT 2021-09-30 00:30:25 +00:00
ZNC-Jenkins de6c22af61 Update translations from Crowdin for pt_PT 2021-09-29 00:30:42 +00:00
ZNC-Jenkins 6e682d9f70 Update translations from Crowdin for pt_PT 2021-09-28 00:29:12 +00:00
ZNC-Jenkins 2f62a3090f Update translations from Crowdin for pt_PT 2021-09-27 00:30:53 +00:00
ZNC-Jenkins 3ebef60575 Update translations from Crowdin for id_ID 2021-09-20 00:29:59 +00:00
ZNC-Jenkins 9cd3605516 Update translations from Crowdin for pt_BR 2021-07-21 00:29:39 +00:00
Bradley Shaw fe475e1ef0 Add more deny options
DenySetIdent - Denies setting ident

DenySetNetwork - Denies adding/removing networks/servers

DenySetRealName - Denies setting realname

DenySetQuitMsg - Denies setting quitmsg

DenySetCTCPReplies - Denies adding/removing CTCP replies
2021-07-03 17:16:42 +01:00
ZNC-Jenkins 96ab99bb51 Update translations from Crowdin for bg_BG 2021-06-07 00:29:40 +00:00
Alexey Sokolov e7b6a771c6 Hide password in PASS debug lines without : in trailing param 2021-06-01 21:58:07 +01:00
Alexey Sokolov 15e2351d40 Switch --makeconf wizard from freenode to libera 2021-05-26 10:10:20 +01:00
Alexey Sokolov fab835bef5 Merge pull request #1783 from satyanash/master
fix foreground message to not imply that debug mode is on
2021-05-24 02:00:20 +01:00
Alexey Sokolov fd71a69fab Rewrite message parsing using string_view
It's a bit too early yet to require C++17 so the implementation from
BackportCpp (string_view-standalone) is used instead.

Fixes https://crbug.com/oss-fuzz/34413 - slow message parsing on huge
messages. In real word, messages can't be that big, because CSocket
enforces a line length limit.

This can be considered a regression of 1.7.0, because before it, instead
of gathering params into a vector, code was searching 1st word in the
string, then 2nd word, then 3rd word, starting from beginning each time.
It was not very efficient, but the number of passes over the string was
limited.
2021-05-22 09:57:04 +01:00
ZNC-Jenkins 8296426c33 Update translations from Crowdin for fr_FR 2021-04-04 00:29:29 +00:00
satyanash 57c94b8be9 change message when staying in foreground 2021-03-29 21:30:10 +05:30
ZNC-Jenkins f2cdc3dbd4 Update translations from Crowdin for ro_RO 2021-02-25 00:29:35 +00:00
ZNC-Jenkins ff434423a1 Update translations from Crowdin for ro_RO 2021-02-15 00:29:04 +00:00
ZNC-Jenkins 4cc377639a Update translations from Crowdin for ro_RO 2021-02-13 00:29:23 +00:00
ZNC-Jenkins 60ea1551f1 Update translations from Crowdin for nl_NL 2021-02-06 00:29:00 +00:00