3446 Commits

Author SHA1 Message Date
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
brain
10630982d7 Foulups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4328 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 13:30:30 +00:00
brain
6fac3ffc3b We might as well start on some module to interface with the service provider, eh
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4327 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 13:23:10 +00:00
brain
994c70862f Craqbusters
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4326 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 13:15:55 +00:00
brain
3f80008ba3 Event class for m_httpd.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4325 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 12:55:49 +00:00
om
ecec1067b4 Add single parameter versions of Extensible::Extend and Extensible::GetExt for storing boolean values, seckshayer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4324 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 12:27:58 +00:00
brain
0eaa647dcb Fix my last broken commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4323 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 10:33:43 +00:00
brain
276b84df68 Move openSockfd[] into ServerConfig
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4322 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 10:03:09 +00:00
brain
e82f44b3ed Fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4321 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 01:32:11 +00:00
brain
e2e165d573 Change last vestiges of m_http.so -> m_httpd.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4320 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-11 00:09:06 +00:00
brain
eecdd0da4b Because people whined :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4319 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 22:53:13 +00:00
brain
4ef3f03aa7 Sucky default index, maybe some day someone should do a better one.
Once we have a virtual filesystem module of some description to make use of it.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4318 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 22:49:12 +00:00
brain
6aa31577af Dir for storing http stuff in.
Updates to make m_http not do sucky things.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4317 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 22:44:50 +00:00
brain
b9d5841f8f ContentSize speedups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4316 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 22:23:03 +00:00
brain
21ec94afe3 Fugly code band-aid^H^H^H^H^Hfix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4315 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 22:18:56 +00:00
brain
719f60cfc6 Add FileReader::ContentSize and FileReader::Contents
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4314 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 22:11:53 +00:00
brain
5ced4eea0a Header stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4313 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 21:54:44 +00:00
brain
e3d229ec10 Serves faster now :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4312 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 21:46:19 +00:00
brain
07dc7793d0 Add timeouts etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4311 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 21:39:56 +00:00
brain
a3b853420e Ok, hands up who forgot to initialise Srv :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4310 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 21:34:03 +00:00
brain
be2cf7a99f Move logging further up in inspsocket so we get the right error for bind failure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4309 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 21:30:30 +00:00
brain
184b622025 Try to make this serve some static content
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4308 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 21:23:21 +00:00
brain
02d9fc3279 Http service provider module (this doesnt do anything yet!)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4307 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 21:05:24 +00:00
brain
1b9da97971 Update docs to indicate new templated GetExt and Extend, remove references to char* and void* pointers in here, and indicate how its now possible to store a NULL in Extensible :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4306 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 20:26:42 +00:00
brain
57a5c3b9b3 Take out broken id
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4305 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 19:12:04 +00:00
brain
f6103acd92 Aaaand, fix the typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4304 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 19:09:19 +00:00
brain
d9174c0a19 Added refcount to classbase, static classbase::id
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4303 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 19:08:43 +00:00
brain
7de6d6cb9d Typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4302 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 19:06:38 +00:00
brain
28b812bb33 I made a Boo Boo :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4301 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 19:04:16 +00:00
brain
df6c796c0a Deps weeding
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4300 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 19:02:52 +00:00
brain
ac39617c08 Inherit just about everything from classbase
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4299 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 19:02:06 +00:00
brain
62b550f653 Inherit tons of stuff from classbase that should always have been
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4298 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 18:54:25 +00:00
brain
73e972340b Making lots of stuff inherit from classbase so we can use it as a holdall class that we can throw around with dynamic_cast<>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4297 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-10 18:48:40 +00:00