This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
log.php
206 lines (171 loc) · 12.5 KB
/
log.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<?php
return array(
// Standard messages
"item_created" => "Created new :item :rel.",
"item_updated" => "Updated :item :rel.",
"item_deleted" => "Deleted :item :rel.",
// Custom messages
"ip_ban_created" => "Created new ban on IP :rel.",
"ip_ban_updated" => "Updated ban on IP :rel.",
"ip_ban_deleted" => "Deleted ban on IP :rel.",
"banned_ip_on_login" => "Banned IP :rel for 15 minutes.",
"ip_whitelist_created" => "Added IP :rel to whitelist.",
"ip_whitelist_updated" => "Updated IP :rel on whitelist.",
"ip_whitelist_deleted" => "Deleted IP :rel from whitelist.",
"system_cleanup" => "Ran system cleanup on :rel.",
"api_failed_login" => "IP :rel failed to authenticate to API.",
"user_successful_login" => "Logged in to help desk.",
"user_failed_login" => "Failed to authenticate.",
"user_successful_logout" => "Logged out of help desk.",
"user_registered" => "Registered an account.",
"user_confirmed" => "Confirmed their account.",
"user_password_set" => "Set a password for their account.",
"user_password_reset" => "Reset the password for their account.",
"user_added_to_organisation" => "User :rel added to organisation :new_value.",
"user_removed_from_organisation" => "User :rel removed from organisation :old_value.",
"user_profile_updated" => "Updated account profile.",
"user_left_organisation" => "Left organisation :rel.",
"user_organisation_emptied" => "Removed all users from organisation :rel.",
"user_organisation_updated" => ":rel's organisation access level changed from :old_value to :new_value.",
"organisation_membership_updated" => "Updated user membership of organisation :rel.",
"organisation_profile_updated" => "Updated profile of organisation :rel.",
"organisation_owner_updated" => "Transferred organisation :rel ownership to :new_value.",
"mass_email_queued" => "Queued :new_value emails in batches to be sent.",
"mass_email_sent" => "Sent :new_value emails in queue.",
"email_queue_deleted" => "Deleted queued email to :rel.",
"scheduled_task_run" => "Scheduled task :rel has been run manually.",
"selfservice_article_upvoted" => "Positively rated article :rel.",
"selfservice_article_downvoted" => "Negatively rated article :rel.",
"selfservice_comment_posted" => "Posted a new :rel.",
"selfservice_comment_upvoted" => "Up-voted :rel rating from :old_value to :new_value.",
"selfservice_comment_downvoted" => "Down-voted :rel rating from :old_value to :new_value.",
"ticket_opened" => "Opened new ticket #:rel.",
"ticket_opened_on_behalf" => "Opened new ticket #:rel on behalf of :new_value.",
"ticket_opened_email" => "Imported email as new ticket #:rel.",
"ticket_message_reply" => "Posted a new reply to ticket #:rel.",
"ticket_message_note" => "Posted a new note to ticket #:rel.",
"ticket_message_deleted" => "Deleted a message in ticket #:rel.",
"ticket_user_updated" => "Updated the user on ticket #:rel from :old_value to :new_value.",
"ticket_subject_updated" => "Updated the subject on ticket #:rel.",
"ticket_department_updated" => "Updated the department on ticket #:rel from :old_value to :new_value.",
"ticket_status_updated" => "Updated the status on ticket #:rel from :old_value to :new_value.",
"ticket_priority_updated" => "Updated the priority on ticket #:rel from :old_value to :new_value.",
"ticket_tag_added" => "Added tag :new_value to ticket #:rel.",
"ticket_tag_updated" => "Updated tags on ticket #:rel.",
"ticket_tag_removed" => "Removed tag :new_value from ticket #:rel.",
"ticket_slaplan_updated" => "Updated the SLA plan on ticket #:rel from :old_value to :new_value.",
"ticket_duetime_updated" => "Updated the due time on ticket #:rel to :new_value.",
"ticket_duetime_paused" => "Paused the due time on ticket #:rel until next user reply.",
"ticket_customfield_updated" => "Updated custom fields on ticket #:rel.",
"ticket_converted_user" => "Converted internal ticket #:rel to user ticket.",
"ticket_converted_internal" => "Converted user ticket #:rel to internal ticket.",
"ticket_assigned_operator" => "Assigned :new_value to ticket #:rel.",
"ticket_unassigned_operator" => "Unassigned :new_value from ticket #:rel.",
"ticket_assigned_self" => "Assigned self to ticket #:rel.",
"ticket_assigned_updated" => "Updated assigned operators on ticket #:rel.",
"ticket_locked" => "Locked ticket #:rel.",
"ticket_unlocked" => "Unlocked ticket #:rel.",
"ticket_locked_reply" => "Reply could not be added to locked ticket #:rel.",
"ticket_merged" => "Ticket(s) :new_value merged into ticket #:rel.",
"ticket_unmerged" => "Ticket :rel has been unmerged.",
"ticket_user_blocked" => "Blocked email :new_value (from user on ticket #:rel).",
"ticket_closed" => "Ticket #:rel has been closed.",
"ticket_inactive_closed" => "Closed inactive ticket #:rel from status :old_value.",
"ticket_awaiting_response" => "Sent waiting for response email to user on ticket #:rel.",
"ticket_split_from" => "Messages split from old ticket #:rel to new ticket #:new_value.",
"ticket_split_to" => "Messages split from old ticket #:old_value to new ticket #:rel.",
"ticket_attachment_saved" => "Added attachment to ticket #:rel.",
"ticket_attachment_deleted" => "Deleted attachment from ticket #:rel.",
"ticket_throttled" => "Rejected new ticket from :rel due to throttling.",
/*
* 2.0.3
*/
"selfservice_attachment_saved" => "Added attachment ':new_value' to article ID :rel.",
"selfservice_attachment_deleted" => "Deleted attachment ':new_value' from to article ID :rel.",
"ticket_unassigned_self" => "Unassigned self from ticket #:rel.",
/*
* 2.1.0
*/
"ticket_brand_disabled_reply" => "Reply could not be added due to ticket belonging to a disabled brand #:rel.",
"personal_signatures_updated" => "Updated personal signatures.",
"operator_signatures_updated" => "Updated :rel's signatures.",
"check_email_failed" => "Error: Failed to download email from account :old_value: ':rel'.",
"ticket_added_cc" => "Email(s) :new_value added to CC address list for ticket #:rel.",
"ticket_removed_cc" => "Email(s) :old_value removed from CC address list for ticket #:rel.",
"invalid_department_brand" => "Failed to set department to ':new_value' on ticket #:rel, department does not belong to ticket brand.",
/*
* 2.1.2
*/
"sent_email_to" => "Sent an email with subject ':extra_rel1' to :rel.",
"sent_template_email_to" => "Sent ':extra_rel1' email to :rel.",
"sent_ticket_email_to_user" => "Sent ':extra_rel1' email to user for ticket #:rel.",
"sent_email_to_operators" => "Sent ':extra_rel1' email to operators.",
"sent_ticket_email_to_operators" => "Sent ':extra_rel1' email to operators for ticket #:rel.",
"sent_email_to_operator_group" => "Sent ':extra_rel1' email to operator group ':new_value' for ticket #:rel.",
"ticket_macro_applied" => "The macro ':new_value' was ran on ticket #:rel.",
"ticket_macro_automatic" => "The macro ':new_value' automatically ran on ticket #:rel.",
"email_template_not_found" => "Email template ID ':new_value' not found, aborted sending email.",
"ticket_duetime_unset" => "Unset the due time on ticket #:rel.",
"private_conversation_started" => "Started a conversation with :rel.",
"private_message_sent" => "Sent a message to :rel.",
"not_imported_replies_disabled" => "An email :extra_rel1 was received for ticket #:rel, but was not imported as ticket email replies are disabled.",
"not_imported_ticket_locked" => "An email :extra_rel1 was received for ticket #:rel, but was not imported as the ticket is locked.",
/*
* 2.2.0
*/
"ticket_user_added_to_group" => "Ticket user added to user group :new_value.",
"ticket_user_removed_from_group" => "Ticket user removed from user group :old_value.",
"email_on_behalf" => "Forwarded :extra_rel2 on behalf of ':extra_rel1' in ticket #:rel.",
/*
* 2.3.0
*/
"registered_users_only" => "Sent ':extra_rel1' email to :new_value, department does not accept emails from unregistered users.",
"deleted_user" => "Deleted :item ':rel' with email ':email_address' (ID :user_id).",
"linked_ticket" => "Linked ticket #:rel with ticket :extra_rel1.",
"unlinked_ticket" => "Unlinked ticket #:rel from ticket :extra_rel1.",
"email_queue_attachment_deleted" => "Deleted attachment ':old_value' from queued email ':rel'.",
"forward_ticket_email" => "Forwarded ticket #:rel to third-party, view ':extra_rel1' email.",
/*
* 2.3.1
*/
"selfservice_comment_updated" => "Updated :rel by :extra_rel1.",
"selfservice_comment_status" => "Changed status of :rel by :extra_rel1 from :old_value to :new_value.",
"selfservice_comment_deleted" => "Deleted comment by :extra_rel1.",
"ticket_message_posted" => "Posted a new :extra_rel1 to ticket #:rel.",
"ticket_message_edited" => "Edited a :extra_rel1 in ticket #:rel.",
"email_send_failed" => "Failed to send email.",
"ticket_brand_updated" => "Updated the brand on ticket #:rel from :old_value to :new_value.",
"export_scheduled" => "An export of user :rel has been scheduled.",
"export_generated" => "Export :new_value of user :rel has been generated and stored on the system.",
"export_deleted" => "Export :old_value of user :rel has been deleted from the system.",
"deleted_inactive_records" => "Automatically deleted :old_value inactive :rel.",
"deleted_old_records" => "Automatically deleted old :rel records.",
"sent_email_to_user_group" => "Queued email to user group ':new_value' for ticket #:rel.",
/*
* 2.4.0
*/
"ticket_watching" => "Watching ticket #:rel.",
"ticket_unwatching" => "No longer watching ticket #:rel.",
"ticket_watch_operator" => "Set :new_value to watch ticket #:rel.",
"ticket_unwatch_operator" => "Unset :new_value from watching ticket #:rel.",
/*
* 2.5.0
*/
"marked_user_as_confirmed" => "Confirmed ownership of email address on behalf of user :rel.",
"ticket_department_email_updated" => "Updated the department email on ticket #:rel from :old_value to :new_value.",
"ticket_watching_updated" => "Updated watching operators on ticket #:rel.",
"ticket_deleted" => "Permanently deleted ticket ':old_value' (#:rel).",
"ticket_trashed" => "Moved ticket #:rel to trash.",
"ticket_restored" => "Restored ticket #:rel from trash.",
"emptied_ticket_trash" => "Automatically cleaned the ticket trash of ':old_value' records.",
/*
* 2.6.0
*/
"ticket_followup_set" => "A new follow up has been set up on ticket #:rel.",
"ticket_followup_updated" => "A follow up on ticket #:rel has been updated.",
"ticket_followup_deleted" => "A follow up on ticket #:rel has been deleted.",
/*
* 3.0.0
*/
"selfservice_article_neutral" => "Neutrally rated article :rel.",
);