Blueprint changed by Jakub Jankiewicz: Whiteboard changed: Need to list the events here, please help brainstorming on_submit on_error on_upload_success on_upload on_upload_fail on_submit_fail - what else? on_update or on_edit, right? [Brad 18-2-2011] + + #### + from admin panel perspective + + on_table_create - CREATE TABLE + on_table_alter - ALTER TABLE + on_table_insert - when INSERT INTO + on_table_edit - when UPDATE table set (in edit in place) + on_table_delete - DELETE FROM table + on_table_drop - DROP TABLE + + those will be attached to table manipulation so when user upload a file + it will be event on_table_insert with table ocal_files. + + In every event it will be database manipulation so those will be enough. + + if you want to know who edit a form the last + + SELECT username FROM aiki_users, aiki_user_events, aiki_events WHERE + aiki_user.userid = aiki_user_events.userid AND aiki_events.table = + 'aiki_forms' AND aiki_events.id = aiki_user_events.table_id ORDER BY + date DESC LIMIT 1 + + if aiki_user_event will have record_id then there will be more data + extracted from specific table although on on_table_delete and + on_table_drop there will be no such data. + + <jcubic Sat, 08 Oct 2011 18:06:46 +0200>
-- Aiki needs more event handling options. https://blueprints.launchpad.net/aikiframework/+spec/more-events-suggestions _______________________________________________ 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