Compare commits

..

5 Commits

Author SHA1 Message Date
Ferdinand Thiessen 8fbdac365f fix(migrations): Fix rebase issues
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
2022-02-23 15:37:09 +01:00
Ferdinand Thiessen 6c1a0a01f4 feat(cli): Added CLI command for handling plugins
* Install / Uninstall plugins
* List plugins
2022-02-23 15:37:09 +01:00
Ferdinand Thiessen 0db6b6e72f feat(docs): Add documentation on how to install tables
Also various documentation fixed and improvments
2022-02-23 15:37:09 +01:00
Ferdinand Thiessen 84addcbd46 feat(db): Add database migration support, implements #19
Migrations allow us to keep track of database changes and upgrading databases if needed.

* Add initial migrations for core Flaschengeist
* Add migrations to balance
* Add migrations to pricelist

* Skip plugins with not satisfied dependencies.
2022-02-23 15:36:56 +01:00
Ferdinand Thiessen 14d432ebd4 fix(db): Add __repr__ to custom column types, same as done by SQLAlchemy 2022-02-23 15:31:39 +01:00
1 changed files with 1 additions and 3 deletions

View File

@ -189,9 +189,7 @@ class Plugin:
Returns:
Dict containing version and permissions of the plugin
"""
from flaschengeist.utils.plugin import plugin_version
return {"version": plugin_version(self), "permissions": self.permissions}
return {"version": self.version, "permissions": self.permissions}
class AuthPlugin(Plugin):