]>
jfr.im git - irc/quakenet/newserv.git/log
Chris Porter [Sun, 11 Jan 2009 17:32:18 +0000 (17:32 +0000)]
CHANSERV: don't show 1970 for last email/password change if the timestamp is 0.
Chris Porter [Sun, 11 Jan 2009 01:54:27 +0000 (01:54 +0000)]
LUA: add tcp/udp socket support.
Bump version number.
Chris Porter [Sun, 11 Jan 2009 01:34:42 +0000 (01:34 +0000)]
LUA: irc_getuserbyauth is now O(1).
Chris Porter [Sun, 11 Jan 2009 01:29:07 +0000 (01:29 +0000)]
LUA: fix various race conditions in lualocal.
Add irc_localrename function.
splidge [Mon, 5 Jan 2009 00:40:26 +0000 (00:40 +0000)]
Merge.
splidge [Mon, 5 Jan 2009 00:39:59 +0000 (00:39 +0000)]
Fixed chanserv-newsearch to deregister its terms properly.
Chris Porter [Sun, 4 Jan 2009 20:13:14 +0000 (20:13 +0000)]
CORE: Fix an obscure bug in hooks-new where triggering a hook inside an unregistered hook would cause free'd memory to be accessed.
Also remove the hook defragger as it was more trouble than it was worth.
Chris Porter [Sun, 4 Jan 2009 19:15:26 +0000 (19:15 +0000)]
NTERFACER: also using h_addr
Chris Porter [Sun, 4 Jan 2009 19:01:10 +0000 (19:01 +0000)]
IRC: h_addr is deprecated: use h_addr_list[0] if h_addr isn't defined
Chris Porter [Sun, 30 Nov 2008 03:12:48 +0000 (03:12 +0000)]
Merge.
Chris Porter [Sun, 30 Nov 2008 03:10:10 +0000 (03:10 +0000)]
Fix stupid variable name typo.
splidge [Sun, 30 Nov 2008 00:53:58 +0000 (01:53 +0100)]
Fixed UHasStaffPriv() bug.
splidge [Sun, 30 Nov 2008 00:28:26 +0000 (01:28 +0100)]
Disabled call to localusersetaccountflags() in USERFLAGS - causes spurious warnings on live IRCU.
splidge [Sun, 30 Nov 2008 00:21:02 +0000 (01:21 +0100)]
Fixed bug is localusersetaccountflags (using wrong next pointer)
Added failsafe to localusersendaccountmessage to not do it for -r users.
Chris Porter [Thu, 13 Nov 2008 22:13:39 +0000 (22:13 +0000)]
Fix two memory leaks in chanlev.
Chris Porter [Thu, 13 Nov 2008 21:39:29 +0000 (21:39 +0000)]
Add some new aliases!
Chris Porter [Thu, 13 Nov 2008 21:20:51 +0000 (21:20 +0000)]
Use new ALIAS support.
Chris Porter [Thu, 13 Nov 2008 20:58:43 +0000 (20:58 +0000)]
Make it a lot easier to alias commands.
Chris Porter [Thu, 13 Nov 2008 20:58:33 +0000 (20:58 +0000)]
Stage 2 renaming.
Chris Porter [Thu, 13 Nov 2008 20:42:52 +0000 (20:42 +0000)]
Stage 1 moving login code->auth.
Chris Porter [Mon, 10 Nov 2008 20:47:13 +0000 (20:47 +0000)]
Add ticketauth functionality to Q.
Chris Porter [Mon, 10 Nov 2008 20:33:54 +0000 (20:33 +0000)]
Add last password change field.
Chris Porter [Tue, 4 Nov 2008 05:10:57 +0000 (05:10 +0000)]
Fix userflags +p for +h people, and let +q people do it too.
Chris Porter [Tue, 4 Nov 2008 05:02:10 +0000 (05:02 +0000)]
Move claimnick to +q.
Chris Porter [Mon, 3 Nov 2008 22:59:40 +0000 (22:59 +0000)]
Add truncation warning to grep/rgrep.
Chris Porter [Wed, 29 Oct 2008 19:03:25 +0000 (19:03 +0000)]
Add nsmalloc to USE_VALGRIND.
Chris Porter [Tue, 28 Oct 2008 00:33:02 +0000 (00:33 +0000)]
Fix nicksearch (match (nick) '') bug.
Chris Porter [Mon, 13 Oct 2008 05:27:57 +0000 (06:27 +0100)]
Should probably say which user is violating the ident limit.
Chris Porter [Mon, 13 Oct 2008 05:25:48 +0000 (06:25 +0100)]
Missing bang.
Chris Porter [Mon, 13 Oct 2008 05:23:29 +0000 (06:23 +0100)]
Attempt #2 at clever struct thingies.
Chris Porter [Mon, 13 Oct 2008 05:09:19 +0000 (06:09 +0100)]
Add expiries to TODO.
Chris Porter [Mon, 13 Oct 2008 05:08:21 +0000 (06:08 +0100)]
Wrong way round in match.
Chris Porter [Mon, 13 Oct 2008 05:02:46 +0000 (06:02 +0100)]
Add new trustlist command which can match >1 group.
Chris Porter [Mon, 13 Oct 2008 05:01:39 +0000 (06:01 +0100)]
Add TODO for trusts.
Chris Porter [Mon, 13 Oct 2008 04:49:50 +0000 (05:49 +0100)]
More policy stuff.
Chris Porter [Mon, 13 Oct 2008 04:49:12 +0000 (05:49 +0100)]
Merge.
Chris Porter [Mon, 13 Oct 2008 04:48:48 +0000 (05:48 +0100)]
maxperuser -> maxperident, NICKLEN -> CREATEDBYLEN, lastmaxuserreset -> lastmaxusereset.
Chris Porter [Mon, 13 Oct 2008 04:46:04 +0000 (05:46 +0100)]
Add controlwalls to trusts.
Chris Porter [Mon, 13 Oct 2008 04:45:45 +0000 (05:45 +0100)]
Add controlid function.
Chris Porter [Mon, 13 Oct 2008 04:36:46 +0000 (05:36 +0100)]
Add trustmodify, trustdel, trustgroupdel commands and replication actions.
Haven't added functionality for del/groupdel yet though.
Chris Porter [Mon, 13 Oct 2008 01:44:39 +0000 (02:44 +0100)]
O has stupid #'s.
Chris Porter [Mon, 13 Oct 2008 01:38:29 +0000 (02:38 +0100)]
Merge.
Chris Porter [Mon, 13 Oct 2008 01:37:56 +0000 (02:37 +0100)]
Remove all inline stuff as gcc on Y doesn't like it :(
Chris Porter [Mon, 13 Oct 2008 01:29:35 +0000 (02:29 +0100)]
Various bug fixes.
Chris Porter [Mon, 13 Oct 2008 01:18:54 +0000 (02:18 +0100)]
Merge.
Chris Porter [Mon, 13 Oct 2008 01:16:53 +0000 (02:16 +0100)]
Merge.
Chris Porter [Mon, 13 Oct 2008 01:16:37 +0000 (02:16 +0100)]
Need a blank file apparently.
Chris Porter [Mon, 13 Oct 2008 01:15:45 +0000 (02:15 +0100)]
Geoip requires linking against libc.
Chris Porter [Mon, 13 Oct 2008 01:06:44 +0000 (02:06 +0100)]
Merge.
Chris Porter [Mon, 13 Oct 2008 01:03:45 +0000 (02:03 +0100)]
Split xsb into pre ircd (well, pre good ircd) support and post ircd support versions, interface remains the same.
Chris Porter [Mon, 13 Oct 2008 00:59:16 +0000 (01:59 +0100)]
Fix duplicate error messages, add master server checks.
Chris Porter [Mon, 13 Oct 2008 00:21:26 +0000 (01:21 +0100)]
Merge.
Chris Porter [Mon, 13 Oct 2008 00:21:07 +0000 (01:21 +0100)]
Double whoops.
Chris Porter [Mon, 13 Oct 2008 00:16:30 +0000 (01:16 +0100)]
Merge.
Chris Porter [Mon, 13 Oct 2008 00:16:12 +0000 (01:16 +0100)]
Whoops.
Chris Porter [Mon, 13 Oct 2008 00:11:06 +0000 (01:11 +0100)]
Merge.
Chris Porter [Sun, 12 Oct 2008 23:04:53 +0000 (00:04 +0100)]
Add server markers.
Chris Porter [Sun, 12 Oct 2008 22:24:36 +0000 (23:24 +0100)]
Merge.
Chris Porter [Sun, 12 Oct 2008 22:23:41 +0000 (23:23 +0100)]
Add NOC99 define, use in GeoIP.
Chris Porter [Sun, 12 Oct 2008 22:04:29 +0000 (23:04 +0100)]
Merge.
Chris Porter [Sun, 12 Oct 2008 22:03:55 +0000 (23:03 +0100)]
*/*.o doesn't match *.o for me, same for Makefile/autobuild.mk/*.so
Chris Porter [Sun, 12 Oct 2008 22:02:50 +0000 (23:02 +0100)]
Add new GeoIP library, now LGPL'ed.
Chris Porter [Sun, 12 Oct 2008 21:40:04 +0000 (22:40 +0100)]
Allow subdirectory making without dumping settings.mk files.
Chris Porter [Sun, 12 Oct 2008 21:29:44 +0000 (22:29 +0100)]
Merge.
Chris Porter [Sun, 12 Oct 2008 21:16:21 +0000 (22:16 +0100)]
Put mflags into build.mk.in.
Update config file so it points at ./modules.
Now settings are only checked once instead of for each directory.
Chris Porter [Sun, 12 Oct 2008 21:08:27 +0000 (22:08 +0100)]
BSD make fixes.
Chris Porter [Sun, 12 Oct 2008 21:01:09 +0000 (22:01 +0100)]
Force make clean if settings.mk changes.
Chris Porter [Sun, 12 Oct 2008 20:30:31 +0000 (21:30 +0100)]
Unify settings into defaults.mk and settings.mk.
Now you can choose sstring/hook/event engines by setting a line in settings.mk instead of messing around with defines.
Chris Porter [Sun, 12 Oct 2008 20:27:32 +0000 (21:27 +0100)]
Unify sstring.h files into one.
Chris Porter [Sat, 11 Oct 2008 23:26:37 +0000 (00:26 +0100)]
Refactor sstringcompare, this will break makefiles in this commit but they'll be fixed in the next one.
Chris Porter [Sat, 11 Oct 2008 23:25:15 +0000 (00:25 +0100)]
No code changes to sstring, replace the sstring-old mmap implementation with the old malloc one so it's actually useful in valgrind, refactpr that to sstring-valgrind.c.
Also rename USE_VALGRIND to SSTRING_MMAP in sstring-new.c.
Chris Porter [Sat, 11 Oct 2008 22:18:55 +0000 (23:18 +0100)]
Improve makefiles a bit.
Chris Porter [Sat, 11 Oct 2008 19:45:45 +0000 (20:45 +0100)]
Fix bug in old parser.
Chris Porter [Sat, 11 Oct 2008 19:40:27 +0000 (20:40 +0100)]
Refactoring trusts_slave.
Chris Porter [Sat, 11 Oct 2008 19:15:53 +0000 (20:15 +0100)]
Make newsearch compile without lex/yacc.
Chris Porter [Sat, 11 Oct 2008 18:47:36 +0000 (19:47 +0100)]
Chanserv newsearch commands now use argtoconststr.
Chris Porter [Sat, 11 Oct 2008 18:33:44 +0000 (19:33 +0100)]
Merge.
Chris Porter [Sat, 11 Oct 2008 18:33:32 +0000 (19:33 +0100)]
Another attempt to try and get rid of the lexer warnings.
Paul [Sat, 11 Oct 2008 17:50:06 +0000 (18:50 +0100)]
fix indentation
Chris Porter [Sat, 11 Oct 2008 17:43:45 +0000 (18:43 +0100)]
lastauth was being updated before all user checks were complete, causing suspended users that attempted authing to never be cleaned up.
Chris Porter [Sun, 5 Oct 2008 07:46:11 +0000 (08:46 +0100)]
64-bit warning fix.
Chris Porter [Sun, 5 Oct 2008 07:42:12 +0000 (08:42 +0100)]
Stupid off by one bug.
Chris Porter [Sun, 5 Oct 2008 07:34:14 +0000 (08:34 +0100)]
Merge.
Chris Porter [Sun, 5 Oct 2008 07:33:37 +0000 (08:33 +0100)]
Okay, HUGE commit.
Add replication functionality via a master/slave protocol.
Refactor all database inserting, and all paramters for t{g,h}_{copy,new,add}.
Refactor all parsers and add trustdump.
Add trustforceresync and trustsync.
Chris Porter [Sun, 5 Oct 2008 02:42:28 +0000 (03:42 +0100)]
Whoops, left some printf statements in there :(.
Chris Porter [Sun, 5 Oct 2008 02:40:44 +0000 (03:40 +0100)]
This should be defined in settings.mk.
Chris Porter [Sun, 5 Oct 2008 02:40:30 +0000 (03:40 +0100)]
Fix race condition in nterfacer_sendline.
Chris Porter [Sat, 4 Oct 2008 22:16:04 +0000 (23:16 +0100)]
Silly bug fixes.
Chris Porter [Sat, 4 Oct 2008 02:04:00 +0000 (03:04 +0100)]
Start work on replication, refactor management commands from, er, non management commands.
Chris Porter [Sat, 4 Oct 2008 00:49:57 +0000 (01:49 +0100)]
Add IP checking, now HOOK_TRUSTS_{NEW,LOST}NICK can fire with null trusthosts.
Chris Porter [Sat, 4 Oct 2008 00:36:54 +0000 (01:36 +0100)]
Seperate out db from main module.
Chris Porter [Sat, 4 Oct 2008 00:25:08 +0000 (01:25 +0100)]
Merge.
Chris Porter [Sat, 4 Oct 2008 00:18:19 +0000 (01:18 +0100)]
Add better trustlist command, now groups common subtrees.
Chris Porter [Fri, 3 Oct 2008 23:46:19 +0000 (00:46 +0100)]
Add trust{group,host} markers.
Chris Porter [Fri, 3 Oct 2008 23:26:35 +0000 (00:26 +0100)]
Link parents and children into a tree!
Trustlist now displays trees.
Chris Porter [Fri, 3 Oct 2008 22:21:57 +0000 (23:21 +0100)]
Merge.
Chris Porter [Fri, 3 Oct 2008 22:19:44 +0000 (23:19 +0100)]
Move migration out of _commands.
Chris Porter [Fri, 3 Oct 2008 05:21:49 +0000 (06:21 +0100)]
Add subset/set checking into trustadd, now handles moving of users between trusts hosts automatically.
Counts don't currently contain those of subsetted trustgroups, or display them.
Also need more extensive testing.
TRUSTS_NEWNICK/LOSTNICK have a move parameter now, for when they shouldn't enforce things like glines.
Chris Porter [Fri, 3 Oct 2008 00:32:27 +0000 (01:32 +0100)]
Fix up trustlist for lastseen/expires in.
Chris Porter [Fri, 3 Oct 2008 00:29:23 +0000 (01:29 +0100)]
I was mistaken about strtoul's return value.