Commit Graph

1644 Commits

Author SHA1 Message Date
Jos Ahrens
5d372c2deb fix #1271: Disallow non-admin users to use fail2ban commands 2016-05-10 22:21:34 +02:00
Alexey Sokolov
4435baf1ee The previous commit should work with ./configure too 2016-05-02 00:03:29 +01:00
Alexey Sokolov
2fd14d4fb9 Explain modperl that ZNC uses UTF-8 internally
Thanks to jiggawattz for showing the issue
2016-05-01 23:59:11 +01:00
Alexey Sokolov
eab62b46e7 modperl: fix reloading of module which couldn't be loaded before
Thanks to dudz for report
2016-05-01 14:23:37 +01:00
Alexey Sokolov
15ae561848 Merge branch '1.6.x' 2016-03-04 22:27:51 +00:00
Alexey Sokolov
0ff90ea451 Fix error in *controlpanel when setting bindhost of another user.
Thanks to Kult for reporting this.
2016-03-04 22:24:46 +00:00
Alexey Sokolov
2fdbe51df5 Fix #1248: segfault in shell module.
It happened when client disconnects.
2016-03-04 08:04:03 +00:00
Alexey Sokolov
def29fe3f7 Translate strings which were hiding in webadmin.js 2016-02-24 22:25:58 +00:00
Alexey Sokolov
711e835c93 Translateable webadmin to Russian. 2016-02-24 21:34:23 +00:00
Alexey Sokolov
02adbb3bbf Merge branch '1.6.x' 2016-02-04 23:42:50 +00:00
Alexey Sokolov
13ce4e3a1e webadmin: Don't autocomplete password in user settings even in Firefox
Fix #1163
2016-02-04 23:39:49 +00:00
Alexey Sokolov
65521d9e43 webadmin: Fix error message on invalid user.
Calling PrintErrorPage twice doesn't work very well.

See #1163
2016-02-04 23:18:49 +00:00
Alexey Sokolov
f1eae790e9 Translate Cert module to Russian 2016-02-02 23:38:45 +00:00
Alexey Sokolov
3503fdff6e Make pyeval module translatable 2016-01-31 20:09:19 +00:00
Alexey Sokolov
2305877e66 Make perleval module translateable 2016-01-31 20:09:19 +00:00
Alexey Sokolov
a4c491888f Make Cert module translateable 2016-01-31 20:09:19 +00:00
Alexey Sokolov
0459f67b1d Configure user language in controlpanel and webadmin 2016-01-31 20:09:19 +00:00
Alexey Sokolov
8863bed13d Support translation in python modules 2016-01-31 20:09:19 +00:00
Alexey Sokolov
5621a58801 Support translation in perl modules 2016-01-31 20:09:19 +00:00
Alexey Sokolov
8eeeaf71a0 Add framework for translating ZNC to different languages 2016-01-31 20:09:19 +00:00
Alexey Sokolov
ae803769c2 Merge branch '1.6.x' 2016-01-17 12:09:16 +00:00
Alexey Sokolov
66daadfee8 sasl: add option to show which mechanisms failed and succeeded
Fix #770
2016-01-17 12:04:53 +00:00
Alexey Sokolov
561a18054c Yet another attempt to use CMake 2016-01-15 10:50:33 +00:00
Alexey Sokolov
89484acf17 Align #include in modperl/modpython with other files. 2016-01-10 09:12:17 +00:00
Alexey Sokolov
e9006634cb Merge branch '1.6.x' 2016-01-09 18:23:06 +00:00
Alexey Sokolov
5d014193b4 Don't require reconnect after changing encoding. 2016-01-09 18:18:44 +00:00
Alexey Sokolov
4fe4a45dd6 Disable legacy encoding mode when modpython is loaded.
Python is not happy when using non-unicode text as str.

Fix #1229
2016-01-09 14:18:24 +00:00
Alexey Sokolov
1e1fadbc2b Merge branch '1.6.x' 2016-01-07 20:59:50 +00:00
Alexey Sokolov
c21e60ad7a Fix memory leak in modperl.
The reason is the same as it was for modpython in #1017
2016-01-07 01:14:21 +00:00
Ondřej Nový
6881ca5b8f Fixed few misspellings 2016-01-05 20:45:08 +01:00
Falk Seidel
8f73840e74 Welcome to 2016
🎆  Happy 2016 🎆
2016-01-01 20:11:21 +01:00
Daniel Barnes
d4c299049e modules/sasl, modules/route_replies: interpret messages as intended even if they have prefix tags 2015-12-22 08:30:26 -07:00
Alexey Sokolov
16a8c77737 Replace virtual with override where possible.
Using clang-tidy
2015-12-08 20:51:50 +00:00
Alexey Sokolov
d185d6f22d clang-format: switch tabs to spaces
I like tabs, but I have to admit that spaces make source code more
consistent, because every editor/viewer tends to render tabs differently :(
2015-12-07 00:53:30 +00:00
Alexey Sokolov
3861b6a583 Fix several comments broken by clang-format 2015-12-07 00:53:01 +00:00
Alexey Sokolov
33b0627d75 Add clang-format configuration.
For now, it uses tabs like before, to make the diff easier to read/check.
One of following commits will switch it to spaces.
2015-12-07 00:53:01 +00:00
Alexey Sokolov
7f6fc6643e Merge branch 'master' into notify
Conflicts:
    test/Integration.cpp
2015-11-30 08:02:47 +00:00
Alexey Sokolov
569f057561 Call CTCP callback for actions too, as it was before switch to CMessage.
Partyline had both of callbacks, one of which is redundant.

Fix #1134
Fix #1190
2015-11-29 00:59:50 +00:00
Oleh Prypin
facec8d4a3 Show client identification in notify_connect module 2015-11-26 17:00:30 +02:00
Alexey Sokolov
0b9c7f7436 modperl: provide operator "" for ZNC::String 2015-11-23 09:57:48 +00:00
Alexey Sokolov
cbf5c38d0a Teach modperl and modpython about CMessage and new hooks which accept it.
Fix #1084
Fix #1085
2015-11-22 23:39:30 +00:00
Alexey Sokolov
622c07b864 Merge pull request #1171 from walliski/logNameFix
Make $USER and $NETWORK case sensitive in logs
2015-11-04 22:52:43 +00:00
Alexey Sokolov
81fd078157 Merge branch '1.6.x' 2015-10-31 11:58:30 +00:00
Alexey Sokolov
fa4c01e49d Add missing return statement to dcc module.
It was harmless, but it makes Coverity happier.
2015-10-31 02:30:04 +00:00
Alexey Sokolov
0d8bb7e597 Merge branch '1.6.x'
Conflicts:
	modules/cyrusauth.cpp
	modules/keepnick.cpp
	modules/notes.cpp
2015-10-30 14:56:28 +00:00
Alexey Sokolov
096dc5b320 Fix some unitialized fields in modules.
They are not used before OnLoad anyway, but Coverity will be happier.
2015-10-30 14:52:51 +00:00
Alexey Sokolov
3236240029 Merge branch '1.6.x' 2015-10-30 01:18:49 +00:00
Alexey Sokolov
f6aa35c6fb Really fix #528
The previous fix (5e6e3be3) left a possibility to use-after-delete,
though it has been much harder to accidentally trigger.

If AddChan(pChan) fails, it deletes pChan, so the new crash was
happening during showing of error message.

Test for this is at master branch: 9777a1a667

Thanks to https://scan.coverity.com/ for pointing at this.
2015-10-30 01:16:29 +00:00
Walliski
54ab10a311 Removed AsLower from $USER and $NETWORK since these are case sensitive 2015-10-27 01:35:57 +02:00
Chris Tyrrel
2b4f3bdac8 Fix recently introduced crash in controlpanel.
See #1051
2015-10-26 00:16:34 +00:00