Commit Graph

1656 Commits

Author SHA1 Message Date
Tyler Spivey
c705eb8a64 Improve accessibility of add/edit channel 2016-08-24 00:42:47 -07:00
Tyler Spivey
400b3d9939 Improve accessibility of add/edit network 2016-08-24 00:42:47 -07:00
Tyler Spivey
a1d71d6f19 Improve accessibility of list users 2016-08-24 00:42:39 -07:00
Tyler Spivey
c392202cfe Improve accessibility of traffic info 2016-08-24 00:42:24 -07:00
Tyler Spivey
fb96b74f16 Improve accessibility of global settings 2016-08-24 00:42:12 -07:00
Tyler Spivey
5a86f1b20b Improve accessibility of add/edit user
Add labels and change tr to th in thead elements.
2016-08-23 23:11:55 -07:00
Alexey Sokolov
85984ee4be Merge pull request #1277 from xnrand/master
Add network-specific settings for cert validation
2016-08-20 12:08:41 +01:00
Alexey Sokolov
88a8675c80 Fix bad merge 2016-07-31 12:00:32 +01:00
Alexey Sokolov
05bf1c0f5e Merge branch '1.6.x' 2016-07-31 10:37:38 +01:00
Alexey Sokolov
dd58e369f8 Fix OnInvite in modpython and modperl.
They were silently not called.

Close #1283
2016-07-31 10:35:19 +01:00
Uli Schlachter
9864b2716a [sasl] Do not try to convert entire "verbose" command to bool
Fixes #1291
2016-07-08 02:19:41 -05:00
xnrand
409ed4b6bc Add network-specific config for cert validation
Added the following two network-specific configuration options that can
be changed via controlpanel or webadmin:

* TrustAllCerts: Will trust ALL certificates when enabled, effectively
  disabling TLS certificate validation.
  Default value: false
* TrustPKI: Whether or not to trust PKI-valid certificates. Setting this
  to false will make znc trust only trusted certificates added by the
  user.
  Default value: true

With default values, behavior is exactly the same as before.

This is based on the work of Roelf Wichertjes. See YourBNC/znc@5c747598.

See znc/znc#866.
2016-05-20 01:17:26 +02:00
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