Commit Graph

4724 Commits

Author SHA1 Message Date
Alexey Sokolov d73a4090c8 Fix crash caused by an unsigned overflow.
Thanks to Joseph Bisch for discovery.
This was an artifact of converting ZNC to use CMessage. Released
versions are not affected.
2017-10-03 15:21:56 +01:00
Alexey Sokolov 448f020a7a Travis: Workaround for broken ASAN
https://github.com/google/sanitizers/issues/856
2017-09-23 01:56:40 +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 9cbd58439f Fix test of crypt module after changing messages of controlpanel 2017-08-27 14:32:23 +01:00
Alexey Sokolov 1e8512aa85 Delete controlpanel integration test.
It didn't actually test any behavior, but only messages which it sends
to user.
2017-08-27 14:14:15 +01: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 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