Skip to content

Commit

Permalink
Merge branch 'master' into feature/api-refactoring-roles
Browse files Browse the repository at this point in the history
# Conflicts:
#	package-lock.json
#	src/modules/permissions/modules/roles/api/roles.js
  • Loading branch information
lizacoma committed Nov 6, 2023
2 parents f99570e + fda27ce commit 0b88384
Show file tree
Hide file tree
Showing 562 changed files with 30,588 additions and 38,412 deletions.
23 changes: 12 additions & 11 deletions .env
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
VUE_APP_API_URL = '/api'
VUE_APP_CHAT_URL = '/chat'
VITE_API_URL = '/api'
VITE_CHAT_URL = '/chat'

VUE_APP_AUTH_MODULE_URL = '/app/auth'
VITE_AUTH_MODULE_URL = '/app/auth'

VUE_APP_ADMIN_URL = '/admin'
VUE_APP_AGENT_URL = '/workspace'
VUE_APP_SUPERVISOR_URL = '/supervisor'
VUE_APP_AUDIT_URL = '/audit'
VUE_APP_HISTORY_URL = '/history'
VUE_APP_GRAFANA_URL = '/grafana'
VUE_APP_OMNI_WIDGET_URL = '/omni-widget'
VUE_APP_FLOW_DIAGRAM_URL = '/flow-diagram'
VITE_ADMIN_URL = '/admin'
VITE_AGENT_URL = '/workspace'
VITE_SUPERVISOR_URL = '/supervisor'
VITE_AUDIT_URL = '/audit'
VITE_HISTORY_URL = '/history'
VITE_GRAFANA_URL = '/grafana'
VITE_CRM_URL = '/crm'
VITE_OMNI_WIDGET_URL = '/omni-widget'
VITE_FLOW_DIAGRAM_URL = '/flow-diagram'
23 changes: 12 additions & 11 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
VUE_APP_API_URL = 'https://dev.webitel.com/api'
VUE_APP_CHAT_URL = 'chat'
VITE_API_URL = 'https://dev.webitel.com/api'
VITE_CHAT_URL = 'chat'

VUE_APP_AUTH_MODULE_URL = 'http://dev.webitel.com/app/auth'
VITE_AUTH_MODULE_URL = 'http://dev.webitel.com/app/auth'

VUE_APP_ADMIN_URL = 'https://dev.webitel.com/admin'
VUE_APP_AGENT_URL = 'https://dev.webitel.com/workspace'
VUE_APP_SUPERVISOR_URL ='https://dev.webitel.com/supervisor'
VUE_APP_AUDIT_URL = 'https://dev.webitel.com/audit'
VUE_APP_HISTORY_URL = 'https://dev.webitel.com/history'
VUE_APP_GRAFANA_URL = 'https://dev.webitel.com/grafana'
VUE_APP_OMNI_WIDGET_URL = 'https://dev.webitel.com/omni-widget'
VUE_APP_FLOW_DIAGRAM_URL = 'https://dev.webitel.com/flow-diagram'
VITE_ADMIN_URL = 'https://dev.webitel.com/admin'
VITE_AGENT_URL = 'https://dev.webitel.com/workspace'
VITE_SUPERVISOR_URL ='https://dev.webitel.com/supervisor'
VITE_AUDIT_URL = 'https://dev.webitel.com/audit'
VITE_HISTORY_URL = 'https://dev.webitel.com/history'
VITE_GRAFANA_URL = 'https://dev.webitel.com/grafana'
VITE_CRM_URL = 'https://dev.webitel.com/crm'
VITE_OMNI_WIDGET_URL = 'https://dev.webitel.com/omni-widget'
VITE_FLOW_DIAGRAM_URL = 'https://dev.webitel.com/flow-diagram'
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
src/router
src/store
src/assets/js/loginAnimation.js
vue.config.js
11 changes: 4 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ module.exports = {
root: true,
env: {
node: true,
es2022: true,
},
extends: [
'plugin:vue/essential',
'@vue/airbnb',
'plugin:vue/vue3-recommended',
],
parserOptions: {
parser: '@babel/eslint-parser',
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-console': 'off',
'no-debugger': 'off',
'no-useless-catch': 'off',
'no-shadow': 'off',
'no-empty': 'off',
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Admin CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm ci
- run: npm run test:unit
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ unused
/dist
/coverage
.eslintignore
jest.json

# local env files
.env.local
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run test:unit
# npm run test:unit
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

14 changes: 0 additions & 14 deletions Dockerfile

This file was deleted.

5 changes: 0 additions & 5 deletions babel.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="icon" href="/favicon.ico">
<title>web-client</title>
</head>
<body>
<noscript>
<strong>We're sorry but web-client doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="module" src="/src/main.js"></script>
</body>
</html>
48 changes: 0 additions & 48 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit 0b88384

Please sign in to comment.