]>
jfr.im git - irc/quakenet/newserv.git/log
Chris Porter [Wed, 26 Mar 2008 04:08:36 +0000 (04:08 +0000)]
Make claimnick easier to extract with grep.
splidge [Wed, 26 Mar 2008 00:22:05 +0000 (00:22 +0000)]
Merge
splidge [Wed, 26 Mar 2008 00:10:36 +0000 (00:10 +0000)]
Increased chanlev limit to 500.
splidge [Tue, 25 Mar 2008 16:55:54 +0000 (16:55 +0000)]
Merge
splidge [Tue, 25 Mar 2008 15:46:59 +0000 (15:46 +0000)]
Bugfixed the changes to cleanupdb.
splidge [Tue, 25 Mar 2008 15:27:29 +0000 (15:27 +0000)]
Merge.
splidge [Tue, 25 Mar 2008 15:27:05 +0000 (15:27 +0000)]
Merge.
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.
Chris Porter [Tue, 25 Mar 2008 06:59:09 +0000 (06:59 +0000)]
Typo in newsearch Makefile.in
Chris Porter [Tue, 25 Mar 2008 06:53:50 +0000 (06:53 +0000)]
Tidy up tree printing with stringbuf.
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
Chris Porter [Tue, 25 Mar 2008 06:41:55 +0000 (06:41 +0000)]
Add usersearch to AST newsearch.
Chris Porter [Tue, 25 Mar 2008 05:41:03 +0000 (05:41 +0000)]
Add termination function to stringbuf.
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.
Chris Porter [Tue, 25 Mar 2008 03:57:16 +0000 (03:57 +0000)]
Refactor string buffers.
splidge [Tue, 25 Mar 2008 02:19:12 +0000 (02:19 +0000)]
Merge
splidge [Tue, 25 Mar 2008 02:17:03 +0000 (02:17 +0000)]
SETQUITREASON had the wrong handler.
splidge [Tue, 25 Mar 2008 01:23:28 +0000 (01:23 +0000)]
Merge
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.
splidge [Tue, 25 Mar 2008 01:13:45 +0000 (01:13 +0000)]
Fixed getsstring() without a length parameter.
splidge [Tue, 25 Mar 2008 01:10:58 +0000 (01:10 +0000)]
Added quit reason on module unload support.
splidge [Tue, 25 Mar 2008 00:51:39 +0000 (00:51 +0000)]
Merge
splidge [Tue, 25 Mar 2008 00:51:21 +0000 (00:51 +0000)]
Upped the channel expiry timeout to 40 days.
splidge [Tue, 25 Mar 2008 00:28:19 +0000 (00:28 +0000)]
Merge
splidge [Tue, 25 Mar 2008 00:25:10 +0000 (00:25 +0000)]
Made DELUSER developer only.
splidge [Mon, 24 Mar 2008 23:52:14 +0000 (23:52 +0000)]
Merge.
Chris Porter [Mon, 24 Mar 2008 23:37:31 +0000 (23:37 +0000)]
Add basics of usersearch.
splidge [Mon, 24 Mar 2008 22:50:17 +0000 (22:50 +0000)]
Merge.
Chris Porter [Mon, 24 Mar 2008 18:56:30 +0000 (18:56 +0000)]
T now sends the match buffer for glines messages.
Chris Porter [Mon, 24 Mar 2008 09:29:15 +0000 (09:29 +0000)]
Forgot to remove stuff in the constructor :(
Chris Porter [Mon, 24 Mar 2008 09:21:34 +0000 (09:21 +0000)]
Merge.
Chris Porter [Mon, 24 Mar 2008 09:21:15 +0000 (09:21 +0000)]
Remove defunc AST structure member.
Chris Porter [Mon, 24 Mar 2008 09:18:49 +0000 (09:18 +0000)]
Merge.
Chris Porter [Mon, 24 Mar 2008 09:17:42 +0000 (09:17 +0000)]
Add newsearch AST implementation, including example NO command (spew).
splidge [Mon, 24 Mar 2008 01:45:02 +0000 (01:45 +0000)]
Fixed summary for ADDUSER.
splidge [Mon, 24 Mar 2008 01:39:17 +0000 (01:39 +0000)]
Fixed help for USERS command.
splidge [Mon, 24 Mar 2008 00:55:49 +0000 (00:55 +0000)]
Increased argument count for Q version of chansearch and newsearch.
Paul [Sun, 23 Mar 2008 17:18:12 +0000 (17:18 +0000)]
Make newserv send +6 token
Paul [Sun, 23 Mar 2008 17:17:46 +0000 (17:17 +0000)]
add pool for patricia, dump old stuff from nick
Paul [Sun, 23 Mar 2008 17:16:28 +0000 (17:16 +0000)]
modularise
splidge [Sun, 23 Mar 2008 14:41:34 +0000 (14:41 +0000)]
Merge.
splidge [Sun, 23 Mar 2008 14:39:55 +0000 (14:39 +0000)]
Make sure that last use time gets updated, even for +b users
Paul [Sun, 23 Mar 2008 12:44:09 +0000 (12:44 +0000)]
move patricia files ready for module
Paul [Sun, 23 Mar 2008 12:43:15 +0000 (12:43 +0000)]
remove patricia.o
Chris Porter [Sun, 23 Mar 2008 06:10:30 +0000 (06:10 +0000)]
Add Q9 wrappers for chanserv/nicksearch.
Chris Porter [Sun, 23 Mar 2008 05:51:28 +0000 (05:51 +0000)]
Some more refactoring in newsearch.
Chris Porter [Sun, 23 Mar 2008 05:17:29 +0000 (05:17 +0000)]
Now I realise I broke Q9's newsearch...
Chris Porter [Sun, 23 Mar 2008 05:17:21 +0000 (05:17 +0000)]
Add contexts to display functions.
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.
Chris Porter [Sun, 23 Mar 2008 04:19:48 +0000 (04:19 +0000)]
Refactor the execution functions in nicksearch.
Chris Porter [Sun, 23 Mar 2008 00:40:38 +0000 (00:40 +0000)]
Merge.
Chris Porter [Sun, 23 Mar 2008 00:39:00 +0000 (00:39 +0000)]
Snail modification, also add help url to challenge auth.
Paul [Sat, 22 Mar 2008 23:27:46 +0000 (23:27 +0000)]
tidy
splidge [Sat, 22 Mar 2008 17:04:45 +0000 (17:04 +0000)]
Updated SPEWDB to match old Q's functionality.
splidge [Sat, 22 Mar 2008 13:44:32 +0000 (13:44 +0000)]
(hopefully) restored old autolimit semantics.
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).
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.
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 +)
splidge [Sat, 22 Mar 2008 11:27:55 +0000 (11:27 +0000)]
Make sure the channel exists before doing anything in OP and VOICE.
Chris Porter [Sat, 22 Mar 2008 08:59:58 +0000 (08:59 +0000)]
Fix auth attempt warnings.
Chris Porter [Sat, 22 Mar 2008 04:54:35 +0000 (04:54 +0000)]
MERGE
Chris Porter [Sat, 22 Mar 2008 04:53:41 +0000 (04:53 +0000)]
Add suspension display to whois.
splidge [Sat, 22 Mar 2008 04:35:47 +0000 (04:35 +0000)]
Merge.
splidge [Sat, 22 Mar 2008 04:34:34 +0000 (04:34 +0000)]
Changed SUSPENDUSERLIST to have the semantics stated in the help. Also stopped it calling time(NULL) for every line.
splidge [Sat, 22 Mar 2008 03:54:27 +0000 (03:54 +0000)]
Merge again. Maybe if I push then I won't have to keep doing this!
Chris Porter [Sat, 22 Mar 2008 03:46:41 +0000 (03:46 +0000)]
Add more snails.
splidge [Sat, 22 Mar 2008 03:23:58 +0000 (03:23 +0000)]
Merge.
Chris Porter [Sat, 22 Mar 2008 03:20:17 +0000 (03:20 +0000)]
Add snails command.
Chris Porter [Sat, 22 Mar 2008 03:18:59 +0000 (03:18 +0000)]
Fix some typos in help.
splidge [Sat, 22 Mar 2008 02:51:11 +0000 (02:51 +0000)]
Added E to authtracker queries to suppress warnings from postgres
Chris Porter [Sat, 22 Mar 2008 02:25:09 +0000 (02:25 +0000)]
Fix typo in dbapi.
Chris Porter [Sat, 22 Mar 2008 01:01:32 +0000 (01:01 +0000)]
match() has funny semantics...
Chris Porter [Sat, 22 Mar 2008 00:01:57 +0000 (00:01 +0000)]
Switch match order around in maillock.
Chris Porter [Fri, 21 Mar 2008 23:29:37 +0000 (23:29 +0000)]
1.00!
\o we're out of beta and releasing on time \o
Chris Porter [Fri, 21 Mar 2008 23:28:55 +0000 (23:28 +0000)]
Fix delayed glines when unsuspended, also fix logic so it doesn't kill suspended users...
Chris Porter [Fri, 21 Mar 2008 05:25:56 +0000 (05:25 +0000)]
SQLite support is now complete, if it returns busy the queries are queued up, a query processor is scheduled and runs once a second.
Added 'detach' command, supposed to be used when you've finished with a schema.
Chris Porter [Thu, 20 Mar 2008 19:36:45 +0000 (19:36 +0000)]
Refactor sqlite code in preparation for proper scheduling stuff.
Chris Porter [Thu, 20 Mar 2008 18:31:31 +0000 (18:31 +0000)]
Shouldn't regexgline shouldn't target opers/services.
Chris Porter [Thu, 20 Mar 2008 16:48:51 +0000 (16:48 +0000)]
Add visiblehostmask to lua.
splidge [Thu, 20 Mar 2008 16:16:19 +0000 (16:16 +0000)]
Made CHANFLAGS display the "nothing changed" message instead of saying Done.
Also changed that message a bit to be more helpful.
splidge [Thu, 20 Mar 2008 15:59:38 +0000 (15:59 +0000)]
Bumped version to 1.00-RC3 and disabled some commands.
Updated VERSION replies.
splidge [Thu, 20 Mar 2008 14:13:02 +0000 (14:13 +0000)]
Made sure we don't call strncpy with a negative length.
splidge [Thu, 20 Mar 2008 11:55:15 +0000 (11:55 +0000)]
ADDCHAN now accepts a 5th parameter indicating the user to send the confirmation messages to.
splidge [Wed, 19 Mar 2008 22:48:33 +0000 (22:48 +0000)]
Fixed sqlite so it doesn't core when loading tables.
splidge [Wed, 19 Mar 2008 21:59:24 +0000 (21:59 +0000)]
Add a backoff if sqlite returns busy (seems to be buggy, warning!)
splidge [Wed, 19 Mar 2008 17:49:01 +0000 (17:49 +0000)]
Removed some of the duplicated code and brace forests from ns-kill.c
splidge [Wed, 19 Mar 2008 16:51:36 +0000 (16:51 +0000)]
Don't duplicate work for +k chanmode - cs_banuser already checks if a user is banned before banning them.
splidge [Wed, 19 Mar 2008 16:43:53 +0000 (16:43 +0000)]
Changed some more nickbanned() to nickbanned_visible() in chanserv.
splidge [Wed, 19 Mar 2008 11:54:54 +0000 (11:54 +0000)]
Must.. Compile.. Before.. Commit..
splidge [Wed, 19 Mar 2008 11:41:19 +0000 (11:41 +0000)]
Changed chanserv to use the "visible" versions of the ban checking functions.
This means that you can't, for example, use a chanserv channel with +e set as an "oracle" to divine someone's IP address. Note that this doesn't really fix the underlying leak but at least prevents chanserv from making it noticeably easier.
splidge [Wed, 19 Mar 2008 11:39:48 +0000 (11:39 +0000)]
Added nickbanned_visible() and nickmatchban_visible().
These functions act like their normal counterparts but don't check non-visible things. This basically means the real ident isn't checked for +h users with a fake ident, and the real host and IP isn't checked for +h/+rx users.
Chris Porter [Wed, 19 Mar 2008 06:40:09 +0000 (06:40 +0000)]
SQLite now has sync off!
Use nsmalloc in pqsql/sqlite.
Fix warning in chanserv.
Chris Porter [Wed, 19 Mar 2008 04:50:17 +0000 (04:50 +0000)]
Configure script now lets you select your database engine with --with-dbapi=blah.
Modified modules Makefiles to support this.
You can now suppy modules and include paths on the configure line.
Chris Porter [Wed, 19 Mar 2008 03:35:38 +0000 (03:35 +0000)]
Add support for a database abstraction layer (dbapi).
Patch Q9/P/NO/Lua to support dbapi.
Fix a few dbclear bugs in noperserv/proxyscan/chanserv.
Add experimental sqlite module.
Patch pysql for new dbapi.
Chris Porter [Tue, 18 Mar 2008 17:35:40 +0000 (17:35 +0000)]
Remove static stuff as it's no longer needed.
Chris Porter [Tue, 18 Mar 2008 17:35:17 +0000 (17:35 +0000)]
Can now do substitutions inside others.
Chris Porter [Tue, 18 Mar 2008 17:14:06 +0000 (17:14 +0000)]
Merge.
Chris Porter [Tue, 18 Mar 2008 17:12:25 +0000 (17:12 +0000)]
Add configurable substitutions to configure in order to fix lua.
splidge [Tue, 18 Mar 2008 15:55:15 +0000 (15:55 +0000)]
Added "+q" userflag for generic "QuakeNet staff".
Updated the status messages from whois to comply with current message.
Chris Porter [Tue, 18 Mar 2008 15:11:17 +0000 (15:11 +0000)]
Remove the ability for opers to set gline/delayed gline in userflags.