aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-09-12 09:19:10 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-09-12 09:19:10 +0200
commit828f4bce4ee1d7c53c132f0cce6032c121632015 (patch)
tree732d53bf1419dfd315f96bcb7cc4a43f34d31389
parentMerge branch 'private-notifications' (diff)
downloadferdium-app-828f4bce4ee1d7c53c132f0cce6032c121632015.tar.gz
ferdium-app-828f4bce4ee1d7c53c132f0cce6032c121632015.tar.zst
ferdium-app-828f4bce4ee1d7c53c132f0cce6032c121632015.zip
Use ferdi namespace on debugger
-rw-r--r--docs/example-feature/index.js2
-rw-r--r--docs/example-feature/store.js2
-rw-r--r--src/api/server/LocalApi.js2
-rw-r--r--src/api/server/ServerApi.js2
-rw-r--r--src/electron/Settings.js2
-rw-r--r--src/electron/ipc-api/autoUpdate.js2
-rw-r--r--src/electron/ipc-api/download.js2
-rw-r--r--src/features/announcements/api.js2
-rw-r--r--src/features/announcements/index.js2
-rw-r--r--src/features/announcements/store.js2
-rw-r--r--src/features/basicAuth/index.js2
-rw-r--r--src/features/basicAuth/mainIpcHandler.js2
-rw-r--r--src/features/communityRecipes/index.js2
-rw-r--r--src/features/communityRecipes/store.js2
-rw-r--r--src/features/delayApp/index.js2
-rw-r--r--src/features/serviceLimit/index.js2
-rw-r--r--src/features/serviceLimit/store.js2
-rw-r--r--src/features/serviceProxy/index.js2
-rwxr-xr-xsrc/features/settingsWS/index.js2
-rwxr-xr-xsrc/features/settingsWS/store.js2
-rw-r--r--src/features/shareFranz/index.js2
-rw-r--r--src/features/spellchecker/index.js2
-rw-r--r--src/features/todos/index.js2
-rw-r--r--src/features/todos/preload.js2
-rw-r--r--src/features/todos/store.js2
-rw-r--r--src/features/workspaces/api.js2
-rw-r--r--src/features/workspaces/index.js2
-rw-r--r--src/features/workspaces/store.js2
-rw-r--r--src/helpers/url-helpers.js2
-rw-r--r--src/index.html2
-rw-r--r--src/index.js2
-rw-r--r--src/models/Service.js2
-rw-r--r--src/stores/AppStore.js4
-rw-r--r--src/stores/RecipesStore.js2
-rw-r--r--src/stores/RequestStore.js2
-rw-r--r--src/stores/ServicesStore.js2
-rw-r--r--src/stores/SettingsStore.js2
-rw-r--r--src/stores/UserStore.js2
-rw-r--r--src/webview/contextMenu.js2
-rw-r--r--src/webview/darkmode.js2
-rw-r--r--src/webview/notifications.js2
-rw-r--r--src/webview/recipe.js2
-rw-r--r--src/webview/spellchecker.js2
43 files changed, 44 insertions, 44 deletions
diff --git a/docs/example-feature/index.js b/docs/example-feature/index.js
index af859af26..84ee84b5e 100644
--- a/docs/example-feature/index.js
+++ b/docs/example-feature/index.js
@@ -3,7 +3,7 @@ import { ExampleFeatureStore } from './store';
3import state, { resetState } from './state'; 3import state, { resetState } from './state';
4import api from './api'; 4import api from './api';
5 5
6const debug = require('debug')('Franz:feature:EXAMPLE_FEATURE'); 6const debug = require('debug')('Ferdi:feature:EXAMPLE_FEATURE');
7 7
8let store = null; 8let store = null;
9 9
diff --git a/docs/example-feature/store.js b/docs/example-feature/store.js
index d8acfdca3..de27eae86 100644
--- a/docs/example-feature/store.js
+++ b/docs/example-feature/store.js
@@ -2,7 +2,7 @@ import { action, observable, reaction } from 'mobx';
2import Store from '../../src/stores/lib/Store'; 2import Store from '../../src/stores/lib/Store';
3import Request from '../../src/stores/lib/Request'; 3import Request from '../../src/stores/lib/Request';
4 4
5const debug = require('debug')('Franz:feature:EXAMPLE_FEATURE:store'); 5const debug = require('debug')('Ferdi:feature:EXAMPLE_FEATURE:store');
6 6
7export class ExampleFeatureStore extends Store { 7export class ExampleFeatureStore extends Store {
8 @observable getNameRequest = new Request(this.api, 'getName'); 8 @observable getNameRequest = new Request(this.api, 'getName');
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
4import { getServicePartitionsDirectory } from '../../helpers/service-helpers.js'; 4import { getServicePartitionsDirectory } from '../../helpers/service-helpers.js';
5 5
6const debug = require('debug')('Franz:LocalApi'); 6const debug = require('debug')('Ferdi:LocalApi');
7 7
8const { session } = remote; 8const { 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
31const debug = require('debug')('Franz:ServerApi'); 31const debug = require('debug')('Ferdi:ServerApi');
32 32
33module.paths.unshift( 33module.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
5import { SETTINGS_PATH } from '../config'; 5import { SETTINGS_PATH } from '../config';
6 6
7const debug = require('debug')('Franz:Settings'); 7const debug = require('debug')('Ferdi:Settings');
8 8
9export default class Settings { 9export 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 @@
1import { app, ipcMain } from 'electron'; 1import { app, ipcMain } from 'electron';
2import { autoUpdater } from 'electron-updater'; 2import { autoUpdater } from 'electron-updater';
3 3
4const debug = require('debug')('Franz:ipcApi:autoUpdate'); 4const debug = require('debug')('Ferdi:ipcApi:autoUpdate');
5 5
6export default (params) => { 6export 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';
3import mime from 'mime-types'; 3import mime from 'mime-types';
4import fs from 'fs-extra'; 4import fs from 'fs-extra';
5 5
6const debug = require('debug')('Franz:ipcApi:download'); 6const debug = require('debug')('Ferdi:ipcApi:download');
7 7
8function decodeBase64Image(dataString) { 8function 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';
2import Request from '../../stores/lib/Request'; 2import Request from '../../stores/lib/Request';
3import apiBase from '../../api/apiBase'; 3import apiBase from '../../api/apiBase';
4 4
5const debug = require('debug')('Franz:feature:announcements:api'); 5const debug = require('debug')('Ferdi:feature:announcements:api');
6 6
7export const announcementsApi = { 7export 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 @@
1import { reaction } from 'mobx'; 1import { reaction } from 'mobx';
2import { AnnouncementsStore } from './store'; 2import { AnnouncementsStore } from './store';
3 3
4const debug = require('debug')('Franz:feature:announcements'); 4const debug = require('debug')('Ferdi:feature:announcements');
5 5
6export const GA_CATEGORY_ANNOUNCEMENTS = 'Announcements'; 6export 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
18const LOCAL_STORAGE_KEY = 'announcements'; 18const LOCAL_STORAGE_KEY = 'announcements';
19 19
20const debug = require('debug')('Franz:feature:announcements:store'); 20const debug = require('debug')('Ferdi:feature:announcements:store');
21 21
22export class AnnouncementsStore extends FeatureStore { 22export 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
4import BasicAuthComponent from './Component'; 4import BasicAuthComponent from './Component';
5 5
6const debug = require('debug')('Franz:feature:basicAuth'); 6const debug = require('debug')('Ferdi:feature:basicAuth');
7 7
8const defaultState = { 8const 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 @@
1const debug = require('debug')('Franz:feature:basicAuth:main'); 1const debug = require('debug')('Ferdi:feature:basicAuth:main');
2 2
3export default function mainIpcHandler(mainWindow, authInfo) { 3export 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 @@
1import { reaction } from 'mobx'; 1import { reaction } from 'mobx';
2import { CommunityRecipesStore } from './store'; 2import { CommunityRecipesStore } from './store';
3 3
4const debug = require('debug')('Franz:feature:communityRecipes'); 4const debug = require('debug')('Ferdi:feature:communityRecipes');
5 5
6export const DEFAULT_SERVICE_LIMIT = 3; 6export 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 @@
1import { computed, observable } from 'mobx'; 1import { computed, observable } from 'mobx';
2import { FeatureStore } from '../utils/FeatureStore'; 2import { FeatureStore } from '../utils/FeatureStore';
3 3
4const debug = require('debug')('Franz:feature:communityRecipes:store'); 4const debug = require('debug')('Ferdi:feature:communityRecipes:store');
5 5
6export class CommunityRecipesStore extends FeatureStore { 6export 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
5import { DEFAULT_FEATURES_CONFIG } from '../../config'; 5import { DEFAULT_FEATURES_CONFIG } from '../../config';
6 6
7const debug = require('debug')('Franz:feature:delayApp'); 7const debug = require('debug')('Ferdi:feature:delayApp');
8 8
9export const config = { 9export 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 @@
1import { reaction } from 'mobx'; 1import { reaction } from 'mobx';
2import { ServiceLimitStore } from './store'; 2import { ServiceLimitStore } from './store';
3 3
4const debug = require('debug')('Franz:feature:serviceLimit'); 4const debug = require('debug')('Ferdi:feature:serviceLimit');
5 5
6export const DEFAULT_SERVICE_LIMIT = 3; 6export 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';
2import { FeatureStore } from '../utils/FeatureStore'; 2import { FeatureStore } from '../utils/FeatureStore';
3import { DEFAULT_SERVICE_LIMIT } from '.'; 3import { DEFAULT_SERVICE_LIMIT } from '.';
4 4
5const debug = require('debug')('Franz:feature:serviceLimit:store'); 5const debug = require('debug')('Ferdi:feature:serviceLimit:store');
6 6
7export class ServiceLimitStore extends FeatureStore { 7export 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
6const { session } = remote; 6const { session } = remote;
7 7
8const debug = require('debug')('Franz:feature:serviceProxy'); 8const debug = require('debug')('Ferdi:feature:serviceProxy');
9 9
10export const config = observable({ 10export 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 @@
1import { reaction } from 'mobx'; 1import { reaction } from 'mobx';
2import { SettingsWSStore } from './store'; 2import { SettingsWSStore } from './store';
3 3
4const debug = require('debug')('Franz:feature:settingsWS'); 4const debug = require('debug')('Ferdi:feature:settingsWS');
5 5
6export const settingsStore = new SettingsWSStore(); 6export 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';
6import { createReactions } from '../../stores/lib/Reaction'; 6import { createReactions } from '../../stores/lib/Reaction';
7import { WS_API } from '../../environment'; 7import { WS_API } from '../../environment';
8 8
9const debug = require('debug')('Franz:feature:settingsWS:store'); 9const debug = require('debug')('Ferdi:feature:settingsWS:store');
10 10
11export class SettingsWSStore extends FeatureStore { 11export 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
6export { default as Component } from './Component'; 6export { default as Component } from './Component';
7 7
8const debug = require('debug')('Franz:feature:shareFranz'); 8const debug = require('debug')('Ferdi:feature:shareFranz');
9 9
10const defaultState = { 10const 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
3import { DEFAULT_FEATURES_CONFIG } from '../../config'; 3import { DEFAULT_FEATURES_CONFIG } from '../../config';
4 4
5const debug = require('debug')('Franz:feature:spellchecker'); 5const debug = require('debug')('Ferdi:feature:spellchecker');
6 6
7export const config = observable({ 7export 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 @@
1import { reaction } from 'mobx'; 1import { reaction } from 'mobx';
2import TodoStore from './store'; 2import TodoStore from './store';
3 3
4const debug = require('debug')('Franz:feature:todos'); 4const debug = require('debug')('Ferdi:feature:todos');
5 5
6export const GA_CATEGORY_TODOS = 'Todos'; 6export 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 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2import { IPC } from './constants'; 2import { IPC } from './constants';
3 3
4const debug = require('debug')('Franz:feature:todos:preload'); 4const debug = require('debug')('Ferdi:feature:todos:preload');
5 5
6debug('Preloading Todos Webview'); 6debug('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 {
16import { IPC } from './constants'; 16import { IPC } from './constants';
17import { state as delayAppState } from '../delayApp'; 17import { state as delayAppState } from '../delayApp';
18 18
19const debug = require('debug')('Franz:feature:todos:store'); 19const debug = require('debug')('Ferdi:feature:todos:store');
20 20
21export default class TodoStore extends FeatureStore { 21export 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';
4import Workspace from './models/Workspace'; 4import Workspace from './models/Workspace';
5import apiBase from '../../api/apiBase'; 5import apiBase from '../../api/apiBase';
6 6
7const debug = require('debug')('Franz:feature:workspaces:api'); 7const debug = require('debug')('Ferdi:feature:workspaces:api');
8 8
9export const workspaceApi = { 9export 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';
2import WorkspacesStore from './store'; 2import WorkspacesStore from './store';
3import { resetApiRequests } from './api'; 3import { resetApiRequests } from './api';
4 4
5const debug = require('debug')('Franz:feature:workspaces'); 5const debug = require('debug')('Ferdi:feature:workspaces');
6 6
7export const GA_CATEGORY_WORKSPACES = 'Workspaces'; 7export 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';
17import { createReactions } from '../../stores/lib/Reaction'; 17import { createReactions } from '../../stores/lib/Reaction';
18import { createActionBindings } from '../utils/ActionBinding'; 18import { createActionBindings } from '../utils/ActionBinding';
19 19
20const debug = require('debug')('Franz:feature:workspaces:store'); 20const debug = require('debug')('Ferdi:feature:workspaces:store');
21 21
22export default class WorkspacesStore extends FeatureStore { 22export 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
3import { ALLOWED_PROTOCOLS } from '../config'; 3import { ALLOWED_PROTOCOLS } from '../config';
4 4
5const debug = require('debug')('Franz:Helpers:url'); 5const debug = require('debug')('Ferdi:Helpers:url');
6 6
7export function isValidExternalURL(url) { 7export 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';
37import { isValidExternalURL } from './helpers/url-helpers'; 37import { isValidExternalURL } from './helpers/url-helpers';
38/* eslint-enable import/first */ 38/* eslint-enable import/first */
39 39
40const debug = require('debug')('Franz:App'); 40const 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';
2import path from 'path'; 2import path from 'path';
3import normalizeUrl from 'normalize-url'; 3import normalizeUrl from 'normalize-url';
4 4
5const debug = require('debug')('Franz:Service'); 5const debug = require('debug')('Ferdi:Service');
6 6
7export const RESTRICTION_TYPES = { 7export 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';
23import { getServiceIdsFromPartitions, removeServicePartitionDirectory } from '../helpers/service-helpers.js'; 23import { getServiceIdsFromPartitions, removeServicePartitionDirectory } from '../helpers/service-helpers.js';
24import { isValidExternalURL } from '../helpers/url-helpers'; 24import { isValidExternalURL } from '../helpers/url-helpers';
25 25
26const debug = require('debug')('Franz:AppStore'); 26const debug = require('debug')('Ferdi:AppStore');
27 27
28const { app, systemPreferences, screen } = remote; 28const { app, systemPreferences, screen } = remote;
29 29
@@ -31,7 +31,7 @@ const mainWindow = remote.getCurrentWindow();
31 31
32const defaultLocale = DEFAULT_APP_SETTINGS.locale; 32const defaultLocale = DEFAULT_APP_SETTINGS.locale;
33const autoLauncher = new AutoLaunch({ 33const autoLauncher = new AutoLaunch({
34 name: 'Franz', 34 name: 'Ferdi',
35}); 35});
36 36
37export default class AppStore extends Store { 37export 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';
5import Request from './lib/Request'; 5import Request from './lib/Request';
6import { matchRoute } from '../helpers/routing-helpers'; 6import { matchRoute } from '../helpers/routing-helpers';
7 7
8const debug = require('debug')('Franz:RecipeStore'); 8const debug = require('debug')('Ferdi:RecipeStore');
9 9
10export default class RecipesStore extends Store { 10export 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
4import Store from './lib/Store'; 4import Store from './lib/Store';
5 5
6const debug = require('debug')('Franz:RequestsStore'); 6const debug = require('debug')('Ferdi:RequestsStore');
7 7
8export default class RequestStore extends Store { 8export 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';
15import { serviceLimitStore } from '../features/serviceLimit'; 15import { serviceLimitStore } from '../features/serviceLimit';
16import { RESTRICTION_TYPES } from '../models/Service'; 16import { RESTRICTION_TYPES } from '../models/Service';
17 17
18const debug = require('debug')('Franz:ServiceStore'); 18const debug = require('debug')('Ferdi:ServiceStore');
19 19
20export default class ServicesStore extends Store { 20export 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';
13import { DEFAULT_APP_SETTINGS, FILE_SYSTEM_SETTINGS_TYPES } from '../config'; 13import { DEFAULT_APP_SETTINGS, FILE_SYSTEM_SETTINGS_TYPES } from '../config';
14import { SPELLCHECKER_LOCALES } from '../i18n/languages'; 14import { SPELLCHECKER_LOCALES } from '../i18n/languages';
15 15
16const debug = require('debug')('Franz:SettingsStore'); 16const debug = require('debug')('Ferdi:SettingsStore');
17 17
18export default class SettingsStore extends Store { 18export 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';
12import { getPlan } from '../helpers/plan-helpers'; 12import { getPlan } from '../helpers/plan-helpers';
13import { PLANS } from '../config'; 13import { PLANS } from '../config';
14 14
15const debug = require('debug')('Franz:UserStore'); 15const debug = require('debug')('Ferdi:UserStore');
16 16
17// TODO: split stores into UserStore and AuthStore 17// TODO: split stores into UserStore and AuthStore
18export default class UserStore extends Store { 18export 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 {
8import { isDevMode, isMac } from '../environment'; 8import { isDevMode, isMac } from '../environment';
9import { SPELLCHECKER_LOCALES } from '../i18n/languages'; 9import { SPELLCHECKER_LOCALES } from '../i18n/languages';
10 10
11const debug = require('debug')('Franz:contextMenu'); 11const debug = require('debug')('Ferdi:contextMenu');
12 12
13const { Menu } = remote; 13const { 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 @@
3import path from 'path'; 3import path from 'path';
4import fs from 'fs-extra'; 4import fs from 'fs-extra';
5 5
6const debug = require('debug')('Franz:DarkMode'); 6const debug = require('debug')('Ferdi:DarkMode');
7 7
8const chars = [...'abcdefghijklmnopqrstuvwxyz']; 8const 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 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2import uuidV1 from 'uuid/v1'; 2import uuidV1 from 'uuid/v1';
3 3
4const debug = require('debug')('Franz:Notifications'); 4const debug = require('debug')('Ferdi:Notifications');
5 5
6class Notification { 6class 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
14import { DEFAULT_APP_SETTINGS } from '../config'; 14import { DEFAULT_APP_SETTINGS } from '../config';
15 15
16const debug = require('debug')('Franz:Plugin'); 16const debug = require('debug')('Ferdi:Plugin');
17 17
18class RecipeController { 18class 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';
5import { DICTIONARY_PATH } from '../config'; 5import { DICTIONARY_PATH } from '../config';
6import { SPELLCHECKER_LOCALES } from '../i18n/languages'; 6import { SPELLCHECKER_LOCALES } from '../i18n/languages';
7 7
8const debug = require('debug')('Franz:spellchecker'); 8const debug = require('debug')('Ferdi:spellchecker');
9 9
10let provider; 10let provider;
11let currentDict; 11let currentDict;