135 Commits

Author SHA1 Message Date
DannyAAM
c2a760709c Fix webadmin serverlist parsing for password containing space 2026-02-26 21:57:50 +08:00
Alexey Sokolov
c46bd41037 Unix listener: chmod and change group
Fix #1955
2025-06-24 09:04:29 +01:00
Alexey Sokolov
63d10ccb17 Add support to connect to server via unix socket
The syntax for AddServer command and config is chosen to be unix:/path or unix:ssl:/path

For security reasons, only admins can add such servers, to prevent users from poking around the file system.
2025-04-20 22:40:20 +01:00
Alexey Sokolov
0af3e0705f Configure unix listeners in webadmin 2025-04-19 23:43:09 +01:00
Daniel
a206d1a3bb Webadmin: Fix Edit Network when using DenySetNetwork (#1942) 2025-04-18 02:11:43 +01:00
4G3NT
d6605d199e Fix casing on traffic info table 2024-04-10 22:56:29 -07:00
4G3NT
1e89f7b4ba Fix casing 2024-04-10 22:38:23 -07:00
Daniel
675024b5e5 wip 2021-10-23 18:48:01 +08:00
Bradley Shaw
fe475e1ef0 Add more deny options
DenySetIdent - Denies setting ident

DenySetNetwork - Denies adding/removing networks/servers

DenySetRealName - Denies setting realname

DenySetQuitMsg - Denies setting quitmsg

DenySetCTCPReplies - Denies adding/removing CTCP replies
2021-07-03 17:16:42 +01:00
Casper
2a733cc938 Fixed missing paragraph closing tag 2021-06-17 12:58:02 +02:00
njhanley
92d04e6ad9 Allow reordering of channels in webadmin 2020-09-29 19:32:52 -04:00
njhanley
3ff5aaf49e List channels in order in webadmin 2020-09-29 19:32:52 -04:00
Alexey Sokolov
b0d7a07089 Merge branch '1.8.x' 2020-08-30 10:35:54 +01:00
Casper
9f62facd04 Update del_network.tmpl
Default action for 'no' to go to the edituser page instead of listusers page.

Close #1751
2020-08-30 10:34:38 +01:00
Gaspard Beernaert
17ec6095d6 Web: remove legacy xhtml syntax (#1723) 2020-06-16 23:45:35 +01:00
Jos Ahrens
207d47f1da TrustPKI: Better wording in webadmin 2019-06-30 08:01:09 +00:00
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