4769 Commits

Author SHA1 Message Date
Moriz Wahl
d18b3d269d test coverage admin interface to 52% 2021-12-06 09:28:30 +01:00
Moriz Wahl
bef92fe547 test setOpenCreations mutation in store 2021-12-06 09:27:13 +01:00
Moriz Wahl
61e7493260 mock moment in CreationConfirm Spec 2021-12-06 09:22:07 +01:00
elweyn
5885e7424c Upgrade coverage to 60%. 2021-12-04 14:05:03 +01:00
elweyn
03111c7b4e Lint fixes. 2021-12-04 13:55:23 +01:00
elweyn
236f30d16f CreationFormular now tests everything exept from massCreation. 2021-12-04 13:50:48 +01:00
Hannes Heine
060eb998f6 test ok for Overview.spec.js 2021-12-04 13:38:53 +01:00
elweyn
f5572febee Testing Creation and EditCreation formulars. 2021-12-04 13:27:10 +01:00
elweyn
16fa3de573 click on months in the creation form if index 0, and id set for the label 2021-12-04 12:29:38 +01:00
elweyn
c7633bb1eb Test submit of EditCreationFormular, remove getCountPendingCreations. 2021-12-04 12:22:48 +01:00
elweyn
393b198a46 Change the logic so we can delete and create table if they exists or not. 2021-12-04 11:46:51 +01:00
elweyn
a5406286fe change logic need a if exists or if not exists to up and downgrade easily. 2021-12-04 11:43:00 +01:00
Hannes Heine
b4feddea4b
Merge branch 'master' into bugfix_database_downgrade_and_upgrade_again 2021-12-04 11:40:54 +01:00
elweyn
9c0bd490fa Moved created method to the end. 2021-12-04 11:39:00 +01:00
elweyn
9e8e5e56ab Withdrew alert and replaced them with toasted error or console.log, withdrew non required props from the test files. 2021-12-04 11:04:29 +01:00
ogerly
b8854f9365 Change the lastUserTransaction.balance and multiplied it by 10000 2021-12-04 10:38:25 +01:00
elweyn
2c2e56024d Merge branch 'adminDeletePendingCreationQuery' into adminConfirmPendingCreation 2021-12-03 17:17:41 +01:00
elweyn
63ebbf2eda Merge branch 'adminEditPendingCreationQueries' into adminDeletePendingCreationQuery 2021-12-03 17:16:21 +01:00
ogerly
180dea4caf Merge adminPendingCreationQueries 2021-12-03 17:15:59 +01:00
ogerly
39a85d96d8 Remove console log statements. 2021-12-03 17:03:09 +01:00
ogerly
688ae36d8f Remove unused import and console log. 2021-12-03 17:00:40 +01:00
ogerly
6e250cb63b Remove console.log. 2021-12-03 16:49:03 +01:00
ogerly
df393c4ea8 Fixe calculation of the new balance. 2021-12-03 16:46:14 +01:00
ogerly
0da5c3d2c8 Store the right amount in the database. 2021-12-03 16:27:01 +01:00
elweyn
9834e96d23 Merge branch 'master' into adminConfirmPendingCreation 2021-12-03 15:19:34 +01:00
elweyn
a07d34d827 Added a state_user_transaction row. withdrew / 10000 from frontend. 2021-12-03 14:25:00 +01:00
ogerly
fb48e7c9d2 catch error Client certificate revoked and pass error.session-expired. Graph QL error: always passed from backend 2021-12-03 13:09:45 +01:00
elweyn
7b3096a88b Change mutation id from int to float and changed the findOrFail parameter to simply id. 2021-12-03 12:41:24 +01:00
Moriz Wahl
56079104b7 frontend coverage to 87% 2021-12-02 13:18:26 +01:00
Moriz Wahl
f9db04ef96 fix: Catch Expired Session when Coming from Admin Interface 2021-12-02 13:17:42 +01:00
ogerly
9e5de56977 add test commits to store, resetOpenCreations, setOpenCreations 2021-12-02 12:57:16 +01:00
ogerly
f6d42e7236 add eslint-disable,@typescript-eslint/no-explicit-any @typescript-eslint/explicit-module-boundary-types 2021-12-02 12:51:07 +01:00
Moriz Wahl
37744ac858 coverage admin interface to 53% 2021-12-02 12:30:35 +01:00
Moriz Wahl
e6ccc00122 navguard checks for admin 2021-12-02 12:29:24 +01:00
ogerly
7fb1f1cd1a remove console logs 2021-12-02 12:23:33 +01:00
ogerly
573c157b88 add asnc function on created und methods getPendingCreations 2021-12-02 12:22:37 +01:00
ogerly
3c5778a81b remove alerts, remove test info text 2021-12-02 12:14:06 +01:00
ogerly
ab86e95d17 result array reverse, remove async from created und methods getPendingCreations 2021-12-02 12:11:45 +01:00
Moriz Wahl
c210c590f5 get isAdmin for moderator 2021-12-02 12:00:37 +01:00
Moriz Wahl
812722c53c handle moderator in store 2021-12-02 12:00:08 +01:00
Moriz Wahl
257e2e4073 pass apollo client to nav guards 2021-12-02 11:54:47 +01:00
ogerly
297c892e57 remove console logs 2021-12-02 11:52:36 +01:00
ogerly
56fcd7d445 change Overview.vue methods getPendingCreations and store set open pending creations 2021-12-02 11:51:06 +01:00
ogerly
997230b334 text name changed from note to memo 2021-12-02 11:26:00 +01:00
ogerly
a93792cab8 Mutation for confirmPendingCreation. 2021-12-02 10:55:39 +01:00
Alexander Friedland
73a49eacff
Merge branch 'master' into adminPendingCreationQueries 2021-12-02 10:35:01 +01:00
Alexander Friedland
1605cea902
Merge pull request #1147 from gradido/1137-PublisherId-as-input-field-on-register
1137 publisher id as input field on register
2021-12-02 10:31:21 +01:00
Moriz Wahl
067bd053e3 Merge branch 'master' into seed-transactions 2021-12-02 10:08:12 +01:00
Moriz Wahl
3392ca025a seed transaction signature for the three creations 2021-12-02 10:06:36 +01:00
Alexander Friedland
e5d24fee35
Merge branch 'master' into 1137-PublisherId-as-input-field-on-register 2021-12-02 09:40:43 +01:00