Commit Graph

354 Commits

Author SHA1 Message Date
Michael Primm
c807861859 Restrict /dmarker file imports to {dynmap-directory}/import 2023-09-27 21:35:40 -05:00
Michael Primm
79f354b111 Switch to SecureRandom for web auth token (avoid hugely unlikely
compromise during login register process...).
2023-09-27 12:25:14 -05:00
Michael Primm
736dd5a290 Add BufferedReader 2023-09-19 21:53:01 -05:00
Michael Primm
85012ae478 Add buffered stream to texture reading 2023-09-10 14:49:22 -05:00
Michael Primm
d1408b7bfd Adds I/O stream buffering 2023-09-10 10:56:40 -05:00
Michael Primm
eed1a2b444 Make readonly survive saving (dmap commands) 2023-08-30 10:59:46 -05:00
mikeprimm
b8b1e8bd4e
Merge pull request #4007 from Jameskmonger/read-only-map-option
feat: add `readonly` map option
2023-08-30 09:25:06 -05:00
stormboomer
b8166a9122 Remove thread safety implementation for java 17, since it seems to not be needed anymore and improves render time by 8-10% 2023-08-29 13:23:54 +02:00
stormboomer
247e81bc61 Drasticly improve zoom tile calculation for larger maps when using MySQL storage engine. For Larger Tables doing Limit and Offset can have a big Impact on Statement execution because it is an IO heavy task.
This fixes the issue by not doing any limit / offset on the SQL statement but instead query for all the data at once, and let the JDBC handler do the resultset handling.
This can probably be adapted for MSSQL, PostgreSQL and SQLLite.
2023-08-28 08:03:43 +02:00
James Monger
20592cd805 feat: add readonly map option
This option will prevent the map from being updated by the renderer. It can be used if you want a "natural" map, i.e. you want to generate a map and preserve it without being updated with users buildings.
2023-08-23 07:19:03 +01:00
Lewie
fa36d3fa38
Fix spelling of template 2023-06-21 00:11:29 -04:00
Michael Primm
022a031829 Fix >8 bit palette handling 2023-04-16 23:53:45 -05:00
Michael Primm
bcd4ed617a Missed checkin 2023-03-23 22:28:18 -05:00
Michael Primm
ab900740b7 Rework cave shader - make default proportional for variable world height 2023-03-23 13:27:33 -05:00
Michael Primm
76649c6250 Add map data versions for 1.19.2, 1.19.3, 1.19.4 2023-03-21 18:55:29 -05:00
Jurgen
cc88883dc1 fixed imports, thanks intellij 2023-02-08 19:58:47 +01:00
Jurgen
7b82a9182e implemented user configurable start and stop of cave render 2023-02-08 19:43:20 +01:00
Michael Primm
9f9d12a580 Prevent rare shutdown exception 2022-12-11 21:10:52 -06:00
Michael Primm
edf6e256e1 Switch sanitizeHTML to marker load/create/update 2022-12-11 15:44:48 -06:00
Michael Primm
287d900047 Shift from Twitter to Mastodon 2022-12-11 15:43:57 -06:00
mikeprimm
d048aad743
Merge pull request #3857 from Warriorrrr/feature/stringify-async
Stringify json for json file client async
2022-11-29 15:43:31 -06:00
mikeprimm
e15f3f8460
Merge pull request #3844 from gmfamily/v3.0
fix(chnk visibility) Use long to avoid int overflow
2022-11-29 15:39:40 -06:00
mikeprimm
7d1a273e6d
Merge pull request #3862 from mastermc05/colorful-biomes
Colorful biomes
2022-11-29 15:37:42 -06:00
mikeprimm
9f16074a75
Merge pull request #3863 from mastermc05/fix-colors
Fix colours
2022-11-29 15:36:46 -06:00
mikeprimm
9a8ef557af
Merge pull request #3866 from IMBArator/fix_locale_issue_ModelBlockModelImpl.getLine
fix locale issue in ModelBlockModelImpl getLine (closes:  #3854)
2022-11-29 15:35:49 -06:00
mastermc05
0f8174796c Cache biome object, further reduce diff 2022-11-18 13:12:40 +02:00
Captain Chaos
53b3b7c08b Typo in log message 2022-11-11 12:14:27 +01:00
mastermc05
a40592021f Fix colours 2022-10-15 12:07:07 +03:00
mastermc05
8a8e2ecfcf Abstract for easier multiversion support, reduce diff 2022-10-14 15:37:36 +03:00
mastermc05
1f1a342777 1.19 support 2022-10-14 12:57:23 +03:00
Warrior
8ce85322dd Stringify json for json file client async 2022-10-01 20:39:46 +02:00
Maximilian Zettler
a70530edc8 fix locale issue in ModelBlockModelImpl getLine (closes: #3854)
add Locale.US to String.format() where float values are used
2022-09-29 21:02:18 +02:00
gmfamily
61bfe66430
fix(chnk visibility) Use long to avoid int overflow
Use long representation of the distance between tested chunk and center of tested limit to avoid int overflow while computing the distance compared to limit radius using square delta value
2022-08-31 19:35:18 +02:00
mikeprimm
66fe5d4a8b
Merge pull request #3833 from JurgenKuyper/v3.0
added switch on publicURL in webregister message
2022-08-29 08:29:37 -05:00
mikeprimm
5aaff7cea9
Merge pull request #3836 from JurgenKuyper/templateNotification
added notification on probable misconfiguration of deftemplatesuffix
2022-08-29 08:28:53 -05:00
Jurgen
d25040e1cf added notification on probable misconfiguration of deftemplatesuffix 2022-08-21 19:32:59 +02:00
Jurgen
adfe0471e3 added switch on publicURL in webregister message 2022-08-19 12:29:14 +02:00
Kosma Moczek
e32b8d0f77 BiomeMap: use hardcoded grass color in Dark Forest 2022-08-19 00:24:17 +02:00
Mike Primm
a6b56dc36e Handle error loading texture pack image without aborting texture pack
load
2022-08-14 12:46:43 -05:00
Mike Primm
0ab9c9e47b Recycle JDBC connections idle for more than 60 seconds 2022-08-07 23:48:47 -05:00
Mike Primm
3b0814e853 Adjust biome mapping to handle pathological biome counts per segment 2022-08-06 17:48:27 -05:00
Mike Primm
46bd040981 Add Forge 1.19.2 build 2022-08-06 13:10:06 -05:00
Mike Primm
b331cfaf27 Fix exception in processEnumMapTiles for Postgres 2022-07-30 21:13:59 -05:00
Mike Primm
dc66d12916 Handle null image in MySQL 2022-07-30 18:49:55 -05:00
Mike Primm
082878aade Handle null images 2022-07-30 18:04:28 -05:00
Mike Primm
bf8d5eb6cf Fix LIMIT OFFSET order sensitivity (MySQL is kind of dumb...) 2022-07-29 23:10:27 -05:00
Mike Primm
937ab7cee7 Finish fix 2022-07-24 17:54:09 -05:00
Mike Primm
a71348c3c8 Add cooment for https://minecraft.fandom.com/wiki/Data_version 2022-07-24 17:52:00 -05:00
Mike Primm
9648457727 Update chunk version color map 2022-07-24 17:50:33 -05:00
Mike Primm
8e27d5defd Handle AOOBX (not sure why yet) 2022-07-24 17:06:28 -05:00