59 Commits

Author SHA1 Message Date
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
Daniel
a206d1a3bb Webadmin: Fix Edit Network when using DenySetNetwork (#1942) 2025-04-18 02:11:43 +01: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
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
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
Tyler Spivey
400b3d9939 Improve accessibility of add/edit network 2016-08-24 00:42:47 -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
711e835c93 Translateable webadmin to Russian. 2016-02-24 21:34:23 +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
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
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
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
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
Alexey Sokolov
bd9450b99e Webadmin: Add GUI for character encoding 2014-12-21 17:08:41 +00:00
J-P Nurmi
9576702d8a webadmin: let specify join delay for networks 2014-10-15 22:24:42 +02:00
J-P Nurmi
956cdb4564 webadmin: add support for network specific quit messages (#273) 2014-09-13 23:53:08 +02:00
J-P Nurmi
2e42f3103c Fix #624: Can´t rename network via webinterface 2014-09-06 23:15:50 +02:00
Vasily Fomin
0467b69535 Fixes issue #505: Module links in webadmin should use _blank.
Wikipedia "Icon External Link"
(http://commons.wikimedia.org/wiki/File:Icon_External_Link.png)
is being used as an icon for the external link.
2014-06-10 21:30:37 +02:00
Vasily Fomin
4338ae5cc5 Show empty checkbox if module can be loaded by the topic column.
Fix const correctnes of the CModInfo::SupportsType method.
2014-06-01 21:37:39 +02:00
Vasily Fomin
78f7897dfc Add "Loaded" flag to the network page. 2014-05-29 17:39:48 +02:00
Alexey Sokolov
4304798a97 Merge pull request #549 from dgw/no-webadmin-arg-autocomplete
Simple solution to #546
2014-05-19 22:44:37 +01:00
dgw
9aee99608d webadmin: module argument autocomplete="off"
This is a concern for nickserv, and possibly also modules like awaystore.
2014-05-11 16:29:57 -04:00
Alexey Sokolov
c89771d561 Improve navigation in webadmin: "Save and continue" 2014-04-26 17:47:58 +01:00
uu1101
4376b373d8 Prepend URIPrefix to web interface links
Prefix links in templates with URIPrefix and add the input field to the
Listener editor.

The URIPrefix is provided as a top-level template variable. All URIs
have been changed to have the prefix prepended.
2014-02-16 12:45:10 +01:00
Alexey Sokolov
46b28559fc webadmin: Enable embedding network modules and to network pages. 2013-05-19 18:40:12 +04:00
Alexey Sokolov
588e478f9e webadmin: clarify that + is SSL 2013-05-12 13:21:32 +04:00
Alexey Sokolov
c06f95b452 Webadmin: Show instructions on how to use networks in Add Network too
not only in Edit Network
2012-12-02 19:28:02 +07:00
Michael Senn
f70f1086fd Fixed minor typo in webadmin module. 2012-11-28 13:37:31 +01:00
Alexey Sokolov
a988546961 Make description of AddServer a bit more clear. 2012-07-27 09:05:42 +07:00
Alexey Sokolov
cebc093254 Per-network bind hosts.
Fix #147
2012-07-19 00:59:41 +07:00
Alexey Sokolov
87a79f83d9 Fix XML errors on network page in webadmin.
Thanks to thread for reporting it.
2012-04-13 02:49:18 +07:00
Alexey Sokolov
3e458a98e4 Merge some work by Jens-Andre Koch
Only his changes to the core are presented here.
Unfortunately, the skin itself looks ugly on Opera,
and simply doesn't work on Firefox...

Merge branch 'master' into znc-ation

Conflicts:
	modules/data/lastseen/tmpl/lastseen_WebadminUser.tmpl
	modules/data/webadmin/tmpl/settings.tmpl
2012-04-10 23:19:15 +07:00
Alexey Sokolov
ce6a9ce327 Move floodprotection js out of .tmpl 2012-04-01 12:39:14 +07:00
Alexey Sokolov
88a13d7604 Fix XHTML in webadmin pages.
Thanks to Zetas for reporting it.
2012-03-29 22:20:29 +07:00
Jens-Andre Koch
92ec938150 Added Webskin "znc-ation" 2012-03-28 12:24:27 +02:00
Alexey Sokolov
4b3b0a5535 webadmin: Support javascript-disabled browsers. 2012-03-24 00:09:19 +07:00
Alexey Sokolov
9b3a764a6c Use XHTML 2012-03-23 11:14:29 +07:00