Commit Graph

59 Commits

Author SHA1 Message Date
Kuba Niewiarowski 0e85418932 Disable autocomplete password on add_edit_user.tpml
Autocomplete should be desabled because in default web browsers fill this resoulting "Invalid user settings" message when for example user changes skin.
(cherry picked from commit 1587103d36)
2014-04-14 21:38:26 +01:00
Alexey Sokolov a06b6495e8 Revert "Rewrite the JOIN channel logic, dropping MaxJoins"
This reverts commit db7c47f97d.

Too many joined channels at once started to cause disconnect because of
"Max SendQ Exceeded", which is not much better than previous Flood.

Now MaxJoins is 0 by default, which preserves the current behavior of
joining all channels at once. If someone experiences those disconnects
due to SendQ, they can tune MaxJoins.

Fix #329

Conflicts:
	include/znc/User.h
	modules/controlpanel.cpp
	modules/webadmin.cpp
	src/User.cpp
2013-06-09 23:39:10 +04: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 2b51222245 Show example timezone in webadmin 2012-12-04 09:24:47 +07: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 9b2898f603 Implement setting "Max number of networks" for user.
Fix #226
2012-09-20 01:24:47 +07:00
Alexey Sokolov c00cc72242 Add details to network table in webadmin.
Fix #222
2012-09-06 23:41:44 +07:00
Alexey Sokolov a988546961 Make description of AddServer a bit more clear. 2012-07-27 09:05:42 +07:00
Alexey Sokolov e5af3848d8 Remove too many spaces from webadmin title="" attributes. 2012-07-22 21:26:27 +07:00
Alexey Sokolov 165c9ed082 Add network selector to send_raw's web page. 2012-07-20 22:36:13 +07:00
Alexey Sokolov cebc093254 Per-network bind hosts.
Fix #147
2012-07-19 00:59:41 +07:00
Kyle Fuller eb59be7905 Use standard HTML table elements instead of custom classes
Fixes #169
2012-06-08 13:51:45 +01:00
Alexey Sokolov 2d884ad7c3 Make user Buffer setting a bit less confusing. 2012-06-05 22:32:19 +07:00
Alexey Sokolov 27f42d1118 Rename (non-) KeepBuffer to AutoClearChanBuffer.
It should be a less confusing name...
2012-05-09 22:32:12 +07:00
Alexey Sokolov 5fbf528a49 Fix Save button of global settings in webadmin.
In HTML one <form> can't be inside another one...
In XHTML it works...

Thanks to skydrome for reporting this.

Also I tried to fix listeners editor, as they used nested forms too...
But it seems that I messed up the whole table.

Let someone more skilled in HTML fix this broken layout.

At least buttons themselves work now.
2012-04-20 10:48:26 +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 b8822b8bfb webadmin: allow edit bindhost without global list. 2012-04-01 11:52:31 +07:00
Alexey Sokolov 28f6809af8 Webadmin: edit listen ports 2012-03-31 06:48:24 +07:00
Alexey Sokolov c252a239d7 Fix HTML style.
Thanks to Jens-Andre Koch for suggestion.
2012-03-31 06:22:25 +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 84d9377a4a merging upstream 2012-03-29 11:18:45 +02:00
Alexey Sokolov 788a469340 Fix certauth to give proper XHTML too. 2012-03-28 20:21:47 +07:00
Alexey Sokolov ef82fce047 Fix XHTMLity of some modules. 2012-03-28 20:17:38 +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
Alexey Sokolov 30b99d58f3 Show list of timezones in webadmin. 2012-03-23 01:16:25 +07:00
Alexey Sokolov 1d4d657e23 Deprecate TimezoneOffset 2012-03-22 23:21:25 +07:00
Alexey Sokolov e83efead26 Nicify webadmin interface for flood protection. 2012-03-22 13:22:13 +07:00
Kyle Fuller db7c47f97d Rewrite the JOIN channel logic, dropping MaxJoins
Instead we fill the JOIN line up with as many channels as we can fit in
an IRC line. Rate limiting is done per command now, making MaxJoins
unnecessary.
2012-03-21 22:06:54 +00:00
Kyle Fuller 7beb7172d6 Set a valid HTML5 doctype before we use HTML5 features
It isn't valid HTML5 to use maxlength with input[type="number"]
2012-03-21 17:32:29 +00:00
Alexey Sokolov 7b42dc7063 Webadmin: use numeric inputs for numbers.
Depending on browser, it can be a spinbox, for example.
HTML5 FTW :P
2012-03-21 22:01:50 +07:00
Alexey Sokolov bf25eee520 Merge branch 'master' of github.com:znc/znc 2012-03-21 20:14:59 +07:00
Alexey Sokolov afaef88807 Edit flood protection in webadmin. 2012-03-21 20:13:53 +07:00
Kyle Fuller 5618cf78d7 webadmin: Ask for confirmation when deleting a network
Closes #142
2012-03-19 00:34:41 +00:00
Kyle Fuller 27bebf1ca4 webadmin: The "Name" field on the add network page is the network name 2012-03-16 22:56:08 +00:00
Kyle Fuller c54b3d0b87 webadmin: Implement clone user
Closes #127
2012-02-24 17:26:04 +00:00
Alexey Sokolov 7ac61474ed ZNC-Extra no more.
Few the most useless modules are just removed, the others are moved to
standard modules.
2012-02-21 19:34:36 +07:00
Alexey Sokolov f4a80f7218 Fix/improve text in webadmin on how to connect to networks. 2012-02-13 10:16:16 +07:00
Kyle Fuller 0538140a97 webadmin: Tell the user how to connect to a network on the network page 2012-02-12 21:18:59 +00:00
Kyle Fuller b1ed9c9b74 Add methods to CModule to get the web path
Add these values to the template and use them when linking to any module
2012-02-09 17:07:28 +00:00
Kyle Fuller 3d7d1793aa Move IRCConnectEnabled to each network instead of a global user setting 2012-01-11 14:49:17 +00:00
Kyle Fuller 6686c0de79 Support having a nickname per network 2011-09-12 15:59:15 +00:00
Kyle Fuller cb604a0b0d webadmin: Show a field for the network name when someone add's a network
Finally fix this before any more people complain its broken
2011-09-12 14:20:02 +00:00
Kyle Fuller ee7a2083c8 Make the *webadmin module support IRC networks 2011-08-24 19:07:32 +01:00
Kyle Fuller 74919a8759 Fix uploading a certificate in the web interface for the cert module 2011-08-16 20:38:51 +01:00