]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
16 years agoMerge.
Chris Porter [Sat, 8 Mar 2008 02:59:01 +0000 (02:59 +0000)] 
Merge.

16 years agouserflags now warns about 'interesting' changes.
Chris Porter [Sat, 8 Mar 2008 02:58:32 +0000 (02:58 +0000)] 
userflags now warns about 'interesting' changes.

16 years agoAdd getpassword.
Chris Porter [Sat, 8 Mar 2008 02:42:52 +0000 (02:42 +0000)] 
Add getpassword.
Don't allow setpassword or deluser to affect staff.
Add warnings to setpassword/deluser when operations fail or complete.

16 years agoAdded help to a large number of commands.
splidge [Sat, 8 Mar 2008 00:53:03 +0000 (00:53 +0000)] 
Added help to a large number of commands.
Added accountability notice stuff to voice.

16 years agoFixed up nick module so it clears the list of nicks authed to each userid when it...
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...

16 years agoFix warning on Linux.
Chris Porter [Fri, 7 Mar 2008 20:18:35 +0000 (20:18 +0000)] 
Fix warning on Linux.

16 years agoMore cleanups.
splidge [Fri, 7 Mar 2008 19:19:34 +0000 (19:19 +0000)] 
More cleanups.

Fixed BANLIST (was trying to list bans on non-existent channel)
Added some sanity checking to TEMPBAN's duration parameter.
Added some help text.

16 years agoChanged ordering of events in joinchan to prevent desync where kick appears before...
splidge [Fri, 7 Mar 2008 16:35:51 +0000 (16:35 +0000)] 
Changed ordering of events in joinchan to prevent desync where kick appears before join.
Added sendopnoticetochannel()

16 years agoMerge.
Chris Porter [Fri, 7 Mar 2008 13:47:10 +0000 (13:47 +0000)] 
Merge.

16 years agoCHANLEV updates.
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.

16 years agoMore help system stuff.
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.

16 years agoAdded built-in help support.
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.

16 years agoMerge.
splidge [Fri, 7 Mar 2008 11:14:58 +0000 (11:14 +0000)] 
Merge.

16 years agoSome tidying up of "personal" flags (+ijw on chanlev)
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)

16 years agoSome more tidying of authtracker and related things.
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.

16 years agoInitially HELLO'ed users lastauth is set to 0, however the existing logic that deals...
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.

16 years agoTwo argument op/voice commands now require you to be a master (eg ops can't now silen...
Chris Porter [Fri, 7 Mar 2008 02:51:48 +0000 (02:51 +0000)] 
Two argument op/voice commands now require you to be a master (eg ops can't now silently op others).

16 years agoMerge.
Chris Porter [Fri, 7 Mar 2008 00:59:52 +0000 (00:59 +0000)] 
Merge.

16 years agoRegister authid extension in nicksearch, Q9's makefiles really do spoil you.
Chris Porter [Fri, 7 Mar 2008 00:59:26 +0000 (00:59 +0000)] 
Register authid extension in nicksearch, Q9's makefiles really do spoil you.

16 years agoMerge.
Chris Porter [Fri, 7 Mar 2008 00:50:40 +0000 (00:50 +0000)] 
Merge.

16 years agoAdd ns-authid.
Chris Porter [Fri, 7 Mar 2008 00:47:50 +0000 (00:47 +0000)] 
Add ns-authid.

16 years agoFixed silly typo that prevented the userid-only auth working.
splidge [Fri, 7 Mar 2008 00:35:35 +0000 (00:35 +0000)] 
Fixed silly typo that prevented the userid-only auth working.

16 years agoMerge.
splidge [Fri, 7 Mar 2008 00:26:02 +0000 (00:26 +0000)] 
Merge.

16 years agoVarious changes to bring us into 2008
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...

16 years agoBatcher now attempts to HELO as localhost, supports SMTPAUTH too.
Chris Porter [Thu, 6 Mar 2008 23:11:34 +0000 (23:11 +0000)] 
Batcher now attempts to HELO as localhost, supports SMTPAUTH too.

16 years agoMerge.
Chris Porter [Thu, 6 Mar 2008 15:29:17 +0000 (15:29 +0000)] 
Merge.

16 years agoFixed up isopped vs. iscreate in the join handler.
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.

16 years agoMerge.
Chris Porter [Thu, 6 Mar 2008 03:46:13 +0000 (03:46 +0000)] 
Merge.

16 years agoAdd exponential backoff to batcher.
Chris Porter [Thu, 6 Mar 2008 03:40:45 +0000 (03:40 +0000)] 
Add exponential backoff to batcher.

16 years agoInitial import of email batcher.
Chris Porter [Thu, 6 Mar 2008 03:28:38 +0000 (03:28 +0000)] 
Initial import of email batcher.

16 years agoEmail table mailID is now a SERIAL, get rid of old NEWMASTERPW email type.
Chris Porter [Thu, 6 Mar 2008 01:57:24 +0000 (01:57 +0000)] 
Email table mailID is now a SERIAL, get rid of old NEWMASTERPW email type.

16 years agoDon't allow users to view other users auth attempt information in WHOIS.
Chris Porter [Thu, 6 Mar 2008 00:58:30 +0000 (00:58 +0000)] 
Don't allow users to view other users auth attempt information in WHOIS.

16 years agoAdd checkhashpass.
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).

16 years agoChanlev can now take the +n flag, but not give it.
Chris Porter [Wed, 5 Mar 2008 18:40:52 +0000 (18:40 +0000)] 
Chanlev can now take the +n flag, but not give it.

16 years agoemail and newpass should be secure commands.
Chris Porter [Wed, 5 Mar 2008 18:24:11 +0000 (18:24 +0000)] 
email and newpass should be secure commands.

16 years agoRemove master passwords.
Chris Porter [Wed, 5 Mar 2008 18:12:25 +0000 (18:12 +0000)] 
Remove master passwords.

16 years agoAdd challengeauth support, refactor challenge stuff.
Chris Porter [Wed, 5 Mar 2008 17:26:43 +0000 (17:26 +0000)] 
Add challengeauth support, refactor challenge stuff.

16 years agoAdd md5 again, add it to hmac too.
Chris Porter [Wed, 5 Mar 2008 17:17:49 +0000 (17:17 +0000)] 
Add md5 again, add it to hmac too.

16 years agoMore work on challenge.
Chris Porter [Wed, 5 Mar 2008 15:08:05 +0000 (15:08 +0000)] 
More work on challenge.

16 years agoMore pedantry.
Chris Porter [Wed, 5 Mar 2008 14:31:17 +0000 (14:31 +0000)] 
More pedantry.

16 years agoWhoops, missed off null terminator.
Chris Porter [Wed, 5 Mar 2008 14:21:29 +0000 (14:21 +0000)] 
Whoops, missed off null terminator.

16 years agoAdd beginnings of challengeauth support.
Chris Porter [Wed, 5 Mar 2008 14:12:32 +0000 (14:12 +0000)] 
Add beginnings of challengeauth support.

16 years agoAdd HMAC_SHA1
Chris Porter [Wed, 5 Mar 2008 14:09:08 +0000 (14:09 +0000)] 
Add HMAC_SHA1

16 years agoadd ISAAC (prng) to base.
Chris Porter [Wed, 5 Mar 2008 13:12:21 +0000 (13:12 +0000)] 
add ISAAC (prng) to base.

16 years agoRemove +s channelflag and chanlev flag.
Chris Porter [Wed, 5 Mar 2008 12:47:54 +0000 (12:47 +0000)] 
Remove +s channelflag and chanlev flag.
+j/+i are now not settable by users.

16 years agoEmail regular expression was not being compiled.
Chris Porter [Wed, 5 Mar 2008 01:22:00 +0000 (01:22 +0000)] 
Email regular expression was not being compiled.

16 years agoerror.h now needs protecting from multiple includes.
splidge [Tue, 4 Mar 2008 10:55:29 +0000 (10:55 +0000)] 
error.h now needs protecting from multiple includes.

16 years agoOoops, forgot to include the source :(.
splidge [Tue, 4 Mar 2008 10:49:44 +0000 (10:49 +0000)] 
Ooops, forgot to include the source :(.

16 years agoError() events are now logged to a file.
splidge [Tue, 4 Mar 2008 10:36:19 +0000 (10:36 +0000)] 
Error() events are now logged to a file.
Also, a new hook HOOK_CORE_ERROR is triggered whenever Error() is called, with the severity and message.

16 years agoForgot to commit changes to nsmalloc.
Chris Porter [Tue, 4 Mar 2008 00:07:42 +0000 (00:07 +0000)] 
Forgot to commit changes to nsmalloc.

16 years agoCleanup comment!
Chris Porter [Mon, 3 Mar 2008 17:55:07 +0000 (17:55 +0000)] 
Cleanup comment!

16 years agoMerge.
Chris Porter [Mon, 3 Mar 2008 17:11:06 +0000 (17:11 +0000)] 
Merge.

16 years agoMove nsmalloc stuff again, this time to a seperate module.
Chris Porter [Mon, 3 Mar 2008 17:00:48 +0000 (17:00 +0000)] 
Move nsmalloc stuff again, this time to a seperate module.
Add a 'histogram'.

16 years agoAuthtracker: ignore the "nterfacer" user; it doesn't comply with the session uniquene...
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.

16 years agoMake newserv more valgrind friendly, i.e. remove dlmalloc and add USE_VALGRIND to...
Chris Porter [Mon, 3 Mar 2008 14:49:22 +0000 (14:49 +0000)] 
Make newserv more valgrind friendly, i.e. remove dlmalloc and add USE_VALGRIND to nsmalloc.

16 years agoReorganise information in nsmalloc stats.
Chris Porter [Mon, 3 Mar 2008 14:04:53 +0000 (14:04 +0000)] 
Reorganise information in nsmalloc stats.

16 years agoMerge.
Chris Porter [Mon, 3 Mar 2008 13:42:30 +0000 (13:42 +0000)] 
Merge.

16 years agoAdd more stats to nsmalloc.
Chris Porter [Mon, 3 Mar 2008 13:41:08 +0000 (13:41 +0000)] 
Add more stats to nsmalloc.

16 years agoRefactor nsmalloc statistics in preperation for more.
Chris Porter [Mon, 3 Mar 2008 13:24:57 +0000 (13:24 +0000)] 
Refactor nsmalloc statistics in preperation for more.

16 years agoInitial import of accountflags.
Chris Porter [Sat, 1 Mar 2008 02:10:59 +0000 (02:10 +0000)] 
Initial import of accountflags.

16 years agoDie command warning wasn't being sent to anyone.
Chris Porter [Fri, 29 Feb 2008 21:36:16 +0000 (21:36 +0000)] 
Die command warning wasn't being sent to anyone.

16 years agoAdd malloc checking to lua/nterfacer/trojanscan.
Chris Porter [Fri, 29 Feb 2008 21:04:49 +0000 (21:04 +0000)] 
Add malloc checking to lua/nterfacer/trojanscan.
Cosmetic alteration to nsmalloc output.

16 years agoT now schedules channel joins after 60 seconds.
Chris Porter [Fri, 29 Feb 2008 20:50:59 +0000 (20:50 +0000)] 
T now schedules channel joins after 60 seconds.

16 years agoThis should be typedef'ed.
Chris Porter [Fri, 29 Feb 2008 20:50:46 +0000 (20:50 +0000)] 
This should be typedef'ed.

16 years agoAdd real pool size and pool names.
Chris Porter [Fri, 29 Feb 2008 20:41:32 +0000 (20:41 +0000)] 
Add real pool size and pool names.

16 years agoWarning fix.
Chris Porter [Fri, 29 Feb 2008 03:11:46 +0000 (03:11 +0000)] 
Warning fix.

16 years agoMerge.
Chris Porter [Fri, 29 Feb 2008 02:18:24 +0000 (02:18 +0000)] 
Merge.

16 years agonterface to nterfacer, now using nsmalloc.
Chris Porter [Fri, 29 Feb 2008 02:14:49 +0000 (02:14 +0000)] 
nterface to nterfacer, now using nsmalloc.

16 years agoMissed one...
Chris Porter [Fri, 29 Feb 2008 02:01:13 +0000 (02:01 +0000)] 
Missed one...

16 years agoMerge.
Chris Porter [Fri, 29 Feb 2008 01:47:54 +0000 (01:47 +0000)] 
Merge.

16 years agoBacked out changeset a72bce46833cc21482634553d27b390bdaaabd46
Chris Porter [Fri, 29 Feb 2008 01:47:50 +0000 (01:47 +0000)] 
Backed out changeset a72bce46833cc21482634553d27b390bdaaabd46
Not sure if this is supposed to be committed yet.

16 years agoFix warnings.
Chris Porter [Fri, 29 Feb 2008 01:33:10 +0000 (01:33 +0000)] 
Fix warnings.

16 years agoAdd nsmalloc stats to control.
Chris Porter [Fri, 29 Feb 2008 01:16:10 +0000 (01:16 +0000)] 
Add nsmalloc stats to control.

16 years agotrojanscan and lua now use nsmalloc.
Chris Porter [Fri, 29 Feb 2008 01:15:55 +0000 (01:15 +0000)] 
trojanscan and lua now use nsmalloc.

16 years agonsfree is now O(1), add nsrealloc and statistics.
Chris Porter [Fri, 29 Feb 2008 01:15:03 +0000 (01:15 +0000)] 
nsfree is now O(1), add nsrealloc and statistics.

16 years agoAttempt to use nsmalloc for lua.
Chris Porter [Thu, 28 Feb 2008 17:58:08 +0000 (17:58 +0000)] 
Attempt to use nsmalloc for lua.

16 years agoAdd status/forcegc to lua.
Chris Porter [Thu, 28 Feb 2008 15:51:26 +0000 (15:51 +0000)] 
Add status/forcegc to lua.

16 years agoAdded UL to const 0 (whoever made unsigned longs bigger than ints eh? :( ).
splidge [Thu, 28 Feb 2008 15:29:00 +0000 (15:29 +0000)] 
Added UL to const 0 (whoever made unsigned longs bigger than ints eh? :( ).

16 years agoInitialise the suspendexp value...
splidge [Thu, 28 Feb 2008 15:20:13 +0000 (15:20 +0000)] 
Initialise the suspendexp value...

16 years agoRemoved unneeded debug info.
splidge [Thu, 28 Feb 2008 11:41:30 +0000 (11:41 +0000)] 
Removed unneeded debug info.

16 years agoFix T reconnect bug where it would continue spawning clones.
Chris Porter [Wed, 27 Feb 2008 18:47:32 +0000 (18:47 +0000)] 
Fix T reconnect bug where it would continue spawning clones.

16 years agoMerge.
Chris Porter [Wed, 27 Feb 2008 16:16:30 +0000 (16:16 +0000)] 
Merge.

16 years agoAdd +TM to simplechanmode.
Chris Porter [Wed, 27 Feb 2008 13:09:09 +0000 (13:09 +0000)] 
Add +TM to simplechanmode.

16 years agoFix parsing bug
Cruicky [Tue, 26 Feb 2008 22:32:24 +0000 (22:32 +0000)] 
Fix parsing bug

16 years agoCompilation fix
Chris Porter [Mon, 25 Feb 2008 14:49:50 +0000 (14:49 +0000)] 
Compilation fix

16 years agoMAJOR API CHANGE: nick structures in called functions are now replaced by numerics.
Chris Porter [Mon, 25 Feb 2008 14:48:20 +0000 (14:48 +0000)] 
MAJOR API CHANGE: nick structures in called functions are now replaced by numerics.

16 years agoChannel index fix, getuserbyauth/gethostusers now return numerics.
Chris Porter [Mon, 25 Feb 2008 14:34:37 +0000 (14:34 +0000)] 
Channel index fix, getuserbyauth/gethostusers now return numerics.

16 years agoMerge.
Chris Porter [Mon, 25 Feb 2008 13:15:45 +0000 (13:15 +0000)] 
Merge.

16 years agoDefault chanfix service is now D.
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.

16 years agoFinal ticketauth support.
Chris Porter [Sat, 23 Feb 2008 18:25:09 +0000 (18:25 +0000)] 
Final ticketauth support.

16 years agoFinish work on ticketauth.
Chris Porter [Sat, 23 Feb 2008 17:47:41 +0000 (17:47 +0000)] 
Finish work on ticketauth.

16 years agoFix warnings on Y's box.
Chris Porter [Fri, 22 Feb 2008 20:32:18 +0000 (20:32 +0000)] 
Fix warnings on Y's box.

16 years agoMerge.
Chris Porter [Fri, 22 Feb 2008 20:22:42 +0000 (20:22 +0000)] 
Merge.

16 years agoAdd initial support for protocol version 4.
Chris Porter [Fri, 22 Feb 2008 20:10:53 +0000 (20:10 +0000)] 
Add initial support for protocol version 4.

16 years agoFix a 64-bit problem.
Chris Porter [Thu, 14 Feb 2008 17:14:58 +0000 (17:14 +0000)] 
Fix a 64-bit problem.

16 years agoIgnore +k/+X users for chanstats purposes.
Chris Porter [Thu, 14 Feb 2008 17:14:48 +0000 (17:14 +0000)] 
Ignore +k/+X users for chanstats purposes.

16 years agoMerge.
Chris Porter [Mon, 11 Feb 2008 19:26:24 +0000 (19:26 +0000)] 
Merge.

16 years agoFix Q9's bandel command when supplied with a ban number.
Chris Porter [Mon, 11 Feb 2008 19:25:31 +0000 (19:25 +0000)] 
Fix Q9's bandel command when supplied with a ban number.

16 years agoFix a lot of warnings on FreeBSD. P might not actually work... damn you paul.
Chris Porter [Sun, 10 Feb 2008 00:46:06 +0000 (00:46 +0000)] 
Fix a lot of warnings on FreeBSD. P might not actually work... damn you paul.

16 years agoFix G ban logic.
Chris Porter [Sun, 10 Feb 2008 00:29:26 +0000 (00:29 +0000)] 
Fix G ban logic.