diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82785db18..da8521a76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,6 @@ jobs: build_test_admin: name: Docker Build Test - Admin Interface runs-on: ubuntu-latest - #needs: [nothing] steps: ########################################################################## # CHECKOUT CODE ########################################################## @@ -437,7 +436,7 @@ jobs: report_name: Coverage Frontend type: lcov result_path: ./coverage/lcov.info - min_coverage: 92 + min_coverage: 95 token: ${{ github.token }} ############################################################################## @@ -479,7 +478,7 @@ jobs: report_name: Coverage Admin Interface type: lcov result_path: ./coverage/lcov.info - min_coverage: 95 + min_coverage: 96 token: ${{ github.token }} ############################################################################## diff --git a/CHANGELOG.md b/CHANGELOG.md index 19957a309..358e4670a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,76 @@ 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.17.1](https://github.com/gradido/gradido/compare/1.17.0...1.17.1) + +- refactor(frontend): change contribution memo add word-break [`#2583`](https://github.com/gradido/gradido/pull/2583) +- refactor(admin): add text-break on all table memo fields [`#2584`](https://github.com/gradido/gradido/pull/2584) +- fix(frontend): throw proper frontend warning errors [`#2586`](https://github.com/gradido/gradido/pull/2586) +- refactor(frontend): equalize en with fr languages. [`#2585`](https://github.com/gradido/gradido/pull/2585) +- refactor(frontend): forgot password unit tests [`#2582`](https://github.com/gradido/gradido/pull/2582) +- fix(frontend): fix min value for hours input [`#2581`](https://github.com/gradido/gradido/pull/2581) +- fix(frontend): change dropdown placement calender no-flip true [`#2580`](https://github.com/gradido/gradido/pull/2580) +- refactor(frontend): link send result style [`#2577`](https://github.com/gradido/gradido/pull/2577) +- refactor(frontend): remove vertical scrolling & small fixes [`#2578`](https://github.com/gradido/gradido/pull/2578) +- refactor(frontend): tyle mobile device auth template [`#2576`](https://github.com/gradido/gradido/pull/2576) + +#### [1.17.0](https://github.com/gradido/gradido/compare/1.16.0...1.17.0) + +> 18 January 2023 + +- chore(release): v1.17.0 [`#2575`](https://github.com/gradido/gradido/pull/2575) +- fix(frontend): submit contribution text [`#2573`](https://github.com/gradido/gradido/pull/2573) +- fix(backend): admin cannot delete confirmed contribution [`#2571`](https://github.com/gradido/gradido/pull/2571) +- fix(frontend): english locales - horas -> hours [`#2572`](https://github.com/gradido/gradido/pull/2572) +- fix(frontend): mobil divices datepicker add props dropleft [`#2570`](https://github.com/gradido/gradido/pull/2570) +- fix(frontend): pagination [`#2569`](https://github.com/gradido/gradido/pull/2569) +- fix(frontend): add a watch on gdt prop to assure propper loading when mounted [`#2568`](https://github.com/gradido/gradido/pull/2568) +- refactor(frontend): creation step in quarter hour set [`#2566`](https://github.com/gradido/gradido/pull/2566) +- fix(frontend): tunneled email on right side last transactions [`#2561`](https://github.com/gradido/gradido/pull/2561) +- feat(frontend): test transaction page [`#2555`](https://github.com/gradido/gradido/pull/2555) +- refactor(backend): statistics with field resolvers [`#2553`](https://github.com/gradido/gradido/pull/2553) +- fix(frontend): normalized amount transaction if processed again [`#2550`](https://github.com/gradido/gradido/pull/2550) +- fix(backend): semaphore deadlock [`#2551`](https://github.com/gradido/gradido/pull/2551) +- fix(frontend): mobile design [`#2552`](https://github.com/gradido/gradido/pull/2552) +- refactor(frontend): slots for right sidebar and header [`#2548`](https://github.com/gradido/gradido/pull/2548) +- fix(frontend): creation menu highlighted on all submenus [`#2527`](https://github.com/gradido/gradido/pull/2527) +- refactor(frontend): computed hours for open creations [`#2545`](https://github.com/gradido/gradido/pull/2545) +- feat(other): add description for daily backup cronjob [`#2532`](https://github.com/gradido/gradido/pull/2532) +- fix(frontend): editing transaction does not work [`#2543`](https://github.com/gradido/gradido/pull/2543) +- refactor(frontend): remove open creations from store [`#2541`](https://github.com/gradido/gradido/pull/2541) +- feat(other): vscode extensions [`#2524`](https://github.com/gradido/gradido/pull/2524) +- fix(backend): remove jest from dependecies [`#2533`](https://github.com/gradido/gradido/pull/2533) +- fix(frontend): initials without space [`#2546`](https://github.com/gradido/gradido/pull/2546) +- fix(backend): fix backend not confirmable [`#2539`](https://github.com/gradido/gradido/pull/2539) +- fix(frontend): send gdd and send link gdd is running [`#2534`](https://github.com/gradido/gradido/pull/2534) +- fix(other): update browser list [`#2540`](https://github.com/gradido/gradido/pull/2540) +- test(backend): increase backend coverage to 78% [`#2542`](https://github.com/gradido/gradido/pull/2542) +- fix(frontend): pagination gdt [`#2525`](https://github.com/gradido/gradido/pull/2525) +- fix(frontend): leaves are over the user symbol [`#2526`](https://github.com/gradido/gradido/pull/2526) +- fix(frontend): input-email label and placeholder are displayed correctly per language [`#2528`](https://github.com/gradido/gradido/pull/2528) +- feat(backend): add hideAmountGDD & hideAmountGDT to users table. [`#2506`](https://github.com/gradido/gradido/pull/2506) +- fix(frontend): avatar initials always has 2 letters [`#2530`](https://github.com/gradido/gradido/pull/2530) +- refactor(backend): seed contributions as user [`#2460`](https://github.com/gradido/gradido/pull/2460) +- fix(backend): fix logger middleware [`#2503`](https://github.com/gradido/gradido/pull/2503) +- fix(backend): fix email text [`#2523`](https://github.com/gradido/gradido/pull/2523) +- feat(other): new scopes for lint pr [`#2489`](https://github.com/gradido/gradido/pull/2489) +- fix(backend): fix config - some typos [`#2477`](https://github.com/gradido/gradido/pull/2477) +- style(frontend): new Design [`#2297`](https://github.com/gradido/gradido/pull/2297) +- refactor(other): adjust some texts and translations [`#2504`](https://github.com/gradido/gradido/pull/2504) +- test(other): fix tests breaking with the new year [`#2505`](https://github.com/gradido/gradido/pull/2505) +- feat(backend): federation implement exchange of api versions persist in table [`#2427`](https://github.com/gradido/gradido/pull/2427) +- feat(backend): semaphore to lock transaction table [`#2458`](https://github.com/gradido/gradido/pull/2458) +- feat(backend): design html emails and adjust texts [`#2472`](https://github.com/gradido/gradido/pull/2472) +- feat(backend): test semaphore [`#2468`](https://github.com/gradido/gradido/pull/2468) +- fix(admin): reduce triggers of success toast on deleted user form to exactly one [`#2471`](https://github.com/gradido/gradido/pull/2471) +- refactor(other): build nginx docker image in workflow independent of other builds [`#2470`](https://github.com/gradido/gradido/pull/2470) +- feat(backend): setup unit tests for federation [`#2465`](https://github.com/gradido/gradido/pull/2465) + #### [1.16.0](https://github.com/gradido/gradido/compare/1.15.0...1.16.0) +> 15 December 2022 + +- feat(release): version 1.16.0 [`#2467`](https://github.com/gradido/gradido/pull/2467) - refactor(backend): cleaning user related old password junk [`#2426`](https://github.com/gradido/gradido/pull/2426) - fix(database): consistent transaction table [`#2453`](https://github.com/gradido/gradido/pull/2453) - refactor(backend): dissolve admin resolver [`#2416`](https://github.com/gradido/gradido/pull/2416) diff --git a/admin/package.json b/admin/package.json index 58eb48d09..8270c4da6 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.16.0", + "version": "1.17.1", "license": "Apache-2.0", "private": false, "scripts": { diff --git a/admin/src/components/CreationTransactionList.vue b/admin/src/components/CreationTransactionList.vue index 2ce143c7f..950afcebc 100644 --- a/admin/src/components/CreationTransactionList.vue +++ b/admin/src/components/CreationTransactionList.vue @@ -88,7 +88,7 @@ export default { return `${value} GDD` }, }, - { key: 'memo', label: this.$t('transactionlist.memo') }, + { key: 'memo', label: this.$t('transactionlist.memo'), class: 'text-break' }, ], } }, diff --git a/admin/src/components/Tables/OpenCreationsTable.spec.js b/admin/src/components/Tables/OpenCreationsTable.spec.js index 2eb149e4f..e5f1663d9 100644 --- a/admin/src/components/Tables/OpenCreationsTable.spec.js +++ b/admin/src/components/Tables/OpenCreationsTable.spec.js @@ -5,6 +5,7 @@ const localVue = global.localVue const apolloMutateMock = jest.fn().mockResolvedValue({}) const apolloQueryMock = jest.fn().mockResolvedValue({}) +const toggleDetailsMock = jest.fn() const propsData = { items: [ @@ -57,7 +58,7 @@ const propsData = { return value + ' GDD' }, }, - { key: 'memo', label: 'text' }, + { key: 'memo', label: 'text', class: 'text-break' }, { key: 'date', label: 'date', @@ -138,5 +139,50 @@ describe('OpenCreationsTable', () => { expect(wrapper.vm.items[0].creation).toEqual([444, 555, 666]) }) }) + + describe('call updateState', () => { + beforeEach(() => { + wrapper.vm.updateState(4) + }) + + it('emits update-state', () => { + expect(wrapper.vm.$root.$emit('update-state', 4)).toBeTruthy() + }) + }) + + describe('call updateCreationData', () => { + const date = new Date() + beforeEach(() => { + wrapper.vm.updateCreationData({ + amount: Number(80.0), + date: date, + memo: 'Test memo', + row: { + item: {}, + detailsShowing: false, + toggleDetails: toggleDetailsMock, + }, + }) + }) + + it('emits update-state', () => { + expect( + wrapper.vm.$emit('update-contributions', { + amount: Number(80.0), + date: date, + memo: 'Test memo', + row: { + item: {}, + detailsShowing: false, + toggleDetails: toggleDetailsMock, + }, + }), + ).toBeTruthy() + }) + + it('calls toggleDetails', () => { + expect(toggleDetailsMock).toBeCalled() + }) + }) }) }) diff --git a/admin/src/components/Tables/OpenCreationsTable.vue b/admin/src/components/Tables/OpenCreationsTable.vue index 2c5caabb5..5cb407989 100644 --- a/admin/src/components/Tables/OpenCreationsTable.vue +++ b/admin/src/components/Tables/OpenCreationsTable.vue @@ -8,7 +8,7 @@ @click="$emit('remove-creation', row.item)" class="mr-2" > - + +