Commit Graph

5594 Commits

Author SHA1 Message Date
Alexey Sokolov 66137bd89a Progress 2024-01-05 00:45:41 +00:00
Alexey Sokolov 4cbccac707 Merge branch 'master' into cap302 2023-11-19 10:53:47 +00:00
Alexey Sokolov 52a9752ed0 Add comments to header 2023-11-19 10:52:14 +00:00
Alexey Sokolov a2ac243121 Force argon support in CI 2023-11-19 09:29:36 +00:00
Alexey Sokolov c77b50dad3 Merge pull request #1887 from DarthGandalf/cxx17
C++17
2023-11-19 09:07:29 +00:00
Alexey Sokolov 0a355636b2 Cleanup ZNC_LVREFQUAL 2023-11-18 15:07:46 +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 9835f76939 Use std::variant to save a bit of RAM 2023-11-18 13:39:18 +00:00
Alexey Sokolov ba0351e426 Use std::string_view instead of backported one 2023-11-18 11:20:22 +00:00
Alexey Sokolov 53f0751fd5 Use C++17 2023-11-18 11:16:41 +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
Alexey Sokolov bf5805d9a9 Update docker alpine to 3.18
To prepare for https://github.com/znc/znc-docker/pull/32
2023-10-10 20:30:01 +01:00
ZNC-Jenkins cd275d23dd Update translations from Crowdin for id_ID 2023-10-04 00:33:59 +00:00
ZNC-Jenkins aa6fa65c03 Update translations from Crowdin for 2023-10-01 00:33:48 +00:00
Alexey Sokolov ce04d4c6d4 Add a comment 2023-09-30 21:39:13 +01: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 72d1544dc2 Use llvm-cov in macos CI 2023-09-30 14:13:33 +01:00
Alexey Sokolov afe94158a7 Try to simplify building modules 2023-09-30 11:59:53 +01:00
Alexey Sokolov 66faa38f67 Maybe fix znc-buildmod on macos 2023-09-30 11:33:29 +01:00
Alexey Sokolov 40875f1dbd Use use_homebrew in znc-buildmod 2023-09-30 10:56:26 +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 5f2f3b2934 Apple libsasl2 is still missing the .pc file 2023-09-30 09:33:10 +01:00
Alexey Sokolov 31e883f4a6 Re-enable macos CI 2023-09-30 03:14:19 +01:00
Alexey Sokolov 901c318028 Maybe fix macos build again 2023-09-30 03:11:30 +01:00
Alexey Sokolov 05416485c7 Merge branch 'imported' into applecctz 2023-09-30 02:24:55 +01:00
Alexey Sokolov 1987eb37ae Add necessary find_dependency() to ZNCConfig.cmake 2023-09-30 00:14:23 +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 a69e6b8566 Maybe fix build on macos 2023-09-28 22:36:48 +01:00
Alexey Sokolov 59fb1c275e Merge pull request #1881 from glguy/rpl_whoistext
route_replies: add 337 to whois
2023-09-28 22:28:59 +01:00
Alexey Sokolov 4228754ffb Use imported targets in cmake more consistently 2023-09-28 22:11:48 +01:00
Eric Mertens 8c00ddb330 Update route_replies.cpp 2023-09-28 13:02:13 -07:00
Eric Mertens b5edca59eb route_replies: add 337 to whois
solanum uses 337 to report when a user's idle time is hidden by umode +I. libera.chat has enabled this mode making the replies available to users today.
2023-09-28 11:43:01 -07: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 77320b22ca Merge pull request #1879 from DarthGandalf/argon
Update password hashes from SHA-256 to Argon2id
2023-09-27 09:25:53 +01: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
Alexey Sokolov 3779a9ba5b Merge pull request #1874 from RealKindOne/master
Use module names as the module ident.
2023-09-10 22:17:07 +01: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 41032f8955 Merge pull request #1870 from pajamian/log_account
Add account to joins for the log module.
2023-08-13 11:31:46 +01:00
Peter Ajamian 1240ddc693 Add TODO entry to move account logic to a separate method. 2023-08-13 22:29:48 +12:00
Peter Ajamian 0a0ce543fa sAccount for consistency
All CString variables should start with the letter s.
2023-08-12 21:55:09 +12:00
Peter Ajamian 47b815ae5b Add account to joins for the log module.
This commit adds the account name for identified users to "Joins" lines in logs
generated by the log module.  It can get the account name from either the
account tag (if the account-tag capability is requested) or the extended-join
info (if the extended-join capability is requested).  The current version of ZNC
requests both, but this feature will still work if the IRC server only supports
one or the other.
2023-08-09 19:13:54 +12:00
ZNC-Jenkins 750eac085c Update translations from Crowdin for 2023-03-20 00:29:45 +00: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