[PR #2859] [CLOSED] Feature - Version check on Settings page #6077

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

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2859
Author: @siegerhansma
Created: 7/28/2021
Status: Closed

Base: masterHead: old_version_notification


📝 Commits (3)

  • b357b3c Added version check using the github API and showing text on settings page
  • 71e9a78 Revert version
  • 4b604cb Fixes

📊 Changes

4 files changed (+50 additions, -1283 deletions)

View changed files

📝 app/Http/Controllers/SettingController.php (+46 -2)
📝 app/Uploads/HttpFetcher.php (+1 -0)
📝 package-lock.json (+2 -1280)
📝 resources/views/settings/navbar-with-version.blade.php (+1 -1)

📄 Description

I took a first stab at this feature in issue https://github.com/BookStackApp/BookStack/issues/2809. It uses the Github API to check the latest release tag for this repository and uses version_compare to do a comparison. I only tested it with valid release versions (so no -dev).

@ssddanbrown

  • I added a new translation, what would be the correct way to add this to the repo?
  • Do you think this fits well with the rest of the application design wise?
Screenshot 2021-07-28 at 21 41 23

Please let me know if there is anything unclear or missing. Thanks!


🔄 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/2859 **Author:** [@siegerhansma](https://github.com/siegerhansma) **Created:** 7/28/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `old_version_notification` --- ### 📝 Commits (3) - [`b357b3c`](https://github.com/BookStackApp/BookStack/commit/b357b3cf1c3b03e65b2074a4277d51bdccc1aa12) Added version check using the github API and showing text on settings page - [`71e9a78`](https://github.com/BookStackApp/BookStack/commit/71e9a788e3b797f680abda5b6b6b43ca1700d54b) Revert version - [`4b604cb`](https://github.com/BookStackApp/BookStack/commit/4b604cb4a9363f775e77cd01192d4fd501e54fca) Fixes ### 📊 Changes **4 files changed** (+50 additions, -1283 deletions) <details> <summary>View changed files</summary> 📝 `app/Http/Controllers/SettingController.php` (+46 -2) 📝 `app/Uploads/HttpFetcher.php` (+1 -0) 📝 `package-lock.json` (+2 -1280) 📝 `resources/views/settings/navbar-with-version.blade.php` (+1 -1) </details> ### 📄 Description I took a first stab at this feature in issue https://github.com/BookStackApp/BookStack/issues/2809. It uses the Github API to check the latest release tag for this repository and uses version_compare to do a comparison. I only tested it with valid release versions (so no -dev). @ssddanbrown * I added a new translation, what would be the correct way to add this to the repo? * Do you think this fits well with the rest of the application design wise? <img width="869" alt="Screenshot 2021-07-28 at 21 41 23" src="https://user-images.githubusercontent.com/3443339/127386035-fdf18efb-081a-4b54-8033-1594488426a2.png"> Please let me know if there is anything unclear or missing. Thanks! --- <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:24:02 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6077