aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.ts
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-09-04 17:03:53 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-04 17:03:53 +0200
commitf39cbe7d803245702885b308ab1cee4551aea9a1 (patch)
tree56d2e5dbe6242bb64b03ba5028b8bac39ea0c7ed /src/config.ts
parentUse namespaces when pulling docker base images since this is reqd for podman (diff)
downloadferdium-app-f39cbe7d803245702885b308ab1cee4551aea9a1.tar.gz
ferdium-app-f39cbe7d803245702885b308ab1cee4551aea9a1.tar.zst
ferdium-app-f39cbe7d803245702885b308ab1cee4551aea9a1.zip
chore: remove what's new functionality (#1864)
Diffstat (limited to 'src/config.ts')
-rw-r--r--src/config.ts28
1 files changed, 12 insertions, 16 deletions
diff --git a/src/config.ts b/src/config.ts
index 835d130da..7bb2525a5 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -27,7 +27,8 @@ export const STATS_API = 'https://stats.franzinfra.com';
27 27
28export const LOCAL_TODOS_FRONTEND_URL = 'http://localhost:4000'; 28export const LOCAL_TODOS_FRONTEND_URL = 'http://localhost:4000';
29export const PRODUCTION_TODOS_FRONTEND_URL = 'https://app.franztodos.com'; 29export const PRODUCTION_TODOS_FRONTEND_URL = 'https://app.franztodos.com';
30export const DEVELOPMENT_TODOS_FRONTEND_URL = 'https://development--franz-todos.netlify.com'; 30export const DEVELOPMENT_TODOS_FRONTEND_URL =
31 'https://development--franz-todos.netlify.com';
31 32
32export const CDN_URL = 'https://cdn.franzinfra.com'; 33export const CDN_URL = 'https://cdn.franzinfra.com';
33 34
@@ -69,8 +70,10 @@ export const SEARCH_ENGINE_NAMES = {
69}; 70};
70 71
71export const SEARCH_ENGINE_URLS = { 72export const SEARCH_ENGINE_URLS = {
72 [SEARCH_ENGINE_GOOGLE]: ({ searchTerm }) => `https://www.google.com/search?q=${searchTerm}`, 73 [SEARCH_ENGINE_GOOGLE]: ({ searchTerm }) =>
73 [SEARCH_ENGINE_DDG]: ({ searchTerm }) => `https://duckduckgo.com/?q=${searchTerm}`, 74 `https://www.google.com/search?q=${searchTerm}`,
75 [SEARCH_ENGINE_DDG]: ({ searchTerm }) =>
76 `https://duckduckgo.com/?q=${searchTerm}`,
74}; 77};
75 78
76export const CUSTOM_TODO_SERVICE = 'isUsingCustomTodoService'; 79export const CUSTOM_TODO_SERVICE = 'isUsingCustomTodoService';
@@ -83,7 +86,8 @@ const TODO_HABITICA_URL = 'https://habitica.com/login';
83const TODO_NOZBE_URL = 'https://app.nozbe.com/#login'; 86const TODO_NOZBE_URL = 'https://app.nozbe.com/#login';
84const TODO_RTM_URL = 'https://www.rememberthemilk.com/login/'; 87const TODO_RTM_URL = 'https://www.rememberthemilk.com/login/';
85const TODO_ANYDO_URL = 'https://desktop.any.do/'; 88const TODO_ANYDO_URL = 'https://desktop.any.do/';
86const TODO_GOOGLETASKS_URL = 'https://tasks.google.com/embed/?origin=https%3A%2F%2Fcalendar.google.com&fullWidth=1'; 89const TODO_GOOGLETASKS_URL =
90 'https://tasks.google.com/embed/?origin=https%3A%2F%2Fcalendar.google.com&fullWidth=1';
87 91
88export const TODO_SERVICE_RECIPE_IDS = { 92export const TODO_SERVICE_RECIPE_IDS = {
89 [TODO_TODOIST_URL]: 'todoist', 93 [TODO_TODOIST_URL]: 'todoist',
@@ -108,7 +112,8 @@ export const TODO_APPS = {
108}; 112};
109 113
110export const DEFAULT_TODO_SERVICE = TODO_FRANZ_TODOS_URL; 114export const DEFAULT_TODO_SERVICE = TODO_FRANZ_TODOS_URL;
111export const DEFAULT_TODO_RECIPE_ID = TODO_SERVICE_RECIPE_IDS[DEFAULT_TODO_SERVICE]; 115export const DEFAULT_TODO_RECIPE_ID =
116 TODO_SERVICE_RECIPE_IDS[DEFAULT_TODO_SERVICE];
112export const DEFAULT_TODO_SERVICE_NAME = TODO_APPS[DEFAULT_TODO_SERVICE]; 117export const DEFAULT_TODO_SERVICE_NAME = TODO_APPS[DEFAULT_TODO_SERVICE];
113 118
114export const SIDEBAR_WIDTH = { 119export const SIDEBAR_WIDTH = {
@@ -135,7 +140,6 @@ export const iconSizeBias = 20;
135 140
136export const DEFAULT_FEATURES_CONFIG = { 141export const DEFAULT_FEATURES_CONFIG = {
137 isServiceProxyEnabled: true, 142 isServiceProxyEnabled: true,
138 isAnnouncementsEnabled: true,
139 isWorkspaceEnabled: true, 143 isWorkspaceEnabled: true,
140 isTodosEnabled: true, 144 isTodosEnabled: true,
141 isSettingsWSEnabled: false, 145 isSettingsWSEnabled: false,
@@ -158,20 +162,12 @@ export const GITHUB_ORG_NAME = 'getferdi';
158export const GITHUB_FERDI_REPO_NAME = 'ferdi'; 162export const GITHUB_FERDI_REPO_NAME = 'ferdi';
159export const GITHUB_NIGHTLIES_REPO_NAME = 'nightlies'; 163export const GITHUB_NIGHTLIES_REPO_NAME = 'nightlies';
160 164
161export const FILE_SYSTEM_SETTINGS_TYPES = [ 165export const FILE_SYSTEM_SETTINGS_TYPES = ['app', 'proxy'];
162 'app',
163 'proxy',
164];
165 166
166export const LOCAL_SERVER = 'You are using Ferdi without a server'; 167export const LOCAL_SERVER = 'You are using Ferdi without a server';
167export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED'; 168export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED';
168 169
169export const ALLOWED_PROTOCOLS = [ 170export const ALLOWED_PROTOCOLS = ['https:', 'http:', 'ftp:', 'ferdi:'];
170 'https:',
171 'http:',
172 'ftp:',
173 'ferdi:',
174];
175 171
176export const DEFAULT_SETTING_KEEP_ALL_WORKSPACES_LOADED = false; 172export const DEFAULT_SETTING_KEEP_ALL_WORKSPACES_LOADED = false;
177 173