]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
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.

16 years agoMERGE
Chris Porter [Sat, 22 Mar 2008 04:54:35 +0000 (04:54 +0000)] 
MERGE

16 years agoAdd suspension display to whois.
Chris Porter [Sat, 22 Mar 2008 04:53:41 +0000 (04:53 +0000)] 
Add suspension display to whois.

16 years agoMerge.
splidge [Sat, 22 Mar 2008 04:35:47 +0000 (04:35 +0000)] 
Merge.

16 years agoChanged SUSPENDUSERLIST to have the semantics stated in the help. Also stopped it...
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.

16 years agoMerge again. Maybe if I push then I won't have to keep doing this!
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!

16 years agoAdd more snails.
Chris Porter [Sat, 22 Mar 2008 03:46:41 +0000 (03:46 +0000)] 
Add more snails.

16 years agoMerge.
splidge [Sat, 22 Mar 2008 03:23:58 +0000 (03:23 +0000)] 
Merge.

16 years agoAdd snails command.
Chris Porter [Sat, 22 Mar 2008 03:20:17 +0000 (03:20 +0000)] 
Add snails command.

16 years agoFix some typos in help.
Chris Porter [Sat, 22 Mar 2008 03:18:59 +0000 (03:18 +0000)] 
Fix some typos in help.

16 years agoAdded E to authtracker queries to suppress warnings from postgres
splidge [Sat, 22 Mar 2008 02:51:11 +0000 (02:51 +0000)] 
Added E to authtracker queries to suppress warnings from postgres

16 years agoFix typo in dbapi.
Chris Porter [Sat, 22 Mar 2008 02:25:09 +0000 (02:25 +0000)] 
Fix typo in dbapi.

16 years agomatch() has funny semantics...
Chris Porter [Sat, 22 Mar 2008 01:01:32 +0000 (01:01 +0000)] 
match() has funny semantics...

16 years agoSwitch match order around in maillock.
Chris Porter [Sat, 22 Mar 2008 00:01:57 +0000 (00:01 +0000)] 
Switch match order around in maillock.

16 years ago1.00!
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

16 years agoFix delayed glines when unsuspended, also fix logic so it doesn't kill suspended...
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...

16 years agoSQLite support is now complete, if it returns busy the queries are queued up, a query...
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.

16 years agoRefactor sqlite code in preparation for proper scheduling stuff.
Chris Porter [Thu, 20 Mar 2008 19:36:45 +0000 (19:36 +0000)] 
Refactor sqlite code in preparation for proper scheduling stuff.

16 years agoShouldn't regexgline shouldn't target opers/services.
Chris Porter [Thu, 20 Mar 2008 18:31:31 +0000 (18:31 +0000)] 
Shouldn't regexgline shouldn't target opers/services.

16 years agoMade CHANFLAGS display the "nothing changed" message instead of saying Done.
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.

16 years agoBumped version to 1.00-RC3 and disabled some commands.
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.

16 years agoMade sure we don't call strncpy with a negative length.
splidge [Thu, 20 Mar 2008 14:13:02 +0000 (14:13 +0000)] 
Made sure we don't call strncpy with a negative length.

16 years agoADDCHAN now accepts a 5th parameter indicating the user to send the confirmation...
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.

16 years agoFixed sqlite so it doesn't core when loading tables.
splidge [Wed, 19 Mar 2008 22:48:33 +0000 (22:48 +0000)] 
Fixed sqlite so it doesn't core when loading tables.

16 years agoAdd a backoff if sqlite returns busy (seems to be buggy, warning!)
splidge [Wed, 19 Mar 2008 21:59:24 +0000 (21:59 +0000)] 
Add a backoff if sqlite returns busy (seems to be buggy, warning!)

16 years agoRemoved some of the duplicated code and brace forests from ns-kill.c
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

16 years agoDon't duplicate work for +k chanmode - cs_banuser already checks if a user is banned...
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.

16 years agoChanged some more nickbanned() to nickbanned_visible() in chanserv.
splidge [Wed, 19 Mar 2008 16:43:53 +0000 (16:43 +0000)] 
Changed some more nickbanned() to nickbanned_visible() in chanserv.

16 years agoMust.. Compile.. Before.. Commit..
splidge [Wed, 19 Mar 2008 11:54:54 +0000 (11:54 +0000)] 
Must.. Compile.. Before.. Commit..

16 years agoChanged chanserv to use the "visible" versions of the ban checking functions.
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.

16 years agoAdded nickbanned_visible() and nickmatchban_visible().
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.

16 years agoSQLite now has sync off!
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.

16 years agoConfigure script now lets you select your database engine with --with-dbapi=blah.
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.

16 years agoAdd support for a database abstraction layer (dbapi).
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.

16 years agoRemove static stuff as it's no longer needed.
Chris Porter [Tue, 18 Mar 2008 17:35:40 +0000 (17:35 +0000)] 
Remove static stuff as it's no longer needed.

16 years agoCan now do substitutions inside others.
Chris Porter [Tue, 18 Mar 2008 17:35:17 +0000 (17:35 +0000)] 
Can now do substitutions inside others.

16 years agoMerge.
Chris Porter [Tue, 18 Mar 2008 17:14:06 +0000 (17:14 +0000)] 
Merge.

16 years agoAdd configurable substitutions to configure in order to fix lua.
Chris Porter [Tue, 18 Mar 2008 17:12:25 +0000 (17:12 +0000)] 
Add configurable substitutions to configure in order to fix lua.

16 years agoAdded "+q" userflag for generic "QuakeNet staff".
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.

16 years agoRemove the ability for opers to set gline/delayed gline in userflags.
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.

16 years agoOoops. That's why you run code before committing it.
splidge [Mon, 17 Mar 2008 20:16:05 +0000 (20:16 +0000)] 
Ooops.  That's why you run code before committing it.

16 years agoMerge.
Chris Porter [Mon, 17 Mar 2008 20:09:22 +0000 (20:09 +0000)] 
Merge.

16 years agoFix static linking and buildid.
Chris Porter [Mon, 17 Mar 2008 20:09:04 +0000 (20:09 +0000)] 
Fix static linking and buildid.

16 years agoAdd support for "none" to remove chanmode setting.
splidge [Mon, 17 Mar 2008 12:50:30 +0000 (12:50 +0000)] 
Add support for "none" to remove chanmode setting.

16 years agoAdded clean_key() call to forcemode. This should sanitise keys users are trying...
splidge [Mon, 17 Mar 2008 12:38:01 +0000 (12:38 +0000)] 
Added clean_key() call to forcemode.  This should sanitise keys users are trying to force via CHANMODE in exactly the same way that ircu does for channel modes.

16 years agoAdded clean_key() to the routines that can originate keys. This is because otherwise...
splidge [Mon, 17 Mar 2008 12:37:28 +0000 (12:37 +0000)] 
Added clean_key() to the routines that can originate keys.  This is because otherwise we can cause desync by setting a key ircu doesn't like.

16 years agoAdded clean_key() function. We are trusting ircu so we don't actually use it on...
splidge [Mon, 17 Mar 2008 12:36:38 +0000 (12:36 +0000)] 
Added clean_key() function.  We are trusting ircu so we don't actually use it on incoming modes...

16 years agoNOW IT'S GONE
Chris Porter [Mon, 17 Mar 2008 06:38:30 +0000 (06:38 +0000)] 
NOW IT'S GONE

16 years agoForgot about the .h file.
Chris Porter [Mon, 17 Mar 2008 06:36:00 +0000 (06:36 +0000)] 
Forgot about the .h file.

16 years agoClearup some uninitialised variables.
Chris Porter [Mon, 17 Mar 2008 06:33:35 +0000 (06:33 +0000)] 
Clearup some uninitialised variables.
Remove authhash, there's a subtle bug I can't be bothered to fix.

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

16 years agopgsql is now optional for lua.
Chris Porter [Mon, 17 Mar 2008 06:09:47 +0000 (06:09 +0000)] 
pgsql is now optional for lua.

16 years agoAdd config.h support
Chris Porter [Mon, 17 Mar 2008 05:56:29 +0000 (05:56 +0000)] 
Add config.h support

16 years agoForgot authtracker file.
Chris Porter [Mon, 17 Mar 2008 05:37:33 +0000 (05:37 +0000)] 
Forgot authtracker file.

16 years agoFew renames of files for new build system.
Chris Porter [Mon, 17 Mar 2008 05:33:01 +0000 (05:33 +0000)] 
Few renames of files for new build system.

16 years agoMove nterfacer_spamscan2 to spamscan2.
Chris Porter [Mon, 17 Mar 2008 05:23:10 +0000 (05:23 +0000)] 
Move nterfacer_spamscan2 to spamscan2.

16 years agoAdd local configure configuration file support.
Chris Porter [Mon, 17 Mar 2008 05:20:28 +0000 (05:20 +0000)] 
Add local configure configuration file support.

16 years agoGeoIP needs distclean.
Chris Porter [Mon, 17 Mar 2008 04:57:43 +0000 (04:57 +0000)] 
GeoIP needs distclean.

16 years agoGeoIP moved around a bit, also a few bits of cleanup and some optimisations in the...
Chris Porter [Mon, 17 Mar 2008 04:56:10 +0000 (04:56 +0000)] 
GeoIP moved around a bit, also a few bits of cleanup and some optimisations in the makefiles.

16 years agoNeed to add Q9's build makefile, also mercurial seems to have special meaning for...
Chris Porter [Mon, 17 Mar 2008 04:48:01 +0000 (04:48 +0000)] 
Need to add Q9's build makefile, also mercurial seems to have special meaning for id tip and id+ tip...

16 years agoHuge cleanup of configure, seperate out configuration into seperate file.
Chris Porter [Mon, 17 Mar 2008 04:42:59 +0000 (04:42 +0000)] 
Huge cleanup of configure, seperate out configuration into seperate file.

16 years agoLarge reorganisation of all Makefiles, including new configure script.
Chris Porter [Mon, 17 Mar 2008 02:35:34 +0000 (02:35 +0000)] 
Large reorganisation of all Makefiles, including new configure script.

16 years agoRedo BUILDID stuff for pmake.
Chris Porter [Sun, 16 Mar 2008 21:37:08 +0000 (21:37 +0000)] 
Redo BUILDID stuff for pmake.

16 years agoUse includes in all makefiles.
Chris Porter [Sun, 16 Mar 2008 19:13:58 +0000 (19:13 +0000)] 
Use includes in all makefiles.

16 years agoAdd a configure script and simplify the build process.
Chris Porter [Sun, 16 Mar 2008 18:58:04 +0000 (18:58 +0000)] 
Add a configure script and simplify the build process.

16 years agoAdd a configure script to newserv.
Chris Porter [Sun, 16 Mar 2008 18:25:43 +0000 (18:25 +0000)] 
Add a configure script to newserv.

16 years agosstring leaks
Paul [Sun, 16 Mar 2008 16:48:35 +0000 (16:48 +0000)] 
sstring leaks

16 years agoRearchitecture makefiles, stage 1.
Chris Porter [Sun, 16 Mar 2008 04:32:47 +0000 (04:32 +0000)] 
Rearchitecture makefiles, stage 1.

16 years agoFix batcher for new schema.
Chris Porter [Sun, 16 Mar 2008 03:17:50 +0000 (03:17 +0000)] 
Fix batcher for new schema.

16 years agoAdd u format specifier to q9snprintf, cleanup the code and add an ERR_STOP Error...
Chris Porter [Sun, 16 Mar 2008 03:16:41 +0000 (03:16 +0000)] 
Add u format specifier to q9snprintf, cleanup the code and add an ERR_STOP Error for when a bad specifier is specified.

16 years agoMerge.
splidge [Sat, 15 Mar 2008 12:42:20 +0000 (12:42 +0000)] 
Merge.

16 years agoMoved all chanserv tables into schema "chanserv".
splidge [Sat, 15 Mar 2008 12:35:21 +0000 (12:35 +0000)] 
Moved all chanserv tables into schema "chanserv".

16 years agoFixed problem where you could set silly limits via CHANMODE which caused desync.
splidge [Sat, 15 Mar 2008 12:34:25 +0000 (12:34 +0000)] 
Fixed problem where you could set silly limits via CHANMODE which caused desync.

16 years agoMerge.
splidge [Sat, 15 Mar 2008 11:15:37 +0000 (11:15 +0000)] 
Merge.

16 years agoReinstall signal handler after SIGUSR1
splidge [Sat, 15 Mar 2008 10:17:09 +0000 (10:17 +0000)] 
Reinstall signal handler after SIGUSR1

16 years agoAnd then actually remember to run hg add before committing ...
Ian Barker [Fri, 14 Mar 2008 21:21:59 +0000 (21:21 +0000)] 
And then actually remember to run hg add before committing ...

16 years agoAdd notice functionality to newsearch
Ian Barker [Fri, 14 Mar 2008 21:20:14 +0000 (21:20 +0000)] 
Add notice functionality to newsearch

16 years agoUpdate USERS command to have silly restriction on "helpers" as per helpmod2.
splidge [Fri, 14 Mar 2008 15:39:26 +0000 (15:39 +0000)] 
Update USERS command to have silly restriction on "helpers" as per helpmod2.

Also tidied up and documented the subtle bits.

16 years agoUpdated so that it's clear who should get +h. Before level 10s didn't get it anyway...
splidge [Fri, 14 Mar 2008 15:34:31 +0000 (15:34 +0000)] 
Updated so that it's clear who should get +h.  Before level 10s didn't get it anyway but it looked like a bug..

16 years agoMerge.
Chris Porter [Fri, 14 Mar 2008 02:55:03 +0000 (02:55 +0000)] 
Merge.

16 years agoRedo standard message API, can't do much cool stuff yet but it's a start.
Chris Porter [Fri, 14 Mar 2008 02:54:05 +0000 (02:54 +0000)] 
Redo standard message API, can't do much cool stuff yet but it's a start.

16 years agoMake multiline thingies single line in preparation for parsing+regeneration.
Chris Porter [Fri, 14 Mar 2008 00:44:13 +0000 (00:44 +0000)] 
Make multiline thingies single line in preparation for parsing+regeneration.

16 years agoAdded tag q9-1.00-rc2 for changeset 193f69a04816
Chris Porter [Fri, 14 Mar 2008 00:41:14 +0000 (00:41 +0000)] 
Added tag q9-1.00-rc2 for changeset 193f69a04816

16 years agoRC2
Chris Porter [Fri, 14 Mar 2008 00:39:18 +0000 (00:39 +0000)] 
RC2

16 years agoMerge.
Chris Porter [Fri, 14 Mar 2008 00:31:10 +0000 (00:31 +0000)] 
Merge.

16 years agoClarify authcache messages and bump up to only warning opers (since helpers aren...
Chris Porter [Thu, 13 Mar 2008 19:28:39 +0000 (19:28 +0000)] 
Clarify authcache messages and bump up to only warning opers (since helpers aren't cached).

16 years agoUserlevel 997-999 now get +a in the conversion script.
splidge [Thu, 13 Mar 2008 12:37:34 +0000 (12:37 +0000)] 
Userlevel 997-999 now get +a in the conversion script.

16 years agoCorrection, only need to be known on the channel to use USERS.
splidge [Thu, 13 Mar 2008 01:28:34 +0000 (01:28 +0000)] 
Correction, only need to be known on the channel to use USERS.
Correction, USERS now only requires being known on the channel.
It doesn't reveal any information a known user can't already get by doing chanlev and whoising everyone.

16 years agoAdded new USERS command - shows channel users with account names and Q flags.
splidge [Thu, 13 Mar 2008 01:26:04 +0000 (01:26 +0000)] 
Added new USERS command - shows channel users with account names and Q flags.

Usable by users if they have +o on Q on the channel and are currently on it.
Usable by staff at any time.

16 years agoAdded visibleuserhost() function
splidge [Thu, 13 Mar 2008 01:24:48 +0000 (01:24 +0000)] 
Added visibleuserhost() function

16 years agoMerge.
Chris Porter [Thu, 13 Mar 2008 00:12:25 +0000 (00:12 +0000)] 
Merge.

16 years agoMerge.
Chris Porter [Thu, 13 Mar 2008 00:11:35 +0000 (00:11 +0000)] 
Merge.

16 years agoWhen calling checknick() on all nicks, do it in a delete-safe way in case one of...
splidge [Thu, 13 Mar 2008 00:11:00 +0000 (00:11 +0000)] 
When calling checknick() on all nicks, do it in a delete-safe way in case one of them is suspended.

16 years agoFix leak in unbanmask.
Chris Porter [Thu, 13 Mar 2008 00:10:45 +0000 (00:10 +0000)] 
Fix leak in unbanmask.

16 years agoRe-disable infolines. Removed most references and flags also.
splidge [Wed, 12 Mar 2008 22:44:27 +0000 (22:44 +0000)] 
Re-disable infolines.  Removed most references and flags also.

16 years agoMerge.
Chris Porter [Wed, 12 Mar 2008 19:19:21 +0000 (19:19 +0000)] 
Merge.

16 years agoFix memory leaks in noperserv/nterfacer.
Chris Porter [Wed, 12 Mar 2008 19:18:41 +0000 (19:18 +0000)] 
Fix memory leaks in noperserv/nterfacer.

16 years agoShould be target not rup...
Chris Porter [Wed, 12 Mar 2008 19:03:42 +0000 (19:03 +0000)] 
Should be target not rup...

16 years agoRe-enabled info lines, with +s override flags.
splidge [Wed, 12 Mar 2008 18:54:18 +0000 (18:54 +0000)] 
Re-enabled info lines, with +s override flags.
Numerous bugfixes including whois display and various places where incorrect flags were showing up.
Fixed some problems caused by the debug sstring library allocating zero-length strings