William278
dc880bc37f
refactor: optimize rotateSnapshots
...
Don't pull all snapshots when rotating!
2025-03-30 14:48:37 +01:00
dependabot[bot]
c419587933
deps: bump com.google.guava:guava from 33.4.0-jre to 33.4.5-jre ( #470 )
...
Bumps [com.google.guava:guava](https://github.com/google/guava ) from 33.4.0-jre to 33.4.5-jre.
- [Release notes](https://github.com/google/guava/releases )
- [Commits](https://github.com/google/guava/commits )
---
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-29 16:32:46 +00: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
William278
1ff4cab88d
build: bump uniform to 1.3.1
2025-03-04 15:28:57 +00:00
dependabot[bot]
c8fd3f88fa
deps: bump com.google.code.gson:gson from 2.11.0 to 2.12.1 ( #453 )
...
Bumps [com.google.code.gson:gson](https://github.com/google/gson ) from 2.11.0 to 2.12.1.
- [Release notes](https://github.com/google/gson/releases )
- [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/gson/compare/gson-parent-2.11.0...gson-parent-2.12.1 )
---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-09 15:29:02 +00:00
dependabot[bot]
033af3126c
deps: bump org.jetbrains:annotations from 26.0.1 to 26.0.2 ( #450 )
...
Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations ) from 26.0.1 to 26.0.2.
- [Release notes](https://github.com/JetBrains/java-annotations/releases )
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JetBrains/java-annotations/compare/26.0.1...26.0.2 )
---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 16:46:48 +00:00
William278
a0fb2e90b3
build: bump json to 20250107
2025-01-26 17:40:37 +00:00
William278
ae69c1c060
build: bump several dependencies at once
2025-01-26 17:40:11 +00:00
dependabot[bot]
58bd3acdc3
deps: bump net.kyori:adventure-api from 4.17.0 to 4.18.0 ( #437 )
...
Bumps [net.kyori:adventure-api](https://github.com/KyoriPowered/adventure ) from 4.17.0 to 4.18.0.
- [Release notes](https://github.com/KyoriPowered/adventure/releases )
- [Commits](https://github.com/KyoriPowered/adventure/compare/v4.17.0...v4.18.0 )
---
updated-dependencies:
- dependency-name: net.kyori:adventure-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 12:21:59 +00:00
dependabot[bot]
af51c035a3
deps: bump org.apache.commons:commons-text from 1.12.0 to 1.13.0 ( #435 )
...
Bumps org.apache.commons:commons-text from 1.12.0 to 1.13.0.
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 12:21:49 +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
e04c19acf5
build: general dependency bump
2024-12-07 21:28:26 +00:00
William
1820a810f4
feat: add method for getting OnlineUser in common module
2024-12-07 20:58:40 +00:00
dependabot[bot]
7967d00208
deps: bump commons-io:commons-io from 2.17.0 to 2.18.0 ( #426 )
...
Bumps commons-io:commons-io from 2.17.0 to 2.18.0.
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-06 22:01:50 +00:00
dependabot[bot]
00a68be2ad
deps: bump com.zaxxer:HikariCP from 6.2.0 to 6.2.1 ( #427 )
...
Bumps [com.zaxxer:HikariCP](https://github.com/brettwooldridge/HikariCP ) from 6.2.0 to 6.2.1.
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES )
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-6.2.0...HikariCP-6.2.1 )
---
updated-dependencies:
- dependency-name: com.zaxxer:HikariCP
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-06 22:01:41 +00:00
dependabot[bot]
c2f6d240ad
deps: bump com.zaxxer:HikariCP from 6.1.0 to 6.2.0 ( #422 )
...
Bumps [com.zaxxer:HikariCP](https://github.com/brettwooldridge/HikariCP ) from 6.1.0 to 6.2.0.
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES )
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-6.1.0...HikariCP-6.2.0 )
---
updated-dependencies:
- dependency-name: com.zaxxer:HikariCP
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 16:09:56 +00:00
dependabot[bot]
4cde24c536
deps: bump org.projectlombok:lombok from 1.18.34 to 1.18.36 ( #420 )
...
Bumps [org.projectlombok:lombok](https://github.com/projectlombok/lombok ) from 1.18.34 to 1.18.36.
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown )
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.34...v1.18.36 )
---
updated-dependencies:
- dependency-name: org.projectlombok:lombok
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 16:09:45 +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
William278
16780c149c
build: bump deps
2024-11-14 14:54:50 +00:00
William
f803af0225
feat: support newer Map data format, close #406
2024-11-04 21:49:24 +00:00
William
c942a015d1
feat: start 1.21.3
2024-10-31 20:57:27 +00:00
dependabot[bot]
e303984dcf
deps: bump org.jetbrains:annotations from 26.0.0 to 26.0.1 ( #407 )
...
Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations ) from 26.0.0 to 26.0.1.
- [Release notes](https://github.com/JetBrains/java-annotations/releases )
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JetBrains/java-annotations/compare/26.0.0...26.0.1 )
---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 11:40:45 +01: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
dependabot[bot]
48f8c0c967
deps: bump org.jetbrains:annotations from 25.0.0 to 26.0.0 ( #400 )
...
Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations ) from 25.0.0 to 26.0.0.
- [Release notes](https://github.com/JetBrains/java-annotations/releases )
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JetBrains/java-annotations/compare/25.0.0...26.0.0 )
---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 16:20:30 +01:00
dependabot[bot]
fca6825394
deps: bump org.jetbrains:annotations from 24.1.0 to 25.0.0 ( #396 )
...
Bumps [org.jetbrains:annotations](https://github.com/JetBrains/java-annotations ) from 24.1.0 to 25.0.0.
- [Release notes](https://github.com/JetBrains/java-annotations/releases )
- [Changelog](https://github.com/JetBrains/java-annotations/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JetBrains/java-annotations/compare/24.1.0...25.0.0 )
---
updated-dependencies:
- dependency-name: org.jetbrains:annotations
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-09 12:31:15 +01:00
William
45c2f5350f
Merge remote-tracking branch 'origin/master'
2024-10-03 14:58:25 +01:00
William
ed88d77852
build: bump guava, junit and HikariCP
2024-10-03 14:58:12 +01:00
dependabot[bot]
e7fc9f015e
deps: bump com.zaxxer:HikariCP from 5.1.0 to 6.0.0 ( #388 )
...
Bumps [com.zaxxer:HikariCP](https://github.com/brettwooldridge/HikariCP ) from 5.1.0 to 6.0.0.
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES )
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-5.1.0...HikariCP-6.0.0 )
---
updated-dependencies:
- dependency-name: com.zaxxer:HikariCP
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 14:57:06 +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
William
59ed77c169
fix: Compat issues with Postgres queries, close #383
2024-09-29 14:32:57 +01:00
William
abdf8223fc
refactor: adjust postgres statements
2024-09-29 13:35:28 +01:00