Feature Wiki
Tabs
Data Collection : Change Log for Data Collection Records
Page Overview
[Hide]- 1 Summary
- 2 Problem Statement
- 3 Concept
- 4 User Interface Modifications
- 5 Non-Functional Implications
- 5.1 Security
- 5.2 Privacy
- 5.3 Accessibility Implications
- 6 Process Information
- 6.1 Involved Authorities
- 6.2 Contact
- 6.3 Funding
- 7 Discussion
- 8 Implementation
- 8.1 Description and Screenshots
- 8.2 Test Cases
- 8.3 Privacy
- 8.4 Approval
1 Summary
Making changes identifiable and comprehensible.
In a great variety of situations, it may be helpful, useful or essential to be able to identify when, by whom and what changes were made to the Data Collection records.
This may concern large datasets, or datasets where many different people create or edit entries, or simply in the case of especially relevant information.
2 Problem Statement
There is a recurring need to be able to identifiy when, by whom and what changes were made to the Data Collection records.
The objectives are ‘overview’, ‘transparency’ and ‘traceability’.
For this purpose, a 'Change Log' (German: 'Logbuch' or 'Protokoll') is to be implemented.
3 Concept
'Change Log' Tab
Provision of a 'Change Log' tab.
We store following informations in a UI Data Table with following options.
Headline: 'Change Log for Data Collection Records'
Columns / Content
- Date and time
- dd.mm.yyyy hh:mm
- Unique ID
- {Unique ID} [Linked Value | Preview of all editable form elements in there order.]
- Context
- Table: '{Table title}' [If Data Collection contains more than one table (Use Cases < 5%), this column is shown. Otherwise, it is hidden.]
- Activity:
- New Record
- Full Content
- Deleted Record
- Full Content
- Changed Record
- Field '{Field Title}' is changed from the value '{Field value}' to the value '{Field value}'
- Field '{Field Title}' is changed from the value '{Field value}' to the value '{Field value}'
- Field '{Field Title}' is changed from the value '{Field value}' to the value '{Field value}'
- [All for changes from 1 … n in one table row per save of record.]
- Field(s)
- Field '{Field Title}' is created
- Field '{Field Title}' is renamed to '{New Field Title}'
- Field '{Field Title}' is deleted
- Table(s)
- Table '{Table Title}' is created
- Table '{Table Title}' is renamed to '{New Table Title}'
- Table '{Table Title}' is deleted
- [There are no details about inner table content stored.]
- New Record
- Change made by:
- {Full name, Username} [linked if available by public profile]
- Actions / Link
- Action “Show Record Data” [Preview of all editable form elements in there order]
- Action “Edit Record” [Opens the form for editing the record]
No Sortation by Column. Sortation is possible in some fixed states:
- by Date descending
- by Unique ID and then Date descending
- by Change made by and then Date descending
Filters:
- Date and Time by Duration Filter
- Unique ID by Numeric FIlter
- Context by Selection [but only if column is shown]
- Activity by Text
- Change made by Selection
There is no Column Selector.
Some side notes:
Why do we operate with the ‘Unique ID’?
One problem with the Data Collection is that none of the Records have a title. There is no primary identifier. Nothing like an object title or a question title or anything else.
The author of a dataset defines its contents, and in doing so does not specify that one field is the key identifier.
This isn’t ideal for some purposes, but it is, in fact, correct. The 'Unique ID' exists as the one and only unique identifier.Limitations of the Change Log
- For media objects, for example, only modified files – in the sense of the file names before and after the change – can be documented.
- For file uploads, for example, only modified files – in the sense of the file names before and after the change – can be documented.
- Changes to fields whose modification is triggered by a reference are not logged. (Changes to the value in the reference itself are, of course, logged.)
- Changes to rating values are not logged.
- Changes to the results in fields of the ‘Formula’ type are not logged. (Changes to the formula itself are, of course, logged.)
- Changes to properties repository objects, such as title changes or learning progress are not logged. (Changes to the selected magazine object itself are, of course, logged.)
- Changes to plugin-field-type-fields are not always logged. This depends on the nature of the data and whether it can be logged.
General limitations:
- We do not log changes to data collection settings.
- We do not log changes to table settings.
- We do not log changes to field settings.
- We do not log changes to view settings.
Range of the Change Log
To prevent the log from growing uncontrollably, we limit it to a maximum of 1,000 entries.
We do not wish to introduce a cron job that might then remain unexecuted. Once the number of entries exceeds 1,000, the deletion of the oldest entries is triggered. An information message is also displayed to inform users of this fact.
Change Log Permissions:
In principle, access to the ChangeLog is bound to the ‘Edit settings’ permission.
Otherwise, chaos is guaranteed, as individual users (or rather ‘roles’) are not supposed to see certain tables or views at all. It would then be necessary to specify once again, for the display of the ChangeLog, who is actually permitted to view which information. Furthermore, gaps in the ChangeLog resulting from this approach would corrupt the ChangeLog itself by interrupting the continuity of change history.
4 User Interface Modifications
4.1 List of Affected Views
- 'Settings' tab gets a new setting to enable the change log service. The default is off.
- If you enable this function, a sub-setting will be available to limit the number of entries in the log. The default value is 1.000. The maximum value that can be set is 10.000.
(For further information, see Technical Aspects.)
(Log Entries : [1.000] | Byline: Default value: 1.000. A maximum of 10.000 entries is supported for the entire Data Collection. Please consider that high values may affect performance.)
- If you enable this function, a sub-setting will be available to limit the number of entries in the log. The default value is 1.000. The maximum value that can be set is 10.000.
- New tab 'Change Log' in Data Collection
4.2 User Interface Details
- Tab 'Settings'
- new form input with checkbox to activate and deactivate
- Tab 'Change Log'
UI Data TablewithFiltersandInput View Controls(See above for the definition.)Promptswith minimised view of content of DataCollection record. UsingDescriptive Listingfor Field Title and Field Value
MockUp of Prompt
4.3 New User Interface Concepts
None.
4.4 Technical Aspects
The maximum value can be changed within the settingstable of the database, but not via the UI.
The drastical increase of the maximum may have serious implication on the server performance (similar to log level "DEBUG").
When the limit is reached, the oldest entry will be overwritten. This way, no deletion mechanism is needed.
5 Non-Functional Implications
5.1 Security
None.
5.2 Privacy
Information about the changes is also stored with regard to the user who made them. This ensures that it is clear who made which change and when.
5.3 Accessibility Implications
None.
6 Process Information
6.1 Involved Authorities
- Authority to Sign off on Conceptual Changes: Samoila, Oliver [oliver.samoila]
- Authority to Sign off Code Changes: Szmais, Ingmar [iszmais]
If this request is related to multiple components, please list both authorities for all related components.
6.2 Contact
- Person to be contacted in case of questions about the feature or for funding offers: Samoila, Oliver [oliver.samoila]
6.3 Funding
Funding status and funding parties are listed in the block 'Status of Feature' in the right column of this page.
If you are interested to give funding for this feature, please get into contact with the person mentioned above as 'Contact'.
7 Discussion
Schmid, Fabian [fschmid] 2026-11-16:
I strongly recommend that no further change log be built into a component; some other components have already implemented this, and that is a strong indication of a lack of infrastructure. I am currently in the process of planning a general change log component, which can then be used very easily by other components.
Key features of such a component:
- Recording out of the box: adapters for core events record from installation on, with no core changes. They cover objects, the repository tree, roles, memberships, subscriptions and waiting lists, accounts and organisational units. Login/logout and learning progress exist too but are off by default because of their volume.
- Recording from other components: either through a small API (namespace, action, subject, before/after changes, sensitive fields stored as "changed" only) or, without any dependency, by raising an event. Components can also contribute their own sources and event adapters.
- Privacy: persons are stored as keys and pseudonymised when their account is deleted, while their entries stay. IP addresses are off by default.
- Administration: a filterable log with detail view and Excel/CSV export, an audit trail per object (including deleted ones), statistics, switches per adapter, an integrity page and settings.
- Reuse in other components: the per-object trail can be embedded as a "History" view, and with the AI component installed it is offered as an activity to agents and MCP clients.
- Cron jobs: one daily job enforces the retention period (365 days by default) and writes a signed checkpoint before deleting; another verifies the chain.
- Integration: Resuable Screens for components to show logs for a namespace.
JourFixe, ILIAS [jourfixe], 16 NOV 2026: We highly appreciate this suggestion and accept it for trunk. But we would like to follow Fabian’s recommendation to implement a proper log component and to realise the log creation and handling by this component instead of implementing a log function for the data collection only. Fabian has already worked on a prototype for such a log component and might offer a first implementation until Xmas.
8 Implementation
Feature has been implemented by {Please add related profile link of this person}
8.1 Description and Screenshots
{ Description of the final implementation and the changed behaviour in the related components. Please add screenshots to visualise the changes if possible. }
8.2 Test Cases
Test cases completed at {date} by {user}
- {Test case number linked to Testrail} : {test case title}
8.3 Privacy
Information in privacy.md of component: updated at {date} by {user} | no change required
8.4 Approval
Approved at {date} by {user}.
Last edited: 16. Nov 2026, 16:25, Kunkel, Matthias [mkunkel]
