Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implemented audit log prototype * Added migration step * process form after changes in header table * No remote_address for migration * Added object action and improved migration step * Removed autosave for header table values * Fetch the metadata from the request form * Fix missing request in tests * Fix tests * Fixed wrong syntax * PEP8 * Upgrade step improved * Added event handler for WF transition events * Remvoed "time" column * Keep the timestamp in the data * Convert to ISO timetamp * Convert time to ISO format * Improved progress logging * Moved import to top * Added images * Added auditlog catalog and indexes * Added Audit Log Control Panel * Updated Audit Log View * Added toolset for auditlog catalog * Removed old log tabs * bind auditlog to senaite_one_state_workflow * RAM cache snapshot data in subscriber * Updated migration step * Reindex the Audit Log Controlpanel * Handle unicode values correctly * added missing import * Show new auditlog in service popup * Check permission to view the logs in service popup * Use widget label istead of fieldnames * Added index for the last actor * More auditlog indexes * Fixed missing parameter for function call * Updated changelog * Remove log action in upgrade step * Skip progress logging for first batch * Don't index when the parent object is in the creation process * Fixed missing parameter * Added missing parameters * Added missing index registration * Notify modification when resultsinterpretation has changed * Notify modification when the remarks have changed * Log warning when the size of the snapshot has grown too large * Also listen on zope.lifecycleevent.IObjectModifiedEvent * Used processForm to notify modification event handlers * Handle deleted UIDs * call processForm in aranalyses field * Do not processForm when analyses changed * Removed processForm call in remarks/resultsinterpretation * changed limit * Skip obsolete objects in migration step * Notify ObjectModifiedEvent directly * Reindex object after setting a field to update catalog metadata * Don't show the select checkboxes for the global auditog * compare values after processing * Revert the size check * Skip audit log catalog indexing during object creation * Skip AR Reports * Don't process 0 as the portal UID * Rename metadata key to __metadata__ * Improved cache key for snapshot lookup * Better diff colors * Improved snapshot caching * Fixed API call * Preprocess snapshot for text index * Improved caching for snapshot lookups * Setup catalog types explicitly * Properly reindex objects in setuphandler * Added path index * Refactored setuphandlers * Setup auditlog catalog in setuphandler * use setuphandler function to setup the uditlog catalog * Added setuphandler for the auditlog catalog * setup auditlog catalog * Attach the auditcatalog to all known types * Avoid Attribute Error when trying to softClearFindAndRebuild portal_catalog * Attach auditlog catalog to all known portal types * Changed order of setup steps * Added TextIndexNG3 to test setup * Snapshot API + Tests * Refactored auditlog view to use the snapshot API * Refactored subscriber to use the snapshot API * Refactored upgrade step to use Snapshot API * Refactored indexers to use the Snapshot API * Minor change * Refactored global auditlog listing to use Snapshot API * Fixed fuzzy test in Listing * Fixed fuzzy tests in API * Fixed catalog mappings * Removed old log view * Renamed templates * Fixed view/edit views for Attachments These views appear when accessing the audit log * Fixed doctest variables * Removed log view dependency from test * Renamed images to match content type * Use @@auditlog in the action URL * Added fullname index * Removed comment column and added Fullname and Roles columns * Comments only * Fix auditlog view for the setup item * Added Auditlog Action * Improved fulltext index values * Sort dictionary items for diff * Prefix @@ to the auditlog link * Improved Diff view * Fixed snapshot doctest * Fixed sort order in global audit log * Reindex the object *after* snapshot creation * No reindex during object initialization * Query title from brain instead of waking up the object * Improved UID->title lookup in auditlog catalog * Rely on the object data to get the title or id * Cache UID-Title internally * Pinned Products.AdvancedQuery < 4.0
- Loading branch information