|
|
|
<emit source="sb-log"></emit>
Provided by module: CMS: Tags
This plugin
returns information about the commits made on a path.
To better manage errors, use this plugin together with <sb-error>.
Note!
|
All <emit> attributes apply.
|
Attributes
- path="absolute or relative path to a file or a directory"
-
List information for this file or directory. If this attribute is omitted,
the current file will be used.
- follow
-
If this flag is present then the history of the file or directory
is followed across moves and renames.
This only works as long as the file/directory has had a unique
identifier (UUID) assigned, i.e. in commits made with CMS 5.0 and later.
It also requires that all possible paths have been indexed by the
indexer in the Site News module, and that the module's "Reindex metadata
limit" setting is sufficiently high to include all relevant versions.
Also note that if the path points to an item that was deleted due to a
move operation, that item was given a new UUID when the deletion took place
(the earlier UUID is assigned to the moved item). In such circumstances you
won't be able to find any earlier versions.
-
&_.action; (provided by CMS: Tags)
Lists the actions that has been performed on the file. Available
actions are:
Action | Info |
create
|
When a file or directory has been created.
|
edit
|
When a file has been edited.
|
copy
|
When a file has been copied.
|
move
|
When a file has been moved or renamed.
|
delete
|
When a file has been deleted.
|
undelete
|
When a file has been undeleted.
|
-
&_.date; (provided by CMS: Tags)
The time when the action was performed, formatted on ISO format
(YYYY-MM-DD HH:MM:SS).
-
&_.deleted; (provided by CMS: Tags)
Integer that is 1 if the file was deleted after the action.
-
&_.fullname; (provided by CMS: Tags)
Returns the user's full name, e.g. John Doe. The file has been edited
by this user.
-
&_.message; (provided by CMS: Tags)
Returns the message entered by the user when he/she commited the file
to the version system (CVS).
-
&_.path; (provided by CMS: Tags)
The path the file had at the time. This can vary only if the 'follow'
attribute is given.
-
&_.publish; (provided by CMS: Tags)
The time when the file was first visible externally, as a Unix
timestamp integer.
-
&_.revision; (provided by CMS: Tags)
Returns the file's version/revision information.
-
&_.timestamp; (provided by CMS: Tags)
The time when the action was performed, as a Unix timestamp integer.
-
&_.user; (provided by CMS: Tags)
Returns the user's handle/loginname, e.g. John. The file has been
edited by this user.
-
&_.userid; (provided by CMS: Tags)
Returns the user's unique identification number. The file has been
edited by this user.
-
&_.uuid; (provided by CMS: Tags)
The unique identifier the file had at the time. This can vary if the
'follow' attribute isn't given and different files have been moved
to/from this path. It is unset if the action was performed in a
version of Roxen CMS prior to 5.0, or if the Site News indexer has
been configured to skip metadata extraction of earlier versions.
|
|