]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
16 years agoMerge.
Chris Porter [Wed, 2 Apr 2008 15:02:52 +0000 (16:02 +0100)] 
Merge.

16 years agospewdbtwo -> spewdb, nuke old spewdb.
Chris Porter [Wed, 2 Apr 2008 15:01:55 +0000 (16:01 +0100)] 
spewdbtwo -> spewdb, nuke old spewdb.
spewemailtwo -> spewemail, nuke old spewemail.

16 years agoAdd headers to spewdbtwo/spewemailtwo.
Chris Porter [Wed, 2 Apr 2008 14:56:33 +0000 (15:56 +0100)] 
Add headers to spewdbtwo/spewemailtwo.
Make printauth in chanserv's newsearch hide the authed nicks (not much point in showing this).
Add arguments for headers to AST functions.
Fixup NO spew command with new arguments to AST function.

16 years agoUse channel flags, not channel user flags. (fixed patch)
splidge [Wed, 2 Apr 2008 14:43:02 +0000 (15:43 +0100)] 
Use channel flags, not channel user flags. (fixed patch)

16 years agoMerge
splidge [Wed, 2 Apr 2008 14:42:05 +0000 (15:42 +0100)] 
Merge

16 years agoBacked out changeset 54fd10e592e2 - this included more changes than were
splidge [Wed, 2 Apr 2008 14:41:58 +0000 (15:41 +0100)] 
Backed out changeset 54fd10e592e2 - this included more changes than were
intended.

16 years agoMerge
splidge [Wed, 2 Apr 2008 14:28:45 +0000 (15:28 +0100)] 
Merge

16 years agoUse channel flags, not channel user flags.
Chris Porter [Wed, 2 Apr 2008 14:22:08 +0000 (15:22 +0100)] 
Use channel flags, not channel user flags.

16 years agoMerge
splidge [Wed, 2 Apr 2008 14:19:53 +0000 (15:19 +0100)] 
Merge

16 years agoMade flag checking for ADDCHAN actually consistent with CHANFLAGS.
splidge [Wed, 2 Apr 2008 14:17:41 +0000 (15:17 +0100)] 
Made flag checking for ADDCHAN actually consistent with CHANFLAGS.

16 years agoMerge.
Chris Porter [Wed, 2 Apr 2008 14:11:26 +0000 (15:11 +0100)] 
Merge.

16 years agoAdd qchanflags to newsearch.
Chris Porter [Wed, 2 Apr 2008 14:07:52 +0000 (15:07 +0100)] 
Add qchanflags to newsearch.

16 years agoMerge.
splidge [Wed, 2 Apr 2008 14:07:29 +0000 (15:07 +0100)] 
Merge.

16 years agoDon't allow opers to make -j channels via ADDCHAN.
splidge [Wed, 2 Apr 2008 14:06:00 +0000 (15:06 +0100)] 
Don't allow opers to make -j channels via ADDCHAN.

16 years agoMerge
splidge [Wed, 2 Apr 2008 13:17:28 +0000 (14:17 +0100)] 
Merge

16 years agoDon't core if someone uses REJOIN on a channel with only Q in it.
splidge [Wed, 2 Apr 2008 13:17:05 +0000 (14:17 +0100)] 
Don't core if someone uses REJOIN on a channel with only Q in it.

16 years agoMerge.
splidge [Wed, 2 Apr 2008 13:03:17 +0000 (14:03 +0100)] 
Merge.

16 years agoMore correct fix for topic setting - reusing the same TS is OK, just don't ever set...
splidge [Wed, 2 Apr 2008 13:02:44 +0000 (14:02 +0100)] 
More correct fix for topic setting - reusing the same TS is OK, just don't ever set an older one.

16 years agoMerge.
splidge [Wed, 2 Apr 2008 12:08:15 +0000 (13:08 +0100)] 
Merge.

16 years agoAllow opers to REMOVEUSER owners.
splidge [Wed, 2 Apr 2008 12:07:46 +0000 (13:07 +0100)] 
Allow opers to REMOVEUSER owners.

16 years agoWhen setting the topic, make sure that the new timestamp is always truly newer than...
splidge [Wed, 2 Apr 2008 12:04:20 +0000 (13:04 +0100)] 
When setting the topic, make sure that the new timestamp is always truly newer than the old one.

16 years agoServers are allowed to set topics, so don't spam warnings when they do.
splidge [Fri, 28 Mar 2008 14:41:07 +0000 (14:41 +0000)] 
Servers are allowed to set topics, so don't spam warnings when they do.

16 years agoMerge
splidge [Fri, 28 Mar 2008 14:19:08 +0000 (14:19 +0000)] 
Merge

16 years agoDon't core in unsuspendchan if there is no suspend reason.
splidge [Fri, 28 Mar 2008 14:18:47 +0000 (14:18 +0000)] 
Don't core in unsuspendchan if there is no suspend reason.

16 years agoCompile fixes for DOMAINMODE
splidge [Fri, 28 Mar 2008 14:06:06 +0000 (14:06 +0000)] 
Compile fixes for DOMAINMODE

16 years agoChanged renchan argcount to 3 - this will prevent it creating channel names
splidge [Fri, 28 Mar 2008 14:05:15 +0000 (14:05 +0000)] 
Changed renchan argcount to 3 - this will prevent it creating channel names
with spaces in them.

16 years agoDon't core in suspendchanlist if there's no suspension reason given.
splidge [Fri, 28 Mar 2008 14:02:01 +0000 (14:02 +0000)] 
Don't core in suspendchanlist if there's no suspension reason given.

16 years agoDon't core if someone uses REJOIN on an empty channel.
splidge [Fri, 28 Mar 2008 13:56:04 +0000 (13:56 +0000)] 
Don't core if someone uses REJOIN on an empty channel.

16 years agoMerge.
splidge [Fri, 28 Mar 2008 13:46:58 +0000 (13:46 +0000)] 
Merge.

16 years agoAdded sanity check to DOMAINMODE
splidge [Fri, 28 Mar 2008 13:45:54 +0000 (13:45 +0000)] 
Added sanity check to DOMAINMODE

16 years agoWarning fix.
splidge [Thu, 27 Mar 2008 15:47:21 +0000 (15:47 +0000)] 
Warning fix.

16 years agoIgnore users encroaching on nicks is their user@host matches that used for the last...
splidge [Thu, 27 Mar 2008 15:42:54 +0000 (15:42 +0000)] 
Ignore users encroaching on nicks is their user@host matches that used for the last auth.

16 years agoMade RGREP clean up properly at the end. Also fixed RGREP help to not say GREP.
splidge [Thu, 27 Mar 2008 11:19:45 +0000 (11:19 +0000)] 
Made RGREP clean up properly at the end.  Also fixed RGREP help to not say GREP.

16 years agoUpdates to chanserv grepper.
splidge [Thu, 27 Mar 2008 11:07:32 +0000 (11:07 +0000)] 
Updates to chanserv grepper.

16 years agoMerge.
splidge [Thu, 27 Mar 2008 10:51:29 +0000 (10:51 +0000)] 
Merge.

16 years agoMerge
Cruicky [Thu, 27 Mar 2008 10:41:34 +0000 (10:41 +0000)] 
Merge

16 years agoRefactor grep code so it serves 2 commands, and introduce the RGREP command
Cruicky [Thu, 27 Mar 2008 10:40:21 +0000 (10:40 +0000)] 
Refactor grep code so it serves 2 commands, and introduce the RGREP command
RGREP <days in past> <pattern>
This starts at the log file name chanservlog.? and then works forward to chanservlog

16 years agoMerge
splidge [Thu, 27 Mar 2008 10:39:12 +0000 (10:39 +0000)] 
Merge

16 years agoMerge
splidge [Thu, 27 Mar 2008 10:31:59 +0000 (10:31 +0000)] 
Merge

16 years agoMerge
splidge [Thu, 27 Mar 2008 10:31:19 +0000 (10:31 +0000)] 
Merge

16 years agoMerge
splidge [Thu, 27 Mar 2008 10:27:28 +0000 (10:27 +0000)] 
Merge

16 years agoUpdated Q's auth routines to set a unique timestamp for each auth session on
splidge [Thu, 27 Mar 2008 10:26:49 +0000 (10:26 +0000)] 
Updated Q's auth routines to set a unique timestamp for each auth session on
a given account.

16 years agoAdded ability to specify timestamp when setting account.
splidge [Thu, 27 Mar 2008 10:24:23 +0000 (10:24 +0000)] 
Added ability to specify timestamp when setting account.

16 years agoMerge
splidge [Thu, 27 Mar 2008 10:12:55 +0000 (10:12 +0000)] 
Merge

16 years agoMade the core reopen the logfile on SIGUSR1
splidge [Thu, 27 Mar 2008 10:12:10 +0000 (10:12 +0000)] 
Made the core reopen the logfile on SIGUSR1

16 years agoMerge.
Chris Porter [Wed, 26 Mar 2008 04:09:56 +0000 (04:09 +0000)] 
Merge.

16 years agoMake claimnick easier to extract with grep.
Chris Porter [Wed, 26 Mar 2008 04:08:36 +0000 (04:08 +0000)] 
Make claimnick easier to extract with grep.

16 years agoMerge
splidge [Wed, 26 Mar 2008 00:22:05 +0000 (00:22 +0000)] 
Merge

16 years agoIncreased chanlev limit to 500.
splidge [Wed, 26 Mar 2008 00:10:36 +0000 (00:10 +0000)] 
Increased chanlev limit to 500.

16 years agoMerge
splidge [Tue, 25 Mar 2008 16:55:54 +0000 (16:55 +0000)] 
Merge

16 years agoBugfixed the changes to cleanupdb.
splidge [Tue, 25 Mar 2008 15:46:59 +0000 (15:46 +0000)] 
Bugfixed the changes to cleanupdb.

16 years agoMerge.
splidge [Tue, 25 Mar 2008 15:27:29 +0000 (15:27 +0000)] 
Merge.

16 years agoMerge.
splidge [Tue, 25 Mar 2008 15:27:05 +0000 (15:27 +0000)] 
Merge.

16 years agoAdd code to CLEANUPDB to remove chanlev entries with no flags.
splidge [Tue, 25 Mar 2008 15:26:35 +0000 (15:26 +0000)] 
Add code to CLEANUPDB to remove chanlev entries with no flags.
These shouldn't occur except via database import, but a warning message is spammed so it can be checked.
The actual deleting code is commented out pending testing.

16 years agoTypo in newsearch Makefile.in
Chris Porter [Tue, 25 Mar 2008 06:59:09 +0000 (06:59 +0000)] 
Typo in newsearch Makefile.in

16 years agoTidy up tree printing with stringbuf.
Chris Porter [Tue, 25 Mar 2008 06:53:50 +0000 (06:53 +0000)] 
Tidy up tree printing with stringbuf.

16 years agochanserv nicksearch additions:
Chris Porter [Tue, 25 Mar 2008 06:43:21 +0000 (06:43 +0000)] 
chanserv nicksearch additions:
- newsearch commands: qemail, qlasthost, qsuspendreason, qusername
- better printauth implementation
- spewemailtwo, spewdbtwo

16 years agoAdd usersearch to AST newsearch.
Chris Porter [Tue, 25 Mar 2008 06:41:55 +0000 (06:41 +0000)] 
Add usersearch to AST newsearch.

16 years agoAdd termination function to stringbuf.
Chris Porter [Tue, 25 Mar 2008 05:41:03 +0000 (05:41 +0000)] 
Add termination function to stringbuf.

16 years agoMake it possible for modules to change the default display function in newsearch.
Chris Porter [Tue, 25 Mar 2008 05:34:38 +0000 (05:34 +0000)] 
Make it possible for modules to change the default display function in newsearch.

16 years agoRefactor string buffers.
Chris Porter [Tue, 25 Mar 2008 03:57:16 +0000 (03:57 +0000)] 
Refactor string buffers.

16 years agoMerge
splidge [Tue, 25 Mar 2008 02:19:12 +0000 (02:19 +0000)] 
Merge

16 years agoSETQUITREASON had the wrong handler.
splidge [Tue, 25 Mar 2008 02:17:03 +0000 (02:17 +0000)] 
SETQUITREASON had the wrong handler.

16 years agoMerge
splidge [Tue, 25 Mar 2008 01:23:28 +0000 (01:23 +0000)] 
Merge

16 years agoUpdate "last used" value for channel if a user auths while in it and it is
splidge [Tue, 25 Mar 2008 01:20:17 +0000 (01:20 +0000)] 
Update "last used" value for channel if a user auths while in it and it is
large enough.  Avoids losing channels where all the users join before they
auth.

16 years agoFixed getsstring() without a length parameter.
splidge [Tue, 25 Mar 2008 01:13:45 +0000 (01:13 +0000)] 
Fixed getsstring() without a length parameter.

16 years agoAdded quit reason on module unload support.
splidge [Tue, 25 Mar 2008 01:10:58 +0000 (01:10 +0000)] 
Added quit reason on module unload support.

16 years agoMerge
splidge [Tue, 25 Mar 2008 00:51:39 +0000 (00:51 +0000)] 
Merge

16 years agoUpped the channel expiry timeout to 40 days.
splidge [Tue, 25 Mar 2008 00:51:21 +0000 (00:51 +0000)] 
Upped the channel expiry timeout to 40 days.

16 years agoMerge
splidge [Tue, 25 Mar 2008 00:28:19 +0000 (00:28 +0000)] 
Merge

16 years agoMade DELUSER developer only.
splidge [Tue, 25 Mar 2008 00:25:10 +0000 (00:25 +0000)] 
Made DELUSER developer only.

16 years agoMerge.
splidge [Mon, 24 Mar 2008 23:52:14 +0000 (23:52 +0000)] 
Merge.

16 years agoAdd basics of usersearch.
Chris Porter [Mon, 24 Mar 2008 23:37:31 +0000 (23:37 +0000)] 
Add basics of usersearch.

16 years agoMerge.
splidge [Mon, 24 Mar 2008 22:50:17 +0000 (22:50 +0000)] 
Merge.

16 years agoT now sends the match buffer for glines messages.
Chris Porter [Mon, 24 Mar 2008 18:56:30 +0000 (18:56 +0000)] 
T now sends the match buffer for glines messages.

16 years agoForgot to remove stuff in the constructor :(
Chris Porter [Mon, 24 Mar 2008 09:29:15 +0000 (09:29 +0000)] 
Forgot to remove stuff in the constructor :(

16 years agoMerge.
Chris Porter [Mon, 24 Mar 2008 09:21:34 +0000 (09:21 +0000)] 
Merge.

16 years agoRemove defunc AST structure member.
Chris Porter [Mon, 24 Mar 2008 09:21:15 +0000 (09:21 +0000)] 
Remove defunc AST structure member.

16 years agoMerge.
Chris Porter [Mon, 24 Mar 2008 09:18:49 +0000 (09:18 +0000)] 
Merge.

16 years agoAdd newsearch AST implementation, including example NO command (spew).
Chris Porter [Mon, 24 Mar 2008 09:17:42 +0000 (09:17 +0000)] 
Add newsearch AST implementation, including example NO command (spew).

16 years agoFixed summary for ADDUSER.
splidge [Mon, 24 Mar 2008 01:45:02 +0000 (01:45 +0000)] 
Fixed summary for ADDUSER.

16 years agoFixed help for USERS command.
splidge [Mon, 24 Mar 2008 01:39:17 +0000 (01:39 +0000)] 
Fixed help for USERS command.

16 years agoIncreased argument count for Q version of chansearch and newsearch.
splidge [Mon, 24 Mar 2008 00:55:49 +0000 (00:55 +0000)] 
Increased argument count for Q version of chansearch and newsearch.

16 years agoMerge.
splidge [Sun, 23 Mar 2008 14:41:34 +0000 (14:41 +0000)] 
Merge.

16 years agoMake sure that last use time gets updated, even for +b users
splidge [Sun, 23 Mar 2008 14:39:55 +0000 (14:39 +0000)] 
Make sure that last use time gets updated, even for +b users

16 years agoAdd Q9 wrappers for chanserv/nicksearch.
Chris Porter [Sun, 23 Mar 2008 06:10:30 +0000 (06:10 +0000)] 
Add Q9 wrappers for chanserv/nicksearch.

16 years agoSome more refactoring in newsearch.
Chris Porter [Sun, 23 Mar 2008 05:51:28 +0000 (05:51 +0000)] 
Some more refactoring in newsearch.

16 years agoNow I realise I broke Q9's newsearch...
Chris Porter [Sun, 23 Mar 2008 05:17:29 +0000 (05:17 +0000)] 
Now I realise I broke Q9's newsearch...

16 years agoAdd contexts to display functions.
Chris Porter [Sun, 23 Mar 2008 05:17:21 +0000 (05:17 +0000)] 
Add contexts to display functions.

16 years agoAdd a context to all newsearch exe/parse/free functions, currently we store the parse...
Chris Porter [Sun, 23 Mar 2008 05:10:18 +0000 (05:10 +0000)] 
Add a context to all newsearch exe/parse/free functions, currently we store the parser and replier in here.

16 years agoRefactor the execution functions in nicksearch.
Chris Porter [Sun, 23 Mar 2008 04:19:48 +0000 (04:19 +0000)] 
Refactor the execution functions in nicksearch.

16 years agoMerge.
Chris Porter [Sun, 23 Mar 2008 00:40:38 +0000 (00:40 +0000)] 
Merge.

16 years agoSnail modification, also add help url to challenge auth.
Chris Porter [Sun, 23 Mar 2008 00:39:00 +0000 (00:39 +0000)] 
Snail modification, also add help url to challenge auth.

16 years agoUpdated SPEWDB to match old Q's functionality.
splidge [Sat, 22 Mar 2008 17:04:45 +0000 (17:04 +0000)] 
Updated SPEWDB to match old Q's functionality.

16 years ago(hopefully) restored old autolimit semantics.
splidge [Sat, 22 Mar 2008 13:44:32 +0000 (13:44 +0000)] 
(hopefully) restored old autolimit semantics.

16 years agoAdded some things to chanserv_newsearch.
splidge [Sat, 22 Mar 2008 13:31:53 +0000 (13:31 +0000)] 
Added some things to chanserv_newsearch.

Channel display format "qusers" displays a summary of the known users on that channel.
Channel search term "qusers" returns the number of known users on that channel.  Optional argument is the flags the user must have (all flags specified with + and none with - must be present for it to match).

16 years agoUse the local variables rather than the rcp members when doing chanflags
splidge [Sat, 22 Mar 2008 12:26:23 +0000 (12:26 +0000)] 
Use the local variables rather than the rcp members when doing chanflags
none.

16 years agoIf someone specifies flags to adduser, don't try and look the flags up as a
splidge [Sat, 22 Mar 2008 12:14:09 +0000 (12:14 +0000)] 
If someone specifies flags to adduser, don't try and look the flags up as a
user as well (this was causing a harmless error message since nicks can't
start with +)

16 years agoMake sure the channel exists before doing anything in OP and VOICE.
splidge [Sat, 22 Mar 2008 11:27:55 +0000 (11:27 +0000)] 
Make sure the channel exists before doing anything in OP and VOICE.

16 years agoFix auth attempt warnings.
Chris Porter [Sat, 22 Mar 2008 08:59:58 +0000 (08:59 +0000)] 
Fix auth attempt warnings.