roschaefer
fcb944b7c4
Add documentation to setup error reporting
2019-08-19 21:21:51 +02:00
roschaefer
58795ad990
Implement error reporting for the backend
2019-08-19 20:14:43 +02:00
roschaefer
4d29206982
Configure sentry for nuxtJS
2019-08-19 20:14:43 +02:00
Robert Schäfer
2e3cc0a039
Merge pull request #1284 from Human-Connection/dependabot/npm_and_yarn/backend/babel-jest-24.9.0
...
Bump babel-jest from 24.8.0 to 24.9.0 in /backend
2019-08-19 20:04:36 +02:00
Robert Schäfer
aea77329c9
Merge pull request #1285 from Human-Connection/dependabot/npm_and_yarn/dotenv-8.1.0
...
Bump dotenv from 8.0.0 to 8.1.0
2019-08-19 20:04:22 +02:00
Robert Schäfer
a20ed6abf6
Merge pull request #1287 from Human-Connection/dependabot/npm_and_yarn/webapp/jest-24.9.0
...
Bump jest from 24.8.0 to 24.9.0 in /webapp
2019-08-19 20:04:14 +02:00
Robert Schäfer
bc6f8849c0
Merge pull request #1288 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-6.2.0
...
Bump eslint from 6.1.0 to 6.2.0 in /backend
2019-08-19 20:04:04 +02:00
dependabot-preview[bot]
e8483e28d0
Bump dotenv from 8.0.0 to 8.1.0
...
Bumps [dotenv](https://github.com/motdotla/dotenv ) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/motdotla/dotenv/releases )
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 14:56:51 +00:00
Robert Schäfer
13d9965599
Merge pull request #1294 from Human-Connection/1221-fix-logout-login-bug
...
Downgrade @nuxtjs/apollo
2019-08-19 16:54:51 +02:00
Robert Schäfer
8e28bf35dc
Merge pull request #1289 from Human-Connection/dependabot/npm_and_yarn/backend/neo4j-graphql-js-2.7.1
...
Bump neo4j-graphql-js from 2.7.0 to 2.7.1 in /backend
2019-08-19 16:54:18 +02:00
Robert Schäfer
baaf572405
Merge pull request #1286 from Human-Connection/dependabot/npm_and_yarn/backend/date-fns-2.0.0-beta.5
...
Bump date-fns from 2.0.0-beta.4 to 2.0.0-beta.5 in /backend
2019-08-19 16:51:14 +02:00
dependabot-preview[bot]
f65c3dea14
Bump jest from 24.8.0 to 24.9.0 in /webapp
...
Bumps [jest](https://github.com/facebook/jest ) from 24.8.0 to 24.9.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v24.8.0...v24.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 14:50:55 +00:00
dependabot-preview[bot]
ab01ba5d08
Bump eslint from 6.1.0 to 6.2.0 in /backend
...
Bumps [eslint](https://github.com/eslint/eslint ) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v6.1.0...v6.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 14:50:29 +00:00
dependabot-preview[bot]
4900ecdb62
Bump babel-jest from 24.8.0 to 24.9.0 in /backend
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 24.8.0 to 24.9.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v24.9.0/packages/babel-jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 14:50:22 +00:00
Robert Schäfer
3b6e211640
Merge pull request #1290 from Human-Connection/dependabot/npm_and_yarn/webapp/date-fns-2.0.0-beta.5
...
Bump date-fns from 2.0.0-beta.4 to 2.0.0-beta.5 in /webapp
2019-08-19 16:50:20 +02:00
Robert Schäfer
362c299888
Merge pull request #1291 from Human-Connection/dependabot/npm_and_yarn/backend/dotenv-8.1.0
...
Bump dotenv from 8.0.0 to 8.1.0 in /backend
2019-08-19 16:48:54 +02:00
Robert Schäfer
8a147c5153
Merge pull request #1292 from Human-Connection/dependabot/npm_and_yarn/webapp/babel-jest-24.9.0
...
Bump babel-jest from 24.8.0 to 24.9.0 in /webapp
2019-08-19 16:48:32 +02:00
Robert Schäfer
99eb2d7da1
Merge pull request #1293 from Human-Connection/dependabot/npm_and_yarn/backend/jest-24.9.0
...
Bump jest from 24.8.0 to 24.9.0 in /backend
2019-08-19 16:48:12 +02:00
mattwr18
90fa70e83d
Merge pull request #1282 from Human-Connection/count_from_0_to_0_by_default
...
Get rid of property warnings
2019-08-19 10:06:09 +02:00
Robert Schäfer
87461c21ca
Merge pull request #1280 from Human-Connection/refactor-graphql-queries
...
Refactor graphql queries
2019-08-19 09:58:38 +02:00
Matt Rider
12131f2ee3
Downgrade @nuxtjs/apollo
...
- Upgrading breaks our logut/login flow
- see
https://github.com/nuxt-community/apollo-module/releases
https://github.com/nuxt-community/apollo-module/pull/242/files
2019-08-19 09:03:37 +02:00
dependabot-preview[bot]
2d2563e264
Bump jest from 24.8.0 to 24.9.0 in /backend
...
Bumps [jest](https://github.com/facebook/jest ) from 24.8.0 to 24.9.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v24.8.0...v24.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 04:36:44 +00:00
dependabot-preview[bot]
63c05d76b5
Bump babel-jest from 24.8.0 to 24.9.0 in /webapp
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 24.8.0 to 24.9.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v24.9.0/packages/babel-jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 04:36:03 +00:00
dependabot-preview[bot]
96007bb42e
Bump dotenv from 8.0.0 to 8.1.0 in /backend
...
Bumps [dotenv](https://github.com/motdotla/dotenv ) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/motdotla/dotenv/releases )
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 04:35:23 +00:00
dependabot-preview[bot]
a2e1f52294
Bump date-fns from 2.0.0-beta.4 to 2.0.0-beta.5 in /webapp
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.0.0-beta.4 to 2.0.0-beta.5.
- [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-beta.4...v2.0.0-beta.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 04:34:24 +00:00
dependabot-preview[bot]
7669f22831
Bump neo4j-graphql-js from 2.7.0 to 2.7.1 in /backend
...
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js ) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/neo4j-graphql/neo4j-graphql-js/releases )
- [Changelog](https://github.com/neo4j-graphql/neo4j-graphql-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/neo4j-graphql/neo4j-graphql-js/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 04:33:44 +00:00
dependabot-preview[bot]
47b0e259d4
Bump date-fns from 2.0.0-beta.4 to 2.0.0-beta.5 in /backend
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.0.0-beta.4 to 2.0.0-beta.5.
- [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-beta.4...v2.0.0-beta.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 04:31:24 +00:00
roschaefer
aa52587f83
Get rid of property warnings
...
If we always choose `0` as the default value for `endVal` in case it is
not given (maybe apollo assigns null when the request is in flight) then
just make `0` the default.
2019-08-16 17:08:00 +02:00
roschaefer
b27a01438e
Damn you're right @mattwr18
...
You are right with this statement: https://github.com/Human-Connection/Human-Connection/pull/1280#discussion_r314675882
2019-08-16 16:53:38 +02:00
mattwr18
90e5579cab
Merge pull request #1278 from Human-Connection/fix_hashtag_db_import
...
Fix hashtag db import
2019-08-16 14:37:09 +02:00
mattwr18
d0dab6fdf8
Merge pull request #1277 from Human-Connection/fix_bug_on_admin_dashboard
...
Fix `Cannot read property countUser of null`
2019-08-16 14:34:11 +02:00
Matt Rider
fdc0d808f6
Fix search query
2019-08-16 14:18:18 +02:00
Matt Rider
dbaa8e687f
Fix vue warnings, fix tests, refactor
...
- was throwing an error when trying to update commentsCount because of new implementation by @roschaefer which uses countResolver, but there was no related for commentsCount, it was r... also commentsCount is no longer needed anywhere in the code base, it is commentedCount now
2019-08-16 13:28:55 +02:00
Matt Rider
d511d6aa78
Refactor graphql queries
...
- Remove duplicate queries
- Use smart query in pages/post/_id/_slug/index.vue to avoid multiple db requests for a post and its comments.
We cannot update the apollo cache with asyncData and smart queries have a prefetch policy set to true by default, which
means that they will resolve in a similar timeframe. https://stackoverflow.com/questions/55885337/in-nuxt-should-i-use-asyncdata-or-default-apollo-queries
https://vue-apollo.netlify.com/api/smart-query.html#options
https://vue-apollo.netlify.com/guide/ssr.html#vue-cli-plugin
2019-08-16 11:25:53 +02:00
Robert Schäfer
cd80981130
Merge pull request #1279 from Human-Connection/dependabot/npm_and_yarn/backend/hapi/joi-15.1.1
...
Bump @hapi/joi from 15.1.0 to 15.1.1 in /backend
2019-08-16 10:27:06 +02:00
mattwr18
50fc7b8580
Merge pull request #1271 from Human-Connection/fix_missing_slug
...
Fix user mention menu on production data
2019-08-16 09:22:46 +02:00
dependabot-preview[bot]
ba1052d337
Bump @hapi/joi from 15.1.0 to 15.1.1 in /backend
...
Bumps [@hapi/joi](https://github.com/hapijs/joi ) from 15.1.0 to 15.1.1.
- [Release notes](https://github.com/hapijs/joi/releases )
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hapijs/joi/compare/v15.1.0...v15.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-16 04:19:32 +00:00
roschaefer
51b734275a
The name of the hashtag is now it's ID
...
`name` was just a redundant attribute
2019-08-16 01:49:29 +02:00
roschaefer
bb4b3196a7
Fix various issues in legacy db import
...
Most important: Remove `#` symbol from Tags and snakeCase them.
2019-08-16 00:29:42 +02:00
roschaefer
3d4724e314
Fix Cannot read property countUser of null
...
This commit message is a great example of why you should explain
**the reason** of your commit.
When I came across this bug I had a quick look into the code where it
came from. I could see that the bug only happened after a timer and
apparently reverting the biggest part of d84892930295dcfd3f6687fc33c7234446127099
would fix the bug. However I have no idea what the following commit
message means:
```
commit d84892930295dcfd3f6687fc33c7234446127099
Author: Grzegorz Leoniec <greg@app-interactive.de>
Date: Wed Mar 6 18:45:57 2019 +0100
Improved countTo component
```
I just don't know why the code is there - like what is it's purpose
@appinteractive? I can only guess: I believe that it's supposed to
update the counters in-place (without starting from 0 everytime).
Because apollo was set to poll the data every second.
Taking that into account I would rather remove this polling feature
completely and have less code and less complexity. Admins can still
refresh the page.
2019-08-16 00:28:13 +02:00
Robert Schäfer
1c1d74e30d
Merge pull request #1274 from Human-Connection/dependabot/npm_and_yarn/webapp/human-connection/styleguide-0.5.19
...
Bump @human-connection/styleguide from 0.5.18 to 0.5.19 in /webapp
2019-08-15 22:36:19 +02:00
Robert Schäfer
9ccfa2f0da
Merge pull request #1176 from Human-Connection/845-load-more
...
845 load more
2019-08-15 22:03:32 +02:00
dependabot-preview[bot]
22f79d6e0b
Bump @human-connection/styleguide from 0.5.18 to 0.5.19 in /webapp
...
Bumps @human-connection/styleguide from 0.5.18 to 0.5.19.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-15 20:00:09 +00:00
roschaefer
d3b256e99e
Fix user mention menu on production data
...
Apparently some of our users in production have no slug, this will
assign an (hopefully unique) random slug to them.
2019-08-15 21:07:23 +02:00
Robert Schäfer
2cb8719d5f
Merge pull request #1269 from Human-Connection/dependabot/npm_and_yarn/webapp/human-connection/styleguide-0.5.18
...
Bump @human-connection/styleguide from 0.5.17 to 0.5.18 in /webapp
2019-08-15 20:35:20 +02:00
dependabot-preview[bot]
8305c69def
Bump @human-connection/styleguide from 0.5.17 to 0.5.18 in /webapp
...
Bumps @human-connection/styleguide from 0.5.17 to 0.5.18.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-15 15:43:57 +00:00
roschaefer
67bd1184aa
Fine tune throttle delay
2019-08-15 17:09:08 +02:00
roschaefer
a052743e8b
Bind infinite-scroll-* correctly
2019-08-15 11:39:09 +02:00
Robert Schäfer
f5c939472b
Fix console.errors in frontend tests
...
@MoldaB here's how you can register plugins in a frontend test. Pro tip:
You can run `yarn run test --run-in-band` to find out where the
console.errors come from. Jest, by default, runs in parallel which makes
it a little difficult to debug errors that don't fail the test.
2019-08-15 11:08:42 +02:00
molda
7cd3b0d524
implemented infinite-scroll in profile page
2019-08-15 11:08:42 +02:00