Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
TSC_COMPILE_ON_ERROR=true
ESLINT_NO_DEV_ERRORS=true
DISABLE_ESLINT_PLUGIN=true
REACT_APP_WEB_IDE=true
REACT_APP_WEB_IDE=true
PUBLIC_URL=/login
12 changes: 6 additions & 6 deletions .github/workflows/dev_release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Develop UI deployment
name: Develop Login UI deployment
on:
push:
branches: [develop]
Expand Down Expand Up @@ -27,7 +27,7 @@ jobs:
# Setup node
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20.11.0

# Install dependencies
- name: Install dependencies
Expand All @@ -39,9 +39,9 @@ jobs:
id: dev_build
run: |
yarn build:dev
mkdir -p ./develop/webapp && cp -R build/* develop/webapp
zip -r qorus-webapp-develop.zip develop
chmod 644 qorus-webapp-develop.zip
mkdir -p ./develop/login && cp -R build/* develop/login
zip -r qorus-login-develop.zip develop
chmod 644 qorus-login-develop.zip

# Copy the build to HQ
- name: Copy develop build to HQ
Expand All @@ -53,7 +53,7 @@ jobs:
echo "${{ secrets.DEPLOY_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
scp qorus-webapp-develop.zip ${{ secrets.DEPLOY_USER}}@${{ secrets.DEPLOY_HOST}}:${{ secrets.DEPLOY_PATH }}
scp qorus-login-develop.zip ${{ secrets.DEPLOY_USER}}@${{ secrets.DEPLOY_HOST}}:${{ secrets.DEPLOY_PATH }}

# Upload the dev build as artifact
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Setup node
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20.11.0
# Install dependencies
- name: Install dependencies
id: install_modules
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# Setup node
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20.11.0

# Save release version to outputs
- name: Save release version to outputs
Expand All @@ -44,8 +44,8 @@ jobs:
id: prod_build
run: |
yarn build
mkdir -p ./${{ secrets.LIVE_QORUS_VERSION }}/webapp && cp -R build/* ${{ secrets.LIVE_QORUS_VERSION }}/webapp
zip -r qorus-webapp-${{ secrets.LIVE_QORUS_VERSION }}.zip ${{ secrets.LIVE_QORUS_VERSION }}
mkdir -p ./${{ secrets.LIVE_QORUS_VERSION }}/login && cp -R build/* ${{ secrets.LIVE_QORUS_VERSION }}/login
zip -r qorus-login-${{ secrets.LIVE_QORUS_VERSION }}.zip ${{ secrets.LIVE_QORUS_VERSION }}
rm -rf build

# Upload the prod build as artifact
Expand All @@ -54,7 +54,7 @@ jobs:
if: success()
with:
name: production_build
path: qorus-webapp-${{ secrets.LIVE_QORUS_VERSION }}.zip
path: qorus-login-${{ secrets.LIVE_QORUS_VERSION }}.zip
retention-days: 30

# Copy the production build to HQ
Expand All @@ -67,7 +67,7 @@ jobs:
echo "${{ secrets.DEPLOY_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
scp qorus-webapp-${{ secrets.LIVE_QORUS_VERSION }}.zip ${{ secrets.DEPLOY_USER}}@${{ secrets.DEPLOY_HOST}}:${{ secrets.DEPLOY_PATH }}
scp qorus-login-${{ secrets.LIVE_QORUS_VERSION }}.zip ${{ secrets.DEPLOY_USER}}@${{ secrets.DEPLOY_HOST}}:${{ secrets.DEPLOY_PATH }}
# Notify discord if success
- name: Discord notification
env:
Expand Down
68 changes: 0 additions & 68 deletions .gitlab-ci.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .gitpod.yml

This file was deleted.

14 changes: 0 additions & 14 deletions codegen-auth.json

This file was deleted.

39 changes: 13 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,33 @@
{
"name": "qorus-ui",
"name": "qorus-ui-login",
"version": "2.0.12",
"description": "Qorus UI",
"description": "Qorus UI Login Web App",
"author": "Qore Technologies",
"repository": {
"type": "git",
"url": "git+https://github.com/qoretechnologies/qorus-ui.git"
"url": "git+https://github.com/qoretechnologies/qorus-ui-login.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/qoretechnologies/qorus-ui/issues"
"url": "https://github.com/qoretechnologies/qorus-ui-login/issues"
},
"private": false,
"dependencies": {
"@blueprintjs/core": "3.36",
"@blueprintjs/datetime": "^3.15.2",
"@blueprintjs/select": "^3.11.2",
"@monaco-editor/react": "^4.5.2",
"@qoretechnologies/reqore": "^0.38.6",
"@types/jest": "^27.0.1",
"@types/lodash": "^4.14.197",
"@types/node": "^16.7.13",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@qoretechnologies/reqore": "^0.55.5",
"buffer": "^6.0.3",
"chart.js": "^2.7.3",
"classnames": "^2.2.5",
"craco": "^0.0.3",
"cronstrue": "^1.83.0",
"epoch-timeago": "^1.1.9",
"fs": "^0.0.1-security",
"js-yaml": "^3.6.0",
"keymirror": "^0.1.1",
"lodash": "^4.17.11",
"million": "^2.5.10",
"moment": "^2.24.0",
"normalize.css": "^8.0.0",
"path": "^0.12.7",
"polished": "^4.2.2",
"prismjs": "^1.28.0",
"process": "^0.11.10",
"prop-types": "^15.6.2",
"qs": "^6.6.0",
Expand Down Expand Up @@ -66,28 +55,19 @@
"redux-form": "^5.3.1",
"redux-promise": "^0.6.0",
"redux-thunk": "^2.3.0",
"remove-markdown": "^0.5.0",
"reselect": "^4.0.0",
"resize-observer-polyfill": "^1.5.1",
"shortid": "^2.2.6",
"styled-components": "^5.0.0",
"thenby": "^1.2.0",
"typescript": "^4.4.2",
"web-vitals": "^2.1.0",
"zustand": "^5.0.8"
},
"scripts": {
"start": "REACT_APP_API_PORT=8092 REACT_APP_API_HOST=hq.qoretechnologies.com HTTPS=true craco start",
"start:http": "REACT_APP_API_PORT=8091 REACT_APP_API_HOST=hq.qoretechnologies.com REACT_APP_PROTO=http HTTPS=false PORT=3001 craco start",
"start:ci": "REACT_APP_API_HOST=sandbox.qoretechnologies.com HTTPS=true craco start",
"codegen": "npx playwright codegen --ignore-https-errors --load-storage=codegen-auth.json https://localhost:3000",
"build:pr": "./node_modules/.bin/dotenv -e .env.pull_request craco build",
"build:dev": "./node_modules/.bin/dotenv -e .env.development craco build",
"build": "./node_modules/.bin/dotenv -e .env.production craco build",
"setup-test": "npx playwright install --with-deps",
"test": "TEST_USER=ui-test TEST_USER_PASS=sojcaf-4gitta-teGfyg yarn playwright test tests/sanity.spec.ts",
"test:ci": "yarn playwright test tests/sanity.spec.ts",
"test:http": "yarn playwright test --config=./playwright-http.config.ts tests/http.spec.ts",
"update-reqore": "yarn add @qoretechnologies/reqore@beta"
},
"eslintConfig": {
Expand Down Expand Up @@ -116,9 +96,16 @@
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/lodash": "^4.14.197",
"@types/node": "^16.7.13",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"craco": "^0.0.3",
"dotenv-cli": "^6.0.0",
"sass": "^1.49.9",
"ts-migrate": "^0.1.28"
"ts-migrate": "^0.1.28",
"typescript": "^4.4.2"
},
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
}
22 changes: 0 additions & 22 deletions playwright-http.config.ts

This file was deleted.

Loading
Loading