Robert Schäfer
0bc1444336
Explicitly define all comment mutations in schema
...
Remove `postId` as part of the to-be-saved comment type.
2019-07-02 15:11:21 +02:00
Matt Rider
b84bd6fbb3
Try with imageUrl
2019-06-24 11:44:03 -03:00
Matt Rider
f551e9a637
Fix failing build due to lorempixel.com being down
2019-06-22 12:01:00 -03:00
Robert Schäfer
e3b4e9bf56
Cleaning the database checks for process.env
2019-06-04 17:33:30 +02:00
a1db7fa201
corrected config include
2019-06-03 23:13:42 +02:00
caa6a65f99
removed dotenv.config calls
2019-06-03 18:47:00 +02:00
4fd2885b26
reference global config
2019-06-03 13:19:08 +02:00
6f0447515a
- fixed several errors handling import
...
- split graphql schema into parts
- which data is imported which is not - a list
2019-05-29 15:37:28 +02:00
cfd0975b24
backend linting
2019-05-23 19:23:03 +02:00
Robert Schäfer
0637d97648
Merge remote-tracking branch 'origin/master' into 2019/kw15/User_can_change_its_username_to_emptystring
2019-05-07 14:09:10 +02:00
Matt Rider
154082a251
Add authorship to commments at creation
...
- Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-05-02 15:54:44 -03:00
0be2891858
make email a required field for user, tests for front- & backend
2019-05-02 16:17:16 +02:00
Matt Rider
3d2a982d3f
Attempt to updated comments
...
- by pushing to the post.comments array, which updates the array, but doesn't rerender the comments component
- by updating the apollo store as seen here https://akryum.github.io/vue-apollo/guide/apollo/mutations.html#server-side-example and https://github.com/Akryum/vue-apollo-todos
2019-04-18 22:14:23 -03:00
Matt Rider
fc496aec51
Merge github.com:Human-Connection/Human-Connection into 260-add-comment-form
2019-04-18 19:00:05 -03:00
Robert Schäfer
57a53a44b2
Fix seeded notifications
2019-04-18 16:43:06 +02:00
Robert Schäfer
0811ca8248
Massive refactoring of factories
...
cc @mattwr18 @tirokk @ulfgebhardt @appinteractive
The factories don't use string interpolation now but they use variables.
This resolves some errors of escaping strings when you send html along
with `post.content`. It is much cleaner, too.
2019-04-18 16:41:34 +02:00
Matt Rider
0149f30f5f
Fix failing tests, refactor
...
- due to changes made to comments factories, which caused failures
- to use new custom CreateComment resolver syntax to relate a comment to post by passing in the postId
2019-04-17 20:27:35 -03:00
Matt Rider
f4744fa513
Remove unused import, variables, set debug to false
2019-04-17 18:37:44 -03:00
Matt Rider
4dc39a97a8
Fix seeds
2019-04-17 12:51:30 -03:00
Matt Rider
dd9383ef40
Create two custom resolvers, get working with front end
...
- Had difficulty adding a relationship with one custom resolver, if id for comment was not passed in, the comment was not created, hard coding it in also wasn't a good solution
2019-04-16 23:12:13 -03:00
Matt Rider
dfef4fe05f
Add custom resolver, update factories
2019-04-16 19:48:59 -03:00
Robert Schäfer
512835f202
Implement NotificationList without store implement
2019-04-09 20:51:54 +02:00
Robert Schäfer
afa0153f55
Show post-card in notification et al.
...
* add notification in seeds
* extremely odd styling - on the index page the notification looks OK,
on the post page, the post card elements appear more densely packed
2019-04-09 20:51:54 +02:00
Robert Schäfer
710a8515d3
Fix lint
2019-04-05 11:20:19 +02:00
Robert Schäfer
8477e71c28
Sketch test for #350
2019-04-05 02:31:32 +02:00
Robert Schäfer
5d440d2e5b
Fix wrong implementation of cucumber test
2019-03-26 20:49:04 +01:00
Robert Schäfer
b79ae68318
User factory can override slug
2019-03-26 13:52:56 +01:00
Robert Schäfer
7a72185c9e
Merging backend to master
2019-03-20 21:00:59 +01:00