diff --git a/config/empty.cjs b/client/config/empty.cjs similarity index 100% rename from config/empty.cjs rename to client/config/empty.cjs diff --git a/config/metadata.cjs b/client/config/metadata.cjs similarity index 84% rename from config/metadata.cjs rename to client/config/metadata.cjs index e8c002f..1c9590a 100644 --- a/config/metadata.cjs +++ b/client/config/metadata.cjs @@ -5,9 +5,9 @@ module.exports = { namespace: 'http://cp-solutions.at', version: pkg.version, author: pkg.author, - copyright: 'Copyright 2021 CP Solutions GmbH', + copyright: 'Copyright CP Solutions GmbH', source: pkg.repository.url, - downloadURL: 'https://source.cp-austria.at/git/CPATRD/3cx_tapi/raw/branch/master/3CX_TAPI.user.js', + downloadURL: `${pkg.repository.url}/raw/branch/master/3CX_TAPI.user.js`, match: [ 'https://192.168.0.154:5001/*', 'https://cpsolution.my3cx.at:5001/*' diff --git a/config/webpack.config.base.cjs b/client/config/webpack.config.base.cjs similarity index 100% rename from config/webpack.config.base.cjs rename to client/config/webpack.config.base.cjs diff --git a/config/webpack.config.dev.cjs b/client/config/webpack.config.dev.cjs similarity index 100% rename from config/webpack.config.dev.cjs rename to client/config/webpack.config.dev.cjs diff --git a/config/webpack.config.production.cjs b/client/config/webpack.config.production.cjs similarity index 100% rename from config/webpack.config.production.cjs rename to client/config/webpack.config.production.cjs diff --git a/package-lock.json b/client/package-lock.json similarity index 100% rename from package-lock.json rename to client/package-lock.json diff --git a/package.json b/client/package.json similarity index 94% rename from package.json rename to client/package.json index c0ea420..da99004 100644 --- a/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "3cx-tapi", "description": "3CX CP Tapi and Projectmanager integration", - "version": "9.2.2", + "version": "9.3.0", "author": { "name": "Daniel Triendl", "email": "d.triendl@cp-solutions.at" @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "https://source.cp-austria.at/git/CPATRD/3cx_tapi.git" + "url": "https://source.cp-austria.at/CPATRD/3cx_tapi.git" }, "private": true, "dependencies": { diff --git a/readme.md b/client/readme.md similarity index 96% rename from readme.md rename to client/readme.md index 7e26565..bd16fbf 100644 --- a/readme.md +++ b/client/readme.md @@ -43,7 +43,7 @@ npm run build ## distribution ``` -cp "dist/3CX TAPI.prod.user.js" 3CX_TAPI.user.js +cp "dist/3CX TAPI.prod.user.js" ../3CX_TAPI.user.js ``` And commit 3CX_TAPI.user.js diff --git a/src/call-history.ts b/client/src/call-history.ts similarity index 100% rename from src/call-history.ts rename to client/src/call-history.ts diff --git a/src/call-notification.ts b/client/src/call-notification.ts similarity index 100% rename from src/call-notification.ts rename to client/src/call-notification.ts diff --git a/src/debounce.js b/client/src/debounce.js similarity index 100% rename from src/debounce.js rename to client/src/debounce.js diff --git a/src/index.js b/client/src/index.js similarity index 100% rename from src/index.js rename to client/src/index.js diff --git a/src/search.css b/client/src/search.css similarity index 100% rename from src/search.css rename to client/src/search.css diff --git a/src/search.ts b/client/src/search.ts similarity index 100% rename from src/search.ts rename to client/src/search.ts diff --git a/src/status.css b/client/src/status.css similarity index 100% rename from src/status.css rename to client/src/status.css diff --git a/src/status.ts b/client/src/status.ts similarity index 100% rename from src/status.ts rename to client/src/status.ts diff --git a/src/tapi-contact.ts b/client/src/tapi-contact.ts similarity index 100% rename from src/tapi-contact.ts rename to client/src/tapi-contact.ts diff --git a/src/utils.ts b/client/src/utils.ts similarity index 100% rename from src/utils.ts rename to client/src/utils.ts diff --git a/src/zc-status.ts b/client/src/zc-status.ts similarity index 100% rename from src/zc-status.ts rename to client/src/zc-status.ts diff --git a/tsconfig.json b/client/tsconfig.json similarity index 100% rename from tsconfig.json rename to client/tsconfig.json