Commit Graph

799 Commits (da70a54d78518d88f1f0071ab209f8904ac74586)
 

Author SHA1 Message Date
jhqwqmc 087c787ec2
locales: update zh-cn.yml (#281)
* Update zh-cn.yml

* Update zh-cn.yml
7 months ago
William 7218390f65
feat: Add support for Folia (#280)
* feat: Add support for Folia

* feat: fix folia advancement stuff

* feat: fix double negation (whoops)
7 months ago
William bd312c48ea
refactor: Improve data validation, allow deletion of invalid snapshots (#279)
* feat: move validation to be on unpack

* refactor: add validation and handling for invalid data to UX

* fix: `runAfter` not firing on unpack failure

* locales: minor update to `data_list_item_invalid`
7 months ago
dependabot[bot] e4cc792f54
build(deps): bump idna from 3.4 to 3.7 in /test (#278)
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.4...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
William 7941745ed0
docs: update config file docs 7 months ago
William 21f125c48a
fix: bad cast in `applyStat` 7 months ago
William 18b8b958fe
docs: update data snapshot API
Fix a few references to max health and update data types table
7 months ago
William 35c23c7970
refactor: remove some unused code, cleanup 7 months ago
William 4bb38f67d3
refactor: use registry for statistics
also updates BukkitKeyedAdapter methods to use the registries and moves to just using the Json serializer for Bukkit locations
7 months ago
William 98cf42065b
refactor: slightly simplify checkout logic 7 months ago
William 328d4476aa
docs: update sync features docs/faq 7 months ago
William 8293d767da
feat: add config to skip certain attributes 8 months ago
William 7b8fb92737
fix: ICV modifying offline inventories via API, close #275 8 months ago
William 0f1cc2d24f
docs: Attributes now hold max health 8 months ago
William 676ba7a10a
feat: Add attribute syncing (#276)
* refactor: add attribute syncing

* fix: don't sync unmodified attributes

* fix: register json serializer for Attributes

* fix: improve Attribute API methods

* docs: update Sync Features

* refactor: make attributes a set

Because they're unique (by UUID)
8 months ago
William 82dc765f66
fix: NotNull-annotate PacketEvent 8 months ago
William 16cfbc9410
fix: remove debug messages 8 months ago
William 2b4c7e6c3d
fix: missing `ALLOWED_PACKETS` calling desync 8 months ago
William a03d540938
fix: DateTimeException when running `/userdata` 8 months ago
William 6bcb3e7908
fix: add `flight_status` to getData 8 months ago
William facbda65a8
fix: ProtocolLib startup warnings 8 months ago
William 2f5ddf6164
feat: add ProtocolLib support for deeper-level packet cancellation (#274)
* feat: add support for ProtocolLib packet-level state cancelling

* refactor: move commands to event listener, document ProtocolLib support

* docs: make Setup less claustrophobic

* fix: remove `@Getter` on `PlayerPacketAdapter`

* build: add missing license headers

* fix: inaccessible method on Paper

* test: add ProtocolLib to network spin test

* fix: whoops I targeted the wrong packets

* fix: bad command disabled check logic

* fix: final protocollib adjustments
8 months ago
William 4dfbc0e32b
fix: more gracefully handle platform mismatches 8 months ago
William 07d0376dd6
docs: fix grammar in config comment 8 months ago
William d23ea087c1
refactor: Redis -> 𝓡𝓮𝓭𝓲𝓼 8 months ago
William ea77f2d782
docs: update docs on getting flight status 8 months ago
William ef3dc7e602
fix: bad null annotations on legacy conversion 8 months ago
William 3fe6245ddf
docs: update README to reflect new DB support 8 months ago
William a35e83a424
feat: Move flight status into its own data type, use lombok for data class (#273)
* refactor: use lombok, separate flight, close #191

* refactor: suppress some warnings

* refactor: suppress unused `from` warnings

* refactor: correct bad null-annotations on Items

* refactor: fix null annotation on `getStack`

* refactor: override methods for getting flight status

* docs: add deprecation docs for flight in gamemode data
8 months ago
William be5d1128de
docs: add note about Paper stats API 8 months ago
William 8463e1bb7a
fix: Remove legacy MineDown calls 8 months ago
William 5456b232f0
fix: don't escape double underscores in text 8 months ago
William b0e585841c
refactor: use system locale for date formatting 8 months ago
William cd298af5ae
deps: bump deps, update MineDown, close #270 8 months ago
William e19477aada
refactor: remove redundant `toString` on debug 8 months ago
William 7f75b9a917
refactor: explicitly cancel ArmorStandManipulateEvent 8 months ago
William 819421492b
Merge remote-tracking branch 'origin/master' 8 months ago
SnowCutieOwO 8f13a3955c
docs: fix errors in API (#268)
* Update API.md

There's a little mistake and I found it and fixed. :)

* Update API.md

Fixed the wrong index
8 months ago
dependabot[bot] 73de0ff392
deps: bump commons-io:commons-io from 2.15.1 to 2.16.0 (#266)
Bumps commons-io:commons-io from 2.15.1 to 2.16.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>
8 months ago
William 93edb0de4c
refactor: slightly adjust how quit cursor item dropping gets handled 8 months ago
dependabot[bot] bb5ae0b741
deps: bump space.arim.morepaperlib:morepaperlib from 0.4.3 to 0.4.4 (#263)
Bumps space.arim.morepaperlib:morepaperlib from 0.4.3 to 0.4.4.

---
updated-dependencies:
- dependency-name: space.arim.morepaperlib:morepaperlib
  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>
8 months ago
dependabot[bot] ccd7601a0e
deps: bump org.projectlombok:lombok from 1.18.30 to 1.18.32 (#264)
Bumps [org.projectlombok:lombok](https://github.com/projectlombok/lombok) from 1.18.30 to 1.18.32.
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.30...v1.18.32)

---
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>
8 months ago
dependabot[bot] 50d15e9580
deps: bump de.tr7zw:item-nbt-api from 2.12.2 to 2.12.3 (#265)
Bumps de.tr7zw:item-nbt-api from 2.12.2 to 2.12.3.

---
updated-dependencies:
- dependency-name: de.tr7zw:item-nbt-api
  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>
8 months ago
dependabot[bot] aa1e8b8e95
deps: bump com.google.guava:guava from 33.0.0-jre to 33.1.0-jre (#260)
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.0.0-jre to 33.1.0-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-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
William 3ff01f7bb3
build: bump to 3.4.1 8 months ago
William 93ab25bf44
deps: target ConfigLib on Maven Central 8 months ago
Preva1l 4c0addfd67
feat: PostgreSQL, Mongo Atlas & Replica Support (#255)
* Started impl for mongo

* added docs

* refactor of the mongo code, made mongodb artifacts download at run time, tested and working

* complete all change requests

* remove mongo and bson from relocations as they arnt needed

* changed the config

* updated docs

* not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null not null

* added postgres support (closes https://github.com/WiIIiam278/HuskSync/issues/212)

* add support for mongodb atlas, added atlas and postrgres to docs, update the config example in docs, also updates mongodb driver bc apparently i was special and very very out of data

* Rework how mongo connections are handled, **breaks config for mongo only**, allows for MongoDB Atlas, normal MongoDb AND MongoDB replica sets via the parameters in advanced mongo settings, added try and catch on all mongo operations so that it actually throws instead of a cutsie little warning

* small doc change

* whoops forgot to instantiate MongoCollectionHelper, and added missing step from docs for atlas users

* why thats a tad embarrassing (grammar mistake)

* add cluster id to `/husksync status`, shows "MongoDB Atlas" in status if using mongodb atlas

---------

Co-authored-by: William <will27528@gmail.com>
8 months ago
SnowCutieOwO b77cf2524d
build: fix grgit failsafe being unreachable (#258)
* Update build.gradle

* Update build.gradle

* Update build.gradle
8 months ago
dependabot[bot] 501ea3f609
deps: bump org.json:json from 20240205 to 20240303 (#254)
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20240205 to 20240303.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  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>
9 months ago
William278 a93af95fd2 docs: update README 9 months ago