[PR #1816] [CLOSED] Add BookRevision #5898

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

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/1816
Author: @FrodeMMeling
Created: 12/11/2019
Status: Closed

Base: masterHead: feature/add_book_revision


📝 Commits (1)

📊 Changes

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

View changed files

app/Entities/BookRevision.php (+60 -0)
app/Entities/BookRevisionHasPageRevision.php (+10 -0)
app/Entities/GroupedLastScope.php (+29 -0)
📝 app/Entities/Page.php (+5 -0)
📝 app/Entities/PageRevision.php (+7 -0)
database/migrations/2019_12_11_100046_create_book_revisions_table.php (+55 -0)

📄 Description

This is still WIP

Just wondering if this is something you would consider merging?
This will make it possible to create Book revisions, not only Page revisions.

Todo:

  • Add Chapters also to Book revision
  • What to do if no Pagerevision exist. Force create ?
  • Add basic GUI
  • Add testing

Future features:

  • Diff comparisons between BookRevisions
  • Guest users to request changes on Book level (group of pages changed). Like a pull request on git.
    ...

🔄 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/1816 **Author:** [@FrodeMMeling](https://github.com/FrodeMMeling) **Created:** 12/11/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/add_book_revision` --- ### 📝 Commits (1) - [`34808d3`](https://github.com/BookStackApp/BookStack/commit/34808d324b3425e10ec25a03b43205c0da838dc7) Add BookRevision ### 📊 Changes **6 files changed** (+166 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `app/Entities/BookRevision.php` (+60 -0) ➕ `app/Entities/BookRevisionHasPageRevision.php` (+10 -0) ➕ `app/Entities/GroupedLastScope.php` (+29 -0) 📝 `app/Entities/Page.php` (+5 -0) 📝 `app/Entities/PageRevision.php` (+7 -0) ➕ `database/migrations/2019_12_11_100046_create_book_revisions_table.php` (+55 -0) </details> ### 📄 Description This is still WIP Just wondering if this is something you would consider merging? This will make it possible to create Book revisions, not only Page revisions. Todo: - [ ] Add Chapters also to Book revision - [ ] What to do if no Pagerevision exist. Force create ? - [ ] Add basic GUI - [ ] Add testing Future features: - Diff comparisons between BookRevisions - Guest users to request changes on Book level (group of pages changed). Like a pull request on git. ... --- <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:19:53 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5898