Alexey Sokolov
bb27cd964c
More translateable strings, ref #1354
2017-08-26 22:16:36 +01:00
Alexey Sokolov
be0518b933
Add a SEE ALSO section to znc(1) man page.
...
Thanks for ryan-c for the hint.
2017-08-26 21:39:39 +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
Alexey Sokolov
e5f20476b5
Fix travis linux config
2017-07-21 08:24:51 +01:00
Jos Ahrens
5a89869312
Clearer ControlPanel/{Add,Del}Server syntax usage help ( #1428 )
2017-07-18 21:16:16 +01:00
Alexey Sokolov
a2d723145d
Fix tarball builds on Travis
2017-06-30 10:28:15 +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
0ce6b7c8ba
Fix a warning
...
Reported by s7r
2017-06-26 00:28:57 +01:00
Alexey Sokolov
ae97985521
Add a comment to codecov config
2017-06-23 23:44:53 +01:00
Alexey Sokolov
c85bce9a62
Merge branch 'coverage'
2017-06-23 23:43:04 +01:00
Alexey Sokolov
289e066e67
Fix build of ZNC 1.7 branch on GCC 7.
...
Patch by bjoe2k4.
Close #1420
2017-06-22 23:20:34 +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
Alexey Sokolov
46c5b2884e
Don't send PART to client which sent QUIT
...
Reported by milky
2017-06-20 21:58:37 +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
cb4c254ba7
Fix travis deploy step
...
See #1407
2017-05-25 07:59:29 +01:00
Alexey Sokolov
7f146afcd3
Use Travis stages
...
Fix #1407
2017-05-25 00:50:25 +01:00
Alexey Sokolov
78d97e834b
Add TODO
2017-05-24 08:10:40 +01:00
Alexey Sokolov
01b2b441df
CodeCov: ignore test files in /cmake
2017-05-24 01:01:00 +01:00
Alexey Sokolov
a037a98f83
CodeCov: ignore generated modperl/modpython files
2017-05-24 01:01:00 +01:00
Alexey Sokolov
e97562eeaf
Don't wait for Jenkins and AppVeyor in CodeCov.
2017-05-24 00:36:19 +01:00
Alexey Sokolov
73899e5d3a
Refactor coverage builds in Travis.
...
Use both Gcov and LLVM-based source coverage.
Codecov supports merging results from multiple builds.
2017-05-24 00:35:58 +01:00
Fusl Dash
2e90c9ae9e
Update link to Configuration wiki page
2017-05-14 08:51:48 +01:00
Alexey Sokolov
f1c721cef2
Switch coverage to CodeCov
2017-05-12 00:39:57 +01:00
Alexey Sokolov
98a1a2ddf8
Update jenkins config
2017-05-12 00:15:50 +01:00
Alexey Sokolov
3b9f39f543
Merge pull request #1406 from elyscape/feature/custom-tags
...
Support custom message tags
2017-05-10 23:29:44 +01:00
Eli Young
6d0ec644d0
Support custom message tags
...
This provides a way for modules to register message tags and updates the
core to send tags to clients if the relevant capabilities are enabled.
2017-05-08 18:01:46 -07: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
Alexey Sokolov
c28d5adf43
Merge pull request #1395 from elyscape/feature/log-user-quits
...
Log user quit messages
2017-04-22 15:33:15 +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
Alexey Sokolov
9146ea6187
Merge pull request #1398 from elyscape/feature/onsend-message-hooks
...
Add OnSendToIRCMessage and OnSendToClientMessage
2017-04-22 01:10:38 +01: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
Alexey Sokolov
f37aa308e1
Merge pull request #1396 from elyscape/fix/on-user-quit-hook
...
Fix OnUserQuitMessage documentation
2017-04-16 10:22:41 +01:00
Kyle Fuller
0bb95c87b1
missingmotd: Include nick in IRC numeric command
...
Since the nick argument is missing, "MOTD File is missing" is taking the
nicks place and could lead to client confusion that the 422 command is
sent to "MOTD File is missing".
2017-04-14 19:29:27 +01:00
Eli Young
b46702ec3b
Fix OnUserQuitMessage documentation
2017-04-10 14:45:00 -07:00
Alexey Sokolov
57b912f645
Merge pull request #1361 from kylef/kylef/block_motd
...
Fix block_motd incorrectly tracking state on which user requested MOTD
2017-04-10 00:16:16 +01:00
Phansa
c0c6705f5d
Welcome to 2017
...
Welcome to 2017
2017-04-10 00:11:40 +01:00
Eli Young
20b635aad7
Don't try to quit multiple times ( #1392 )
...
Calls to CIRCSock::Quit() eventually result in the object's destructor
being called, which itself calls CIRCSock::Quit() again. Avoid sending
multiple quit messages to the remote server by checking if the
underlying socket is already marked for closing.
2017-04-10 00:10:00 +01:00
Kyle Fuller
1449b021a8
block_motd: Command names should be uppercase
2017-03-30 13:34:25 +02:00
Kyle Fuller
2d2672693a
block_motd: Update internal state when server has no MOTD
...
Otherwise if we request MOTD and the server doesn't have one the module
would have incorrect state.
2017-03-30 13:34:25 +02:00