]>
jfr.im git - irc/quakenet/newserv.git/log
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.
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)
splidge [Mon, 10 Mar 2008 11:35:21 +0000 (11:35 +0000)]
Added missing deregisterhook() call...
Chris Porter [Mon, 10 Mar 2008 05:04:25 +0000 (05:04 +0000)]
Since the TODO list is empty code wise... 1.00-RC1 =)
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.
Chris Porter [Mon, 10 Mar 2008 04:16:29 +0000 (04:16 +0000)]
Add reset logic to the batcher, along with the final emails.
Chris Porter [Mon, 10 Mar 2008 03:34:45 +0000 (03:34 +0000)]
Add reset.
Chris Porter [Mon, 10 Mar 2008 02:24:07 +0000 (02:24 +0000)]
Need some sort of SQL generator!
splidge [Mon, 10 Mar 2008 22:01:50 +0000 (22:01 +0000)]
Merge.
Chris Porter [Mon, 10 Mar 2008 02:17:31 +0000 (02:17 +0000)]
Add lastemail field.
splidge [Mon, 10 Mar 2008 22:01:27 +0000 (22:01 +0000)]
Merge.
splidge [Mon, 10 Mar 2008 01:57:26 +0000 (01:57 +0000)]
Added "upgrade" chantype.
Chris Porter [Mon, 10 Mar 2008 01:54:44 +0000 (01:54 +0000)]
suspendtime is now set where you'd expect, and displayed too
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!
Chris Porter [Mon, 10 Mar 2008 01:28:12 +0000 (01:28 +0000)]
Whoops.
Chris Porter [Mon, 10 Mar 2008 01:23:41 +0000 (01:23 +0000)]
Readd lockuntil, add missing paramater to insert query.
splidge [Mon, 10 Mar 2008 21:59:13 +0000 (21:59 +0000)]
Merge.
splidge [Mon, 10 Mar 2008 21:59:02 +0000 (21:59 +0000)]
Merge.
Chris Porter [Mon, 10 Mar 2008 01:13:44 +0000 (01:13 +0000)]
Backed out changeset
6fc7b90351d8
Chris Porter [Mon, 10 Mar 2008 01:06:00 +0000 (01:06 +0000)]
Additional checks added to suspendchan/unsuspendchan for non-existent 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.
Chris Porter [Mon, 10 Mar 2008 01:04:11 +0000 (01:04 +0000)]
Add lockuntil to db/structs.
Chris Porter [Mon, 10 Mar 2008 00:42:56 +0000 (00:42 +0000)]
sendpassword -> helper
Chris Porter [Mon, 10 Mar 2008 00:33:16 +0000 (00:33 +0000)]
Add more validation to bantimer.
Chris Porter [Mon, 10 Mar 2008 00:27:40 +0000 (00:27 +0000)]
Additional validation in tempban/autolimit.
Chris Porter [Sun, 9 Mar 2008 21:12:52 +0000 (21:12 +0000)]
Detect attempts to change email to same as current one.
splidge [Mon, 10 Mar 2008 21:56:15 +0000 (21:56 +0000)]
Merge.
Chris Porter [Sun, 9 Mar 2008 20:47:53 +0000 (20:47 +0000)]
Alter requestpassword to behave the same as Q.
Chris Porter [Sun, 9 Mar 2008 18:39:30 +0000 (18:39 +0000)]
Add some better emails.
Add more string replacement and the option for templates to redirect to different email addresses.
Chris Porter [Sun, 9 Mar 2008 17:55:36 +0000 (17:55 +0000)]
Add privilidge checking to sendpassword/requestpassword.
Move sendpassword to authcmds.
Fix bug in findnearestmaildomain.
splidge [Mon, 10 Mar 2008 21:54:48 +0000 (21:54 +0000)]
Merge.
splidge [Sun, 9 Mar 2008 17:48:32 +0000 (17:48 +0000)]
Changed HELP so non-privileged users can't see help for priviliged commands.