Metamigo -> Bridge

This commit is contained in:
Darren Clarke 2024-04-21 09:44:30 +02:00
parent 242f3cf6b8
commit a445762a37
145 changed files with 396 additions and 16668 deletions

View file

@ -1,5 +1,5 @@
{
"name": "metamigo-ui",
"name": "bridge-ui",
"version": "1.0.0",
"description": "",
"main": "index.js",

View file

@ -9,12 +9,12 @@
"fmt": "prettier \"profile/**/*.js\" --write"
},
"dependencies": {
"@rushstack/eslint-patch": "^1.10.1",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@rushstack/eslint-patch": "^1.10.2",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-xo-space": "^0.35.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-cypress": "^2.15.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.2.0",
@ -24,12 +24,12 @@
"@babel/eslint-parser": "7.24.1"
},
"peerDependencies": {
"eslint": "^7.32.0",
"eslint": "^8",
"typescript": "^4.9.5"
},
"devDependencies": {
"eslint": "^9.0.0",
"eslint": "^8",
"jest": "^29.7.0",
"typescript": "^5.4.4"
"typescript": "^5.4.5"
}
}

View file

@ -12,12 +12,12 @@
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.170",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^7.1.1",
"@mui/x-date-pickers-pro": "^7.1.1",
"@mui/x-data-grid-pro": "^7.3.0",
"@mui/x-date-pickers-pro": "^7.2.0",
"opensearch-common": "*",
"date-fns": "^3.6.0",
"material-ui-popup-state": "^5.1.0",
"next": "14.1.4",
"next": "14.2.2",
"react": "18.2.0",
"react-cookie": "^7.1.4",
"react-cookie-consent": "^9.0.0",
@ -30,18 +30,18 @@
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@types/node": "^20.12.6",
"@types/react": "18.2.75",
"@types/node": "^20.12.7",
"@types/react": "18.2.79",
"@types/uuid": "^9.0.8",
"babel-loader": "^9.1.3",
"eslint": "^9.0.0",
"eslint-config-next": "^14.1.4",
"eslint": "^8.0.0",
"eslint-config-next": "^14.2.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"file-loader": "^6.2.0",
"typescript": "5.4.4"
"typescript": "5.4.5"
}
}

View file

@ -5,23 +5,23 @@
"build": "tsc -p tsconfig.json"
},
"dependencies": {
"@opensearch-project/opensearch": "^2.6.0",
"@opensearch-project/opensearch": "^2.7.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@types/node": "^20.12.6",
"@types/react": "18.2.75",
"@types/node": "^20.12.7",
"@types/react": "18.2.79",
"@types/uuid": "^9.0.8",
"babel-loader": "^9.1.3",
"eslint": "^9.0.0",
"eslint-config-next": "^14.1.4",
"eslint": "^8.0.0",
"eslint-config-next": "^14.2.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"file-loader": "^6.2.0",
"typescript": "5.4.4"
"typescript": "5.4.5"
}
}

View file

@ -241,7 +241,7 @@ export const Sidebar: FC<SidebarProps> = ({ open, setOpen }) => {
fontFamily: poppins.style.fontFamily,
}}
>
Metamigo
CDR Bridge
</Typography>
</Grid>
)}

View file

@ -11,15 +11,15 @@
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.170",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^7.1.1",
"@mui/x-date-pickers-pro": "^7.1.1",
"next": "14.1.4",
"@mui/x-data-grid-pro": "^7.3.0",
"@mui/x-date-pickers-pro": "^7.2.0",
"next": "14.2.2",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "^20.12.6",
"@types/react": "18.2.75",
"typescript": "^5.4.4"
"@types/node": "^20.12.7",
"@types/react": "18.2.79",
"typescript": "^5.4.5"
}
}

View file

@ -1,6 +1,6 @@
# zammad-addon-metamigo
# zammad-addon-bridge
An addon that adds [metamigo](https://gitlab.com/digiresilience/link/metamigo) channels to Zammad.
An addon that adds [bridge](https://gitlab.com/digiresilience/link/link-stack) channels to Zammad.
## Channels
@ -34,10 +34,10 @@ The payload for the Whatsapp channel must be a json object with the keys:
Migration files should go in `src/db/addon/CHANNEL_NAME` ([see this post](https://community.zammad.org/t/automating-creation-of-custom-object-attributes/3831/2?u=abelxluck))
2. Update version and changelog in `metamigo-skeleton.szpm`
2. Update version and changelog in `bridge-skeleton.szpm`
3. Build a new package `make`
This outputs `dist/metamigo-vXXX.szpm`
This outputs `dist/bridge-vXXX.szpm`
4. Install the szpm using the zammad package manager.
@ -60,7 +60,7 @@ make new-migration
## License
[![License GNU AGPL v3.0](https://img.shields.io/badge/License-AGPL%203.0-lightgrey.svg)](https://gitlab.com/digiresilience/link/zamamd-addon-metamigo/blob/master/LICENSE.md)
[![License GNU AGPL v3.0](https://img.shields.io/badge/License-AGPL%203.0-lightgrey.svg)](https://gitlab.com/digiresilience/link/zamamd-addon-bridge/blob/master/LICENSE.md)
This is a free software project licensed under the GNU Affero General
Public License v3.0 (GNU AGPLv3) by [The Center for Digital

View file

@ -1,8 +1,8 @@
{
"name": "zammad-addon-metamigo",
"displayName": "Metamigo",
"name": "zammad-addon-bridge",
"displayName": "CDR Bridge",
"version": "2.0.0",
"description": "An addon that adds metamigo channels to Zammad.",
"description": "An addon that adds CDR Bridge channels to Zammad.",
"scripts": {
"build": "node ../../node_modules/zammad-addon-common/dist/build.js",
"migrate": "node ../../node_modules/zammad-addon-common/dist/migrate.js"