Commit Graph

45 Commits

Author SHA1 Message Date
Lukas Rieger (Blue)
a6402850c9
Fix delete statements doing a full table scan 2024-04-18 15:46:45 +02:00
Lukas Rieger (Blue)
37dd18190b
Fix sqlite purgepurgeMapTilesStatement 2024-04-17 00:06:03 +02:00
Lukas Rieger (Blue)
240ca6c00e
Fix some issues with the new sql-storage implementations 2024-04-07 12:55:41 +02:00
Lukas Rieger (Blue)
f66437ac83
Apply spotless fixes 2024-04-06 01:33:24 +02:00
Lukas Rieger (Blue)
fdf242acdf
Rework storages to make them extensible with addons 2024-04-06 01:26:16 +02:00
Lukas Rieger (Blue)
6e68a8f0e0
[breaking] Switch hires tile format to prbm (modified prwm) 2024-02-23 17:32:07 +01:00
Lukas Rieger (Blue)
81e8da3b70
Fix storage performance 2024-02-08 13:18:49 +01:00
Lukas Rieger
16981f2797
Refactor World-Management and Region/Chunk-Loading (#496)
* Implement PackedIntArrayAccess

* First working render with BlueNBT

* Progress converting chunkloaders

* Core rewrite done

* WIP - Restructuring configs and world-map mapping

* WIP - Compiling and starting without exceptions :)

* Fix cave detection

* Ensure configuration backwards compatibility (resolve dimension from configured world if missing)

* Implement support for 1.16+ chunks

* Implement support for 1.15+ chunks

* Implement support for 1.13+ chunks and some fixes

* Also find worlds based on their id again in BlueMapAPI

* Improve autogenerated config names

* Implement equals for all ServerWorld implementations

* Get rid of var usage
2024-02-07 20:43:37 +01:00
Lukas Rieger (Blue)
3f82a821a2
Fix keysize issue once more 2023-11-23 21:58:59 +01:00
Lukas Rieger (Blue)
5f0942a8ae
Fix error when purging a map but the directory is already deleted. Fixes: #490 2023-11-18 16:32:05 +01:00
Lukas Rieger (Blue)
28c9166030
Define a safe collation for mysql tables. Fixes: #488 2023-11-18 16:26:56 +01:00
Lukas Rieger (Blue)
5028161b66
Correct compression naming for deflate compression 2023-07-13 12:27:34 +02:00
Lukas Rieger (Blue)
838b22aa19
Add zlib and zstd to the usable compression formats
(They are available in the dependencies anyways so why not add them here ^^)
2023-07-05 11:02:22 +02:00
Lukas Rieger (Blue)
7c56fc49a7
Apply Spotless fixes for BlueMapCore 2023-06-29 13:42:36 +02:00
Lukas Rieger (Blue)
7097547301
Add sqlite support. Closes: #322 2023-06-18 01:02:13 +02:00
Lukas Rieger (Blue)
82f1e1321d
Rename Dialect interface 2023-06-12 23:09:25 +02:00
Lukas Rieger (Blue)
32f15d6555
Use fallback dialect instead of returning null 2023-06-12 23:07:00 +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
Lukas Rieger (Blue)
004f296b5e
Add storages command 2023-05-01 20:41:30 +02:00
Lukas Rieger (Blue)
8af13df3f9
Also remove the cached FK for the map-id when we delete it from the db >_> 2023-03-17 20:29:52 +01:00
Lukas Rieger (Blue)
86a46477ab
Fix error on purge with sql-storage 2023-03-17 20:04:24 +01:00
Lukas Rieger (Blue)
f3f609c573
Generalize purge task for all storages 2023-03-04 12:40:12 +01:00
Lukas Rieger (Blue)
e659eb63aa
Wrong table name >_> 2023-01-01 12:42:25 +01:00
Lukas Rieger (Blue)
493f0c9bec
Add script to update databases correctly for the new version format 2023-01-01 12:20:55 +01:00
Lukas Rieger (Blue)
6d53bce0dd
Add stuff 2022-12-13 16:54:31 +01:00
Lukas Rieger (Blue)
81f309b0be
Create directories with symlinks in mind, fixes #349 2022-10-14 10:24:19 +02:00
Lukas Rieger (Blue)
98780514c6
Fix tile-saving errors after reloading bluemap with sql storage 2022-08-27 15:19:32 +02:00
Lukas Rieger (Blue)
471183b419
Add some SQL-Storage settings and tweak some connection-pool settings 2022-08-21 00:28:40 +02:00
Lukas Rieger (Blue)
4c9b45e6eb
Fix sql-config-template, remove debug-log and add map-id to cli-filewatcher output 2022-08-18 18:06:55 +02:00
Lukas Rieger (Blue)
bd88b2979d
Remove the user & password settings for database, as they should be added to the jdbc-connection string 2022-08-17 23:27:56 +02:00
Lukas Rieger (Blue)
413151e9ed
Merge branch 'feature/lowres' 2022-08-12 18:11:26 +02:00
Lukas Rieger (Blue)
44906f889b
Small performance improvements (resolving world-ids and sql-querys) 2022-08-09 22:35:21 +02:00
Lukas Rieger (Blue)
81574c5176
Rewrite lowres tiles with mutiple LODs 2022-08-07 20:32:55 +02:00
Lukas Rieger (Blue)
be04097ec5
Write markers to map-storage and add option to periodically update markers and players to storage 2022-07-30 15:31:42 +02:00
Lukas Rieger (Blue)
4da988d31c
Implement BlueMapAPI v2 2022-07-24 12:10:00 +02:00
Lukas Rieger (Blue)
b92536da64
Working on moving settings.json 2022-06-03 18:52:15 +02:00
Lukas Rieger (Blue)
79a12d4d80
Automatic mod-resource-loading, loading fabric netsted jars and more 2022-06-01 00:03:35 +02:00
Lukas Rieger (Blue)
7389cb1a16
Completely rework ResourcePack and resource-loading 2022-05-28 21:55:41 +02:00
Lukas Rieger (Blue)
e555d558b7
Refactored config management 2022-04-20 22:54:27 +02:00
Lukas Rieger (Blue)
4da37cd9f3
Use BlueMaps thread pool for caches in SQLStorage 2022-01-09 15:59:43 +01:00
Lukas Rieger (Blue)
acb7cf1e7b
Close underlying stream on exception in FileStorage 2022-01-09 15:54:06 +01:00
Blue (Lukas Rieger)
915f9d9608
Add SQL-Storage and add storage configs 2021-11-14 14:18:31 +01:00
Blue (Lukas Rieger)
4e05ad444b
Fix missing decompession when reading tile-files 2021-11-06 17:12:21 +01:00
Blue (Lukas Rieger)
13944404e1
Add missing license header 2021-11-06 16:26:58 +01:00
Blue (Lukas Rieger)
49e956ed66
Refactor Map-Storage to be more modular in preparation for SQL-storage 2021-11-06 16:14:14 +01:00