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
Alexey Sokolov
c15fc63c55
Implement cap negotiation 3.2 on server side
...
Used for "server-dependent" caps which already rely on sending NEW and
DEL to client. This functionality is not yet available for caps added by
modules.
2023-01-09 01:08:04 +00:00
Alexey Sokolov
d49168b93f
Make it possible for modules to send values in CAP LS
2023-01-08 15:46:21 +00:00
Alexey Sokolov
b57d794aaf
Send multiline CAP LS response for IRCv3.2 clients
2023-01-08 15:32:27 +00: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