aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra
Commit message (Collapse)AuthorAgeFilesLines
...
* Move QueryQueue class into m_sqlv2 to prevent flat-out duplication of ↵Gravatar brain2007-01-173-246/+136
| | | | | | identical code in pgsql and mysql modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6368 e03df62e-2008-0410-955e-edbf42e46eb7
* Mass comment removal.Gravatar brain2007-01-177-249/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6367 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove/fix unused variable warningGravatar brain2007-01-172-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6366 e03df62e-2008-0410-955e-edbf42e46eb7
* It says something about how excessive our debug output is when the ssl ↵Gravatar brain2007-01-172-124/+7
| | | | | | modules have 'cascades' of 'if-then-else' whos job is ONLY to output debug! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6365 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix possible segfault if sql query failed. Using a free'd char is probably ↵Gravatar peavey2007-01-151-6/+4
| | | | | | not a good thing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6347 e03df62e-2008-0410-955e-edbf42e46eb7
* Hook qlite3_update_hook to queries to also catch affected rows on ↵Gravatar peavey2007-01-141-2/+18
| | | | | | UPDATE/INSERT/DELETE. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6344 e03df62e-2008-0410-955e-edbf42e46eb7
* I forgot to exec("gnutls-config --libs") in the configure macrosGravatar brain2007-01-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6337 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some old destroy code not needed with InpSocket.Gravatar peavey2007-01-141-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6336 e03df62e-2008-0410-955e-edbf42e46eb7
* Make REHASH work.Gravatar peavey2007-01-141-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6335 e03df62e-2008-0410-955e-edbf42e46eb7
* Dont need to send anything on the notifier socket.Gravatar peavey2007-01-141-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6334 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove DOS newlines.Gravatar peavey2007-01-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6333 e03df62e-2008-0410-955e-edbf42e46eb7
* Now with SQLite3 support. Fully functional and (hopefully) working.Gravatar peavey2007-01-141-13/+168
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6332 e03df62e-2008-0410-955e-edbf42e46eb7
* OMG SQLITE3 support, almost there now =)Gravatar peavey2007-01-141-0/+532
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6321 e03df62e-2008-0410-955e-edbf42e46eb7
* Make m_sqlv2.h::SQLquery extend 'classbase', for easy passing as deque ↵Gravatar peavey2007-01-141-26/+26
| | | | | | parameter. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6318 e03df62e-2008-0410-955e-edbf42e46eb7
* Bang! Gone due to new buildsystem.Gravatar peavey2007-01-141-13/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6315 e03df62e-2008-0410-955e-edbf42e46eb7
* Add eval() and exec() macros, that evaluate perl and execute commands at ↵Gravatar brain2007-01-145-13/+7
| | | | | | configure time, rather than delaying them with backticks till compile time. This picks up any errors sooner. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6311 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra stuff to improve buildsystem, calculate lib and include dirs at ↵Gravatar brain2007-01-138-37/+5
| | | | | | | | | configure time rather than at build time. This means that we can also throw errors at configure time if we cant find the libraries, rather than erroring at buildtime like we used to. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6306 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up the buildsystem a lot by encapsulating repeated detection routines ↵Gravatar brain2007-01-134-75/+25
| | | | | | | | | for lib dirs and header dirs in make/utilities.pm. See the pl files in src/modules/extra for how to use the functions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6305 e03df62e-2008-0410-955e-edbf42e46eb7
* Get flags for sqlite3.Gravatar peavey2007-01-131-0/+30
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6304 e03df62e-2008-0410-955e-edbf42e46eb7
* Change this to use our md5 provider rather than MD5() in the queryGravatar brain2007-01-131-1/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6303 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve handling of backend server being down. Also decraq some debug output ↵Gravatar peavey2007-01-121-16/+16
| | | | | | that was really confusing me. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6301 e03df62e-2008-0410-955e-edbf42e46eb7
* More tidyup.Gravatar peavey2007-01-111-8/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6297 e03df62e-2008-0410-955e-edbf42e46eb7
* Only use force if necessary! Tidy up debug output.Gravatar peavey2007-01-111-6/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6296 e03df62e-2008-0410-955e-edbf42e46eb7
* pgsql should now work thx to added posibility to force a fd out of the ↵Gravatar peavey2007-01-111-16/+10
| | | | | | socketengine. This should only be used as a *last resort* when dealing with 3rd party libs that invalidates a file descriptor beyond your control. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6295 e03df62e-2008-0410-955e-edbf42e46eb7
* Closer now, but somehow libpq invalidates the file descriptor on server ↵Gravatar peavey2007-01-111-52/+34
| | | | | | shutdown leaving us in limbo. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6294 e03df62e-2008-0410-955e-edbf42e46eb7
* reconnects still broken, but getting there.Gravatar peavey2007-01-101-30/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6293 e03df62e-2008-0410-955e-edbf42e46eb7
* SQLConn rewritten to use EventHandler instead of InspSocket. This is much ↵Gravatar peavey2007-01-101-478/+419
| | | | | | neater and gives total control of destroy and delete of resources. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6292 e03df62e-2008-0410-955e-edbf42e46eb7
* Document dns caching, add a "bool cached" to OnLookupComplete method in ↵Gravatar brain2007-01-071-2/+2
| | | | | | Resolver, and and add " -- cached" to end of 'looking up your host' string if their result is a cached result git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS caching stuff (almost done)Gravatar brain2007-01-071-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7
* DNS Stuff - this wont work right yet, it will soon (tm)Gravatar brain2007-01-071-5/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7
* Add TTL stuff to dns system (pass it to inherited objects)Gravatar brain2007-01-071-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash when unloading ssl module on shutdown -- there are no port objects ↵Gravatar brain2007-01-062-2/+4
| | | | | | to set the description back to 'plaintext' on, here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6230 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a TODO comment. Also added support for <database:port> option since ↵Gravatar peavey2007-01-021-1/+0
| | | | | | r6213 so we can now connect to other ports than the standard mysql 3306 port. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6216 e03df62e-2008-0410-955e-edbf42e46eb7
* m_mysql can now do REHASH proper. Detects any changes made to config and ↵Gravatar peavey2007-01-021-14/+81
| | | | | | loads/removes as needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6215 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix: If sql user and pass matched, but not operclass or host, conf based ↵Gravatar peavey2007-01-021-0/+8
| | | | | | command would NOT be called and request would die quietly without notifying the user or send SNOtice of failed attempt. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6214 e03df62e-2008-0410-955e-edbf42e46eb7
* Also use SQLhost for host config.Gravatar peavey2007-01-021-19/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6213 e03df62e-2008-0410-955e-edbf42e46eb7
* Use SQLhost from m_sqlv2.h and tidyup some code. Plus throw less module ↵Gravatar peavey2007-01-021-88/+36
| | | | | | exceptions and warn instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6212 e03df62e-2008-0410-955e-edbf42e46eb7
* Add class SQLhost that represents a <database> config line.Gravatar peavey2007-01-021-0/+39
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6211 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to allow for OnRehash to know what user initiated the rehashGravatar brain2007-01-018-14/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix this so it works properly, and removes the descriptions on unload (when ↵Gravatar brain2007-01-012-2/+12
| | | | | | the sockets revert back to plaintext) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6197 e03df62e-2008-0410-955e-edbf42e46eb7
* Add port type identifiersGravatar brain2007-01-012-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6196 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup a bit, get rid of some valgrind warnings.Gravatar peavey2006-12-311-157/+143
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6191 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it safe to lose connection to sql server.Gravatar peavey2006-12-301-36/+84
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6183 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a line of debug that could crash Log.Gravatar peavey2006-12-301-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6180 e03df62e-2008-0410-955e-edbf42e46eb7
* This is a longshot, pls test AnnMaster.Gravatar peavey2006-12-301-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6178 e03df62e-2008-0410-955e-edbf42e46eb7
* The world is coming to an end!!! RUN AWAY!Gravatar brain2006-12-301-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6175 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typo in warning, and make it sound less like the world is coming to an end.Gravatar peavey2006-12-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6174 e03df62e-2008-0410-955e-edbf42e46eb7
* Now REHASH checks for same and old connections, same as the DNS resolver. So ↵Gravatar peavey2006-12-301-35/+95
| | | | | | that the connections are only reset if things were changed. \o/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6173 e03df62e-2008-0410-955e-edbf42e46eb7
* Majorly funk around with this, still needs check for config change on REHASH.Gravatar peavey2006-12-301-182/+190
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6168 e03df62e-2008-0410-955e-edbf42e46eb7
* That should make it load/unload, still needs REHASH done proper.Gravatar peavey2006-12-301-1/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6167 e03df62e-2008-0410-955e-edbf42e46eb7