Wolfgang Huß
ae4f53e09c
Correct backend test
...
- And added some empty lines for nice formating.
2020-11-02 15:50:21 +01:00
Moriz Wahl
48cf0a6816
comments are sorted by createdAt
2020-10-26 11:40:25 +01:00
Moriz Wahl
c4b436f6cb
spinner added to download button, only the posts written by the user are exported
2020-10-26 10:43:22 +01:00
Ademílson F. Tonato
1df69c90fd
feat: add tests for mark all as read (backend)
2020-10-24 19:38:45 +01:00
Ademílson F. Tonato
0bffede021
feat: add mutation for new functionality (mark-all-as-read)
...
- Add mutation for markAllAsRead (notifications)
- Add method to the schema that returns a list of all notifications
- Add permissions rules to invoke this method (isAuthenticated)
See #2660
2020-10-24 11:29:09 +01:00
Moriz Wahl
14de48ecd7
deleted or disabled post are not available for user data download.
2020-10-16 11:00:58 +02:00
Moriz Wahl
106e2713d6
simplefied cypher, cleanDatabase after specs
2020-10-14 15:26:00 +02:00
Moriz Wahl
9b2bf64db5
improved specs for userData resolver
2020-09-30 11:22:49 +02:00
Moriz Wahl
2eff1ab97b
specs for userData resolver
2020-09-29 17:24:43 +02:00
Moriz Wahl
0e678a5559
basic json download of user data
2020-09-29 13:35:47 +02:00
Moriz Wahl
a67b74cae0
backend for export user data
2020-09-24 17:24:27 +02:00
Moriz Wahl
ade4114c73
Merge branch '2144-Add_Search_Results_Page' of https://github.com/Human-Connection/Human-Connection into 2144-Add_Search_Results_Page
2020-09-24 12:33:01 +02:00
Moriz Wahl
0a11156d49
remove first character in query string if it is @, ! or #
2020-09-24 12:31:55 +02:00
Wolfgang Huß
44cf8c6b65
Fix backend tests by fixing US location
2020-09-23 08:03:39 +02:00
Alexander Friedland
abdce9aaa7
cange country
...
United States of America TO United States
2020-08-19 11:56:45 +02:00
ogerly
bbf578ffc6
fix: location nameEN to United States
2020-08-18 15:35:16 +02:00
ogerly
6a68bb8f83
fix: location map box USA
2020-08-18 11:50:32 +02:00
ogerly
1b268b4891
fix: lint
2020-08-14 17:48:29 +02:00
Alexander Friedland
6d856a3edc
Merge branch 'master' into 17-Admin-Remove-user-profile
2020-08-14 17:23:16 +02:00
ogerly
3d69ebbb1c
fix: tests ok, lint ok
2020-08-14 11:39:38 +02:00
ogerly
0b62d76bc1
fix: prework for tests
2020-08-05 13:45:24 +02:00
Wolfgang Huß
17a296b82e
Refactore and cleanup backend tests
...
- Removed double declarations.
- Put assignments in 'beforeEach'.
2020-08-05 08:53:45 +02:00
ogerly
b25bf7b0b3
fix: lint
2020-08-03 15:22:21 +02:00
ogerly
388331f5ae
test specs clear
2020-08-03 15:13:55 +02:00
ogerly
a4be3f7adf
test check test WIP
2020-08-03 14:49:50 +02:00
ogerly
d2a43cecd7
fix lint: tests and lint ok
2020-07-30 12:14:27 +02:00
ogerly
9d5c192869
tests user.spec.js tests once clean once broken always alternating
2020-07-30 11:45:51 +02:00
Moriz Wahl
de2193e75a
changes requested by reviewers
2020-06-02 14:12:14 +02:00
Wolfgang Huß
dcc5b74038
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 17-Admin-Remove-user-profile
2020-05-28 10:52:24 +02:00
Moriz Wahl
e090ac6998
specs for searches by type
2020-04-15 14:32:13 +02:00
Moriz Wahl
e03d209c45
In the search field, if the first charater is '!', '@' or '#' it only shows results for posts, users or hastags with a limit of 15 in the dropdown
2020-04-15 09:58:23 +02:00
Moriz Wahl
7562af227e
pages are counted correctly
2020-04-14 21:41:45 +02:00
Moriz Wahl
b2a5d51106
refactoring
2020-04-14 18:53:40 +02:00
Moriz Wahl
c060ad0c4a
refactoring
2020-04-14 16:45:29 +02:00
Moriz Wahl
499f9859e8
skip and offset removes from cypher as it has no effect. Added function to apply limits
2020-04-13 23:38:40 +02:00
Moriz Wahl
ee1569d5d9
refactoring of search by types
2020-04-13 16:34:47 +02:00
Moriz Wahl
269c2d78dd
searchHashtags added
2020-04-08 17:59:49 +02:00
Moriz Wahl
80776d012d
added userCounts and postCounts to specific searchResults
2020-04-08 17:39:09 +02:00
mattwr18
db20af2d39
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2144-Add_Search_Results_Page
2020-04-02 08:19:43 +02:00
mattwr18
e8492b59f4
feat: add pagination for search page
...
- it wasn't really making sense to have one query for all users/posts,
future hashtags, because we change the first/offset when the user
paginates, which would unneccesarily refetch all other resources.
- the solution was to separate them into their own queries and only
refetch when the user wants to paginate the resources.
2020-04-02 00:36:26 +02:00
mattwr18
58944a0c65
refactor(tests): return errors
2020-04-01 13:32:47 +02: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
roschaefer
6a0b5a22e0
Merge remote-tracking branch 'origin/master' into 17-Admin-Remove-user-profile
2020-03-24 21:48:22 +01:00
roschaefer
276ea79e8f
Update prettier to v2
2020-03-24 21:11:11 +01:00