Commit Graph

5499 Commits

Author SHA1 Message Date
John Losito 187b2ce2b7 Check for github action updates monthly 2022-12-16 18:27:29 -05:00
Alexey Sokolov 51c77e6522 Merge pull request #1846 from pwntester/pwntester/add-codeql-workflow
Add CodeQL workflow
2022-12-02 23:51:00 +00:00
Alexey Sokolov 363aa8cc38 Merge branch 'master' of github.com:znc/znc 2022-12-02 23:24:22 +00:00
Alexey Sokolov 1016c44c2c CI: stop testing on 32bit cygwin 2022-12-02 23:24:04 +00:00
Alvaro Muñoz 1e4554244e Add CodeQL workflow 2022-12-02 12:45:52 +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 c98d0246fd Fuzzer: add comment
See #1845
2022-11-24 20:59:00 +00:00
Alexey Sokolov 89235f599c Merge branch 'master' of github.com:znc/znc 2022-11-24 20:57:33 +00:00
Alexey Sokolov 1bbcff081a docker: update alpine to 3.17 2022-11-24 20:31:12 +00:00
Alexey Sokolov d3b117c6de Merge pull request #1845 from DavidKorczynski/cifuzz-int
CI: add CIFuzz GitHub action
2022-11-24 20:23:44 +00:00
Alexey Sokolov 311876da40 Merge branch 'notify' 2022-11-24 20:03:06 +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
David Korczynski 2fd304fe2a CI: add CIFuzz GitHub action 2022-11-23 08:15:05 -08:00
ZNC-Jenkins f32691303e Update translations from Crowdin for 2022-11-20 00:30:11 +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
Christian Heusel bcf6e2fba6 add test for the "clientnotify" module 2022-11-07 23:19:17 +01:00
Christian Heusel 8562f61304 allow identifiers in the test setup 2022-11-07 23:19:16 +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 6601b9330a Update translations from Crowdin for ro_RO 2022-10-30 00:30:42 +00:00
Alexey Sokolov 08ca309f63 CI: Update usage of rebaseall on cygwin 2022-10-29 16:24:43 +01: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
Alexey Sokolov 47267ccfb5 Merge pull request #1835 from psychon/fix-odr-violation
Fix an ODR violation
2022-08-07 14:20:40 +01: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
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 9c855b5c01 Test module translation of commands 2022-07-05 00:24:38 +01:00
Alexey Sokolov e0c05ddb63 Rename cmd/desc to command/description
Ref #1832
2022-07-04 23:16:22 +01:00
Alexey Sokolov bcfe530fda Merge pull request #1832 from ernestask/wip/ernestask/python-add-command
modules: modpython: Implement Module.AddCommand()
2022-07-04 09:12:55 +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
Alexey Sokolov ed49d6c0de CI: update crowdin contributors file in utf-8 2022-03-18 14:15:58 +00:00
Alexey Sokolov b5620c2622 Merge pull request #1828 from vishwin/master
DH_set0_pqg and DH_get0_key have existed since LibreSSL 2.7
2022-03-14 23:39:37 +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
Alexey Sokolov 9be0cae121 Merge pull request #1822 from ChrisTyrrel/watch-spaces
Watch module: Allow new entries to use spaces
2022-01-23 20:37:03 +00:00
Chris Tyrrel c87192fb05 Add test for watch with spaces 2022-01-23 10:52:01 -07:00
Chris Tyrrel 34aece328e Allow spaces when adding new pattern 2022-01-23 10:11:25 -07:00
Alexey Sokolov 81df4dec56 Merge pull request #1819 from Un1matr1x/master
Welcome to 2022
2022-01-01 13:09:49 +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
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