Commit Graph

4907 Commits

Author SHA1 Message Date
Alexey Sokolov a7bfbd9381 Don't let attackers inject rogue values into znc.conf
Because of this vulnerability, existing ZNC users could get Admin
permissions.

Thanks for Jeriko One <jeriko.one@gmx.us> for finding and reporting this.
2018-07-14 07:05:57 +01:00
ZNC-Jenkins 2058aa0fa6 Update translations from Crowdin for es_ES 2018-07-02 00:25:44 +00:00
Alexey Sokolov efd301de4b Merge branch '1.7.x' of github.com:znc/znc into 1.7.x 2018-06-28 23:59:22 +01:00
Alexey Sokolov abee9f9bfc Fix a warning in integration test / gmake / znc-buildmod interaction.
It was requested on https://github.com/gentoo/gentoo/pull/8901
2018-06-28 23:57:29 +01:00
ZNC-Jenkins 08fe2ae2f7 Update translations from Crowdin for de_DE 2018-06-24 00:26:41 +00:00
Alexey Sokolov ff8b629884 Don't throw from destructor in the integration test 2018-06-20 01:28:46 +01:00
ZNC-Jenkins 87fe01d3aa Update translations from Crowdin for ru_RU 2018-06-19 21:24:58 +00:00
ZNC-Jenkins 3b6980cb85 Update translations from Crowdin for de_DE es_ES id_ID nl_NL pt_BR ru_RU 2018-06-19 21:04:33 +00:00
Alexey Sokolov 1b894982af Merge pull request #1572 from csprr/patch-2
Create nl_NL
2018-06-19 19:50:42 +01:00
Alexey Sokolov 6d1e77bb52 Revert "transperancy: Make the user aware that DEBUG mode is enabled."
This reverts commit ab501767a1.

Superceded by admindebug module
2018-06-18 00:41:18 +01:00
Jos Ahrens e64b331342 Add module that dynamically enables/disables debug mode
Close #1547
Close #1556
References #1370
References #1446
2018-06-18 00:38:42 +01:00
Alexey Sokolov e6df9f7f4a Merge pull request #1561 from znc-jenkins/l10n_1.7.x
Update translations in 1.7.x
2018-06-16 10:14:09 +01:00
ZNC-Jenkins cc3f8499a7 Update translations from Crowdin 2018-06-16 00:25:59 +00:00
ZNC-Jenkins bot 38a007d5c5 Update translations from Crowdin (#1551) 2018-06-15 19:34:12 +01:00
Casper d3d87dd018 Create nl_NL 2018-06-15 09:22:05 +02:00
Casper c74f41d67d Change GetParamsColon(1) to (0) in adminlog, as (1) does not show the error message, it will show an empty [] in the adminlog
Close #1557
2018-06-14 22:25:41 +01:00
Baruch Siach e567f4cb73 Fix build without SSL support
The <memory> headers is needed for unique_ptr even when SSL is not
enabled. This fixes the following build failure:

src/Utils.cpp: In static member function 'static bool CUtils::CheckCIDR(const CString&, const CString&)':
src/Utils.cpp:674:5: error: 'unique_ptr' is not a member of 'std'
     std::unique_ptr<addrinfo, decltype(deleter)> aiHost(aiHostC, deleter);
     ^

Close #1554
2018-06-10 21:09:07 +01:00
ZNC-Jenkins bot 633e695aba Update translations from Crowdin (#1544) 2018-06-04 22:38:33 +01:00
Alexey Sokolov d15e619483 Merge branch '1.7.x' of github.com:znc/znc into 1.7.x 2018-06-04 22:30:24 +01:00
Alexey Sokolov 664105eabd Fix #1548: fix description of flooddetach commands.
Ref #1549
2018-06-04 22:27:39 +01:00
Alexey Sokolov 4b92790562 Fix #1543 for modperl too
While at it, fix a memory leak in NV handling

Add some tests
2018-06-04 22:03:10 +01:00
Baguz Ach 065f19c5bd added Bahasa Indonesia (#1550) 2018-06-04 10:46:14 +01:00
Alexey Sokolov 8eebdf750d Slightly cleaner way to fix #1543 2018-06-02 10:45:03 +01:00
Alexey Sokolov 94c5707f2e Old clang doesn't understand 2-arg deprecation 2018-06-02 01:52:11 +01:00
Alexey Sokolov 11fb428878 Fix VCString return values in modpython
The list of functions which returned list of unknown objects instead of
list of strings:
* CMessage::GetParams()
* CZNC::GetMotd()
* CZNC::GetTrustedProxies()
* CZNC::GetBindHosts()
2018-06-02 01:02:40 +01:00
Alexey Sokolov e531fe870a Replace the deprecated overload of CMessage::GetParam 2018-06-01 22:22:44 +01:00
Alexey Sokolov 5b7daac2f0 Rename one of overloads of CMessage::GetParams to GetParamsColon 2018-06-01 22:22:44 +01:00
ZNC-Jenkins bot 309eafa6f7 Update translations from Crowdin (#1540) 2018-05-31 08:40:31 +01:00
Alexey Sokolov 0cbe9d783d Fix error message about wrong module type.
Regression from 1.6
2018-05-28 21:21:29 +01:00
Alexey Sokolov 255fc53cad Fix double "id" attribute of <textarea> in CTCP replies editor.
That prevented the javascript version of the editor to work correctly.

Thanks to luk3yx for the report.
2018-05-27 01:02:14 +01:00
Alexey Sokolov d71331259a Fix #1536
Don't assume machine which built ZNC has the same compiler as where
znc-buildmod runs.

The old code was needed before 3b3a0ac291
2018-05-22 21:55:50 +01:00
ZNC-Jenkins bot ddb1564aa8 Update translations from Crowdin (#1534) 2018-05-14 22:33:49 +02:00
Alexey Sokolov 9d70f94aee Fix typo in previous commit 2018-05-13 14:40:49 +01:00
Alexey Sokolov a0088b0b6a Fix "git-unknown" in --version of unstable docker image 2018-05-13 00:03:22 +01:00
Alexey Sokolov 540d94afe6 Improve error message about boost/gettext 2018-05-12 23:09:18 +01:00
Alexey Sokolov 44ab46268d Remove several not needed builds from Travis and add macOS 10.13 2018-05-11 20:15:28 +01:00
Alexey Sokolov 6e0f672561 Update docker submodule to make this directory less confusing 2018-05-11 20:07:53 +01:00
Alexey Sokolov 88e295402d Remove leftover from testing from previous commit 2018-05-11 09:10:19 +01:00
Alexey Sokolov 30cf413553 Build Docker image from git on Travis
Push to https://hub.docker.com/r/zncbouncer/znc-git/

https://github.com/znc/znc-docker/issues/8
2018-05-11 09:04:15 +01:00
ZNC-Jenkins bot f334ff1c12 Update translations from Crowdin (#1529) 2018-05-09 08:41:16 +01:00
ZNC-Jenkins c5e7ec2aa1 Update translations from Crowdin and remove old .po files without full locale name 2018-05-08 21:52:38 +01:00
Alexey Sokolov 28e68dfe16 Make error message more informative when github tarball is downloaded, which doesn't include csocket.
See #1521
2018-05-08 00:19:13 +01:00
Alexey Sokolov f44800680c crowdin: gettext wants _ in locale name 2018-05-07 16:27:21 +01:00
Alexey Sokolov 6f5e39b166 Fix language selector. It didn't work. 2018-05-07 16:14:16 +01:00
Alexey Sokolov cd8b6ac9df crowdin: don't drop Brazilian part of pt-BR 2018-05-07 09:06:59 +01:00
Alexey Sokolov 80b96f3d46 Fix redirecting message
Thanks rockytvbr
2018-05-06 22:05:12 +01:00
D bf95069a75 Added es-ES translation file
Make Spanish selectable in the list of languages.

Close #1527
2018-05-06 09:45:54 +01:00
ZNC-Jenkins bot bbc5cfe76d Update translations from Crowdin (#1522) 2018-05-06 00:23:36 +01:00
Alexey Sokolov 59cf8aabda Make version 1.7.x again for 1.7.x branch 2018-05-05 20:49:12 +01:00
Alexey Sokolov fa06d08c4d Make German selectable in the list of languages.
Some strings were translated already, but this file was forgotten.
2018-05-05 16:02:27 +01:00