diff options
Diffstat (limited to 'src')
41 files changed, 42 insertions, 42 deletions
diff --git a/src/api/server/LocalApi.js b/src/api/server/LocalApi.js index ab1604a27..c4abc00e9 100644 --- a/src/api/server/LocalApi.js +++ b/src/api/server/LocalApi.js | |||
@@ -3,7 +3,7 @@ import du from 'du'; | |||
3 | 3 | ||
4 | import { getServicePartitionsDirectory } from '../../helpers/service-helpers.js'; | 4 | import { getServicePartitionsDirectory } from '../../helpers/service-helpers.js'; |
5 | 5 | ||
6 | const debug = require('debug')('Franz:LocalApi'); | 6 | const debug = require('debug')('Ferdi:LocalApi'); |
7 | 7 | ||
8 | const { session } = remote; | 8 | const { session } = remote; |
9 | 9 | ||
diff --git a/src/api/server/ServerApi.js b/src/api/server/ServerApi.js index d83c6e15b..3d973e586 100644 --- a/src/api/server/ServerApi.js +++ b/src/api/server/ServerApi.js | |||
@@ -28,7 +28,7 @@ import { | |||
28 | removeServicePartitionDirectory, | 28 | removeServicePartitionDirectory, |
29 | } from '../../helpers/service-helpers.js'; | 29 | } from '../../helpers/service-helpers.js'; |
30 | 30 | ||
31 | const debug = require('debug')('Franz:ServerApi'); | 31 | const debug = require('debug')('Ferdi:ServerApi'); |
32 | 32 | ||
33 | module.paths.unshift( | 33 | module.paths.unshift( |
34 | getDevRecipeDirectory(), | 34 | getDevRecipeDirectory(), |
diff --git a/src/electron/Settings.js b/src/electron/Settings.js index 63f43b6b7..95e3dcfa4 100644 --- a/src/electron/Settings.js +++ b/src/electron/Settings.js | |||
@@ -4,7 +4,7 @@ import path from 'path'; | |||
4 | 4 | ||
5 | import { SETTINGS_PATH } from '../config'; | 5 | import { SETTINGS_PATH } from '../config'; |
6 | 6 | ||
7 | const debug = require('debug')('Franz:Settings'); | 7 | const debug = require('debug')('Ferdi:Settings'); |
8 | 8 | ||
9 | export default class Settings { | 9 | export default class Settings { |
10 | type = ''; | 10 | type = ''; |
diff --git a/src/electron/ipc-api/autoUpdate.js b/src/electron/ipc-api/autoUpdate.js index 9a04c1958..6a3314b2b 100644 --- a/src/electron/ipc-api/autoUpdate.js +++ b/src/electron/ipc-api/autoUpdate.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { app, ipcMain } from 'electron'; | 1 | import { app, ipcMain } from 'electron'; |
2 | import { autoUpdater } from 'electron-updater'; | 2 | import { autoUpdater } from 'electron-updater'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:ipcApi:autoUpdate'); | 4 | const debug = require('debug')('Ferdi:ipcApi:autoUpdate'); |
5 | 5 | ||
6 | export default (params) => { | 6 | export default (params) => { |
7 | if (process.platform === 'darwin' || process.platform === 'win32' || process.env.APPIMAGE) { | 7 | if (process.platform === 'darwin' || process.platform === 'win32' || process.env.APPIMAGE) { |
diff --git a/src/electron/ipc-api/download.js b/src/electron/ipc-api/download.js index e6703af2d..01b81d388 100644 --- a/src/electron/ipc-api/download.js +++ b/src/electron/ipc-api/download.js | |||
@@ -3,7 +3,7 @@ import { download } from 'electron-dl'; | |||
3 | import mime from 'mime-types'; | 3 | import mime from 'mime-types'; |
4 | import fs from 'fs-extra'; | 4 | import fs from 'fs-extra'; |
5 | 5 | ||
6 | const debug = require('debug')('Franz:ipcApi:download'); | 6 | const debug = require('debug')('Ferdi:ipcApi:download'); |
7 | 7 | ||
8 | function decodeBase64Image(dataString) { | 8 | function decodeBase64Image(dataString) { |
9 | const matches = dataString.match(/^data:([A-Za-z-+/]+);base64,(.+)$/); | 9 | const matches = dataString.match(/^data:([A-Za-z-+/]+);base64,(.+)$/); |
diff --git a/src/features/announcements/api.js b/src/features/announcements/api.js index eadb7dfce..a7995d6db 100644 --- a/src/features/announcements/api.js +++ b/src/features/announcements/api.js | |||
@@ -2,7 +2,7 @@ import { remote } from 'electron'; | |||
2 | import Request from '../../stores/lib/Request'; | 2 | import Request from '../../stores/lib/Request'; |
3 | import apiBase from '../../api/apiBase'; | 3 | import apiBase from '../../api/apiBase'; |
4 | 4 | ||
5 | const debug = require('debug')('Franz:feature:announcements:api'); | 5 | const debug = require('debug')('Ferdi:feature:announcements:api'); |
6 | 6 | ||
7 | export const announcementsApi = { | 7 | export const announcementsApi = { |
8 | async getCurrentVersion() { | 8 | async getCurrentVersion() { |
diff --git a/src/features/announcements/index.js b/src/features/announcements/index.js index f14e7c9a5..42823e74c 100644 --- a/src/features/announcements/index.js +++ b/src/features/announcements/index.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { reaction } from 'mobx'; | 1 | import { reaction } from 'mobx'; |
2 | import { AnnouncementsStore } from './store'; | 2 | import { AnnouncementsStore } from './store'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:feature:announcements'); | 4 | const debug = require('debug')('Ferdi:feature:announcements'); |
5 | 5 | ||
6 | export const GA_CATEGORY_ANNOUNCEMENTS = 'Announcements'; | 6 | export const GA_CATEGORY_ANNOUNCEMENTS = 'Announcements'; |
7 | 7 | ||
diff --git a/src/features/announcements/store.js b/src/features/announcements/store.js index 91348029f..9ec5f67d2 100644 --- a/src/features/announcements/store.js +++ b/src/features/announcements/store.js | |||
@@ -17,7 +17,7 @@ import { DEFAULT_APP_SETTINGS } from '../../config'; | |||
17 | 17 | ||
18 | const LOCAL_STORAGE_KEY = 'announcements'; | 18 | const LOCAL_STORAGE_KEY = 'announcements'; |
19 | 19 | ||
20 | const debug = require('debug')('Franz:feature:announcements:store'); | 20 | const debug = require('debug')('Ferdi:feature:announcements:store'); |
21 | 21 | ||
22 | export class AnnouncementsStore extends FeatureStore { | 22 | export class AnnouncementsStore extends FeatureStore { |
23 | @observable targetVersion = null; | 23 | @observable targetVersion = null; |
diff --git a/src/features/basicAuth/index.js b/src/features/basicAuth/index.js index a8c93875e..51625ea55 100644 --- a/src/features/basicAuth/index.js +++ b/src/features/basicAuth/index.js | |||
@@ -3,7 +3,7 @@ import { observable } from 'mobx'; | |||
3 | 3 | ||
4 | import BasicAuthComponent from './Component'; | 4 | import BasicAuthComponent from './Component'; |
5 | 5 | ||
6 | const debug = require('debug')('Franz:feature:basicAuth'); | 6 | const debug = require('debug')('Ferdi:feature:basicAuth'); |
7 | 7 | ||
8 | const defaultState = { | 8 | const defaultState = { |
9 | isModalVisible: true, | 9 | isModalVisible: true, |
diff --git a/src/features/basicAuth/mainIpcHandler.js b/src/features/basicAuth/mainIpcHandler.js index 87ac0b6df..ae4e7cf93 100644 --- a/src/features/basicAuth/mainIpcHandler.js +++ b/src/features/basicAuth/mainIpcHandler.js | |||
@@ -1,4 +1,4 @@ | |||
1 | const debug = require('debug')('Franz:feature:basicAuth:main'); | 1 | const debug = require('debug')('Ferdi:feature:basicAuth:main'); |
2 | 2 | ||
3 | export default function mainIpcHandler(mainWindow, authInfo) { | 3 | export default function mainIpcHandler(mainWindow, authInfo) { |
4 | debug('Sending basic auth call', authInfo); | 4 | debug('Sending basic auth call', authInfo); |
diff --git a/src/features/communityRecipes/index.js b/src/features/communityRecipes/index.js index 4d050f90e..608164b68 100644 --- a/src/features/communityRecipes/index.js +++ b/src/features/communityRecipes/index.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { reaction } from 'mobx'; | 1 | import { reaction } from 'mobx'; |
2 | import { CommunityRecipesStore } from './store'; | 2 | import { CommunityRecipesStore } from './store'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:feature:communityRecipes'); | 4 | const debug = require('debug')('Ferdi:feature:communityRecipes'); |
5 | 5 | ||
6 | export const DEFAULT_SERVICE_LIMIT = 3; | 6 | export const DEFAULT_SERVICE_LIMIT = 3; |
7 | 7 | ||
diff --git a/src/features/communityRecipes/store.js b/src/features/communityRecipes/store.js index 4d45c3b33..6f78999a0 100644 --- a/src/features/communityRecipes/store.js +++ b/src/features/communityRecipes/store.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { computed, observable } from 'mobx'; | 1 | import { computed, observable } from 'mobx'; |
2 | import { FeatureStore } from '../utils/FeatureStore'; | 2 | import { FeatureStore } from '../utils/FeatureStore'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:feature:communityRecipes:store'); | 4 | const debug = require('debug')('Ferdi:feature:communityRecipes:store'); |
5 | 5 | ||
6 | export class CommunityRecipesStore extends FeatureStore { | 6 | export class CommunityRecipesStore extends FeatureStore { |
7 | @observable isCommunityRecipesIncludedInCurrentPlan = false; | 7 | @observable isCommunityRecipesIncludedInCurrentPlan = false; |
diff --git a/src/features/delayApp/index.js b/src/features/delayApp/index.js index 4f793f16c..a80ea4c72 100644 --- a/src/features/delayApp/index.js +++ b/src/features/delayApp/index.js | |||
@@ -4,7 +4,7 @@ import DelayAppComponent from './Component'; | |||
4 | 4 | ||
5 | import { DEFAULT_FEATURES_CONFIG } from '../../config'; | 5 | import { DEFAULT_FEATURES_CONFIG } from '../../config'; |
6 | 6 | ||
7 | const debug = require('debug')('Franz:feature:delayApp'); | 7 | const debug = require('debug')('Ferdi:feature:delayApp'); |
8 | 8 | ||
9 | export const config = { | 9 | export const config = { |
10 | delayOffset: DEFAULT_FEATURES_CONFIG.needToWaitToProceedConfig.delayOffset, | 10 | delayOffset: DEFAULT_FEATURES_CONFIG.needToWaitToProceedConfig.delayOffset, |
diff --git a/src/features/serviceLimit/index.js b/src/features/serviceLimit/index.js index 92ad8bb98..fa93bb615 100644 --- a/src/features/serviceLimit/index.js +++ b/src/features/serviceLimit/index.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { reaction } from 'mobx'; | 1 | import { reaction } from 'mobx'; |
2 | import { ServiceLimitStore } from './store'; | 2 | import { ServiceLimitStore } from './store'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:feature:serviceLimit'); | 4 | const debug = require('debug')('Ferdi:feature:serviceLimit'); |
5 | 5 | ||
6 | export const DEFAULT_SERVICE_LIMIT = 3; | 6 | export const DEFAULT_SERVICE_LIMIT = 3; |
7 | 7 | ||
diff --git a/src/features/serviceLimit/store.js b/src/features/serviceLimit/store.js index 9c4b5ef1a..6510e2872 100644 --- a/src/features/serviceLimit/store.js +++ b/src/features/serviceLimit/store.js | |||
@@ -2,7 +2,7 @@ import { computed, observable } from 'mobx'; | |||
2 | import { FeatureStore } from '../utils/FeatureStore'; | 2 | import { FeatureStore } from '../utils/FeatureStore'; |
3 | import { DEFAULT_SERVICE_LIMIT } from '.'; | 3 | import { DEFAULT_SERVICE_LIMIT } from '.'; |
4 | 4 | ||
5 | const debug = require('debug')('Franz:feature:serviceLimit:store'); | 5 | const debug = require('debug')('Ferdi:feature:serviceLimit:store'); |
6 | 6 | ||
7 | export class ServiceLimitStore extends FeatureStore { | 7 | export class ServiceLimitStore extends FeatureStore { |
8 | @observable isServiceLimitEnabled = false; | 8 | @observable isServiceLimitEnabled = false; |
diff --git a/src/features/serviceProxy/index.js b/src/features/serviceProxy/index.js index a71076fd6..e9a01b156 100644 --- a/src/features/serviceProxy/index.js +++ b/src/features/serviceProxy/index.js | |||
@@ -5,7 +5,7 @@ import { remote } from 'electron'; | |||
5 | 5 | ||
6 | const { session } = remote; | 6 | const { session } = remote; |
7 | 7 | ||
8 | const debug = require('debug')('Franz:feature:serviceProxy'); | 8 | const debug = require('debug')('Ferdi:feature:serviceProxy'); |
9 | 9 | ||
10 | export const config = observable({ | 10 | export const config = observable({ |
11 | isEnabled: true, | 11 | isEnabled: true, |
diff --git a/src/features/settingsWS/index.js b/src/features/settingsWS/index.js index 2064d2973..6711296da 100755 --- a/src/features/settingsWS/index.js +++ b/src/features/settingsWS/index.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { reaction } from 'mobx'; | 1 | import { reaction } from 'mobx'; |
2 | import { SettingsWSStore } from './store'; | 2 | import { SettingsWSStore } from './store'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:feature:settingsWS'); | 4 | const debug = require('debug')('Ferdi:feature:settingsWS'); |
5 | 5 | ||
6 | export const settingsStore = new SettingsWSStore(); | 6 | export const settingsStore = new SettingsWSStore(); |
7 | 7 | ||
diff --git a/src/features/settingsWS/store.js b/src/features/settingsWS/store.js index 167a70d10..9100f33d1 100755 --- a/src/features/settingsWS/store.js +++ b/src/features/settingsWS/store.js | |||
@@ -6,7 +6,7 @@ import { FeatureStore } from '../utils/FeatureStore'; | |||
6 | import { createReactions } from '../../stores/lib/Reaction'; | 6 | import { createReactions } from '../../stores/lib/Reaction'; |
7 | import { WS_API } from '../../environment'; | 7 | import { WS_API } from '../../environment'; |
8 | 8 | ||
9 | const debug = require('debug')('Franz:feature:settingsWS:store'); | 9 | const debug = require('debug')('Ferdi:feature:settingsWS:store'); |
10 | 10 | ||
11 | export class SettingsWSStore extends FeatureStore { | 11 | export class SettingsWSStore extends FeatureStore { |
12 | stores = null; | 12 | stores = null; |
diff --git a/src/features/shareFranz/index.js b/src/features/shareFranz/index.js index d611a7e1d..217e926f9 100644 --- a/src/features/shareFranz/index.js +++ b/src/features/shareFranz/index.js | |||
@@ -5,7 +5,7 @@ import { state as delayAppState } from '../delayApp'; | |||
5 | 5 | ||
6 | export { default as Component } from './Component'; | 6 | export { default as Component } from './Component'; |
7 | 7 | ||
8 | const debug = require('debug')('Franz:feature:shareFranz'); | 8 | const debug = require('debug')('Ferdi:feature:shareFranz'); |
9 | 9 | ||
10 | const defaultState = { | 10 | const defaultState = { |
11 | isModalVisible: false, | 11 | isModalVisible: false, |
diff --git a/src/features/spellchecker/index.js b/src/features/spellchecker/index.js index 8a685993f..6a393e250 100644 --- a/src/features/spellchecker/index.js +++ b/src/features/spellchecker/index.js | |||
@@ -2,7 +2,7 @@ import { autorun, observable } from 'mobx'; | |||
2 | 2 | ||
3 | import { DEFAULT_FEATURES_CONFIG } from '../../config'; | 3 | import { DEFAULT_FEATURES_CONFIG } from '../../config'; |
4 | 4 | ||
5 | const debug = require('debug')('Franz:feature:spellchecker'); | 5 | const debug = require('debug')('Ferdi:feature:spellchecker'); |
6 | 6 | ||
7 | export const config = observable({ | 7 | export const config = observable({ |
8 | isIncludedInCurrentPlan: DEFAULT_FEATURES_CONFIG.isSpellcheckerIncludedInCurrentPlan, | 8 | isIncludedInCurrentPlan: DEFAULT_FEATURES_CONFIG.isSpellcheckerIncludedInCurrentPlan, |
diff --git a/src/features/todos/index.js b/src/features/todos/index.js index 7388aebaf..9f355e9ba 100644 --- a/src/features/todos/index.js +++ b/src/features/todos/index.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { reaction } from 'mobx'; | 1 | import { reaction } from 'mobx'; |
2 | import TodoStore from './store'; | 2 | import TodoStore from './store'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:feature:todos'); | 4 | const debug = require('debug')('Ferdi:feature:todos'); |
5 | 5 | ||
6 | export const GA_CATEGORY_TODOS = 'Todos'; | 6 | export const GA_CATEGORY_TODOS = 'Todos'; |
7 | 7 | ||
diff --git a/src/features/todos/preload.js b/src/features/todos/preload.js index 6e38a2ef3..412b775af 100644 --- a/src/features/todos/preload.js +++ b/src/features/todos/preload.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { ipcRenderer } from 'electron'; | 1 | import { ipcRenderer } from 'electron'; |
2 | import { IPC } from './constants'; | 2 | import { IPC } from './constants'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:feature:todos:preload'); | 4 | const debug = require('debug')('Ferdi:feature:todos:preload'); |
5 | 5 | ||
6 | debug('Preloading Todos Webview'); | 6 | debug('Preloading Todos Webview'); |
7 | 7 | ||
diff --git a/src/features/todos/store.js b/src/features/todos/store.js index 05eef4ec1..70818f9b8 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js | |||
@@ -16,7 +16,7 @@ import { | |||
16 | import { IPC } from './constants'; | 16 | import { IPC } from './constants'; |
17 | import { state as delayAppState } from '../delayApp'; | 17 | import { state as delayAppState } from '../delayApp'; |
18 | 18 | ||
19 | const debug = require('debug')('Franz:feature:todos:store'); | 19 | const debug = require('debug')('Ferdi:feature:todos:store'); |
20 | 20 | ||
21 | export default class TodoStore extends FeatureStore { | 21 | export default class TodoStore extends FeatureStore { |
22 | @observable isFeatureEnabled = false; | 22 | @observable isFeatureEnabled = false; |
diff --git a/src/features/workspaces/api.js b/src/features/workspaces/api.js index b8893363f..30fbd84be 100644 --- a/src/features/workspaces/api.js +++ b/src/features/workspaces/api.js | |||
@@ -4,7 +4,7 @@ import Request from '../../stores/lib/Request'; | |||
4 | import Workspace from './models/Workspace'; | 4 | import Workspace from './models/Workspace'; |
5 | import apiBase from '../../api/apiBase'; | 5 | import apiBase from '../../api/apiBase'; |
6 | 6 | ||
7 | const debug = require('debug')('Franz:feature:workspaces:api'); | 7 | const debug = require('debug')('Ferdi:feature:workspaces:api'); |
8 | 8 | ||
9 | export const workspaceApi = { | 9 | export const workspaceApi = { |
10 | getUserWorkspaces: async () => { | 10 | getUserWorkspaces: async () => { |
diff --git a/src/features/workspaces/index.js b/src/features/workspaces/index.js index ad9023b8b..1947053df 100644 --- a/src/features/workspaces/index.js +++ b/src/features/workspaces/index.js | |||
@@ -2,7 +2,7 @@ import { reaction } from 'mobx'; | |||
2 | import WorkspacesStore from './store'; | 2 | import WorkspacesStore from './store'; |
3 | import { resetApiRequests } from './api'; | 3 | import { resetApiRequests } from './api'; |
4 | 4 | ||
5 | const debug = require('debug')('Franz:feature:workspaces'); | 5 | const debug = require('debug')('Ferdi:feature:workspaces'); |
6 | 6 | ||
7 | export const GA_CATEGORY_WORKSPACES = 'Workspaces'; | 7 | export const GA_CATEGORY_WORKSPACES = 'Workspaces'; |
8 | 8 | ||
diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index bdec530ec..1ad136a13 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js | |||
@@ -17,7 +17,7 @@ import { WORKSPACES_ROUTES } from './index'; | |||
17 | import { createReactions } from '../../stores/lib/Reaction'; | 17 | import { createReactions } from '../../stores/lib/Reaction'; |
18 | import { createActionBindings } from '../utils/ActionBinding'; | 18 | import { createActionBindings } from '../utils/ActionBinding'; |
19 | 19 | ||
20 | const debug = require('debug')('Franz:feature:workspaces:store'); | 20 | const debug = require('debug')('Ferdi:feature:workspaces:store'); |
21 | 21 | ||
22 | export default class WorkspacesStore extends FeatureStore { | 22 | export default class WorkspacesStore extends FeatureStore { |
23 | @observable isFeatureEnabled = true; | 23 | @observable isFeatureEnabled = true; |
diff --git a/src/helpers/url-helpers.js b/src/helpers/url-helpers.js index 750d1f00c..2f429a25c 100644 --- a/src/helpers/url-helpers.js +++ b/src/helpers/url-helpers.js | |||
@@ -2,7 +2,7 @@ import { URL } from 'url'; | |||
2 | 2 | ||
3 | import { ALLOWED_PROTOCOLS } from '../config'; | 3 | import { ALLOWED_PROTOCOLS } from '../config'; |
4 | 4 | ||
5 | const debug = require('debug')('Franz:Helpers:url'); | 5 | const debug = require('debug')('Ferdi:Helpers:url'); |
6 | 6 | ||
7 | export function isValidExternalURL(url) { | 7 | export function isValidExternalURL(url) { |
8 | const parsedUrl = new URL(url); | 8 | const parsedUrl = new URL(url); |
diff --git a/src/index.html b/src/index.html index 198c1ab7b..7f223b662 100644 --- a/src/index.html +++ b/src/index.html | |||
@@ -1,7 +1,7 @@ | |||
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html lang="en"> | 2 | <html lang="en"> |
3 | <head> | 3 | <head> |
4 | <title>Franz</title> | 4 | <title>Ferdi</title> |
5 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | 5 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
6 | <link rel="stylesheet" type="text/css" href="./styles/main.css" /> | 6 | <link rel="stylesheet" type="text/css" href="./styles/main.css" /> |
7 | <script type="text/javascript" src="./app.js"></script> | 7 | <script type="text/javascript" src="./app.js"></script> |
diff --git a/src/index.js b/src/index.js index 839f607f6..73fc6e299 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -37,7 +37,7 @@ import { asarPath } from './helpers/asar-helpers'; | |||
37 | import { isValidExternalURL } from './helpers/url-helpers'; | 37 | import { isValidExternalURL } from './helpers/url-helpers'; |
38 | /* eslint-enable import/first */ | 38 | /* eslint-enable import/first */ |
39 | 39 | ||
40 | const debug = require('debug')('Franz:App'); | 40 | const debug = require('debug')('Ferdi:App'); |
41 | 41 | ||
42 | // Keep a global reference of the window object, if you don't, the window will | 42 | // Keep a global reference of the window object, if you don't, the window will |
43 | // be closed automatically when the JavaScript object is garbage collected. | 43 | // be closed automatically when the JavaScript object is garbage collected. |
diff --git a/src/models/Service.js b/src/models/Service.js index 2303512af..b48233237 100644 --- a/src/models/Service.js +++ b/src/models/Service.js | |||
@@ -2,7 +2,7 @@ import { computed, observable, autorun } from 'mobx'; | |||
2 | import path from 'path'; | 2 | import path from 'path'; |
3 | import normalizeUrl from 'normalize-url'; | 3 | import normalizeUrl from 'normalize-url'; |
4 | 4 | ||
5 | const debug = require('debug')('Franz:Service'); | 5 | const debug = require('debug')('Ferdi:Service'); |
6 | 6 | ||
7 | export const RESTRICTION_TYPES = { | 7 | export const RESTRICTION_TYPES = { |
8 | SERVICE_LIMIT: 0, | 8 | SERVICE_LIMIT: 0, |
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 61b63d52e..5bae6e8d4 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -23,7 +23,7 @@ import { getLocale } from '../helpers/i18n-helpers'; | |||
23 | import { getServiceIdsFromPartitions, removeServicePartitionDirectory } from '../helpers/service-helpers.js'; | 23 | import { getServiceIdsFromPartitions, removeServicePartitionDirectory } from '../helpers/service-helpers.js'; |
24 | import { isValidExternalURL } from '../helpers/url-helpers'; | 24 | import { isValidExternalURL } from '../helpers/url-helpers'; |
25 | 25 | ||
26 | const debug = require('debug')('Franz:AppStore'); | 26 | const debug = require('debug')('Ferdi:AppStore'); |
27 | 27 | ||
28 | const { app, systemPreferences, screen } = remote; | 28 | const { app, systemPreferences, screen } = remote; |
29 | 29 | ||
@@ -31,7 +31,7 @@ const mainWindow = remote.getCurrentWindow(); | |||
31 | 31 | ||
32 | const defaultLocale = DEFAULT_APP_SETTINGS.locale; | 32 | const defaultLocale = DEFAULT_APP_SETTINGS.locale; |
33 | const autoLauncher = new AutoLaunch({ | 33 | const autoLauncher = new AutoLaunch({ |
34 | name: 'Franz', | 34 | name: 'Ferdi', |
35 | }); | 35 | }); |
36 | 36 | ||
37 | export default class AppStore extends Store { | 37 | export default class AppStore extends Store { |
diff --git a/src/stores/RecipesStore.js b/src/stores/RecipesStore.js index d51192078..7f91049df 100644 --- a/src/stores/RecipesStore.js +++ b/src/stores/RecipesStore.js | |||
@@ -5,7 +5,7 @@ import CachedRequest from './lib/CachedRequest'; | |||
5 | import Request from './lib/Request'; | 5 | import Request from './lib/Request'; |
6 | import { matchRoute } from '../helpers/routing-helpers'; | 6 | import { matchRoute } from '../helpers/routing-helpers'; |
7 | 7 | ||
8 | const debug = require('debug')('Franz:RecipeStore'); | 8 | const debug = require('debug')('Ferdi:RecipeStore'); |
9 | 9 | ||
10 | export default class RecipesStore extends Store { | 10 | export default class RecipesStore extends Store { |
11 | @observable allRecipesRequest = new CachedRequest(this.api.recipes, 'all'); | 11 | @observable allRecipesRequest = new CachedRequest(this.api.recipes, 'all'); |
diff --git a/src/stores/RequestStore.js b/src/stores/RequestStore.js index 9254e3223..2587d4eef 100644 --- a/src/stores/RequestStore.js +++ b/src/stores/RequestStore.js | |||
@@ -3,7 +3,7 @@ import ms from 'ms'; | |||
3 | 3 | ||
4 | import Store from './lib/Store'; | 4 | import Store from './lib/Store'; |
5 | 5 | ||
6 | const debug = require('debug')('Franz:RequestsStore'); | 6 | const debug = require('debug')('Ferdi:RequestsStore'); |
7 | 7 | ||
8 | export default class RequestStore extends Store { | 8 | export default class RequestStore extends Store { |
9 | @observable userInfoRequest; | 9 | @observable userInfoRequest; |
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 1debf69f6..c02f08201 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -15,7 +15,7 @@ import { workspaceStore } from '../features/workspaces'; | |||
15 | import { serviceLimitStore } from '../features/serviceLimit'; | 15 | import { serviceLimitStore } from '../features/serviceLimit'; |
16 | import { RESTRICTION_TYPES } from '../models/Service'; | 16 | import { RESTRICTION_TYPES } from '../models/Service'; |
17 | 17 | ||
18 | const debug = require('debug')('Franz:ServiceStore'); | 18 | const debug = require('debug')('Ferdi:ServiceStore'); |
19 | 19 | ||
20 | export default class ServicesStore extends Store { | 20 | export default class ServicesStore extends Store { |
21 | @observable allServicesRequest = new CachedRequest(this.api.services, 'all'); | 21 | @observable allServicesRequest = new CachedRequest(this.api.services, 'all'); |
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index bc01291d8..6c7b586a5 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -13,7 +13,7 @@ import { API } from '../environment'; | |||
13 | import { DEFAULT_APP_SETTINGS, FILE_SYSTEM_SETTINGS_TYPES } from '../config'; | 13 | import { DEFAULT_APP_SETTINGS, FILE_SYSTEM_SETTINGS_TYPES } from '../config'; |
14 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; | 14 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; |
15 | 15 | ||
16 | const debug = require('debug')('Franz:SettingsStore'); | 16 | const debug = require('debug')('Ferdi:SettingsStore'); |
17 | 17 | ||
18 | export default class SettingsStore extends Store { | 18 | export default class SettingsStore extends Store { |
19 | @observable appSettingsRequest = new CachedRequest(this.api.local, 'getAppSettings'); | 19 | @observable appSettingsRequest = new CachedRequest(this.api.local, 'getAppSettings'); |
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index b2649e2e8..61b7d4adf 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -12,7 +12,7 @@ import { sleep } from '../helpers/async-helpers'; | |||
12 | import { getPlan } from '../helpers/plan-helpers'; | 12 | import { getPlan } from '../helpers/plan-helpers'; |
13 | import { PLANS } from '../config'; | 13 | import { PLANS } from '../config'; |
14 | 14 | ||
15 | const debug = require('debug')('Franz:UserStore'); | 15 | const debug = require('debug')('Ferdi:UserStore'); |
16 | 16 | ||
17 | // TODO: split stores into UserStore and AuthStore | 17 | // TODO: split stores into UserStore and AuthStore |
18 | export default class UserStore extends Store { | 18 | export default class UserStore extends Store { |
diff --git a/src/webview/contextMenu.js b/src/webview/contextMenu.js index 83914f581..ec5833848 100644 --- a/src/webview/contextMenu.js +++ b/src/webview/contextMenu.js | |||
@@ -8,7 +8,7 @@ import { | |||
8 | import { isDevMode, isMac } from '../environment'; | 8 | import { isDevMode, isMac } from '../environment'; |
9 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; | 9 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; |
10 | 10 | ||
11 | const debug = require('debug')('Franz:contextMenu'); | 11 | const debug = require('debug')('Ferdi:contextMenu'); |
12 | 12 | ||
13 | const { Menu } = remote; | 13 | const { Menu } = remote; |
14 | 14 | ||
diff --git a/src/webview/darkmode.js b/src/webview/darkmode.js index 73c7007c6..ab629435c 100644 --- a/src/webview/darkmode.js +++ b/src/webview/darkmode.js | |||
@@ -3,7 +3,7 @@ | |||
3 | import path from 'path'; | 3 | import path from 'path'; |
4 | import fs from 'fs-extra'; | 4 | import fs from 'fs-extra'; |
5 | 5 | ||
6 | const debug = require('debug')('Franz:DarkMode'); | 6 | const debug = require('debug')('Ferdi:DarkMode'); |
7 | 7 | ||
8 | const chars = [...'abcdefghijklmnopqrstuvwxyz']; | 8 | const chars = [...'abcdefghijklmnopqrstuvwxyz']; |
9 | 9 | ||
diff --git a/src/webview/notifications.js b/src/webview/notifications.js index f8fe53e1b..021f05cc3 100644 --- a/src/webview/notifications.js +++ b/src/webview/notifications.js | |||
@@ -1,7 +1,7 @@ | |||
1 | import { ipcRenderer } from 'electron'; | 1 | import { ipcRenderer } from 'electron'; |
2 | import uuidV1 from 'uuid/v1'; | 2 | import uuidV1 from 'uuid/v1'; |
3 | 3 | ||
4 | const debug = require('debug')('Franz:Notifications'); | 4 | const debug = require('debug')('Ferdi:Notifications'); |
5 | 5 | ||
6 | class Notification { | 6 | class Notification { |
7 | static permission = 'granted'; | 7 | static permission = 'granted'; |
diff --git a/src/webview/recipe.js b/src/webview/recipe.js index c223b73de..e00566283 100644 --- a/src/webview/recipe.js +++ b/src/webview/recipe.js | |||
@@ -13,7 +13,7 @@ import './notifications'; | |||
13 | 13 | ||
14 | import { DEFAULT_APP_SETTINGS } from '../config'; | 14 | import { DEFAULT_APP_SETTINGS } from '../config'; |
15 | 15 | ||
16 | const debug = require('debug')('Franz:Plugin'); | 16 | const debug = require('debug')('Ferdi:Plugin'); |
17 | 17 | ||
18 | class RecipeController { | 18 | class RecipeController { |
19 | @observable settings = { | 19 | @observable settings = { |
diff --git a/src/webview/spellchecker.js b/src/webview/spellchecker.js index 9158b3b94..1b2d60faf 100644 --- a/src/webview/spellchecker.js +++ b/src/webview/spellchecker.js | |||
@@ -5,7 +5,7 @@ import path from 'path'; | |||
5 | import { DICTIONARY_PATH } from '../config'; | 5 | import { DICTIONARY_PATH } from '../config'; |
6 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; | 6 | import { SPELLCHECKER_LOCALES } from '../i18n/languages'; |
7 | 7 | ||
8 | const debug = require('debug')('Franz:spellchecker'); | 8 | const debug = require('debug')('Ferdi:spellchecker'); |
9 | 9 | ||
10 | let provider; | 10 | let provider; |
11 | let currentDict; | 11 | let currentDict; |