splidge [Fri, 7 Mar 2008 22:25:40 +0000 (22:25 +0000)]
Fixed up nick module so it clears the list of nicks authed to each userid when it starts. Needed because you can reload IRC without unloading the authext module...
splidge [Fri, 7 Mar 2008 12:52:31 +0000 (12:52 +0000)]
CHANLEV updates.
Added help text to CHANLEV.
Also modified listing code so masters/owners can't see other people's personal flags. This is to avoid confusion when they cannot be removed.
splidge [Fri, 7 Mar 2008 12:08:07 +0000 (12:08 +0000)]
More help system stuff.
mkcommandlist.pl will now pick out lines tagged CMDHELP: and add their content to the default help string for that command. Added help for LOGIN as proof of concept/test.
splidge [Fri, 7 Mar 2008 12:00:12 +0000 (12:00 +0000)]
Added built-in help support.
Added beginnings of support for "built in" help. Added a new argument to the chanservaddcommand with the help string, this is then presented to the user if no help is found in the database. As yet only "showcommands" actually has any built in help.
splidge [Fri, 7 Mar 2008 11:13:14 +0000 (11:13 +0000)]
Some tidying up of "personal" flags (+ijw on chanlev)
Added a new macro to avoid repeated instances of (QCUFLAG_AUTOINVITE|QCUFLAG_HIDEWELCOME etc)
Updated so that (non-master) users see their own personal flags on a CHANLEV listing (previously these were hidden)
Added logic to remove personal flags from users who aren't known any more (this prevents people with personal flags getting stuck on the chanlev)
splidge [Fri, 7 Mar 2008 10:13:09 +0000 (10:13 +0000)]
Some more tidying of authtracker and related things.
Authtracker used to have 2 ways of getting userID - either from np->auth or via the chanserv macro. These now actually do the same thing so aren't both needed any more.
Also removed the HOOK_CHANSERV_SETUSERID hook as this is now redundant - the userid is always set at ACCOUNT time (for local or remote auths) - we ignore remote ACs without userID set now.
Also a slight tidy of the condition for autocreating auths - we just look for the chanserv extension attached to the user rather than looking up the account name.
Chris Porter [Fri, 7 Mar 2008 03:27:59 +0000 (03:27 +0000)]
Initially HELLO'ed users lastauth is set to 0, however the existing logic that deals with new users coming in off the network hasn't been altered (i.e. it's still time(NULL)).
whois modified to display accounts that have not been used.
cleanupdb now cleans up auths that have never been used after 10 days.
requestpassword now resends the initial HELLO email if the user has never authed.
splidge [Fri, 7 Mar 2008 00:22:31 +0000 (00:22 +0000)]
Various changes to bring us into 2008
Removed "rup" member of activeuser (we now use authext instead)
Removed "nicks" member of reguser (we now use authext instead)
Made auths send out the userid.
Fixed up some of the more gratuitous retardedness I found along the way...
splidge [Thu, 6 Mar 2008 14:05:53 +0000 (14:05 +0000)]
Fixed up isopped vs. iscreate in the join handler.
This should fix the bug where an autoop user joining a channel has their op taken away (by the burst) and not returned.
Chris Porter [Thu, 6 Mar 2008 00:52:51 +0000 (00:52 +0000)]
Add checkhashpass.
Mark some messages as unused.
INFO command now requires you to be opered (hack until we decide what to do with infolines once and for all).
splidge [Mon, 3 Mar 2008 15:52:56 +0000 (15:52 +0000)]
Authtracker: ignore the "nterfacer" user; it doesn't comply with the session uniqueness requirements and it's not very interesting to track its sessions anyway.
Chris Porter [Mon, 25 Feb 2008 13:13:26 +0000 (13:13 +0000)]
Default chanfix service is now D.
irc_get{chaninfo,getnickby{numeric,nick}} removed, will be rewritten in Lua.
irc_fastget{chaninfo,nickbynick} added.
Bump version number.
Added realusers (unique hosts minus +k or +X services), timestamp and chanmodes to channel pushers.