Johannes / EinJojo
b1a5eb5f44
Fix org.postgresql.util.PSQLException: ERROR: operator does not exist: uuid = character varying ( #623 )
2025-12-04 15:28:27 +00:00
its.bread
8232282d13
Fix locked maps not rendering after server restart ( #620 )
2025-12-04 15:28:06 +00:00
its.bread
5c4111b6a7
fix: prevent race condition in CHECK_IN_PETITION handler ( #614 )
...
- Replace confusing 'online' boolean with direct state checks
- Only release DATA_CHECKOUT when user is truly offline AND unlocked
2025-11-29 19:32:28 +00:00
AO
51a700600a
Update DataVersionSupplier.java ( #609 )
2025-11-12 16:54:03 +00:00
Tkach
c615ab592b
feat: allow overriding server name via HUSKSYNC_SERVER_NAME env ( #586 )
2025-09-23 19:35:26 +01:00
William278
a31c3c48f7
refactor: move data version fetching to an interface
2025-08-12 23:41:38 +01:00
William278
11453393d4
fix: Postgres syntax issue, close #545
2025-08-12 23:23:46 +01:00
Sushant Pangeni
807bffe9aa
feat: add more Redis configuration options ( #564 )
2025-08-05 14:45:23 +01:00
William278
879aef471a
feat: support 1.21.8 alongside 1.21.7
...
adds support for version range expressions to the CompatibilityChecker. Also adds tests for this.
2025-07-20 14:37:18 +01:00
lolplay123
27e958a474
locales: update Japanese locales ja-jp.yml ( #534 )
2025-06-28 00:58:04 +01:00
William278
1627de732b
refactor: enable check-in petitions by default
2025-06-21 15:09:17 +01:00
William278
396630821f
fix: return false if user is checked out if CIPs are off
2025-06-18 22:19:54 +01:00
William278
25744b4ef7
Merge remote-tracking branch 'origin/master'
2025-06-13 19:25:31 +01:00
William278
8f2d1c7298
refactor: place checkin petitions behind experimental setting
2025-06-13 17:51:09 +01:00
Marlon Pohl
cf08015961
feat: make redis user and database configurable ( #518 )
...
* Make redis user and database configurable
* Update documentation
2025-06-07 01:46:17 +01:00
小蔡
cb09e0cfb2
locales: update zh-tw.yml ( #512 )
2025-06-01 11:04:27 +01:00
William278
935aafa74a
fix(fabric): fix issues with Fabric 1.21.5
2025-05-26 21:18:45 +01:00
William278
20bc76a768
fix: /enderchest command not working
2025-05-26 20:13:23 +01:00
William278
51cf982359
fix: remove debug message in /inventory
2025-05-12 17:39:56 +01:00
William278
61298c24bb
refactor: improve data identifier map structure, fix #492
2025-05-10 13:57:03 +01:00
ilightwas
52fa67432c
fix: enable the userdata view command with no snapshot uuid args ( #491 )
...
Documentation states it should show the latest snapshot
2025-05-10 13:39:04 +01:00
ilightwas
06d8dda7dd
fix: sql syntax in getUnpinnedSnapshotCount ( #485 )
...
An AND on a FROM clause
2025-04-11 14:41:33 +01:00
William278
cd3e4ef063
fix: sql syntax error with getUnpinnedSnapshotCount
2025-04-09 19:05:55 +01:00
William278
dc880bc37f
refactor: optimize rotateSnapshots
...
Don't pull all snapshots when rotating!
2025-03-30 14:48:37 +01:00
jhqwqmc
afb4fdd5d5
locales: update zh-cn.yml ( #472 )
2025-03-29 16:32:02 +00:00
William278
bf8474e02d
fix: uncomment petitionServerCheckin method call
2025-03-23 16:18:27 +00:00
William278
937ea9bc8e
feat: improve data syncing with checkin petitions
...
This improves data fetching speed in cases where a user logs out during sync application; when they log back in, the server will petition the server they are checked out on to check them out.
We also now unlock users after saving sync on a server to accommodate this, and track user disconnection status to avoid inconsistencies with what platforms return for `isOnline`
2025-03-23 16:15:00 +00:00
William278
370712c5b2
feat: skip offline users on user data apply
2025-03-20 19:53:31 +00:00
William278
0111f25865
Merge remote-tracking branch 'origin/master'
2025-03-09 15:02:07 +00:00
William278
02c8b899dc
feat: add ability to run /userdata dump without args
2025-03-08 12:43:27 +00:00
William278
b725015318
feat: bump to 3.8, dont set user data on update
2025-03-07 18:16:46 +00:00
William278
11550e0ba3
refactor: use pastes.dev for viewing userdata dumps
2025-03-07 17:30:18 +00:00
William278
33e20a0c0b
fix: return bytebin URL for viewing dumps
2025-03-07 17:25:03 +00:00
William278
0ae13d730d
feat: use bytebin for dump uploading
...
`UserDataDumper` now implements `Flusher` from `toilet`
2025-03-07 17:23:24 +00:00
William278
f5ad5c079f
locales: add locale for save_cause_save_command
2025-03-07 17:07:52 +00:00
William278
305f90f697
feat: various logical improvements to data syncing
...
* Update data in Redis during world saves & commands
* Always set data time to 1 year regardless of sync mode
2025-03-07 16:54:19 +00:00
William278
e56041eae2
feat: add /userdata save
...
Also adds docs for `/husksync dump`
2025-03-07 16:36:34 +00:00
William
904c65ba39
feat: rework locked maps syncing ( #464 )
...
* Better maps syncing (#2 )
* Do not create new views for maps from current world
* Fix maps in shulkers not converting
* Add bundle support for map conversion
* Rework map sync
* Fix empty statements in database
* Fix missing imports
* Rename connectMapIds -> bindMapIds
* Use data adapter to save maps
* Split Mongo readMapData
* Split MySQL readMapData
* Split Postgres readMapData
* Update database schemas
Use server names instead of world UUIDs
* Update Database class
* Update MongoDbDatabase class
* Update MySqlDatabase class
* Update PostgresDatabase class
* Update BukkitMapPersister class
Use server names instead of world UUIDs
* Remove unused code
* Add my nickname to contributors :)
* Start implementing Redis map caching
* Continue implementing Redis map caching
* Bind map ids on Redis before writing to DB
* Finish implementing Redis map data caching
* refactor: decouple new map logic Redis caching from DB
* test: enable debug logging in test suite
* docs: update docs with new username method
* feat: adjust a method name
---------
Co-authored-by: Sóla Lusøt <60041069+solaluset@users.noreply.github.com >
2025-03-07 16:06:27 +00:00
William278
2a59a0b3f5
feat: implement hashCode in Identifier classes
2025-03-06 14:38:01 +00:00
William278
b108d38598
feat: add /husksync dump status dumping, close #460
2025-03-06 14:36:33 +00:00
William
be6bebe361
build: Use multi-version and preprocessor to build all target versions from one branch ( #463 )
...
* feat: convert Fabric to use essential-multi-version
* fix: populate compatibility.yml with mc version
* feat: start WIP work on doing the same for bukkit
* refactor: use preprocessor plugin to multi-version bukkit
* docs: update README to mention multi-version stuff
* build: also include javadocs for Bukkit
* build: update CI workflows
also slightly simplifies buildscript
2025-03-05 16:52:21 +00:00
Sóla Lusøt
7ff10b33a0
fix: Exception updating snapshots with Postgres due to LIMIT clause ( #440 )
...
Remove LIMIT clause which caused errors
2024-12-29 12:58:37 +00:00
William278
8e4678468e
[ci skip] refactor: update config comment
2024-12-08 14:11:47 +00:00
William
1820a810f4
feat: add method for getting OnlineUser in common module
2024-12-07 20:58:40 +00:00
William
0627fb20e4
refactor: adjust equals impl in Identifier
2024-11-15 12:11:02 +00:00
William278
d27278454a
feat: warn if server name matches default, close #314
2024-11-14 14:58:43 +00:00
William
f803af0225
feat: support newer Map data format, close #406
2024-11-04 21:49:24 +00:00
Preva1l
b449b5dee6
fix: cache save causes, fix Fabric data save on shutdown ( #405 )
...
Co-authored-by: seeruk <wright.elliot@gmail.com >
2024-10-17 16:21:42 +01:00
William
cabde9e8d8
fix: version_uuid instead of id in PSQL rotateSnapshots
2024-09-29 15:33:32 +01:00
William
4df7d2def4
fix: missing placeholder %s in postgres
2024-09-29 14:58:09 +01:00