diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index da8521a76..badb47e87 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -163,7 +163,6 @@ jobs:
locales_frontend:
name: Locales - Frontend
runs-on: ubuntu-latest
- needs: [build_test_frontend]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -171,20 +170,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGE ##################################################
- ##########################################################################
- - name: Download Docker Image (Frontend)
- uses: actions/download-artifact@v3
- with:
- name: docker-frontend-test
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/frontend.tar
- ##########################################################################
# LOCALES FRONTEND #######################################################
##########################################################################
- name: Frontend | Locales
- run: docker run --rm gradido/frontend:test yarn run locales
+ run: cd frontend && yarn && yarn run locales
##############################################################################
# JOB: LINT FRONTEND #########################################################
@@ -192,7 +181,6 @@ jobs:
lint_frontend:
name: Lint - Frontend
runs-on: ubuntu-latest
- needs: [build_test_frontend]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -200,20 +188,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGE ##################################################
- ##########################################################################
- - name: Download Docker Image (Frontend)
- uses: actions/download-artifact@v3
- with:
- name: docker-frontend-test
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/frontend.tar
- ##########################################################################
# LINT FRONTEND ##########################################################
##########################################################################
- name: Frontend | Lint
- run: docker run --rm gradido/frontend:test yarn run lint
+ run: cd frontend && yarn && yarn run lint
##############################################################################
# JOB: STYLELINT FRONTEND ####################################################
@@ -221,7 +199,6 @@ jobs:
stylelint_frontend:
name: Stylelint - Frontend
runs-on: ubuntu-latest
- needs: [build_test_frontend]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -229,20 +206,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGE ##################################################
- ##########################################################################
- - name: Download Docker Image (Frontend)
- uses: actions/download-artifact@v3
- with:
- name: docker-frontend-test
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/frontend.tar
- ##########################################################################
# STYLELINT FRONTEND #####################################################
##########################################################################
- name: Frontend | Stylelint
- run: docker run --rm gradido/frontend:test yarn run stylelint
+ run: cd frontend && yarn && yarn run stylelint
##############################################################################
# JOB: LINT ADMIN INTERFACE ##################################################
@@ -250,7 +217,6 @@ jobs:
lint_admin:
name: Lint - Admin Interface
runs-on: ubuntu-latest
- needs: [build_test_admin]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -258,28 +224,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGE ##################################################
- ##########################################################################
- - name: Download Docker Image (Admin Interface)
- uses: actions/download-artifact@v3
- with:
- name: docker-admin-test
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/admin.tar
- ##########################################################################
# LINT ADMIN INTERFACE ###################################################
##########################################################################
- name: Admin Interface | Lint
- run: docker run --rm gradido/admin:test yarn run lint
+ run: cd admin && yarn && yarn run lint
##############################################################################
- # JOB: STYLELINT ADMIN INTERFACE ##############################################
+ # JOB: STYLELINT ADMIN INTERFACE #############################################
##############################################################################
stylelint_admin:
name: Stylelint - Admin Interface
runs-on: ubuntu-latest
- needs: [build_test_admin]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -287,20 +242,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGE ##################################################
- ##########################################################################
- - name: Download Docker Image (Admin Interface)
- uses: actions/download-artifact@v3
- with:
- name: docker-admin-test
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/admin.tar
- ##########################################################################
# STYLELINT ADMIN INTERFACE ##############################################
##########################################################################
- name: Admin Interface | Stylelint
- run: docker run --rm gradido/admin:test yarn run stylelint
+ run: cd admin && yarn && yarn run stylelint
##############################################################################
# JOB: LOCALES ADMIN #########################################################
@@ -308,7 +253,6 @@ jobs:
locales_admin:
name: Locales - Admin Interface
runs-on: ubuntu-latest
- needs: [build_test_admin]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -316,20 +260,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGE ##################################################
- ##########################################################################
- - name: Download Docker Image (Admin Interface)
- uses: actions/download-artifact@v3
- with:
- name: docker-admin-test
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/admin.tar
- ##########################################################################
# LOCALES FRONTEND #######################################################
##########################################################################
- - name: admin | Locales
- run: docker run --rm gradido/admin:test yarn run locales
+ - name: Admin | Locales
+ run: cd admin && yarn && yarn run locales
##############################################################################
# JOB: LINT BACKEND ##########################################################
@@ -337,7 +271,6 @@ jobs:
lint_backend:
name: Lint - Backend
runs-on: ubuntu-latest
- needs: [build_test_backend]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -345,28 +278,35 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGE ##################################################
- ##########################################################################
- - name: Download Docker Image (Backend)
- uses: actions/download-artifact@v3
- with:
- name: docker-backend-test
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/backend.tar
- ##########################################################################
# LINT BACKEND ###########################################################
##########################################################################
- name: backend | Lint
- run: docker run --rm gradido/backend:test yarn run lint
+ run: cd backend && yarn && yarn run lint
+ ##############################################################################
+ # JOB: LOCALES BACKEND #######################################################
+ ##############################################################################
+ locales_backend:
+ name: Locales - Backend
+ runs-on: ubuntu-latest
+ steps:
+ ##########################################################################
+ # CHECKOUT CODE ##########################################################
+ ##########################################################################
+ - name: Checkout code
+ uses: actions/checkout@v3
+ ##########################################################################
+ # LOCALES BACKEND #####################################################
+ ##########################################################################
+ - name: Backend | Locales
+ run: cd backend && yarn && yarn locales
+
##############################################################################
# JOB: LINT DATABASE UP ######################################################
##############################################################################
lint_database_up:
name: Lint - Database Up
runs-on: ubuntu-latest
- needs: [build_test_database_up]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -374,20 +314,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGE ##################################################
- ##########################################################################
- - name: Download Docker Image (Backend)
- uses: actions/download-artifact@v3
- with:
- name: docker-database-test_up
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/database_up.tar
- ##########################################################################
# LINT DATABASE ##########################################################
##########################################################################
- - name: database | Lint
- run: docker run --rm gradido/database:test_up yarn run lint
+ - name: Database | Lint
+ run: cd database && yarn && yarn run lint
##############################################################################
# JOB: UNIT TEST FRONTEND ###################################################
@@ -395,7 +325,6 @@ jobs:
unit_test_frontend:
name: Unit tests - Frontend
runs-on: ubuntu-latest
- needs: [build_test_frontend]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -403,30 +332,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGES #################################################
- ##########################################################################
- - name: Download Docker Image (Frontend)
- uses: actions/download-artifact@v3
- with:
- name: docker-frontend-test
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/frontend.tar
- ##########################################################################
# UNIT TESTS FRONTEND ####################################################
##########################################################################
- - name: frontend | Unit tests
+ - name: Frontend | Unit tests
run: |
- docker run --env NODE_ENV=test -v ~/coverage:/app/coverage --rm gradido/frontend:test yarn run test
- cp -r ~/coverage ./coverage
- ##########################################################################
- # COVERAGE REPORT FRONTEND ###############################################
- ##########################################################################
- #- name: frontend | Coverage report
- # uses: romeovs/lcov-reporter-action@v0.2.21
- # with:
- # github-token: ${{ secrets.GITHUB_TOKEN }}
- # lcov-file: ./coverage/lcov.info
+ cd frontend && yarn && yarn run test
+ cp -r ./coverage ../
##########################################################################
# COVERAGE CHECK FRONTEND ################################################
##########################################################################
@@ -435,7 +346,7 @@ jobs:
with:
report_name: Coverage Frontend
type: lcov
- result_path: ./coverage/lcov.info
+ result_path: ./frontend/coverage/lcov.info
min_coverage: 95
token: ${{ github.token }}
@@ -445,7 +356,6 @@ jobs:
unit_test_admin:
name: Unit tests - Admin Interface
runs-on: ubuntu-latest
- needs: [build_test_admin]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -453,22 +363,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
##########################################################################
- # DOWNLOAD DOCKER IMAGES #################################################
- ##########################################################################
- - name: Download Docker Image (Admin Interface)
- uses: actions/download-artifact@v3
- with:
- name: docker-admin-test
- path: /tmp
- - name: Load Docker Image
- run: docker load < /tmp/admin.tar
- ##########################################################################
# UNIT TESTS ADMIN INTERFACE #############################################
##########################################################################
- name: Admin Interface | Unit tests
run: |
- docker run -v ~/coverage:/app/coverage --rm gradido/admin:test yarn run test
- cp -r ~/coverage ./coverage
+ cd admin && yarn && yarn run test
+ cp -r ./coverage ../
##########################################################################
# COVERAGE CHECK ADMIN INTERFACE #########################################
##########################################################################
@@ -477,8 +377,8 @@ jobs:
with:
report_name: Coverage Admin Interface
type: lcov
- result_path: ./coverage/lcov.info
- min_coverage: 96
+ result_path: ./admin/coverage/lcov.info
+ min_coverage: 97
token: ${{ github.token }}
##############################################################################
@@ -515,8 +415,9 @@ jobs:
- name: backend | docker-compose database
run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps database
- name: backend Unit tests | test
- run: cd database && yarn && yarn build && cd ../backend && yarn && yarn test
- # run: docker-compose -f docker-compose.yml -f docker-compose.test.yml exec -T backend yarn test
+ run: |
+ cd database && yarn && yarn build && cd ../backend && yarn && yarn test
+ cp -r ./coverage ../
##########################################################################
# COVERAGE CHECK BACKEND #################################################
##########################################################################
@@ -526,7 +427,7 @@ jobs:
report_name: Coverage Backend
type: lcov
result_path: ./backend/coverage/lcov.info
- min_coverage: 78
+ min_coverage: 80
token: ${{ github.token }}
##########################################################################
@@ -558,7 +459,7 @@ jobs:
end-to-end-tests:
name: End-to-End Tests
runs-on: ubuntu-latest
- needs: [build_test_mariadb, build_test_database_up, build_test_backend, build_test_admin, build_test_frontend, build_test_nginx]
+ needs: [build_test_mariadb, build_test_database_up, build_test_admin, build_test_frontend, build_test_nginx]
steps:
##########################################################################
# CHECKOUT CODE ##########################################################
@@ -582,13 +483,6 @@ jobs:
path: /tmp
- name: Load Docker Image (Database Up)
run: docker load < /tmp/database_up.tar
- - name: Download Docker Image (Backend)
- uses: actions/download-artifact@v3
- with:
- name: docker-backend-test
- path: /tmp
- - name: Load Docker Image (Backend)
- run: docker load < /tmp/backend.tar
- name: Download Docker Image (Frontend)
uses: actions/download-artifact@v3
with:
@@ -621,7 +515,11 @@ jobs:
run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps database
- name: Boot up test system | docker-compose backend
- run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps backend
+ run: |
+ cd backend
+ cp .env.test_e2e .env
+ cd ..
+ docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps backend
- name: Sleep for 10 seconds
run: sleep 10s
@@ -638,6 +536,9 @@ jobs:
- name: Boot up test system | docker-compose frontends
run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps frontend admin nginx
+ - name: Boot up test system | docker-compose mailserver
+ run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps mailserver
+
- name: Sleep for 15 seconds
run: sleep 15s
@@ -647,12 +548,12 @@ jobs:
- name: End-to-end tests | run tests
id: e2e-tests
run: |
- cd e2e-tests/cypress/tests/
+ cd e2e-tests/
yarn
- yarn run cypress run --spec cypress/e2e/User.Authentication.feature
+ yarn run cypress run --spec cypress/e2e/User.Authentication.feature,cypress/e2e/User.Authentication.ResetPassword.feature
- name: End-to-end tests | if tests failed, upload screenshots
- if: steps.e2e-tests.outcome == 'failure'
+ if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
uses: actions/upload-artifact@v3
with:
name: cypress-screenshots
- path: /home/runner/work/gradido/gradido/e2e-tests/cypress/tests/cypress/screenshots/
+ path: /home/runner/work/gradido/gradido/e2e-tests/cypress/screenshots/
diff --git a/.github/workflows/test_dht-node.yml b/.github/workflows/test_dht-node.yml
index 5b3a65a70..4ac475351 100644
--- a/.github/workflows/test_dht-node.yml
+++ b/.github/workflows/test_dht-node.yml
@@ -1,4 +1,4 @@
-name: gradido test_dht-node CI
+name: Gradido DHT Node Test CI
on: push
@@ -7,7 +7,7 @@ jobs:
# JOB: DOCKER BUILD TEST #####################################################
##############################################################################
build:
- name: Docker Build Test
+ name: Docker Build Test - DHT Node
runs-on: ubuntu-latest
steps:
- name: Checkout code
@@ -28,7 +28,7 @@ jobs:
# JOB: LINT ##################################################################
##############################################################################
lint:
- name: Lint
+ name: Lint - DHT Node
runs-on: ubuntu-latest
needs: [build]
steps:
@@ -50,7 +50,7 @@ jobs:
# JOB: UNIT TEST #############################################################
##############################################################################
unit_test:
- name: Unit tests
+ name: Unit Tests - DHT Node
runs-on: ubuntu-latest
needs: [build]
steps:
@@ -90,7 +90,7 @@ jobs:
- name: Coverage check
uses: webcraftmedia/coverage-check-action@master
with:
- report_name: Coverage dht-node
+ report_name: Coverage DHT Node
type: lcov
#result_path: ./dht-node/coverage/lcov.info
result_path: ./coverage/lcov.info
diff --git a/.github/workflows/test_federation.yml b/.github/workflows/test_federation.yml
new file mode 100644
index 000000000..ab943eedd
--- /dev/null
+++ b/.github/workflows/test_federation.yml
@@ -0,0 +1,98 @@
+name: Gradido Federation Test CI
+
+on: push
+
+jobs:
+ ##############################################################################
+ # JOB: DOCKER BUILD TEST #####################################################
+ ##############################################################################
+ build:
+ name: Docker Build Test - Federation
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
+
+ - name: Build `test` image
+ run: |
+ docker build --target test -t "gradido/federation:test" -f federation/Dockerfile .
+ docker save "gradido/federation:test" > /tmp/federation.tar
+
+ - name: Upload Artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: docker-federation-test
+ path: /tmp/federation.tar
+
+ ##############################################################################
+ # JOB: LINT ##################################################################
+ ##############################################################################
+ lint:
+ name: Lint - Federation
+ runs-on: ubuntu-latest
+ needs: [build]
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
+
+ - name: Download Docker Image
+ uses: actions/download-artifact@v3
+ with:
+ name: docker-federation-test
+ path: /tmp
+ - name: Load Docker Image
+ run: docker load < /tmp/federation.tar
+
+ - name: Lint
+ run: docker run --rm gradido/federation:test yarn run lint
+
+ ##############################################################################
+ # JOB: UNIT TEST #############################################################
+ ##############################################################################
+ unit_test:
+ name: Unit Tests - Federation
+ runs-on: ubuntu-latest
+ needs: [build]
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
+
+ - name: Download Docker Image
+ uses: actions/download-artifact@v3
+ with:
+ name: docker-federation-test
+ path: /tmp
+
+ - name: Load Docker Image
+ run: docker load < /tmp/federation.tar
+
+ - name: docker-compose mariadb
+ run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps mariadb
+
+ - name: Sleep for 30 seconds
+ run: sleep 30s
+ shell: bash
+
+ - name: docker-compose database
+ run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps database
+
+ - name: Sleep for 30 seconds
+ run: sleep 30s
+ shell: bash
+
+ #- name: Unit tests
+ # run: cd database && yarn && yarn build && cd ../dht-node && yarn && yarn test
+ - name: Unit tests
+ run: |
+ docker run --env NODE_ENV=test --env DB_HOST=mariadb --network gradido_internal-net -v ~/coverage:/app/coverage --rm gradido/federation:test yarn run test
+ cp -r ~/coverage ./coverage
+
+ - name: Coverage check
+ uses: webcraftmedia/coverage-check-action@master
+ with:
+ report_name: Coverage Federation
+ type: lcov
+ #result_path: ./federation/coverage/lcov.info
+ result_path: ./coverage/lcov.info
+ min_coverage: 72
+ token: ${{ github.token }}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 366339834..4bfc66e39 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
+#### [1.18.2](https://github.com/gradido/gradido/compare/1.18.1...1.18.2)
+
+- fix(admin): deny contribution button to left [`#2699`](https://github.com/gradido/gradido/pull/2699)
+
#### [1.18.1](https://github.com/gradido/gradido/compare/1.18.0...1.18.1)
+> 10 February 2023
+
+- chore(release): version 1.18.1 [`#2698`](https://github.com/gradido/gradido/pull/2698)
- fix(frontend): fix is last month for empty form date [`#2697`](https://github.com/gradido/gradido/pull/2697)
- fix(frontend): community link [`#2696`](https://github.com/gradido/gradido/pull/2696)
diff --git a/admin/package.json b/admin/package.json
index e443e7f9e..941a9bf69 100644
--- a/admin/package.json
+++ b/admin/package.json
@@ -3,7 +3,7 @@
"description": "Administraion Interface for Gradido",
"main": "index.js",
"author": "Moriz Wahl",
- "version": "1.18.1",
+ "version": "1.18.2",
"license": "Apache-2.0",
"private": false,
"scripts": {
diff --git a/admin/src/App.vue b/admin/src/App.vue
index bcaab2ef9..2094e06b1 100644
--- a/admin/src/App.vue
+++ b/admin/src/App.vue
@@ -6,7 +6,7 @@
diff --git a/admin/src/components/Tables/SelectedUsersTable.vue b/admin/src/components/Tables/SelectedUsersTable.vue
deleted file mode 100644
index 810f8dac8..000000000
--- a/admin/src/components/Tables/SelectedUsersTable.vue
+++ /dev/null
@@ -1,26 +0,0 @@
-
-