Robert Schäfer
8528399fc2
Merge remote-tracking branch 'origin/master' into activitypub-editor
2019-03-19 16:16:55 +01:00
Robert Schäfer
7d82b27aaa
Hide disabled comments and posts by default
...
I had to trick neo4j-graphql-js to return disabled and deleted fields by
default on any neo4j node. If disabled is not queried, then we don't
have it in our middleware and we're not able to filter it.
2019-03-13 21:09:15 +01:00
Robert Schäfer
4e91bddf9a
Merge branch 'master' into activitypub-editor
2019-03-13 19:26:51 +01:00
Lala Sabathil
12fc42973a
Merge branch 'master' into 212-change-password
2019-03-13 16:50:19 +01:00
Robert Schäfer
e9e0c84cb2
Fixed merge error
...
CC @Lulalaby
2019-03-13 16:48:56 +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
Wolfgang Huß
a6f96cad78
Merge branch 'master' of https://github.com/Human-Connection/Nitro-Backend
2019-03-12 18:45:49 +01:00
Wolfgang Huß
22b521b93d
Deleted a line in graphql.schema
2019-03-11 17:02:31 +01:00
Lala Sabathil
628502de05
Merge branch 'master' into 37-full-text-search-top-bar
2019-03-11 14:37:02 +01:00
Lala Sabathil
2b6f7270b5
Merge branch 'master' into 212-change-password
2019-03-11 02:19:02 +01:00
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
kachulio1
82ae81d8fe
add changePasssword mutation
2019-03-09 14:50:23 +03: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
11a539d63e
Merge branch 'master' into 37-full-text-search-top-bar
2019-03-08 18:39:40 +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
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
7700a34804
Merge remote-tracking branch 'origin/master' into 37-full-text-search-top-bar
2019-02-28 18:55:31 +01:00
Grzegorz Leoniec
6a146aa699
Improved search query
2019-02-27 19:02:26 -03:00
Grzegorz Leoniec
360acdb141
Fix search
2019-02-27 19:02:26 -03:00
Robert Schäfer
5a995f9f86
Implement test for search
...
@appinteractive could you have a look if sanitization of search queries
work? I created a test and I see "unterminated string" exceptions. This
is not what we want! All user input should be escaped.
2019-02-27 19:01:23 -03:00
Robert Schäfer
46436ca9b1
Setup a routine how to create indices initially
...
In order to create the indices programmatically we need to change the
default password for security concerns. To create the user we need to
start the neo4j database. So I decided to provide a bash script that
let us do it once the container are started.
In production we must change the NEO4J_PASSWORD.
2019-02-27 18:56:23 -03:00
Grzegorz Leoniec
832a778ca1
Added findPost query
2019-02-27 18:53:27 -03: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