Commit Graph

1796 Commits

Author SHA1 Message Date
ZNC-Jenkins 08fe2ae2f7 Update translations from Crowdin for de_DE 2018-06-24 00:26:41 +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
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
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 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
ZNC-Jenkins bot 633e695aba Update translations from Crowdin (#1544) 2018-06-04 22:38:33 +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
Alexey Sokolov 8eebdf750d Slightly cleaner way to fix #1543 2018-06-02 10:45:03 +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
ZNC-Jenkins bot 309eafa6f7 Update translations from Crowdin (#1540) 2018-05-31 08:40:31 +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
ZNC-Jenkins bot ddb1564aa8 Update translations from Crowdin (#1534) 2018-05-14 22:33:49 +02: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
ZNC-Jenkins bot bbc5cfe76d Update translations from Crowdin (#1522) 2018-05-06 00:23:36 +01:00
ZNC-Jenkins bot 19a53c0994 Update translations from Crowdin (#1509) 2018-04-13 08:27:28 +01:00
ZNC-Jenkins bot b9743d8320 Update translations from Crowdin (#1502) 2018-04-04 01:40:11 +01:00
Alexey Sokolov 6eaa93f8da Fix python sockets after latest changes.
The issue was triggered by CCoreTranslationMixin being parent of
CZNCSock, and DisableReadLine wasn't found as attribute anymore.

Thanks to obiw4n for report.
2018-03-27 22:26:05 +01:00
ZNC-Jenkins bot 9791d2c18e Update translations from Crowdin (#1493) 2018-03-12 08:10:14 +00:00
Alexey Sokolov 908fa96b3f Modernize several modules to use CMessage 2018-03-11 17:26:30 +00:00
Alexey Sokolov 48df7c7fe2 Switch some modules to newer API 2018-02-18 22:04:02 +00:00
Alexey Sokolov 5a09a81c35 Fix interaction between crypt and echo-message.
Close #1481
2018-02-11 14:17:51 +00:00
Alexey Sokolov a2470b3dd3 Make chan modes and permissions to be char instead of unsigned char.
Deprecate old module hooks which accept mode as unsigned char.

SWIG handles unsigned char as int, but char as a string.
Before this commit, usage of HasPerm from perl modules required this:
either $chan->HasPerm(ord('@')) or $chan->HasPerm(ord($ZNC::CChan::Op)).
Now ord() is not necessary, and these calls work too:
$chan->HasPerm('@') and $chan->HasPerm($ZNC::CChan::Op).

Fix #1486
2018-02-10 15:55:55 +00:00
ZNC-Jenkins fcc710b4b8 Update translations from Crowdin 2018-01-19 19:39:46 +00:00
Falk Seidel d647eaabc0 Welcome to 2018
The same procedure as last year, Miss Sophie?
The same procedure as every year, James.

[skip ci]
2018-01-19 19:38:58 +00:00
ZNC-Jenkins d4ae311535 Update translations from Crowdin 2018-01-01 23:18:09 +00:00
Alexey Sokolov 57a1fff1af crypt: fix usage of DH_compute_key, close #1469 2018-01-01 23:13:13 +00:00
Fox Wilson 42939c998f Add "AuthOnlyViaModule" global/user setting
Setting AuthOnlyViaModule on a user causes CheckPass to never return true,
causing all authentication attempts using the configured password to fail, both
on IRC connections and for webadmin. This is useful in situations where an
external module (cyrusauth, certauth, imapauth) handles authentication. Setting
the global AuthOnlyViaModule option causes similar behavior across every
user. If AuthOnlyViaModule is set to true globally, it cannot be overridden
per-user.

Close #1474
Close #331
2017-12-22 14:23:17 +00:00
ZNC-Jenkins 58ae4517cb Update translations from Crowdin 2017-12-21 09:14:07 +00:00
Alexey Sokolov a0cbe130d9 Fix newly introduced warning in modperl 2017-12-17 22:26:46 +00:00
Alexey Sokolov 9474c3dc09 Support ValidateWebRequestCSRFCheck in perl/python. Fix #1424 2017-12-17 22:10:41 +00:00
Alexey Sokolov ddd3023d5d Refactor default return values of callbacks of perl/python modules
See #1424
2017-12-17 22:03:47 +00:00
ZNC-Jenkins 9dbe7bb859 Update translations from Crowdin 2017-12-15 01:23:44 +00:00
Alexey Sokolov 4a2c223379 Add comments for translator to .tmpl files (#1473)
They are ignored in CTemplate, because the string doesn't reference it
as {N}
2017-12-14 10:26:07 +00:00
Alexey Sokolov fd83bb3473 Merge branch 'master' of github.com:znc/znc 2017-12-13 08:30:27 +00:00
Alexey Sokolov 3b3a0ac291 Export CMake target more cleanly.
This allows external modules to use newer C++ versions than C++11.
2017-12-13 00:21:59 +00:00
Alexey Sokolov bd51ebcdca Merge pull request #1455 from CyberShadow/timeval
Add sub-second precision for timestamp formatting
2017-12-10 11:46:22 +00:00
Vladimir Panteleev 15b1f8d8fa Change format syntax to a simple custom %f/%#f scheme 2017-12-10 09:45:58 +00:00
Uli Schlachter 5c1fb61f45 controlpanel: Change "double" to "number" (#1468)
For a programmer, "double" makes sense as a data type, but for a human this is just a number.
2017-12-02 23:29:00 +00:00
culb 23c78dc318 Update crypt module: Fix for LibreSSL (#1439) 2017-12-02 23:28:02 +00:00
Uli Schlachter 6689705756 Add missing space in "hasno"
Fixes the remaining part of #1465.
2017-11-27 19:45:02 +00:00
Alexey Sokolov 70bf4ad9ba Fix wrong English text, close #1465 2017-11-26 22:12:09 +00:00
Alexey Sokolov 12b3e167ee Add header to all .pot files consistently 2017-11-26 09:54:48 +00:00
Alexey Sokolov 42a96cf375 Update .pot files 2017-11-13 23:35:36 +00:00
Alexey Sokolov 82d32429d1 schat: Require explicit path to certificate.
Don't allow using files outside of module data directory.
This is the same requirement as for log path in log module.
2017-10-30 23:01:20 +00:00
Alexey Sokolov a80074712a More translateable strings, #1354 2017-10-30 22:56:36 +00:00
Alexey Sokolov cfadadb5d3 More translateable strings, #1354 2017-10-28 10:33:31 +01:00
Vladimir Panteleev 03c4c0b165 Use and propagate microsecond-precision timestamps to FormatTime
This enables sub-second precision timestamp formatting for logs and
clients without server-time.
2017-10-26 00:00:51 +00:00