summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* MD_update causes valgrind warnings, remove it..... ...... JUST KIDDNG :)Gravatar brain2008-05-161-0/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9727 e03df62e-2008-0410-955e-edbf42e46eb7
* Right now this just dumps the config hash as htmlGravatar brain2008-05-131-0/+128
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9725 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for windows drive letters on the start of paths and treat them the ↵Gravatar brain2008-05-132-8/+8
| | | | | | 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
* Fix the format of +p channels in /list (both in core /list and in ↵Gravatar brain2008-05-131-1/+1
| | | | | | m_safelist), thanks jrm :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9723 e03df62e-2008-0410-955e-edbf42e46eb7
* Microsoft, in their "infinite wisdom" decide to have no sensible naming ↵Gravatar brain2008-05-131-6/+6
| | | | | | 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
* code tidyupsGravatar brain2008-05-121-25/+21
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9716 e03df62e-2008-0410-955e-edbf42e46eb7
* httpd connection close fixes (these need to be backported to 1.1 at some ↵Gravatar brain2008-05-122-5/+18
| | | | | | 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
* Add HTTP authGravatar brain2008-05-121-17/+137
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9713 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for blacklists and whitelists, just http password auth to go ↵Gravatar brain2008-05-121-11/+36
| | | | | | (the most complex part) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9711 e03df62e-2008-0410-955e-edbf42e46eb7
* Flesh this out some moreGravatar brain2008-05-121-1/+70
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9710 e03df62e-2008-0410-955e-edbf42e46eb7
* Skeleton ACL module, and hooks for it. This will provide ip restrictions, ↵Gravatar brain2008-05-123-5/+91
| | | | | | passwording etc for httpd modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9709 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix wildcard matching in win32, seems that incrementing an iterator ↵Gravatar brain2008-05-121-1/+1
| | | | | | 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
* Show keys to opers correctlyGravatar brain2008-05-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9705 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont obscure channel keys in the statsGravatar brain2008-05-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9704 e03df62e-2008-0410-955e-edbf42e46eb7
* Show +sp channels to opers correctlyGravatar brain2008-05-111-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9702 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for " to " tooGravatar brain2008-05-101-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9697 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a 'sanitize' function to sanitize special characters in the output, <, > ↵Gravatar brain2008-05-101-7/+38
| | | | | | and & etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9696 e03df62e-2008-0410-955e-edbf42e46eb7
* Add ident, port, ip to user info in <user> tagGravatar brain2008-05-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9695 e03df62e-2008-0410-955e-edbf42e46eb7
* Give tons more information in the xml feed, should be enough to construct ↵Gravatar brain2008-05-101-107/+35
| | | | | | 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
* Fix for last nights blockcaps tweak to make it a little more accurateGravatar brain2008-05-101-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9692 e03df62e-2008-0410-955e-edbf42e46eb7
* If nobody else is going to submit a diff, may as well do it myself. Using ↵Gravatar brain2008-05-091-0/+8
| | | | | | your noggin avoids two loops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9690 e03df62e-2008-0410-955e-edbf42e46eb7
* Same fixes to make this module scale much better. Dont connect on each ↵Gravatar peavey2008-05-091-27/+54
| | | | | | 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
* Fixes to make this module scale much better. Dont connect on each query, ↵Gravatar peavey2008-05-091-25/+54
| | | | | | 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
* Don't stringjoin here, we don't for any other commands (cban, *line) so I'd ↵Gravatar w00t2008-05-091-4/+2
| | | | | | 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
* Don't route after nuking the user from orbit, there's no point (minor)Gravatar w00t2008-05-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9683 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash if OnCheckBan is called and there is no list, the if was reversed.Gravatar peavey2008-05-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9679 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix segfault on rehash and tweak the connect code.Gravatar peavey2008-05-091-18/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9677 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some indenting.Gravatar peavey2008-05-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9676 e03df62e-2008-0410-955e-edbf42e46eb7
* Add defaults for SQLHost since comparing depends on them being initialised. ↵Gravatar peavey2008-05-091-1/+8
| | | | | | Add also overload for operator!= for SQLhost. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9675 e03df62e-2008-0410-955e-edbf42e46eb7
* Add call to protocol interface to get useful info on the server map. Return ↵Gravatar brain2008-05-083-18/+28
| | | | | | 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
* Make this nicer, rely on the last write event after the Write() that sends ↵Gravatar brain2008-05-082-8/+15
| | | | | | all the data, not on a timer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9671 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the timeout stuff, it is not stable and not really required, we are ↵Gravatar brain2008-05-081-89/+7
| | | | | | | | | 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
* Possible todoGravatar w00t2008-05-081-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9666 e03df62e-2008-0410-955e-edbf42e46eb7
* Clarify a comment that confused meGravatar w00t2008-05-081-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9665 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename to m_connectbanGravatar w00t2008-05-081-0/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9664 e03df62e-2008-0410-955e-edbf42e46eb7
* Prepare to rename this, change it's purpose from quitban to connect ban (was ↵Gravatar w00t2008-05-081-16/+16
| | | | | | I smoking crack?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9663 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a level of nesting from thisGravatar w00t2008-05-081-10/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9662 e03df62e-2008-0410-955e-edbf42e46eb7
* Make u_listmode more sensible and make it properly use WriteNumeric, and a ↵Gravatar brain2008-05-074-84/+56
| | | | | | few other misc fixes found during today git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9659 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken m_alias, cant preallocate and then push_back, because then its ↵Gravatar brain2008-05-061-2/+2
| | | | | | maxparams + size :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9658 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bad throws and some other stuff in this moduleGravatar brain2008-05-061-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9657 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typo +c => +C reported by alamarGravatar peavey2008-05-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9653 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove JOIN sending, all should be FJOINGravatar brain2008-05-051-19/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651 e03df62e-2008-0410-955e-edbf42e46eb7
* Okay, this was good in theory, but totally and utterly fucked in ↵Gravatar w00t2008-05-051-26/+2
| | | | | | 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
* Don't propegate SETHOST, ChangeDisplayedHost sends out hostchange anywayGravatar w00t2008-05-051-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9648 e03df62e-2008-0410-955e-edbf42e46eb7
* Un-break this so remote users still get RemoteMessage okay if targetted at a ↵Gravatar w00t2008-05-051-2/+2
| | | | | | 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
* Alter remotemessage here to not do what w00ts patch did, twiceGravatar brain2008-05-051-11/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't re-propegate CHGHOST unnecessarilyGravatar w00t2008-05-051-3/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9644 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix warningGravatar brain2008-05-051-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9640 e03df62e-2008-0410-955e-edbf42e46eb7
* and no need to cast parameters to std::string hereGravatar peavey2008-05-052-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9639 e03df62e-2008-0410-955e-edbf42e46eb7
* parameters are already std::string no need to cast hereGravatar peavey2008-05-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9638 e03df62e-2008-0410-955e-edbf42e46eb7