Commit Graph

50 Commits

Author SHA1 Message Date
Alexey Sokolov
0ff90ea451 Fix error in *controlpanel when setting bindhost of another user.
Thanks to Kult for reporting this.
2016-03-04 22:24:46 +00:00
Falk Seidel
2e29d49a53 Welcome to 2015 2014-12-31 11:28:38 +01:00
Alexey Sokolov
9e05bb1917 Make list of vars in controlpanel's help compact 2014-12-18 10:31:09 +00:00
J-P Nurmi
6877b9f88f controlpanel: get/setnetwork joindelay 2014-10-15 22:24:42 +02:00
J-P Nurmi
1bacec1dd3 Modules: use public API
Avoid accessing protected member variables directly, so
there's a chance of cleaning up the module API later.
2014-10-06 21:51:36 +02:00
J-P Nurmi
d9ae3fa7c8 controlpanel: rename GetUser() to FindUser()
Avoids conflict with CModule::GetUser()
2014-10-06 21:50:22 +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
a4b0bee2bc controlpanel: allow wildcards for getchan & setchan 2014-09-26 22:34:35 +02:00
Alexey Sokolov
eb244ad2f5 Merge pull request #669 from jpnurmi/help
Allow wildcards in help command args
2014-09-13 23:41:56 +01:00
J-P Nurmi
364ac84642 controlpanel: add support for network specific quit messages (#273) 2014-09-13 23:44:55 +02:00
J-P Nurmi
69e65ea45e Allow wildcards in help command args
Supports the help command for *status, all modules that are using
CModCommand as appropriate, and *controlpanel get/set variables.
2014-09-13 22:46:54 +02:00
J-P Nurmi
df08352148 Revise *controlpanel help output
Make the output easier to read by wrapping mandatory argument names
with angle brackets (just like in *status help), and make it possible
to output help for given command(s). Furthermore, output only relevant
variable lists and align casing & arguments in general help & command
specific usage output.
2014-09-07 10:54:00 +02:00
J-P Nurmi
e48fe0a4fc controlpanel: make delchan support wildcards (resolves #609) 2014-08-18 22:27:06 +02:00
J-P Nurmi
5bed1e537c controlpanel: add support for AutoClearQueryBuffer & MaxQueries 2014-08-04 10:04:21 +02:00
Uli Schlachter
74c91e8cfa controlpanel: Check if adding a new channel succeeded
Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-04-13 23:12:03 +02:00
Alexey Sokolov
90bc025906 Add encoding to controlpanel's help 2014-04-08 07:39:01 +01:00
Richard Schwab
e77edb409e Fix *controlpanel not checking whether the bindhost is in the whitelist 2014-03-18 14:04:15 +01:00
Richard Schwab
530bbb5b0d Fix BindHost in SetNetwork in *controlpanel to check permissions 2014-03-17 09:30:04 +01:00
Richard Schwab
cdd16f3933 Add BindHost to Get/SetNetwork in *controlpanel 2014-03-16 17:12:04 +01:00
Alexey Sokolov
55c299fec6 Support encodings in *controlpanel 2014-01-27 00:27:07 +00:00
Alexey Sokolov
be6094a464 Merge commit 'refs/pull/445/head' of github.com:znc/znc 2014-01-18 17:27:07 +00:00
Andrew Northall
0f8441fdff Channel name cannot contain space 2014-01-18 03:24:23 +00:00
Falk Seidel
f19b4caa43 Welcome to 2014 - year 10 with ZNC 2013-12-31 10:10:55 +01:00
Andrew Northall
d138cda8f4 Add AddChan/DelChan command to controlpanel module 2013-12-11 01:03:07 +00: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
Andrew Northall
5f660f37c2 Add the ability to set and retrieve MaxNetworks 2013-11-16 20:04:17 +00:00
Alexey Sokolov
66eba26e1c Merge commit 'refs/pull/408/head' of github.com:znc/znc 2013-11-04 22:18:30 +04:00
KindOne
d173219ef8 Correct typo in controlpanel.
This typo was created in commit 853ddc5c2a
2013-10-30 23:32:23 -04:00
Alexey Sokolov
11efcee422 Merge commit 'refs/pull/422/head' of github.com:znc/znc 2013-10-20 17:42:45 +04:00
Ingmar Runge
b5c898eaff modules: add OnAddNetwork, OnDeleteNetwork hooks. 2013-10-18 20:35:21 +02:00
Thomas Ward
5b34d39690 controlpanel.cpp: Modify the message for when you attempt to delete the currently active network 2013-10-12 20:20:05 -04:00
KindOne
e73f056cf1 Correct double output in controlpanel. 2013-09-25 16:40:24 -04:00
Alexey Sokolov
958e9ad61c ControlPanel: support network module manipulation
Fix #380
2013-09-07 12:28:39 +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
TheLordOfTime
4f5245f502 controlpanel.cpp: Increase verbosity of successful "Disconnect" command
This modifies line 897 to have more verbosity on the output for a successful execution of the "Disconnect" command, which will allow for the output to say what network was force-disconnected on what user.

This is a repaired version of pull request #352 which I closed after a FTBFS which I did not realize.
2013-05-11 16:22:27 -03:00
KindOne
2db7307ac3 Remove unneeded headers. 2013-03-08 01:47:57 +07:00
baines
82a708d6a1 Cleaned up more warnings. 2013-02-27 20:53:14 -05:00
Thomas Ward
7496704f3e controlpanel.cpp: Fixed a Fail to Compile error introduced in prior commit. 2013-02-01 15:51:36 -05:00
TheLordOfTime
e559bc6677 controlpanel.cpp: Standardize error wordings
When a network cannot be found for a user, and where a command will output an error under such circumstances, use similar wording in each message.
2013-01-30 22:58:32 -05:00
The Lord of Time
e6414e3c98 controlpanel.cpp: Increases general verbosity of command results. 2013-01-30 18:05:55 +00:00
TheLordOfTime
fd813c01af controlpanel.cpp: Fix bug for "Disconnect" help
This fixes a bug in which providing empty data for the 'disconnect' command for controlpanel will return the 'reconnect' command's syntax help, which can confuse users.
2013-01-29 04:46:55 -05:00
Un1matr1x
3a34593359 The same procedure as last year, Miss sophie?
Same procedure as every year, James.
2012-12-31 12:44:31 +01:00
Alexey Sokolov
a0e9977264 Rename control back to controlpanel...
I shouldn't do this during beta.
2012-10-19 22:51:33 +07:00
Alexey Sokolov
4f1fd1f6db Rename controlpanel to control, fix #240
It's just a shorter name, and hopefully still not as confusing as old
"admin".

Also unrelated change: fix case of few output lines during startup.
2012-10-19 22:14:25 +07:00
Alexey Sokolov
9b2898f603 Implement setting "Max number of networks" for user.
Fix #226
2012-09-20 01:24:47 +07:00
Alexey Sokolov
48aa157024 Also I forgot to update wiki link. 2012-09-16 19:19:03 +07:00
Alexey Sokolov
395ae4fc9f Oh, I forgot to add a back-compatibility crap. 2012-08-16 21:29:07 +07:00
Alexey Sokolov
691785fcb4 I'm tired of this :(
Rename admin module to controlpanel.
2012-08-16 21:24:03 +07:00