2040 Commits

Author SHA1 Message Date
elweyn
ead31344f5 Remove leftJoin on user and remove messages from UnconfirmedContribution model added messageCount instead to the model. 2022-08-25 15:16:44 +02:00
elweyn
84ee364051 Revert "Fix imports."
This reverts commit f3f0c27063053bed076e76442f98cfc10973a18d.
2022-08-25 15:00:21 +02:00
elweyn
c27d64245b Add moderatorId to the object. 2022-08-25 13:51:38 +02:00
elweyn
cdb306dc85 Change the query to get the messages and the user of a message. 2022-08-25 09:52:33 +02:00
elweyn
0163eac52f Add contribution state and contribution messages to the model 2022-08-25 09:51:58 +02:00
elweyn
f3f0c27063 Fix imports. 2022-08-25 09:12:49 +02:00
elweyn
4b9bdb0f15 Add userId to the ContributionMessage model. 2022-08-25 09:11:24 +02:00
elweyn
3fbf8b6444 Query ContributionMessages for a specific contributionId. 2022-08-25 09:10:13 +02:00
elweyn
d2790588ba Add new model ContributionMessageListResult. 2022-08-25 09:09:13 +02:00
elweyn
4dbcabf96d Add where clause. 2022-08-24 16:52:42 +02:00
elweyn
057816e4c0 Change innerJoin to leftJoin, so that every contribution is shown not only the one with messages. 2022-08-24 16:43:32 +02:00
elweyn
a9c3dd25ed Add RIGHTS.LIST_ALL_CONTRIBUTION_MESSAGES to the ROLES of Users. 2022-08-24 16:32:58 +02:00
elweyn
e0fcdb2cee Add new RIGHT for LIST_ALL_CONTRIBUTION_MESSAGES. 2022-08-24 16:31:36 +02:00
elweyn
59df924e1d Add User to Contribution link, query the messages user in the listContributions query. 2022-08-24 16:27:28 +02:00
elweyn
bda04f87d2 Add messages and state to the contribution model. 2022-08-24 10:57:03 +02:00
elweyn
0271a42741 Use user entity instead of user model. 2022-08-24 10:56:19 +02:00
elweyn
41fb0d2a9f Change export name of ContributionMessageResolver class. 2022-08-23 13:46:55 +02:00
elweyn
e3e4b61c57 Rename export of ContributionArgs to ContributionMessageArgs. 2022-08-23 11:59:24 +02:00
elweyn
2c459a8fae Changed the Contribution.find so that we can throw a specific error, added an GraphQL Model as return value instead of DbEntity. 2022-08-23 11:55:34 +02:00
elweyn
1c433e2d57 Add graphql object that will be returned instead of dbEntity. 2022-08-23 11:53:19 +02:00
elweyn
e70a18c6bb Change thrown error message. 2022-08-23 11:09:41 +02:00
elweyn
27fd42f097 Change import for enum. 2022-08-22 12:27:46 +02:00
elweyn
5ca422c6d3 Change import for enum and arg. 2022-08-22 12:27:06 +02:00
elweyn
710d47b594 Add adminCreateContributionMessage. 2022-08-22 12:21:38 +02:00
elweyn
bca2f49483 Add admin right to create contribution message. 2022-08-22 12:17:11 +02:00
elweyn
c5b84694d0 Withdrew admin part of user createContributionMessage. 2022-08-22 12:16:20 +02:00
elweyn
281f6cde3f Update contributionStatus to new state. 2022-08-22 10:39:56 +02:00
elweyn
0376cffb19 First steps createContributionMessage method of ContributionMessageResolver. 2022-08-22 10:30:48 +02:00
elweyn
a59967d767 Add new Arg for ContributionMessage 2022-08-22 10:30:14 +02:00
elweyn
8f117f23b4 Add new right CREATE_CONTRIBUTION_MESSAGE 2022-08-22 10:13:11 +02:00
Hannes Heine
eb29df38ee
Merge branch 'master' into create-message-table 2022-08-22 09:49:33 +02:00
Hannes Heine
fb22bdbe63
Merge branch 'master' into create-message-table 2022-08-18 12:07:57 +02:00
Alexander Friedland
46626441d4
Merge branch 'master' into 2135-add-the-languages-french-and-dutch 2022-08-18 08:09:56 +02:00
Moriz Wahl
69f4b98473 Merge branch 'master' into statistics-resolver 2022-08-17 15:22:57 +02:00
Moriz Wahl
194d4a6ad2 move right COMMUNITY_STATISTICS to user rights 2022-08-17 15:15:35 +02:00
elweyn
b1a17c52ec Add community_statistics to user ROLES. 2022-08-17 12:46:29 +02:00
Alexander Friedland
632141ffca
Merge branch 'master' into statistics-resolver 2022-08-17 12:44:31 +02:00
elweyn
e4ec7a1d59 Change Message to ContributionMessage, change 0046 to 0047. 2022-08-17 12:04:03 +02:00
elweyn
1c301d34a2 Test for searchAdminUsers. 2022-08-17 11:37:13 +02:00
elweyn
6c707eae59 Start tests for searchAdminUsers. 2022-08-17 10:22:08 +02:00
elweyn
f96fb5aa63 Add searchAdminUsers query to mocks. 2022-08-17 10:21:40 +02:00
elweyn
a44bcc00e2 Remove unused code. 2022-08-17 10:09:12 +02:00
elweyn
beb563ac5c Fix changes. 2022-08-17 10:05:56 +02:00
Hannes Heine
3e7973b513
Merge branch 'master' into 2116-retrieve-admin-and-moderators 2022-08-17 10:01:41 +02:00
Hannes Heine
4382224c18
Merge branch 'master' into create-message-table 2022-08-17 09:29:40 +02:00
Alexander Friedland
5d4670083f
Merge branch 'master' into 2135-add-the-languages-french-and-dutch 2022-08-17 09:14:21 +02:00
Claus-Peter Hübner
72e1de9f78 Merge remote-tracking branch 'origin/master' into
2125-feature-gradido-id-new-column-gradidoid-in-users-table
2022-08-16 17:10:15 +02:00
Claus-Peter Hübner
e876f32ad5 initialize gradidoID of fakedUser per uuidv4() instead of constant 2022-08-16 17:05:31 +02:00
ogerly
d54a04f825 remove statistics files 2022-08-16 13:54:05 +02:00
Alexander Friedland
63f57a53ee
Merge branch 'master' into 2135-add-the-languages-french-and-dutch 2022-08-16 13:33:50 +02:00