summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2006-07-21Added notification socketbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4482 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21One mess and a half that compiles. To be tidied some day after it works (i ↵brain
dread that day.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4481 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21Deal with ? substitution, we're at the point now where we can call the ↵brain
mysql_real_query function (mysql_real_query takes char* and length params, mysql_query just takes char*, and cant deal with NULLs) TODO after this: signal the main ircd thread that theres a result ready on a given db id, and to fetch that result and post it back to the caller git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4480 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21Seems to work to a point (dont use it, it wont actually execute a query yet)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4479 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21This now compiles, i gaurantee it doesnt work :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4478 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21Change includes, use --libs_r rather than mysql_config --libs, we want ↵brain
re-enterant libs for pthreads git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4477 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21Move this to m_mysql.cpp - dont even bother reading this yet its unchanged ↵brain
from m_sql git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4476 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21Set the query string in the SQLquery to the copy with parameters substituted in.om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4475 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21Implemenet parameter substitution (damn sexy if you ask me..)om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4474 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21ParamL needs to be a deque rather than a vector *thwap*om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4473 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21Add tiny perl script to detect version and pass an appropriate -D to gcc. ↵om
Make m_pgsql #ifdef around PQescapeStringConn() which is only available in PostgreSQL >= 8.1.4 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4472 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21API header and client module updates for new multi-parameter query request. ↵om
Needs proper implementation in m_pgsql and documentation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4471 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-21Slight tidyup: type name = type(args); --> type name(args);om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4470 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-20Make SQLexception inherit ModuleExceptionom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4468 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-20Updates, should be able to safely unload client modules with queries in ↵om
progress now... Ideas on how to test this welcome ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4464 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-20Okay, working PostgreSQL module, API header and example client module in ↵om
/extra/, enjoy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4463 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-20Okay, this is getting towards working now. It just needs the API ↵om
finishing...everything in the backend part seems to be working okay git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4456 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16Update to new API - I think this is right, compiles...om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4422 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16Change to a DIFFERENT HOOK for added goodness.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4417 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵brain
parameters to commands in handlers) which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16Fixes/codes of the query queue, various prototypes and stuff...mostly ↵om
commited so I can do other stuff without typing the paths out manually git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4401 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-15Removed GCC2 checks as we havent supported gcc2 for yearsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-14Don't allow SAQUIT, SANICK, SAPART and SAJOIN on ulined clients :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4390 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-14Tidyupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4389 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-14Changed to different way of clearing users on netsplit (uses less ram and ↵brain
should be less bug prone) WE NEED TESTERS FOR THIS. MAKE TEST NETWORKS FULL OF 1_0_STABLE SVN SERVERS AND FILL THEM WITH BOTS/PSEUDOS THEN CAUSE NETSPLITS! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4388 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12All this works now (hopefully)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4367 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4366 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Seems to work okbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4365 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12I don't know if this works yet -- needs testingbrain
Nonblocking DNS calls git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4364 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12A few updates to the API headerom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4363 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Add part-finished m_cgiirc module for Brain to play withom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4362 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Add exception handling herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4361 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Added helperfuncs.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4356 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Oops, make methods publicbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4355 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Test framework in m_testcommand, add interfacebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4354 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Topic support in channel list - NOTE THIS ISNT SAFE AGAINST XSS YETbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4351 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Added stylesheet supportbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4350 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Now has a shiney 'valid xhtml 1.1' icon, just because it can.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4349 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11XHTML 1.1 spec validation and charsetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4348 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Removed some debug in the sorting algorithmbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4347 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11typo Count -> Namebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4346 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Add voice, halfop and op countsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4345 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Channel size sorting with a tricksy sort that converts it on the fly from ↵brain
std::map to std::vector for displaying git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4344 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11FIX channel user count stuff. next to do, order the user count listbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4342 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Channel user count stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4341 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Check for uri and only claim /stats and /stats/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4340 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Add content-typebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4339 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Basic html output other than chickensbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4338 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Allow modules to change the content-type of the document (defaults to text/html)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4337 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11Make it not b0rk on empty headersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4336 e03df62e-2008-0410-955e-edbf42e46eb7