317 Commits

Author SHA1 Message Date
Claus-Peter Hübner
eedaf9e6e3 unit tests of AdminResolver now with Users and UserContacts 2022-08-31 23:04:55 +02:00
Claus-Peter Hübner
faa0500f10 adapt seeding using User and UserContact 2022-08-31 15:44:41 +02:00
Claus-Peter Hübner
228451574d adapt backend on database migration of UserContacts 2022-08-26 02:28:04 +02:00
Moriz Wahl
f2f8989746 save contribution when setting status DELETED before softDelete 2022-08-15 19:06:59 +02:00
Moriz Wahl
c417bc7a10 add contribution status enum and set it 2022-08-15 19:02:06 +02:00
Moriz Wahl
daa8d48ca6 add contribution type enum and set contribution type on creation 2022-08-15 18:50:25 +02:00
elweyn
f42ba05572 Change call of checkOptInCode since signature changed. 2022-08-04 11:35:34 +02:00
elweyn
8aa6bc540e Change CONTRIBUTIONLINK_MEMO_..._CHARS to MEMO_..._CHARS and using it on ContributionResolver, TransactionResolver and AdminResolver. 2022-07-25 12:41:11 +02:00
elweyn
801e223cfd Implement that adminUpdateContribution is not allowed when moderator is null. 2022-07-13 08:27:05 +02:00
elweyn
18ff51aacf Merge master into this branch. 2022-07-06 10:51:35 +02:00
elweyn
103928518c Change utils file isContributionValid to contributions and changed method isContributionValid to validateContribution. 2022-07-05 11:35:50 +02:00
elweyn
61d4c138e1 Remove unused import. 2022-07-05 09:17:48 +02:00
elweyn
b580f8755d Refactor updateCreations. 2022-07-04 07:40:10 +02:00
elweyn
6e5540b863 Move all util methods to isContributionValid file, add const file for Resolvers. 2022-06-29 10:49:53 +02:00
elweyn
0c819522a1 Merge changes from master and this branch. 2022-06-28 11:17:06 +02:00
elweyn
d062a10a34 Fix linting. 2022-06-27 13:37:03 +02:00
elweyn
b95a8081fc Refactored getUserCreation & isContributionValid method to own files. 2022-06-24 12:17:28 +02:00
clauspeterhuebner
e1fd44a295
Merge branch 'master' into origin/1921-rebase_from_master 2022-06-23 02:45:49 +02:00
Claus-Peter Hübner
47772a37b2 rework PR-comments 2022-06-23 02:42:20 +02:00
Claus-Peter Hübner
0edd295dbb rework PR-Comments 2022-06-20 23:47:41 +02:00
Claus-Peter Hübner
a9b84088f9 Merge remote-tracking branch 'origin/master' into 1921-rebase_from_master 2022-06-20 20:39:36 +02:00
Wolfgang Huß
0b464591a1 Merge branch 'master' of github.com:gradido/gradido into 1881-set-role-in-admin-interface 2022-06-20 11:36:41 +02:00
Wolfgang Huß
f6f487aa7e Merge branch 'master' of github.com:gradido/gradido into 1881-set-role-in-admin-interface
# Conflicts:
#	backend/src/auth/RIGHTS.ts
2022-06-16 14:23:35 +02:00
Moriz Wahl
232beb8bd9 quick and dirty confirm contribution link 2022-06-16 11:59:38 +02:00
Claus-Peter Hübner
a73ff0aadf correct check amount lte zero 2022-06-16 00:32:30 +02:00
Claus-Peter Hübner
493d1b1858 add rules and loggers in AdminResolver 2022-06-15 23:05:59 +02:00
Moriz Wahl
1de8c94ba3 rename updatePendingCreation 2022-06-15 20:01:53 +02:00
Moriz Wahl
2b87cbcd18 rename confirmPendingCreation 2022-06-15 19:33:40 +02:00
Moriz Wahl
dd04f69ecc rename deletePendingCreation 2022-06-15 19:22:01 +02:00
Moriz Wahl
d95b1893cd rename getPendingCreations 2022-06-15 19:13:19 +02:00
Moriz Wahl
244cf20542 further renaming 2022-06-15 19:02:47 +02:00
Moriz Wahl
3eddb226d8 save transaction id on confirmed contribution 2022-06-15 16:57:51 +02:00
Moriz Wahl
6623849337 Merge branch 'master' into contributions-table 2022-06-15 16:50:50 +02:00
Moriz Wahl
cf8ecb4c10 update rights 2022-06-15 15:11:05 +02:00
Moriz Wahl
eabd14bdf3 further renaming 2022-06-15 09:04:34 +02:00
Moriz Wahl
e60f06bb9b rename mutations to create admin contributions 2022-06-15 08:32:30 +02:00
Moriz Wahl
5845f708f6 rename from pending creation to unconfirmed contribution 2022-06-14 19:47:18 +02:00
Moriz Wahl
92b076e8b1 Merge branch 'master' into contributions-table 2022-06-14 19:12:43 +02:00
Moriz Wahl
dc46f4e78c add update contribution link mutation 2022-06-14 15:29:34 +02:00
Moriz Wahl
fa30b871b7 delete contribution link mutation 2022-06-14 13:12:41 +02:00
Moriz Wahl
fd2f6a16b7 lsit contribution links query 2022-06-14 12:10:16 +02:00
Moriz Wahl
f258f63ee7 test createContributionLink 2022-06-14 10:43:03 +02:00
Moriz Wahl
1e0b246252 simple createContributionLink mutation 2022-06-14 09:44:37 +02:00
Moriz Wahl
bd593e96ae roles and args for contribution links 2022-06-14 09:23:51 +02:00
Claus-Peter Hübner
ccb69b2631 Tests for createContributionLink 2022-06-14 00:37:11 +02:00
Claus-Peter Hübner
786f03a202 begin tests for createContributionLink 2022-06-13 17:46:16 +02:00
Wolfgang Huß
4b7a643275 Implement 'setUserRole' resolver and write tests (still with errors) 2022-06-09 16:23:01 +02:00
Claus-Peter Hübner
fadaaf85b0 new method createContributionLink 2022-06-09 01:48:27 +02:00
Wolfgang Huß
f71bf5da30 Add 'isAdmin' property to 'UserAdmin' and 'AdminResolver', 'searchUsers' 2022-06-08 10:48:03 +02:00
Claus-Peter Hübner
a32910a766 Resolver with new method createContributionLink 2022-06-08 03:24:55 +02:00