4203 Commits

Author SHA1 Message Date
brain
c3f221fcbb Annotations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5256 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15 14:59:22 +00:00
brain
7c0c957577 Annotations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5255 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15 14:25:10 +00:00
brain
b45e7cfebb Annotations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15 10:59:36 +00:00
brain
ea483e4972 Remove ExemptItem and InviteItem, these were never used
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5253 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15 10:29:22 +00:00
brain
6890b6e89e Comment tidyup and change format so doxygen can detect them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5252 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15 09:55:19 +00:00
brain
3944d6cf0d Comments describing classes, for the url http://svn.inspircd.org/docs/annotated.html
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5251 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15 09:47:43 +00:00
brain
33887e4a65 Fix some stuff, avoid use of global ServerInstance var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5250 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15 08:07:32 +00:00
brain
778f0b1af6 Commit all the httpd patches i sneakily put in before 9am at the office :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5249 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14 17:28:15 +00:00
brain
08b7e8e60e Use gmtime() not localtime() as RFC2616 says dates sent by a http server must be GMT/UTC
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5248 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14 13:08:47 +00:00
brain
1d6fcf371c Remember to change state when sending error 400
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5247 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14 11:45:38 +00:00
brain
3b809f52ad Send error 400 when content-size is 0 or omitted for POST
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5246 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14 11:42:03 +00:00
brain
0f66106f8c Fix postdata stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5245 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14 11:35:43 +00:00
brain
a19512aff3 Only initialise request type once
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5244 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14 11:25:37 +00:00
brain
663958cfd6 Properly read POSTDATA
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5243 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14 11:15:39 +00:00
brain
30f7b57e98 Todo: find out content-length, then read that much data
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5241 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 22:43:10 +00:00
brain
f54aa39428 Beginnings of postdata stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5240 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 22:38:03 +00:00
brain
b4a3426019 Add jamie to code contributors in /info
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5239 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 22:06:08 +00:00
brain
1bbc0066e9 Document this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5238 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 21:59:25 +00:00
brain
9fa9a660d0 Did i ever mention that pipp was pedantic? ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5237 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 21:14:46 +00:00
brain
87eb20d663 Add m_conn_umodes.so which allows setting of modes on users when they connect
Remove automatic +x from m_cloaking now that conn_umodes can do this
Document in example conf.
Syntax is <connect:modes> and a mode string in any valid connect:allow tag


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5236 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 21:12:31 +00:00
brain
ac6719f6c6 Patch from jamie to detect malformed openssl versions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5235 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 20:50:08 +00:00
brain
ab7bdcacb7 Try this pipp and see if the bug manifests in a different place
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5233 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 20:37:38 +00:00
brain
5c53f05f76 If inspircd crashes in std::string destructor in CommandParser::ProcessCommand, take away all std::string's to make the bug manifest elsewhere, so maybe we can spot it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5232 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 20:29:53 +00:00
brain
92bfb4ef78 Add a comment for readability
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5231 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 20:08:25 +00:00
brain
c06d4197af Special check in cmd_quit and cmd_kill and special return value CMD_USER_DELETED, to prevent theoretical segfault (this isnt the bug youre trying to find, pip)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5230 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 20:07:19 +00:00
brain
7b3b742d63 Try this, jamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5229 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 18:49:56 +00:00
brain
202d24ba9e Fix minor memory leak when setting new param that replaces old
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5228 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 18:18:51 +00:00
brain
844abcbc56 Add debug to m_spanningtree, verifies that inspircd works correctly on FMODE (after patches are applied)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5227 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 18:01:37 +00:00
brain
23a9954ba8 Fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5226 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 17:52:58 +00:00
brain
002a4dec73 Fix m_messageflood along same lines as m_joinflood (jamie forgot a patch, i figured this one out for myself)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5225 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 17:51:01 +00:00
brain
28a4e0417e And fix again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5224 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 17:48:33 +00:00
brain
5f02706fb0 Merge jamies many patches
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5223 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 17:47:35 +00:00
special
456516e3f5 Applied jamie's cmd_gline patch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5221 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13 02:28:37 +00:00
brain
b92bccf8d7 Whack a strlcpy()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5220 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11 20:02:46 +00:00
brain
484cfeaa2c kill casts, so that om <3's the code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5219 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11 19:51:08 +00:00
w00t
83562ac4df Fix for picky compilers (see, I work sometimes ;p)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5218 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11 19:34:28 +00:00
brain
4be8947750 Fix timedbans bug reported by jamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5217 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11 17:24:09 +00:00
brain
00c46713a3 Remove execinfo and threaded dns detection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5215 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11 00:14:48 +00:00
brain
c20523c9f0 What TWONK made uname be /bin/uname, its NOT in /bin on bsd.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5214 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11 00:06:46 +00:00
special
8af3d1bc46 Added a bunch of binaries, configs, modules symlinked from extra, and other unversioned things to svn:ignore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5212 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 23:32:39 +00:00
brain
1d74392ed2 This should fix the timeout issues pippjin was experiencing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5211 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 23:18:42 +00:00
brain
e20a61674e Remove -Ldl from c++ opts in freebsd... its always been a non-op (all it does is try to look in dir 'dl' for libs, which doesnt exist anyway) and was being used as a pointless "comment" to indicate dynamic linking was in use. Removed in case it ever breaks something.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5210 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 20:00:47 +00:00
brain
ea12a57635 Take some debug crap out of ModeParser::ModeString()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5209 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 19:50:17 +00:00
brain
1a3297e974 * Fix ChanModes::ModeString to not try and set a key as a user mode ;)
* Tweak the way cyclehosts works, so that mode change is not echoed back to user who changes their host/ident


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5208 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 19:48:30 +00:00
brain
2bbe76b198 Make it neater
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5207 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 18:24:09 +00:00
brain
c5077c1c90 Dont allow keys of length >= 32
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5206 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 18:23:09 +00:00
brain
452112ed23 Remove unused buffer and call to MakeHost()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5205 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 17:55:45 +00:00
brain
55379445da Make /stats k/g/e work right
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5204 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 17:52:55 +00:00
brain
a9c93027da Split hostmasks into ident and host pairs for matching as g/k/e lines. This allows them to be matched faster and more efficiently
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5203 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 17:51:03 +00:00
brain
7ee9ca88a8 Fix the new g/k/e line stuff to match ips. NOTE: this makes g/k/e much slower than z. By factors of about 3. If you want to match tons of users, as always use zline (for this and many other reasons)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5202 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 17:28:03 +00:00