Commit Graph

1783 Commits

Author SHA1 Message Date
Alexey Sokolov 22ef6de8e4 Merge pull request #1506 from Zarthus/feature/simpleaway-timezone-info-utc
simple_away: Convert to UTC time
2018-05-05 23:41:41 +01:00
Alexey Sokolov f669c42588 Merge pull request #1443 from Zarthus/fix/1421-route-replies-rizon
route_replies: rizon: [MODE] Add 403, 442 expectations
2018-05-05 22:14:17 +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
Jos Ahrens c6845b7fae simple_away: Convert to UTC time
- convert to utc time
- add tz to the away string subst
2018-04-02 11:30:52 +00:00
Jos Ahrens b35e61401e route_replies: rizon: Add 403, 442 expectations
Rizon replies with a 403 if the channel does not exist,
and with a 442 if you're not on that channel.

Resolves #1421
2018-04-01 18:10:45 +00: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
Alexey Sokolov 05a0cbf3e0 More translatable strings, #1354 2017-10-22 23:13:31 +01:00
Alexey Sokolov 615d4f6b5e Improve cyrusauth UI, make more strings translatable (#1354) 2017-10-22 00:25:13 +01:00
Alexey Sokolov e86efb08bd Fix build 2017-09-08 00:06:34 +01:00
Alexey Sokolov 7e94158c6d More strings to translate #1354 2017-09-08 00:03:27 +01:00
Alexey Sokolov d51159a330 Log: add ShowSettings command, rework Set command, #601
Make more strings translateable, #1354
2017-09-07 23:35:18 +01:00
Alexey Sokolov 408e6e9f01 More translateable strings, #1354 2017-09-06 00:01:37 +01:00
Alexey Sokolov b516d40d65 More translateable, #1354 2017-09-05 23:52:38 +01:00
Alexey Sokolov 7e9acdf085 Translateable more, #1354 2017-09-05 23:44:47 +01:00
Alexey Sokolov 3b6d4ac687 More translation, #1354 2017-09-05 23:24:37 +01:00
Alexey Sokolov c1e80b22e4 Make crypt translateable, #1354 2017-08-28 00:23:27 +01:00
Alexey Sokolov f51169652d clang-format crypt module 2017-08-28 00:06:36 +01:00
Alexey Sokolov 9358cc5f71 Merge pull request #1436 from MuffinMedic/modpython
Add CQuery(s) and CServer(s) to modpython
2017-08-27 20:06:30 +01:00
MuffinMedic 74ab8e59d3 Add CQuery(s) and CServer(s) to modpython 2017-08-27 14:27:25 -04:00