Commit Graph

2099 Commits

Author SHA1 Message Date
Alexey Sokolov 4cbccac707 Merge branch 'master' into cap302 2023-11-19 10:53:47 +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
ZNC-Jenkins cd275d23dd Update translations from Crowdin for id_ID 2023-10-04 00:33:59 +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 afe94158a7 Try to simplify building modules 2023-09-30 11:59:53 +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 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
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 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
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 0772dd5718 Update translations from Crowdin for de_DE 2023-02-28 00:30:31 +00:00
ZNC-Jenkins 454693147d Update translations from Crowdin for pt_PT 2023-01-19 00:30:01 +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
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
ZNC-Jenkins 3c11353cbc 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-11-25 00:31:37 +00:00
Alexey Sokolov da31468309 Update message in clientnotify to tell what ID is that
See #1843
2022-11-24 20:02:51 +00:00
Christian Heusel 5eb2be278d formatting commit
clang-format --style=file -i test/ModulesTest.cpp
2022-11-17 18:35:34 +01:00
Christian Heusel 876b3d4151 split up the option into two separate ones 2022-11-17 18:30:16 +01:00
Christian Heusel 1e90b8a185 re-add the ip to the user message 2022-11-17 18:11:36 +01:00
Christian Heusel 5fb8891da4 implement the new notification logic
related to https://github.com/znc/znc/issues/1840
2022-11-07 23:19:17 +01:00
Alexey Sokolov fecdd98958 Add support SWIG 4.1.0, drop support for < 4.0.1
https://bugs.gentoo.org/878587
2022-11-05 13:02:12 +00:00
ZNC-Jenkins 78216c4c01 Update translations from Crowdin for pl_PL 2022-07-06 00:29:07 +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 e0c05ddb63 Rename cmd/desc to command/description
Ref #1832
2022-07-04 23:16:22 +01:00
Ernestas Kulik 94f1c32729 modules: modpython: Implement Module.AddCommand()
Currently, there is no usable wrapper for CModCommand for use within
bindings, so this commit adds a proxy class that adds itself as a
callback and allows implementing Python classes to implement commands
via __call__().

A completely synthetic example:

import znc

class foo(znc.Module):
    module_types = [znc.CModInfo.UserModule]

    def OnLoad(self, args, message):
        self.AddHelpCommand()
        self.AddCommand(FooCmd)

        return True

class FooCmd(znc.Command):
    cmd = 'foo'
    args = foo.t_d('bar')
    desc = foo.t_d('baz')

    def __call__(self, line):
        self.GetModule().PutModule('I have been foo’d!')

Fixes https://github.com/znc/znc/issues/198
2022-07-04 07:28:24 +03:00
ZNC-Jenkins fab1bb1bd5 Update translations from Crowdin for de_DE 2022-03-20 00:30:35 +00:00
ZNC-Jenkins fa1d145a9b Update translations from Crowdin for id_ID 2022-03-19 00:31:41 +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
Charlie Li 7c8ac8981a DH_set0_pqg and DH_get0_key have existed since LibreSSL 2.7
https://github.com/libressl-portable/openbsd/commit/848e2a019c796b685fc8c5848283b86e48fbe0bf
https://github.com/libressl-portable/openbsd/commit/3789e379353c1d53313a249461b3d735de4ac742
2022-03-14 18:32:46 -04:00
Chris Tyrrel 34aece328e Allow spaces when adding new pattern 2022-01-23 10:11:25 -07: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
Alexey Sokolov 6f28db4a5e Don't crash when receiving SASL lines from server without having negotiated SASL via CAP
Reported by Noisytoot on Pissnet, thanks
2021-11-28 16:27:44 +00:00
Alexey Sokolov 465cb66b9e Fix order of breadcrumbs in network page in webadmin 2021-11-28 01:48:17 +00:00
Alexey Sokolov 7ab8446dcf Merge pull request #1814 from blendbyte/new-deny-options
New User Options: DenySetIdent, DenySetNetwork, DenySetRealName, DenySetQuitMsg, DenySetCTCPReplies

Close #1796
2021-11-27 14:18:39 +00:00
Alexey Sokolov 812dab3242 Merge branch 'master' of github.com:znc/znc 2021-11-14 00:45:36 +00:00
Alexey Sokolov dcb5f3df82 Fix build with libressl
It got another feature of openssl implemented, which broke this
2021-11-14 00:45:01 +00:00
Daniel 675024b5e5 wip 2021-10-23 18:48:01 +08:00
Daniel 50b43d1733 Merge branch 'master' into new-deny-options 2021-10-22 16:59:30 +08:00