[PR #1760] [MERGED] Add own endpoint for exporting eggs #1556

Closed
opened 2026-02-05 18:17:26 +03:00 by OVERLORD · 0 comments
Owner

📋 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: mainHead: boy132/fix-egg-exports


📝 Commits (5)

  • 3eebaff add own endpoint for exporting eggs
  • e7b899b allow application api usage with session
  • ed78b90 fix phpstan
  • b1ecb04 fix tests
  • b91ea43 Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/1760 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 9/29/2025 **Status:** ✅ Merged **Merged:** 10/8/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/fix-egg-exports` --- ### 📝 Commits (5) - [`3eebaff`](https://github.com/pelican-dev/panel/commit/3eebaff430ef1728866e09032d6a42ac58d32dfa) add own endpoint for exporting eggs - [`e7b899b`](https://github.com/pelican-dev/panel/commit/e7b899b26c2a5dacc437ddc129a4e1157523aa22) allow application api usage with session - [`ed78b90`](https://github.com/pelican-dev/panel/commit/ed78b90f6194b2c72562f838f6311027b01a7a15) fix phpstan - [`b1ecb04`](https://github.com/pelican-dev/panel/commit/b1ecb049b0560abbcc044ab37eebf6f415de2765) fix tests - [`b91ea43`](https://github.com/pelican-dev/panel/commit/b91ea430e49667489b0ffa0079a58d887d9b36f3) Merge remote-tracking branch 'upstream/main' into boy132/fix-egg-exports ### 📊 Changes **9 files changed** (+69 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 18:17:26 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#1556