Add concept of thread editing
Threads can be edited by marking the original as hidden and setting it's PID to the id of the new entry. The new entry has cloned data from the original and sets the `updated` timestamp to reflect the time of last edit. An edited flag is added to the new entry to reflect its origin. This patch suggests that agents can edit their own posts, department managers can edit posts while the ticket is in their department, and that help desk admins can edit anything. If a post is edited more than once, only the most recent edit is kept.
Showing
- include/class.thread.php 10 additions, 6 deletionsinclude/class.thread.php
- include/class.thread_actions.php 155 additions, 6 deletionsinclude/class.thread_actions.php
- include/staff/templates/thread-entry-edit.tmpl.php 32 additions, 0 deletionsinclude/staff/templates/thread-entry-edit.tmpl.php
- include/staff/templates/thread-entry-view.tmpl.php 18 additions, 0 deletionsinclude/staff/templates/thread-entry-view.tmpl.php
- include/staff/ticket-view.inc.php 7 additions, 1 deletioninclude/staff/ticket-view.inc.php
- js/redactor-osticket.js 2 additions, 1 deletionjs/redactor-osticket.js
- scp/css/scp.css 8 additions, 1 deletionscp/css/scp.css
Loading
Please register or sign in to comment