aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.ts')
-rw-r--r--src/config.ts23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/config.ts b/src/config.ts
index d8b028104..5b9a5eaba 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -27,12 +27,8 @@ export const LIVE_API_FERDIUM_WEBSITE = 'https://ferdium.org';
27export const LIVE_API_FERDIUM_LIBRETRANSLATE = 27export const LIVE_API_FERDIUM_LIBRETRANSLATE =
28 'https://translator.ferdium.org/translate'; 28 'https://translator.ferdium.org/translate';
29 29
30export const STATS_API = 'https://stats.franzinfra.com';
31
32export const LOCAL_TODOS_FRONTEND_URL = 'http://localhost:4000'; 30export const LOCAL_TODOS_FRONTEND_URL = 'http://localhost:4000';
33export const PRODUCTION_TODOS_FRONTEND_URL = 'https://app.franztodos.com'; 31export const PRODUCTION_TODOS_FRONTEND_URL = 'https://app.franztodos.com';
34export const DEVELOPMENT_TODOS_FRONTEND_URL =
35 'https://development--franz-todos.netlify.com';
36 32
37export const CDN_URL = 'https://cdn.franzinfra.com'; 33export const CDN_URL = 'https://cdn.franzinfra.com';
38 34
@@ -282,11 +278,6 @@ export const TODO_APPS = {
282 [CUSTOM_TODO_SERVICE]: 'Other service', 278 [CUSTOM_TODO_SERVICE]: 'Other service',
283}; 279};
284 280
285export const DEFAULT_TODO_SERVICE = TODO_TODOIST_URL;
286export const DEFAULT_TODO_RECIPE_ID =
287 TODO_SERVICE_RECIPE_IDS[DEFAULT_TODO_SERVICE];
288export const DEFAULT_TODO_SERVICE_NAME = TODO_APPS[DEFAULT_TODO_SERVICE];
289
290export const SIDEBAR_WIDTH = { 281export const SIDEBAR_WIDTH = {
291 35: 'Extremely slim sidebar', 282 35: 'Extremely slim sidebar',
292 45: 'Very slim sidebar', 283 45: 'Very slim sidebar',
@@ -329,7 +320,8 @@ export const GITHUB_FRANZ_URL = 'https://github.com/meetfranz';
329export const GITHUB_FERDIUM_URL = 'https://github.com/ferdium'; 320export const GITHUB_FERDIUM_URL = 'https://github.com/ferdium';
330export const FERDIUM_SERVICE_REQUEST = `${GITHUB_FERDIUM_URL}/ferdium-app/issues`; 321export const FERDIUM_SERVICE_REQUEST = `${GITHUB_FERDIUM_URL}/ferdium-app/issues`;
331export const FERDIUM_TRANSLATION = 'https://crowdin.com/project/ferdium-app'; 322export const FERDIUM_TRANSLATION = 'https://crowdin.com/project/ferdium-app';
332export const FRANZ_DEV_DOCS = 'http://bit.ly/franz-dev-hub'; 323export const FERDIUM_DEV_DOCS =
324 'https://github.com/ferdium/ferdium-recipes/blob/main/docs/integration.md';
333 325
334export const FILE_SYSTEM_SETTINGS_TYPES = ['app', 'proxy']; 326export const FILE_SYSTEM_SETTINGS_TYPES = ['app', 'proxy'];
335 327
@@ -351,6 +343,8 @@ export const DEFAULT_SERVICE_ORDER = 99; // something high enough that it gets a
351export const SPLIT_COLUMNS_MIN = 1; 343export const SPLIT_COLUMNS_MIN = 1;
352export const SPLIT_COLUMNS_MAX = 5; 344export const SPLIT_COLUMNS_MAX = 5;
353 345
346export const DEFAULT_LOADER_COLOR = '#FFFFFF';
347
354export const DEFAULT_APP_SETTINGS = { 348export const DEFAULT_APP_SETTINGS = {
355 autoLaunchOnStart: false, 349 autoLaunchOnStart: false,
356 autoLaunchInBackground: false, 350 autoLaunchInBackground: false,
@@ -366,6 +360,8 @@ export const DEFAULT_APP_SETTINGS = {
366 clipboardNotifications: true, 360 clipboardNotifications: true,
367 notifyTaskBarOnMessage: false, 361 notifyTaskBarOnMessage: false,
368 showDisabledServices: true, 362 showDisabledServices: true,
363 isTwoFactorAutoCatcherEnabled: false,
364 twoFactorAutoCatcherMatcher: 'token, code, sms, verify',
369 showServiceName: false, 365 showServiceName: false,
370 showMessageBadgeWhenMuted: true, 366 showMessageBadgeWhenMuted: true,
371 showDragArea: false, 367 showDragArea: false,
@@ -384,9 +380,9 @@ export const DEFAULT_APP_SETTINGS = {
384 380
385 // Ferdium specific options 381 // Ferdium specific options
386 server: LIVE_FERDIUM_API, 382 server: LIVE_FERDIUM_API,
387 predefinedTodoServer: DEFAULT_TODO_SERVICE, 383 predefinedTodoServer: TODO_TODOIST_URL,
388 autohideMenuBar: false, 384 autohideMenuBar: false,
389 lockingFeatureEnabled: false, 385 isLockingFeatureEnabled: false,
390 locked: false, 386 locked: false,
391 lockedPassword: '', 387 lockedPassword: '',
392 useTouchIdToUnlock: true, 388 useTouchIdToUnlock: true,
@@ -432,6 +428,7 @@ export const DEFAULT_APP_SETTINGS = {
432 customTodoServer: '', 428 customTodoServer: '',
433 locale: 'en-US', 429 locale: 'en-US',
434 keepAllWorkspacesLoaded: false, 430 keepAllWorkspacesLoaded: false,
431 useSelfSignedCertificates: false,
435}; 432};
436 433
437export const DEFAULT_SERVICE_SETTINGS = { 434export const DEFAULT_SERVICE_SETTINGS = {
@@ -457,7 +454,7 @@ export const DEFAULT_SERVICE_SETTINGS = {
457 disablewebsecurity: false, 454 disablewebsecurity: false,
458 spellcheckerLanguage: false, 455 spellcheckerLanguage: false,
459 onlyShowFavoritesInUnreadCount: false, 456 onlyShowFavoritesInUnreadCount: false,
460 proxyFeatureEnabled: false, 457 isProxyFeatureEnabled: false,
461 proxyHost: '', 458 proxyHost: '',
462 proxyPort: 0, 459 proxyPort: 0,
463 proxyUser: '', 460 proxyUser: '',