-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from evandor/TAB-480-bug-addComment
Tab 480 bug add comment
- Loading branch information
Showing
15 changed files
with
1,389 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ | |
"build pwa & deploy to india032": "quasar build -m pwa && scp -r -P 222 dist/pwa/* [email protected]:/home/carsten/tabsets/shared.tabsets.net" | ||
}, | ||
"dependencies": { | ||
"@auth0/auth0-vue": "^2.1.0", | ||
"@calumk/editorjs-columns": "^0.3.1", | ||
"@codexteam/icons": "^0.3.0", | ||
"@editorjs/editorjs": "^2.27.2", | ||
|
@@ -40,6 +41,7 @@ | |
"@quasar/extras": "^1.16.6", | ||
"@types/lodash": "^4.14.182", | ||
"@types/pngjs": "^6.0.4", | ||
"@types/pouchdb": "^6.4.2", | ||
"@types/rangy": "^0.0.38", | ||
"@types/sanitize-html": "^2.9.0", | ||
"@xenova/transformers": "^2.12.1", | ||
|
@@ -53,18 +55,21 @@ | |
"idb": "^8.0.0", | ||
"idraw": "^0.3.1", | ||
"isomorphic-git": "^1.25.2", | ||
"js-md5": "^0.8.3", | ||
"jwt-decode": "^3.1.2", | ||
"keytar": "^7.9.0", | ||
"lodash": "^4.17.21", | ||
"mhtml2html": "^3.0.0", | ||
"mqtt": "^5.3.4", | ||
"pinia": "^2.0.11", | ||
"pixelmatch": "^5.3.0", | ||
"pngjs": "^7.0.0", | ||
"pouchdb-browser": "^8.0.1", | ||
"quasar": "^2.13.1", | ||
"rangy": "^1.3.1", | ||
"regenerator-runtime": "^0.14.1", | ||
"sanitize-html": "^2.10.0", | ||
"throttled-queue": "^2.1.4", | ||
"ts-md5": "^1.3.1", | ||
"uuid": "^9.0.0", | ||
"v-onboarding": "^2.6.0", | ||
"vite-plugin-package-version": "^1.1.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import {boot} from 'quasar/wrappers' | ||
import {createAuth0} from '@auth0/auth0-vue'; | ||
|
||
export default boot(({app}) => { | ||
|
||
let redirectUrl = window.location.origin + "/www/index.html#/sidepanel" | ||
// @ts-ignore | ||
if (process.env.MODE === 'bex' && !chrome.sidePanel) { | ||
redirectUrl = window.location.origin + "/www/index.html#/tabsets" | ||
} | ||
if (process.env.MODE === 'pwa') { | ||
//redirectUrl = window.location.origin + "/#/sidepanel" - maybe for mobile phones? | ||
redirectUrl = window.location.origin + "/#/tabsets" // - for browsers | ||
} else if (process.env.MODE === "electron") { | ||
//redirectUrl = "chrome-extension://noelfbnoaghjdgfbhieajghjopkhoode/www/index.html" | ||
redirectUrl = "http://localhost/callback" | ||
} | ||
|
||
console.log("redirect", process.env.MODE, redirectUrl) | ||
|
||
const clientOptions = { | ||
domain: 'skysail.eu.auth0.com', | ||
clientId: 'mqe1fc3eajTkGrmiWLiEH8pH6W3lx960', // Tabsets-SPA | ||
authorizationParams: { | ||
redirect_uri: redirectUrl, | ||
audience: 'tabsets-api-ident' | ||
} | ||
} | ||
//console.log("setting up auth", clientOptions) | ||
const auth0 = createAuth0(clientOptions) | ||
|
||
app.use(auth0); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.