summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-07-17publish "JSON-RPC" interfacepippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7465 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17Now, json-rpc _ONLY_ supports member function pointers. An example is given inpippijn
ModuleRpcJson::ModuleRpcJson. I must admit that it is kind of ugly but it is the only way I can see right now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7464 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17#ifdeffed out gnu extensionpippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7463 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17provide feedback to the user if json throws an exceptionpippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7462 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17Ignore all exceptions for now.. m_rpc_json is rather willing to throwpippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7461 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17Added a JSON-RPC module that can be used by other modules to provide a remotepippijn
procedure call interface. This should work in theory, but does not for me. But then, neither does m_httpd_stats so it's probably me... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7460 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵peavey
auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Add flags to /STATS s output, and nuke some ^Mpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7453 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16Made m_ssl_gnutls throw an exception when unable to load the certificate ↵special
(since SSL won't work at all without one) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7441 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-15Fix for bug #349: NOTE there is important caveat about this in the example ↵brain
config, MAKE SURE TO READ IT. When you connect a cgi:irc client two different connect classes are checked at two different times (first the one that the website they are cgi'ing from, then later one for the user's real ip). READ THIS AND UNDERSTAND IT! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7440 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-15Fix for minor memory leak on unloading module, bug #340brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7439 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-12Apply patch from lain to fix multiple cgihosts not being read correctly.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7436 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-11Fix for bug #347.brain
WARNING: QA PEOPLE, THIS NEEDS TESTING!!!! Test this with lots of squits and connects, and i mean lots and lots in all different ways you can think of, /squit, pingout, closing the connection with a firewall etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7434 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10Clarifying commentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7433 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-10This should fix the rest of remote kill nick hidingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-07Implement /dalinfo, as a joke. Consider this an easter egg.brain
More debug logging in m_ssl_openssl, still not fixed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7430 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-07Added some missing parameter checking in m_swhoisspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7429 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-06Warning: Loads of craq logging in here atm. /connect with openssl is broken, ↵brain
gnutls seems fine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7428 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-06And fixed a race condition I introduced in the previous commit that could've ↵special
caused the exact same error I was fixing. This is one of those commits that never happened git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7426 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-06Fixed the handling of the CTCP TIME reply in m_antibear - it could generate ↵special
random client errors. Bug #341 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7425 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-04Init the sequence indicator to avoid undefined behaviour. Thx owine.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7424 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03Removed superfluous semicolonspippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03Fix off-by-one reported by Darom in bug #339w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7421 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26Made all of the error messages in chg* and set* a bit more uniform, and ↵special
added a few that were missing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7413 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26Added checks for empty ident/host/gecos in the chg* and set* commands. Patch ↵special
by Stskeeps git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7412 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24Check for TS==0 in FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7406 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24Drop fmode with TS of 0, just in case any craq smoking services devs get the ↵brain
idea that this is acceptable instead of actually supporting TS rules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7405 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-24Fix for atheme support (and others) which makes sure CAPAB is always sent ↵brain
before BURST git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7404 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-22Fix for bug #332. Correctly invalidate old mode before updating it.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7400 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-20Short circuit order as before, since they are prolly listed according to ↵peavey
what is used the most. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7393 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-20And remember it's not only colorcodes we strip :>.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7392 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-20Fix problem where in certain cases a \0 would be sent out. Thx to network ↵peavey
Hak5IRC for reporting this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7391 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-19Support duration to set idletime as well as plain seconds. For you Zaba :>peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7390 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-18Add ISUPPORT SSL token requested by tabris.brain
Syntax: SSL=<ip/host>:<port>[;<ip/host>:<port> ...] Note that the insp implementation due to API limitations (ick, we have some) will print '*' in the host/ip section, meaning 'bound to all', a client should just connect-back to the ip it connected to initially, on the new port to make use of this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7386 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Update this to use CMD_LOCALONLYw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7370 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Last conversionsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7367 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Conversions. :Dw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7366 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Conversionsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7365 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Conversions..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7364 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Conversions.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7363 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Conversionsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7362 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Conversionsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7361 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17More conversions.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7360 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17More (last of extra)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7359 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7358 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Conversionsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7357 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7356 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Conversionsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7355 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Conversionsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7354 e03df62e-2008-0410-955e-edbf42e46eb7