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: add download functionality for board configuration files #2111

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

Meierschlumpf
Copy link
Collaborator

This change adds a new button to the boards management page for admins:
image

It allows the admin to download the frontend configurations of all boards (This does not include secrets). It is on the one hand to allow backuping but mostly about migrating from oldmarr (this project) to newmarr (the 1.0 release of Homarr)

All existing configuration files are added to a zip which will then be downloaded when clicking the button.

@Meierschlumpf Meierschlumpf added the ✨ Feature A feature you'd like to be added label Aug 21, 2024
@Meierschlumpf Meierschlumpf self-assigned this Aug 21, 2024
Copy link

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 17.22% 5620 / 32633
🔵 Statements 17.22% 5620 / 32633
🔵 Functions 6.37% 33 / 518
🔵 Branches 37.22% 134 / 360
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/pages/api/download.ts 0% 0% 0% 0% 1-34
src/pages/manage/boards/index.tsx 0% 0% 0% 0% 1-318
Generated in workflow #6840

@manuel-rw manuel-rw merged commit a879358 into dev Aug 24, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature A feature you'd like to be added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants