8122 Commits

Author SHA1 Message Date
bricker
a4f4fdbe1b add HostServ as IRCservices has it as an option and add the names inside anope.conf so they know its being specified..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9719 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13 07:05:15 +00:00
bricker
f12f2d3acc add "Bug tracker" to the default motd ;) everything else is there, why not that
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9718 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13 06:58:42 +00:00
bricker
d02c51b048 add a couple quotes ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9717 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13 06:55:57 +00:00
brain
ce168051e2 code tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9716 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12 22:40:44 +00:00
brain
bc34467146 httpd connection close fixes (these need to be backported to 1.1 at some point?) and acl tweaks to make http auth work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9714 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12 21:16:04 +00:00
brain
0aa899ee2f Add HTTP auth
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9713 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12 20:34:52 +00:00
brain
d520798751 Add example config
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9712 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12 19:42:36 +00:00
brain
8f7f74cf0f Add support for blacklists and whitelists, just http password auth to go (the most complex part)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9711 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12 19:37:50 +00:00
brain
b3bcd98242 Flesh this out some more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9710 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12 19:26:52 +00:00
brain
dfdbcc2939 Skeleton ACL module, and hooks for it. This will provide ip restrictions, passwording etc for httpd modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9709 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12 19:06:36 +00:00
brain
46f43132aa Patch ReadFile() not to bork on one line files, and ensure it works ok with win32 (it does)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9707 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12 16:00:34 +00:00
brain
03fe9de7ac Fix wildcard matching in win32, seems that incrementing an iterator dereferences it internally on win32, so iter++ when iter == container.end() drops an assert. YES, an assert. No fucking throw, making it a fucking pain to debug (no bt on assert, program exits)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9706 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12 15:59:57 +00:00
brain
30044376c1 Show keys to opers correctly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9705 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11 17:51:07 +00:00
brain
3fd8e7afd7 Dont obscure channel keys in the stats
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9704 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11 14:57:30 +00:00
peavey
b887f45a0a cleanup an old unused var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9703 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11 13:49:22 +00:00
brain
c74d20768b Show +sp channels to opers correctly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9702 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11 00:27:55 +00:00
peavey
5e747af4d2 update svn ignore to create less noise on conflicts and failed patching.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9700 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10 23:00:43 +00:00
brain
cf513d2e3f Improve this not to use pointer maths directly, use an iterator
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9699 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10 21:15:56 +00:00
brain
8cbc83c155 Fix for bug #532 reported by dantheman, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9698 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10 21:11:13 +00:00
brain
d0a4ecd055 Check for " to " too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9697 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10 19:56:36 +00:00
brain
6fa8fe7a2c Add a 'sanitize' function to sanitize special characters in the output, <, > and & etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9696 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10 19:52:07 +00:00
brain
a3719e0ad5 Add ident, port, ip to user info in <user> tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9695 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10 18:24:21 +00:00
brain
050e232499 Give tons more information in the xml feed, should be enough to construct just about any stat i can think of right now. let me know if you need more info in the feed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9694 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10 18:17:15 +00:00
brain
0d446447c7 Fix for last nights blockcaps tweak to make it a little more accurate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9692 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10 16:43:17 +00:00
peavey
e7c95d470d Fix LoadConf always reading 1 extra byte of random garbage.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9691 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10 00:04:14 +00:00
brain
3fb96ec5df If nobody else is going to submit a diff, may as well do it myself. Using your noggin avoids two loops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9690 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 22:25:00 +00:00
peavey
b260458e4d Add *.diff and *.patch to ignores
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9688 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 22:14:06 +00:00
peavey
9dadbc294e Same fixes to make this module scale much better. Dont connect on each query, keep open and send a byte like MySQL module.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9687 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 20:44:31 +00:00
peavey
1d12db188a Fixes to make this module scale much better. Dont connect on each query, keep open and send a byte like MySQL module. Now with cleanup of bufferedsocket thanks to w00t <3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9686 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 20:35:37 +00:00
peavey
9a6a031fc3 nuke some debug (snatch)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9685 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 20:31:14 +00:00
w00t
3a5025f4f5 Don't stringjoin here, we don't for any other commands (cban, *line) so I'd like to stay consistant. This also won't confuse any third party apps. This is my fault, I hated colons when I first started working on insp. ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9684 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 19:11:12 +00:00
w00t
118b2af99b Don't route after nuking the user from orbit, there's no point (minor)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9683 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 18:43:48 +00:00
brain
8888d8ef07 Add test suites for edge cases and in the process, spot a crash in the new code and fix it (empty mask in the match() functions makes it bomb)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9682 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 18:39:37 +00:00
brain
03ef675c0d Convert CIDR matching and wildcard matching to operate on std::strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9681 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 17:24:50 +00:00
w00t
fc349c8738 Fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9680 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 16:11:07 +00:00
peavey
255b59e44b Fix crash if OnCheckBan is called and there is no list, the if was reversed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9679 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 15:04:22 +00:00
w00t
02bbbd0cdf Port from hottpd: Split src/socket.cpp out into src/cidr.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9678 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 14:16:50 +00:00
peavey
d8d457dd18 Fix segfault on rehash and tweak the connect code.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9677 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 04:10:11 +00:00
peavey
17a77470c6 Fix some indenting.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9676 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 04:09:16 +00:00
peavey
a8bdf9887f Add defaults for SQLHost since comparing depends on them being initialised. Add also overload for operator!= for SQLhost.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9675 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 04:08:27 +00:00
peavey
6087d621f7 Fix restart code, by getting run path and argv before calling Cleanup()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9674 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09 01:13:02 +00:00
brain
99a1ea0892 Add call to protocol interface to get useful info on the server map. Return a std::list of classes each of which has a server name, parent server name, user and oper count, and latency in millisecs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9673 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08 22:40:11 +00:00
brain
2425244549 Make this nicer, rely on the last write event after the Write() that sends all the data, not on a timer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9671 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08 22:15:00 +00:00
brain
6f43a18a8a Remove the timeout stuff, it is not stable and not really required, we are not emulating apache here but making a bare minimum of compliance to pass along xml etc.
Personally i only really care about compliance with irc RFCs :p


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9669 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08 22:02:08 +00:00
brain
92153766b5 When searching by servername without wildcards, conceal +i users no matter what craq the spec was on
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9668 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08 17:27:49 +00:00
w00t
f34b371715 Possible todo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9666 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08 17:06:46 +00:00
w00t
ff44d048a2 Clarify a comment that confused me
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9665 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08 17:02:23 +00:00
w00t
c3e5246590 Rename to m_connectban
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9664 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08 16:54:16 +00:00
w00t
80a4db3cb0 Prepare to rename this, change it's purpose from quitban to connect ban (was I smoking crack?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9663 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08 16:53:03 +00:00
w00t
d0646a9b10 Remove a level of nesting from this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9662 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08 16:38:30 +00:00