Commit graph

92 commits

Author SHA1 Message Date
Mike Primm
35f282a0a1 Add support for 'http-reponse-headers' attribute to add custom response headers 2011-08-30 10:34:58 +08:00
Mike Primm
2c9285666d Add support for JPEG encoding option for HDMaps 2011-08-12 14:48:52 +08:00
Mike Primm
c446774775 Make JSON unicode encoding more thorough - don't assume anything outside ASCII should not be escaped 2011-07-30 02:13:45 -05:00
Mike Primm
6db51ef27d Add max-sessions setting to configuration.txt - limits concurrent threads and sessions on internal web server 2011-07-25 20:34:37 -05:00
Mike Primm
e5a7c05fc5 Improve handling of /reload, clean up dead code 2011-07-24 23:23:24 -05:00
Mike Primm
5275094565 Add support for enforcing banned-ips.txt on internal web server 2011-07-22 16:56:08 -05:00
Mike Primm
21c32cab04 Add proper Connection response to keep-alive handling 2011-07-20 01:37:31 -05:00
Mike Primm
03fbb23bf1 Don't throw exception on bogus absolute path (http://xxx//blah) 2011-06-30 03:19:04 +08:00
Mike Primm
92e7139553 Add better URI path normalization, option to allow symlinks in web
path
2011-06-29 13:40:02 -05:00
Mike Primm
016f7541dc Add some cleanup to help avoid exceptions on /reload and shutdown/disable 2011-06-29 01:37:09 -05:00
Mike Primm
3aad863d27 Put timeout on read lock used by web server - make sure it can't be indefinite 2011-06-28 22:33:11 -05:00
Mike Primm
1fd933e07f Tighten up lock release logic on I/O and other exceptions
Make version in plugin.yml string so that 0.20 isn't 0.2
2011-06-28 22:13:42 -05:00
Jason Booth
c2be2e3f38 Fix Security Exploit 2011-06-27 21:27:23 +02:00
FrozenCow
522eeb0cfe Revert "Disallow .. in file path. Also logging, imports"
This reverts commit ca705ca6d2.
2011-06-27 21:26:52 +02:00
zeeZ
ca705ca6d2 Disallow .. in file path. Also logging, imports 2011-06-27 22:48:39 +08:00
Mike Primm
52a82521b9 Add requestion option to trust client-provided name in sendMessage for
internal web server
2011-06-23 16:35:17 -05:00
Mike Primm
4fd1cfd923 Log fullrender messages to commandsender, versus just log 2011-06-16 01:58:12 -05:00
Mike Primm
659ddc8204 Clean up warnings 2011-06-13 22:05:14 -05:00
Mike Primm
7889fd2506 Add support for hidewebchatip option, to replace webchat IP with alias 2011-06-12 19:35:53 -07:00
Mike Primm
ca59152e0e Add support for using X-Forwarded-From for better proxy IP handling on
webchat
2011-06-12 18:50:41 -07:00
Mike Primm
fb08b2fed6 Make sure all JSON/web text interactions are escaped and/or UTF-8 2011-06-02 00:20:25 -05:00
Mike Primm
9132f82074 Add transparency option on Flat and Surface map, fix file locks 2011-05-31 23:44:17 -05:00
Mike Primm
716ba040df Add file access synchronization to prevent conflicting tile updates 2011-05-31 21:20:23 -05:00
FrozenCow
b4bde5148b Changed the way templates and world-configuration are handled. 2011-05-24 02:13:43 +02:00
FrozenCow
ab9bf5bc5c Transfered client-updates to two components (jsonfile and internal). 2011-05-22 16:28:01 +02:00
FrozenCow
9bf095fc0f Made use of org.json.simple for updates. 2011-05-22 16:27:57 +02:00
FrozenCow
10a34e2d3a Moved regions-code to regions-component. 2011-05-22 16:27:49 +02:00
FrozenCow
678b6b916b Added events for components and implemented 'buildclientconfiguration'-event in ClientConfigurationComponent. 2011-05-22 16:27:43 +02:00
Mike Primm
d061b98b37 Fixes for alias/nicknames in web UI (esp handling player icons),
HeroChat fixes
2011-05-21 23:58:48 -05:00
Mike Primm
a3b680dd19 Fix for skins on players with nicknames - send up account name as well
as display name.
2011-05-21 00:59:08 -05:00
Mike Primm
2765f047fd Tune shadow render, add to accept wait queue on web server 2011-05-20 23:26:46 -05:00
Mike Primm
dcfd082039 Add support for WorldGuard on built-in server, fix getNodes() on new
ConfigurationNode class
2011-05-18 23:29:33 -05:00
zeeZ
08014fb9a5 Option to output player health in json for later web usage. 2011-05-19 01:52:38 +02:00
FrozenCow
8e0f1c6b96 Cleaned up logging. 2011-05-19 01:36:14 +02:00
FrozenCow
4a35eea9d9 Cleaned up configuration handling and added new logging class. 2011-05-19 01:36:05 +02:00
zeeZ
609a9f3724 Organize imports. 2011-05-17 11:30:06 +02:00
zeeZ
0c8e13f943 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/main/java/org/dynmap/MapManager.java
	src/main/java/org/dynmap/debug/LogDebugger.java
	src/main/java/org/dynmap/web/handlers/FileHandler.java
	src/main/java/org/dynmap/web/handlers/SendMessageHandler.java
2011-05-17 11:24:13 +02:00
Mike Primm
85518e72c9 Fix re-entrancy problem in FileHandler (shared buffer can cause
corrupted or exchanged tiles)
2011-05-16 21:11:28 -05:00
zeeZ
07612cce2a Prefix all (intentional) output properly. 2011-05-17 02:38:49 +02:00
zeeZ
b76e6059ae Tabs and spaces. 2011-05-16 20:55:19 +08:00
zeeZ
bcba7b1a12 Tabs and spaces. 2011-05-16 14:51:18 +02:00
zeeZ
dfb66d9415 Added weather to json world output (hasStorm and isThundering) 2011-05-10 12:51:52 +02:00
zeeZ
1618820180 Organize imports 2011-05-10 12:51:52 +02:00
FrozenCow
0cb23ac84a Fixed tabs. 2011-05-07 22:11:41 +02:00
zeeZ
c19a2e0a3a Strip colors off chat, use getDisplayName instead of getName 2011-05-01 23:11:29 +02:00
zeeZ
e853df78f6 Fix for worlds with weird names and URLDecode mumbo-jumbo 2011-04-28 16:34:50 +02:00
FrozenCow
84dfa3c1d5 Another attempt to make server conform http. 2011-04-06 00:54:48 +02:00
FrozenCow
be1424ec14 Removed redundant configuration values and made use of customizable join/quit messages. 2011-04-05 22:30:43 +02:00
FrozenCow
08e85fe23d Another import removal. 2011-03-17 02:36:26 +01:00
Jason Booth
9c799c71a2 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