Commit Graph

550 Commits

Author SHA1 Message Date
Евгений
43c1159fae
Fix writing non-ascii files to postgresql database
This fixes non-ascii chat messages (for example cyrillic utf8) in PostgreSQL_sendmessage.php

Before fix PostgreSQL_sendmessage.php was returning this:

Fatal error:  Uncaught PDOException: SQLSTATE[22P02]: Invalid text representation: 7 ERROR:  invalid input syntax for type bytea in /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_funcs.php:81
Stack trace:
#0 /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_funcs.php(81): PDOStatement->execute()
#1 /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_funcs.php(99): updateStandaloneFileByServerId()
#2 /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_sendmessage.php(60): updateStandaloneFile()
#3 {main}
thrown in /opt/minecraft/plugins/dynmap/web/standalone/PostgreSQL_funcs.php on line 81
2022-07-31 17:06:13 +03: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
Mike Primm
d88ebb0d20 More resume fixes 2022-07-24 15:32:16 -05:00
Mike Primm
e13a515baf More SQLite fixes for scan 2022-07-24 15:11:05 -05:00
Mike Primm
8beba92f8e Fix offset/limit on enums 2022-07-24 14:56:25 -05:00
Mike Primm
c80f7adb23 Use limit on enum tiles (for cleaner behavior on purge for large maps) 2022-07-24 13:52:49 -05:00
Mike Primm
ab54919956 Add more orderly storage shutdown 2022-07-24 13:09:52 -05:00
mikeprimm
2d6bcbbca2
Merge pull request #3783 from JurgenKuyper/v3.0
updated deprecated interfaces where possible
2022-07-22 20:59:02 -05:00
mikeprimm
c248ce3275
Merge pull request #3784 from JurgenKuyper/brick_fix
Mud Brick fix in texture_1.txt
2022-07-22 20:56:51 -05:00
mikeprimm
8f70d5fc3c
Merge pull request #3794 from mastermc05/v3.0
Fix and improve async chunk load
2022-07-22 20:56:24 -05:00
Markus Reiter
8e02c21a36
Fix implicit cast. 2022-07-15 03:30:26 +02:00
Markus Reiter
ca5d2f4990
Fix implicit cast. 2022-07-15 03:29:16 +02:00
mastermc05
8d8a4d088e fix 1.18.2 2022-07-07 15:26:23 +03:00
JurgenKuyper
dd789b3a41
Merge branch 'v3.0' into brick_fix 2022-06-21 21:58:36 +02:00
Jurgen
a8af8037cb fixed mud_bricks sides so it is no longer transparent. thanks BlargCraft on Reddit. 2022-06-21 19:58:17 +02:00
JurgenKuyper
d93a014c99
Merge branch 'webbukkit:v3.0' into v3.0 2022-06-21 13:59:54 +02:00
tecdude
63ab35a9a5
safari coloured search bar
added support for coloured bar in apple safari 15+
2022-06-17 18:47:54 +01:00
mikeprimm
e7e8f1c245
Merge pull request #3771 from leon0399/leon0399-patch-1
feat: URI-encode markers loading world name
2022-06-12 11:58:59 -05:00
Mike Primm
57b48ba56f Add 1.19 blocks and textures 2022-06-08 00:42:08 -05:00
Leonid Meleshin
f8a81ce0ac
feat: URI-encode markers loading world name 2022-06-06 09:51:08 +03:00
mikeprimm
374309e004
Merge pull request #3757 from leon0399/leon0399-patch-1
fix: support special symbols in world names
2022-06-05 16:52:30 -05:00
mikeprimm
6306ae59ea
Merge pull request #3763 from RedstoneFuture/v3.0
Add no-permission message option
2022-06-05 16:51:21 -05:00
Marijn Doeve
536b96a5f9
Set Initial schema version to 4 2022-05-30 21:27:42 +02:00
RedstoneFuture
078275d16d Add no-permission message option 2022-05-29 15:28:06 +02:00
Leonid Meleshin
505d78a8e0
fix: support special symbols in world names
Fix #3755
2022-05-12 19:59:32 +03:00
Jurgen
b3169a6442 updated deprecated interfaces where possible, there are still many left, like ForgeRegistry.BIOME, ForgeRegistry.BLOCK_STATE_IDS, and many more I couln't find a fix for. 2022-05-01 16:24:34 +02:00
mastermc05
d0a791b634 Clean and finish x2 2022-04-01 15:16:57 +03:00
mastermc05
da05fc4675 Clean and finish 2022-03-31 16:18:02 +03:00
mastermc05
790f1f4966 Readd ignore chunk loads 2022-03-31 15:04:36 +03:00
mastermc05
4a97550b63 Parallel process and load plans 2022-03-30 19:37:29 +03:00
mikeprimm
971a492964
Merge pull request #3703 from davidjpfeiffer/v3.0
Small style improvements to marker labels
2022-03-27 17:59:16 -05:00
Mike Primm
d93b836ad0 Add index for Maps table (because SQLite execution planner is stupid) 2022-03-27 13:59:39 -05:00
Mike Primm
7feb9e6735 Fix shading=true/false ambiguity with patch cache lookup 2022-03-26 21:52:40 -05:00
Mike Primm
861d1f8606 Properly bound join in MySQL and SQLite PHP tile lookup 2022-03-26 12:44:41 -05:00
Mike Primm
ab76953294 Default flags for MS SQL to ";trustServerCertificate=true" 2022-03-10 14:31:31 -06:00
Mike Primm
53b65ab7e4 Add microsoftsql storage type 2022-03-10 14:30:02 -06:00
Mike Primm
aec1f0cdb6 Expand maximum zoom level from 16 to 32 2022-03-10 02:24:27 -06:00
Mike Primm
042f387ecf Add fallback for schema upgrade on ancient MySQL servers 2022-03-08 21:17:32 -06:00
David Pfeiffer
f52d2e6c1a
Small style improvements to marker labels 2022-03-05 16:03:44 -08:00
Mike Primm
c3d36dfbf2 Use concurrentmap for dirty_worlds 2022-03-01 08:56:50 -06:00
Mike Primm
58a2b16217 Drop apache http client, avoid rebase issues in S3 storage code 2022-02-24 17:54:47 -06:00
Mike Primm
60147e8d16 Handle proxy cascades on X-Forwrded-For 2022-02-22 22:33:33 -06:00
Mike Primm
a9b4ace851 Add support for trusted-proxies subnet ranges, handle nested proxies 2022-02-22 22:11:48 -06:00
Mike Primm
037d1803a7 Update candles, candle cake models 2022-02-22 21:14:33 -06:00
Mike Primm
97e5627e0d Fix update URL for AWS S3 2022-02-22 00:57:11 -06:00
Mike Primm
f075bf236c Merge branch 'v3.0' of git@github-home:webbukkit/dynmap.git into v3.0 2022-02-22 00:00:38 -06:00
Mike Primm
ad226141fe Avoid multithread use of client 2022-02-22 00:00:18 -06:00
Mike Primm
6a95c9231a Zap dynmap_webchat.json if error parsing it 2022-02-21 18:51:31 -06:00
mikeprimm
b6d0c816a4
Merge pull request #3685 from ein-stein-chen/fix-biome-color-loading
Fix loading of biome colorschemes
2022-02-21 18:45:25 -06:00
Mike Primm
9066fa0135 Fix transparency handling in WEBP tile generation 2022-02-21 17:57:04 -06:00
Mike Primm
10289f85b7 Fix player markers on AWS S3 web 2022-02-20 22:26:30 -06:00
Mike Primm
ef045da32f Add prefix path support for AWS S3 website 2022-02-20 21:38:50 -06:00
Mike Primm
ea97296684 Get AWS S3 storage based web working 2022-02-20 20:58:21 -06:00
Mike Primm
45bc02cf3a Switch to sdk v2 2022-02-18 00:40:55 -06:00
Mike Primm
be43f53d81 Start S3 support 2022-02-17 21:59:53 -06:00
Mike Primm
50dce9b854 Fix comment 2022-02-17 14:35:07 -06:00
Alexander Degenhart
ec8d44ea7c
Fix loading of biome colorschemes 2022-02-17 21:33:37 +01:00
Mike Primm
8eb69514f2 Handle bigger tiles in zoom out tiles 2022-02-17 11:33:55 -06:00
Mike Primm
474c5ecca9 Fix render save/restore when tile scale set 2022-02-17 09:15:49 -06:00
Mike Primm
a81249539b Avoid exception on bad modellist from DynmapBlockScan 2022-02-16 22:56:36 -06:00
Mike Primm
ee78384cdc Add tilescale and defaulttilescal : option for bigger tiles 2022-02-16 21:13:57 -06:00
Mike Primm
3a39688dc8 Avoid exception report during shutdown 2022-02-16 18:43:30 -06:00
Mike Primm
342e67e205 Fix structure blocks 2022-02-16 00:51:03 -06:00
Mike Primm
15b1328c0e Make shutdown InterruptedExceptions not noisy 2022-02-16 00:50:53 -06:00
Mike Primm
04147aadb1 Fix brewing stand model 2022-02-15 22:39:15 -06:00
Mike Primm
dacd51aabb Fix handling of flipped texture offsets 2022-02-15 22:39:01 -06:00
Mike Primm
53c4ebf233 Fix dropper model 2022-02-14 23:14:32 -06:00
Mike Primm
19038b3f8b Fix models for spore flower, dried kelp 2022-02-14 23:05:50 -06:00
Mike Primm
b43efb1bb6 Fix sunflower model 2022-02-14 22:13:31 -06:00
Mike Primm
d0e627607b Fix dripleaf models 2022-02-14 22:01:37 -06:00
Mike Primm
9126cbf649 Update command block, repeating command block, chained command block 2022-02-14 20:58:25 -06:00
Mike Primm
685b4f9e68 Handle doubble flip on texture 2022-02-14 20:27:19 -06:00
Mike Primm
de79f8e8bc Fix end rods, and water shading in cauldron 2022-02-14 00:24:57 -06:00
Mike Primm
dc129548aa Fix cauldron models 2022-02-13 23:59:17 -06:00
Mike Primm
619167c2df Shade stems using foliage vs grass 2022-02-13 15:01:57 -06:00
Mike Primm
41b5c6f353 Update models for chorus plant and flower 2022-02-12 23:14:52 -06:00
Mike Primm
069c518a7c Fix for nether wart, melot stems, pumpkin stems 2022-02-12 22:23:28 -06:00
Mike Primm
6e2959a63a Update glass pane models 2022-02-12 18:00:31 -06:00
Mike Primm
95c41d91be Pedantic lighting on path 2022-02-12 02:36:44 -06:00
Mike Primm
b88aa42853 Fix levers 2022-02-12 02:24:30 -06:00
Mike Primm
d941aec6eb Add publicURL setting and '/dynmap url' command 2022-02-12 01:30:00 -06:00
Mike Primm
de344869b7 Switch rails to state mapping 2022-02-11 00:40:52 -06:00
Mike Primm
93c84ef15e Reduce patch noise 2022-02-10 23:30:02 -06:00
Mike Primm
ff2e1b3b50 Fix scaled textures in ModelBlockModel patches 2022-02-10 22:18:19 -06:00
Mike Primm
8fbc3e3534 More modsupport updates for improved DynmapBlockScan 2022-02-09 22:38:09 -06:00
Mike Primm
611832fa22 More fixes and enhancements for modsupport API 2022-02-08 21:10:58 -06:00
Mike Primm
a2f8f9defa Extend modsupport API to deprecate numeric ID, meta values 2022-02-07 20:02:17 -06:00
Mike Primm
f441cf4ecd Rework lantern with shade=false 2022-02-05 18:55:55 -06:00
Mike Primm
79f27e9565 Add support for shade=false models, switch light/fire blocks over to use
it
2022-02-05 18:24:38 -06:00
Mike Primm
cf5f4a0d9e Handle other visibility values in patch definitions 2022-02-05 15:22:00 -06:00
Mike Primm
9d89e56586 General warning cleanup in DynmapCore 2022-02-05 15:16:08 -06:00
Mike Primm
d6b1383825 Rework scaffolding models 2022-02-05 14:02:55 -06:00
Mike Primm
c83af6dfdc Finish fix for grindstone model 2022-02-05 13:18:34 -06:00