diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-09-04 17:03:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-04 17:03:53 +0200 |
commit | f39cbe7d803245702885b308ab1cee4551aea9a1 (patch) | |
tree | 56d2e5dbe6242bb64b03ba5028b8bac39ea0c7ed /src/config.ts | |
parent | Use namespaces when pulling docker base images since this is reqd for podman (diff) | |
download | ferdium-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.ts | 28 |
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 | ||
28 | export const LOCAL_TODOS_FRONTEND_URL = 'http://localhost:4000'; | 28 | export const LOCAL_TODOS_FRONTEND_URL = 'http://localhost:4000'; |
29 | export const PRODUCTION_TODOS_FRONTEND_URL = 'https://app.franztodos.com'; | 29 | export const PRODUCTION_TODOS_FRONTEND_URL = 'https://app.franztodos.com'; |
30 | export const DEVELOPMENT_TODOS_FRONTEND_URL = 'https://development--franz-todos.netlify.com'; | 30 | export const DEVELOPMENT_TODOS_FRONTEND_URL = |
31 | 'https://development--franz-todos.netlify.com'; | ||
31 | 32 | ||
32 | export const CDN_URL = 'https://cdn.franzinfra.com'; | 33 | export const CDN_URL = 'https://cdn.franzinfra.com'; |
33 | 34 | ||
@@ -69,8 +70,10 @@ export const SEARCH_ENGINE_NAMES = { | |||
69 | }; | 70 | }; |
70 | 71 | ||
71 | export const SEARCH_ENGINE_URLS = { | 72 | export 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 | ||
76 | export const CUSTOM_TODO_SERVICE = 'isUsingCustomTodoService'; | 79 | export const CUSTOM_TODO_SERVICE = 'isUsingCustomTodoService'; |
@@ -83,7 +86,8 @@ const TODO_HABITICA_URL = 'https://habitica.com/login'; | |||
83 | const TODO_NOZBE_URL = 'https://app.nozbe.com/#login'; | 86 | const TODO_NOZBE_URL = 'https://app.nozbe.com/#login'; |
84 | const TODO_RTM_URL = 'https://www.rememberthemilk.com/login/'; | 87 | const TODO_RTM_URL = 'https://www.rememberthemilk.com/login/'; |
85 | const TODO_ANYDO_URL = 'https://desktop.any.do/'; | 88 | const TODO_ANYDO_URL = 'https://desktop.any.do/'; |
86 | const TODO_GOOGLETASKS_URL = 'https://tasks.google.com/embed/?origin=https%3A%2F%2Fcalendar.google.com&fullWidth=1'; | 89 | const TODO_GOOGLETASKS_URL = |
90 | 'https://tasks.google.com/embed/?origin=https%3A%2F%2Fcalendar.google.com&fullWidth=1'; | ||
87 | 91 | ||
88 | export const TODO_SERVICE_RECIPE_IDS = { | 92 | export 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 | ||
110 | export const DEFAULT_TODO_SERVICE = TODO_FRANZ_TODOS_URL; | 114 | export const DEFAULT_TODO_SERVICE = TODO_FRANZ_TODOS_URL; |
111 | export const DEFAULT_TODO_RECIPE_ID = TODO_SERVICE_RECIPE_IDS[DEFAULT_TODO_SERVICE]; | 115 | export const DEFAULT_TODO_RECIPE_ID = |
116 | TODO_SERVICE_RECIPE_IDS[DEFAULT_TODO_SERVICE]; | ||
112 | export const DEFAULT_TODO_SERVICE_NAME = TODO_APPS[DEFAULT_TODO_SERVICE]; | 117 | export const DEFAULT_TODO_SERVICE_NAME = TODO_APPS[DEFAULT_TODO_SERVICE]; |
113 | 118 | ||
114 | export const SIDEBAR_WIDTH = { | 119 | export const SIDEBAR_WIDTH = { |
@@ -135,7 +140,6 @@ export const iconSizeBias = 20; | |||
135 | 140 | ||
136 | export const DEFAULT_FEATURES_CONFIG = { | 141 | export 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'; | |||
158 | export const GITHUB_FERDI_REPO_NAME = 'ferdi'; | 162 | export const GITHUB_FERDI_REPO_NAME = 'ferdi'; |
159 | export const GITHUB_NIGHTLIES_REPO_NAME = 'nightlies'; | 163 | export const GITHUB_NIGHTLIES_REPO_NAME = 'nightlies'; |
160 | 164 | ||
161 | export const FILE_SYSTEM_SETTINGS_TYPES = [ | 165 | export const FILE_SYSTEM_SETTINGS_TYPES = ['app', 'proxy']; |
162 | 'app', | ||
163 | 'proxy', | ||
164 | ]; | ||
165 | 166 | ||
166 | export const LOCAL_SERVER = 'You are using Ferdi without a server'; | 167 | export const LOCAL_SERVER = 'You are using Ferdi without a server'; |
167 | export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED'; | 168 | export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED'; |
168 | 169 | ||
169 | export const ALLOWED_PROTOCOLS = [ | 170 | export const ALLOWED_PROTOCOLS = ['https:', 'http:', 'ftp:', 'ferdi:']; |
170 | 'https:', | ||
171 | 'http:', | ||
172 | 'ftp:', | ||
173 | 'ferdi:', | ||
174 | ]; | ||
175 | 171 | ||
176 | export const DEFAULT_SETTING_KEEP_ALL_WORKSPACES_LOADED = false; | 172 | export const DEFAULT_SETTING_KEEP_ALL_WORKSPACES_LOADED = false; |
177 | 173 | ||