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
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
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
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
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
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
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
Moriz Wahl
57101b80bf
cypress tests will really pass
2020-03-18 20:38:18 +01:00
Moriz Wahl
1060a2f6d0
cypress tests will pass
2020-03-18 20:38:18 +01:00
Moriz Wahl
9cb489dce1
Specs are running and regex in searches.js is cleaned up
...
Matching the whole text entered exactly is boosted by 8.
Matching all the words entered exactly is boosted by 4.
Matching some words ebtered exactly is boosted by 2.
Glob matching is applied for words with more than three characters is not boosted.
To Do: Deal with @ and # symbols.
To Do: Find a way to match unicode, e.g. kyrillic letters.
2020-03-18 20:38:18 +01:00
Moriz Wahl
a6a2ac4fbe
search spec starts doing what it should
2020-03-18 20:38:18 +01:00
Moriz Wahl
f9b6fb95ab
spec for searches added
2020-03-18 20:38:18 +01:00