311 Commits

Author SHA1 Message Date
Robert Schäfer
ac155b7f17 Small refactoring let client in the upmost scope
cc @Tirokk
2019-03-13 13:57:46 +01:00
Robert Schäfer
3d56875be5 Typo 2019-03-13 13:51:51 +01:00
Armin
a5e769de3f Merge branch 'activitypub-editor' of https://github.com/mastercuber/Nitro-Backend into activitypub-editor 2019-03-13 02:03:35 +01:00
Armin
5ea3ef99e1 Fixed follow feature + clean database after tests run + wait for user to be created before proceed 2019-03-13 01:17:17 +01:00
Lala Sabathil
50639ec61f
Merge branch 'master' into activitypub-editor 2019-03-12 23:47:11 +01:00
Armin
00ba891cbf Some refactoring + add timeout functions to some step definitions + add objectId to Post and schema 2019-03-12 22:50:58 +01:00
Armin
48ed75b6e4 Use GRAPHQL_URI env var instead establishing ACTIVITYPUB env vars + http Signature test fix 2019-03-12 19:07:58 +01:00
Lala Sabathil
628502de05
Merge branch 'master' into 37-full-text-search-top-bar 2019-03-11 14:37:02 +01:00
Armin
ff9840b844 Signature Test lint fix 2019-03-11 02:21:16 +01:00
Armin
fc9acf0ae3 Merge branch 'activitypub-editor' of https://github.com/mastercuber/Nitro-Backend into activitypub-editor 2019-03-11 00:59:10 +01:00
Armin
77b7ed58d3 Add HTTP Signature Test (Problems with crypto lib till now) 2019-03-11 00:58:19 +01:00
Armin
b2d4dbb190
Merge branch 'master' into activitypub-editor 2019-03-10 23:55:14 +01:00
Grzegorz Leoniec
2116936062 Fixed shout and follow seeding 2019-03-10 19:05:50 +01:00
Robert Schäfer
60d711bb0a Prevent to report any type
Resouce must have a label (Post|Comment|User)
2019-03-10 19:05:50 +01:00
Robert Schäfer
ee5c4127e6 Prevent disabling any type
Resource must have a label Post|Comment|User
2019-03-10 19:05:50 +01:00
Robert Schäfer
f14c903d2a Refactor: we don't need a setup object 2019-03-10 19:05:50 +01:00
Robert Schäfer
cae3330105 Fix deprecation: async function passed to describe 2019-03-10 19:05:50 +01:00
Grzegorz Leoniec
e82cf9b349
Merge branch 'master' into get_rid_of_resource_type 2019-03-10 17:22:22 +01:00
Grzegorz Leoniec
6f53d5e425
Fixing ghots issues 2019-03-08 21:02:24 +01:00
Robert Schäfer
261edef72b Remove duplicate mutations 2019-03-08 20:55:46 +01:00
Grzegorz Leoniec
45cf16d07d
Updates to get in line with master 2019-03-08 20:51:43 +01:00
Grzegorz Leoniec
5c91962808
Merged master in and updated what had to be updated 2019-03-08 20:50:58 +01:00
Grzegorz Leoniec
11a539d63e
Merge branch 'master' into 37-full-text-search-top-bar 2019-03-08 18:39:40 +01:00
Grzegorz Leoniec
9260705611
Fixed shout seeding 2019-03-08 17:03:59 +01:00
Grzegorz Leoniec
f86fc7507c
Fixed shout and follow seeding 2019-03-08 16:49:43 +01:00
Lala Sabathil
8c4c7709b5
Merge branch 'master' into get_rid_of_resource_type 2019-03-08 15:44:51 +01:00
mattwr18
6d2d4f305f
Merge branch 'master' into 37-full-text-search-top-bar 2019-03-07 21:08:20 -03:00
Lala Sabathil
c50c4b78d9
Merge branch 'master' into distinct-shouts-and-follows 2019-03-08 01:00:19 +01:00
Robert Schäfer
f68e289016 Fix lint 2019-03-07 22:44:43 +01:00
Robert Schäfer
0529e2b2b0 Refactor report mutation, return a proper Report 2019-03-07 22:42:32 +01:00
Matt Rider
61a45d39ea Respond with reporter, resource 2019-03-07 17:43:00 -03:00
Robert Schäfer
95e9c14cc6 Refactor report mutation/type to reduce redundancy
We don't need to save the type of the reported resource. We can derive
it.
2019-03-07 20:13:39 +01:00
Robert Schäfer
4596041186 Refactor mutations without Resource type 2019-03-07 20:13:25 +01:00
Robert Schäfer
1377455cda Disable/enable should return the Resource 2019-03-07 18:31:54 +01:00
Armin
d16a1f62ff Refactoring + adding helmet for some basic security 2019-03-07 15:22:34 +01:00
Grzegorz Leoniec
fcb51e4eda
Merge remote-tracking branch 'origin/master' into 37-full-text-search-top-bar 2019-03-06 18:49:34 +01:00
Robert Schäfer
389f447186
Merge branch 'master' into 27_disable_posts 2019-03-06 17:21:56 +01:00
Robert Schäfer
8072939458 Tiny performance improvement 2019-03-06 17:21:49 +01:00
Robert Schäfer
f40a67b7a8 Implement disabling of comments+users+posts 2019-03-06 17:13:36 +01:00
Robert Schäfer
1c34f10f96 Test refactoring: Check comments + posts 2019-03-06 17:13:36 +01:00
Grzegorz Leoniec
7a00e7f1c7
Merge remote-tracking branch 'origin/master' into distinct-shouts-and-follows 2019-03-06 13:23:04 +01:00
Grzegorz Leoniec
2813de4f8b
Fixed organization seeder 2019-03-06 13:20:33 +01:00
Robert Schäfer
5cff508bd6 Disable/enable fullfills tests 2019-03-06 01:07:04 +01:00
Robert Schäfer
0a73ddd46d Refactor: custom resolvers for moderation 2019-03-05 23:59:54 +01:00
Grzegorz Leoniec
865fdebc5f
Fixed linting issues inside tests 2019-03-05 18:58:17 +01:00
Grzegorz Leoniec
c2aea104f4
Added basic tests for follow mutation 2019-03-05 18:44:39 +01:00
Grzegorz Leoniec
4fdb1562f9
Added test for shoutedByCurrentUser flag on posts 2019-03-05 18:34:35 +01:00
Grzegorz Leoniec
a292a522e9
Fixed an issue and added basic testing for (un)shout 2019-03-05 18:30:28 +01:00
Robert Schäfer
2b7576521c Fix lint
+ return more attributes in post factory for convenience
2019-03-05 18:17:02 +01:00
Robert Schäfer
592f25b978 Implement update of .disabled field 2019-03-05 18:14:25 +01:00