301 Commits

Author SHA1 Message Date
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
J-P Nurmi
645fa855e0 webadmin: allow reseting chan buffer size by entering an empty value 2015-08-14 19:35:24 +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
76ac81c032 webadmin: C++11 range-based for loops 2015-08-13 19:45:08 +02:00
J-P Nurmi
23fb93d1c6 webadmin: use CIRCNetwork::ClearTrustedFingerprints() 2015-08-05 00:44:52 +02:00
J-P Nurmi
496a132e32 Resolve #967: separate chan & query buffer size settings 2015-07-19 00:31:10 +02:00
Alexey Sokolov
d884ff76c0 Merge branch '1.6.x' 2015-04-06 22:42:25 +01:00
Alexey Sokolov
21834d3aba Improve breadcrumbs in webadmin.
Fix #227
2015-04-06 22:40:55 +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
J-P Nurmi
75b210e841 Search'n'replace remaining NULL occurrences (#816) 2015-02-26 20:58:01 +01:00
J-P Nurmi
6002bd5c2b Remove unnecessary virtual keyword occurrences
This makes it convenient to 'grep virtual' and 'grep override' :)
2015-02-25 18:33:09 +01:00
ManiacTwister
f27109f1b4 Implemented StripControls for channel messages and notices 2015-02-23 22:14:58 +01: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
00b38dc164 Enable editing trusted fingerprints in webadmin 2015-01-11 09:04:31 +00:00
Falk Seidel
2e29d49a53 Welcome to 2015 2014-12-31 11:28:38 +01:00
Alexey Sokolov
fd4c355e46 Let's use recommended value by default for new users 2014-12-25 14:42:52 +00:00
Alexey Sokolov
e943f8b370 Fix crash in Add User page in webadmin
Thanks to JordanJ2 for reporting it
2014-12-25 13:00:27 +00:00
Alexey Sokolov
bd9450b99e Webadmin: Add GUI for character encoding 2014-12-21 17:08:41 +00:00
J-P Nurmi
f9318d02cf modules: use override keyword
Resolves #736
2014-11-05 08:00:02 +01:00
Alexey Sokolov
e337cb433d Merge commit 'refs/pull/665/head' of github.com:znc/znc 2014-10-26 12:17:31 +00:00
J-P Nurmi
9576702d8a webadmin: let specify join delay for networks 2014-10-15 22:24:42 +02:00
Cameron Stephen
e570466683 Update Grammar on Modules section of ZNC. 2014-10-05 20:31:13 +02:00
J-P Nurmi
6457bd6dc1 Fix #680 - make channels follow user-level settings when appropriate 2014-09-30 00:34:01 +02:00
J-P Nurmi
956cdb4564 webadmin: add support for network specific quit messages (#273) 2014-09-13 23:53:08 +02:00
Uli Schlachter
3953185b04 WebModules: Switch from CSmartPtr to std::shared_ptr
Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-09-12 14:55:42 +02:00
J-P Nurmi
7d9f0680c6 webadmin: combine "List Users" & "Add User"
Let add users via the list of users in the similar manner it’s
done for networks. It’s evidently an extra step to add a user,
but on the other hand it gives a nice overview of the users
when adding new ones, and leads to less clutter in the sidebar.
2014-09-07 20:43:29 +02:00
J-P Nurmi
713082ac3e webadmin: add missing page title
Makes sure "Traffic Info" shows up in the breadcrumbs.
2014-09-07 20:43:29 +02:00
J-P Nurmi
22d0fc4759 webadmin: cleanup unused variables 2014-09-07 20:43:26 +02:00
J-P Nurmi
2e42f3103c Fix #624: Can´t rename network via webinterface 2014-09-06 23:15:50 +02:00
J-P Nurmi
2d532fb8b9 webadmin: add support for AutoClearQueryBuffer & MaxQueries 2014-08-04 10:04:21 +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
16697d93ce Fixes seg fault with new user page.
Refactor loops and templates so less code is needed.
2014-05-30 00:13:09 +02:00
Vasily Fomin
3ad285243d Add "Loaded" flag to the user page. 2014-05-29 17:49:41 +02:00
Vasily Fomin
78f7897dfc Add "Loaded" flag to the network page. 2014-05-29 17:39:48 +02:00
Vasily Fomin
4bdaa3cc22 Add "Loaded" flag to the global settings page. 2014-05-29 17:14:32 +02:00
Alexey Sokolov
c89771d561 Improve navigation in webadmin: "Save and continue" 2014-04-26 17:47:58 +01:00
Uli Schlachter
5e6e3be32a webadmin/add channel: Correctly handle channel names
The CChan constructor makes sure that the channel name begins with a valid
channel prefix. Thus, this could change the name of the resulting channel.

When you edited an irc network which already had a channel "#foo", were
connected to IRC (so ZNC knows which prefixes are valid) and added a channel
"foo", this would lead to a problem:

Webadmin checks and sees that there is no channel "foo" yet. Webadmin creates a
new CChan instance for "foo". The CChan constructor notices that "f" is not a
valid channel prefix and instead calls itself "#foo". Then,
CIRCNetwork::AddChan() would see that this channel already exists, delete the
given channel and return false.

However, webadmin didn't check this result and would continue changing settings
on an already destroyed CChan instance.

Fix this by checking if the channel exists after CChan had its chance to mess
with the channel name. Also handle failures from CIRCNetwork::AddChan().

Fixes #528.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-04-13 20:41:34 +02:00
uu1101
46975cd9f1 Use absolute URIs in Redirect
Although most browsers seem to accept relative redirects, it is not
allowed by HTTP/1.1.

This commit changes relative URIs to absolute ones when redirecting.
2014-02-16 12:45:10 +01:00
uu1101
88c85b0396 Add URIPrefix listener option 2014-02-16 12:45:09 +01:00
Falk Seidel
f19b4caa43 Welcome to 2014 - year 10 with ZNC 2013-12-31 10:10:55 +01:00
Alexey Sokolov
9e0597fd07 Merge pull request #432 from dgw/out-of-networks-err-sp
Tweak wording of "out of networks" errors
2013-11-21 09:50:51 -08:00
dgw
2b3d40a501 tweak wording of "out of networks" errors 2013-11-21 13:07:17 +04:00
Chris Dennett
054e873bec Added SSL (+) and port in networks list for connected servers. 2013-11-17 16:34:32 +00:00
Ingmar Runge
b5c898eaff modules: add OnAddNetwork, OnDeleteNetwork hooks. 2013-10-18 20:35:21 +02:00
multihunter
ff099097aa Remove unneeded SetSkinName() from webadmin
SetSkinName() was called two times in GetNewUser interface.
Removed the first call because "skin" is a combo box and can't be empty.
2013-08-04 01:23:34 +04:00
Alexey Sokolov
b2dcad5fd4 Change ZNC license to Apache 2.0
The following people agreed with the change, in alphabetical order:
(people who approved in several ways are listed only once)
By email:
- Adam (from Anope)
- Austin Morton
- Brian Campbell
- Christian Walde
- Daniel Holbert
- Daniel Wallace
- Falk Seidel
- Heiko Hund
- Ingmar Runge
- Jim Hull
- Kyle Fuller
- Lee Aylward
- Martin Martimeo
- Matt Harper
- Michael J Edgar
- Michael Ziegler
- Nick Bebout
- Paul Driver
- Perry Nguyen
- Philippe (cycomate)
- Reuben Morais
- Roland Hieber
- Sebastian Ramacher
- Stefan Rado
- Stéphan Kochen
- Thomas Ward
- Toon Schoenmakers
- Veit Wahlich
- Wulf C. Krueger

By IRC:
- CNU
- Jonas Gorski
- Joshua M. Clulow
- Prozac/SHiZNO
- SilverLeo
- Uli Schlachter

At https://github.com/znc/znc/issues/311 :
- Alexey Sokolov
- Elizabeth Myers
- flakes
- Jens-Andre Koch
- Jyzee
- KindOne/ineedalifetoday
- Lee Williams
- Mantas Mikulėnas
- md-5
- Reed Loden

At the last few pull requests' comments:
- Allan Odgaard
- Jacob Baines
- Lluís Batlle i Rossell
- ravomavain
- protomouse

The following commits' authors didn't respond:
Trivial changes:
- f70f1086fd
- 4ca8b50e45

The changes which are not presented in master anymore:
- 5512ed2ea0
- 960a4498f7
- 0f739de2c0
- 7f53cc810b

Fix #311
Fix #218
2013-06-14 00:43:34 +04: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
2bd410ee55 Fix NULL pointer dereference in webadmin.
Triggerable by any non-admin, if webadmin is loaded.

The only affected version is 1.0

Thanks to ChauffeR (Simone Esposito) for reporting this.
2013-05-27 23:52:32 +04:00
Alexey Sokolov
46b28559fc webadmin: Enable embedding network modules and to network pages. 2013-05-19 18:40:12 +04:00