1872 Commits

Author SHA1 Message Date
Alexander Friedland
63f57a53ee
Merge branch 'master' into 2135-add-the-languages-french-and-dutch 2022-08-16 13:33:50 +02:00
ogerly
73cf9bc8cc add dutch and frence 2022-08-16 11:54:11 +02:00
elweyn
dd381f3de1 Merge master changes. 2022-08-16 11:37:26 +02:00
elweyn
d86f502fe7 Set new database version in backend config. 2022-08-16 08:25:21 +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
Moriz Wahl
d4150f123c update db version 2022-08-15 18:32:50 +02:00
elweyn
d3238fd486 Fix linting. 2022-08-15 11:05:11 +02:00
elweyn
b41f34a3dd Merge master into this branch. 2022-08-15 11:03:58 +02:00
Moriz Wahl
f4b34da415 get basic statistics from database 2022-08-14 10:21:00 +02:00
Moriz Wahl
c0892842d1 setup community statistics 2022-08-14 10:21:00 +02:00
Hannes Heine
d4cd6c2b30
Update klicktippMiddleware.ts
Change log level from info to error
2022-08-11 15:07:48 +02:00
Hannes Heine
ad9202efed
Update backend/src/middleware/klicktippMiddleware.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2022-08-11 14:57:17 +02:00
Hannes Heine
24ce920ecc
Merge branch 'master' into 2105-add-emailChecked-to-opt-in-check 2022-08-11 14:56:36 +02:00
Hannes Heine
186eaf238a
Merge branch 'master' into 2117-list-contribution-links-for-all-users 2022-08-11 11:17:29 +02:00
elweyn
c46f2f241e Create resolver method to query admin and moderator users. 2022-08-10 11:28:21 +02:00
elweyn
304732bdad Add model for AdminUser 2022-08-10 11:27:27 +02:00
elweyn
d0d4b151dc Add rights and roles to query admins and moderators. 2022-08-10 11:27:05 +02:00
Claus-Peter Hübner
cd71bf7661 linting 2022-08-09 23:59:13 +02:00
Claus-Peter Hübner
2b4e94ef66 add gradidoID-Test during createUser 2022-08-09 23:41:39 +02:00
Claus-Peter Hübner
35da60c572 change User to create a gradidoID as uuidv4 during createUser 2022-08-09 23:36:00 +02:00
Claus-Peter Hübner
9533254618 upgrade DB-Version 2022-08-09 23:33:58 +02:00
elweyn
9a7073415c Add TODO for listContributionLinks test of user without admin rights. 2022-08-08 11:14:11 +02:00
elweyn
5fb491572d Change test for listCOntributionLinks to get empty object as user without admin rights. 2022-08-08 11:04:24 +02:00
elweyn
7201fb6fc3 A User has now the right to get listContributionLinks. 2022-08-08 10:57:56 +02:00
elweyn
aa91e2b410 Add RIGHTS.LIST_CONTRIBUTION_LINKS to ROLE_USER 2022-08-08 10:48:09 +02:00
ogerly
56bd17a265 fix test for backend 2022-08-07 23:08:44 +02:00
ogerly
dec15c24ca refactor UserResolver.ts 2022-08-07 22:41:57 +02:00
Alexander Friedland
58512a9e32
Merge branch 'master' into statistics-resolver 2022-08-06 11:14:58 +02:00
elweyn
174d592d5a Log error for klicktipp for not found users. 2022-08-04 11:47:55 +02:00
elweyn
87055e732c Define klicktipp logger. 2022-08-04 11:47:10 +02:00
elweyn
f42ba05572 Change call of checkOptInCode since signature changed. 2022-08-04 11:35:34 +02:00
elweyn
3a183918c5 Change checkOptInCode to check if emailChecked before changing optInState. 2022-08-04 11:34:46 +02:00
Moriz Wahl
6f081c4cc9 fix: Use Inner Join for Contribution and User 2022-07-28 11:12:17 +02:00
Moriz Wahl
bd957c38f9
Merge branch 'master' into insert-missing-contributions-migration 2022-07-26 13:51:20 +02:00
Moriz Wahl
457b1a962d
Merge branch 'master' into insert-missing-contributions-migration 2022-07-25 19:35:11 +02:00
Moriz Wahl
af9d874fea fix: Update contribution_date when Moved by Seed 2022-07-25 13:29:45 +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
6f5945f991 createContribution & updateContribution checks if memo length is correct. 2022-07-25 11:24:05 +02:00
elweyn
bcb0882a06 Add test to updateContribution check if error is thrown when memo length is smaller than 5 or greater than 255 characters. 2022-07-25 11:23:28 +02:00
elweyn
180e4ef27d Add test to createContribution that error is thrown when memo length smaller than 5 and greater than 255 2022-07-25 11:17:10 +02:00
Moriz Wahl
9ba51a813a Merge branch 'master' into insert-missing-contributions-migration 2022-07-21 11:18:29 +02:00
clauspeterhuebner
7f6eb1cb47
Merge branch 'master' into fix-windows-line-breaks 2022-07-20 23:05:48 +02:00
elweyn
c8267cf774 Add contributionDate to the Contribution object. 2022-07-20 10:42:24 +02:00
Moriz Wahl
1e5738f0aa fix: Windows 0D 0A Linebreaks to Unix 0A 2022-07-19 15:11:27 +02:00
elweyn
ccc16b4083 Test that an already confirmed contribution can not be deleted. 2022-07-19 13:09:44 +02:00
elweyn
b4a4a9e126 Throw error if confirmedAt is present. 2022-07-19 13:09:03 +02:00
Hannes Heine
d5a2c24d7e
Merge branch 'master' into 2000-contribution-delete 2022-07-19 12:25:12 +02:00
Hannes Heine
ab6db2e0a6
Merge branch 'master' into add_count_to_list_contributions 2022-07-19 01:50:39 +02:00