Wolfgang Huß
ee60bf7e15
Refactored the Cypher query for notifications
2020-03-11 11:03:03 +01:00
Wolfgang Huß
5dfd0f9ada
Merge fixes and lint fixes
2020-03-09 09:54:43 +01:00
Wolfgang Huß
af8b479fb4
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1709-send-feedbacks-in-report-processes-second-approach-merge-master
...
# Conflicts:
# backend/package.json
# backend/src/db/seed.js
# backend/src/middleware/notifications/notificationsMiddleware.js
# backend/src/middleware/notifications/notificationsMiddleware.spec.js
# backend/src/schema/resolvers/notifications.js
# backend/src/schema/resolvers/notifications.spec.js
# backend/yarn.lock
# cypress/integration/common/steps.js
# webapp/components/Notification/Notification.spec.js
# webapp/components/Notification/Notification.vue
# webapp/components/NotificationList/NotificationList.spec.js
# webapp/components/UserTeaser/UserTeaser.vue
# webapp/locales/de.json
# webapp/locales/en.json
# webapp/package.json
# webapp/yarn.lock
2020-03-09 09:34:49 +01:00
Wolfgang Huß
3ea1348bd4
Merge master
2020-03-09 08:37:05 +01:00
Wolfgang Huß
bef747b9a1
Implement suggestions of Matt
...
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2020-02-05 11:05:37 +01:00
Wolfgang Huß
346a1b0d3e
Merge branch '1709-send-feedbacks-in-report-processes' of github.com:Human-Connection/Human-Connection into 1709-send-feedbacks-in-report-processes
2020-02-03 10:11:10 +01:00
roschaefer
d6f5740ac1
Merge remote-tracking branch 'origin/master' into 1709-send-feedbacks-in-report-processes
2020-02-01 15:12:13 +01:00
roschaefer
fa0e64b7cb
Merge remote-tracking branch 'origin/master' into refactor_factories_with_rosie
...
There was a single step definition that created a post and a comment. I
would say let's put that in two different steps.
2020-02-01 13:33:07 +01:00
roschaefer
fc367297e3
Get rid of different factory files
...
..and fix some cypress tests
2020-01-28 23:12:50 +01:00
roschaefer
2fc71d75a5
Refactor factory for comments
2020-01-28 22:43:27 +01:00
roschaefer
95bfb090fd
Refactor factory for posts
2020-01-28 22:43:26 +01:00
Wolfgang Huß
9a8720218f
Implement suggestions of Matt
2020-01-24 19:35:01 +01:00
Wolfgang Huß
7eeddf2a8f
Implement suggestions of Matt
2020-01-24 19:23:01 +01:00
roschaefer
b063847849
refactor: Make db:setup init stage of migrate
2020-01-20 11:00:52 +01:00
Wolfgang Huß
f2d4d97645
Lint fix in backend
2020-01-16 15:55:26 +01:00
Wolfgang Huß
d4e5de5eff
Approach the first time to get the new notifications in the frontend
2020-01-16 15:52:07 +01:00
Wolfgang Huß
c033260587
Implement tests in notifications.spec.js for notifing filing reporter
2020-01-16 13:46:03 +01:00
Wolfgang Huß
dac262c456
First try to test new notifications
2020-01-10 16:17:28 +01:00
mattwr18
12236c9324
Convert to transaction function/refactor
...
- update incorrect variables
2019-12-10 18:09:32 +01:00
roschaefer
978347ba7b
Tell github-linguists to ignore snapshots
2019-11-16 20:09:05 +01:00
roschaefer
c24876c922
Add a double-check just to be sure
2019-09-23 13:51:21 +02:00
roschaefer
c669fc08eb
Fix intermittent backend specs
...
@mattwr18 I still see those false positives. This should fix it.
2019-09-23 13:47:43 +02:00
mattwr18
865c562048
Fix intermittent failing test
...
- the test was regularly failing our build
- change from toEqual to toMatchObject since there is more info coming
back, like errors, etc...
2019-09-23 08:09:35 +02:00
mattwr18
bec629e8ef
Fix intermittent failing test
...
- not concerned about the order of the notification in this test
2019-09-13 20:51:15 +02:00
roschaefer
7b44a87e3b
Follow @mattwr18's suggestions
2019-09-03 21:28:29 +02:00
roschaefer
76acebbb73
Notifications query filters for deleted resources
...
This should finally fix #1414
2019-09-03 21:28:29 +02:00
roschaefer
1b5d91bfd2
Refactor post spec, implement soft delete, fix bug
...
I think the validation for categories was too complex and the graphql
query 'PostEmotionsByCurrentUser' was erroneously allowed for
unauthenticated users.
2019-09-03 21:28:29 +02:00
roschaefer
3f121c7c4d
Refine notification behaviour:
...
If you mark a post or comment as read even though you already marked the
corresponding notification as read, then you receive `null`.
2019-08-30 16:00:32 +02:00
roschaefer
2846a6a8d3
Spec for notifications passing
2019-08-30 16:00:32 +02:00
roschaefer
cf8ead10f3
Start to refactor backend tests
2019-08-30 16:00:32 +02:00
roschaefer
4b96454b90
Notifications resolver capable of orderBy + filter
2019-08-30 16:00:32 +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
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
29f39c4f45
Update backend tests
...
- Every test that created or updated a post needed to be updated to add categoryIds
2019-08-20 15:54:51 +02:00
Wolfgang Huß
83a538d345
Write backend tests
...
Rename files.
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-08-19 22:13:42 +02: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ß
e8c1a5fe8d
Write backend tests
2019-08-14 18:05:13 +02:00
Wolfgang Huß
67f25104f4
Fixing lint
2019-08-14 13:22:01 +02:00
Wolfgang Huß
22b9bf77fa
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment
...
# Conflicts:
# backend/src/schema/resolvers/notifications.spec.js
2019-08-05 10:15:20 +02:00
Robert Schäfer
e1bb6ed74e
Fix lint
2019-08-02 01:45:36 +02:00
Wolfgang Huß
ff234eeed5
Preparing for Mentions of users in Comments
...
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-07-16 08:12:40 +02:00
177e33c022
fixed spec include paths
2019-06-03 19:34:58 +02:00
f78c54a3e8
refactored backend structure
2019-05-31 19:31:39 +02:00