mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
[PR #1760] [MERGED] Add own endpoint for exporting eggs #1556
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1760
Author: @Boy132
Created: 9/29/2025
Status: ✅ Merged
Merged: 10/8/2025
Merged by: @Boy132
Base:
main← Head:boy132/fix-egg-exports📝 Commits (5)
3eebaffadd own endpoint for exporting eggse7b899ballow application api usage with sessioned78b90fix phpstanb1ecb04fix testsb91ea43Merge remote-tracking branch 'upstream/main' into boy132/fix-egg-exports📊 Changes
9 files changed (+69 additions, -15 deletions)
View changed files
📝
app/Filament/Components/Actions/ExportEggAction.php(+5 -8)📝
app/Filament/Components/Actions/ExportScheduleAction.php(+3 -1)📝
app/Http/Controllers/Api/Application/Eggs/EggController.php(+26 -0)📝
app/Http/Middleware/Api/Application/AuthenticateApplicationUser.php(+1 -1)📝
app/Http/Requests/Api/Application/ApplicationApiRequest.php(+6 -2)➕
app/Http/Requests/Api/Application/Eggs/ExportEggRequest.php(+13 -0)📝
routes/api-application.php(+1 -0)📝
tests/Traits/Http/RequestMockHelpers.php(+2 -1)📝
tests/Unit/Http/Middleware/Api/Application/AuthenticateUserTest.php(+12 -2)📄 Description
Closes #1730
Adds dedicated endpoint for exporting eggs as file. Also changes the auth for the application api so admins can access the api with their session. (which previously was exclusive only for the root admin)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.