aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Works with the m_testclient test program/suite!Gravatar brain2006-07-221-4/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4487 e03df62e-2008-0410-955e-edbf42e46eb7
* Error checking and debugGravatar brain2006-07-221-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4486 e03df62e-2008-0410-955e-edbf42e46eb7
* Works now (again, to a point)Gravatar brain2006-07-221-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4485 e03df62e-2008-0410-955e-edbf42e46eb7
* Try and find out why stuff isnt workingGravatar brain2006-07-221-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4484 e03df62e-2008-0410-955e-edbf42e46eb7
* Getting a bit furtherGravatar brain2006-07-221-6/+81
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4483 e03df62e-2008-0410-955e-edbf42e46eb7
* Added notification socketGravatar brain2006-07-211-85/+90
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4482 e03df62e-2008-0410-955e-edbf42e46eb7
* One mess and a half that compiles. To be tidied some day after it works (i ↵Gravatar brain2006-07-211-3/+166
| | | | | | dread that day.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4481 e03df62e-2008-0410-955e-edbf42e46eb7
* Deal with ? substitution, we're at the point now where we can call the ↵Gravatar brain2006-07-211-2/+72
| | | | | | | | | | 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
* Seems to work to a point (dont use it, it wont actually execute a query yet)Gravatar brain2006-07-211-2/+86
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4479 e03df62e-2008-0410-955e-edbf42e46eb7
* This now compiles, i gaurantee it doesnt work :PGravatar brain2006-07-211-134/+178
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4478 e03df62e-2008-0410-955e-edbf42e46eb7
* Change includes, use --libs_r rather than mysql_config --libs, we want ↵Gravatar brain2006-07-211-3/+6
| | | | | | re-enterant libs for pthreads git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4477 e03df62e-2008-0410-955e-edbf42e46eb7
* Move this to m_mysql.cpp - dont even bother reading this yet its unchanged ↵Gravatar brain2006-07-211-0/+0
| | | | | | from m_sql git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4476 e03df62e-2008-0410-955e-edbf42e46eb7
* Set the query string in the SQLquery to the copy with parameters substituted in.Gravatar om2006-07-211-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4475 e03df62e-2008-0410-955e-edbf42e46eb7
* Implemenet parameter substitution (damn sexy if you ask me..)Gravatar om2006-07-211-25/+79
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4474 e03df62e-2008-0410-955e-edbf42e46eb7
* ParamL needs to be a deque rather than a vector *thwap*Gravatar om2006-07-211-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4473 e03df62e-2008-0410-955e-edbf42e46eb7
* Add tiny perl script to detect version and pass an appropriate -D to gcc. ↵Gravatar om2006-07-212-3/+14
| | | | | | 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
* API header and client module updates for new multi-parameter query request. ↵Gravatar om2006-07-213-16/+84
| | | | | | Needs proper implementation in m_pgsql and documentation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4471 e03df62e-2008-0410-955e-edbf42e46eb7
* Slight tidyup: type name = type(args); --> type name(args);Gravatar om2006-07-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4470 e03df62e-2008-0410-955e-edbf42e46eb7
* Make SQLexception inherit ModuleExceptionGravatar om2006-07-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4468 e03df62e-2008-0410-955e-edbf42e46eb7
* Updates, should be able to safely unload client modules with queries in ↵Gravatar om2006-07-202-4/+59
| | | | | | | | 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
* Okay, working PostgreSQL module, API header and example client module in ↵Gravatar om2006-07-203-10/+331
| | | | | | /extra/, enjoy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4463 e03df62e-2008-0410-955e-edbf42e46eb7
* Okay, this is getting towards working now. It just needs the API ↵Gravatar om2006-07-202-384/+506
| | | | | | 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
* Update to new API - I think this is right, compiles...Gravatar om2006-07-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4422 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to a DIFFERENT HOOK for added goodness.Gravatar w00t2006-07-161-10/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4417 e03df62e-2008-0410-955e-edbf42e46eb7
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵Gravatar brain2006-07-1648-101/+98
| | | | | | | | | | 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
* Fixes/codes of the query queue, various prototypes and stuff...mostly ↵Gravatar om2006-07-161-26/+42
| | | | | | 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
* Removed GCC2 checks as we havent supported gcc2 for yearsGravatar brain2006-07-152-13/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4394 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't allow SAQUIT, SANICK, SAPART and SAJOIN on ulined clients :)Gravatar brain2006-07-144-16/+36
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4390 e03df62e-2008-0410-955e-edbf42e46eb7
* TidyupGravatar brain2006-07-141-23/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4389 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to different way of clearing users on netsplit (uses less ram and ↵Gravatar brain2006-07-141-75/+19
| | | | | | | | | 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
* All this works now (hopefully)Gravatar brain2006-07-121-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4367 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typoGravatar brain2006-07-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4366 e03df62e-2008-0410-955e-edbf42e46eb7
* Seems to work okGravatar brain2006-07-121-5/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4365 e03df62e-2008-0410-955e-edbf42e46eb7
* I don't know if this works yet -- needs testingGravatar brain2006-07-121-8/+70
| | | | | | | Nonblocking DNS calls git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4364 e03df62e-2008-0410-955e-edbf42e46eb7
* A few updates to the API headerGravatar om2006-07-121-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4363 e03df62e-2008-0410-955e-edbf42e46eb7
* Add part-finished m_cgiirc module for Brain to play withGravatar om2006-07-121-0/+367
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4362 e03df62e-2008-0410-955e-edbf42e46eb7
* Add exception handling hereGravatar brain2006-07-121-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4361 e03df62e-2008-0410-955e-edbf42e46eb7
* Added helperfuncs.hGravatar brain2006-07-121-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4356 e03df62e-2008-0410-955e-edbf42e46eb7
* Oops, make methods publicGravatar brain2006-07-121-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4355 e03df62e-2008-0410-955e-edbf42e46eb7
* Test framework in m_testcommand, add interfaceGravatar brain2006-07-121-15/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4354 e03df62e-2008-0410-955e-edbf42e46eb7
* Topic support in channel list - NOTE THIS ISNT SAFE AGAINST XSS YETGravatar brain2006-07-111-5/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4351 e03df62e-2008-0410-955e-edbf42e46eb7
* Added stylesheet supportGravatar brain2006-07-111-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4350 e03df62e-2008-0410-955e-edbf42e46eb7
* Now has a shiney 'valid xhtml 1.1' icon, just because it can.Gravatar brain2006-07-111-5/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4349 e03df62e-2008-0410-955e-edbf42e46eb7
* XHTML 1.1 spec validation and charsetGravatar brain2006-07-111-33/+38
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4348 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed some debug in the sorting algorithmGravatar brain2006-07-111-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4347 e03df62e-2008-0410-955e-edbf42e46eb7
* typo Count -> NameGravatar brain2006-07-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4346 e03df62e-2008-0410-955e-edbf42e46eb7
* Add voice, halfop and op countsGravatar brain2006-07-111-2/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4345 e03df62e-2008-0410-955e-edbf42e46eb7
* Channel size sorting with a tricksy sort that converts it on the fly from ↵Gravatar brain2006-07-111-2/+51
| | | | | | std::map to std::vector for displaying git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4344 e03df62e-2008-0410-955e-edbf42e46eb7
* FIX channel user count stuff. next to do, order the user count listGravatar brain2006-07-111-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4342 e03df62e-2008-0410-955e-edbf42e46eb7
* Channel user count stuffGravatar brain2006-07-111-1/+97
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4341 e03df62e-2008-0410-955e-edbf42e46eb7