ogerly
53532025d6
Fix translation add backend test case todo
2019-08-23 11:36:41 +02:00
ogerly
592a682bd7
Temporary commit
2019-08-23 11:02:24 +02:00
Wolfgang Huß
793485c0fc
Write frontend tests
2019-08-22 15:20:40 +02:00
Wolfgang Huß
04fe6b0a8c
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1062-notification-about-comment-on-post
...
# Conflicts:
# backend/src/middleware/handleNotifications/handleNotificationsMiddleware.spec.js
Refactored there tests a little
2019-08-22 11:02:10 +02:00
roschaefer
a7ebbcf154
Implement visual feedback if filter is active
2019-08-21 23:52:10 +02:00
Robert Schäfer
deb0fcabd4
Merge pull request #1268 from Human-Connection/post-needs-to-have-category#1222
...
Validate that a post cannot be created without categories/too many categories
2019-08-21 16:28:32 +02:00
Wolfgang Huß
3d2df56141
Backend tests
2019-08-21 14:27:32 +02:00
Matt Rider
d1008cd0c7
Fix vue warnings
...
- localVue.use(Styleguide) to register components
- find masonryGrid and emit event
- Co-authored-by: Alina Beck <alina.beck@mail.com>
- Co-authored-by: Joseph Ngugi <jngugi88@gmail.com>
2019-08-21 13:17:32 +02:00
Wolfgang Huß
d98ebdd713
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1062-notification-about-comment-on-post
2019-08-21 08:37:43 +02:00
Robert Schäfer
af5772db49
Merge pull request #1256 from Human-Connection/add-masonry-grid
...
Add masonry layout grid
2019-08-21 00:42:48 +02:00
Matt Rider
512bf32b0c
Update cypress tests, fix broken comment reactivity
2019-08-20 21:27:00 +02:00
Matt Rider
8735045d11
Update cypress tests, post query
2019-08-20 20:13:29 +02:00
Alina Beck
626e9e24d4
use rowGap property with gridRowGap as fallback
2019-08-20 15:46:41 +01:00
Matt Rider
a000719663
Merge branch 'master' of github.com:Human-Connection/Human-Connection into post-needs-to-have-category#1222
2019-08-20 16:13:38 +02:00
Matt Rider
c614e4de47
Update UI, component tests
...
- enforce that a post cannot be created or updated with no categories nor more than 3 categories
2019-08-20 15:53:07 +02:00
Matt Rider
a77c9638f6
Refactor Notification.vue
...
- Follow @alina-beck's suggestions, use notification over notification: true, use span with font weight and margin-right to remove
2019-08-20 08:36:05 +02:00
Alina Beck
3703fc787a
fix lint errors – thanks github editor
2019-08-19 16:23:38 +01:00
Wolfgang Huß
aae5fd396e
Merge branch '1017-send-out-notifications-on-create-omment' of https://github.com/Human-Connection/Human-Connection into 1062-notification-about-comment-on-post
...
# Conflicts:
# backend/src/middleware/handleNotifications/handleNotifications.js
# backend/src/middleware/handleNotifications/handleNotifications.spec.js
# webapp/components/notifications/Notification/Notification.vue
# webapp/components/notifications/NotificationMenu/NotificationMenu.vue
2019-08-19 16:58:18 +02:00
Alina Beck
b74c47a265
Merge branch 'master' into add-masonry-grid
2019-08-19 15:05:54 +01:00
Alina Beck
0bb746804b
add masonry grid item tests
2019-08-19 14:06:32 +01:00
Alina Beck
5abf6003cc
add tests for masonry grid
2019-08-19 13:15:13 +01:00
Matt Rider
053d8bcf7b
Fix UserQuery
2019-08-19 11:41:23 +02:00
Alina Beck
bec5ed9695
remove computed props from grid
2019-08-19 10:37:20 +01:00
Alina Beck
b0de4ec2b5
move calculation from grid to grid item
2019-08-19 10:16:44 +01:00
Matt Rider
caff74e58b
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment
2019-08-19 10:50:46 +02:00
mattwr18
90fa70e83d
Merge pull request #1282 from Human-Connection/count_from_0_to_0_by_default
...
Get rid of property warnings
2019-08-19 10:06:09 +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
Wolfgang Huß
68c25b8d54
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1062-notification-about-comment-on-post
...
# Conflicts:
# backend/src/middleware/handleNotifications/handleNotifications.spec.js
2019-08-19 08:42:00 +02:00
Alina Beck
0aa1b8046b
remove grid logic from post component
2019-08-18 18:28:48 +01:00
Alina Beck
76be960c03
move grid calculations to masonry grid components
2019-08-18 18:25:14 +01:00
Wolfgang Huß
f653bac9e1
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment
...
# Conflicts:
# backend/src/middleware/handleHtmlContent/handleContentData.spec.js
2019-08-16 18:22:36 +02:00
roschaefer
aa52587f83
Get rid of property warnings
...
If we always choose `0` as the default value for `endVal` in case it is
not given (maybe apollo assigns null when the request is in flight) then
just make `0` the default.
2019-08-16 17:08:00 +02:00
Wolfgang Huß
efb5c75c24
Refactor after Roberts suggestions, number I
...
Start writing tests
2019-08-16 16:56:14 +02:00
mattwr18
90e5579cab
Merge pull request #1278 from Human-Connection/fix_hashtag_db_import
...
Fix hashtag db import
2019-08-16 14:37:09 +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
roschaefer
3d4724e314
Fix Cannot read property countUser of null
...
This commit message is a great example of why you should explain
**the reason** of your commit.
When I came across this bug I had a quick look into the code where it
came from. I could see that the bug only happened after a timer and
apparently reverting the biggest part of d84892930295dcfd3f6687fc33c7234446127099
would fix the bug. However I have no idea what the following commit
message means:
```
commit d84892930295dcfd3f6687fc33c7234446127099
Author: Grzegorz Leoniec <greg@app-interactive.de>
Date: Wed Mar 6 18:45:57 2019 +0100
Improved countTo component
```
I just don't know why the code is there - like what is it's purpose
@appinteractive? I can only guess: I believe that it's supposed to
update the counters in-place (without starting from 0 everytime).
Because apollo was set to poll the data every second.
Taking that into account I would rather remove this polling feature
completely and have less code and less complexity. Admins can still
refresh the page.
2019-08-16 00:28:13 +02:00
Alina Beck
b05599de83
fix item height calculation
2019-08-15 21:44:22 +01:00
Alina Beck
da8491a559
style filter menu grid item
2019-08-15 21:29:37 +01:00
Alina Beck
8ad1ad3769
look at this new and shiny grid component
2019-08-15 21:06:26 +01:00
Wolfgang Huß
8acccc99d0
Implemented a reason in the Notification
...
Used this for displaying in the mentions menu in frontend.
Rewrite backend test.
2019-08-15 19:29:06 +02:00
Wolfgang Huß
6ab9a3204b
Fix the backend test
2019-08-15 11:07:57 +02:00
Alina Beck
38100b2df7
add masonry grid
2019-08-15 11:04:30 +02:00
Wolfgang Huß
0d66cc4dcf
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment
...
# Conflicts:
# backend/src/middleware/handleHtmlContent/handleContentData.js
# backend/src/schema/types/schema.gql
2019-08-15 10:16:33 +02:00
Wolfgang Huß
c2357d32b3
Fixed broken Editor tests without breaking the Mentions and the Hashtags in the Editor
2019-08-15 07:52:49 +02:00
Alexander Friedland
048c4a2502
Merge pull request #1224 from Human-Connection/A-1208-Registration-without-user-condition-confirmation
...
🍰 Registration confirmation of terms of use added II
2019-08-14 18:09:07 +02:00
Wolfgang Huß
43c2764fcf
Fix mentions and hashtags in editor
2019-08-14 18:05:03 +02:00
Robert Schäfer
b6c96b7a57
Merge pull request #1261 from Human-Connection/1201-localise-categories
...
Localise categories
2019-08-14 17:44:21 +02:00
roschaefer
58a7e1ce2d
Simplifycomponent, improve texts
...
@ogerly there is a difference between read and confirm: You can read but
don't have to confirm the terms and conditions. Therefore it's quite
important that the user also confirms the terms and conditions.
2019-08-14 16:38:35 +02:00