Commit Graph

4742 Commits

Author SHA1 Message Date
Alexey Sokolov fd8a36d3ea Use value-parameterized tests for FormatTime 2017-11-04 21:37:55 +00: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
Vladimir Panteleev 901a21e91b Utils: Add FormatTime overload taking timeval
This overload also supports additional format sequences for formatting
the sub-second part of timeval.
2017-10-26 00:00:50 +00:00
Alexey Sokolov ca578843fc Fix test after previous commit 2017-10-23 00:17:49 +01: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 a05f344f5f Travis: Add xcode 9.1; Disable xcode 6.4, because download of qt for osx 10.10 times out. 2017-10-21 09:33:34 +01:00
Adam Williams dca012f0b7 Use SameSite=strict cookies consistently (#1450) 2017-10-20 15:31:46 +01:00
Alexey Sokolov 42d30901d4 Merge pull request #1444 from Zarthus/tidy_up_readme
Tidy up README
2017-10-15 18:26:39 +01:00
Alexey Sokolov 3ba8b0cce3 Stop mixing up ./configure --enable-debug with znc --debug
Close #1449
See #1446
2017-10-15 18:00:33 +01:00
Jos Ahrens 4e4dd0f7bc Remove unused AUHOTRS symlink
Resolves #1391
2017-10-15 17:56:06 +01:00
Alexey Sokolov 2ebd358521 Merge pull request #1446 from Zarthus/feature/debug-mode-awareness
transparency: Make the user aware that DEBUG mode is enabled.
2017-10-04 19:09:09 -07:00
Alexey Sokolov 57ad5cd814 Merge pull request #1445 from Zarthus/fix/debug-shows-pass
debugging: Add Filter method to hide filter sensitive data
2017-10-04 19:06:50 -07:00
Alexey Sokolov 023e57485b Revert "Remove several more "size - 1", none of which are dangereous."
This reverts commit bcabf9b55c.

I should test code better...
2017-10-04 04:41:50 +01:00
Alexey Sokolov bcabf9b55c Remove several more "size - 1", none of which are dangereous. 2017-10-03 15:23:09 +01:00
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
Jos Ahrens ab501767a1 transperancy: Make the user aware that DEBUG mode is enabled. 2017-10-02 14:46:00 +02:00
Jos Ahrens f006e31fed debugging: Add Filter method to hide filter sensitive data 2017-10-02 14:09:45 +02:00
Jos Ahrens a75ad25aae Tidy up README
Adds ToC, minor grammar improvements, web link improvements
as GitHub does not support ircs:// in markdown
2017-10-01 10:52:12 +00: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