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
1d4d657e23
Deprecate TimezoneOffset
2012-03-22 23:21:25 +07:00
Alexey Sokolov
f0cab46c3f
Merge https://github.com/znc/znc/pull/78 (TZ)
...
Conflicts:
modules/admin.cpp
src/User.cpp
2012-03-22 22:58:46 +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
8863d853c9
Allow disabling the use of adding networks for non admins
...
Closes #122
2012-02-15 16:27:47 +00:00
Alexey Sokolov
ae68a5a608
Mods are network mods by default.
...
Network modules are the simplest ones.
2012-02-04 00:29:58 +07:00
Alexey Sokolov
b966204456
Fix help of admin module.
...
DCCBindHost is string, not boolean.
2012-02-03 21:51:33 +07:00
Kyle Fuller
c8f1a08b58
*admin: SetChan takes the network as an argument
2012-01-15 04:17:45 +00:00
Kyle Fuller
3d7d1793aa
Move IRCConnectEnabled to each network instead of a global user setting
2012-01-11 14:49:17 +00:00
Un1matr1x
73270ff023
Welcome in 2012
2012-01-01 09:30:19 +01:00
Kyle Fuller
a36d47c947
Add {Add,Del,List}Network to *admin module
2011-11-08 19:19:20 +00:00
Allan Odgaard
b8247095d1
Introduce time zone (string) setting.
...
Presently unused but intended to supersede the current time zone offset.
The advantage of a string is that it can be set to something like Europe/Copenhagen and thereby adapt to daylight savings time.
2011-10-09 15:48:03 +02:00
Alexey Sokolov
f483053687
Improve admin module description.
2011-10-06 21:47:52 +07:00
Alexey Sokolov
e354c24ac1
Move ZNC headers into own directory.
...
Yes, this breaks backwards compatibility, so what?
It's already broken with network stuff anyway.
2011-09-23 03:31:58 +07:00
Uli Schlachter
ce5d73c9cd
admin: Fix getchan {inconfig,keepbuffer,detached}
...
Instead of giving a useful result, they returned their result by sometimes
omitting the first character of the option name. Whoops.
Signed-off-by: Uli Schlachter <psychon@znc.in >
2011-09-02 18:21:50 +02:00
Kyle Fuller
0f9af26999
Support IRC networks in the *admin module
2011-08-24 19:07:32 +01:00
Uli Schlachter
cce40e9f71
Move the EModuleType into CModInfo
...
This also renames the values to shorter and more "well sounding" names.
Signed-off-by: Uli Schlachter <psychon@znc.in >
2011-08-21 16:30:36 +02:00
Kyle Fuller
b2d8f2ed62
Add CModInfo::SupportsType(EModuleType) and supply a module type with CModules::LoadModule
...
This would allow a module support multiple module types but CModule's do
not support this currently
2011-08-21 13:34:23 +01:00
Alexey Sokolov
262216731b
Add link to wiki page from any nonextra module.
2011-06-11 18:09:56 +07:00
Kyle Fuller
8f508cb4a5
Migrate dcc bouncing to its own module
2011-06-01 20:21:27 +01:00
Kyle Fuller
611e086cbf
Rename "str" to "String" in the admin panel.
...
This was accidentally renamed in abed808121 .
2011-05-31 02:00:23 +01:00
Kyle Fuller
abed808121
Rename a variable from 'string' to 'str' because 'string' shadows a global declaration
2011-05-25 16:48:02 +01:00
Uli Schlachter
d44e590336
Make CUser::m_sUserName constant
...
Changing the user name for a CUser instance is a really, really bad idea. There
are lots of paths that depend on the user name and only few of them are fixed up
when the user name changes.
This fixes a problem where admin's "CloneUser from to" caused problems with
modules, because all modules where loaded under the old user name and thus they
read/write NV data from the wrong directory in ~/.znc/users.
Thanks to un1matr1x for reporting this.
Signed-off-by: Uli Schlachter <psychon@znc.in >
2011-02-24 19:13:06 +01:00
Uli Schlachter
31bbffa579
Convert admin to the new CModCommand interface
...
Signed-off-by: Uli Schlachter <psychon@znc.in >
2011-02-21 15:34:28 +01:00
Uli Schlachter
4faad67f81
admin: Allow omitting of the user name with some commands
...
This changes admin to assume that an "empty username" was specified if some
arguments is empty which shouldn't be empty. This empty username is then
interpreted as meaning the current user.
Signed-off-by: Uli Schlachter <psychon@znc.in >
2011-02-18 14:50:12 +01:00
Uli Schlachter
3f0e200073
Admin: Add functions for listing/adding/removing CTCP replies
...
Signed-off-by: Uli Schlachter <psychon@znc.in >
2011-02-18 14:50:12 +01:00
flakes
65ae83fa19
Admin module: Added /msg *admin reconnect <user> and /msg *admin disconnect <user> commands. Can someone test this? :P
2011-02-13 14:19:27 +01:00
silverleo
ad9667dd3e
Fix the IsAdmin checks for the SetBufferCount
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2276 726aef4b-f618-498e-8847-2d620e286838
2011-02-02 13:14:22 +00:00
psychon
b9b0fd4c87
Oh, shiny... NOT
...
(Yes, it's that time of the year again)
Signed-off-by: Uli Schlachter <psychon@znc.in >
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2260 726aef4b-f618-498e-8847-2d620e286838
2011-01-14 17:03:24 +00:00
psychon
853ddc5c2a
admin: Add TimestampFormat and StatusPrefix
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2225 726aef4b-f618-498e-8847-2d620e286838
2010-12-31 08:07:39 +00:00
psychon
ed924cb9e5
admin: Properly report errors in "addserver"
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2172 726aef4b-f618-498e-8847-2d620e286838
2010-11-06 15:51:58 +00:00
psychon
341263f9ec
Rename "vhost" to "bindhost"
...
"virtual host" seems to be confusing to users since they wonder why
i.am.superman doesn't work. Let's rename this to "bindhost" and perhaps it
becomes clearer what this setting does.
Thanks to SilverLeo!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2113 726aef4b-f618-498e-8847-2d620e286838
2010-08-30 08:58:29 +00:00
psychon
f7c6d90478
Fix a help message
...
Patch by DarthGandalf, thanks.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2090 726aef4b-f618-498e-8847-2d620e286838
2010-07-20 17:31:17 +00:00
psychon
e62ca4112d
Add new global setting MaxBufferSize
...
Previously, /znc setbuffer had a hardcoded limit of 500, other ways of setting
the buffer size didn't have any limit built-in.
This patch makes that limit configurable and makes sure the various places
honour it.
Thanks to DarthGandalf for the idea with the bForce argument, I were too
small-minded to come up with it myself. :(
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2020 726aef4b-f618-498e-8847-2d620e286838
2010-06-12 20:20:33 +00:00
cflakes
88f2d64ee1
Removed unnecessary argument from admin.cpp. LoadModule(..., bFake = false) is the default.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2004 726aef4b-f618-498e-8847-2d620e286838
2010-05-22 10:34:11 +00:00
psychon
99f1efc843
Some more fun with tabs
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1966 726aef4b-f618-498e-8847-2d620e286838
2010-05-02 08:36:57 +00:00
cflakes
7748713afd
Added ability to change the TimezoneOffset setting
...
from the admin module. Patch by BrianC, thanks!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1906 726aef4b-f618-498e-8847-2d620e286838
2010-04-12 15:31:42 +00:00
cflakes
8575a6eae4
Add missing DenyLoadMod check in admin.cpp, following
...
up revision 1845. Patch by Nirjen, thanks again!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1864 726aef4b-f618-498e-8847-2d620e286838
2010-03-31 21:41:30 +00:00
cflakes
b3b937fa2d
Fix admin.cpp. Search and replace isn't what it used to be.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1847 726aef4b-f618-498e-8847-2d620e286838
2010-03-28 21:06:40 +00:00
cflakes
263d596379
Fix whitespace and general cleanup for admin.cpp. Let's hope this doesn't break anything. :P
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1846 726aef4b-f618-498e-8847-2d620e286838
2010-03-28 21:04:25 +00:00
cflakes
5afb3097a5
Add LoadModule, UnLoadModule, ListMods commands to the admin module.
...
This means that admins can now load user modules for other users.
Patch by Nirjen. Thanks, great job!
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1845 726aef4b-f618-498e-8847-2d620e286838
2010-03-28 20:37:48 +00:00
psychon
1d88f564dc
Fix a bunch of style suggestions from cppcheck[1]
...
Thanks to DarthGandalf for this patch. You must be bored. :P
[1] cppcheck.sf.net
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1776 726aef4b-f618-498e-8847-2d620e286838
2010-02-19 16:21:07 +00:00
cflakes
7bb6c2ad7a
AppendTimestamp, PreprendTimestamp, DCCVHost and DenySetVHost (also affects DCCVHost) are now also changable via the admin module. Basic patch by psychon!
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1747 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 18:21:48 +00:00
cflakes
82cf73d5c6
Removed an unnecessary exclamation mark from the admin module.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1746 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 18:02:32 +00:00
cflakes
f5848f5176
Added support for changing the "IsAdmin" flag to the admin module.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1745 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 18:01:42 +00:00
cflakes
fe55984467
Added support for the MaxJoins and JoinTries variables to the admin module.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1744 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 17:52:42 +00:00
cflakes
4759c75a2f
Added missing IsAdmin checks to the admin module. DenyLoadMod and DenySetVHost are now properly adhered to.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1743 726aef4b-f618-498e-8847-2d620e286838
2010-02-07 17:45:20 +00:00
silverleo
07d7477dec
It's 2010, where's my hoverboard?
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1693 726aef4b-f618-498e-8847-2d620e286838
2010-01-06 09:37:05 +00:00
psychon
606fdaf166
admin: Disable ConnectEnabled() for cloned users
...
If you know clone a user through admin's clone command, that user won't connect
to irc. When the new user first logs in he will be told to use '/msg *status
connect'.
Thanks to BLG and KiNgMaR for the idea and the 'patch'.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1653 726aef4b-f618-498e-8847-2d620e286838
2009-10-20 16:59:40 +00:00
sebastinas
6efff7c402
admin: Fix the output of "help".
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1633 726aef4b-f618-498e-8847-2d620e286838
2009-09-24 10:24:17 +00:00