Moriz Wahl
c6ff0723ee
inviteCodes: tests are working as expected, fixed factory
2021-01-14 22:34:53 +01:00
Moriz Wahl
f20e17dcc1
query for validation of invite code
2021-01-12 21:25:25 +01:00
Moriz Wahl
0c141b631f
factory and seeding for invite codes
2021-01-12 20:11:47 +01:00
Moriz Wahl
75485fe237
linting
2020-12-21 10:07:43 +01:00
Moriz Wahl
3f02ade329
createdAt converted toString in Email
2020-12-21 09:52:45 +01:00
Moriz Wahl
cee3317918
default user can login
2020-12-18 09:40:04 +01:00
Moriz Wahl
4fd136c625
Default user is created but cannot login sofar
2020-12-17 19:56:41 +01:00
Moriz Wahl
e90bc9fd46
undo changes on terms and condition agreed
2020-09-24 12:38:25 +02:00
Moriz Wahl
da801d6410
Removed category fragments form search gql
2020-06-02 15:43:56 +02:00
Moriz Wahl
de2193e75a
changes requested by reviewers
2020-06-02 14:12:14 +02:00
Wolfgang Huß
9aacb22a58
Merge pull request #3293 from Human-Connection/1741-follow-lists
...
feat: FollowerList [1741]
2020-04-20 13:01:29 +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
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
Raphael Beer
ebebb56a36
Chore: apply prettier update to backend change
2020-03-26 04:18:00 +01:00
Raphael Beer
481c96ee04
Change: seed db with all random users being followers/followed by user@example.com
2020-03-25 12:45:55 +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
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
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
1c43d5fe6f
Search for Hashtags works due watching route in pages/index.vue
2020-03-19 14:19:13 +01:00
Moriz Wahl
e236838523
migration added for index for fulltext tag search
2020-03-19 12:55:59 +01:00
Robert Schäfer
512ef672bf
feat: Introduce graphql image type ( #3043 )
...
* refactor(graphql): Introduce image type
* Undo changes to .travis.yml
* chore: Upgrade travis to node LTS
- URL is available since v10
* chore: use lts
Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
roschaefer
c9caa5bf4c
Fix uuid deprecations
2020-02-25 13:16:48 +01:00
Robert Schäfer
b003fb3f10
Merge pull request #2589 from Human-Connection/2587-geolocation-swap-lng-with-lat
...
fix: swap lat and lng
2020-02-18 17:55:57 +01:00
Moriz Wahl
5b41561cc4
throw error added to template
2020-02-18 14:16:46 +01:00
mattwr18
1b62dc3b2e
Remove sequence for slug as it's not needed
2020-02-18 13:40:48 +01:00
mattwr18
6f6b1534df
Reload page to add Category button
...
- I believe the cypress test is so fast that we visit the post/create
page before the relationship CATEGORIZED is added, and therefore, we
must refresh the page.
- I am not happy about this solution, but I'm not sure what we can do...
maybe wait for the post to be succesfully created with all it's
relationships?
2020-02-18 13:33:34 +01:00
mattwr18
ee3a85f70f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 3054-add-e2e-tests-image-uploader
2020-02-18 09:38:56 +01:00
roschaefer
6bba756856
Fix seeds, don't create additional categories
2020-02-18 00:30:53 +01:00
mattwr18
fa02a4dd33
Write cypress tests for ImageUploader
...
- have I missed any important features? too many tests?
2020-02-12 17:53:38 +01:00
Moriz Wahl
31cec2cf0c
improved migration
2020-02-11 14:37:10 +01:00
mattwr18
70bb034343
Remove unused email property from user factory
2020-02-10 13:13:51 +01:00
roschaefer
a77f8d92bc
Speed up factories a little
2020-02-08 17:55:07 +01:00
roschaefer
46edc3fdd5
Replace buildList with array of Promises
...
reason: Rosie.js does not support promises. So for the time being, we
shall not use more than one `after` callback and we shall not use
buildList as it does not return a `Promise.all([])`. We have to ask the
maintainers of Rosie.js if they accept the breaking change of returning
a Promise always.
2020-02-07 14:28:57 +01:00
roschaefer
3c50255da2
Merge remote-tracking branch 'origin/master' into refactor_factories_with_rosie
2020-02-07 14:07:19 +01:00
Moriz Wahl
86f298f8e5
prettier, prettier
2020-02-06 23:00:06 +01:00
Moriz Wahl
4905b09b3e
migration added to swap lat and lng in db
2020-02-06 20:47:45 +01:00
Moriz Wahl
cb8b2acffd
swap lng and lat in db seed
2020-02-06 19:56:44 +01:00
mattwr18
5931e363ef
Use original createdAt for merged users/emails ( #2969 )
...
- Also, use original verifiedAt date for emails. These users only have
newly created accounts/emails because of our blunder. Their nodes
should reflect when they became members/verified their emails.
2020-02-03 19:17:48 +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