]> jfr.im git - irc/quakenet/newserv.git/log
irc/quakenet/newserv.git
15 years agoAdd server markers.
Chris Porter [Sun, 12 Oct 2008 23:04:53 +0000 (00:04 +0100)] 
Add server markers.

15 years agoAdd NOC99 define, use in GeoIP.
Chris Porter [Sun, 12 Oct 2008 22:23:41 +0000 (23:23 +0100)] 
Add NOC99 define, use in GeoIP.

15 years ago*/*.o doesn't match *.o for me, same for Makefile/autobuild.mk/*.so
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

15 years agoAdd new GeoIP library, now LGPL'ed.
Chris Porter [Sun, 12 Oct 2008 22:02:50 +0000 (23:02 +0100)] 
Add new GeoIP library, now LGPL'ed.

15 years agoAllow subdirectory making without dumping settings.mk files.
Chris Porter [Sun, 12 Oct 2008 21:40:04 +0000 (22:40 +0100)] 
Allow subdirectory making without dumping settings.mk files.

15 years agoPut mflags into build.mk.in.
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.

15 years agoBSD make fixes.
Chris Porter [Sun, 12 Oct 2008 21:08:27 +0000 (22:08 +0100)] 
BSD make fixes.

15 years agoForce make clean if settings.mk changes.
Chris Porter [Sun, 12 Oct 2008 21:01:09 +0000 (22:01 +0100)] 
Force make clean if settings.mk changes.

15 years agoUnify settings into defaults.mk and settings.mk.
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.

15 years agoUnify sstring.h files into one.
Chris Porter [Sun, 12 Oct 2008 20:27:32 +0000 (21:27 +0100)] 
Unify sstring.h files into one.

15 years agoRefactor sstringcompare, this will break makefiles in this commit but they'll be...
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.

15 years agoNo code changes to sstring, replace the sstring-old mmap implementation with the...
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.

15 years agoImprove makefiles a bit.
Chris Porter [Sat, 11 Oct 2008 22:18:55 +0000 (23:18 +0100)] 
Improve makefiles a bit.

15 years agoFix bug in old parser.
Chris Porter [Sat, 11 Oct 2008 19:45:45 +0000 (20:45 +0100)] 
Fix bug in old parser.

15 years agoMake newsearch compile without lex/yacc.
Chris Porter [Sat, 11 Oct 2008 19:15:53 +0000 (20:15 +0100)] 
Make newsearch compile without lex/yacc.

15 years agoChanserv newsearch commands now use argtoconststr.
Chris Porter [Sat, 11 Oct 2008 18:47:36 +0000 (19:47 +0100)] 
Chanserv newsearch commands now use argtoconststr.

15 years agoMerge.
Chris Porter [Sat, 11 Oct 2008 18:33:44 +0000 (19:33 +0100)] 
Merge.

15 years agoAnother attempt to try and get rid of the lexer warnings.
Chris Porter [Sat, 11 Oct 2008 18:33:32 +0000 (19:33 +0100)] 
Another attempt to try and get rid of the lexer warnings.

15 years agofix indentation
Paul [Sat, 11 Oct 2008 17:50:06 +0000 (18:50 +0100)] 
fix indentation

15 years agolastauth was being updated before all user checks were complete, causing suspended...
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.

15 years agoMerge.
Chris Porter [Sat, 4 Oct 2008 00:25:08 +0000 (01:25 +0100)] 
Merge.

15 years agoAdd better trustlist command, now groups common subtrees.
Chris Porter [Sat, 4 Oct 2008 00:18:19 +0000 (01:18 +0100)] 
Add better trustlist command, now groups common subtrees.

15 years agoAdd trust{group,host} markers.
Chris Porter [Fri, 3 Oct 2008 23:46:19 +0000 (00:46 +0100)] 
Add trust{group,host} markers.

15 years agoLink parents and children into a tree!
Chris Porter [Fri, 3 Oct 2008 23:26:35 +0000 (00:26 +0100)] 
Link parents and children into a tree!
Trustlist now displays trees.

15 years agoMerge.
Chris Porter [Fri, 3 Oct 2008 22:21:57 +0000 (23:21 +0100)] 
Merge.

15 years agoMove migration out of _commands.
Chris Porter [Fri, 3 Oct 2008 22:19:44 +0000 (23:19 +0100)] 
Move migration out of _commands.

15 years agoAdd subset/set checking into trustadd, now handles moving of users between trusts...
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.

15 years agoFix up trustlist for lastseen/expires in.
Chris Porter [Fri, 3 Oct 2008 00:32:27 +0000 (01:32 +0100)] 
Fix up trustlist for lastseen/expires in.

15 years agoI was mistaken about strtoul's return value.
Chris Porter [Fri, 3 Oct 2008 00:29:23 +0000 (01:29 +0100)] 
I was mistaken about strtoul's return value.

15 years agoAdd trustadd and trustgroupadd.
Chris Porter [Fri, 3 Oct 2008 00:28:47 +0000 (01:28 +0100)] 
Add trustadd and trustgroupadd.

15 years agoMerge.
Chris Porter [Thu, 2 Oct 2008 19:42:29 +0000 (20:42 +0100)] 
Merge.

15 years agoSelect the shortest prefix BGP style when looking for hosts, since we now permit...
Chris Porter [Thu, 2 Oct 2008 19:41:46 +0000 (20:41 +0100)] 
Select the shortest prefix BGP style when looking for hosts, since we now permit nested trusts.

15 years agoAllow *'s in non-quoted newsearch.
Chris Porter [Thu, 2 Oct 2008 17:07:29 +0000 (18:07 +0100)] 
Allow *'s in non-quoted newsearch.

15 years agoMerge.
Chris Porter [Thu, 2 Oct 2008 17:03:24 +0000 (18:03 +0100)] 
Merge.

15 years agoAdd trusts_newsearch.
Chris Porter [Thu, 2 Oct 2008 17:00:43 +0000 (18:00 +0100)] 
Add trusts_newsearch.

15 years agoFix up phony targets for newsearch, chanserv and geoip.
Chris Porter [Thu, 2 Oct 2008 16:30:42 +0000 (17:30 +0100)] 
Fix up phony targets for newsearch, chanserv and geoip.

15 years agoMerge.
Chris Porter [Thu, 2 Oct 2008 03:25:40 +0000 (04:25 +0100)] 
Merge.

15 years agonewsearches makefile was missing the distclean target.
Chris Porter [Thu, 2 Oct 2008 03:25:24 +0000 (04:25 +0100)] 
newsearches makefile was missing the distclean target.

15 years agoMerge.
Chris Porter [Thu, 2 Oct 2008 03:23:39 +0000 (04:23 +0100)] 
Merge.

15 years agoOkay, it wasn't quite as simple as that, it was a complex interaction between the...
Chris Porter [Thu, 2 Oct 2008 03:22:57 +0000 (04:22 +0100)] 
Okay, it wasn't quite as simple as that, it was a complex interaction between the dbapi2 wrapper and sqlite.

15 years agoRedundant merge.
Chris Porter [Thu, 2 Oct 2008 03:01:48 +0000 (04:01 +0100)] 
Redundant merge.

15 years agoBump MAXNICKEXTs.
Chris Porter [Thu, 2 Oct 2008 03:01:20 +0000 (04:01 +0100)] 
Bump MAXNICKEXTs.

15 years agoMerge.
Chris Porter [Thu, 2 Oct 2008 02:58:12 +0000 (03:58 +0100)] 
Merge.

15 years agoFix a bug in sqlite table loader.
Chris Porter [Thu, 2 Oct 2008 02:55:04 +0000 (03:55 +0100)] 
Fix a bug in sqlite table loader.

15 years agoNo reason we can't reload on the fly now.
Chris Porter [Thu, 2 Oct 2008 02:38:32 +0000 (03:38 +0100)] 
No reason we can't reload on the fly now.

15 years agoRadically simplify the reloading of the database on the fly.
Chris Porter [Thu, 2 Oct 2008 02:36:05 +0000 (03:36 +0100)] 
Radically simplify the reloading of the database on the fly.

15 years agoFix memory leak discovered by nsmalloc.
Chris Porter [Thu, 2 Oct 2008 02:04:07 +0000 (03:04 +0100)] 
Fix memory leak discovered by nsmalloc.
Fix double registration of commands.

15 years agoConvert trusts to nsmalloc.
Chris Porter [Thu, 2 Oct 2008 01:24:34 +0000 (02:24 +0100)] 
Convert trusts to nsmalloc.

15 years agoAdd trust group extensions and example.
Chris Porter [Thu, 2 Oct 2008 01:15:10 +0000 (02:15 +0100)] 
Add trust group extensions and example.

15 years agoSchedule the DB load triggerhook immediately after we finish, to allow the other...
Chris Porter [Thu, 2 Oct 2008 00:48:52 +0000 (01:48 +0100)] 
Schedule the DB load triggerhook immediately after we finish, to allow the other modules to register.

15 years agoFix bug in db flushing.
Chris Porter [Thu, 2 Oct 2008 00:43:55 +0000 (01:43 +0100)] 
Fix bug in db flushing.

15 years agoWe guarantee all sstrings are non NULL.
Chris Porter [Thu, 2 Oct 2008 00:33:51 +0000 (01:33 +0100)] 
We guarantee all sstrings are non NULL.

15 years agoAdd example policy module.
Chris Porter [Thu, 2 Oct 2008 00:26:11 +0000 (01:26 +0100)] 
Add example policy module.

15 years agoMake trustmigrate +d only.
Chris Porter [Thu, 2 Oct 2008 00:17:14 +0000 (01:17 +0100)] 
Make trustmigrate +d only.

15 years agoInclude the count handler in the main event handlers until we get priority hooks.
Chris Porter [Thu, 2 Oct 2008 00:15:18 +0000 (01:15 +0100)] 
Include the count handler in the main event handlers until we get priority hooks.
Unload the database when migration is complete to stop the schedule stepping on it.

15 years agoTrusts now stores an id for each trusthost, doing updates by string sucked.
Chris Porter [Wed, 1 Oct 2008 23:54:27 +0000 (00:54 +0100)] 
Trusts now stores an id for each trusthost, doing updates by string sucked.
Unfortunately now the primary key can't be all three fields.

15 years agoAdd database flushing, rename max/maxuse both to maxusage, record max usage/lastseen.
Chris Porter [Wed, 1 Oct 2008 23:44:59 +0000 (00:44 +0100)] 
Add database flushing, rename max/maxuse both to maxusage, record max usage/lastseen.

15 years agoBump MAXNICKEXTS.
Chris Porter [Wed, 1 Oct 2008 23:06:51 +0000 (00:06 +0100)] 
Bump MAXNICKEXTS.

15 years agoNo longer allow db reloading on the fly.
Chris Porter [Wed, 1 Oct 2008 23:06:34 +0000 (00:06 +0100)] 
No longer allow db reloading on the fly.

15 years agoConnect nick pointers and trusthosts.
Chris Porter [Wed, 1 Oct 2008 22:57:41 +0000 (23:57 +0100)] 
Connect nick pointers and trusthosts.

15 years agoMove formatting functions to formats.c
Chris Porter [Wed, 1 Oct 2008 21:58:49 +0000 (22:58 +0100)] 
Move formatting functions to formats.c

15 years agoStore hosts as integers rather than sstrings.
Chris Porter [Wed, 1 Oct 2008 21:51:27 +0000 (22:51 +0100)] 
Store hosts as integers rather than sstrings.

15 years agoRefactor data storage into data.c
Chris Porter [Wed, 1 Oct 2008 18:02:26 +0000 (19:02 +0100)] 
Refactor data storage into data.c

15 years agoAdd trustlist and a status function.
Chris Porter [Tue, 30 Sep 2008 19:35:03 +0000 (20:35 +0100)] 
Add trustlist and a status function.

15 years agoFix up migration to use transactions, also start a commands module.
Chris Porter [Tue, 30 Sep 2008 18:43:41 +0000 (19:43 +0100)] 
Fix up migration to use transactions, also start a commands module.

15 years agoMerge.
Chris Porter [Tue, 30 Sep 2008 17:02:03 +0000 (18:02 +0100)] 
Merge.

15 years agodbapi loadtable function should mutate the table name to include the schema.
Chris Porter [Tue, 30 Sep 2008 17:00:53 +0000 (18:00 +0100)] 
dbapi loadtable function should mutate the table name to include the schema.

15 years agoMajor reorganisation.
Chris Porter [Tue, 30 Sep 2008 16:54:51 +0000 (17:54 +0100)] 
Major reorganisation.

15 years agoThis should be defined in the build.mk file.
Chris Porter [Tue, 30 Sep 2008 05:56:05 +0000 (06:56 +0100)] 
This should be defined in the build.mk file.

15 years agoMerge.
Chris Porter [Tue, 30 Sep 2008 05:51:48 +0000 (06:51 +0100)] 
Merge.

15 years agoActually fix the bug.
Chris Porter [Tue, 30 Sep 2008 05:51:21 +0000 (06:51 +0100)] 
Actually fix the bug.

15 years agoMerge.
Chris Porter [Tue, 30 Sep 2008 05:44:21 +0000 (06:44 +0100)] 
Merge.

15 years agoMerge.
Chris Porter [Tue, 30 Sep 2008 05:43:56 +0000 (06:43 +0100)] 
Merge.

15 years agoSilly dbapi2 bug.
Chris Porter [Tue, 30 Sep 2008 05:43:23 +0000 (06:43 +0100)] 
Silly dbapi2 bug.

15 years agoEfficiency change.
Chris Porter [Tue, 30 Sep 2008 05:38:49 +0000 (06:38 +0100)] 
Efficiency change.

15 years agoFix silly bugs.
Chris Porter [Tue, 30 Sep 2008 05:35:29 +0000 (06:35 +0100)] 
Fix silly bugs.

15 years agoDuplicate error code, bump the others, add some debug info and fix the -_ business.
Chris Porter [Tue, 30 Sep 2008 05:31:24 +0000 (06:31 +0100)] 
Duplicate error code, bump the others, add some debug info and fix the -_ business.

15 years agoMake the demo a bit more useful.
Chris Porter [Tue, 30 Sep 2008 05:20:25 +0000 (06:20 +0100)] 
Make the demo a bit more useful.

15 years agoMerge.
Chris Porter [Tue, 30 Sep 2008 05:02:28 +0000 (06:02 +0100)] 
Merge.

15 years agoAdd some more types to dbapi2's snprintf function.
Chris Porter [Tue, 30 Sep 2008 05:00:54 +0000 (06:00 +0100)] 
Add some more types to dbapi2's snprintf function.

15 years agoAdd trusts_migration module.
Chris Porter [Tue, 30 Sep 2008 04:47:08 +0000 (05:47 +0100)] 
Add trusts_migration module.

15 years agoFix bug in unescaping code.
Chris Porter [Tue, 30 Sep 2008 04:46:12 +0000 (05:46 +0100)] 
Fix bug in unescaping code.

15 years agoMake the relay re-entrant.
Chris Porter [Tue, 30 Sep 2008 03:09:48 +0000 (04:09 +0100)] 
Make the relay re-entrant.

15 years agoDon't show warnings for 0 permits, also unescape data before passing it to the callback.
Chris Porter [Tue, 30 Sep 2008 02:22:24 +0000 (03:22 +0100)] 
Don't show warnings for 0 permits, also unescape data before passing it to the callback.

15 years agoMove nterfacer checking of rlines into handlers (where it should be...)
Chris Porter [Tue, 30 Sep 2008 01:15:57 +0000 (02:15 +0100)] 
Move nterfacer checking of rlines into handlers (where it should be...)

15 years agoAllow newserv to send nterfacer commands.
Chris Porter [Tue, 30 Sep 2008 01:03:59 +0000 (02:03 +0100)] 
Allow newserv to send nterfacer commands.

15 years agoAdd cumodecount and cumodepct
Cruicky [Mon, 29 Sep 2008 10:45:42 +0000 (11:45 +0100)] 
Add cumodecount and cumodepct
Add deprecation notice to oppct

15 years agoMerge.
Chris Porter [Sun, 21 Sep 2008 19:58:09 +0000 (20:58 +0100)] 
Merge.

15 years agoGet rid of newsearch warnings
Chris Porter [Sun, 21 Sep 2008 16:47:42 +0000 (17:47 +0100)] 
Get rid of newsearch warnings

15 years agoAdd module versions to dbapi2/adapters.
Chris Porter [Sun, 21 Sep 2008 16:15:45 +0000 (17:15 +0100)] 
Add module versions to dbapi2/adapters.

15 years agoAllow dots, hashes, plus and minus in identifiers in newsearch.
Chris Porter [Sun, 21 Sep 2008 16:11:23 +0000 (17:11 +0100)] 
Allow dots, hashes, plus and minus in identifiers in newsearch.

15 years agoFix usage of argv in lots of newsearch commands by calling the parser and checking...
Chris Porter [Sun, 21 Sep 2008 16:05:00 +0000 (17:05 +0100)] 
Fix usage of argv in lots of newsearch commands by calling the parser and checking the result is constant.
Fix memory leaks in gline/kill/notice.
Rewrite gline's argument parser as it was a bit horrible.

15 years agoAllow numbers in identifiers.
Chris Porter [Sun, 21 Sep 2008 14:57:03 +0000 (15:57 +0100)] 
Allow numbers in identifiers.

15 years agoFix a few memory leaks in newsearch.
Chris Porter [Sun, 21 Sep 2008 14:52:54 +0000 (15:52 +0100)] 
Fix a few memory leaks in newsearch.

15 years agoAdd lexer position information to errors, improve error messages too.
Chris Porter [Sun, 21 Sep 2008 13:34:24 +0000 (14:34 +0100)] 
Add lexer position information to errors, improve error messages too.

15 years agoAdd pascal type strings to newsearch.
Chris Porter [Sun, 21 Sep 2008 11:28:35 +0000 (12:28 +0100)] 
Add pascal type strings to newsearch.

15 years agoUse correct NO level for auth.
Chris Porter [Sun, 21 Sep 2008 11:28:28 +0000 (12:28 +0100)] 
Use correct NO level for auth.

15 years agoMerge.
Chris Porter [Sun, 21 Sep 2008 01:38:37 +0000 (02:38 +0100)] 
Merge.

15 years agoRemove some of the excess logic from the AST printer.
Chris Porter [Sun, 21 Sep 2008 01:38:14 +0000 (02:38 +0100)] 
Remove some of the excess logic from the AST printer.

15 years agoMerge.
Chris Porter [Sun, 21 Sep 2008 01:26:48 +0000 (02:26 +0100)] 
Merge.