-
Notifications
You must be signed in to change notification settings - Fork 0
/
uvdesk.core-framework.1.2.json
224 lines (224 loc) · 12.5 KB
/
uvdesk.core-framework.1.2.json
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
223
224
{
"manifests": {
"uvdesk/core-framework": {
"manifest": {
"bundles": {
"Webkul\\UVDesk\\CoreFrameworkBundle\\UVDeskCoreFrameworkBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%",
"templates/": "templates/"
},
"post-install-output": [
"<fg=magenta;options=bold>-------------------------------</>",
"<fg=magenta;options=bold>| Uvdesk Community Opensource |</>",
"<fg=magenta;options=bold>-------------------------------</>",
"",
"Welcome to the <info>Uvdesk Community</info> project! Uvdesk Community is an <comment>open-source e-commerce helpdesk system</comment>",
"which is built on top of reliable set of tools to provide you and your customers with the best support ",
"solution possible.",
"",
"Here are a things to help you get started:",
"",
" <fg=magenta;options=bold>* Setup your helpdesk</>",
"",
" Use the following command to easily setup your helpdesk project and get started right",
" away:",
"",
" <comment>$ php bin/console uvdesk:configure-helpdesk;</comment>",
"",
" Alternatively, you can also setup your helpdesk by navigating to this project on your",
" preferred web browser.",
"",
" <fg=magenta;options=bold>* Track changes to your helpdesk</>",
"",
" It's advisable to sync your project with a remote git repository, which will make it",
" easier for you to keep track of the changes introduced in your helpdesk project. Use",
" the following commands to sync your changes with a git repository:",
"",
" <comment>$ git init;</comment>",
" <comment>$ git remote add origin {git-repository};</comment>",
" <comment>$ git push -r origin master;</comment>",
"",
" <fg=magenta;options=bold>* Support us on Github</>",
"",
" If you like what we are doing, consider starring our project on GitHub to show us some",
" support by visiting us at <fg=yellow;options=underscore;>https://github.com/uvdesk/community-skeleton</>.",
"",
"",
"Made with 💖 by the Uvdesk team. :)"
]
},
"files": {
"config/packages/uvdesk.yaml": {
"contents": [
"parameters:",
" app_locales: en|fr|it|de|da|ar|es|tr|zh|pl",
"",
" # Default Assets",
" assets_default_agent_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-batman.png'",
" assets_default_customer_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-ironman.png'",
" assets_default_helpdesk_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-uvdesk.png'",
"",
" uvdesk_site_path.member_prefix: member",
" uvdesk_site_path.knowledgebase_customer_prefix: customer",
"",
" # File uploads constraints",
" # @TODO: Set these parameters via compilers",
" max_post_size: 8388608",
" max_file_uploads: 20",
" upload_max_filesize: 2097152",
"",
"uvdesk:",
" site_url: 'localhost:8000'",
" upload_manager:",
" id: Webkul\\UVDesk\\CoreFrameworkBundle\\FileSystem\\UploadManagers\\Localhost",
"",
" # Default resources",
" default:",
" ticket:",
" type: support",
" status: open",
" priority: low",
" templates:",
" email: mail.html.twig",
""
],
"executable": false
},
"config/packages/security.yaml": {
"contents": [
"security:",
" role_hierarchy:",
" ROLE_AGENT: ROLE_AGENT",
" ROLE_ADMIN: [ROLE_AGENT, ROLE_ADMIN]",
" ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_SUPER_ADMIN]",
" ROLE_CUSTOMER: ROLE_CUSTOMER",
"",
" providers:",
" user_provider:",
" id: user.provider",
"",
" encoders:",
" Webkul\\UVDesk\\CoreFrameworkBundle\\Entity\\User: auto",
"",
" firewalls:",
" back_support:",
" pattern: /%uvdesk_site_path.member_prefix%",
" provider: user_provider",
" anonymous: ~",
" form_login:",
" use_referer: true",
" login_path: helpdesk_member_handle_login",
" check_path: helpdesk_member_handle_login",
" default_target_path: helpdesk_member_dashboard",
" always_use_default_target_path: true",
" logout:",
" path: helpdesk_member_handle_logout",
" target: helpdesk_member_handle_login",
"",
" access_control:",
" - { path: /%uvdesk_site_path.member_prefix%/login, roles: [IS_AUTHENTICATED_REMEMBERED, IS_AUTHENTICATED_ANONYMOUSLY] }",
" - { path: /%uvdesk_site_path.member_prefix%/create-account, roles: [IS_AUTHENTICATED_REMEMBERED, IS_AUTHENTICATED_ANONYMOUSLY] }",
" - { path: /%uvdesk_site_path.member_prefix%/forgot-password, roles: [IS_AUTHENTICATED_REMEMBERED,IS_AUTHENTICATED_ANONYMOUSLY] }",
" - { path: /%uvdesk_site_path.member_prefix%/update-credentials, roles: [IS_AUTHENTICATED_REMEMBERED,IS_AUTHENTICATED_ANONYMOUSLY] }",
" - { path: /%uvdesk_site_path.member_prefix%/mailbox/listener, roles: [IS_AUTHENTICATED_ANONYMOUSLY] }",
" - { path: /%uvdesk_site_path.member_prefix%/, roles: ROLE_AGENT }",
""
],
"executable": false
},
"config/packages/doctrine.yaml": {
"contents": [
"parameters:",
" # Adds a fallback DATABASE_URL if the env var is not set.",
" # This allows you to run cache:warmup even if your",
" # environment variables are not available yet.",
" # You should not need to change this value.",
" env(DATABASE_URL): ''",
"",
"doctrine:",
" dbal:",
" # configure these for your database server",
" driver: 'pdo_mysql'",
" server_version: '5.7'",
" charset: utf8mb4",
" default_table_options:",
" charset: utf8mb4",
" collate: utf8mb4_unicode_ci",
"",
" url: '%env(DATABASE_URL)%'",
" options:",
" 1002: 'SET sql_mode=(SELECT REPLACE(@@sql_mode, \"ONLY_FULL_GROUP_BY\", \"\"))'",
"",
" orm:",
" auto_generate_proxy_classes: true",
" naming_strategy: doctrine.orm.naming_strategy.underscore",
" auto_mapping: true",
" mappings:",
" App:",
" is_bundle: false",
" type: annotation",
" dir: '%kernel.project_dir%/src/Entity'",
" prefix: 'App\\Entity'",
" alias: App",
""
],
"executable": false
},
"config/packages/mailer.yaml": {
"contents": [
"framework:",
" mailer:",
" transports:",
" main: '%env(MAILER_DSN)%'",
""
],
"executable": false
},
"config/packages/twig.yaml": {
"contents": [
"twig:",
" globals:",
" default_agent_image_path: '%assets_default_agent_profile_image_path%'",
" default_customer_image_path: '%assets_default_customer_profile_image_path%'",
" default_helpdesk_image_path: '%assets_default_helpdesk_profile_image_path%'",
" max_post_size: '%max_post_size%'",
" max_file_uploads: '%max_file_uploads%'",
" upload_max_filesize: '%upload_max_filesize%'",
" user_service: '@user.service'",
" uvdesk_service: '@uvdesk.service'",
" recaptcha_service: '@recaptcha.service'",
" ticket_service: '@ticket.service'",
" csrf_token_generator: '@security.csrf.token_manager'",
" email_service: '@email.service'",
" uvdesk_extensibles: '@uvdesk.extensibles'",
" uvdesk_core_file_system: '@uvdesk.core.file_system.service'",
""
],
"executable": false
},
"templates/mail.html.twig": {
"contents": [
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">",
"<html xmlns=\"http://www.w3.org/1999/xhtml\">",
" <head>",
" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">",
" <title>{% block title %}{% endblock %}</title>",
" {% block metadata %}{% endblock %}",
" </head>",
"",
" <body>",
" {{ message|raw }}",
" </body>",
"</html>"
],
"executable": false
}
},
"ref": "3e091192a6277f93f952ffb153ec258fcda55991"
}
}
}