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
psychon
a190d97cae
admin: Fix the help for "setchan"
...
Thanks to flakes.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1632 726aef4b-f618-498e-8847-2d620e286838
2009-09-24 10:20:23 +00:00
psychon
cd63bae006
Add sha256 support
...
This imports the sha256 code from http://www.ouah.org/ogay/sha2/ (The other
hashes from sha-2 were removed). sha256 is a much stronger hashing algorithm
than md5 is (There were successful birthday attacks against md5).
All the code now defaults to creating sha256 salted hashes (The salting used is
the same as before).
Old znc.conf files can still be read.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1618 726aef4b-f618-498e-8847-2d620e286838
2009-09-07 18:55:07 +00:00
sebastinas
af13278f4f
made string, boolean and integer static
...
Made string, boolean and integer in PrintHelp static sinve vars
is static too.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1542 726aef4b-f618-498e-8847-2d620e286838
2009-06-10 19:16:20 +00:00
psychon
220aab468d
admin: Require a username argument
...
This patch makes set, setchan and addserver require a username argument.
(One can just use $me)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1541 726aef4b-f618-498e-8847-2d620e286838
2009-06-10 14:41:50 +00:00
psychon
87a7672638
I fail (fix the admin module)
...
Thanks SilverLeo :(
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1540 726aef4b-f618-498e-8847-2d620e286838
2009-06-10 12:21:37 +00:00
psychon
062989595c
Admin: Some minor cleanup
...
Move some code from GetUser()'s callers into GetUser() itself.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1539 726aef4b-f618-498e-8847-2d620e286838
2009-06-10 11:40:14 +00:00
psychon
2206e19ad2
admin: Add set/get Nick/Altnick to help
...
Dunno why these commands weren't documented before...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1535 726aef4b-f618-498e-8847-2d620e286838
2009-06-06 18:09:07 +00:00
psychon
02d6546a0b
Add support for per-channel settings to admin
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1484 726aef4b-f618-498e-8847-2d620e286838
2009-04-07 11:38:17 +00:00
psychon
694b60d53b
Admin: Use CString's constructor instead of reinventing the wheel
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1480 726aef4b-f618-498e-8847-2d620e286838
2009-04-06 06:45:19 +00:00
psychon
c80690a9fc
admin: DelUser can now handle spaces in user names
...
The new CloneUser command allows one to create a user with a space in
its name and the code for reading znc.conf allows spaces too. So now
one can even get rid of this users again...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1478 726aef4b-f618-498e-8847-2d620e286838
2009-04-04 18:43:24 +00:00
psychon
5618aa2a47
admin: Add a CloneUser command
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1477 726aef4b-f618-498e-8847-2d620e286838
2009-04-04 18:41:14 +00:00
sebastinas
dcc49f9c6f
Admin module: some cosmetic fixes
...
Use ToUInt to convert the string, since we're actually using an
unsigned integer. And use ToBool for consistency.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1440 726aef4b-f618-498e-8847-2d620e286838
2009-03-23 20:43:11 +00:00
psychon
27a51fcec7
Some minor stuff, again found via icc's "remarks"
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1436 726aef4b-f618-498e-8847-2d620e286838
2009-03-21 09:32:50 +00:00
sebastinas
accd7b26cc
My bad. Fixed the build error.
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1424 726aef4b-f618-498e-8847-2d620e286838
2009-03-11 21:11:58 +00:00
sebastinas
b170c83808
Admin module: added 'Set Password'
...
The admin module is now able to set a user's password. Furthermore
fixed a bug if now username was specified for the 'Get' or 'Set'
command.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1423 726aef4b-f618-498e-8847-2d620e286838
2009-03-11 19:24:30 +00:00
psychon
76bb08d0e8
Some stuff for the admin module
...
- No longer a global module, why was it ever one?
- Fix '/msg *admin set ident a' to error out instead of modifying my own user.
- Document '$me'.
- Other, minor stuff.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1386 726aef4b-f618-498e-8847-2d620e286838
2009-02-19 16:40:21 +00:00
psychon
2c4d680cfd
Import the admin module
...
This module basically does the same things webadmin does, but via
an IRC query interface.
Thanks to sebastinas for writing the original version of this module.
Thanks to kroimon for making this suite ZNC's coding style better and porting
it to newer ZNC versions.
Finally, I added a DelUser command and ported it again to laters versions.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1379 726aef4b-f618-498e-8847-2d620e286838
2009-02-16 17:26:46 +00:00
prozacx
55c0e67f60
Renamed admin to webadmin
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@479 726aef4b-f618-498e-8847-2d620e286838
2005-09-09 05:00:52 +00:00
prozacx
ec7426cd8f
Added some global settings
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@464 726aef4b-f618-498e-8847-2d620e286838
2005-09-06 23:12:51 +00:00
prozacx
00fd113a19
Added some ifdef HAVE_LIBSSL constraints
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@460 726aef4b-f618-498e-8847-2d620e286838
2005-09-06 22:41:11 +00:00
prozacx
adbf1b489c
Added a nav bar on the side
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@450 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 07:05:34 +00:00
prozacx
0accf174e1
Let CZNC take care of writing the config after a delete
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@445 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 03:19:45 +00:00
prozacx
4a6a6bbbbc
Write the config when deleting a user
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@444 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 03:07:56 +00:00
prozacx
5a571c5a66
Added config writing and single user editing
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@442 726aef4b-f618-498e-8847-2d620e286838
2005-07-18 02:21:21 +00:00
prozacx
3b8b29e8a3
Added flag to CChan to tell whether chan is in the config or not
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@427 726aef4b-f618-498e-8847-2d620e286838
2005-07-10 23:55:22 +00:00
prozacx
0f5e0d6a71
Added preliminary support for editing a user
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@424 726aef4b-f618-498e-8847-2d620e286838
2005-07-09 00:17:25 +00:00
prozacx
9bcab0e5cd
Changed colors
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@422 726aef4b-f618-498e-8847-2d620e286838
2005-07-07 19:35:19 +00:00
prozacx
7b2b6789cd
Changed colors
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@421 726aef4b-f618-498e-8847-2d620e286838
2005-07-07 06:15:43 +00:00
prozacx
22014c2169
Added color to the fieldsets
...
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@420 726aef4b-f618-498e-8847-2d620e286838
2005-07-06 21:42:38 +00:00