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
Alexey Sokolov
b894808163
Translateable controlpanel, #1354
2017-08-27 11:24:11 +01:00
Alexey Sokolov
4917fcbda6
More translateable strings, ref #1354
2017-08-26 23:00:54 +01:00
Alexey Sokolov
a719ea36aa
Make disconkick a module again.
...
While not kicking upon disconnect can cause desync with client and other
issues, there were multiple complains about the new behavior, and the
user should have the choice.
Revert 2f65dbbc64
Ref #968
2017-08-26 22:18:53 +01:00
Alexey Sokolov
bb27cd964c
More translateable strings, ref #1354
2017-08-26 22:16:36 +01:00
Alexey Sokolov
f885699d1a
Make list of languages installed discoverable at runtime.
...
Stop hardcoding Russian in webadmin.
Limit the setting in controlpanel to the known languages, because
untrusted language code might lead to some interesting vulnerabilities.
2017-08-19 18:09:12 +01:00
Alexey Sokolov
328461faf1
Use IETF language tags for configuring language
2017-08-07 23:04:21 +01:00
Jos Ahrens
5a89869312
Clearer ControlPanel/{Add,Del}Server syntax usage help ( #1428 )
2017-07-18 21:16:16 +01:00
Alexey Sokolov
a0dc02fc17
Make bouncedcc translatable, update pots
...
See #1354
2017-06-30 10:13:09 +01:00
Alexey Sokolov
9edb2df761
Make blockuser and block_motd translateable.
...
See #1354
2017-06-29 15:54:43 +01:00
Alexey Sokolov
1cbe1b873c
Travis: Also count code coverage of modperl
2017-06-22 23:16:48 +01:00
Alexey Sokolov
fd39832a0a
Modperl: ZNC::Core::Init is not used anymore for a long time.
...
The code which calls it didn't check for errors.
2017-06-22 23:16:48 +01:00
Alexey Sokolov
dd63271c27
Modperl: Honor PERL5LIB env var
2017-06-22 23:16:48 +01:00
Alexey Sokolov
34717f1092
Provide default defaults in webadmin for new users.
...
Instead of repeating some of them and missing other.
Fix #1418
2017-06-20 22:47:42 +01:00
Rubin
96c92ef8ca
Change default flood rates to match RFC1459, prevent excess flood problems
...
I noticed that the default network flood rates are wrong (for most
networks). It has been very standard since the beginning of IRC to use a
value of 2 seconds per line, with a 10 line head start. Almost all
networks work this way, and if you don't follow, having a lot of
channels or a lot of clients connected to ZNC results in excess flood
disconnections and much frustration for the user.
I think you should make the default value for these 2 and 9 instead of 1
and 4 so that this nasty bug doesn't hit people who will not know how to
debug it. You find these same types of settings built into every IRC
client. 2 and 10 is the standard. 2 and 9 provides a slight buffer so
there is no mistake.
Thanks
-Rubin
Close #1416
2017-06-01 08:22:21 +01:00
Alexey Sokolov
10bfece38c
Switch znc.in URLs to https
2017-05-30 22:32:01 +01:00
Alexey Sokolov
ef5ace9b86
Travis: Also count code coverage of modpython
2017-05-28 08:52:37 +01:00
Alexey Sokolov
fa79f69be9
CMake: use pkg-config to find python.
...
Makes it easier to override its path.
2017-05-28 01:27:14 +01:00
Alexey Sokolov
f9f9dec1ad
Merge branch 'master' of github.com:znc/znc
2017-04-30 15:02:10 +01:00
Alexey Sokolov
18da03b66a
Fix clean cmake build again
...
8b48465df4 did it wrong
2017-04-30 15:01:45 +01:00
Kyle Fuller
dbc8d4f714
Merge pull request #1399 from kylef/kylef/missingmotd
...
missingmotd: Include nick in IRC numeric command
2017-04-28 17:01:18 +01:00
Alexey Sokolov
8b48465df4
Fix clean cmake build
2017-04-25 21:11:48 +01:00
Eli Young
d32ac7c184
Log user quit messages
...
Since OnIRCDisconnected() doesn't include the quit message, and OnQuit()
isn't called when the user quits, we need to hook OnSendToIRCMessage().
2017-04-21 17:45:16 -07:00
Eli Young
823ac07240
Add OnSendToIRCMessage and OnSendToClientMessage
...
This also alters PutClient such that the CMessage variant handles
sending messages, rather than the CString variant. As a side bonus, this
gives callers better information on whether the message was sent to the
client. Additionally, it eliminates the need for a hook to let modules
set the tags sent to a client, as that can now be done inside
OnSendToClientMessage.
2017-04-18 15:43:16 -07:00