first post here and sorry, if this topic was solved already somewhere, but I took a whole day research and could not find a lot. So here is my issue:
I need the functionality to see last modified pages not only by time but also WHO did it. Each user has their own account in the admin panel, but it seems it does not get logged anywhere, which user did the latest changes on pages, at least I could not find anything so far.
The only hint was to install the “revisions” plugin, but that does not seem to work really, at least, when I change a page, no revision gets created.
There is also a beta plugin called “History” but that is still work in progress and not published yet.
I checked out this plugin (I hadn’t used it before), and it seems there’s a bug involving permission checking for a directory that doesn’t exist yet. I made a modification in usr/Revisions.php:
public function writable()
{
if (!file_exists($this->path)) {
return mkdir($this->path, 0770, true);
}
return is_writable($this->path);
}
Now the directories and files are created inside user/pages/yourpage/.revs.
In these .md files, there’s no information about the author, but it should be possible to implement that.
A possible solution could be using the Git Sync plugin to integrate Grav with Git. This plugin allows automatic synchronization of page changes with a Git repository, which can provide a detailed history of edits, including author information.