summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2008-05-18Remove .c_str()'s in match() calls that are no longer needed as match() ↵brain
natively takes std::strings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9737 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-18Please see my XXX in m_conn_umodes w00t, maybe something we can look at next?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9735 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-16MD_update causes valgrind warnings, remove it..... ...... JUST KIDDNG :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9727 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13Right now this just dumps the config hash as htmlbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9725 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13Check for windows drive letters on the start of paths and treat them the ↵brain
same as paths that start with /, this makes insp more friendly for windows filesystems git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9724 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13Fix the format of +p channels in /list (both in core /list and in ↵brain
m_safelist), thanks jrm :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9723 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-13Microsoft, in their "infinite wisdom" decide to have no sensible naming ↵brain
convention at all for windows api structs so have taken the struct name 'ACL' in winnt.h. Therefore we have to rename ours to HTTPACL :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9720 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12code tidyupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9716 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12httpd connection close fixes (these need to be backported to 1.1 at some ↵brain
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-12Add HTTP authbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9713 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Add support for blacklists and whitelists, just http password auth to go ↵brain
(the most complex part) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9711 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Flesh this out some morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9710 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Skeleton ACL module, and hooks for it. This will provide ip restrictions, ↵brain
passwording etc for httpd modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9709 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-12Fix wildcard matching in win32, seems that incrementing an iterator ↵brain
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-11Show keys to opers correctlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9705 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11Dont obscure channel keys in the statsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9704 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-11Show +sp channels to opers correctlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9702 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Check for " to " toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9697 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Add a 'sanitize' function to sanitize special characters in the output, <, > ↵brain
and & etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9696 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Add ident, port, ip to user info in <user> tagbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9695 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-10Give tons more information in the xml feed, should be enough to construct ↵brain
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-10Fix for last nights blockcaps tweak to make it a little more accuratebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9692 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09If nobody else is going to submit a diff, may as well do it myself. Using ↵brain
your noggin avoids two loops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9690 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Same fixes to make this module scale much better. Dont connect on each ↵peavey
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-09Fixes to make this module scale much better. Dont connect on each query, ↵peavey
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-09Don't stringjoin here, we don't for any other commands (cban, *line) so I'd ↵w00t
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-09Don't route after nuking the user from orbit, there's no point (minor)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9683 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix crash if OnCheckBan is called and there is no list, the if was reversed.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9679 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix segfault on rehash and tweak the connect code.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9677 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix some indenting.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9676 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Add defaults for SQLHost since comparing depends on them being initialised. ↵peavey
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-08Add call to protocol interface to get useful info on the server map. Return ↵brain
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-08Make this nicer, rely on the last write event after the Write() that sends ↵brain
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-08Remove the timeout stuff, it is not stable and not really required, we are ↵brain
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-08Possible todow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9666 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Clarify a comment that confused mew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9665 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Rename to m_connectbanw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9664 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Prepare to rename this, change it's purpose from quitban to connect ban (was ↵w00t
I smoking crack?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9663 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Remove a level of nesting from thisw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9662 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-07Make u_listmode more sensible and make it properly use WriteNumeric, and a ↵brain
few other misc fixes found during today git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9659 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06Fix broken m_alias, cant preallocate and then push_back, because then its ↵brain
maxparams + size :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9658 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06Fix bad throws and some other stuff in this modulebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9657 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06Fix typo +c => +C reported by alamarpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9653 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Remove JOIN sending, all should be FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Okay, this was good in theory, but totally and utterly fucked in ↵w00t
implementation. Rip out automatic global snotice code. It's not going to be *that* difficult to trigger global snotice with protocol interface now anyway I guess. We need to re-add calls to protocol interfaces in places like failed oper and so on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9649 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Don't propegate SETHOST, ChangeDisplayedHost sends out hostchange anywayw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9648 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Un-break this so remote users still get RemoteMessage okay if targetted at a ↵w00t
specific user, remove comment also as it's using PI now anyway git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9646 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Alter remotemessage here to not do what w00ts patch did, twicebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Don't re-propegate CHGHOST unnecessarilyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9644 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Fix warningbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9640 e03df62e-2008-0410-955e-edbf42e46eb7