forked from pixeline/bugs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.app.example.php
executable file
·222 lines (204 loc) · 7.24 KB
/
config.app.example.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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<?php
//This program uses UTF-8 (without BOM) and database utf8_general_ci. Your files must respect this standard.
return array(
/** URL
* You can define your URL or leave blank to let us figure it out
* - Sometimes in non-apache setups you need to define your url
*/
'url' => '',
/** Directories
Here, you'll define where to store informations
'directory' : where to store the files you'll attach to an issue
| Default value : 'uplaods/' ... which means /var/www/html/Bugs_directory/uploads/
| if you want to store wherever in your computer, give the absolute path starting this with a '/' like '/home/user/Documents/Downloads/'
'format' : how to name the downloaded files attached to an issue, each component of this variable will be separated by an undescore
| Possible values are limited to : 'ICN', 'NCI', 'CIN'
| 'C' like 'Comment' refering to comment's number
| 'I' like 'Issue' refering to issue's number
| 'N' like 'Name' a somewhat given name
| Defalut value : 'ICN' will produce something like I_C_name.ext
'method' : how to store the attached files
| Possible values are limited to : 'd', 'i'
| 'd' like 'directories' : all together in a single directory
| 'i' like 'issue' : each issue has its own sub-directory ... if you chose this option, the 'I' value of 'format' will be skipped
| Default value : 'i'
*/
'attached' => array(
'directory' => 'uploads/',
'format' => 'ICN',
'method' => 'i'
),
/** Database
* Fill out your database settings. Make sure that the driver is correct:
** 'mysql' for MySQL,
** 'sqlsrv' for MSSQL,
** 'pgsql' for PostgreSQL,
** 'sqlite' for SQLite
*/
'database' => array(
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'database_name',
'username' => 'database_user',
'password' => 'database_password',
),
/** Date format
* Check http://php.net/manual/en/function.date.php for informations
* Internationnal date and time: 'date_format'=>'Y-m-d H:i',
* Internationnal date and time with seconds: 'date_format'=>'Y-m-d H:i:s',
* USA way of writing time: 'date_format'=>'F jS \a\t g:i A',
**/
'my_bugs_app'=>array(
'name'=> 'Bugs',
'date_format'=>'Y-m-d H:i',
),
/** Timezone
* Specify your timezone
* - http://php.net/manual/en/timezones.php
*/
'timezone' => 'Europe/Brussels',
/** wysiwyg editor
* Default : 'BasePage'=>'/app/vendor/ckeditor/ckeditor.js',
* No one : 'BasePage'=>'',
* If you want to use no wysiwyg editor please set this to empty.
* Do not mark this as comment
* Fill out with the entire path, begining with app/
* Editor base page type permitted: .js .php
////This (below) for ckeditor
'directory' = > 'vendor/ckeditor',
'BasePage' => '/app/vendor/ckeditor/ckeditor.js',
'name' => 'ckeditor',
////This (below) for Trumbowyg editor
'directory' = > 'vendor/Trumbowyg/',
'BasePage' => '/app/vendor/Trumbowyg/trumbowyg.min.js',
'name' => 'trumbowyg',
*/
'editor' => array(
'BasePage' => '/app/vendor/ckeditor/ckeditor.js',
'directory' => 'vendor/ckeditor',
'name' => 'ckeditor',
),
/** Mail
* Mail Settings
* - Put in the name and email you would like email from Tiny Issue to come from
* - This is usually only for setting up new accounts
*
* Default Mail Transport
* |
* | Possible Values
* | mail (PHP Mail Function) --- default
* | PHP (php language mail function)
* | sendmail (Sendmail - almost the same as 'mail' option but with authentications details)
* | gmail (using Google's gmail system)
* | pop3 (Define Custom POP3)
* | smtp (Define Custom SMTP)
*
*/
'mail' => array(
'from' => array(
'name' => 'Your E-Mail Name',
'email' => '[email protected]',
),
'replyTo' => array(
'name' => 'Your E-Mail Name',
'email' => '[email protected]',
),
/**
* Transport Settings
* Transport settings if using mail or smtp
* 'mail' or 'smtp' must be lower case
*/
'transport' => 'mail',
'sendmail' => array('path' => ''),
'smtp' => array(
'server' => 'smtp.gmail.com',
'port' => 587,
/*
* Encryption support, SSL/TLS, used with gmail servers
* Default: blank
* 'ssl' or 'tls' must be lower case
* Here example for gmail server
*/
'encryption' => 'tls',
'username' => 'xyzxyz',
'password' => '******'
),
/* Characters encoding
* Possible values or endless, but most usual are 'UTF-8' (Europe) or 'iso-8859-1' (North-America)
* Default value : 'UTF-8'
*/
'encoding' => 'UTF-8',
/*
* Final delivery format
* Default: multipart/mixed
* 'text/plain' or 'html' or 'multipart/mixed' must be lower case
*/
'plainHTML' => 'multipart/mixed',
'linelenght' => 80,
// Output after error on sending email
// 0 = no output, 1 = errors and messages, 2 = messages only.
'mailerrormsg' => '1',
/*
* Every emails you'll send from here will start by intro and end by bye
* Use those to include the recepient values:
* - {first} for his first name
* - {last} for his last name
* - {full} for his full name ( first name and last name )
* These contents may be edited in the administration page, tab « Global settings for email »
* When edited by administration page, the values bellow will be empty and the new content saved into uploads/intro.html and uploads/bye.html files
*/
'intro' => 'Hello {first},',
'bye' => 'Bye.',
),
/** Session key
* Put in a random key combination to use as your session keys
* You must use 16 or 32 characters
* You can use this online generator: http://online-code-generator.com/generate-salt-random-string.php
*/
'key' => 'yourrandomkey',
/** mod_rewrite
* True if you are using mod rewrite
* False if you are not
*/
'mod_rewrite' => true,
/** Percentage
*Percentage of issue done
*Make sure your array count 5 items, the fifth must be 100
*In order: (done, open, inProgress, Testing, SysNeed)
*Default: (100,0,10,80,100)
*/
'Percent' => array (100,0,10,80,100),
/** duration
*How long is supposed to be given to fix an issue
*Duration in days
*Default: 30
*/
'duration' => 30,
/**Priority
*Beside others tickets,
*which ones need to be solved first ( priority = 5 )
*which ones can wait ( priority = 1 )
*closed issues have priority = 0
**PriorityColors chose the color of the dot marker
**Values can be either names or hexadecimals
**Names like: black, darkviolet, blue, green ... ref https://www.w3schools.com/cssref/css_colors.asp
**Hexadecimal values starting with # code like #FF0000 #FFFF00 #123456
**If you don't wont to see the status marker, set the values to transparent
**Examples below:
****Default
****'PriorityColors' => array("black", "PaleGray","DarkCyan","LimeGreen","Darkorange","Crimson"),
****'PriorityColors' => array("#000000","#acacac","#008B8B", "#32CD32", "#FF8C00", "#DC143C"),
****All transparent
****'PriorityColors' => array("transparent","transparent","transparent","transparent","transparent","transparent "),
*/
'PriorityColors' => array("black","PaleGray","DarkCyan","LimeGreen","Darkorange","Crimson"),
/** Todo : Number of items per column
*/
'TodoNbItems' => 25,
/** TempsFait
* Default duration of work (in hours) to be charged to your client
* Default value is 1
*/
'TempsFait' => 1,
);
?>