Commit Graph

81 Commits (2df9fd897a9d3031cea6b6b7dafed3cd22d24cfb)

Author SHA1 Message Date
小蔡 549f013e0f
locales: update zh-tw.yml (#316)
* Update zh-tw.yml

I also corrected some redundant words.

* Update zh-tw.yml
9 months ago
Preva1l 2b1e72a42e
fix: wrong type in PostgreSQL schema (#299)
* Started impl for mongo

* fix silly mistake with postgresql

* fix silly mistake with postgresql
10 months ago
IbanEtc 68ec79add6
locales: add French (fr-fr) locales, courtesy of IbanEtchep (#293)
* french translation

* locales: fix line spacing in `fr-fr`

* locales: credit French (fr-fr)

---------

Co-authored-by: William <will27528@gmail.com>
10 months ago
William 525f15e65b
locales: correct typo in `error_invalid_data`, fix #283 11 months ago
jhqwqmc 087c787ec2
locales: update zh-cn.yml (#281)
* Update zh-cn.yml

* Update zh-cn.yml
11 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`
11 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>
11 months ago
William 6fbef032bc
locales: update zh-tw by lin_ak90 1 year ago
William 530b3ef24d
refactor: Migrate from BoostedYaml to Exll's ConfigLib (#233)
* feat: start work on moving to Exll's configlib

* refactor: Fully migrate to Exlll's configlib

* refactor: Optimize imports
1 year ago
WinTone01 7dde6423e4
Update tr-tr.yml (#228) 1 year ago
Wirayuda5620 4a6583d8bd
Indonesian translation for HuskSync 1 year ago
jhqwqmc 059ee6f660
locales: Update zh-cn.yml (#224)
Correction
1 year ago
William 29bd2e1319
feat: Add `/husksync status` report menu 1 year ago
jhqwqmc f9cfec7d03
Update zh-cn.yml (#220) 1 year ago
William 33c2eb2237
refactor: Use cloud `☁` for server for HuskHomes consistency 1 year ago
William 83e27cca83
locales: Add Korean (ko-kr) courtesy of cada3141 1 year ago
Joo200 029407613f
locales: add new localization to de-de (#215) 1 year ago
Daniil Nartsissov 3d6ff7c30b
Save cause localization support (#214) 1 year ago
Daniil Nartsissov 5833ce955f
locales: add ru-ru localization (#211) 1 year ago
WinTone01 7b8c75dbeb
Create tr-tr.yml (#207) 1 year ago
Ceddix c09fde4c36
Update German (de-de) locales, fix broken link in README (#196)
* updated the locales url

* updated German translation
1 year ago
Missing_Love 6fc827dedf
Update zh-cn.yml (#184) 1 year ago
Missing_Love b8aa1d9701
Update zh-cn.yml (#183)
Update Chinese Simplified Translation
1 year ago
William 289227e763
locales: Remove redundant comments in Japanese 1 year ago
William 3b8a9e4ed1
locales: Fix Dutch filename 1 year ago
William cae17f6e68
Introduce new lockstep syncing system, modularize sync modes (#178)
* Start work on modular sync systems

* Add experimental lockstep sync system, close #69

* Refactor RedisMessageType enum

* Fixup lockstep syncing

* Bump to 3.1

* Update docs with details about the new Sync Modes

* Sync mode config key is `mode` instead of `type`

* Add server to data snapshot overview

* API: Add API for setting data syncers

* Fixup weird statistic matching logic
1 year ago
Arno Keesman c2b9e6c932
add Dutch translation (#176) 1 year ago
Namiu/うにたろう 37a671dae9
Update ja-jp.yml (#170) 1 year ago
Villag3r_ 7c9ac37eb7
Update it-it.yml (#163) 1 year ago
William 105f65c93a
v3.0: New modular, more compatible data format, new API, better UX (#160)
* Start work on v3

* More work on task scheduling

* Add comment to notification display slot

* Synchronise branches

* Use new HuskHomes-style task system

* Bump to 2.3

* Remove HuskSyncInitializationException.java

* Optimise database for MariaDB

* Update libraries, move some around

* Tweak command registration

* Remove dummyhusksync

* Fixup core synchronisation logic to use new task system

* Implement new event dispatch subsystem

* Remove last remaining future calls

* Remove `Event#fire()`

* Refactor startup process

* New command subsystem, more initialization improvements, locale fixes

* Update docs, tweak command perms

* Reduce task number during data setting

* add todo

* Start work on data format / serialization refactor

* More work on Bukkit impl

* More serialization work

* Fixes to serialization, data preview system

* Start legacy conversion skeleton

* Handle setting empty inventories

* Start on-the-fly legacy conversion work

* Add advancement conversion

* Rewrite advancement get / apply logic

* Start work on locked map persistence

* More map persistence work

* More work on map serialization

* Move around persistence logic

* Add testing suite

* Fix item synchronisation

* Finalize more reliable locked map persistence

* Remove deprecated method call

* remove sync feature enum

* Fix held item slot syncing

* Make data types modular and API-extensible

* Remove some excessive debugging, minor refactor

* Fixup date formatting, improve menu UIs

* Finish up legacy data converting

* Null safety in item stack serializaiton

* Fix relocation of nbtapi, update dumping docs

* Add v1/MPDB Migrators back in

* Fix pinning/unpinning data not working

* Consumer instead of Function for editing data

* Show file size in DataSnapshotOverview

* Fix getIdentifier always returning empty

* Re-add items and inventory GUI commands

* Improve config file, fixup data restoration

* Add min time between backups (more useful backups!)

* More work on backups

* Fixup backup rotation frequency

* Remove stdout debug print in `#getEventPriority`

* Improve sync complete locale logic, fix synchronization spelling

* Remove `static` on exception

* Use dedicated thread for Redis, properly unsubscribe

* Refactor `player` package -> `user`

* `PlayerDataHolder` -> `UserDataHolder`

* Make `StatisticsMap` public, but `@ApiStatus.Internal`

* Suppress unused warnings on `Data`

* Add option to disable Plan hook

* Decompress legacy data before converting

* Decompress bytes in fromBytes

* Check permission node before serving TAB suggestions

* Actually convert legacy item stack data

* Fix syntax errors

* Minor method refactor in items command

* Fixup case-sensitive parsing in HuskSync command

* Start API work

* More work on API, fix potion effects

* Fix cross-server, config formatting for auto-pinned issue

* Fix confusion with UserData command, update docs images

* Update commands docs

* More docs updating

* Fix sync feature enabled/disabled checking logic

* Fix `#isCustom()`

* Enable persistent_data syncing by default

* docs: update Sync-Features config snippet

* docs: correct typo in Sync Features

* More API work

* bukkit: slightly optimized schedulers

* More API work, various refactorings

* docs: Start new API docs

* bump dependencies

* Add some basic unit tests

* docs: Correct typos

* More docs work, annotate DB methods as `@Blocking`

* Encapsulate `RedisMessage`, minor optimisations

* api: Simplify `#getCurrentData`

* api: Simplify `editCurrentData`, using `ThrowingConsumers` for better error handling

* docs: More Data Snapshot API documenting

* docs: add TOC to Data Snapshot API page

* bukkit: Make data types extend BukkitData

* Move where custom data is stored, finish up Custom Data API docs

* Optimise imports

* Fix `data_manager_advancements_preview_remaining` locale

* Fix advancement and playtime previews

* Fix potion effect deserialization

* Make snapshot_backup_frequency default to 4, more error handling/logging

* docs: Add ToC to Custom Data API

* docs: Minor legacy API tweaks

* Remove some unneeded catch logic

* Suppress a few warnings

* Fix Effect constructor being supplied in wrong order
1 year ago
William b73de81519
Add missing Maria schema 2 years ago
小蔡 0c7e052d44
Update zh-tw.yml (#124) 2 years ago
Ceddix ea822b0f4b
fixed some issues I made (#101) 2 years ago
Villag3r_ 7584ea0070
Update it-it.yml 2 years ago
Ceddix 8ba90fadc4
Updated german locales 2 years ago
William 480796fbee Remove config.yml 2 years ago
William d828631dea Merge branch 'master' into triumph-gui 2 years ago
William 43cd367ca3 TriumphGUI for menus, fix missing inv/echest view message, fix data saving despite no updates, close #42 2 years ago
William 19ca504bab Suggest delete and restore commands rather than run them 2 years ago
William 7536bfaaf5 Add `/userdata dump` command, for file/web dumping of user data json 2 years ago
William 0754837820 Start work on data list pagination via PagineDown, update locales 2 years ago
William d1c95030f0 Added config option for syncing dead player inventories, cancel damage if locked 3 years ago
William 1ed2414241 Add Bulgarian (bg-bg) courtesy of Pukejoy_1 3 years ago
William 112e5fe0bd `longblob` rather than `mediumblob` 3 years ago
小蔡 7ae0709895
Update zh-tw.yml 3 years ago
William fe14b4db35 Add it-it courtesy of xF3d3 and es-es courtesy of Melonzio 3 years ago
William 60a435aa82 Rename in config max_user_data_records --> max_user_data_snapshots 3 years ago
mateusneresrb 2bee9561d7 Implement translation portuguese brazil 3 years ago
William ac3f179321 Update zh-cn.yml courtesy of DJelly4K 3 years ago
William e5e848126a Update de-de courtesy of Ceddix 3 years ago