]>
jfr.im git - irc/quakenet/newserv.git/log
Chris Porter [Thu, 11 Sep 2008 16:40:45 +0000 (17:40 +0100)]
Fix newsearch warning.
Chris Porter [Thu, 11 Sep 2008 16:32:14 +0000 (17:32 +0100)]
Merge.
Chris Porter [Thu, 11 Sep 2008 16:31:10 +0000 (17:31 +0100)]
Fix cosmetic bug in email/newpass for staff from Q.
Chris Porter [Thu, 11 Sep 2008 01:03:55 +0000 (02:03 +0100)]
Initialise sqlite correctly.
Chris Porter [Thu, 11 Sep 2008 00:59:42 +0000 (01:59 +0100)]
Embed sqlite3.
Chris Porter [Thu, 11 Sep 2008 00:02:52 +0000 (00:02 +0000)]
Attempt to fix some of the mess on N, T now uses the node user count for *@glines
Chris Porter [Wed, 10 Sep 2008 23:59:55 +0000 (23:59 +0000)]
Merge.
Chris Porter [Wed, 10 Sep 2008 22:49:28 +0000 (23:49 +0100)]
Merge.
Chris Porter [Wed, 10 Sep 2008 22:46:37 +0000 (23:46 +0100)]
Update list of numerics, also convert localuserstats from horrible strcat to stringbuf.
Chris Porter [Fri, 5 Sep 2008 18:18:44 +0000 (19:18 +0100)]
Spewpass -> spewpassword.
Chris Porter [Thu, 4 Sep 2008 18:32:57 +0000 (19:32 +0100)]
Don't allow Q@CServe.quakenet.org for email for Q.
Chris Porter [Thu, 4 Sep 2008 18:31:41 +0000 (19:31 +0100)]
deluser now required a reason.
Chris Porter [Wed, 3 Sep 2008 15:12:24 +0000 (16:12 +0100)]
Revert escaping changes, need to be cleverer, hmm...
Chris Porter [Sat, 30 Aug 2008 23:03:51 +0000 (00:03 +0100)]
Merge.
Chris Porter [Sat, 30 Aug 2008 23:03:22 +0000 (00:03 +0100)]
Fix typo in newsearch.
Paul [Sat, 30 Aug 2008 17:22:33 +0000 (18:22 +0100)]
overflow in G's welcome command
Paul [Sat, 30 Aug 2008 16:31:26 +0000 (17:31 +0100)]
merge
Paul [Sat, 30 Aug 2008 16:30:19 +0000 (17:30 +0100)]
output tree is part of context ;/
Paul [Sat, 30 Aug 2008 16:26:13 +0000 (17:26 +0100)]
trigger HOOK_CHANSERV_DBLOADED after loading maillocks/domains and not before
Chris Porter [Sat, 30 Aug 2008 15:09:43 +0000 (16:09 +0100)]
Merge.
Chris Porter [Sat, 30 Aug 2008 14:46:00 +0000 (15:46 +0100)]
lots of changes to lua:
- fix path for lua 5.1
- fix memory leak with bot nickname
- add botnick() function
- fix sstring modification bug in loadscript
- bump version
Paul [Fri, 29 Aug 2008 19:30:20 +0000 (20:30 +0100)]
3 fixes to my newsearch stuff:
a) only allow inclusion of newsearch.h once
b) registering a command should just 'cheat' and access raw tree instead of calling registersearchterm - otherwise global commands are not treated
as such
c) we need to delete the command from the main searchCmdTree when unregistering it
Chris Porter [Fri, 29 Aug 2008 13:05:20 +0000 (14:05 +0100)]
Move CC line up in build.mk.in so settings.mk can replace it.
Chris Porter [Fri, 29 Aug 2008 12:57:09 +0000 (13:57 +0100)]
Fix a potential buffer overflow exploit I just introduced, this entire file is full of potential problem areas!
Chris Porter [Fri, 29 Aug 2008 12:31:51 +0000 (13:31 +0100)]
Now accounthistory is updated in every function that touches email addresses or passwords.
Chris Porter [Thu, 28 Aug 2008 23:16:24 +0000 (00:16 +0100)]
Add cidr command to newsearch.
Chris Porter [Thu, 28 Aug 2008 22:09:22 +0000 (23:09 +0100)]
Merge.
Chris Porter [Thu, 28 Aug 2008 21:49:48 +0000 (22:49 +0100)]
Fix quoting bug in newsearch.
Chris Porter [Thu, 28 Aug 2008 21:10:43 +0000 (22:10 +0100)]
newsearch unescaping logic relocated so it works on most commands.
Chris Porter [Thu, 28 Aug 2008 21:10:12 +0000 (22:10 +0100)]
sstring.h not in .hgignore
Chris Porter [Thu, 28 Aug 2008 21:09:49 +0000 (22:09 +0100)]
ns-{gline,kill,notice} message logic is now not quite as silly.
Refactored ns-gline a bit.
Chris Porter [Thu, 28 Aug 2008 21:06:30 +0000 (22:06 +0100)]
ns-hostmask now makes more sense (realname and realhost options).
Chris Porter [Thu, 28 Aug 2008 19:29:29 +0000 (20:29 +0100)]
AST defining macros now have a slightly different structure to make having persistant trees easier.
Update Q/NO for changes, also change a few NO commands to use newsearch.
Also adds compare to NO.
Chris Porter [Thu, 28 Aug 2008 15:11:12 +0000 (16:11 +0100)]
Fix bug in ast_chansearch where it didn't initalise the cache.
Chris Porter [Thu, 28 Aug 2008 13:23:49 +0000 (14:23 +0100)]
Slight alteration to maximum iteration count.
Paul [Mon, 25 Aug 2008 10:16:21 +0000 (11:16 +0100)]
move more stuff into data/, logs/ respectively. NOTE: we need to move these files when updating services
Paul [Mon, 25 Aug 2008 10:01:00 +0000 (11:01 +0100)]
add missing help
Paul [Mon, 25 Aug 2008 09:10:54 +0000 (10:10 +0100)]
merge
Chris Porter [Mon, 25 Aug 2008 00:43:34 +0000 (01:43 +0100)]
Apparently the lines have to be this way round for BSD make to work.
Chris Porter [Mon, 25 Aug 2008 00:39:19 +0000 (01:39 +0100)]
Merge.
Chris Porter [Mon, 25 Aug 2008 00:38:46 +0000 (01:38 +0100)]
Update .hgignore.
Chris Porter [Mon, 25 Aug 2008 00:36:39 +0000 (01:36 +0100)]
Fix MORE warnings.
Chris Porter [Mon, 25 Aug 2008 00:21:39 +0000 (01:21 +0100)]
Fix bug in the topic handler.
Chris Porter [Mon, 25 Aug 2008 00:07:42 +0000 (01:07 +0100)]
Fix bashes lame syntax in a Makefile, fix S' Makefile and fix irc.c's signedness for setnettime.
Chris Porter [Mon, 25 Aug 2008 00:04:03 +0000 (01:04 +0100)]
Add cumodes to newsearch.
Cruicky [Sun, 24 Aug 2008 23:39:26 +0000 (00:39 +0100)]
Merge
Cruicky [Sun, 24 Aug 2008 23:38:44 +0000 (00:38 +0100)]
Revert to previous R behaviour
Chris Porter [Sun, 24 Aug 2008 23:11:24 +0000 (00:11 +0100)]
You can now do make sstring-new and hooks-new.
make distclean now rm's events.c/hooks.c/sstring.c/h.
Paul [Sun, 24 Aug 2008 22:53:14 +0000 (23:53 +0100)]
merge
Paul [Sun, 24 Aug 2008 22:52:37 +0000 (23:52 +0100)]
help changes
Chris Porter [Sun, 24 Aug 2008 22:48:25 +0000 (23:48 +0100)]
prereload was destroying sstrings.
Chris Porter [Sun, 24 Aug 2008 22:11:54 +0000 (23:11 +0100)]
Fix more printf style warnings.
Chris Porter [Sun, 24 Aug 2008 22:10:26 +0000 (23:10 +0100)]
Merge+fix intmax_t issues under FreeBSD.
Chris Porter [Sun, 24 Aug 2008 22:06:50 +0000 (23:06 +0100)]
Merge.
Chris Porter [Sun, 24 Aug 2008 22:06:21 +0000 (23:06 +0100)]
Add new hooking system with priority support.
Paul [Sun, 24 Aug 2008 20:45:52 +0000 (21:45 +0100)]
fix last 2 warnings
Paul [Sun, 24 Aug 2008 19:53:39 +0000 (20:53 +0100)]
should always be %jd and cast to intmax_t to stop warning on 32bit (gcc 4.2.3) -warning: format ‘%jd’ expects
type ‘intmax_t’, but argument 4 has type ‘time_t’
Paul [Sun, 24 Aug 2008 19:25:09 +0000 (20:25 +0100)]
merge
Paul [Sun, 24 Aug 2008 18:51:59 +0000 (19:51 +0100)]
First stab at help for all commands - we'll probably need to reword these as we work out who target audience is
etc
splidge [Sun, 24 Aug 2008 15:51:55 +0000 (16:51 +0100)]
Merge.
splidge [Sun, 24 Aug 2008 15:50:16 +0000 (16:50 +0100)]
Merge.
splidge [Sun, 24 Aug 2008 15:49:27 +0000 (16:49 +0100)]
Fixed the channel warnings in op.c and voice.c that were working more by luck than judgement (treating a nick * and a char *).
Paul [Sun, 24 Aug 2008 15:45:12 +0000 (16:45 +0100)]
merge
Chris Porter [Sun, 24 Aug 2008 15:23:50 +0000 (16:23 +0100)]
Merge.
Chris Porter [Sun, 24 Aug 2008 15:08:26 +0000 (16:08 +0100)]
Fix all current printf style warnings, including a bug in Q's op/voice commands.
Chris Porter [Sun, 24 Aug 2008 12:58:23 +0000 (13:58 +0100)]
Most if not all vsnprintf using functions now are declared using the format __attribute__ -- mass warnings incoming!
Chris Porter [Sun, 24 Aug 2008 12:27:46 +0000 (13:27 +0100)]
Export printchannels in newsearch.
Chris Porter [Sun, 24 Aug 2008 12:16:34 +0000 (13:16 +0100)]
Ignore fishbot.
Chris Porter [Sun, 24 Aug 2008 12:16:05 +0000 (13:16 +0100)]
Add some nice #defines for server.h
Chris Porter [Sun, 24 Aug 2008 12:15:45 +0000 (13:15 +0100)]
Add hits since restart, saved hits and lastseen to regexgline.
Reformat output for regexgline.
Paul [Sat, 23 Aug 2008 21:52:46 +0000 (22:52 +0100)]
update for newsearchchanges
Paul [Fri, 22 Aug 2008 20:00:23 +0000 (21:00 +0100)]
merge
Paul [Fri, 22 Aug 2008 19:23:04 +0000 (20:23 +0100)]
Dynamic help for newsearch, and permissions on terms/output functions
Paul [Fri, 22 Aug 2008 18:11:53 +0000 (19:11 +0100)]
Work to support dynamichelp/permissions within newsearch
Chris Porter [Wed, 20 Aug 2008 15:49:11 +0000 (16:49 +0100)]
Merge.
Chris Porter [Wed, 20 Aug 2008 15:46:40 +0000 (16:46 +0100)]
Add ping timeout diagnostic message to irc module.
Chris Porter [Tue, 19 Aug 2008 03:09:59 +0000 (04:09 +0100)]
To burst onto QuakeNet we need to fix a few more bugs.
Chris Porter [Tue, 19 Aug 2008 02:32:57 +0000 (03:32 +0100)]
MAP_ANON fixes for Linux.
Chris Porter [Tue, 19 Aug 2008 02:18:07 +0000 (03:18 +0100)]
Add memory protection to sstring-new.
Chris Porter [Tue, 19 Aug 2008 01:23:51 +0000 (02:23 +0100)]
Fix a few strings that are altered illegally.
Chris Porter [Tue, 19 Aug 2008 01:23:36 +0000 (02:23 +0100)]
Add memory protection to debug version of (old) sstring.
splidge [Mon, 18 Aug 2008 23:43:46 +0000 (00:43 +0100)]
Merge.
splidge [Mon, 18 Aug 2008 23:37:27 +0000 (00:37 +0100)]
Added new recycling version of sstring as sstring-new.[ch]
This version should use the same structure for duplicate strings, with refcounting to get the freeing right.
Note that it is dangerous if callers modify the sstrings.
Chris Porter [Mon, 18 Aug 2008 23:36:16 +0000 (00:36 +0100)]
longtoduration formats 0 and 1 back to how they were.
Chris Porter [Mon, 18 Aug 2008 20:29:34 +0000 (21:29 +0100)]
Sigh, used the name handle_signals for two different functions with an interesting result.
Chris Porter [Mon, 18 Aug 2008 20:14:52 +0000 (21:14 +0100)]
Add MODULE_VERSION to all default modules.
Chris Porter [Mon, 18 Aug 2008 20:11:22 +0000 (21:11 +0100)]
Change SIGINT handler so it triggers a hook first.
Chris Porter [Mon, 18 Aug 2008 20:02:57 +0000 (21:02 +0100)]
Merge.
Chris Porter [Mon, 18 Aug 2008 20:01:30 +0000 (21:01 +0100)]
Add persistant field to authext exts, if this is set on any of an authname's exts then it won't be freed on release.
Chris Porter [Mon, 18 Aug 2008 19:12:18 +0000 (20:12 +0100)]
Graphing needs a rewrite, rm it!
Chris Porter [Mon, 18 Aug 2008 19:03:42 +0000 (20:03 +0100)]
Control now sends out a CONTROL_REGISTERED message with NULL when it is killed.
Update XSB, other branch commit messages:
xsb now has a way to test whether or not a server is a service, as well as a unicast nick mode.
Decouple XSB from control, also fix a few silly errors.
Chris Porter [Mon, 18 Aug 2008 17:54:35 +0000 (18:54 +0100)]
Lua version now excludes "Lua engine", at least for MODULEVERSION.
Expand version string in lsmod.
Chris Porter [Mon, 18 Aug 2008 17:50:18 +0000 (18:50 +0100)]
Whoops, bit too much copy paste there...
Chris Porter [Mon, 18 Aug 2008 17:46:13 +0000 (18:46 +0100)]
Fix ns-timestamp warning.
Chris Porter [Mon, 18 Aug 2008 17:40:39 +0000 (18:40 +0100)]
Add SIGHUP handler, by default it triggers HOOK_CORE_REHASH.
Chris Porter [Mon, 18 Aug 2008 17:29:18 +0000 (18:29 +0100)]
Require a better die reason than .!
Chris Porter [Mon, 18 Aug 2008 17:27:49 +0000 (18:27 +0100)]
Regexgline now has a hit counter, also show type in listing in a more human-friendly form.
Chris Porter [Mon, 18 Aug 2008 17:26:48 +0000 (18:26 +0100)]
Parser help is now an sstring.
Chris Porter [Mon, 18 Aug 2008 16:54:19 +0000 (17:54 +0100)]
Seperate out build ids from version numbers.
Fix a few bugs in durationtolong, also add a new format.
Show module load times in lsmod.
Chris Porter [Mon, 18 Aug 2008 13:33:23 +0000 (14:33 +0100)]
Now only +o is required for lsmod.