[PR #5198] [MERGED] Add OpenSearch support #6456

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

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5198
Author: @maximilian-walter
Created: 9/9/2024
Status: Merged
Merged: 9/30/2024
Merged by: @ssddanbrown

Base: developmentHead: feature/opensearch


📝 Commits (6)

  • 476c2be Add XML for OpenSearch
  • c110a97 Remove unofficial method-attribute from OpenSearch-XML
  • 4f890c4 Limit short-name for OpenSearch XML to 16 characters
  • a5b031f Translatable description for OpenSearch XML
  • 1302e3c Add missing XML declaration to OpenSearch endpoint
  • 2f74cfb Add test for OpenSearch endpoint

📊 Changes

6 files changed (+71 additions, -0 deletions)

View changed files

📝 app/App/MetaController.php (+10 -0)
📝 lang/en/common.php (+3 -0)
📝 resources/views/layouts/base.blade.php (+3 -0)
resources/views/misc/opensearch.blade.php (+12 -0)
📝 routes/web.php (+1 -0)
tests/OpensearchTest.php (+42 -0)

📄 Description

Add XML-file and HTML meta-tag so browsers can autodiscover the search of BookStack instances. See:

https://developer.mozilla.org/en-US/docs/Web/OpenSearch

Closes BookStackApp/BookStack#5122


🔄 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/5198 **Author:** [@maximilian-walter](https://github.com/maximilian-walter) **Created:** 9/9/2024 **Status:** ✅ Merged **Merged:** 9/30/2024 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `development` ← **Head:** `feature/opensearch` --- ### 📝 Commits (6) - [`476c2be`](https://github.com/BookStackApp/BookStack/commit/476c2be5a62579d755157a27de67d217bea23593) Add XML for OpenSearch - [`c110a97`](https://github.com/BookStackApp/BookStack/commit/c110a97d8a871b3f2e56af728c4460096399cbf3) Remove unofficial method-attribute from OpenSearch-XML - [`4f890c4`](https://github.com/BookStackApp/BookStack/commit/4f890c431c6fb5f83e047eebcea7f078cb1c9d5c) Limit short-name for OpenSearch XML to 16 characters - [`a5b031f`](https://github.com/BookStackApp/BookStack/commit/a5b031f9060141364ed9152eacdb9b494cfa76a7) Translatable description for OpenSearch XML - [`1302e3c`](https://github.com/BookStackApp/BookStack/commit/1302e3c959158be0e5a2a3b34343f9cd828544a3) Add missing XML declaration to OpenSearch endpoint - [`2f74cfb`](https://github.com/BookStackApp/BookStack/commit/2f74cfb42c90785f9f1735319af28727cdec407a) Add test for OpenSearch endpoint ### 📊 Changes **6 files changed** (+71 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `app/App/MetaController.php` (+10 -0) 📝 `lang/en/common.php` (+3 -0) 📝 `resources/views/layouts/base.blade.php` (+3 -0) ➕ `resources/views/misc/opensearch.blade.php` (+12 -0) 📝 `routes/web.php` (+1 -0) ➕ `tests/OpensearchTest.php` (+42 -0) </details> ### 📄 Description Add XML-file and HTML meta-tag so browsers can autodiscover the search of BookStack instances. See: https://developer.mozilla.org/en-US/docs/Web/OpenSearch Closes BookStackApp/BookStack#5122 --- <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:32:46 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6456