diff options
author | 2018-11-22 10:53:11 +0100 | |
---|---|---|
committer | 2018-11-22 10:53:11 +0100 | |
commit | aef5033ef19bf51dbacc0dcdfe76ec2d90173531 (patch) | |
tree | 42eaf9512651aeef8fc61c035f59cb37c663c2e7 | |
parent | Fix disable save service button (diff) | |
download | ferdium-app-aef5033ef19bf51dbacc0dcdfe76ec2d90173531.tar.gz ferdium-app-aef5033ef19bf51dbacc0dcdfe76ec2d90173531.tar.zst ferdium-app-aef5033ef19bf51dbacc0dcdfe76ec2d90173531.zip |
Add "Franz" to debug identifiers
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | src/api/server/LocalApi.js | 2 | ||||
-rw-r--r-- | src/api/server/ServerApi.js | 2 | ||||
-rw-r--r-- | src/electron/Settings.js | 2 | ||||
-rw-r--r-- | src/index.js | 2 | ||||
-rw-r--r-- | src/lib/analytics.js | 2 | ||||
-rw-r--r-- | src/stores/AppStore.js | 2 | ||||
-rw-r--r-- | src/stores/RecipesStore.js | 2 | ||||
-rw-r--r-- | src/stores/RequestStore.js | 2 | ||||
-rw-r--r-- | src/stores/ServicesStore.js | 2 | ||||
-rw-r--r-- | src/stores/SettingsStore.js | 2 | ||||
-rw-r--r-- | src/stores/UserStore.js | 2 | ||||
-rw-r--r-- | src/webview/plugin.js | 2 |
13 files changed, 13 insertions, 13 deletions
diff --git a/package.json b/package.json index 6be38cd6f..ee2b12e99 100644 --- a/package.json +++ b/package.json | |||
@@ -11,7 +11,7 @@ | |||
11 | "private": true, | 11 | "private": true, |
12 | "scripts": { | 12 | "scripts": { |
13 | "prestart": "npm run rebuild", | 13 | "prestart": "npm run rebuild", |
14 | "start": "electron ./build", | 14 | "start": "DEBUG=Franz:* electron ./build", |
15 | "start:local": "cross-env LOCAL_API=1 npm start", | 15 | "start:local": "cross-env LOCAL_API=1 npm start", |
16 | "start:live": "cross-env LIVE_API=1 npm start", | 16 | "start:live": "cross-env LIVE_API=1 npm start", |
17 | "dev": "cross-env NODE_ENV=development gulp dev", | 17 | "dev": "cross-env NODE_ENV=development gulp dev", |
diff --git a/src/api/server/LocalApi.js b/src/api/server/LocalApi.js index 78deb7aa5..4814bba66 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')('LocalApi'); | 6 | const debug = require('debug')('Franz: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 2e80e520b..ad1ffa59a 100644 --- a/src/api/server/ServerApi.js +++ b/src/api/server/ServerApi.js | |||
@@ -27,7 +27,7 @@ import { | |||
27 | removeServicePartitionDirectory, | 27 | removeServicePartitionDirectory, |
28 | } from '../../helpers/service-helpers.js'; | 28 | } from '../../helpers/service-helpers.js'; |
29 | 29 | ||
30 | const debug = require('debug')('ServerApi'); | 30 | const debug = require('debug')('Franz:ServerApi'); |
31 | 31 | ||
32 | module.paths.unshift( | 32 | module.paths.unshift( |
33 | getDevRecipeDirectory(), | 33 | getDevRecipeDirectory(), |
diff --git a/src/electron/Settings.js b/src/electron/Settings.js index 254180b73..7b04406a2 100644 --- a/src/electron/Settings.js +++ b/src/electron/Settings.js | |||
@@ -3,7 +3,7 @@ import { pathExistsSync, outputJsonSync, readJsonSync } from 'fs-extra'; | |||
3 | 3 | ||
4 | import { SETTINGS_PATH, DEFAULT_APP_SETTINGS } from '../config'; | 4 | import { SETTINGS_PATH, DEFAULT_APP_SETTINGS } from '../config'; |
5 | 5 | ||
6 | const debug = require('debug')('Settings'); | 6 | const debug = require('debug')('Franz:Settings'); |
7 | 7 | ||
8 | export default class Settings { | 8 | export default class Settings { |
9 | @observable store = DEFAULT_APP_SETTINGS; | 9 | @observable store = DEFAULT_APP_SETTINGS; |
diff --git a/src/index.js b/src/index.js index 65f18bb55..7d906ad71 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -12,7 +12,7 @@ import handleDeepLink from './electron/deepLinking'; | |||
12 | import { appId } from './package.json'; // eslint-disable-line import/no-unresolved | 12 | import { appId } from './package.json'; // eslint-disable-line import/no-unresolved |
13 | import './electron/exception'; | 13 | import './electron/exception'; |
14 | 14 | ||
15 | const debug = require('debug')('App'); | 15 | const debug = require('debug')('Franz:App'); |
16 | 16 | ||
17 | // Keep a global reference of the window object, if you don't, the window will | 17 | // Keep a global reference of the window object, if you don't, the window will |
18 | // be closed automatically when the JavaScript object is garbage collected. | 18 | // be closed automatically when the JavaScript object is garbage collected. |
diff --git a/src/lib/analytics.js b/src/lib/analytics.js index 585cbcdba..8b9a44579 100644 --- a/src/lib/analytics.js +++ b/src/lib/analytics.js | |||
@@ -2,7 +2,7 @@ import { remote } from 'electron'; | |||
2 | import { GA_ID } from '../config'; | 2 | import { GA_ID } from '../config'; |
3 | // import { isDevMode } from '../environment'; | 3 | // import { isDevMode } from '../environment'; |
4 | 4 | ||
5 | const debug = require('debug')('Analytics'); | 5 | const debug = require('debug')('Franz:Analytics'); |
6 | 6 | ||
7 | const { app } = remote; | 7 | const { app } = remote; |
8 | 8 | ||
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 76d9bfa53..9ad4cd531 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -15,7 +15,7 @@ import { gaEvent } from '../lib/analytics'; | |||
15 | 15 | ||
16 | import { getServiceIdsFromPartitions, removeServicePartitionDirectory } from '../helpers/service-helpers.js'; | 16 | import { getServiceIdsFromPartitions, removeServicePartitionDirectory } from '../helpers/service-helpers.js'; |
17 | 17 | ||
18 | const debug = require('debug')('AppStore'); | 18 | const debug = require('debug')('Franz:AppStore'); |
19 | 19 | ||
20 | const { app, systemPreferences } = remote; | 20 | const { app, systemPreferences } = remote; |
21 | 21 | ||
diff --git a/src/stores/RecipesStore.js b/src/stores/RecipesStore.js index a24308f6a..f2480bc8e 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')('RecipeStore'); | 8 | const debug = require('debug')('Franz: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 595852583..bbfe6f6df 100644 --- a/src/stores/RequestStore.js +++ b/src/stores/RequestStore.js | |||
@@ -2,7 +2,7 @@ import { action, computed, observable } from 'mobx'; | |||
2 | 2 | ||
3 | import Store from './lib/Store'; | 3 | import Store from './lib/Store'; |
4 | 4 | ||
5 | const debug = require('debug')('RequestsStore'); | 5 | const debug = require('debug')('Franz:RequestsStore'); |
6 | 6 | ||
7 | export default class RequestStore extends Store { | 7 | export default class RequestStore extends Store { |
8 | @observable userInfoRequest; | 8 | @observable userInfoRequest; |
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 4c2992c70..c5822968a 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -7,7 +7,7 @@ import CachedRequest from './lib/CachedRequest'; | |||
7 | import { matchRoute } from '../helpers/routing-helpers'; | 7 | import { matchRoute } from '../helpers/routing-helpers'; |
8 | import { gaEvent } from '../lib/analytics'; | 8 | import { gaEvent } from '../lib/analytics'; |
9 | 9 | ||
10 | const debug = require('debug')('ServiceStore'); | 10 | const debug = require('debug')('Franz:ServiceStore'); |
11 | 11 | ||
12 | export default class ServicesStore extends Store { | 12 | export default class ServicesStore extends Store { |
13 | @observable allServicesRequest = new CachedRequest(this.api.services, 'all'); | 13 | @observable allServicesRequest = new CachedRequest(this.api.services, 'all'); |
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index 4b5715628..f1b067115 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -8,7 +8,7 @@ import Request from './lib/Request'; | |||
8 | import CachedRequest from './lib/CachedRequest'; | 8 | import CachedRequest from './lib/CachedRequest'; |
9 | 9 | ||
10 | const { systemPreferences } = remote; | 10 | const { systemPreferences } = remote; |
11 | const debug = require('debug')('SettingsStore'); | 11 | const debug = require('debug')('Franz:SettingsStore'); |
12 | 12 | ||
13 | export default class SettingsStore extends Store { | 13 | export default class SettingsStore extends Store { |
14 | @observable appSettingsRequest = new CachedRequest(this.api.local, 'getAppSettings'); | 14 | @observable appSettingsRequest = new CachedRequest(this.api.local, 'getAppSettings'); |
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index 574616925..9d8ac5657 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -9,7 +9,7 @@ import Request from './lib/Request'; | |||
9 | import CachedRequest from './lib/CachedRequest'; | 9 | import CachedRequest from './lib/CachedRequest'; |
10 | import { gaEvent } from '../lib/analytics'; | 10 | import { gaEvent } from '../lib/analytics'; |
11 | 11 | ||
12 | const debug = require('debug')('UserStore'); | 12 | const debug = require('debug')('Franz:UserStore'); |
13 | 13 | ||
14 | // TODO: split stores into UserStore and AuthStore | 14 | // TODO: split stores into UserStore and AuthStore |
15 | export default class UserStore extends Store { | 15 | export default class UserStore extends Store { |
diff --git a/src/webview/plugin.js b/src/webview/plugin.js index a148d4633..ee8cedbab 100644 --- a/src/webview/plugin.js +++ b/src/webview/plugin.js | |||
@@ -8,7 +8,7 @@ import RecipeWebview from './lib/RecipeWebview'; | |||
8 | import Spellchecker from './spellchecker'; | 8 | import Spellchecker from './spellchecker'; |
9 | import './notifications'; | 9 | import './notifications'; |
10 | 10 | ||
11 | const debug = require('debug')('Plugin'); | 11 | const debug = require('debug')('Franz:Plugin'); |
12 | 12 | ||
13 | ipcRenderer.on('initializeRecipe', (e, data) => { | 13 | ipcRenderer.on('initializeRecipe', (e, data) => { |
14 | const modulePath = path.join(data.recipe.path, 'webview.js'); | 14 | const modulePath = path.join(data.recipe.path, 'webview.js'); |