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

16 years agoMerge.
splidge [Mon, 10 Mar 2008 22:12:55 +0000 (22:12 +0000)] 
Merge.

16 years agoAdded CHANOPHISTORY command (behaves the same as old Q's AUTHHISTORY). Also added...
splidge [Mon, 10 Mar 2008 15:15:43 +0000 (15:15 +0000)] 
Added CHANOPHISTORY command (behaves the same as old Q's AUTHHISTORY). Also added the backend logging of op events.
Tidied up error message in userflags/authhistory (i.e. a message to say you can't list for the named user).

16 years agoFix bug in maildomain code where the email is null.
Chris Porter [Mon, 10 Mar 2008 14:50:43 +0000 (14:50 +0000)] 
Fix bug in maildomain code where the email is null.

16 years agoAdd maillock.
Chris Porter [Mon, 10 Mar 2008 14:49:46 +0000 (14:49 +0000)] 
Add maillock.

16 years agoTurn up MAXAUTHATTEMPTS to 5 (consistent with Q)
splidge [Mon, 10 Mar 2008 12:44:06 +0000 (12:44 +0000)] 
Turn up MAXAUTHATTEMPTS to 5 (consistent with Q)

16 years agoAdded summary information to chanlev.
splidge [Mon, 10 Mar 2008 11:54:51 +0000 (11:54 +0000)] 
Added summary information to chanlev.
Fixed core bug in suspendlist (it didn't like null suspend reasons)

16 years agoAdded missing deregisterhook() call...
splidge [Mon, 10 Mar 2008 11:35:21 +0000 (11:35 +0000)] 
Added missing deregisterhook() call...

16 years agoSince the TODO list is empty code wise... 1.00-RC1 =)
Chris Porter [Mon, 10 Mar 2008 05:04:25 +0000 (05:04 +0000)] 
Since the TODO list is empty code wise... 1.00-RC1 =)

16 years agoAdd legacy-md5 challengeauth support.
Chris Porter [Mon, 10 Mar 2008 04:43:36 +0000 (04:43 +0000)] 
Add legacy-md5 challengeauth support.
Add warnings when legacy-md5 is used.
Reduce challenge size to 16 bytes.

16 years agoAdd reset logic to the batcher, along with the final emails.
Chris Porter [Mon, 10 Mar 2008 04:16:29 +0000 (04:16 +0000)] 
Add reset logic to the batcher, along with the final emails.

16 years agoAdd reset.
Chris Porter [Mon, 10 Mar 2008 03:34:45 +0000 (03:34 +0000)] 
Add reset.

16 years agoNeed some sort of SQL generator!
Chris Porter [Mon, 10 Mar 2008 02:24:07 +0000 (02:24 +0000)] 
Need some sort of SQL generator!

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

16 years agoAdd lastemail field.
Chris Porter [Mon, 10 Mar 2008 02:17:31 +0000 (02:17 +0000)] 
Add lastemail field.

16 years agoMerge.
splidge [Mon, 10 Mar 2008 22:01:27 +0000 (22:01 +0000)] 
Merge.

16 years agoAdded "upgrade" chantype.
splidge [Mon, 10 Mar 2008 01:57:26 +0000 (01:57 +0000)] 
Added "upgrade" chantype.

16 years agosuspendtime is now set where you'd expect, and displayed too
Chris Porter [Mon, 10 Mar 2008 01:54:44 +0000 (01:54 +0000)] 
suspendtime is now set where you'd expect, and displayed too

16 years agoTwo small bugfixes.
splidge [Mon, 10 Mar 2008 01:51:41 +0000 (01:51 +0000)] 
Two small bugfixes.

I'm not sure why we're getting a new version of authcmds/commandlist.c though, but hey it's autogenerated!

16 years agoWhoops.
Chris Porter [Mon, 10 Mar 2008 01:28:12 +0000 (01:28 +0000)] 
Whoops.

16 years agoReadd lockuntil, add missing paramater to insert query.
Chris Porter [Mon, 10 Mar 2008 01:23:41 +0000 (01:23 +0000)] 
Readd lockuntil, add missing paramater to insert query.

16 years agoMerge.
splidge [Mon, 10 Mar 2008 21:59:13 +0000 (21:59 +0000)] 
Merge.

16 years agoMerge.
splidge [Mon, 10 Mar 2008 21:59:02 +0000 (21:59 +0000)] 
Merge.

16 years agoBacked out changeset 6fc7b90351d8
Chris Porter [Mon, 10 Mar 2008 01:13:44 +0000 (01:13 +0000)] 
Backed out changeset 6fc7b90351d8

16 years agoAdditional checks added to suspendchan/unsuspendchan for non-existent channels.
Chris Porter [Mon, 10 Mar 2008 01:06:00 +0000 (01:06 +0000)] 
Additional checks added to suspendchan/unsuspendchan for non-existent channels.

16 years agoAdded suspendtime fields to users and channels.
splidge [Mon, 10 Mar 2008 01:05:31 +0000 (01:05 +0000)] 
Added suspendtime fields to users and channels.
Updated database code to load and save them as needed.
Updated new channel/user code to initialize them.

Also fixed a bug where the BAN alias wasn't working properly.

16 years agoAdd lockuntil to db/structs.
Chris Porter [Mon, 10 Mar 2008 01:04:11 +0000 (01:04 +0000)] 
Add lockuntil to db/structs.

16 years agosendpassword -> helper
Chris Porter [Mon, 10 Mar 2008 00:42:56 +0000 (00:42 +0000)] 
sendpassword -> helper