Commit Graph

2082 Commits

Author SHA1 Message Date
MrLenin
d27e2cce5c SASL Authentication for Clients 2023-08-30 17:25:32 +02: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
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
848e2a019c
3789e37935
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
ZNC-Jenkins
22505e3715 Update translations from Crowdin for pt_PT 2021-10-07 00:30:18 +00:00
ZNC-Jenkins
bc540f5d4e Update translations from Crowdin for pt_PT 2021-10-06 00:29:44 +00:00
ZNC-Jenkins
4b1854eadf Update translations from Crowdin for it_IT pt_PT 2021-10-05 00:32:29 +00:00
ZNC-Jenkins
d89d2b98a5 Update translations from Crowdin for pt_PT 2021-10-04 00:29:50 +00:00
ZNC-Jenkins
0ea655daa7 Update translations from Crowdin for pt_PT 2021-10-03 00:29:45 +00:00
ZNC-Jenkins
d45467cbbe Update translations from Crowdin for pt_PT 2021-10-02 00:29:49 +00:00
ZNC-Jenkins
66c772dcf1 Update translations from Crowdin for pt_PT 2021-10-01 00:30:23 +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
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
Casper
2a733cc938 Fixed missing paragraph closing tag 2021-06-17 12:58:02 +02:00
ZNC-Jenkins
96ab99bb51 Update translations from Crowdin for bg_BG 2021-06-07 00:29:40 +00:00
ZNC-Jenkins
a933f0a69d 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 ro_RO ru_RU 2021-05-25 00:30:49 +00:00
Kyle Fuller
9ff9fa7c64 route_replies: route TOPIC requests to client 2021-05-24 21:12:07 +01:00
ZNC-Jenkins
e0ffdddd47 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 ro_RO ru_RU 2021-04-09 00:30:38 +00:00
Alexey Sokolov
4393b9d906 Fix controlpanel output
Accidentally broken in fe8d447a60
2021-04-08 08:49:21 +01:00