Commit Graph

55 Commits

Author SHA1 Message Date
psychon
6609143820 Let webadmin use the user's defaults
Now webadmin uses what you have in your <User> section for DefModes,
BufferCount, AutoCycle and KeepBuffer when you create a new user.

Thanks to SilverLeo for noticing and writing this patch.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@886 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 09:19:24 +00:00
psychon
ee350ab744 Change second argument to module in OnLoad() from sErrorMsg to sMessage.
This message is always displayed when the module returns (well, screw webadmin)
and this way a module can notify the user if it loaded but something unexpected
happened.

As you might guess, no one uses this ATM :)

Proposal comes from prozac


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@855 726aef4b-f618-498e-8847-2d620e286838
2007-10-28 17:57:07 +00:00
psychon
5993255ac3 Fix some ICC warnings found by Kuja
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@846 726aef4b-f618-498e-8847-2d620e286838
2007-09-27 21:00:08 +00:00
psychon
a09a7e79f6 Switch to the copyright headers the GPLv2 wants us to have
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@843 726aef4b-f618-498e-8847-2d620e286838
2007-09-21 18:55:33 +00:00
psychon
3ce22e5d45 small webadmin fixup
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@804 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:48:22 +00:00
psychon
a3b405bd07 sync from my branch rev 983 and 993:
- module api change, if module fails to load it can give back an useful error message
- give a message when client doesnt supply a password when connecting
- some minor cleanup


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@803 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:42:00 +00:00
psychon
d82eb75d1c merge rev 962;965;972-975:
- increased select timeout to 0.5 secs (this should save CPU time)
- added real-life ISpoof example to the example znc.conf
- make away module ignore message from the user (fixes antiidle together with away)
- show error message when webadmin cant bind to a port (improved later)
- fix /me, it was turned into a CTCP
- remove an extra space


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@802 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:35:17 +00:00
psychon
1fa9187be6 Revs 945-948;952-953:
- add timezone offset if server is in another timezone than the client
- add prependTimestamp
- add version number to configure.in
- write connect delay back into znc.conf


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@801 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:29:39 +00:00
psychon
f601db2cd8 merge with rev 932 psychon branch:
- module call for /me's
- timestamps for playback and query buffer
- WALLOP stuff / fix
- properly join channels _after_ namesx or uhnames were set up
- dont screw up raws on reconnect when you ran /lusers
- change default quit msg and version reply to CZNC::GetTag(false)
- change CZNC::GetTag() to point to sf.net
- kind of an rewrite for partyline, added fixed channels (this doesnt work on irssi,
		did it ever work?)
- add the timestamp support to webadmin too
- add ConnectDelay config option to avoid being killed because we connected too fast
- make znc handle usermodes correctly


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@799 726aef4b-f618-498e-8847-2d620e286838
2007-05-16 22:13:17 +00:00
prozacx
0a62274975 Committing patches from crox/psychon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@790 726aef4b-f618-498e-8847-2d620e286838
2007-03-12 06:26:54 +00:00
prozacx
70aafdee8f Moved awaynick functionality into modules/awaynick.cpp module
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@775 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 22:57:28 +00:00
prozacx
e06ca0d672 Added contact info
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@753 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 07:48:28 +00:00
prozacx
68f3521099 Use the error reporting and return code from CZNC::AddUser()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@726 726aef4b-f618-498e-8847-2d620e286838
2006-04-29 19:40:14 +00:00
prozacx
e0d3cfa5db Return true if authed immediately by module
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@695 726aef4b-f618-498e-8847-2d620e286838
2006-03-16 10:02:15 +00:00
prozacx
50b998a566 Added support for auth modules
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@692 726aef4b-f618-498e-8847-2d620e286838
2006-03-16 01:20:12 +00:00
prozacx
ebd57d65c7 Fill in the VHostLoop for both editing and new users
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@683 726aef4b-f618-498e-8847-2d620e286838
2006-03-12 22:22:31 +00:00
prozacx
a12805a064 Added IsSelf for ListUsers page
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@672 726aef4b-f618-498e-8847-2d620e286838
2006-03-01 09:44:03 +00:00
prozacx
a9e60b43c5 Migrated away from CString::ToString() in favor of explicit constructors
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@669 726aef4b-f618-498e-8847-2d620e286838
2006-02-25 09:43:35 +00:00
prozacx
e805057e34 Fixed delchan param to match templates
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@667 726aef4b-f618-498e-8847-2d620e286838
2006-02-20 18:52:53 +00:00
prozacx
bbcabdd64b Added more info in user loop
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@664 726aef4b-f618-498e-8847-2d620e286838
2006-02-19 09:48:04 +00:00
prozacx
f68bbd5629 Changed param name to match change in tmpl files
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@660 726aef4b-f618-498e-8847-2d620e286838
2006-02-19 04:13:03 +00:00
prozacx
8a3344182d Added ability to switch users
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@657 726aef4b-f618-498e-8847-2d620e286838
2006-02-18 21:27:54 +00:00
prozacx
6716e6f686 Added Listen Port table
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@647 726aef4b-f618-498e-8847-2d620e286838
2006-02-12 00:19:54 +00:00
prozacx
c92e9055fb Print an error page when templates can not be opened
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@645 726aef4b-f618-498e-8847-2d620e286838
2006-02-11 23:06:00 +00:00
prozacx
1845b6f52c Print an error page when templates do not exist
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@644 726aef4b-f618-498e-8847-2d620e286838
2006-02-11 22:17:29 +00:00
prozacx
00ce749a80 Added listen host support
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@639 726aef4b-f618-498e-8847-2d620e286838
2006-02-11 10:03:25 +00:00
prozacx
bd1084acac Added support to change skin in settings page
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@622 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 08:43:48 +00:00
prozacx
f096b49629 Added support for images and removed the favicon from being embedded
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@617 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 06:11:23 +00:00
prozacx
6fb82d5b01 Added support for css files
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@611 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 03:16:51 +00:00
prozacx
feba97bd33 Moved template path and fixed a bug in destruction
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@609 726aef4b-f618-498e-8847-2d620e286838
2006-02-06 02:20:47 +00:00
prozacx
ecf431f246 Added CTemplate support which included upgrading String.cpp/h and FileUtils.cpp/h and fixing some issues
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@603 726aef4b-f618-498e-8847-2d620e286838
2006-02-05 05:01:53 +00:00
prozacx
ef9d9b217a Added ListenHost for binding to a specific ip instead of inaddr_any
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@588 726aef4b-f618-498e-8847-2d620e286838
2005-12-27 19:19:05 +00:00
prozacx
d2e7285070 Added MOTD support
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@571 726aef4b-f618-498e-8847-2d620e286838
2005-10-13 05:31:42 +00:00
prozacx
ab95c98407 Removed admin user that was passed via arguments
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@559 726aef4b-f618-498e-8847-2d620e286838
2005-10-10 05:26:15 +00:00
prozacx
e3b723de5b Made multiple clients per user a config option
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@556 726aef4b-f618-498e-8847-2d620e286838
2005-10-09 23:19:07 +00:00
prozacx
e04cbaa34c Fixed problem with adding a new user
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@544 726aef4b-f618-498e-8847-2d620e286838
2005-10-08 17:30:46 +00:00
prozacx
795e0ec590 Add * if user supplies no other allowed hosts
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@532 726aef4b-f618-498e-8847-2d620e286838
2005-09-25 00:12:30 +00:00
prozacx
f8f718437c Added support for allowed hosts
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@531 726aef4b-f618-498e-8847-2d620e286838
2005-09-24 18:07:13 +00:00
prozacx
eabe4983f9 Added user Admin flag and allow user admins to edit other users and global settings
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@529 726aef4b-f618-498e-8847-2d620e286838
2005-09-24 05:15:08 +00:00
prozacx
9e3b98b242 Spiced up the favicon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@523 726aef4b-f618-498e-8847-2d620e286838
2005-09-22 08:01:25 +00:00
prozacx
96b267cbb7 Don't try to add existing chans
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@522 726aef4b-f618-498e-8847-2d620e286838
2005-09-22 07:27:49 +00:00
prozacx
598268ad1a JoinChans() on new channel
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@521 726aef4b-f618-498e-8847-2d620e286838
2005-09-22 07:11:52 +00:00
prozacx
b27149a6e3 Load temp user's modules as 'fake'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@520 726aef4b-f618-498e-8847-2d620e286838
2005-09-22 07:05:48 +00:00
prozacx
72df78c3b2 Added favicon support and removed some debugging statements
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@515 726aef4b-f618-498e-8847-2d620e286838
2005-09-20 02:07:41 +00:00
prozacx
aa42edde53 Changed syntax of <label> tag
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@509 726aef4b-f618-498e-8847-2d620e286838
2005-09-19 04:22:11 +00:00
prozacx
89e5079ce9 Upgrading to CZNC::Get()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@508 726aef4b-f618-498e-8847-2d620e286838
2005-09-19 04:09:37 +00:00
prozacx
1929ce5ba9 Renamed CZNC::New() to CZNC::Get() and return a static reference instead of a pointer
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@504 726aef4b-f618-498e-8847-2d620e286838
2005-09-19 02:19:17 +00:00
prozacx
bca3769173 Fixed error message
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@503 726aef4b-f618-498e-8847-2d620e286838
2005-09-17 14:27:15 +00:00
prozacx
6adfe9f065 WriteConfig() after deleting a channel
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@502 726aef4b-f618-498e-8847-2d620e286838
2005-09-17 14:23:33 +00:00
prozacx
29c2e842a9 Don't show channels during /adduser
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@501 726aef4b-f618-498e-8847-2d620e286838
2005-09-17 14:13:35 +00:00