3428 Commits

Author SHA1 Message Date
brain
ccb1837a14 Fix dns socket leak found in stable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-14 11:43:17 +00:00
brain
45216ce431 Move a notice around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4379 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-13 16:30:55 +00:00
brain
c02f21d528 Fix -modupdate to actually work (doesnt force a total rebuild when you add a module)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4378 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-13 16:30:18 +00:00
brain
7ba5119a71 Missing newline
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4377 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-13 16:21:24 +00:00
brain
7386174f05 Output module counts on ./configure -update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4376 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-13 16:19:52 +00:00
brain
9e754af283 Final test.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4375 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 19:36:39 +00:00
brain
90c8377bc8 Test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4374 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 19:34:27 +00:00
brain
6f496589a2 Mirroring test
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4373 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 19:30:22 +00:00
brain
a7c61798a2 Test commit (this should be auto synched to staffbox)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4372 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 19:28:31 +00:00
brain
6b1bf65aac Test commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4371 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 19:24:15 +00:00
brain
a8b71c68dd Tiny tiny docs update, not even worth re-generating the docs for atm
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4370 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 16:15:00 +00:00
brain
7b41936ce8 Document class Resolver
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4369 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 15:35:59 +00:00
brain
5e606f5ffc Removed debugging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4368 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 15:14:56 +00:00
brain
4f03923da6 All this works now (hopefully)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4367 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 15:14:20 +00:00
brain
aa04777319 Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4366 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 14:17:09 +00:00
brain
7984f41072 Seems to work ok
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4365 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 14:16:31 +00:00
brain
d4efb7d2da I don't know if this works yet -- needs testing
Nonblocking DNS calls


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4364 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 14:02:23 +00:00
om
de814e737b A few updates to the API header
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4363 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 13:29:44 +00:00
om
cabf8c1b2f Add part-finished m_cgiirc module for Brain to play with
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4362 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 13:29:04 +00:00
brain
4917b48d84 Add exception handling here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4361 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 13:01:06 +00:00
brain
45fe5e1683 Throw moduleexception if you:
(a) try and resolve hosts before the core is initialized (HOW?!)
(b) try and resolve a host and the domain server is totally unreacable e.g. through lack of fd's or ifconfig eth0 down :p (this is the only safe way, any other way may result in a developer inserting an invalid pointer into a list of Resolver* theyre watching)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4360 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 12:58:56 +00:00
brain
8c52db0ea8 Typo #2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4359 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 12:44:48 +00:00
brain
2eacbf5448 Typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4358 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 12:44:25 +00:00
brain
d4cb72e312 Make it work:
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 12:43:55 +00:00
brain
1905cc30e0 Added helperfuncs.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4356 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 12:31:54 +00:00
brain
ed2532bc9c Oops, make methods public
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4355 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 12:30:50 +00:00
brain
069fa0a472 Test framework in m_testcommand, add interface
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4354 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 12:26:58 +00:00
brain
b864f69ce9 Added class Resolver (needs testing)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4353 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12 12:20:36 +00:00
brain
150aaa6f9d Topic support in channel list - NOTE THIS ISNT SAFE AGAINST XSS YET
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4351 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 20:52:03 +00:00
brain
3860724f05 Added stylesheet support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4350 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 20:24:26 +00:00
brain
7a5dbad703 Now has a shiney 'valid xhtml 1.1' icon, just because it can.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4349 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 20:18:59 +00:00
brain
bf797a3879 XHTML 1.1 spec validation and charset
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4348 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 20:13:42 +00:00
brain
0b907417dc Removed some debug in the sorting algorithm
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4347 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 20:04:48 +00:00
brain
b58a00ba78 typo Count -> Name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4346 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 20:04:05 +00:00
brain
66127b6b45 Add voice, halfop and op counts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4345 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 20:00:35 +00:00
brain
8185b9cbe7 Channel size sorting with a tricksy sort that converts it on the fly from 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-11 19:55:17 +00:00
brain
94373f0fe8 FIX channel user count stuff. next to do, order the user count list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4342 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 19:23:36 +00:00
brain
d67225f7e1 Channel user count stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4341 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 19:20:18 +00:00
brain
14326e2186 Check for uri and only claim /stats and /stats/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4340 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 15:06:05 +00:00
brain
dd87b2ce75 Add content-type
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4339 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 15:01:04 +00:00
brain
f5da4b3954 Basic html output other than chickens
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4338 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:58:07 +00:00
brain
a9d2bf330c Allow modules to change the content-type of the document (defaults to text/html)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4337 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:50:00 +00:00
brain
a922e944e8 Make it not b0rk on empty headers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4336 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:43:03 +00:00
brain
74ba5a43d6 Stop the chickens reproducing :X
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4335 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:40:31 +00:00
brain
31958fcac3 Make var const
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4334 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:39:23 +00:00
brain
6322067c90 Stuff for adding extra headers to a response (for Authorization: and Location: etc)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4333 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:38:07 +00:00
brain
5a673b22fc This works now, m_httpd_stats.so prints 'chickens' on all pages except the index
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4332 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:16:27 +00:00
brain
2b697b5b03 Compiles now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4331 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:08:59 +00:00
brain
1e4120dd22 Craq fixing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4330 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:05:52 +00:00
brain
1ce6fe7525 Error code stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4329 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 14:00:54 +00:00