Vasily Belolapotkov
50feeed8bf
fix the bug with scrolling post comments into view
2019-09-24 12:47:42 +03:00
Wolfgang Huß
22a005eb1c
Show categories translated in all places and even in tooltips
...
Show `#` symbol in front of hashtags.
Minor design changes on posts more info page.
2019-09-16 11:14:13 +02:00
Wolfgang Huß
2c732bfbfb
Refactor create and update comment to emit events
2019-09-09 15:53:50 +02:00
Wolfgang Huß
80d1e03c03
Merge pull request #1510 from Human-Connection/1506-anonymize_deleted_user
...
1506 Anonymize deleted user also for moderators
2019-09-06 17:12:31 +02:00
roschaefer
a053181334
Fix #1506
2019-09-06 13:29:53 +02:00
mattwr18
daf1ae864c
Reuse css from ds-card-image, consistent width
...
- the width of the contribution form is now the same as the post card
2019-09-06 13:08:28 +02:00
Robert Schäfer
8d2ea9c4c0
Merge pull request #1474 from Human-Connection/cursor-fixes
...
Cursor fixes
2019-09-04 23:20:57 +02:00
Alina Beck
d1beed50d7
use masonry grid for related posts
2019-09-04 16:51:08 +01:00
Alina Beck
ba82765fa7
set cursor to auto on post card
2019-09-04 16:23:57 +01:00
mattwr18
290bdf5ff4
Merge pull request #1440 from Human-Connection/1414-soft_delete
...
1414 Implement soft delete
2019-09-03 23:59:52 +02:00
roschaefer
491a626031
Replace deleteComment with a more KISS solution
2019-09-03 21:28:29 +02:00
Alina Beck
0fd0cdbe34
separate post title and content with hyphens
2019-09-02 16:46:41 +01:00
Matt Rider
2af4151918
Update to use <client-only> instead of <no-ssr>
2019-08-26 17:09:24 +02:00
Matt Rider
8735045d11
Update cypress tests, post query
2019-08-20 20:13:29 +02:00
Robert Schäfer
87461c21ca
Merge pull request #1280 from Human-Connection/refactor-graphql-queries
...
Refactor graphql queries
2019-08-19 09:58:38 +02:00
Matt Rider
dbaa8e687f
Fix vue warnings, fix tests, refactor
...
- was throwing an error when trying to update commentsCount because of new implementation by @roschaefer which uses countResolver, but there was no related for commentsCount, it was r... also commentsCount is no longer needed anywhere in the code base, it is commentedCount now
2019-08-16 13:28:55 +02:00
Matt Rider
d511d6aa78
Refactor graphql queries
...
- Remove duplicate queries
- Use smart query in pages/post/_id/_slug/index.vue to avoid multiple db requests for a post and its comments.
We cannot update the apollo cache with asyncData and smart queries have a prefetch policy set to true by default, which
means that they will resolve in a similar timeframe. https://stackoverflow.com/questions/55885337/in-nuxt-should-i-use-asyncdata-or-default-apollo-queries
https://vue-apollo.netlify.com/api/smart-query.html#options
https://vue-apollo.netlify.com/guide/ssr.html#vue-cli-plugin
2019-08-16 11:25:53 +02:00
roschaefer
51b734275a
The name of the hashtag is now it's ID
...
`name` was just a redundant attribute
2019-08-16 01:49:29 +02:00
Wolfgang Huß
1d180480c4
Translated several texts and corrected and added some functionalities
2019-08-12 15:35:09 +02:00
Matt Rider
39a94a8aac
Refactor
...
- follow PR review by @roschaefer
2019-08-07 14:55:32 +02:00
Matt Rider
9613250710
Fix German translation, mobile responsive tweak
...
- follow @Tirokk 's PR review suggestions
2019-08-06 08:13:02 +02:00
Matt Rider
1593eab9cf
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 384-emotions-on-posts
2019-08-06 08:07:39 +02:00
Matt Rider
cb7217f5a7
Fix bug
...
- apollo query fetchPolicy set to no-cache so that it will refetch a post's emotions count on page transition
2019-08-06 08:05:35 +02:00
Matt Rider
751bbbf889
Make mobile responsive
2019-08-02 16:10:19 +02:00
Matt Rider
3da986518e
Write component tests, refactor
2019-08-02 10:52:36 +02:00
Robert Schäfer
72edf78889
Meld a chaotic commit history into one commit
...
Some important commit messages:
```
Fix youtu.be not being embedded
And also try to maintain the old behaviour matching
`provider.provider_url`.
```
```
Remove confusing code comments and obsolete code
I discovered that the behaviour of no duplicate notifications being send
out is caused by the frontend: When the editor reads html from the
backend, it will parse hashtags and mentions as ordinary links, not as
their respective nodes during editing. Also, we don't have to worry
about duplicate ids being found: The cypher statement will implicitly
suppress duplicate notification nodes for the same user.
So let's remove the code to avoid confusing the next developer.
```
```
Test editor.getHTML()
I do this because I'm not able to test the content of `this.editor` from
a wrapper of `vue-test-utils`. If I call `this.editor.getHTML` directly
and use it as a computed property `renderedContent` to populate a `<div
v-html="renderedContent" />` this will not work for the embeds. So, my
current best bet is to test the editor object isolated from a real
component. ;(
```
```
Add core-js as explicit dependency
Because of build errors on Travis.
See: https://stackoverflow.com/a/55313456
Remove as soon as this issue is resolved:
https://github.com/storybookjs/storybook/issues/7591
```
```
Refactor: Keep Runtime-only builds
See: https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only
```
2019-08-01 00:28:22 +02:00
Matt Rider
5423412958
Set up UI
2019-07-31 14:58:05 +02:00
Robert Schäfer
99740e6ad6
Follow @Tirokk 's suggestion and rename key=>id
2019-07-13 14:27:19 +02:00
Robert Schäfer
95a06a8344
Refactor all badges resolvers to use neode
...
FYI: @Tirokk I think we'll never remove or add new badges through
graphql. Instead, we will seed them manually with direct access to the
database. Therefore I removed the respective mutations and also your
tests regarding permissions.
2019-07-10 14:36:42 +02:00
Matt Rider
1c1a390d0c
Refactor code to extract query to it's own file
2019-07-02 18:38:41 -03:00
Matt Rider
f302961376
Get categories working with UpdatePost, refactor
2019-07-01 18:00:55 -03:00
Matt Rider
2baaf85b21
Extract TeaserImage component, refactor tests
2019-06-25 20:49:09 -03:00
Matt Rider
9cbeacea64
Update test to use filters
2019-06-21 19:00:02 -03:00
Matt Rider
6367d226ff
Styling, tweak to work with edit and create
2019-06-21 13:16:18 -03:00
Matt Rider
d2d692ec8f
Get working with edit contribution, styling
2019-06-20 22:47:31 -03:00
Matt Rider
be70088dd7
Get imageUpload working for Posts
2019-06-20 17:05:47 -03:00
Matt Rider
7d9e6623ea
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 759-teaser-image-create-posts
2019-06-20 12:28:26 -03:00
senderfm
0a66ad56d9
Fix Specs, lint, fix test
2019-06-18 09:58:29 +02:00
Wolfgang Huß
68dcbacaff
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 734-authorization-problem-disabling-post
...
# Conflicts:
# webapp/components/ContributionForm/index.vue
# webapp/graphql/PostMutations.js
2019-06-14 19:02:33 +02:00
Wolfgang Huß
0b0fd6e825
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 734-authorization-problem-disabling-post
...
# Conflicts:
# webapp/pages/post/_id/_slug/index.vue
# webapp/pages/profile/_id/_slug.vue
2019-06-14 18:56:02 +02:00
mattwr18
dd627535e4
Merge pull request #795 from Human-Connection/781-language-of-contribution
...
Create Posts with a specified language, or fallback
2019-06-14 13:53:22 -03:00
Wolfgang Huß
45bd1299ce
Rewrote the PostHelpers and put them in a utils folder
2019-06-14 10:37:43 +02:00
Matt Rider
5266de2c62
Set dropdown with language of post if exists
...
follow `PR` review by @Tirokk
2019-06-13 17:29:33 -03:00
Wolfgang Huß
482ac1572b
Refactored and created the tests of DeletePostCallback
...
Created a folder `utils` for PostHelpers.js.
Fixed a new incoming problem of the master with deleting Posts on the User Profile.
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-06-13 19:23:13 +02:00
Wolfgang Huß
1339734281
Rename DeleteModal to ConfirmModel and write some refactor some tests
...
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-06-12 18:02:50 +02:00
Wolfgang Huß
8eb089d218
Rename event deletePost to removePostFromList
...
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-06-12 15:58:23 +02:00
Wolfgang Huß
1c6016ddcc
Refactored the PostHelpers to an imported lib instead a mixin
2019-06-12 09:05:43 +02:00
Matt Rider
a110a067fa
Add teaser image to contribution form
2019-06-08 14:24:55 -03:00
Matt Rider
70aa77bd2e
Get user deletion working from UI
2019-06-07 13:37:59 -03:00
Wolfgang Huß
b2e1873ade
Refactored to modalData for Delete Comment and Posts
...
The error is gone with this.
2019-06-07 18:04:12 +02:00