16408 Commits

Author SHA1 Message Date
Matt Rider
f7b2d52a7e Refactor resolver to use Promise and map
- forEach cannot be used with async/await
2019-06-07 15:58:51 -03:00
senderfm
f6af85c93c Language Packs Spanish and French current status 2019-06-07 20:33:16 +02:00
Matt Rider
ef1f5ea51c Nested beforeEach
- flaky test, leaky info
2019-06-07 14:47:57 -03:00
Matt Rider
687e121658 Remove unneccesary second database clean, reset variables
- in high level describe block, to avoid leaky info
2019-06-07 14:21:03 -03:00
Matt Rider
cc1be62bbd Add afterEach block to DeleteUser block
- not able to reliably get reproduce build failure locally
2019-06-07 13:58:53 -03:00
Matt Rider
6b0c1312f1 Refactor tests to dry out, search for by comment id 2019-06-07 13:38:31 -03:00
Matt Rider
70aa77bd2e Get user deletion working from UI 2019-06-07 13:37:59 -03:00
Wolfgang Huß
b2e1873ade Refactored to modalData for Delete Comment and Posts
The error is gone with this.
2019-06-07 18:04:12 +02:00
Matt Rider
fcb5ab8f1e Merge branch 'master' of github.com:Human-Connection/Human-Connection into 404-delete-user-account-and-data 2019-06-07 12:14:12 -03:00
Robert Schäfer
9384f85ebf Use jest's expectation matchers if possible
@Tirokk jest has a lot of assertion matchers that will give you better
error messages than the default ones:
https://jestjs.io/docs/en/expect.html#tohavelengthnumber
2019-06-07 16:53:30 +02:00
Robert Schäfer
314b257b45 Replace dependency ms completely
I have seen this PR here: https://github.com/Human-Connection/Human-Connection/pull/774 and I thought: Never saw that one before, where is it used and what is the purpose? I could find this line only and thought this is not a justification for having the package installed.
2019-06-07 15:49:18 +02:00
Matt Rider
ed5f14d052 Dry out resolver 2019-06-07 10:17:58 -03:00
Matt Rider
6e420d68d1 Improved UI
- add buefy for slider and checkboxes
- update/translate text
- add warning
- transition
2019-06-07 10:16:55 -03:00
dependabot-preview[bot]
9bccf2b849
Bump apollo-client from 2.6.1 to 2.6.2 in /webapp
Bumps [apollo-client](https://github.com/apollographql/apollo-client) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/apollo-client@2.6.1...apollo-client@2.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-07 12:39:39 +00:00
Robert Schäfer
02dca83358
Merge pull request #768 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-client-2.6.2
Bump apollo-client from 2.6.1 to 2.6.2 in /backend
2019-06-07 14:37:21 +02:00
Robert Schäfer
26e7858f70
Merge pull request #773 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-server-testing-2.6.2
Bump apollo-server-testing from 2.6.1 to 2.6.2 in /backend
2019-06-07 14:36:48 +02:00
Robert Schäfer
94ea9c9530 Fix lint 2019-06-07 13:48:59 +02:00
dependabot-preview[bot]
7d50c8f9fd
Bump apollo-client from 2.6.1 to 2.6.2 in /backend
Bumps [apollo-client](https://github.com/apollographql/apollo-client) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/apollo-client@2.6.1...apollo-client@2.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-07 11:20:30 +00:00
dependabot-preview[bot]
850121015f
Bump apollo-server-testing from 2.6.1 to 2.6.2 in /backend
Bumps [apollo-server-testing](https://github.com/apollographql/apollo-server) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/compare/apollo-server-testing@2.6.1...apollo-server-testing@2.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-07 11:20:28 +00:00
Robert Schäfer
54ef104f62
Merge pull request #766 from Human-Connection/dependabot/npm_and_yarn/webapp/prettier-1.18.0
Bump prettier from 1.17.1 to 1.18.0 in /webapp
2019-06-07 13:20:10 +02:00
Robert Schäfer
72b2fd48a7
Merge pull request #770 from Human-Connection/dependabot/npm_and_yarn/webapp/date-fns-2.0.0-alpha.31
Bump date-fns from 2.0.0-alpha.29 to 2.0.0-alpha.31 in /webapp
2019-06-07 13:19:41 +02:00
Robert Schäfer
5503df0895
Merge pull request #776 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-server-2.6.2
Bump apollo-server from 2.6.1 to 2.6.2 in /backend
2019-06-07 13:18:28 +02:00
Robert Schäfer
518a5eb617
Merge pull request #775 from Human-Connection/dependabot/npm_and_yarn/backend/date-fns-2.0.0-alpha.31
Bump date-fns from 2.0.0-alpha.29 to 2.0.0-alpha.31 in /backend
2019-06-07 13:17:52 +02:00
Robert Schäfer
7ab6ce4ed2 Fix typo in translation keys 2019-06-07 13:10:04 +02:00
Robert Schäfer
a06733fbfd Translate network tab on the left profile page 2019-06-07 13:01:47 +02:00
dependabot-preview[bot]
34a9799fac
Bump apollo-server from 2.6.1 to 2.6.2 in /backend
Bumps [apollo-server](https://github.com/apollographql/apollo-server) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/compare/apollo-server@2.6.1...apollo-server@2.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-07 05:00:10 +00:00
dependabot-preview[bot]
b5b3293af0
Bump date-fns from 2.0.0-alpha.29 to 2.0.0-alpha.31 in /backend
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.29 to 2.0.0-alpha.31.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.0.0-alpha.29...v2.0.0-alpha.31)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-07 04:59:36 +00:00
dependabot-preview[bot]
4194c6f3c1
Bump date-fns from 2.0.0-alpha.29 to 2.0.0-alpha.31 in /webapp
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.0.0-alpha.29 to 2.0.0-alpha.31.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.0.0-alpha.29...v2.0.0-alpha.31)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-07 04:57:42 +00:00
dependabot-preview[bot]
1627655c64
Bump prettier from 1.17.1 to 1.18.0 in /webapp
Bumps [prettier](https://github.com/prettier/prettier) from 1.17.1 to 1.18.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.17.1...1.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-07 04:56:04 +00:00
Robert Schäfer
a978591843 Fix bug introduced in 6f0447515
@ulfgebhardt For the `deleted` and `disabled` flags I would be glad if we could
take only one value, that is `true`, in case the post is considered disabled or
deleted respectively.

There might be more bugs like this now. Please keep in mind that these
counts are also used as total limits for pagination and you break the
pagination if you change the cypher statement.
2019-06-07 01:39:09 +02:00
Robert Schäfer
574b42a2a7 "commentedCount" is different from "commentsCount"
One is how many comments you wrote, one is how many **posts** are there
with at least one comment of you.

E.g. you can comment twice on the same post. You will have a
`commentedCount` increase of 1 but a `commentsCount` of 2.

FYI @ogerly @Tirokk
2019-06-07 01:39:09 +02:00
Robert Schäfer
d3a70321b8 Show a loading spinner for better UX 2019-06-07 01:39:09 +02:00
Robert Schäfer
de0bcd949a Fix test 2019-06-07 01:39:09 +02:00
Robert Schäfer
08778f3798 Remove unnecessary refetching
First of all this removes a bug, but it also shows that apollo triggers
the rerendering of dependent components.

FYI @mattwr18
2019-06-07 01:38:02 +02:00
Robert Schäfer
c9ef1bc5ce Implement switching of tabs and updating list 2019-06-07 01:38:02 +02:00
ALau2088
0401e3b929 add update comment to comments.spec 2019-06-06 15:58:32 -07:00
Robert Schäfer
4278c75d52 Refactor profile page, separate requests 2019-06-06 23:31:27 +02:00
Matt Rider
bf352dca92 Start backend implementation UserAccount Deletion 2019-06-06 17:28:52 -03:00
senderfm
92241576b3 Implement active Tabs 2019-06-06 19:34:28 +02:00
mattwr18
bc8dd22a91
Merge pull request #762 from Human-Connection/refactor_filter_bubble
Refactor filter bubble
2019-06-06 14:18:00 -03:00
mattwr18
0d4433a79f
Merge pull request #761 from Human-Connection/undo_location_reload
Disable the location.reloads
2019-06-06 14:17:50 -03:00
Matt Rider
ffa15bf728 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 404-delete-user-account-and-data 2019-06-06 14:15:02 -03:00
Matt Rider
f53d091691 Add error handling component tests 2019-06-06 13:50:10 -03:00
Matt Rider
cbd78a34dc Merge branch 'master' of github.com:Human-Connection/Human-Connection into refactor_filter_bubble 2019-06-06 13:36:24 -03:00
Matt Rider
55458abbff Merge branch 'master' of github.com:Human-Connection/Human-Connection into undo_location_reload 2019-06-06 12:36:08 -03:00
Matt Rider
8d089be414 Merge branch 'master' of github.com:Human-Connection/Human-Connection into dependabot/npm_and_yarn/webapp/tiptap-1.21.0 2019-06-06 12:35:45 -03:00
Wolfgang Huß
f944142e4b Very first approach to resolve callback problem in direction of customization of Modals 2019-06-06 16:33:35 +02:00
Robert Schäfer
ab719eca3e
Merge pull request #732 from Human-Connection/688-hover-effect-user-image-upload
Hover effect user image upload
2019-06-06 15:54:50 +02:00
Robert Schäfer
55cfb99a06
Merge pull request #742 from Human-Connection/dependabot/npm_and_yarn/webapp/tippy.js-4.3.3
Bump tippy.js from 4.3.2 to 4.3.3 in /webapp
2019-06-06 15:52:49 +02:00
Robert Schäfer
46288858ac
Merge pull request #756 from Human-Connection/dependabot/npm_and_yarn/webapp/@nuxtjs/axios-5.5.4
Bump @nuxtjs/axios from 5.5.3 to 5.5.4 in /webapp
2019-06-06 15:52:20 +02:00