Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqlite #140

Open
wants to merge 31 commits into
base: 2.6.0
Choose a base branch
from
Open

Sqlite #140

wants to merge 31 commits into from

Conversation

KillerOfPie
Copy link
Collaborator

@KillerOfPie KillerOfPie commented Jul 5, 2022

Pull Request Etiquette

There are several guidelines you should follow in order for your Pull Request to be merged.
Replace [ ] with [x] to cross the checkbox.

It is sometimes better to include more changes in a single commit.
If you find yourself having an overwhelming amount of commits, you
can rebase your branch.

Changes

This PR adds a new kind of storage type which relies on a single SQLite database file, created, read and updated on disk.

SparklingComet and others added 12 commits July 4, 2022 13:43
and refactor some methods from JsonLinkageConfiguration into interface LinkageConfiguration (as default methods)
- Fix for Members displaying in shops and Member & Manager.
- Fix for `/ts removeUser` not filling TabComplete for players.
- Fix for double space in Message output between the Prefix and Message.
- Updated plugin versions in POM.xml
- Fix for non DATA_ERROR debug output
- Moved inventoryGUI to a local directory instead of it's own to prevent potential conflicts
- Fix for add Error during shop creation when adding users.
- RemoveSide commands now default to the only item if no index was specified and the shop only has one item on the side
- Fix for members showing up as managers in the         edit menu
- Fix for managers not showing in edit menu
- Change ShopItemStack.itemstack to serialize using ItemStack#serialize rather than base64, This increases readability and decreases file size
KillerOfPie and others added 3 commits July 5, 2022 15:59
- Added new constructor allowing multiple Items per side
- Fixed ShopItemStack attempting to convert Base64 when it isn't present
Copy link
Collaborator Author

@KillerOfPie KillerOfPie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good - pre testing

KillerOfPie and others added 8 commits July 5, 2022 16:41
- Fix itemStackB64 still having a value in serrialized output
The latter is because SQLite's ResultSets only support FORWARD_ONLY_CURSORs,
such that moving up and down the rows is not possible.
Checking the size of the ResultSet is now done more subtly, but also in a more crude way.
- Add SQLITE option to data-storage-type pre-comment
- POM Version updates
- POM Improvements
- Added `Clean` and `skipDocs` profiles for maven builds
- Moved `original` and JavaDocs output to `target/output-Files` sub folders
- Updated JavaDoc exclusions
- Excluded `META-INF/maven` files from builds
@KillerOfPie
Copy link
Collaborator Author

When it comes time to merge, keep pom.xml changes from this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants