zeeZ
05f3ced64f
Tabs and spaces.
2011-05-16 14:51:18 +02:00
zeeZ
bb45cc10cb
Added weather to json world output (hasStorm and isThundering)
2011-05-10 12:51:52 +02:00
zeeZ
cf1d6c414d
Organize imports
2011-05-10 12:51:52 +02:00
FrozenCow
be60623719
Fixed tabs.
2011-05-07 22:11:41 +02:00
zeeZ
63b9579fa5
Strip colors off chat, use getDisplayName instead of getName
2011-05-01 23:11:29 +02:00
zeeZ
ca9aa0727f
Fix for worlds with weird names and URLDecode mumbo-jumbo
2011-04-28 16:34:50 +02:00
FrozenCow
eb276dd59d
Another attempt to make server conform http.
2011-04-06 00:54:48 +02:00
FrozenCow
e1e13df4b2
Removed redundant configuration values and made use of customizable join/quit messages.
2011-04-05 22:30:43 +02:00
FrozenCow
3bed604190
Another import removal.
2011-03-17 02:36:26 +01:00
Jason Booth
2cef9731ed
WebChat enhancement and fixes
...
Added Spam Message config
Internal server now replies a spam message
Fixed getting webchat-interval to get int rather than double then cast
Fixed holding down "enter" on the empty chat line would spam chat attempts
Fixed so jsonip.appspot query is only done once
2011-03-15 19:17:58 -05:00
FrozenCow
38e997cf37
Added webchat-interval for anti-spam webmessaging.
2011-03-15 22:43:48 +01:00
FrozenCow
6c6d29a402
Removed some warnings, redisabled BufferedOutputStream closing.
2011-03-15 21:04:53 +01:00
alron
57c952a1cd
oops, didn't need that ^^
2011-03-12 01:36:43 -08:00
alron
77cc1a70c4
Close potential filedescriptor leak.
2011-03-12 01:35:07 -08:00
alron
0007acd05b
Close potential filedescriptor leak.
2011-03-12 01:33:30 -08:00
FrozenCow
47e1f20a15
Fixed shutting down http server(?)
2011-03-11 15:22:14 +01:00
FrozenCow
0657d9c559
Code cleanup.
2011-03-10 15:59:19 +01:00
FrozenCow
8d70839d3b
Some changes after running Findbugs.
2011-03-05 16:09:26 +01:00
FrozenCow
41bf56fccb
Optimized stringifyJson a bit.
2011-03-04 22:17:50 +01:00
FrozenCow
d1f280eb0f
Cleaned Http handling a bit.
2011-03-04 21:31:16 +01:00
FrozenCow
9ce160f1b9
Enabled '-' and '.' to be valid world-characters.
2011-03-04 20:15:52 +01:00
FrozenCow
e771d94f24
Added configuration caching.
2011-03-01 18:52:15 +01:00
FrozenCow
1e04d10b35
Nicer invalid update-url handling (for invalid world-names or non-existing worlds).
2011-02-26 20:27:54 +01:00
FrozenCow
791341f210
Fixed httpserver thereby also more optimized.
2011-02-19 00:01:42 +01:00
FrozenCow
d3cf795ebb
Fixed stupid mistake with body of http requests.
2011-02-18 19:42:32 +01:00
FrozenCow
909207ac26
Organized imports.
2011-02-15 21:44:08 +01:00
FrozenCow
99605ba433
Make sure request-body is skipped if not read.
2011-02-15 21:06:14 +01:00
FrozenCow
ada9637d72
Added sendmessage handler (for chatting back).
2011-02-15 21:00:36 +01:00
FrozenCow
2d693b1ebf
Improved HTTP performance and POST/PUT compatbility.
2011-02-15 21:00:04 +01:00
FrozenCow
e900aca2e0
Added helper classes for HTTP.
2011-02-15 14:19:43 +01:00
FrozenCow
38df91bafe
Report world for players in updates.
2011-02-15 13:38:46 +01:00
FrozenCow
b63369675d
Re-added flushing again (oops).
2011-02-13 23:22:57 +01:00
FrozenCow
a81665d38d
Fixed time being reported of the correct world.
2011-02-13 22:46:45 +01:00
FrozenCow
9a2b9ccac0
Fixed HttpServer some more.
2011-02-13 22:30:24 +01:00
FrozenCow
835e566151
Some improvements to HttpServer.
2011-02-13 02:56:00 +01:00
FrozenCow
100f3e0590
Added multiworld update support along with client-side support.
2011-02-13 01:19:47 +01:00
FrozenCow
29517e9a24
Fixed handling invalid http requests.
2011-02-09 17:22:16 +01:00
FrozenCow
38ee8657e8
Better exception handling.
2011-02-08 20:59:51 +01:00
FrozenCow
3e398e9124
Made updates in JSON format. Combined chat and tile queues into one UpdateQueue. Fixed UpdateQueue.
2011-02-06 03:00:51 +01:00
FrozenCow
7c257af454
Fixed Json stringify.
2011-02-06 02:00:27 +01:00
FrozenCow
a937d13086
Added reflection-support for stringifyJson.
2011-02-05 21:09:49 +01:00
FrozenCow
d651d58d63
Moved stringifyJson to Json class.
2011-02-05 21:02:39 +01:00
FrozenCow
9a655676ab
Moved FileHandler to handlers package.
2011-02-05 20:54:28 +01:00
FrozenCow
debf5bcc57
Renamed WebServer to HttpServer and WebServerRequest to HttpServerConnection.
2011-02-05 20:53:42 +01:00
FrozenCow
2a79aea7bb
Moved handlers to their own (independent) classes.
2011-02-05 20:51:20 +01:00
FrozenCow
883eba6890
Removed debugging + small fix.
2011-02-05 19:57:32 +01:00
FrozenCow
226cc5f86c
More work on HttpServer.
2011-02-05 19:51:48 +01:00
FrozenCow
bf0edea7e2
Initial http-server work.
2011-02-05 19:51:48 +01:00
FrozenCow
3940b91d0e
Applied Eclipse formatting.
2011-02-05 02:25:18 +01:00
FrozenCow
13e829cda0
Updated Server.getTime to World.getTime (to reflect Bukkit's changes)
2011-02-02 11:40:49 +01:00