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

16 years agoMerge.
Chris Porter [Tue, 11 Mar 2008 20:31:26 +0000 (20:31 +0000)] 
Merge.

16 years agoFix a few warnings.
Chris Porter [Tue, 11 Mar 2008 20:30:04 +0000 (20:30 +0000)] 
Fix a few warnings.

16 years agonick freeing logic the wrong way round.
Chris Porter [Tue, 11 Mar 2008 20:19:21 +0000 (20:19 +0000)] 
nick freeing logic the wrong way round.

16 years agoMore debugging information for sstring valgrind mode.
Chris Porter [Tue, 11 Mar 2008 20:13:30 +0000 (20:13 +0000)] 
More debugging information for sstring valgrind mode.

16 years agoFix a pretty major leak caused by releasing the chanext at the wrong time.
Chris Porter [Tue, 11 Mar 2008 20:10:43 +0000 (20:10 +0000)] 
Fix a pretty major leak caused by releasing the chanext at the wrong time.

16 years agoFix a few memory leaks and some naughty things, also track sstrings.
Chris Porter [Tue, 11 Mar 2008 19:34:54 +0000 (19:34 +0000)] 
Fix a few memory leaks and some naughty things, also track sstrings.

16 years agoRemoved unnecessary conditional (*cough* and stray semicolon *cough*)
splidge [Tue, 11 Mar 2008 18:28:38 +0000 (18:28 +0000)] 
Removed unnecessary conditional (*cough* and stray semicolon *cough*)

16 years agoAdded code to remove channels when no +dqb users are left.
splidge [Tue, 11 Mar 2008 18:19:28 +0000 (18:19 +0000)] 
Added code to remove channels when no +dqb users are left.

Made relevant calls in chanlev/removeuser/cleanupdb.

16 years agoYou can requestowner if you are +k now.
splidge [Tue, 11 Mar 2008 17:53:33 +0000 (17:53 +0000)] 
You can requestowner if you are +k now.
You can't have +t if you don't have one of +nmovk.

This leaves just channels with only +bdq users...

16 years agoFix a few memory leaks.
Chris Porter [Tue, 11 Mar 2008 17:00:51 +0000 (17:00 +0000)] 
Fix a few memory leaks.

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

16 years agoUm, used the wrong angle bracket :(.
splidge [Tue, 11 Mar 2008 16:53:04 +0000 (16:53 +0000)] 
Um, used the wrong angle bracket :(.

16 years agoMerge.
Chris Porter [Tue, 11 Mar 2008 16:39:36 +0000 (16:39 +0000)] 
Merge.

16 years agoHopefully fix illegal reference to free'd values.
splidge [Tue, 11 Mar 2008 16:36:30 +0000 (16:36 +0000)] 
Hopefully fix illegal reference to free'd values.

16 years agoTweaked some more messages.
splidge [Tue, 11 Mar 2008 15:10:59 +0000 (15:10 +0000)] 
Tweaked some more messages.

16 years agoAdd USE_VALGRIND support to sstring.
Chris Porter [Tue, 11 Mar 2008 15:06:46 +0000 (15:06 +0000)] 
Add USE_VALGRIND support to sstring.

16 years agoAdded RESET option to CHANSTAT.
splidge [Tue, 11 Mar 2008 14:59:41 +0000 (14:59 +0000)] 
Added RESET option to CHANSTAT.

16 years agoAdd sha256 for old versions of python.
Chris Porter [Tue, 11 Mar 2008 14:51:44 +0000 (14:51 +0000)] 
Add sha256 for old versions of python.

16 years agoMake Q9 set +o, users have no other way of identifying it's a bona fide service.
Chris Porter [Tue, 11 Mar 2008 03:44:37 +0000 (03:44 +0000)] 
Make Q9 set +o, users have no other way of identifying it's a bona fide service.

16 years agoDoh, autogenerated files.
Chris Porter [Tue, 11 Mar 2008 03:29:12 +0000 (03:29 +0000)] 
Doh, autogenerated files.

16 years agoChanlev history has an optional duration apparently.
Chris Porter [Tue, 11 Mar 2008 03:23:42 +0000 (03:23 +0000)] 
Chanlev history has an optional duration apparently.

16 years agoDon't let helpers see opers flags.
Chris Porter [Tue, 11 Mar 2008 03:11:53 +0000 (03:11 +0000)] 
Don't let helpers see opers flags.

16 years agoMerge.
Chris Porter [Tue, 11 Mar 2008 02:54:07 +0000 (02:54 +0000)] 
Merge.

16 years agodomainmode now behaves like all other commands with flags.
Chris Porter [Tue, 11 Mar 2008 02:51:51 +0000 (02:51 +0000)] 
domainmode now behaves like all other commands with flags.

16 years agoAdd remaining help.
Chris Porter [Tue, 11 Mar 2008 02:43:56 +0000 (02:43 +0000)] 
Add remaining help.
spewpass now doesn't allow spewing of staff passwords.
suspenduser now doesn't allow opers to suspend staff accounts.

16 years agoAttempt to import clean unloading wrt. pqsql into Q9.
Chris Porter [Tue, 11 Mar 2008 01:58:53 +0000 (01:58 +0000)] 
Attempt to import clean unloading wrt. pqsql into Q9.

16 years agoAdd a way of doing 'clean' unloads in pqsql.
Chris Porter [Tue, 11 Mar 2008 01:58:27 +0000 (01:58 +0000)] 
Add a way of doing 'clean' unloads in pqsql.
Doesn't cover table stuff at the moment.

16 years agoMore help, cleanupdb is now DEV only.
Chris Porter [Tue, 11 Mar 2008 01:15:59 +0000 (01:15 +0000)] 
More help, cleanupdb is now DEV only.

16 years agoRemove QUFLAG_RESTRICTED; it doesn't do anything.
splidge [Tue, 11 Mar 2008 00:54:20 +0000 (00:54 +0000)] 
Remove QUFLAG_RESTRICTED; it doesn't do anything.

16 years agoAssorted tweaks.
splidge [Mon, 10 Mar 2008 20:29:45 +0000 (20:29 +0000)] 
Assorted tweaks.

Changed L import so you can't be imported with +agov.
Changed some help text
Changed UNBANME so it just aborts if it bumps into a registered ban it can't remove.

16 years agoMade adduser and removeuser not say "Done." if they didn't manage to do anything.
splidge [Mon, 10 Mar 2008 18:33:37 +0000 (18:33 +0000)] 
Made adduser and removeuser not say "Done." if they didn't manage to do anything.

16 years agoWhen importing a +c (autolimit) channel, add +l to forcemodes.
splidge [Mon, 10 Mar 2008 18:21:57 +0000 (18:21 +0000)] 
When importing a +c (autolimit) channel, add +l to forcemodes.

16 years agoRemoved some useless fluff in cleanupdb.c
splidge [Mon, 10 Mar 2008 18:19:45 +0000 (18:19 +0000)] 
Removed some useless fluff in cleanupdb.c

16 years agoRemoved NEEDAUTH flag since it didn't do anything useful.
splidge [Mon, 10 Mar 2008 18:07:57 +0000 (18:07 +0000)] 
Removed NEEDAUTH flag since it didn't do anything useful.
We represent a user who has never authed with lastauth=0. Expiry of never-authed users can be done based on creation time.
Updated the import script to behave accordingly.

16 years agoAdded database conversion script (chanserv/utils/conv4.pl)
splidge [Mon, 10 Mar 2008 17:44:58 +0000 (17:44 +0000)] 
Added database conversion script (chanserv/utils/conv4.pl)
Added missing chanserv/chancmds/chanophistory.c

16 years agoTightened up the auth code a bit.
splidge [Mon, 10 Mar 2008 16:15:47 +0000 (16:15 +0000)] 
Tightened up the auth code a bit.

The user limit check is now done before logging last user@host etc.
Messages are now sent to other account users when someone auths - and a different message sent if the account is at the auth limit.
Fixed up a couple of other incorrect error messages (in removeuser.c).
chancmds/commandlist.c seems to be a changeset or two behind so there's a new one of those too.