|
10 | 10 | $summernoteVersion = PanicHD\PanicHD\Helpers\Cdn::Summernote; |
11 | 11 |
|
12 | 12 | return [ |
13 | | - |
14 | | - 'main_route' => '<p><b>Panic Help Desk main route</b>: Where to load the ticket system (ex. <code>http://url/tickets</code>)</p>', 'admin_route' => '<p><b>Panic Help Desk admin route</b>: Where to load the ticket administration dashboard (ex. <code>http://url/panichd</code>)</p>', 'master_template' => '<p><b>Template adherence</b>: The master blade template to be extended</p>', 'email.template' => '<p><b>Template adherence</b>: The email blade template to be extended</p>', 'email.header' => '<p><img src="http://i.imgur.com/5aJjuZL.jpg"/></p>', 'email.signoff' => '<p><img src="http://i.imgur.com/jONMwgF.jpg"/></p>', 'email.signature' => '<p><img src="http://i.imgur.com/coi3R63.jpg"/></p>', 'email.dashboard' => '<p><img src="http://i.imgur.com/qzNzJD4.jpg"/></p>', 'email.google_plus_link' => '<p><b>Toogle icon link</b>: empty or string</p><p><img src="http://i.imgur.com/fzyxfSg.jpg"/></p>', 'email.facebook_link' => '<p><b>Toogle icon link</b>: empty or string</p><p><img src="http://i.imgur.com/FQQzr98.jpg"/></p>', 'email.twitter_link' => '<p><b>Toogle icon link</b>: empty or string</p><p><img src="http://i.imgur.com/5JmkrF1.jpg"/></p>', 'email.footer' => '', 'email.footer_link' => '', 'email.color_body_bg' => '<p><img src="http://i.imgur.com/KTF7rEJ.jpg"/></p>', 'email.color_header_bg' => '<p><img src="http://i.imgur.com/wenw5H5.jpg"/></p>', 'email.color_content_bg' => '<p><img src="http://i.imgur.com/7r8dAFj.jpg"/></p>', 'email.color_footer_bg' => '<p><img src="http://i.imgur.com/KTjkdSN.jpg"/></p>', 'email.color_button_bg' => '<p><img src="http://i.imgur.com/0TbGIyt.jpg"/></p>', 'default_status_id' => '<p>The default status for new created tickets</p>', 'default_close_status_id' => '<p>The default closing status</p>', 'default_reopen_status_id' => '<p>The default reopening status</p>', 'paginate_items' => '<p><b>Pagination length</b>: For standard pagination.</p>', 'length_menu' => '<p><b>Pagination length</b>: For tickets table</p>', 'status_notification' => <<<'ENDHTML' |
| 13 | + // init |
| 14 | + 'main_route' => 'PanicHD prefix used in Laravel route names (ex. route(\'<code>tickets</code>.index\'))', |
| 15 | + 'main_route_path' => 'URL prefix to see tickets (ex. http://hostname/<code>tickets</code>/)', |
| 16 | + 'admin_route' => 'PanicHD configuration menues prefix for Laravel route names (ex. route(\'<code>panichd</code>.status.index\')). Dashboard doesn\'t use it because it has it\'ts own route name "dashboard"', |
| 17 | + 'admin_route_path' => 'URL prefix for PanicHD dashboard and configuration menues (ex. http://url/<code>panichd</code>/priority)', |
| 18 | + 'master_template' => 'The blade template that all PanicHD views will extend', |
| 19 | + 'user_route' => 'Route name for Member pages. If configured, any Member name within a view will have a link to it\'s own page', |
| 20 | + 'member_model_class' => 'PanicHD "Member" model <b>full</b> namespace. Default is <code>PanicHD\PanicHD\Models\Member</code> and it\'s loaded as <code>\PanicHDMember</code>', |
| 21 | + 'admin_button_text' => 'PanicHD cofiguration nav menu name', |
| 22 | + |
| 23 | + // features |
| 24 | + 'departments_feature' => 'View Member department related information. This feature is under development <a href="https://github.com/panichelpdesk/panichd/wiki/Under-development">as described in our wiki</a><br /><code>0</code>: disabled<br /><code>1</code>: enabled', |
| 25 | + 'departments_notices_feature' => 'Ability to link specific Members to a noticed department. If a ticket is created with any of these special users as an owner, all related department members will see that ticket as a Notice. This feature is under development <a href="https://github.com/panichelpdesk/panichd/wiki/Under-development">as described in our wiki</a><br /><code>0</code>: disabled<br /><code>1</code>: enabled', |
| 26 | + 'ticket_attachments_feature' => 'Ability to attach files to tickets and/or comments. <br /><code>0</code>: disabled<br /><code>1</code>: enabled', |
| 27 | + |
| 28 | + // table |
| 29 | + 'paginate_items' => 'Default table row number', |
| 30 | + 'length_menu' => 'Options for table pagination menu', |
| 31 | + 'max_agent_buttons' => 'Max agent number that will be shown as separate butttons in filter panel. If there are more agents available, they will be shown as a select list', |
| 32 | + 'subject_content_column' => 'Group subject and content column in table<br /><code>0</code>: disabled<br /><code>1</code>: enabled', |
| 33 | + 'calendar_month_filter' => 'View calendar filter available options by calendar periods (week, month).<br /><code>0</code>: View options by day counts (7 dies, 14 dies)<br /><code>1</code>: View options by calendar periods (week, month)', |
| 34 | + 'list_text_max_length' => 'Max visible length for description and intervention fields. If any of these is bigger than this setting, the text will be cutted to this length and a button to view full text will be shown<br /><code>0</code>: Disable', |
| 35 | + 'check_last_update_seconds' => 'Interval in seconds in which an AJAX last updated ticket check will be done to trigger data reload', |
| 36 | + |
| 37 | + // tickets |
| 38 | + 'default_status_id' => 'The default status for new tickets', |
| 39 | + 'default_close_status_id' => 'The default ticket closing status', |
| 40 | + 'default_reopen_status_id' => 'The default ticket reopening status', |
| 41 | + 'delete_modal_type' => 'Choose which confirmation message type to use when confirming a deleting<br /><code>builtin</code>: javascript confirmation<br /><code>modal</code>: jquery modal message', |
| 42 | + 'attachments_path' => 'Subfolder inside <b>storage</b> where to save attached files', |
| 43 | + 'attachments_ticket_max_size' => 'Max size in <b>MB</b> for all attachments in a single ticket, including comments', |
| 44 | + 'attachments_ticket_max_files_num' => 'Max number of attachments in a single ticket including comments', |
| 45 | + 'attachments_mimes' => 'List of allowed attachment file extensions separated by comma', |
| 46 | + 'thumbnails_path' => 'Subfolder within "storage\\app\\public" where to save attached images thumbnails', |
| 47 | + 'oldest_year' => 'Allowed oldest year for ticket start date or limit date', |
| 48 | + 'html_replacements' => 'Automatic string replacements for content and intervention HTML fields', |
| 49 | + 'default_priority_id' => 'The default priority for new tickets', |
| 50 | + 'use_default_status_id' => 'Whether to allow or not the default_status_id to be assignable in any ticket', |
| 51 | + |
| 52 | + // notifications |
| 53 | + 'email.template' => 'The email blade template that all notifications extend', |
| 54 | + 'comment_notification' => 'Send notification when new comment is posted<br /><code>1</code>: Send notification<br /><code>0</code>: Do not send notification', |
| 55 | + 'queue_emails' => 'Use Queue method when sending emails (Mail::queue).<br /><code>0</code>: Notificate via Mail::send<br /><code>1</code>: Notificate via Laravel Mail::queue. Note that it requires to be configured <a target="_blank" href="http://laravel.com/docs/master/queues">in Laravel</a>.', |
| 56 | + 'assigned_notification' => 'Send notification to any newly assigned agent<br /><code>0</code>: Don\'t send notification<br /><code>1</code>: Send notification', |
| 57 | + 'email.account.name' => 'The email sender name for all PanicHD notifications<br /><code>default</code>: Use Laravel defaults', |
| 58 | + 'email.account.mailbox' => 'The email address for all PanicHD notifications<br /><code>default</code>: Use Laravel defaults', |
| 59 | + 'list_owner_notification' => 'Notify owner when ticket list changes from active to complete or vice versa<br /><code>0</code>: disabled<br /><code>1</code>: enabled', |
| 60 | + 'status_owner_notification' => 'Notify owner when ticket status changes<br /><code>0</code>: disabled<br /><code>1</code>: enabled. Requires <b>status_notification</b> setting to be enabled too', |
| 61 | + 'custom_recipients' => 'Show option in a comment form to select one or many custom recipients for it', |
| 62 | + 'status_notification' => 'Send email notification to ticket owner/agent when ticket status is changed<br /><code>1</code>: Send notification<br /><code>0</code>: Do not send notification', |
| 63 | + 'email.owner.newticket.template' => 'Notice notification to ticket owner uses the email blade template specified here', |
| 64 | + |
| 65 | + // TODO: Delete deprecated settings email.* |
| 66 | + 'email.header' => '<p><img src="http://i.imgur.com/5aJjuZL.jpg"/></p>', 'email.signoff' => '<p><img src="http://i.imgur.com/jONMwgF.jpg"/></p>', 'email.signature' => '<p><img src="http://i.imgur.com/coi3R63.jpg"/></p>', 'email.dashboard' => '<p><img src="http://i.imgur.com/qzNzJD4.jpg"/></p>', 'email.google_plus_link' => '<p><b>Toogle icon link</b>: empty or string</p><p><img src="http://i.imgur.com/fzyxfSg.jpg"/></p>', 'email.facebook_link' => '<p><b>Toogle icon link</b>: empty or string</p><p><img src="http://i.imgur.com/FQQzr98.jpg"/></p>', 'email.twitter_link' => '<p><b>Toogle icon link</b>: empty or string</p><p><img src="http://i.imgur.com/5JmkrF1.jpg"/></p>', 'email.footer' => '', 'email.footer_link' => '', 'email.color_body_bg' => '<p><img src="http://i.imgur.com/KTF7rEJ.jpg"/></p>', 'email.color_header_bg' => '<p><img src="http://i.imgur.com/wenw5H5.jpg"/></p>', 'email.color_content_bg' => '<p><img src="http://i.imgur.com/7r8dAFj.jpg"/></p>', 'email.color_footer_bg' => '<p><img src="http://i.imgur.com/KTjkdSN.jpg"/></p>', 'email.color_button_bg' => '<p><img src="http://i.imgur.com/0TbGIyt.jpg"/></p>', |
| 67 | + |
| 68 | + // permissions |
| 69 | + 'agent_restrict' => 'Restrict agents access to only their assigned tickets<br /><code>0</code>: disabled<br /><code>1</code>: enable restricted access', |
| 70 | + 'close_ticket_perm' => 'Array specifying which member types may <b>close</b> a ticket', |
| 71 | + 'reopen_ticket_perm' => 'Array specifying which member types may <b>reopen</b> a ticket', |
| 72 | + |
| 73 | + // editor |
| 74 | + 'editor_enabled' => 'Enable summernote editor on textareas', |
| 75 | + 'summernote_locale' => 'Which language should summernote js texteditor use. If value is <code>laravel</code>, locale set in <code>config/app.php</code> will be used<br /><br />Example: <code>hu-HU</code> for Hungarian. <a target="_blank" href="https://github.com/summernote/summernote/tree/master/lang">See available language codes</a>', |
| 76 | + 'editor_html_highlighter' => 'Whether include <a target="_blank" href="http://summernote.org/examples/#codemirror-as-codeview">codemirror syntax highlighter</a> or not<br /><code>0</code>: Don\'t include<br /><code>1</code>: Include', |
| 77 | + 'codemirror_theme' => '<p>Theme for <b>codemirror</b> syntax highlighter</p><a target="_blank" href="https://cdnjs.com/libraries/codemirror/$codemirrorVersion">View available themes</a>', |
| 78 | + 'summernote_options_json_file' => 'App relative path for file that contains init values for summernote in JSON. <a target="_blank" href="http://summernote.org/deep-dive/#initialization-options">See avaiable options</a><br /><code>default</code>: Use default options', |
| 79 | + 'purifier_config' => <<<'ENDHTML' |
| 80 | + <p>Set which HTML tags are allowed</p> |
15 | 81 | <p> |
16 | | - <b>Status notification</b>: send email notification to ticket owner/agent when ticket status is changed |
17 | | - </p> |
18 | | -
|
19 | | - <p> |
20 | | - Default is send notification: <code>1</code><br> |
21 | | - Do not send notification: <code>0</code> |
22 | | - </p> |
23 | | -ENDHTML |
24 | | - |
25 | | - , 'comment_notification' => <<<'ENDHTML' |
26 | | - <p> |
27 | | - <b>Comment notification</b>: Send notification when new comment is posted |
28 | | - </p> |
29 | | -
|
30 | | - <p> |
31 | | - Default is send notification: <code>1</code><br> |
32 | | - Do not send notification: <code>0</code> |
33 | | - </p> |
34 | | -ENDHTML |
35 | | - |
36 | | - , 'queue_emails' => <<<'ENDHTML' |
37 | | - <p> |
38 | | - Use Queue method when sending emails (Mail::queue instead of Mail::send). |
39 | | - Note that Mail::queue needs to be configured first <a target="_blank" href="http://laravel.com/docs/master/queues">http://laravel.com/docs/master/queues</a> |
40 | | - </p> |
41 | | -
|
42 | | - <p> |
43 | | - Default is to not use queue: <code>0</code><br> |
44 | | - Use queue: <code>1</code> |
45 | | - </p> |
46 | | -ENDHTML |
47 | | - |
48 | | - , 'assigned_notification' => <<<'ENDHTML' |
49 | | - <p><b>Agent notify</b>: To notify assigned agent (either auto or manual assignment) of new assigned or transferred tickets</p> |
50 | | -
|
51 | | - <p> |
52 | | - Not to notify agent: <code>0</code><br> |
53 | | - Notify agent: <code>1</code> |
54 | | - </p> |
55 | | -ENDHTML |
56 | | - |
57 | | - , 'agent_restrict' => <<<'ENDHTML' |
58 | | - <p><b>Agent restrict</b>: Restrict agents access to only their assigned tickets</p> |
59 | | -
|
60 | | - <p> |
61 | | - Agent access only assigned tickets: <code>1</code> |
62 | | - </p> |
63 | | -ENDHTML |
64 | | - |
65 | | - , 'close_ticket_perm' => '<p><b>Close Ticket Perm</b>: Who has a permission to close tickets</p>', 'reopen_ticket_perm' => '<p><b>Reopen Ticket Perm</b>: Who has a permission to reopen tickets</p>', 'delete_modal_type' => <<<'ENDHTML' |
66 | | - <p><b>Delete Confirmation</b>: Choose which confirmation message type to use when confirming a deleting</p> |
67 | | -
|
68 | | - <p>Options: <code>builtin</code>, <code>modal</code></p> |
69 | | -ENDHTML |
70 | | - |
71 | | - /* ------------------ JS EDITOR ------------------ */, 'editor_enabled' => <<<'ENDHTML' |
72 | | - <p>Enable summernote editor on textareas</p> |
73 | | -
|
74 | | - <p> |
75 | | - Disable: <code>0</code><br> |
76 | | - Enable: <code>1</code> |
77 | | - </p> |
78 | | -ENDHTML |
79 | | - |
80 | | - , 'summernote_locale' => <<<"ENDHTML" |
81 | | - <p> |
82 | | - Which language should summernote js texteditor use<br> |
83 | | - If value is <code>laravel</code>, locale set in <code>config/app.php</code> will be used |
84 | | - </p> |
85 | | -
|
86 | | - <p>Example: <code>hu-HU</code> for Hungarian</p> |
87 | | -
|
88 | | - <p>See available language codes <a target="_blank" href="https://cdnjs.com/libraries/summernote/$summernoteVersion">here</a></p> |
89 | | -ENDHTML |
90 | | - |
91 | | - , 'editor_html_highlighter' => <<<'ENDHTML' |
92 | | - <p>Whether include codemirror sytax highlighter or not</p> |
93 | | -
|
94 | | - <p><a target="_blank" href="http://summernote.org/examples/#codemirror-as-codeview">http://summernote.org/examples/#codemirror-as-codeview</a></p> |
95 | | -
|
96 | | - <p> |
97 | | - Don't include: <code>0</code><br> |
98 | | - Include: <code>1</code> |
99 | | - </p> |
100 | | -ENDHTML |
101 | | - |
102 | | - , 'codemirror_theme' => <<<'ENDHTML' |
103 | | - <p>Theme for sytax highlighter</p> |
104 | | -
|
105 | | - <p>Available themes <a target="_blank" href="https://cdnjs.com/libraries/codemirror/$codemirrorVersion">here</a></p> |
106 | | -ENDHTML |
107 | | - |
108 | | - , 'summernote_options_json_file' => <<<'ENDHTML' |
109 | | - <p> |
110 | | - Init values for summernote js texteditor in JSON<br> |
111 | | - See avaiable options <a target="_blank" href="http://summernote.org/deep-dive/#initialization-options">here</a> |
112 | | - </p> |
113 | | -
|
114 | | - <p>This setting stores the path to the json config file, relative to project route</p> |
115 | | -ENDHTML |
116 | | - |
117 | | - , 'purifier_config' => <<<'ENDHTML' |
118 | | - <p>Set which html tags are allowed</p> |
119 | | - <p> |
120 | | - This overrides the settings part of <a target="_blank" href="https://github.com/mewebstudio/Purifier/blob/master/config/purifier.php">this file</a><br> |
| 82 | + Configuring this parameter overrides the settings in <a target="_blank" href="https://github.com/mewebstudio/Purifier/blob/master/config/purifier.php">Purifier config file</a><br> |
121 | 83 | The same config can be achived by running <code>php artisan vendor:publish</code> and modifying <code>config/purifier.php</code> |
122 | 84 | </p> |
123 | 85 |
|
124 | | - <p>Full docs: <a target="_blank" href="http://htmlpurifier.org/docs">http://htmlpurifier.org/docs</a></p> |
125 | | -ENDHTML |
126 | | - |
127 | | - , 'routes' => <<<'ENDHTML' |
128 | | - <p>Set custom routes file</p> |
129 | | - <p> |
130 | | - Useful if you want to replace any of the Panic Help Desk components |
131 | | - </p> |
| 86 | + <p><a target="_blank" href="http://htmlpurifier.org/docs">Purifier documentation</a></p> |
132 | 87 | ENDHTML |
133 | | - |
| 88 | + , 'summernote_options_user' => 'Member without current permissions uses it\'s own summernote options if specified in this setting<br /><code>default</code>: Summernote default options' |
134 | 89 | ]; |
0 commit comments