]>
jfr.im git - irc/quakenet/newserv.git/log
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.
splidge [Sat, 15 Mar 2008 12:42:20 +0000 (12:42 +0000)]
Merge.
splidge [Sat, 15 Mar 2008 12:35:21 +0000 (12:35 +0000)]
Moved all chanserv tables into schema "chanserv".
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.
splidge [Sat, 15 Mar 2008 11:15:37 +0000 (11:15 +0000)]
Merge.
splidge [Sat, 15 Mar 2008 10:17:09 +0000 (10:17 +0000)]
Reinstall signal handler after SIGUSR1
Ian Barker [Fri, 14 Mar 2008 21:21:59 +0000 (21:21 +0000)]
And then actually remember to run hg add before committing ...
Ian Barker [Fri, 14 Mar 2008 21:20:14 +0000 (21:20 +0000)]
Add notice functionality to newsearch
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.
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..
Chris Porter [Fri, 14 Mar 2008 02:55:03 +0000 (02:55 +0000)]
Merge.
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.
Chris Porter [Fri, 14 Mar 2008 00:44:13 +0000 (00:44 +0000)]
Make multiline thingies single line in preparation for parsing+regeneration.
Chris Porter [Fri, 14 Mar 2008 00:41:14 +0000 (00:41 +0000)]
Added tag q9-1.00-rc2 for changeset
193f69a04816
Chris Porter [Fri, 14 Mar 2008 00:39:18 +0000 (00:39 +0000)]
RC2
Chris Porter [Fri, 14 Mar 2008 00:31:10 +0000 (00:31 +0000)]
Merge.
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).
splidge [Thu, 13 Mar 2008 12:37:34 +0000 (12:37 +0000)]
Userlevel 997-999 now get +a in the conversion script.
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.
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.
splidge [Thu, 13 Mar 2008 01:24:48 +0000 (01:24 +0000)]
Added visibleuserhost() function
Chris Porter [Thu, 13 Mar 2008 00:12:25 +0000 (00:12 +0000)]
Merge.
Chris Porter [Thu, 13 Mar 2008 00:11:35 +0000 (00:11 +0000)]
Merge.
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.
Chris Porter [Thu, 13 Mar 2008 00:10:45 +0000 (00:10 +0000)]
Fix leak in unbanmask.
splidge [Wed, 12 Mar 2008 22:44:27 +0000 (22:44 +0000)]
Re-disable infolines. Removed most references and flags also.
Chris Porter [Wed, 12 Mar 2008 19:19:21 +0000 (19:19 +0000)]
Merge.
Chris Porter [Wed, 12 Mar 2008 19:18:41 +0000 (19:18 +0000)]
Fix memory leaks in noperserv/nterfacer.
Chris Porter [Wed, 12 Mar 2008 19:03:42 +0000 (19:03 +0000)]
Should be target not rup...
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
Chris Porter [Wed, 12 Mar 2008 18:48:09 +0000 (18:48 +0000)]
Add detection for lack of staff reset to batcher.
Chris Porter [Wed, 12 Mar 2008 18:44:39 +0000 (18:44 +0000)]
Add authgate warnings.
Chris Porter [Wed, 12 Mar 2008 18:36:58 +0000 (18:36 +0000)]
Don't allow suspending of other opers without a userflags first.
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.
Chris Porter [Wed, 12 Mar 2008 17:54:54 +0000 (17:54 +0000)]
Merge.
Chris Porter [Wed, 12 Mar 2008 17:45:28 +0000 (17:45 +0000)]
Missing bracket...
Chris Porter [Wed, 12 Mar 2008 17:45:11 +0000 (17:45 +0000)]
Don't permit newserv to startup unless noperserv connected to db.
Chris Porter [Wed, 12 Mar 2008 17:40:53 +0000 (17:40 +0000)]
NEVER send wall spam to relays.
Chris Porter [Wed, 12 Mar 2008 17:34:06 +0000 (17:34 +0000)]
Seperate out checkhashpass into it's own seperate module: chanserv_relay.
Chris Porter [Wed, 12 Mar 2008 17:33:13 +0000 (17:33 +0000)]
Add userid support to nterfacer.
Chris Porter [Wed, 12 Mar 2008 17:32:57 +0000 (17:32 +0000)]
Add relay access level to noperserv.
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.
splidge [Wed, 12 Mar 2008 17:08:09 +0000 (17:08 +0000)]
Changed SHOWCOMMANDS format a bit.
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
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.
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.
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).
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)
Chris Porter [Wed, 12 Mar 2008 04:08:27 +0000 (04:08 +0000)]
Auth Q9 to the network.
Chris Porter [Wed, 12 Mar 2008 03:57:04 +0000 (03:57 +0000)]
Add cleanupdb channel implementation.
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.
Chris Porter [Tue, 11 Mar 2008 23:54:46 +0000 (23:54 +0000)]
Remove unused variables, why can't compiler warnings be consistent?
Chris Porter [Tue, 11 Mar 2008 23:53:08 +0000 (23:53 +0000)]
Merge.
Chris Porter [Tue, 11 Mar 2008 23:52:48 +0000 (23:52 +0000)]
Fix broken valgrind getsstring semantics.
Chris Porter [Tue, 11 Mar 2008 22:02:59 +0000 (22:02 +0000)]
Fix null pointer dereference in banlist.
Chris Porter [Tue, 11 Mar 2008 21:07:16 +0000 (21:07 +0000)]
Fix some leaks in T.
Chris Porter [Tue, 11 Mar 2008 21:06:48 +0000 (21:06 +0000)]
Fix a leak in nick.
Chris Porter [Tue, 11 Mar 2008 20:49:12 +0000 (20:49 +0000)]
Wrong freeall in exit, trap SIGINT.
Chris Porter [Tue, 11 Mar 2008 20:31:26 +0000 (20:31 +0000)]
Merge.
Chris Porter [Tue, 11 Mar 2008 20:30:04 +0000 (20:30 +0000)]
Fix a few warnings.
Chris Porter [Tue, 11 Mar 2008 20:19:21 +0000 (20:19 +0000)]
nick freeing logic the wrong way round.
Chris Porter [Tue, 11 Mar 2008 20:13:30 +0000 (20:13 +0000)]
More debugging information for sstring valgrind mode.
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.
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.
splidge [Tue, 11 Mar 2008 18:28:38 +0000 (18:28 +0000)]
Removed unnecessary conditional (*cough* and stray semicolon *cough*)
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.
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...
Chris Porter [Tue, 11 Mar 2008 17:00:51 +0000 (17:00 +0000)]
Fix a few memory leaks.
Chris Porter [Tue, 11 Mar 2008 16:53:43 +0000 (16:53 +0000)]
Merge.
splidge [Tue, 11 Mar 2008 16:53:04 +0000 (16:53 +0000)]
Um, used the wrong angle bracket :(.
Chris Porter [Tue, 11 Mar 2008 16:39:36 +0000 (16:39 +0000)]
Merge.
splidge [Tue, 11 Mar 2008 16:36:30 +0000 (16:36 +0000)]
Hopefully fix illegal reference to free'd values.
splidge [Tue, 11 Mar 2008 15:10:59 +0000 (15:10 +0000)]
Tweaked some more messages.
Chris Porter [Tue, 11 Mar 2008 15:06:46 +0000 (15:06 +0000)]
Add USE_VALGRIND support to sstring.
splidge [Tue, 11 Mar 2008 14:59:41 +0000 (14:59 +0000)]
Added RESET option to CHANSTAT.
Chris Porter [Tue, 11 Mar 2008 14:51:44 +0000 (14:51 +0000)]
Add sha256 for old versions of python.
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.
Chris Porter [Tue, 11 Mar 2008 03:29:12 +0000 (03:29 +0000)]
Doh, autogenerated files.
Chris Porter [Tue, 11 Mar 2008 03:23:42 +0000 (03:23 +0000)]
Chanlev history has an optional duration apparently.
Chris Porter [Tue, 11 Mar 2008 03:11:53 +0000 (03:11 +0000)]
Don't let helpers see opers flags.
Chris Porter [Tue, 11 Mar 2008 02:54:07 +0000 (02:54 +0000)]
Merge.
Chris Porter [Tue, 11 Mar 2008 02:51:51 +0000 (02:51 +0000)]
domainmode now behaves like all other commands with flags.
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.
Chris Porter [Tue, 11 Mar 2008 01:58:53 +0000 (01:58 +0000)]
Attempt to import clean unloading wrt. pqsql into Q9.
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.
Chris Porter [Tue, 11 Mar 2008 01:15:59 +0000 (01:15 +0000)]
More help, cleanupdb is now DEV only.
splidge [Tue, 11 Mar 2008 00:54:20 +0000 (00:54 +0000)]
Remove QUFLAG_RESTRICTED; it doesn't do anything.
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.
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.
splidge [Mon, 10 Mar 2008 18:21:57 +0000 (18:21 +0000)]
When importing a +c (autolimit) channel, add +l to forcemodes.
splidge [Mon, 10 Mar 2008 18:19:45 +0000 (18:19 +0000)]
Removed some useless fluff in cleanupdb.c
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.
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
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.
splidge [Mon, 10 Mar 2008 22:12:55 +0000 (22:12 +0000)]
Merge.
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).
Chris Porter [Mon, 10 Mar 2008 14:50:43 +0000 (14:50 +0000)]
Fix bug in maildomain code where the email is null.
Chris Porter [Mon, 10 Mar 2008 14:49:46 +0000 (14:49 +0000)]
Add maillock.
splidge [Mon, 10 Mar 2008 12:44:06 +0000 (12:44 +0000)]
Turn up MAXAUTHATTEMPTS to 5 (consistent with Q)
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)