119 Commits

Author SHA1 Message Date
Alexey Sokolov
255fc53cad Fix double "id" attribute of <textarea> in CTCP replies editor.
That prevented the javascript version of the editor to work correctly.

Thanks to luk3yx for the report.
2018-05-27 01:02:14 +01:00
Fox Wilson
42939c998f Add "AuthOnlyViaModule" global/user setting
Setting AuthOnlyViaModule on a user causes CheckPass to never return true,
causing all authentication attempts using the configured password to fail, both
on IRC connections and for webadmin. This is useful in situations where an
external module (cyrusauth, certauth, imapauth) handles authentication. Setting
the global AuthOnlyViaModule option causes similar behavior across every
user. If AuthOnlyViaModule is set to true globally, it cannot be overridden
per-user.

Close #1474
Close #331
2017-12-22 14:23:17 +00: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
b666931883 Add an option to change ping timeout time.
Fix #979
2016-12-26 15:49:26 +00:00
wolfy1339
00aadbaf91 Use <th> in <thead> instead of <td>
Ref: #1308
2016-09-22 12:39:00 -04:00
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
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
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
0459f67b1d Configure user language in controlpanel and webadmin 2016-01-31 20:09:19 +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
J-P Nurmi
013203cfb5 webadmin: make the traffic info page visible for non-admins 2015-08-22 01:59:08 +02:00
J-P Nurmi
c36aa6c832 webadmin: show per-network traffic info
Close #963
2015-08-22 01:27:24 +02:00
J-P Nurmi
d19a040f2d Remove flawed Add/Del/List/BindHost(s) (close #983) 2015-08-17 15:35:29 +02:00
Chris Tyrrel
bfab89edba webadmin: renamed chan setting 'buffer' to 'buffersize'
close #1029
2015-08-14 19:03:12 +02:00
J-P Nurmi
496a132e32 Resolve #967: separate chan & query buffer size settings 2015-07-19 00:31:10 +02:00
J-P Nurmi
9242307ff7 Merge branch '1.6.x'
Conflicts:
	README.md
	modules/data/webadmin/tmpl/settings.tmpl
	src/Query.cpp
2015-07-14 23:11:17 +02:00
Alexey Sokolov
34d9183ff1 Hint in webadmin how to delete current port 2015-07-10 20:01:12 +01:00
Alexey Sokolov
a314d3057e Merge branch '1.6.x' 2015-06-05 08:06:15 +01:00
Alexey Sokolov
fce3d781bb Mention ExpandString in CTCP replies in webadmin 2015-06-05 08:04:33 +01:00
Alexey Sokolov
f8f097a5db Make CTCP replies editor in webadmin more fancy when JS is enabled. 2015-06-04 21:39:37 +01:00
Alexey Sokolov
477a9ddd5a Make server editor in webadmin more fancy, when JS is enabled
See #145
2015-06-03 00:18:17 +01:00
Alexey Sokolov
a3ed8147d0 Merge pull request #860 from ammaraskar/table_sorting
Implement table sorting in webadmin, addresses #40
2015-05-10 17:02:32 +01:00
Alexey Sokolov
0cdda5ad93 Merge pull request #962 from wolfy1339/pr-455-fix
Add third class to the port input [Fixes #446]
2015-05-09 08:48:44 +01:00
wolfy1339
9d61e5a400 Add third class to the port input [Fixes #446]
Addimg this class makes it so the input has a defined width.
Fixes znc/znc#446
2015-05-07 18:43:29 -04:00
wolfy1339
7c94c2cb34 Add extra td
Fixes znc/znc#446
2015-05-06 20:24:33 -04:00
Ammar Askar
01da1d7f7d Use small triangles for sorting indicators 2015-03-08 02:13:44 +05:00
Alexey Sokolov
0179e857da Merge branch 'master' of github.com:znc/znc 2015-03-06 20:57:50 +00:00
Alexey Sokolov
e1ac6c49cb Merge branch '1.6.x' 2015-03-06 20:57:18 +00:00
Alexey Sokolov
343035e172 Explain in webadmin why encoding settings are disabled. 2015-03-05 23:13:58 +00:00
J-P Nurmi
a5b4a29c00 Revert StripControls implementation (#850)
This reverts commits 27d78795a7 and
f27109f1b4. It was decided that the
functionality is provided by a separate module instead, to avoid
unnecessarily bloating the core.
2015-03-04 09:50:00 +01:00
ManiacTwister
27d78795a7 Also strip controls from private messages 2015-02-23 22:15:01 +01:00
ManiacTwister
f27109f1b4 Implemented StripControls for channel messages and notices 2015-02-23 22:14:58 +01:00
J-P Nurmi
44705b7f47 Fix #872: webadmin checkboxes
Don't claim all networks/users have loaded a module when there are none
2015-02-18 11:29:28 +01:00
Ammar Askar
0985132fc6 Implement table sorting in webadmin, addresses #40 2015-02-14 03:07:12 +05:00
Alexey Sokolov
f9a4507669 Add a global setting whether to show ZNC version or not
Close #820
Close #821
2015-01-30 23:01:06 +00:00
Alexey Sokolov
046f5e273c Clarify in webadmin that timestamp format is useless with server-time 2015-01-25 19:17:43 +00:00
Alexey Sokolov
5608e4f201 Oops, I'm not familiar with our CSS 2015-01-11 09:06:15 +00:00
Alexey Sokolov
00b38dc164 Enable editing trusted fingerprints in webadmin 2015-01-11 09:04:31 +00:00
Mikaela Suomalainen
94c0c244be webadmin: suggest ISO-8859-15 if non-UTF-8 char...
...set must be recommended.
2014-12-30 13:34:35 +02:00