35 Commits

Author SHA1 Message Date
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
Robert Schäfer
420ea8a4d6 Scaffold some tests for disabledBy relation 2019-03-05 16:15:31 +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
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
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