Commit Graph

421 Commits

Author SHA1 Message Date
Lukas Rieger (Blue)
20d32cb9c9
Hide map-menu button if there is only one map, hide marker menu button if there are no markers 2023-11-19 17:15:08 +01:00
Lukas Rieger (Blue)
73103eda3b
Improve redraw-trigger on settings-changes 2023-11-19 13:42:56 +01:00
Lukas Rieger (Blue)
77c1e42009
Change default nether and end configs to have a better void color 2023-11-19 11:22:43 +01:00
Lukas Rieger (Blue)
c7af5e9639
Fix url angle in free-flight not applying correctly. Fixes: #485 2023-11-18 14:45:06 +01:00
Lukas Rieger (Blue)
6d3774f24e
Set fallback void color to black, pause high fps redraws if nothing changes to save GPU usage 2023-11-18 14:20:45 +01:00
Lukas Rieger (Blue)
24a6b2f370
Fix freeflight option not removed from menu. Fixes: #482 2023-10-06 08:26:10 +02:00
TechnicJelle
48445db7b5
Add map config for having a different void colour (#477)
* Added global webapp option for not having a void

* Fix for non-default lighting conditions

* Replace `isVoid` with whole `voidColor` feature!

* Default void colour should be black

* And now the default sky colour can also be set back to what it was

* Fix the low-res void colour

* Add config option for the new void colour setting!

(I hope I haven't forgotten any place to add it, but it does work, so I don't think so..?)
2023-09-30 23:42:37 +02:00
Lukas Rieger
01027af969
Update Gradle and 1.20.2 support (#479)
* Update gradle

* Update Fabric-Loom and ForgeGradle

* Add fabric-1.20.2 implementation

* Finalize 1.20.2 update

---------

Co-authored-by: NikitaCartes <nikich98@yandex.ru>
2023-09-27 17:39:47 +02:00
TechnicJelle
7047df73d0
Made webserver binding logging less confusing (#474)
People often think "0.0.0.0" is the IP they should connect to when BlueMap logs `WebServer bound to: /0.0.0.0:8100`
Or they see the IPv6 address being logged, and think BlueMap is only running on IPv6.
2023-09-07 08:41:50 +02:00
Lukas Rieger (Blue)
7156993323
Make webserver resource-closing more watertight against potential leaks 2023-09-05 14:22:30 +02:00
Lukas Rieger (Blue)
15d402cceb
Merge branch 'master' of https://github.com/BlueMap-Minecraft/BlueMap 2023-08-10 16:10:06 +02:00
Lukas Rieger (Blue)
4aadaeb2e0
Fix indentation of frozen status on map list 2023-08-10 16:09:57 +02:00
TWME
87032fde81
Update zh_TW.conf (#460)
* Update zh_TW.conf

* Create zh_TW_new.conf

* Update zh_TW.conf

* Delete zh_TW_new.conf

* Update zh_TW.conf

* Update zh_TW.conf

* Update zh_TW.conf

* Update zh_TW.conf

* Update zh_TW.conf

* Update zh_TW.conf

* Update zh_TW.conf
2023-07-30 16:17:15 +02:00
Lukas Rieger (Blue)
0eb12a1588
Fix webapp error when player-markers are disabled 2023-07-16 02:03:54 +02:00
Lukas Rieger (Blue)
c851812f42
Merge branch 'master' of https://github.com/BlueMap-Minecraft/BlueMap 2023-07-11 20:07:24 +02:00
Lukas Rieger (Blue)
074bc4a436
Fix not able to teleport to players on other worlds. Fixes: #451 2023-07-11 20:07:10 +02:00
TechnicJelle
eaac9f8f84
Translated new strings to Dutch (#453) 2023-07-09 15:33:32 +02:00
Lukas Rieger (Blue)
282b3806f3
Do not reset camera when pressing the update-map button 2023-07-09 15:25:38 +02:00
Lukas Rieger (Blue)
1f7f51c1e1
Add webapp option to default to flat-view 2023-07-04 14:42:12 +02:00
Lukas Rieger (Blue)
1b2dc45b4b
Add debug-log, improve logging in general and fix weblogger not closing correctly 2023-07-01 09:44:19 +02:00
Lukas Rieger (Blue)
15f5e8fd00
Fix default log file name 2023-06-29 13:51:41 +02:00
Lukas Rieger (Blue)
0ebea9982f
Apply Spotless fixes for BlueMapCommon 2023-06-29 13:42:56 +02:00
Lukas Rieger (Blue)
d570884def
Add advanced webserver logging + settings 2023-06-29 13:37:31 +02:00
Lukas Rieger (Blue)
8f97b08eb5
Use string-builder in verbose logger 2023-06-29 08:38:46 +02:00
Lukas Rieger (Blue)
4141d21a70
Add support for xff header in verbose web logger 2023-06-29 08:29:53 +02:00
Lukas Rieger (Blue)
0ac939a644
Always initialize PlayerSkinUpdater to be available to API 2023-06-22 08:21:36 +02:00
Lukas Rieger (Blue)
987015b617
Fix wrong config-key in plugin.conf template 2023-06-21 09:05:53 +02:00
Lukas Rieger (Blue)
fdd4713dfb
Fix command permission for deleting a map from a storage 2023-06-20 22:05:24 +02:00
Lukas Rieger (Blue)
b4b3e72d51
Make configs generate paths with forwardslashes whenever possible 2023-06-19 15:44:57 +02:00
Lukas Rieger (Blue)
31ae055ae5
Fix marker-set default-hide not working anymore 2023-06-19 11:47:53 +02:00
Lukas Rieger (Blue)
2f78f75a90
escape marker-set id when saving to local storage 2023-06-19 11:42:25 +02:00
Lukas Rieger (Blue)
76e3c4e758
Fix markers being selectable 2023-06-19 11:28:11 +02:00
Lukas Rieger (Blue)
49f76c1b11
Fix markers overlap over menu if more than 100 markers are on the map 2023-06-19 11:05:56 +02:00
Lukas Rieger (Blue)
b3c7d89793
revert accidentally committed vite config change 2023-06-18 23:52:41 +02:00
Lukas Rieger (Blue)
55095f1b5e
Add capabillity to use -follow players- in first-person mode. Closes: #175 2023-06-18 23:44:07 +02:00
Lukas Rieger (Blue)
cb638910ce
Remember hide/show status of marker-sets 2023-06-18 17:15:44 +02:00
Lukas Rieger (Blue)
85f4735050
Fix hours in AM/PM format instead of 24 2023-06-18 13:51:07 +02:00
Lukas Rieger (Blue)
2e572ddb11
Fix status command formatting and add last render times to status and maps commands 2023-06-18 13:46:41 +02:00
Lukas Rieger (Blue)
55fb955ed7
Fix clear() method not actually clearing the markerset. Fixes: #430 2023-06-17 13:33:42 +02:00
Lukas Rieger (Blue)
e46efc4c53
Use root-map element for scroll-events. Fixes: #409 2023-06-17 12:42:34 +02:00
Lukas Rieger (Blue)
22f2b09fe5
Fix Mobile first-person Controls not showing. Fixes: #447 2023-06-17 11:59:16 +02:00
Lukas Rieger (Blue)
4fc6d7f889
Fix stuck moving when window looses focus. Fixes: #408 2023-06-17 11:53:39 +02:00
Antti Ellilä
da8a12158b
Expose more JavaScript classes (#449)
With the lack of a proper JavaScript API for addons, it might be useful to just expose all the classes in the global namespace for usage and code injection.
2023-06-15 20:08:36 +02:00
stdpi
bac87ec546
chore: add Vietnamese translation (#448) 2023-06-15 19:12:22 +02:00
Lukas Rieger (Blue)
d120a00496
rename _index.php to mysql.php 2023-06-12 23:14:05 +02:00
MrSolarius
f149b823a7
Add support for postgres databases (#443)
* Refactor : wrap every single SQL query inside an interface

* Feat : create every SQL request for postgres

* Refactor : rename SQLQueryAbstractFactory to SQLQueryFactory

* Feat : add dialect settings to blue map !

* Feat : Create two new storageClass for different storage approche

* Feat : add read BYTEA support

* Fix : remove unuseful println

* Fix : remove edited sql.conf

* Refactor / Feat : support for mysql

* Lots of tiny tweaks

---------

Co-authored-by: Lukas Rieger (Blue) <TBlueF@users.noreply.github.com>
2023-06-12 22:55:44 +02:00
TechnicJelle
c807699c7c
Add port-in-use check (#440)
* Add port-in-use check to plugin

* Add port-in-use check to CLI
2023-06-08 23:12:20 +02:00
Lukas Rieger (Blue)
22917d36eb
Update vite for security-issue fix
(We are not affected, but updating doesnt hurt)
2023-06-07 14:18:46 +02:00
Lukas Rieger (Blue)
e2037e9698
Run status-command in separate thread 2023-05-15 17:40:47 +02:00
Lukas Rieger (Blue)
083c6c06c2
Improve progressEstimation function 2023-05-15 17:18:25 +02:00
Lukas Rieger (Blue)
742f96db6a
Merge branch 'master' of https://github.com/BlueMap-Minecraft/BlueMap 2023-05-15 17:01:28 +02:00
Lukas Rieger (Blue)
f1f2336dff
Remove syncronization from estimateProgress() function 2023-05-15 17:01:10 +02:00
z-glitch
463f5cb120
Update URL for 3rd party addons and tools. (#431) 2023-05-14 11:55:35 +02:00
Lukas Rieger (Blue)
659fb99eb6
Avoid NPE if accessing the API while bluemap is unloaded 2023-05-14 02:18:31 +02:00
Lukas Rieger (Blue)
92e5300c1e
Clear chunks from cache when starting a render-task for them 2023-05-09 22:09:18 +02:00
Antti Ellilä
f467220400
Start rendering after everything else is loaded (#425)
To attempt to fix the weirdness with tile filters not working at startup
2023-05-07 19:24:43 +02:00
Lukas Rieger (Blue)
94dbd372dc
Fix typo 2023-05-01 20:43:16 +02:00
Lukas Rieger (Blue)
004f296b5e
Add storages command 2023-05-01 20:41:30 +02:00
MidnightTale
bc9e688317
Thai translation (#412)
* Update settings.conf

* Create th.conf

* Update th.conf
2023-04-14 09:41:24 +02:00
Sofiane H. Djerbi
bd4944fb2f
Fix typo in FR translation (#411) 2023-04-13 23:55:26 +02:00
Sofiane H. Djerbi
2c6f19aac1
Complete FR translation (#410) 2023-04-13 14:17:27 +02:00
Lukas Rieger (Blue)
2554462bb4
Remove falsely added import 2023-03-27 15:27:40 +02:00
Lukas Rieger (Blue)
3853055cf8
Fix camera issues with worlds that have their general height below 0 2023-03-27 14:52:11 +02:00
Lukas Rieger (Blue)
be705dad58
Tidy up latest change a little and add a comment 2023-03-26 12:13:47 +02:00
Lukas Rieger (Blue)
1d202bbd89
Fix click-raytracing in combination with scene-shifting 2023-03-26 12:05:04 +02:00
Antti Ellilä
00a3d4509c
Fix some page titles in translations (#399)
* Fix title in zh_HK

* Fix title in sv

* Fix title in no_nb
2023-03-17 13:21:41 +01:00
Lukas Rieger (Blue)
5e17df6b2a
Fix locking on the same lock that is used for loading causes the server to freeze 2023-03-13 19:30:31 +01:00
Lukas Rieger (Blue)
86b7e752ee
Improve default sql.conf (Jelle edition) 2023-03-11 11:47:08 +01:00
Lukas Rieger (Blue)
4181732db7
Improve default sql.conf 2 2023-03-11 11:45:27 +01:00
Lukas Rieger (Blue)
dbbcbb94c3
Improve default sql.conf 2023-03-11 11:43:46 +01:00
Lukas Rieger (Blue)
1be7dd5746
Implement abillity to handle Http-Requests asyncrounously 2023-03-06 20:38:38 +01:00
Lukas Rieger (Blue)
f3f609c573
Generalize purge task for all storages 2023-03-04 12:40:12 +01:00
Lukas Rieger (Blue)
c2499df3a7
Change image response to 204 and always save an empty players.json 2023-03-02 16:30:28 +01:00
Lukas Rieger (Blue)
0f58b7409b
Revert "Fix PR #395 ^^"
This reverts commit 7612998bda.
2023-02-25 22:42:45 +01:00
Lukas Rieger (Blue)
7612998bda
Fix PR #395 ^^ 2023-02-25 22:03:31 +01:00
nlog
b9a3c2849a
Modify setFrozen behavior (#395) 2023-02-25 21:59:04 +01:00
Lukas Rieger (Blue)
631c409f79
Keep webserver running if bluemap disables due to no active maps being configured 2023-02-25 12:28:07 +01:00
Lukas Rieger (Blue)
892506f2f9
Remove uneccesary lock, fix double server header, organize packages and class-names 2023-02-24 13:55:21 +01:00
Lukas Rieger (Blue)
0123041925
Fix webserver only working after plugin reload 2023-02-23 10:54:17 +01:00
KeksToGo
578890757e
Translated To Turkish. (#393)
* Create tr.conf

* Update settings.conf

* Update tr.conf
2023-02-23 01:22:53 +01:00
Lukas Rieger (Blue)
f4c6adc685
Rewrite integrated webserver to be non-blocking 2023-02-22 16:19:34 +01:00
Lukas Rieger (Blue)
75e987f3c8
Merge branch 'master' of https://github.com/BlueMap-Minecraft/BlueMap 2023-02-15 21:10:46 +01:00
Lukas Rieger (Blue)
a0f34d3d96
Prevent the integrated webserver from sending raw php files 2023-02-15 21:10:23 +01:00
Dycool
e81473b282
Update portuguese translation (#391)
* Update pt_PT.conf

Update portuguese translation

* Update pt_PT.conf

Update portuguese translation
2023-02-13 22:24:51 +01:00
Lukas Rieger (Blue)
bce498955f
Fix sorting being case-sensitive 2023-02-11 12:07:33 +01:00
Lukas Rieger (Blue)
9c4bcc100f
Fix sorting by name for player-markers 2023-02-11 10:38:21 +01:00
Antti Ellilä
cc01585e07
Update finnish translation (#390) 2023-02-08 18:48:03 +01:00
Lukas Rieger (Blue)
0ac4a933a6
Fix menu-scrolling not working in freeflight mode 2023-02-08 18:47:10 +01:00
Lukas Rieger (Blue)
66058dbe5f
Fix zoom-buttons not showing 2023-02-08 18:34:22 +01:00
Lukas Rieger (Blue)
256e80bb62
Fix sorting value of 0 now not working ... duh 2023-02-08 17:43:12 +01:00
Lukas Rieger (Blue)
277af6b498
Set default map-sorting to be very late, so the map wont be first if its settings.json could not be loaded 2023-02-08 17:40:12 +01:00
Lukas Rieger (Blue)
141d46a513
Add loading message and improve webapp-error if a map could not be loaded 2023-02-08 17:35:47 +01:00
Lukas Rieger (Blue)
fdb846a435
Remove the marker-examples alltogether
Makes the default map.conf more clean,
and makes people read the wiki ;p
2023-02-08 13:08:17 +01:00
Lukas Rieger (Blue)
38932cea28
Add sorting and listed properties to map.conf example markers 2023-02-08 12:53:56 +01:00
Lukas Rieger (Blue)
87c868b1a9
Implement unlisting markers and improve marker-list styling 2023-02-07 19:43:59 +01:00
Lukas Rieger (Blue)
6ea755d366
Implement marker and marker-set sorting 2023-02-07 17:09:01 +01:00
KaRiLaA
3aa4b4a995
Update UA and RU translation (#389) 2023-02-06 09:27:50 +01:00
TechnicJelle
b454d15264
Changed steve.png to be in line with the new style (#383) 2023-01-15 16:37:01 +01:00
Lukas Rieger (Blue)
e5729a767c
Fix bug that updates the settings.json if the webapp is being disabled 2023-01-15 11:43:22 +01:00
Lukas Rieger (Blue)
45331b8103
Still start sorting-index with 0 :) 2023-01-06 19:10:41 +01:00