[PR #2360] [MERGED] Tracked activity update #5988

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

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2360
Author: @ssddanbrown
Created: 11/8/2020
Status: Merged
Merged: 11/21/2020
Merged by: @ssddanbrown

Base: masterHead: activity_revamp


📝 Commits (7)

  • c157dc3 Organised activity types and moved most to repos
  • ee7e112 Removed use of book_id in activity
  • 712ccd2 Updated activities table format
  • 3f7180f Started widening of activity logging
  • da37700 Implemented user, api_tokem & role activity logging
  • bd6a1a6 Implemented remainder of activity types
  • c0680d5 Added latest activity into users list view

📊 Changes

56 files changed (+510 additions, -256 deletions)

View changed files

📝 app/Actions/Activity.php (+19 -10)
📝 app/Actions/ActivityService.php (+45 -35)
app/Actions/ActivityType.php (+51 -0)
📝 app/Actions/CommentRepo.php (+2 -0)
📝 app/Api/ApiToken.php (+20 -1)
📝 app/Auth/Access/RegistrationService.php (+4 -0)
📝 app/Auth/Access/Saml2Service.php (+3 -0)
📝 app/Auth/Access/SocialAuthService.php (+3 -0)
📝 app/Auth/Permissions/PermissionsRepo.php (+6 -2)
📝 app/Auth/Role.php (+10 -1)
📝 app/Auth/SocialAccount.php (+16 -1)
📝 app/Auth/User.php (+20 -1)
📝 app/Auth/UserRepo.php (+12 -5)
📝 app/Entities/BookChild.php (+0 -3)
📝 app/Entities/Deletion.php (+7 -1)
📝 app/Entities/Repos/BaseRepo.php (+3 -5)
📝 app/Entities/Repos/BookRepo.php (+6 -0)
📝 app/Entities/Repos/BookshelfRepo.php (+6 -1)
📝 app/Entities/Repos/ChapterRepo.php (+8 -0)
📝 app/Entities/Repos/PageRepo.php (+12 -3)

...and 36 more files

📄 Description

PR to track changes to the current activity system. The idea of this is to firm-up how activity is tracked and open up the system for more activity types including non-entity events such as logins and setting updates.


🔄 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/2360 **Author:** [@ssddanbrown](https://github.com/ssddanbrown) **Created:** 11/8/2020 **Status:** ✅ Merged **Merged:** 11/21/2020 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `master` ← **Head:** `activity_revamp` --- ### 📝 Commits (7) - [`c157dc3`](https://github.com/BookStackApp/BookStack/commit/c157dc3490c39aa236e22714019a649ebeb11f13) Organised activity types and moved most to repos - [`ee7e112`](https://github.com/BookStackApp/BookStack/commit/ee7e1122d325b1807f993e4f0cacc40fbbc806fb) Removed use of book_id in activity - [`712ccd2`](https://github.com/BookStackApp/BookStack/commit/712ccd23c4738e6a59a10f31ff654743fbc61879) Updated activities table format - [`3f7180f`](https://github.com/BookStackApp/BookStack/commit/3f7180fa99cbca96f83fcc8d95b3be08adfbb65f) Started widening of activity logging - [`da37700`](https://github.com/BookStackApp/BookStack/commit/da37700ac23b0a3789c7da1ed3517d1900d5894d) Implemented user, api_tokem & role activity logging - [`bd6a1a6`](https://github.com/BookStackApp/BookStack/commit/bd6a1a66d14151ce50505a338a45a2c3be260bcf) Implemented remainder of activity types - [`c0680d5`](https://github.com/BookStackApp/BookStack/commit/c0680d5717a202d0f1ef55bc7e6a428220f94443) Added latest activity into users list view ### 📊 Changes **56 files changed** (+510 additions, -256 deletions) <details> <summary>View changed files</summary> 📝 `app/Actions/Activity.php` (+19 -10) 📝 `app/Actions/ActivityService.php` (+45 -35) ➕ `app/Actions/ActivityType.php` (+51 -0) 📝 `app/Actions/CommentRepo.php` (+2 -0) 📝 `app/Api/ApiToken.php` (+20 -1) 📝 `app/Auth/Access/RegistrationService.php` (+4 -0) 📝 `app/Auth/Access/Saml2Service.php` (+3 -0) 📝 `app/Auth/Access/SocialAuthService.php` (+3 -0) 📝 `app/Auth/Permissions/PermissionsRepo.php` (+6 -2) 📝 `app/Auth/Role.php` (+10 -1) 📝 `app/Auth/SocialAccount.php` (+16 -1) 📝 `app/Auth/User.php` (+20 -1) 📝 `app/Auth/UserRepo.php` (+12 -5) 📝 `app/Entities/BookChild.php` (+0 -3) 📝 `app/Entities/Deletion.php` (+7 -1) 📝 `app/Entities/Repos/BaseRepo.php` (+3 -5) 📝 `app/Entities/Repos/BookRepo.php` (+6 -0) 📝 `app/Entities/Repos/BookshelfRepo.php` (+6 -1) 📝 `app/Entities/Repos/ChapterRepo.php` (+8 -0) 📝 `app/Entities/Repos/PageRepo.php` (+12 -3) _...and 36 more files_ </details> ### 📄 Description PR to track changes to the current activity system. The idea of this is to firm-up how activity is tracked and open up the system for more activity types including non-entity events such as logins and setting updates. --- <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:21:56 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5988