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

16 years agoAdd detection for lack of staff reset to batcher.
Chris Porter [Wed, 12 Mar 2008 18:48:09 +0000 (18:48 +0000)] 
Add detection for lack of staff reset to batcher.

16 years agoAdd authgate warnings.
Chris Porter [Wed, 12 Mar 2008 18:44:39 +0000 (18:44 +0000)] 
Add authgate warnings.

16 years agoDon't allow suspending of other opers without a userflags first.
Chris Porter [Wed, 12 Mar 2008 18:36:58 +0000 (18:36 +0000)] 
Don't allow suspending of other opers without a userflags first.

16 years agoDon't lock staff accounts on newpass/email and don't permit staff accounts to be...
Chris Porter [Wed, 12 Mar 2008 18:30:27 +0000 (18:30 +0000)] 
Don't lock staff accounts on newpass/email and don't permit staff accounts to be reset.

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

16 years agoMissing bracket...
Chris Porter [Wed, 12 Mar 2008 17:45:28 +0000 (17:45 +0000)] 
Missing bracket...

16 years agoDon't permit newserv to startup unless noperserv connected to db.
Chris Porter [Wed, 12 Mar 2008 17:45:11 +0000 (17:45 +0000)] 
Don't permit newserv to startup unless noperserv connected to db.

16 years agoNEVER send wall spam to relays.
Chris Porter [Wed, 12 Mar 2008 17:40:53 +0000 (17:40 +0000)] 
NEVER send wall spam to relays.

16 years agoSeperate out checkhashpass into it's own seperate module: chanserv_relay.
Chris Porter [Wed, 12 Mar 2008 17:34:06 +0000 (17:34 +0000)] 
Seperate out checkhashpass into it's own seperate module: chanserv_relay.

16 years agoAdd userid support to nterfacer.
Chris Porter [Wed, 12 Mar 2008 17:33:13 +0000 (17:33 +0000)] 
Add userid support to nterfacer.

16 years agoAdd relay access level to noperserv.
Chris Porter [Wed, 12 Mar 2008 17:32:57 +0000 (17:32 +0000)] 
Add relay access level to noperserv.

16 years agoStop newsearch's kill function showing the rest of the world a users ip address.
Ian Barker [Wed, 12 Mar 2008 17:10:55 +0000 (17:10 +0000)] 
Stop newsearch's kill function showing the rest of the world a users ip address.

16 years agoChanged SHOWCOMMANDS format a bit.
splidge [Wed, 12 Mar 2008 17:08:09 +0000 (17:08 +0000)] 
Changed SHOWCOMMANDS format a bit.

16 years agoAdded some log rotation support and other tweaks.
splidge [Wed, 12 Mar 2008 16:41:51 +0000 (16:41 +0000)] 
Added some log rotation support and other tweaks.

Used the new SIGUSR1 hook to trigger a reopen of the chanserv log file.
Changed the name of the active logfile to "chanservlog" for better logrotate compatibility
Fixed grep to actually work and tested it with the rotating logfiles
Updated userflags & whois to use the new "printflagsornone" when displaying user flags
Fixed incorrect error message in giveowner

16 years agoAdded new "printflagsornone()" function to return "none" instead of the slightly...
splidge [Wed, 12 Mar 2008 16:39:24 +0000 (16:39 +0000)] 
Added new "printflagsornone()" function to return "none" instead of the slightly unsightly "+" when no flags are set.

16 years agoAdded code to handle SIGUSR1 and trigger a hook. This can be used by modules for...
splidge [Wed, 12 Mar 2008 16:38:24 +0000 (16:38 +0000)] 
Added code to handle SIGUSR1 and trigger a hook.  This can be used by modules for rehashing etc.

16 years agoAllowed opers to bypass the +n restriction on CHANLEV again.
splidge [Wed, 12 Mar 2008 10:53:57 +0000 (10:53 +0000)] 
Allowed opers to bypass the +n restriction on CHANLEV again.
Fixed the messages related to giving +n (the CHANLEV rejection and the GIVEOWNER message).

16 years agoChanged the chanlev response messages a bit.
splidge [Wed, 12 Mar 2008 10:33:56 +0000 (10:33 +0000)] 
Changed the chanlev response messages a bit.

Added custom messages for "chanlev changed to:" "chanlev removed" and "nothing changed" and made chanlev send them as necessary.  Should avoid confusion caused by the old message scheme.

Also removed the little bugette where you could leak chanservusers by trying to add someone with no flags (or some illegal mixture like +ag)

16 years agoAuth Q9 to the network.
Chris Porter [Wed, 12 Mar 2008 04:08:27 +0000 (04:08 +0000)] 
Auth Q9 to the network.

16 years agoAdd cleanupdb channel implementation.
Chris Porter [Wed, 12 Mar 2008 03:57:04 +0000 (03:57 +0000)] 
Add cleanupdb channel implementation.

16 years agoSome small fixes; don't double-free chanuser info lines, and free up mail domains...
splidge [Wed, 12 Mar 2008 01:24:29 +0000 (01:24 +0000)] 
Some small fixes; don't double-free chanuser info lines, and free up mail domains properly.

16 years agoRemove unused variables, why can't compiler warnings be consistent?
Chris Porter [Tue, 11 Mar 2008 23:54:46 +0000 (23:54 +0000)] 
Remove unused variables, why can't compiler warnings be consistent?

16 years agoMerge.
Chris Porter [Tue, 11 Mar 2008 23:53:08 +0000 (23:53 +0000)] 
Merge.

16 years agoFix broken valgrind getsstring semantics.
Chris Porter [Tue, 11 Mar 2008 23:52:48 +0000 (23:52 +0000)] 
Fix broken valgrind getsstring semantics.

16 years agoFix null pointer dereference in banlist.
Chris Porter [Tue, 11 Mar 2008 22:02:59 +0000 (22:02 +0000)] 
Fix null pointer dereference in banlist.

16 years agoFix some leaks in T.
Chris Porter [Tue, 11 Mar 2008 21:07:16 +0000 (21:07 +0000)] 
Fix some leaks in T.

16 years agoFix a leak in nick.
Chris Porter [Tue, 11 Mar 2008 21:06:48 +0000 (21:06 +0000)] 
Fix a leak in nick.

16 years agoWrong freeall in exit, trap SIGINT.
Chris Porter [Tue, 11 Mar 2008 20:49:12 +0000 (20:49 +0000)] 
Wrong freeall in exit, trap SIGINT.