Commit graph

67 commits

Author SHA1 Message Date
Евгений
0b488acc8d 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
Markus Reiter
c681752c33 Fix implicit cast. 2022-07-15 03:30:26 +02:00
Markus Reiter
6ed892d806 Fix implicit cast. 2022-07-15 03:29:16 +02:00
tecdude
6330816cec safari coloured search bar
added support for coloured bar in apple safari 15+
2022-06-17 18:47:54 +01:00
Leonid Meleshin
89b71af96d feat: URI-encode markers loading world name 2022-06-06 09:51:08 +03:00
Leonid Meleshin
33ca5d5594 fix: support special symbols in world names
Fix #3755
2022-05-12 19:59:32 +03:00
mikeprimm
9597e248eb Merge pull request #3703 from davidjpfeiffer/v3.0
Small style improvements to marker labels
2022-03-27 17:59:16 -05:00
Mike Primm
e00567d9d1 Properly bound join in MySQL and SQLite PHP tile lookup 2022-03-26 12:44:41 -05:00
Mike Primm
e64ce4022a Add microsoftsql storage type 2022-03-10 14:30:02 -06:00
Mike Primm
4fd176058c Expand maximum zoom level from 16 to 32 2022-03-10 02:24:27 -06:00
David Pfeiffer
4e47d01a66 Small style improvements to marker labels 2022-03-05 16:03:44 -08:00
Mike Primm
f1aa6bfd9f Handle proxy cascades on X-Forwrded-For 2022-02-22 22:33:33 -06:00
Mike Primm
d9d3024865 Add tilescale and defaulttilescal : option for bigger tiles 2022-02-16 21:13:57 -06:00
Mike Primm
626c3f06da Fix null check in PHP 2022-02-04 15:40:38 -06:00
Mike Primm
0132bfb3ca Fix content type on webp 2022-02-03 15:24:37 -06:00
Mike Primm
8ab722e4de Fix SQL in PHP for NewImage 2022-02-03 15:12:59 -06:00
Mike Primm
31e048138a Handle rollover from newImage to Image in MySQL PHP 2022-02-03 09:24:36 -06:00
DartCZ
d3d654ce8b Include t.newImage after db structure changes 2022-02-03 13:47:43 +01:00
Mike Primm
2fa9538311 Makes sure popups for circles, areas, lines had correct class 2022-01-28 19:42:34 -06:00
Mike Primm
945c8235e4 Fix markup label handling on areas, lines, circles 2022-01-28 18:53:00 -06:00
Mike Primm
204cba42f7 Freshen colorschemes to 1.18, deprecate dead RPs, drop block number
mappings
2022-01-22 15:13:46 -06:00
Mike Primm
4d61f026fd Update tp Leaflet 1.8.0-dev for tile seam fix (hopefully) 2022-01-18 20:08:20 -06:00
mikeprimm
721c89ad00 Merge pull request #3611 from JLyne/multipolygon-fix
Fix 3D areas
2022-01-15 18:21:59 -06:00
James Lyne
da9c5c39ba Fix references to removed MultiPolygon constructor 2022-01-14 15:39:49 +00:00
Mike Primm
6ff1b58624 Switch label on markers to be stored as HTML fragment 2022-01-12 20:48:28 -06:00
Mike Primm
6040715a00 Update ColorSchemes, support block state based lookup 2021-12-28 16:27:01 -06:00
Mike Primm
832f21b747 Update colormaps 2021-12-28 14:51:58 -06:00
Mike Primm
8c54bb2524 Improve forge chunk generate handling 2021-12-25 21:46:28 -06:00
Mike Primm
6fed0dfb1f Add support for largeplayerfaces option for bigger player markers 2021-12-07 21:38:59 -06:00
James Lyne
5028ab1a80 Update leaflet images 2021-11-11 22:27:28 +00:00
James Lyne
194e31a615 Fix DynmapTileLayer sharing object instances 2021-10-04 20:40:07 +01:00
SNDST00M: M.U.N.I.N
ab783989b6 Fix selectWorld typo when world is a string 2021-09-30 19:21:28 +01:00
James Lyne
3ee11122e7 Fix player marker updating when players layer is hidden 2021-08-23 15:48:02 +01:00
James Lyne
dd20138a67 Fix tile updating 2021-08-23 15:48:01 +01:00
James Lyne
a71a0d21a5 Fix layer control 2021-08-23 15:48:00 +01:00
James Lyne
0135359177 Extend CustomMarker from L.Marker, add CustomIcon for icon handling 2021-08-23 15:47:58 +01:00
James Lyne
23a2bbadf2 Projection fixes 2021-08-23 15:47:57 +01:00
James Lyne
ecc026cd34 Initial work, enough to get the map to display 2021-08-23 15:47:55 +01:00
James Lyne
93f65a894e Update leaflet 2021-08-23 15:47:50 +01:00
Robb Currall
c1b90b9bd9 chore: run formatter tools against PHP code
Run formatting tools against the PHP source code to meet PSR12 standards

The tools used to format the code (for anyone interested in validating
the changes are:
* [PHP-CS-FIXER](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
* [PHPCS](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Fixing-Errors-Automatically)
2021-08-05 10:56:41 -04:00
mikeprimm
9257fdca7d Merge pull request #3343 from Programie/v3.0
Prevent updating map while invisible
2021-06-21 13:10:57 -05:00
jzdm
bdfe5d72af Working web chat with PostgreSQL
Webchat basically working when using PostgreSQL. No chatlengthlimit.
2021-06-18 09:16:06 +02:00
Michael Wieland
43ed5a5411 Prevent updating map while invisible 2021-04-19 19:06:38 +02:00
Michael Wieland
c9efee644c Fixed not replacing {timestamp} placeholder in configuration request 2021-02-25 17:57:13 +01:00
mikeprimm
872b0ff112 Merge pull request #3223 from mooinglemur/mooinglemur-patch-1
Allow for URI-unsafe player names
2021-01-09 18:10:06 -06:00
mooinglemur
ebd056d920 Allow for URI-unsafe player names
Some plugins allow for a player name prefix. If this contains a username-unsafe character like %, it can break player face rendering on the map.
2020-12-26 10:06:15 -07:00
KovuTheHusky
3f5c28fe3a Add 1.16 biomes 2020-12-24 10:52:44 -05:00
Paul
c0ab487336 Fixed jquery file name 2020-10-16 16:42:37 +03:00
Mike Primm
d4b3d0d2a8 Handle undefined marker set errors 2020-09-20 19:56:28 -05:00
Mike Primm
57ece8359f Update jQuery 2020-09-20 18:55:40 -05:00