[PR #5840] [CLOSED] Codex/restrict attachments to pdf only 6sy5xk #6581

Closed
opened 2026-02-05 10:36:00 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5840
Author: @b00skit
Created: 10/17/2025
Status: Closed

Base: developmentHead: codex/restrict-attachments-to-pdf-only-6sy5xk


📝 Commits (3)

  • fdb72ff Add attachment preview insertion
  • ff73034 Add attachment preview UI and restrict embeds to PDFs
  • 54d0acd this'll do

📊 Changes

14 files changed (+786 additions, -24 deletions)

View changed files

📝 app/Uploads/Attachment.php (+24 -0)
📝 lang/en/common.php (+1 -0)
📝 lang/en/entities.php (+1 -0)
📝 lang/en/errors.php (+2 -0)
📝 package-lock.json (+315 -5)
📝 package.json (+3 -1)
📝 resources/js/components/attachments-list.js (+22 -0)
📝 resources/js/components/attachments.js (+27 -6)
📝 resources/js/components/page-display.js (+195 -5)
📝 resources/sass/_content.scss (+74 -0)
📝 resources/views/attachments/list.blade.php (+15 -0)
📝 resources/views/attachments/manager-list.blade.php (+10 -0)
📝 resources/views/pages/parts/page-display.blade.php (+25 -7)
📝 tests/Uploads/AttachmentTest.php (+72 -0)

📄 Description

No description provided


🔄 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/BookStackApp/BookStack/pull/5840 **Author:** [@b00skit](https://github.com/b00skit) **Created:** 10/17/2025 **Status:** ❌ Closed **Base:** `development` ← **Head:** `codex/restrict-attachments-to-pdf-only-6sy5xk` --- ### 📝 Commits (3) - [`fdb72ff`](https://github.com/BookStackApp/BookStack/commit/fdb72ff3e91e291d8575c453ad81a9abc1eb31cc) Add attachment preview insertion - [`ff73034`](https://github.com/BookStackApp/BookStack/commit/ff730346466da8f82cca6b9895f37ee6508656d7) Add attachment preview UI and restrict embeds to PDFs - [`54d0acd`](https://github.com/BookStackApp/BookStack/commit/54d0acd5cd6225980d37efbc6d3b76febf9619a2) this'll do ### 📊 Changes **14 files changed** (+786 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `app/Uploads/Attachment.php` (+24 -0) 📝 `lang/en/common.php` (+1 -0) 📝 `lang/en/entities.php` (+1 -0) 📝 `lang/en/errors.php` (+2 -0) 📝 `package-lock.json` (+315 -5) 📝 `package.json` (+3 -1) 📝 `resources/js/components/attachments-list.js` (+22 -0) 📝 `resources/js/components/attachments.js` (+27 -6) 📝 `resources/js/components/page-display.js` (+195 -5) 📝 `resources/sass/_content.scss` (+74 -0) 📝 `resources/views/attachments/list.blade.php` (+15 -0) 📝 `resources/views/attachments/manager-list.blade.php` (+10 -0) 📝 `resources/views/pages/parts/page-display.blade.php` (+25 -7) 📝 `tests/Uploads/AttachmentTest.php` (+72 -0) </details> ### 📄 Description _No description provided_ --- <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 10:36:00 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6581