Log actions
Reference for the activity_log table's "action" field, which stores a description of the action made so the backend can interpret it and show the user.
Project Actions
project_added – A new project was created.
project_removed – An existing project was deleted.
project_added_image – An image was added to a project.
project_removed_image – An image was removed from a project.
project_edited_title – The title of a project was changed.
project_edited_description – The description of a project was changed.
project_added_user – A user was added to a project.
project_removed_user – A user was removed from a project.
project_added_label – A label was added to a project.
project_removed_label – A label was removed from a project.
project_user_assigned_label – A label was assigned to a user within a project.
project_user_removed_label – A label was unassigned from a user within a project.
project_task_assigned_label – A label was assigned to a task within the project.
project_task_removed_label – A label was removed from a task within the project.
Task Actions
task_created – A new task was created.
task_removed – A task was deleted.
task_edited_title – The task title was changed.
task_edited_description – The task description was updated.
task_edited_status – The task status was changed.
task_edited_duedate – The task due date was modified.
task_added_file – A file was attached to the task.
task_removed_file – A file was removed from the task.
task_added_comment – A comment was added to the task.
task_removed_comment – A comment was removed from the task.
task_comment_added_file – A file was attached to a task comment.
task_comment_removed_file – A file was removed from a task comment.
Microtask Actions
microtask_created – A microtask was created.
microtask_removed – A microtask was deleted.
microtask_edited_name – The name of a microtask was changed.
microtask_edited_description – The description of a microtask was updated.
microtask_edited_percentage – The completion percentage of a microtask was updated.
microtask_edited_status – The status of a microtask was updated.
microtask_assigned_user – A user was assigned to a microtask.
microtask_removed_user – A user was unassigned from a microtask.
microtask_added_comment – A comment was added to a microtask.
microtask_removed_comment – A comment was removed from a microtask.
microtask_comment_added_file – A file was attached to a microtask comment.
microtask_comment_removed_file – A file was removed from a microtask comment.
microtask_added_file – A file was attached directly to the microtask.
microtask_removed_file – A file was removed from the microtask.
microtask_added_duedate – A due date was set for the microtask.
microtask_removed_duedate – A due date was removed from the microtask.
Group Chat Actions
message_group_created – A group chat was created.
message_group_deleted – A group chat was deleted.
message_group_edited_name – The name of the group chat was edited.
message_group_added_image – An image was added to the group chat.
message_group_removed_image – The image was removed from the group chat.
message_group_added_member – A user was added to the group chat.
message_group_removed_member – A user was removed from the group chat.
message_group_added_description – A description was added to the group chat.
message_group_edited_description – The group chat description was edited.
message_group_removed_description – The group chat description was removed.
Login Actions
login_several_failed_attempts - A user tried to log in several times without success
login_user_successful - A user logged in succesfully
Registration Actions
registration_new_user - A user was registered succesfully
In the database enum types, they are stored like so:
log_actions = (
# Project Actions
'project_added',
'project_removed',
'project_added_image',
'project_removed_image',
'project_edited_title',
'project_edited_description',
'project_added_user',
'project_removed_user',
'project_added_label',
'project_removed_label',
'project_user_assigned_label',
'project_user_removed_label',
'project_task_assigned_label',
'project_task_removed_label',
# Task Actions
'task_created',
'task_removed',
'task_edited_title',
'task_edited_description',
'task_edited_status',
'task_edited_duedate',
'task_added_file',
'task_removed_file',
'task_added_comment',
'task_removed_comment',
'task_comment_added_file',
'task_comment_removed_file',
# Microtask Actions
'microtask_created',
'microtask_removed',
'microtask_edited_name',
'microtask_edited_description',
'microtask_edited_percentage',
'microtask_edited_status',
'microtask_assigned_user',
'microtask_removed_user',
'microtask_added_comment',
'microtask_removed_comment',
'microtask_comment_added_file',
'microtask_comment_removed_file',
'microtask_added_file',
'microtask_removed_file',
'microtask_added_duedate',
'microtask_removed_duedate',
# Group Chat Actions
'message_group_created',
'message_group_deleted',
'message_group_edited_name',
'message_group_added_image',
'message_group_removed_image',
'message_group_added_member',
'message_group_removed_member',
'message_group_added_description',
'message_group_edited_description',
'message_group_removed_description',
# Login Actions
'login_several_failed_attempts',
)
Last updated