[PR #1149] [MERGED] Fix activity log on rename api endpoint #1209

Closed
opened 2026-02-04 19:26:41 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1149
Author: @Boy132
Created: 3/22/2025
Status: Merged
Merged: 3/22/2025
Merged by: @Boy132

Base: mainHead: boy132/fix-api-rename


📝 Commits (1)

  • 0ae4101 fix activity log on rename api endpoint

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 app/Http/Controllers/Api/Client/Servers/FileController.php (+2 -2)

📄 Description

Closes #1148

$files is a two dimensional array because you can rename/ move multiple files at once.
to and from are only displayed in the activity log if you rename/ move one file so it's fine always using the first item.


🔄 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/1149 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 3/22/2025 **Status:** ✅ Merged **Merged:** 3/22/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/fix-api-rename` --- ### 📝 Commits (1) - [`0ae4101`](https://github.com/pelican-dev/panel/commit/0ae41014c3d6c8d1d90de5370e4558acaf559ecd) fix activity log on rename api endpoint ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `app/Http/Controllers/Api/Client/Servers/FileController.php` (+2 -2) </details> ### 📄 Description Closes #1148 `$files` is a two dimensional array because you can rename/ move multiple files at once. `to` and `from` are only displayed in the activity log if you rename/ move one file so it's fine always using the first item. --- <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-04 19:26:41 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1209