File activity
FileRun keeps a log of what is done to each file and folder: who uploaded, downloaded, previewed,
renamed, moved, tagged or commented on it, and when. This page describes the Activity tab, the
full log of an item, who can read the log, and the settings that turn it off or keep it short.
This log is kept by item. The activity log of the control panel, under Users → Activity logs,
is kept by user. It is a different log.
The Activity tab
The Activity tab is in the details panel, on the right side of the file manager, next to the
tabs Details and Comments. When the details panel is hidden, click the button with the tooltip
View details on the toolbar, or right-click an item and choose Information → View details.
The file viewer has the same panel, with its own View details button.
What the tab lists depends on the selection:
- With one file selected, the tab lists the entries of that file.
- With one folder selected, the tab lists the entries of the folder, and the entries of everything inside it, in its subfolders too.
- With nothing selected, the tab lists the entries of the folder that you are in, in the same way.
- With more than one item selected, the tab is not shown.
The newest entries are at the top. The tab loads 30 entries at a time, and loads more when you scroll down. A list without entries shows "There are no activity records".
The entries
Each entry shows:
- The picture of the user who did the action. Point at the picture to see the name of the user.
- The action, such as
File uploaded,File renamedorFile comment added. The actions are the ones listed in Activity log actions, in the language of the interface. - How long ago the action happened. Point at it to see the date and the time.
- The name of the item.
- Details, for some actions:
- the text of a comment that was added, and the text of a removed comment, struck through
- a tag that was added, a tag that was removed, struck through, and a changed tag, as the old tag → the new tag
- the new name of a renamed item
- where an item was moved or copied to
- the expected size of a file whose upload started
- the new colour of a folder, on the icon of the folder
Actions that failed are listed too, such as Failed to rename file.
In the list of a folder, the name of the item is a button. Click it to open the folder that holds the item, with the item highlighted. The name of an item that no longer exists, or that is in the trash, is greyed out, and it is not a button.
New entries
When you open a folder, the Activity tab can show a number. It counts the entries of the folder
that other users wrote since your visit before the current session: the last time that you opened
FileRun in the browser before you signed in. A reload of the page keeps counting from the same
time. The number is shown while nothing is selected, and it goes away when the tab loads its list.
In the list, these entries have a lightning icon next to their time.
Which entries a folder lists
An entry stays with the path that the item had when the action happened:
- A file keeps its entries when it is renamed or moved.
- An item that is moved out of a folder leaves its earlier entries in the list of that folder.
- After a folder is renamed or moved, its list no longer shows what happened inside it before. The entries of the folder itself stay with the folder.
The full log of one item
Administrators can open the complete log of an item, as a table:
- Right-click the file or the folder, and choose
Information→Control panel. The file control panel opens in a new browser tab. - Click
Activity log, in the menu on the left.
The table has these columns: the picture of the user, User, Date, Action and Details.
Details holds what was recorded with the action, such as the location of the item, the size of
the file, and under Target the place that the item was moved to, or the copy that was made of it. The table shows 30 entries per page, with the buttons
that change the page at the bottom. A table without entries shows
"No activity records found for this file.".
The table lists the entries of every user and every action, as the Activity tab does for an
administrator, and, for a folder, the entries of everything inside it. It also lists the entries of
an earlier item at the same path, such as a file that was deleted and then uploaded again with the
same name.
Clear log, at the bottom of the table, deletes the entries of the item, and, for a folder, the
entries of everything inside it. FileRun asks "Are you sure you want to clear the file's activity
log?" first. The deleted entries cannot be restored.
The command Control panel is offered to the superuser and to the regular administrators, not to
the independent administrators. See Administrator permissions. The
account of the administrator also needs the permission User can access the files' activity logs.
Who can see the log
The Activity tab is shown when all of these are true:
- The setting
File-centric user activity logsis on. See Turning it off and keeping it short. - Your account has the permission
User can access the files' activity logs, and the permissionUser can view and download files. New accounts and roles do not have the first permission. See The activity logs of files. - For an item that another user shared with you, the account of the owner has the same permission,
and the role of the share is
Contributor,Content managerorManager. See Sharing files and folders.
Guest accounts cannot have this permission, so they never see the tab. See Guest accounts.
The tab shows your own actions and the actions of the users that you can interact with. See Can interact with. An administrator sees the actions of every user.
The same permission gives you the Recent section, in the panel on the left. It lists the files
that you downloaded or previewed in the last 14 days. It is read from the same log, so it goes back
no further than the log keeps its entries, and it is not shown while the setting
File-centric user activity logs is off. See The file manager.
What is left out
When you are not an administrator, the tab leaves out these entries:
Star addedandStar removedFolder copied,File added to archiveandFolder added to archiveWeb link modifiedFile deleted from trashandFolder deleted from trash- the entries about comments, when your account does not have
User can read comments - the entries about tags, ratings, metadata and folder colours, when your account does not have
User can access tags, ratings and other metadata
Items shared with you
For a file or a folder that another user shared with you:
- The share must give you the role
ContributororContent manager. With another role, the tab is shown, but FileRun shows "The permission settings of this share do not allow access to the activity logs!" instead of the entries. - The account of the owner of the item must also have
User can access the files' activity logs. - You see only the entries written after the item was shared with you, unless you are an administrator.
See Sharing files and folders.
Shared drives
In a shared drive, you need the role Contributor, Content manager or Manager. The tab shows
the actions of every member, whatever Can interact with holds, and, unless you are an
administrator, only the entries written after you became a member. See
The activity of a drive.
Web links
The log cannot be read through a web link. The people who open a web link do not see the history of the shared items.
Turning it off and keeping it short
Two settings control the log. They are under Files → Settings → General in the control panel,
which only the superuser can open. See
File settings.
File-centric user activity logsturns the log on. It is off in a new installation. While it is off, FileRun writes no entries, and nobody sees theActivitytab, the full log of an item or theRecentsection. The help of the setting suggests turning it off when you need maximum performance and no history for each file.Number of days to keep the file activity log entriesdecides how long the entries are kept. The default is 7. The daily scheduled task deletes the older entries, so theActivitytab goes back only as far as this number of days.0keeps the entries forever. The field is disabled whileFile-centric user activity logsis off.
Turning the log off does not delete its entries. They are shown again when the log is turned back on. The daily task keeps deleting the entries that are older than the number of days, also while the log is off.
The scheduled tasks run only when the cron commands run on the server. See
Data retention and
Command line tools.