Wolfgang Huß
bd0cde685b
Fix lint
2020-04-09 11:09:28 +02:00
Wolfgang Huß
20dd610e27
Define database migration to create implemented notifications
...
- Create notifications for all old filed reports to all of their submitters.
2020-04-09 10:38:50 +02:00
Wolfgang Huß
ce245d65fa
Cleanup
2020-04-09 10:36:36 +02:00
Wolfgang Huß
7478b788a6
Cleanup
2020-04-09 08:18:03 +02:00
Wolfgang Huß
566697d9cd
Cleanup
2020-04-08 16:25:55 +02:00
Wolfgang Huß
db7908139c
Cleanup
2020-04-08 15:56:27 +02:00
Wolfgang Huß
b417667d31
Rename return property of 'extractNotificationDataOfCurrentUser'
...
- Renamed 'report' to 'filedReport'.
- Commented on the need of deep nested and similair properties for GQL of notifications.
2020-04-03 15:25:07 +02:00
Wolfgang Huß
f8de595d3b
Extent storybook NotificationsTable with filed report notifications
2020-04-03 13:43:42 +02:00
Wolfgang Huß
dfecb525fd
Fix lint
2020-04-03 09:28:05 +02:00
Wolfgang Huß
6f8b48024d
Fix Cypher for notifications queries
...
- Fixed GQL queries for notifications – normal, aerkAsRead, subscriptions add.
- Refactored notifications tests to check for authors of all types.
2020-04-03 08:59:17 +02:00
Wolfgang Huß
1036540a00
Clean up
2020-04-01 16:14:24 +02:00
Wolfgang Huß
d0cf1cc185
Fix lint
2020-04-01 15:53:57 +02:00
Wolfgang Huß
0d690e1a6a
Merge branch '3389-refactor-searches-unit-tests-to-return-errors' of github.com:Human-Connection/Human-Connection into 1709-send-feedbacks-in-report-processes-second-approach
2020-04-01 14:45:43 +02:00
mattwr18
58944a0c65
refactor(tests): return errors
2020-04-01 13:32:47 +02:00
Wolfgang Huß
a52cbe1c66
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1709-send-feedbacks-in-report-processes-second-approach
...
# Conflicts:
# backend/src/db/seed.js
# backend/src/middleware/notifications/notificationsMiddleware.js
# backend/src/schema/resolvers/notifications.js
# webapp/components/NotificationsTable/NotificationsTable.spec.js
2020-04-01 12:22:56 +02:00
mattwr18
52b5a4b0f8
fix(migration): Set maxSockets to avoid rate limit
2020-03-30 14:14:06 +02:00
mattwr18
ff348fdd5c
chore: remove image nodes that point to nothing
...
- remove their relationships to posts/users as well
2020-03-26 19:01:09 +01:00
roschaefer
cedd0ac9e8
Code creep: Avoid migration errors
...
..because of existing indices. I think this is unnecessary, e.g. in
development.
2020-03-26 16:41:32 +01:00
roschaefer
2e1d5b6bb8
chore(migration): Remove dangling urls
2020-03-26 16:39:03 +01:00
mattwr18
bde6bfc5fa
fix(migration): fix errors after dry run
...
- avoid content-type is not a string, by checking if there is a mimeType
or giving it a default 'image/jpeg'
- check if the file exists before trying to upload it (maybe this is
only an issue locally, but about half the files didn't exist in the
file system.
2020-03-26 14:03:21 +01:00
roschaefer
8a90bf1642
Fix backend tests
2020-03-25 11:09:06 +01:00
roschaefer
79808fe692
fix(s3): Avoid invalid URL error on delete
2020-03-25 11:09:06 +01:00
roschaefer
e9bd969f0a
Fix cypress tests
2020-03-25 11:09:06 +01:00
roschaefer
32da8b2982
refactor: Remove redundant credentials
...
aws-sdk reads them from environment variables.
2020-03-25 11:09:06 +01:00
roschaefer
eb838257d4
Ensure overwritten images are deleted on S3
2020-03-25 11:09:06 +01:00
mattwr18
2447e2b39b
feat: Support/favor s3Uploads for new uploads
2020-03-25 11:08:57 +01:00
mattwr18
c33217c526
Find mimeType/update image.url
2020-03-25 11:07:57 +01:00
roschaefer
179d9d000a
Start migration to bulk upload images to S3
2020-03-25 11:07:57 +01:00
roschaefer
276ea79e8f
Update prettier to v2
2020-03-24 21:11:11 +01:00
mattwr18
6e0459ca2d
fix(build): make locations spec more resilient
2020-03-23 20:45:17 +01:00
mattwr18
698c85b262
fix(backend): Obfuscate avatar/image fix test
...
- Then Image.url can be non-nullable because we return null if the
resource is deleted.
2020-03-23 19:16:10 +01:00
mattwr18
e0e026a8b8
fix(migration): return null for Image.url
2020-03-23 18:46:28 +01:00
roschaefer
ed7b739d98
fix(migration): Avoid unique constraint violation
2020-03-20 20:25:37 +01:00
Moriz Wahl
7d29400ef9
tag fulltext index added to store
2020-03-19 15:44:30 +01:00
Moriz Wahl
4e3705f607
specs for Search for Hashtags
2020-03-19 15:10:52 +01:00
Moriz Wahl
1c43d5fe6f
Search for Hashtags works due watching route in pages/index.vue
2020-03-19 14:19:13 +01:00
Moriz Wahl
014be6e7f8
partially working, index page does not update when route is changed
2020-03-19 12:59:15 +01:00
Moriz Wahl
e236838523
migration added for index for fulltext tag search
2020-03-19 12:55:59 +01:00
mattwr18
800e33e1be
chore: fix lint
2020-03-18 20:38:18 +01:00
Moriz Wahl
9c08db22dc
Changes requested by @mattwr18
2020-03-18 20:38:18 +01:00
Moriz Wahl
48564565a5
matchBeginningOfWords more compact
2020-03-18 20:38:18 +01:00
Moriz Wahl
0a15d785a3
test that a post written by muted user is not included in the search results
2020-03-18 20:38:18 +01:00
Moriz Wahl
d47274fb8e
linting
2020-03-18 20:38:18 +01:00
Moriz Wahl
b2ea4df294
refactored queryString, specs for queryString
2020-03-18 20:38:18 +01:00
Moriz Wahl
46fca229ec
search specs refactored
2020-03-18 20:38:18 +01:00
roschaefer
3d25ec5b4e
Start to refactor specs and implementation
...
@mogge this is just a rough guideline how to improve the quality of your tests.
Of course it needs to be continued.
2020-03-18 20:38:18 +01:00
Moriz Wahl
a9c6356ffa
clean db after test
2020-03-18 20:38:18 +01:00
Moriz Wahl
4f8d605b88
ensure that every post has an author
2020-03-18 20:38:18 +01:00
Moriz Wahl
5b5fc09053
fix typo
2020-03-18 20:38:18 +01:00
Moriz Wahl
8f1b3b9f6b
cypress test data adjusted to new search mechanism
2020-03-18 20:38:18 +01:00