49 Commits

Author SHA1 Message Date
Armin
b2d4dbb190
Merge branch 'master' into activitypub-editor 2019-03-10 23:55:14 +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
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
Lala Sabathil
8c4c7709b5
Merge branch 'master' into get_rid_of_resource_type 2019-03-08 15:44:51 +01:00
Lala Sabathil
c50c4b78d9
Merge branch 'master' into distinct-shouts-and-follows 2019-03-08 01:00:19 +01:00
Robert Schäfer
0529e2b2b0 Refactor report mutation, return a proper Report 2019-03-07 22:42:32 +01: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
Robert Schäfer
f40a67b7a8 Implement disabling of comments+users+posts 2019-03-06 17:13:36 +01:00
Robert Schäfer
0a73ddd46d Refactor: custom resolvers for moderation 2019-03-05 23:59:54 +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
420ea8a4d6 Scaffold some tests for disabledBy relation 2019-03-05 16:15:31 +01:00
Grzegorz Leoniec
45a004662f
Disable shouting of own content 2019-03-05 14:18:22 +01:00
Grzegorz Leoniec
d7b1ea88c4
Fixed shouts and follows 2019-03-05 11:18:59 +01:00
Grzegorz Leoniec
e2add5a730
Added (un)shout and (un)follow mutations 2019-03-05 10:56:47 +01:00
Grzegorz Leoniec
f39e27c47c
Added followedByCurrentUser and shoutedByCurrentUser 2019-03-03 19:29:40 +01:00
Grzegorz Leoniec
83b36e8e35
Output distinct counts 2019-03-03 15:55:11 +01:00
Robert Schäfer
5fd44230dd Get rid of LoggedInUser graphql type
This was causing a lot of headache on the frontend. Now, there a single
source of truth. If you query `currentUser` you can overwrite your local
copy of the user and update the UI.
2019-02-27 11:08:13 +01:00
Armin
577157c505 Some fixes + refactoring + logic to receive sharedInboxEndpoints and to add new one 2019-02-26 17:11:41 +01:00
Robert Schäfer
69bf53e05e Impplement currentUser query
* remove dead code (passport-jwt)
* refactor resolves to have a separate folder
* currentUser and login have the same response
2019-02-26 16:35:31 +01:00
Armin
f74a45379f Integrate ActivityPub into the Backend 2019-02-25 23:57:44 +01:00
Grzegorz Leoniec
a1a0d21f23
Merge remote-tracking branch 'origin/master' into report-content 2019-01-16 19:01:25 +01:00
Grzegorz Leoniec
feadc0e543
Rename _ResourceType to RecourceType in schema 2019-01-11 19:17:10 +01:00
Grzegorz Leoniec
b5649ca2e3
Internationalized Locations 2019-01-08 14:34:00 +01:00
Grzegorz Leoniec
77e77229b9
Fixed login and schema 2019-01-07 17:30:54 +01:00
Grzegorz Leoniec
e9bc848a33
Improved locale handling and moved MAPBOX_TOKEN to env 2019-01-04 15:14:51 +01:00
Grzegorz Leoniec
5c88037d5c
WIP - first try to create a report mutation which attaches nodes internally 2019-01-03 15:27:26 +01:00
Grzegorz Leoniec
fb7307caf1
improve tags and categories 2018-12-08 14:01:00 +01:00
Grzegorz Leoniec
329fe0ac63 merged master in 2018-11-26 15:31:13 +01:00
Grzegorz Leoniec
c6420b5351 simplyfied schema and modulized seeding process 2018-11-21 15:16:55 +01:00
Grzegorz Leoniec
009b3898c1 added locations 2018-11-12 14:22:51 +01:00
Grzegorz Leoniec
00cc53e045 added xss protection, automatic links and, date middleware 2018-10-28 18:47:24 +01:00
Grzegorz Leoniec
8a60b417ee
Merge pull request #8 from appinteractive/Lulalaby-patch-1
Update schema.graphql
2018-10-26 20:58:57 +02:00
Grzegorz Leoniec
811dee372b output createdAt and updatedAt on comments 2018-10-26 15:16:10 +02:00
Grzegorz Leoniec
ea33d55d01 fixed comment count in schema 2018-10-26 14:24:00 +02:00
Lala Sabathil
e40d19af5d
Update schema.graphql
Fix #7
2018-10-26 11:17:43 +02:00
Grzegorz Leoniec
9b34376c1c fixed seeding and password hashing 2018-10-23 21:23:08 +02:00
Grzegorz Leoniec
1e0e22013a improved schema and middleware 2018-10-23 12:09:43 +02:00
Grzegorz Leoniec
58dfc281f7 added statistics type and query and hide deleted or disabled relations 2018-10-19 12:29:27 +02:00
Grzegorz Leoniec
43707a4fcb using graphql-yoga and implemented jwt login 2018-10-17 20:07:58 +02:00
Grzegorz Leoniec
e7a59d303a added disabled and deleted keys to the seeder and schema 2018-10-16 14:36:42 +02:00
Grzegorz Leoniec
81216f52c6 improved schema 2018-10-16 09:46:21 +02:00
Grzegorz Leoniec
0ad05e1a44 added middleware, new nodes and migrations 2018-10-09 15:06:33 +02:00
Grzegorz Leoniec
af8dba7f16 updated readme 2018-10-05 14:53:11 +02:00
Grzegorz Leoniec
6c87ba2ada added blacklist relation 2018-10-05 14:09:31 +02:00
Grzegorz Leoniec
a5ca646b71 added badges 2018-10-05 14:04:33 +02:00
Grzegorz Leoniec
5fcceda30f initial commit 2018-10-05 13:31:45 +02:00