7596 Commits

Author SHA1 Message Date
roschaefer
75b2785941 Follow @alina-beck's suggestions 2019-12-03 00:47:07 +01:00
mattwr18
415ec7ba7a
Merge pull request #2399 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/addon-notes-5.2.8
build(deps-dev): bump @storybook/addon-notes from 5.2.6 to 5.2.8 in /webapp
2019-12-02 21:40:17 +01:00
mattwr18
5f14a2634d
Merge pull request #2393 from Human-Connection/dependabot/npm_and_yarn/webapp/eslint-6.7.2
build(deps-dev): bump eslint from 6.7.1 to 6.7.2 in /webapp
2019-12-02 21:39:57 +01:00
mattwr18
b9778b2260
Merge pull request #2374 from Human-Connection/dependabot/npm_and_yarn/webapp/vue/cli-shared-utils-4.1.1
build(deps-dev): bump @vue/cli-shared-utils from 4.0.5 to 4.1.1 in /webapp
2019-12-02 21:39:39 +01:00
roschaefer
b22e54181a Fix cucumber test 2019-12-02 21:07:12 +01:00
mattwr18
bcbce2a34a Refactor modalData to use mapMutations, computed
- clean it up some
2019-12-02 20:50:55 +01:00
mattwr18
7db3696819 Return createdAt/updatedAt for Report 2019-12-02 20:50:28 +01:00
mattwr18
e1c56346cc Add story/spec for ReportsTable component/refactor
- use data-test to target elements in tests
2019-12-02 20:50:10 +01:00
mattwr18
46b6483c90 Add story/spec for CounterIcon component 2019-12-02 20:48:12 +01:00
roschaefer
132c12a7d3 Close neo4j driver sessions
We had this error in our neo4j pod recently:

```
2019-12-02 08:29:42.680+0000 ERROR Unable to schedule bolt session 'bolt-1018230' for execution since there are no available threads to serve it at the moment. You can retry at a later time or consider increasing max thread pool size for bolt connector(s).
2019-12-02 08:29:42.680+0000 ERROR Unable to schedule bolt session 'bolt-1018224' for execution since there are no available threads to serve it at the moment. You can retry at a later time or consider increasing max thread pool size for bolt connector(s).
2019-12-02 08:29:42.681+0000 ERROR Unable to schedule bolt session 'bolt-1018352' for execution since there are no available threads to serve it at the moment. You can retry at a later time or consider increasing max thread pool size for bolt connector(s).
2019-12-02 08:29:42.682+0000 ERROR Unable to schedule bolt session 'bolt-1018243' for execution since there are no available threads to serve it at the moment. You can retry at a later time or consider increasing max thread pool size for bolt connector(s).
```

Apparently the default is 400 threads. So we must have a leak somewhere.
2019-12-02 18:12:11 +01:00
roschaefer
7c6d5b5129 fix: Re-enable webfinger feature
Ok, so here is the plan. Let's give both our cucumber features and your
cypress tests a prominent place to live. That would be the root level
folder of our application. Second, let's revive formerly dead code step
by step.

Ie. move code from the former location `backend/features/` to `features/`
when it is ready. All edge cases should be tested with unit tests in
`backend/`, see my `webfinger.spec.js` as an example.
2019-12-02 17:31:56 +01:00
dependabot-preview[bot]
8d4757d771
build(deps-dev): bump eslint from 6.7.1 to 6.7.2 in /webapp
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.1 to 6.7.2.
- [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.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 15:00:23 +00:00
mattwr18
c148ecb9a5
Merge pull request #2392 from Human-Connection/dependabot/npm_and_yarn/webapp/eslint-plugin-jest-23.1.1
build(deps-dev): bump eslint-plugin-jest from 23.0.5 to 23.1.1 in /webapp
2019-12-02 15:57:48 +01:00
mattwr18
4ac3f92989 Fix lint 2019-12-02 15:54:51 +01:00
roschaefer
58e7f4164d Fix German translation of "Shouts"
Requested by @DennisHack

@Mogge are you "moriz" on our discord who keeps track of translations?
This might be interesting for you, too.
2019-12-02 15:10:09 +01:00
Alina Beck
c75c8c6d2d pass imageAspectRatio to MasonryGridItems on user and more info page 2019-12-02 16:25:39 +03:00
Alina Beck
bf7042c423 enforce max image height 2019-12-02 16:14:18 +03:00
Alina Beck
d97973ab79 request faker images corresponding to set aspect ratios 2019-12-02 16:10:44 +03:00
mattwr18
e4aba5d4df Add test case/Fix message
- Test that the rule is automatically created for new reviews
- Improve English message
2019-12-02 13:56:44 +01:00
mattwr18
c05065f684 Refactor backend
- update script
- use readTxResult for validateReview
- favor more verbose variables
- do not set review.closed as we close the report and the rule at the
moment is set to 'latestReviewUpdatedAtRules' rule, so it's clear the
last review must have been the one that closed the report
2019-12-02 13:38:35 +01:00
mattwr18
35c3219460
Merge pull request #2316 from Human-Connection/2170-Change_of_Terms_of_Service
Terms of use extended with dot - no commercial use
2019-12-02 13:10:58 +01:00
mattwr18
b1c6176cc4
Merge pull request #2389 from Human-Connection/dependabot/npm_and_yarn/cypress-cucumber-preprocessor-1.17.0
build(deps-dev): bump cypress-cucumber-preprocessor from 1.16.2 to 1.17.0
2019-12-02 12:54:55 +01:00
mattwr18
e2d443c87f
Merge pull request #2380 from Human-Connection/lokalise-2019-11-29_11-04-05
Lokalise: Translations update
2019-12-02 12:08:55 +01:00
mattwr18
14a689d955 Remove comments 2019-12-02 12:02:15 +01:00
dependabot-preview[bot]
f2d4980ed8
build(deps-dev): bump @storybook/addon-notes in /webapp
Bumps [@storybook/addon-notes](https://github.com/storybookjs/storybook/tree/HEAD/addons/notes) from 5.2.6 to 5.2.8.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.2.8/addons/notes)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 10:51:05 +00:00
dependabot-preview[bot]
559737d8e4
build(deps-dev): bump eslint-plugin-jest in /webapp
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.0.5 to 23.1.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.0.5...v23.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 10:50:25 +00:00
dependabot-preview[bot]
ef8e0e04c8
build(deps-dev): bump @vue/cli-shared-utils in /webapp
Bumps [@vue/cli-shared-utils](https://github.com/vuejs/vue-cli/tree/HEAD/packages/@vue/cli-shared-utils) from 4.0.5 to 4.1.1.
- [Release notes](https://github.com/vuejs/vue-cli/releases)
- [Changelog](https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-cli/commits/v4.1.1/packages/@vue/cli-shared-utils)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 10:49:53 +00:00
mattwr18
6edf169074
Merge pull request #2391 from Human-Connection/dependabot/npm_and_yarn/webapp/storybook/addon-a11y-5.2.7
build(deps-dev): bump @storybook/addon-a11y from 5.2.6 to 5.2.7 in /webapp
2019-12-02 11:48:10 +01:00
mattwr18
08227d3f86
Merge pull request #2390 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-jest-23.1.1
build(deps-dev): bump eslint-plugin-jest from 23.0.5 to 23.1.1 in /backend
2019-12-02 11:47:43 +01:00
mattwr18
b6accd8d15
Merge pull request #2388 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-6.7.2
build(deps-dev): bump eslint from 6.7.1 to 6.7.2 in /backend
2019-12-02 11:47:17 +01:00
mattwr18
b6cfe087be
Merge pull request #2379 from Human-Connection/dependabot/npm_and_yarn/webapp/vue/server-test-utils-1.0.0-beta.30
build(deps-dev): bump @vue/server-test-utils from 1.0.0-beta.29 to 1.0.0-beta.30 in /webapp
2019-12-02 11:46:58 +01:00
mattwr18
056d5d0a0e
Merge pull request #2377 from Human-Connection/dependabot/docker/neo4j/neo4j-3.5.13-enterprise
build(deps): bump neo4j from 3.5.12-enterprise to 3.5.13-enterprise in /neo4j
2019-12-02 11:38:42 +01:00
dependabot-preview[bot]
b9464592e8
build(deps-dev): bump cypress-cucumber-preprocessor
Bumps [cypress-cucumber-preprocessor](https://github.com/TheBrainFamily/cypress-cucumber-preprocessor) from 1.16.2 to 1.17.0.
- [Release notes](https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/releases)
- [Changelog](https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TheBrainFamily/cypress-cucumber-preprocessor/compare/v1.16.2...v1.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 10:38:23 +00:00
mattwr18
b3bb8ac0e4
Merge pull request #2366 from Human-Connection/dependabot/npm_and_yarn/backend/babel/cli-7.7.4
build(deps-dev): bump @babel/cli from 7.7.0 to 7.7.4 in /backend
2019-12-02 11:37:58 +01:00
mattwr18
7c8d5b19e5
Merge pull request #2360 from Human-Connection/dependabot/npm_and_yarn/cypress-plugin-retries-1.5.0
build(deps-dev): bump cypress-plugin-retries from 1.4.0 to 1.5.0
2019-12-02 11:36:35 +01:00
mattwr18
00d5f58b00 Move components to features, style table[WIP]
- In conversations with @alina-beck, she suggested we move the
ReportsTable and FiledTable to features since it is tightly coupled to
Reports... we can work towards a table that is "dumb" and just takes the
data and displays it in another PR
- Add extra column for Current status
- Fix widths
2019-12-02 11:26:11 +01:00
dependabot-preview[bot]
6520a64b61
build(deps-dev): bump @storybook/addon-a11y in /webapp
Bumps [@storybook/addon-a11y](https://github.com/storybookjs/storybook/tree/HEAD/addons/a11y) from 5.2.6 to 5.2.7.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v5.2.7/addons/a11y)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 04:20:20 +00:00
dependabot-preview[bot]
393d2dec02
build(deps-dev): bump eslint-plugin-jest in /backend
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.0.5 to 23.1.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.0.5...v23.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 04:19:00 +00:00
dependabot-preview[bot]
dd71c80f34
build(deps-dev): bump eslint from 6.7.1 to 6.7.2 in /backend
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.1 to 6.7.2.
- [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.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 04:18:25 +00:00
roschaefer
048fb51116 feat: swap user name<=>handle for discriminability 2019-11-30 11:03:46 +01:00
roschaefer
3409a34374 Always show the menu to switch filters 2019-11-30 02:22:53 +01:00
roschaefer
74a65a9114 Be more specific "Current status" inst. of "Type" 2019-11-30 02:21:29 +01:00
roschaefer
9fd895fc42 Use <button> instead of <a>
If you don't want to link somewhere, use a button instead of an anchor,
fellas. 😉
2019-11-30 01:31:57 +01:00
Robert Schäfer
c1bc6897bb
Merge pull request #2382 from Human-Connection/improve_development_environment
No public registration in development so that backend test pass
2019-11-30 00:58:54 +01:00
mattwr18
985d53e52b Fix broken tests 2019-11-29 20:49:46 +01:00
mattwr18
c088c6eac4 Refactor test to avoid unneccessary http request
- Set up/tear down should not needlessly run http requests. These tests
are not designed to test that the report/review process works as
expected. that is the job of their respective unit tests/e2e tests.
2019-11-29 20:48:11 +01:00
mattwr18
7441dbf28c Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation 2019-11-29 20:43:09 +01:00
mattwr18
bbd80fbc23 Add test cases for review workflow 2019-11-29 19:45:52 +01:00
mattwr18
f5545e3976 Fix middleware/spec 2019-11-29 19:45:34 +01:00
mattwr18
5d63dda6ee Refactor validateReport/Review
- Don't throw error if a report already exists since we use MERGE and
that does not create a new resource if it exists. That is tested at the
neo4j(database) level.
- We also have a test to make in reports.spec.js that no duplicate is
created to ensure we didn't make some error on our part.
- Fix some faulty logic in validateReview
2019-11-29 18:47:41 +01:00