9400 Commits

Author SHA1 Message Date
elweyn
c242f97733 Change the test for listAllContributions to have every seed user and create all creations, add Test suite that checks if every seeded data arrives as well. 2022-07-14 17:52:31 +02:00
elweyn
34de4bb901 Merge conflict on contribution resolver test file 2022-07-14 17:42:49 +02:00
elweyn
22602c45b9 Merge master into this branch. 2022-07-14 17:40:58 +02:00
elweyn
3733bf5114 Change con.close to resetToken method. 2022-07-14 17:30:21 +02:00
elweyn
246edadc13 Test that authenticated user gets allContributions. 2022-07-14 17:22:22 +02:00
elweyn
ba90911aec Test that unauthenticated user can not query listAllContributions. 2022-07-14 16:57:57 +02:00
elweyn
ab77a798f5 Add query seed for listAllContributions. 2022-07-14 16:57:25 +02:00
elweyn
cbbe0ffad2 Change the method name from listAllConfirmedContributions to listAllContributions. 2022-07-14 16:45:19 +02:00
elweyn
fdea5f68ef Add confirmedBy and confirmedAt for the contribution query. 2022-07-14 16:43:20 +02:00
elweyn
8c6ec08e88 Gives a list of allCreations and calls the User one time in the creation. 2022-07-14 16:42:55 +02:00
mahula
703a9107c8
Merge pull request #2054 from gradido/session-timer
Prevent session expiration modal from displaying negative seconds, when session is expired for more than 0 seconds
2022-07-14 16:22:31 +02:00
elweyn
c02f575780 Withdrew userid from contribution object. 2022-07-14 12:59:21 +02:00
elweyn
2f90bd9811 Withdrew User from Contribution object and replaced it with userId, firstName and lastName. 2022-07-14 12:58:01 +02:00
elweyn
7c698de325 Add constructor to ContributionListResult. 2022-07-14 12:25:45 +02:00
mahula
be22ac3da3
Merge branch 'master' into session-timer 2022-07-13 19:43:26 +02:00
mahula
90d90ca9bd fix linting 2022-07-13 19:04:38 +02:00
mahula
2302da9054
Update frontend/src/components/SessionLogoutTimeout.vue
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-07-13 15:36:40 +02:00
mahula
1d1cc7e960
Update frontend/src/components/SessionLogoutTimeout.spec.js
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-07-13 15:36:15 +02:00
Hannes Heine
6cb4b376e7
Merge pull request #2032 from gradido/2000-contribution-update
feat: mutation contribution update
2022-07-13 15:11:14 +02:00
mahula
b2164e6d1d add unit test for this fix 2022-07-13 14:54:47 +02:00
mahula
ed10d7d1a0 set session timer to 0, if expiration is greater then 0 seconds 2022-07-13 14:54:17 +02:00
Hannes Heine
8d727f5e5c
Merge branch 'master' into 2000-contribution-update 2022-07-13 14:42:02 +02:00
elweyn
b7c2497839 Add new right LIST_ALL_CONFIRMED_CONTRIBUTIONS. 2022-07-13 12:18:47 +02:00
elweyn
e1d50cacb5 Fix linting. 2022-07-13 09:55:21 +02:00
elweyn
801e223cfd Implement that adminUpdateContribution is not allowed when moderator is null. 2022-07-13 08:27:05 +02:00
elweyn
c6bab99a2c Add Test that adminUpdateContribution is not allowed on creation made by createContribution mutation. 2022-07-13 08:26:30 +02:00
Moriz Wahl
0e1dc8c632
Merge pull request #2046 from gradido/add-creations-to-user
feat: Login Returns Open Creations for User
2022-07-12 16:19:41 +02:00
Moriz Wahl
2ceb29edde
Merge branch 'master' into add-creations-to-user 2022-07-12 15:53:16 +02:00
elweyn
32d79bb61c Corrected the spelling errors and withdrew admin creation on update scenario. 2022-07-12 13:01:46 +02:00
Hannes Heine
90d2ffbff3
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-07-12 12:54:55 +02:00
Hannes Heine
0380609dee
Update backend/src/graphql/resolver/ContributionResolver.test.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-07-12 12:54:46 +02:00
einhornimmond
3aa14baa6e
Merge pull request #2029 from gradido/archive_transform_valid_transactions
Migrate transaction to valid dataset for gradido node
2022-07-12 11:00:28 +02:00
einhornimmond
b50acc1a10
Merge branch 'master' into archive_transform_valid_transactions 2022-07-12 10:49:34 +02:00
Moriz Wahl
8a3c825371 feat: Login Returns Open Creations for User 2022-07-12 10:27:52 +02:00
elweyn
b991bb0467 Delete datas after all listContributions and updateContribution Tests. 2022-07-12 10:11:28 +02:00
elweyn
46206c4752 Handled the merge conflict so that we can continue to work. 2022-07-12 10:01:26 +02:00
Hannes Heine
f852c97995
Merge pull request #2031 from gradido/2000-contribution-list
feat: implement contribution list query
2022-07-12 09:55:19 +02:00
elweyn
c6ae5760c3 Test that the updateContribution mutation updates the contribution with the right values. 2022-07-12 09:55:03 +02:00
elweyn
9ee40767bb Change test so that only the date is to old and the amount could be right. 2022-07-12 09:45:48 +02:00
elweyn
9e355f9202 Test that the updateContribution mutation can not update contribution to a date that is older than 3 month. 2022-07-12 09:43:47 +02:00
elweyn
6348756ab3 Test that the updateContribution mutation can not update more gdd's than allowed in the month. 2022-07-12 09:39:24 +02:00
elweyn
86433478ec Test that only the user that created the contribution can update it with the updateContribution mutation. 2022-07-12 09:38:19 +02:00
elweyn
5369aced43 Change mutation to include id in the result, write test to update contribution with inexistent id. 2022-07-12 09:37:06 +02:00
Hannes Heine
773d40e1c5
Merge branch 'master' into 2000-contribution-list 2022-07-12 09:32:33 +02:00
elweyn
0e13c7c2e1 Remove spaces. 2022-07-12 08:47:15 +02:00
elweyn
b6f1b0730a Change the orders and structure from the tests for listContributions. 2022-07-12 08:44:36 +02:00
einhornimmond
1a39f8dcbf
Merge branch 'master' into archive_transform_valid_transactions 2022-07-11 23:40:57 +02:00
einhornimmond
cc15dd811f
Merge pull request #2034 from gradido/move_users_creation_date
add code for moving user creation date if transaction before exist
2022-07-11 23:40:16 +02:00
elweyn
339b32a02f Change FindOperator<any> to <number> 2022-07-11 17:16:31 +02:00
Einhornimmond
6d4d030136 exchanged order with other migration 2022-07-11 15:08:41 +02:00