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

feat: backup/restore/default moonraker db #476

Merged
merged 33 commits into from
Dec 19, 2021

Conversation

meteyou
Copy link
Member

@meteyou meteyou commented Dec 19, 2021

this PR will add a function to create a backup of the moonraker DB, restore this backup into the moonraker DB or create a file (/config/.theme/default.json) for default settings in the moonraker DB.

Signed-off-by: Stefan Dej <[email protected]>
Signed-off-by: Stefan Dej <[email protected]>
…insail namespace and update gui/macros

Signed-off-by: Stefan Dej <[email protected]>
Signed-off-by: Stefan Dej <[email protected]>
… in default values after reset

Signed-off-by: Stefan Dej <[email protected]>
@meteyou meteyou linked an issue Dec 19, 2021 that may be closed by this pull request
@meteyou meteyou merged commit 7f6e6e5 into develop Dec 19, 2021
dw-0 pushed a commit to dw-0/mainsail that referenced this pull request Dec 25, 2021
* refactor: reset dbCheckboxes

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rework moonraker db reset

Signed-off-by: Stefan Dej <[email protected]>

* feat: add function to create a mainsail db backup

Signed-off-by: Stefan Dej <[email protected]>

* refactor: fix type of dbCheckboxes

Signed-off-by: Stefan Dej <[email protected]>

* refactor: first restore test

Signed-off-by: Stefan Dej <[email protected]>

* feat: restore db from json file

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rework gui store

Signed-off-by: Stefan Dej <[email protected]>

* fix: rework gui store issues

Signed-off-by: Stefan Dej <[email protected]>

* fix: rework gui store issues with extruder panel

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rename gui/macrogroups to gui/macros and move back to mainsail namespace

Signed-off-by: Stefan Dej <[email protected]>

* fix: ignore simple hide macros settings in expert macro mode

Signed-off-by: Stefan Dej <[email protected]>

* fix: init load bug

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rename gui/consolefilter to gui/console and move back to mainsail namespace and update gui/macros

Signed-off-by: Stefan Dej <[email protected]>

* refactor: remove old function in gui/macros

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rework gui/presets

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rework gui/gcodehistory

Signed-off-by: Stefan Dej <[email protected]>

* refactor: add all gui restart actions in gui restart action

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rework gui/remoteprinters

Signed-off-by: Stefan Dej <[email protected]>

* fix: control store gets

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rework reset moonraker db in interface settings

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rework backup moonraker DB

Signed-off-by: Stefan Dej <[email protected]>

* refactor: rework restore moonraker db

Signed-off-by: Stefan Dej <[email protected]>

* bugfix: backup/restore moonraker db locale

Signed-off-by: Stefan Dej <[email protected]>

* bugfix: backup/restore moonraker db locale, add tempchart

Signed-off-by: Stefan Dej <[email protected]>

* fix: change tempchart settings wrong store path

Signed-off-by: Stefan Dej <[email protected]>

* fix: add view locale to db backup/restore and delete old locale

Signed-off-by: Stefan Dej <[email protected]>

* feat: use /config/.theme/default.json when reset moonraker db to fill in default values after reset

Signed-off-by: Stefan Dej <[email protected]>

* feat: use /config/.theme/default.json when mainsail will be loaded the first time

Signed-off-by: Stefan Dej <[email protected]>

* refactor: add description to backup dialog

Signed-off-by: Stefan Dej <[email protected]>

* fix: save macrogroup update

Signed-off-by: Stefan Dej <[email protected]>
@meteyou meteyou deleted the feature/backup-restore-default-moonraker-db branch January 4, 2022 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] default UI configuration via config file
1 participant