Blueprint changed by Jakub Jankiewicz: Whiteboard changed: ### any progress on this? Jon ### since database tables are exposed now in Database & forms, all changes can be tracked from the reversions table there - bassel ### Ok, so this is a UI issue these are not exposed it sounds like. ### Sounds like the history is in the revisions table. So if we can expose this and have a way to change between versions would be kickass! No idea how this would work right now, and haven't played with what info is recorded. Ideally very fine levels of revision, but especially on the widget level is being recorded so can track admins even what they doing. Bassel before said its a performance hit to have it on, but seems like a major feature to have it on by default. If people want the performance, they can turn it off...better to have changes saved and some limiting capabilities on what is recorded.....than more performance: ### The config option is by default: /** * Enable version control system this will store each change for any sql * UPDATE command in aiki_revisions * @global bool $config["save_revision_history"] */ $config["save_revision_history"] = false; ### Is this should store edits like the user name, date and widget or widget content too? If it should store widget content there will be lots of data in database after a year of editing. Thousand or millions copy of the same widgets. Maybe better idea is to add snapshots so you can froze a version of aiki site. It can be a table aiki_snapshots(id, name, date) ---< aiki_snapshot_content(id, <same fileds as aiki_widgets>, snapshot_id) and the API: - $aiki->snapshot->create(); - $aiki->snapshot->restore(snapshot_id); - $aiki->snapshot->list(); + int $aiki->snapshot->create(); + bool $aiki->snapshot->delete(snapshot_id); + bool $aiki->snapshot->restore(snapshot_id); + [{id, name, date}, ...] $aiki->snapshot->list();
-- Make Aiki Edits Visible as History and/or RecentChanges https://blueprints.launchpad.net/aikiframework/+spec/make-log-history-recentchanges-visible _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp