|
1 | 1 | { |
2 | 2 | "AllowedHosts": "*", |
3 | | - "Licensing": { |
4 | | - "PrivateKeyFilePath": "Get_From_Env_Var", |
5 | | - "Plans": [ |
6 | | - { |
7 | | - "SystemName": "CodeBlock_Startup_License", |
8 | | - "Level": 0 |
9 | | - }, |
10 | | - { |
11 | | - "SystemName": "CodeBlock_Business_License", |
12 | | - "Level": 1 |
13 | | - }, |
14 | | - { |
15 | | - "SystemName": "CodeBlock_Enterprise_License", |
16 | | - "Level": 2 |
17 | | - } |
18 | | - ] |
19 | | - }, |
20 | 3 | "Application": { |
21 | 4 | "Default": { |
22 | | - "Name": "CanBeYours", |
| 5 | + "Name": "Can Be Yours", |
| 6 | + "Description": "Can Be Yours is a sample startup built with CodeBlock.Dev", |
23 | 7 | "SupportEmail": "support@test.com", |
24 | | - "LogoUrl": "/logo.png", |
| 8 | + "LogoUrl": "/images/logos/logo.png", |
25 | 9 | "FaviconUrl": "/favicon.ico", |
26 | | - "Url": "https://admin.canbeyours.online/", |
27 | | - "LoginUrl": "https://admin.canbeyours.online/login" |
| 10 | + "Url": "https://admin.canbeyours.online/" |
28 | 11 | }, |
29 | 12 | "Localizations": { |
30 | | - "fa-IR": { |
31 | | - "Name": "میتونه مال تو باشه!" |
| 13 | + "fa": { |
| 14 | + "Name": "میتونه مال تو باشه!", |
| 15 | + "Description": "میتونه مال تو باشه! یک استارتاپ نمونه است که با CodeBlock.Dev ساخته شده است" |
| 16 | + }, |
| 17 | + "es": { |
| 18 | + "Name": "¡Puede ser tuyo!", |
| 19 | + "Description": "¡Puede ser tuyo! es una startup de muestra construida con CodeBlock.Dev" |
| 20 | + }, |
| 21 | + "de": { |
| 22 | + "Name": "Kann dir gehören!", |
| 23 | + "Description": "Kann dir gehören! ist ein Beispiel-Startup, das mit CodeBlock.Dev erstellt wurde" |
| 24 | + }, |
| 25 | + "fr": { |
| 26 | + "Name": "Peut être à vous!", |
| 27 | + "Description": "Peut être à vous! est une startup d'exemple construite avec CodeBlock.Dev" |
| 28 | + }, |
| 29 | + "pt": { |
| 30 | + "Name": "Pode ser seu!", |
| 31 | + "Description": "Pode ser seu! é uma startup de exemplo construída com CodeBlock.Dev" |
| 32 | + }, |
| 33 | + "ar": { |
| 34 | + "Name": "يمكن أن يكون لك!", |
| 35 | + "Description": "يمكن أن يكون لك! هو مشروع ناشئ نموذجي تم بناؤه باستخدام CodeBlock.Dev" |
32 | 36 | } |
33 | 37 | } |
34 | 38 | }, |
35 | 39 | "MongoDB": { |
36 | 40 | "Connection": "mongodb://localhost:27017", |
37 | | - "DatabaseName": "CodeBlock_Dev" |
38 | | - }, |
39 | | - "Email": { |
40 | | - "Enabled": true, |
41 | | - "ActiveEmailProvider": "SendGrid", |
42 | | - "SelfHosted": { |
43 | | - "FromName": "CanBeYours", |
44 | | - "SmtpServer": "mail.codeblock.dev", |
45 | | - "SmtpPort": 587, |
46 | | - "SmtpUser": "support@codeblock.dev", |
47 | | - "SmtpPassword": "hamedHAMED99", |
48 | | - "EnableSsl": false |
49 | | - }, |
50 | | - "SendGrid": { |
51 | | - "ApiKey": "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", |
52 | | - "FromEmail": "no-reply@codeblock.dev", |
53 | | - "FromName": "CanBeYours" |
54 | | - } |
55 | | - }, |
56 | | - "Sms": { |
57 | | - "Enabled": true, |
58 | | - "Twilio": { |
59 | | - "AccountSid": "AC31b67f6cb216f18393db924eb3d8141e", |
60 | | - "AuthToken": "0a831e63414fc47d5f2e89973d677e75", |
61 | | - "FromPhoneNumber": "+12314128989" |
62 | | - } |
63 | | - }, |
64 | | - "Tracking": { |
65 | | - "Enabled": true, |
66 | | - "DaysRetentionLimit": 365, |
67 | | - "MaxRecordsPerEntity": 1000 |
| 41 | + "DatabaseName": "Can_Be_Yours" |
68 | 42 | }, |
69 | 43 | "Administration": { |
70 | 44 | "AdminRole": "admin", |
|
76 | 50 | } |
77 | 51 | ] |
78 | 52 | }, |
79 | | - "Authorization": { |
| 53 | + "Identity": { |
80 | 54 | "AdminUser": { |
81 | 55 | "Mobile": "+31000000000", |
82 | 56 | "Email": "admin@test.com", |
83 | 57 | "Password": "12345678" |
84 | 58 | }, |
85 | | - "Settings": { |
86 | | - "EnableTwoFactor": true, |
87 | | - "EnableMobileConfirmation": true, |
88 | | - "EnableEmailConfirmation": true, |
89 | | - "ForceEmailConfirmationOnRegister": true, |
90 | | - "EnableExternalLogin": true, |
91 | | - "EnableLogin": true, |
92 | | - "EnableRegister": true, |
93 | | - "ShowLogo": true, |
94 | | - "ShowAppName": false, |
95 | | - "SendWelcomeEmailOnRegister": true |
96 | | - }, |
97 | 59 | "ExternalLogins": { |
98 | 60 | "Google": { |
99 | 61 | "Enabled": true, |
|
123 | 85 | }, |
124 | 86 | "CookieAuthentication": { |
125 | 87 | "Enabled": true, |
126 | | - "CookieName": "CanBeYours.CanBeYours.AdminPanel.AuthCookie", |
| 88 | + "CookieName": "Can.Be.Yours.AdminPanel.AuthCookie", |
127 | 89 | "CookieHttpOnly": true, |
128 | 90 | "LoginPath": "/login", |
129 | 91 | "LogoutPath": "/logout", |
|
132 | 94 | "AllowRefresh": true |
133 | 95 | }, |
134 | 96 | "Localization": { |
135 | | - "CookieName": "CanBeYours.CanBeYours.AdminPanel.Culture", |
| 97 | + "CookieName": "Can.Be.Yours.AdminPanel.Culture", |
136 | 98 | "Languages": [ |
137 | 99 | { |
138 | 100 | "Name": "English", |
139 | | - "Code": "en-US", |
| 101 | + "Code": "en", |
| 102 | + "ShortName": "En", |
140 | 103 | "Direction": "ltr", |
141 | 104 | "Font": "system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"", |
142 | 105 | "IsDefault": true |
143 | 106 | }, |
144 | 107 | { |
145 | 108 | "Name": "Persian", |
146 | | - "Code": "fa-IR", |
| 109 | + "Code": "fa", |
| 110 | + "ShortName": "Fa", |
147 | 111 | "Direction": "rtl", |
148 | 112 | "Font": "Vazir" |
| 113 | + }, |
| 114 | + { |
| 115 | + "Name": "Spanish", |
| 116 | + "Code": "es", |
| 117 | + "ShortName": "Es", |
| 118 | + "Direction": "ltr", |
| 119 | + "Font": "system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif" |
| 120 | + }, |
| 121 | + { |
| 122 | + "Name": "German", |
| 123 | + "Code": "de", |
| 124 | + "ShortName": "De", |
| 125 | + "Direction": "ltr", |
| 126 | + "Font": "system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif" |
| 127 | + }, |
| 128 | + { |
| 129 | + "Name": "French", |
| 130 | + "Code": "fr", |
| 131 | + "ShortName": "Fr", |
| 132 | + "Direction": "ltr", |
| 133 | + "Font": "system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif" |
| 134 | + }, |
| 135 | + { |
| 136 | + "Name": "Portuguese", |
| 137 | + "Code": "pt", |
| 138 | + "ShortName": "Pt", |
| 139 | + "Direction": "ltr", |
| 140 | + "Font": "system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif" |
| 141 | + }, |
| 142 | + { |
| 143 | + "Name": "Arabic", |
| 144 | + "Code": "ar", |
| 145 | + "ShortName": "Ar", |
| 146 | + "Direction": "rtl", |
| 147 | + "Font": "system-ui, \"Segoe UI\", \"Helvetica Neue\", Tahoma, Arial, sans-serif" |
149 | 148 | } |
150 | 149 | ] |
| 150 | + |
151 | 151 | }, |
152 | 152 | "Caching": { |
153 | 153 | "CacheTimeInSeconds": 10, |
|
159 | 159 | "EnableMemoryCache": true, |
160 | 160 | "EnableDiskCache": false, |
161 | 161 | "AllowEmptyBundle": true |
| 162 | + //"BundledCssFiles": [ |
| 163 | + // { |
| 164 | + // "BundledFile": "/css/test.min.css", |
| 165 | + // "FilesToBundle": [ |
| 166 | + // "css/app.css" |
| 167 | + // ] |
| 168 | + // } |
| 169 | + //], |
| 170 | + //"BundledJsFiles": [ |
| 171 | + // { |
| 172 | + // "BundledFile": "/js/test.min.js", |
| 173 | + // "FilesToBundle": [ |
| 174 | + // "js/app.js" |
| 175 | + // ] |
| 176 | + // } |
| 177 | + //] |
162 | 178 | }, |
163 | 179 | "Hangfire": { |
164 | 180 | "SchedulePollingIntervalSeconds": 15000, |
165 | 181 | "MongoStorage": { |
166 | | - "DatabaseName": "CodeBlock_Dev_ScheduledJobs" |
| 182 | + "DatabaseName": "Can_Be_Yours_ScheduledJobs" |
167 | 183 | }, |
168 | 184 | "Dashboard": { |
169 | 185 | "Path": "/hangfire", |
170 | 186 | "Enabled": true |
171 | 187 | } |
172 | 188 | }, |
173 | 189 | "Monitoring": { |
174 | | - "Enabled": true, |
175 | 190 | "Service": { |
176 | | - "Name": "CanBeYours.CanBeYours.AdminPanel", |
| 191 | + "Name": "Can.Be.Yours.AdminPanel", |
177 | 192 | "HealthCheckPath": "/health" |
178 | 193 | }, |
179 | 194 | "Logging": { |
180 | | - "Enabled": true, |
181 | | - "DaysRetentionLimit": 30, |
182 | 195 | "IncludeFormattedMessage": true, |
183 | 196 | "IncludeScopes": true, |
184 | 197 | "ParseStateValues": true, |
|
189 | 202 | "Hangfire.BackgroundJobServer": "Warning", |
190 | 203 | "Hangfire.Server.BackgroundServerProcess": "Warning" |
191 | 204 | } |
192 | | - }, |
193 | | - "Metric": { |
194 | | - "Enabled": true, |
195 | | - "DaysRetentionLimit": 30 |
196 | 205 | } |
197 | 206 | }, |
198 | 207 | "Security": { |
199 | | - "Enabled": true, |
| 208 | + "EncryptionSymmetricKey": "a7Fq9LmB2XrT4pWz6VcN8KdY", |
| 209 | + "SigningPrivateKeyPath": "GET_FROM_ENVIRONMENT_VARIABLE", |
200 | 210 | "RateLimiter": { |
201 | 211 | "Enabled": true, |
202 | 212 | "PermitLimit": 100, |
|
205 | 215 | "QueueProcessingOrder": "OldestFirst" |
206 | 216 | } |
207 | 217 | }, |
208 | | - "Pricing": { |
209 | | - "CurrencyCode": "USD", |
210 | | - "Plans": [ |
211 | | - { |
212 | | - "Category": "Tutorial_Packages", |
213 | | - "PlansSystemName": [ "Tutorial_Startup_Package" ] |
214 | | - }, |
215 | | - { |
216 | | - "Category": "CodeBlock_Licenses", |
217 | | - "PlansSystemName": [ "CodeBlock_Startup_License", "CodeBlock_Business_License", "CodeBlock_Enterprise_License" ] |
218 | | - }, |
219 | | - { |
220 | | - "Category": "CodeBlock_AI_Chatbot", |
221 | | - "PlansSystemName": [ "CodeBlock_AIChatbot_Basic", "CodeBlock_AIChatbot_Pro" ] |
222 | | - } |
223 | | - ] |
224 | | - }, |
225 | | - "Payment": { |
226 | | - "Stripe": { |
227 | | - "SecretKey": "sk_test_51QyLtkA9yU2rlRp4ZGM0s1wk6uToIf2iy9nTf7JRmMlnHZzrKBSPYPeiIa7WZM6tMHHacnCv55kCqCIqYZALFki300TRl2AgQr", |
228 | | - "PublishableKey": "pk_test_51QyLtkA9yU2rlRp4xClDo061jFXoVwt9MkBBINOhHxNNhsrlfndVHB1yN5xssHrxX0AUVa8843ahGadopARrGtea009f2r0Mod" |
229 | | - } |
230 | | - }, |
231 | 218 | "AIChatBot": { |
232 | | - "EncryptionPrivateKey": "a7Fq9LmB2XrT4pWz6VcN8KdY", |
233 | 219 | "QdrantDB": { |
234 | 220 | "Host": "localhost", |
235 | 221 | "Port": 6334, |
|
0 commit comments