mattwr18
d18d9228b0
Refactor tests/resolvers
...
- we were making multiple http requests to report resources in this
test, now we are bypassing these requests by setting the database up to
how we want to test, then testing what we want in isolation.
- also added tests for closing a report
- favor union for returning resource
- simplify review mutation
2019-11-27 17:35:30 +01:00
mattwr18
3a05844356
Refactor tests/resolvers
...
- Favor union as it's cleaner and less code
- refactor tests to new implementation
- add reviewedByModerator resolver
2019-11-27 17:31:51 +01:00
mattwr18
d03d669056
Remove reviewedByModerator from resources
...
- moved to Report node, as the report was reviewed by the moderator...
a resource can have many reports on them, so we are interested in
grouping reviewed/filed by report
2019-11-27 17:26:42 +01:00
mattwr18
eceeecd9b7
Refactor reports query, tests
...
- Query returns an array of Reports with all the filedReports that
belong to them
- Mutation returns the same
2019-11-26 21:34:21 +01:00
mattwr18
2f249a73c5
Rename REPORTED Claim to FILED Report
2019-11-26 15:35:48 +01:00
mattwr18
ff404e3c37
Fix graphql mutation for returned Claim
2019-11-25 19:02:58 +01:00
mattwr18
20d693b921
Add tests for Claim, refactor tests
2019-11-25 19:00:58 +01:00
mattwr18
38c5b9e4ec
Refactor reports resolver, REPORTED type
...
- return Claim instead of setting more properties on relationship
REPORTED
- use readTransaction for query to benefit from autmatic retries, follow
neo4j suggestion
- use map instead of forEach https://codeburst.io/javascript-map-vs-foreach-f38111822c0f
2019-11-25 18:56:58 +01:00
mattwr18
f36ae9a63c
Refactor softDeleteMiddleware spec
...
- We have been using http requests in our set up in this file, which can
be avoided. We are not trying to test that the report/review workflow
works properly here, we are trying to test that if a resource was
reported, and then disabled, some conditions are true. Certainly, we
will have tests that check that the report, review workflow works as
expected.
2019-11-25 17:05:04 +01:00
mattwr18
1a5fd29922
Add Claim model
2019-11-25 17:04:47 +01:00
Wolfgang Huß
4d645ebc04
Correct mutation to display the comment disabling right
2019-11-23 13:11:09 +01:00
Wolfgang Huß
1574a6cdb6
Check database manipulation script again
2019-11-23 12:32:01 +01:00
Wolfgang Huß
043b951459
Try avoid modal to show success on error, but not successful
2019-11-23 11:42:46 +01:00
Wolfgang Huß
4c91675838
Fix lint
2019-11-23 11:41:48 +01:00
Wolfgang Huß
8a4ca956e8
Rename variable
2019-11-23 11:20:16 +01:00
Wolfgang Huß
116d597d24
Cleaned SCSS
2019-11-23 11:11:00 +01:00
Wolfgang Huß
a8a99e763c
Fix client-side rendered virtual DOM warnings
2019-11-23 11:05:41 +01:00
Wolfgang Huß
67a5a00704
Clean up
2019-11-23 10:58:16 +01:00
Wolfgang Huß
2f07d528e4
View status icon under type icon
2019-11-23 10:49:34 +01:00
Wolfgang Huß
6890ef25be
Add sorting to resource claims and reports lists
2019-11-23 10:34:55 +01:00
Wolfgang Huß
70d8830e4c
Add comment to Cypher of report mutation
2019-11-23 09:32:29 +01:00
Wolfgang Huß
c757386f26
Better layout
2019-11-23 08:59:04 +01:00
Wolfgang Huß
8cc05ab910
More complex report and review seeding
2019-11-23 08:58:43 +01:00
Wolfgang Huß
0b7a0496a2
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# webapp/locales/de.json
2019-11-23 08:07:53 +01:00
mattwr18
6cf60e6ae1
Merge pull request #2324 from Human-Connection/update-to-version-0.1.11
...
Update to version 0.1.11
2019-11-22 21:09:25 +01:00
mattwr18
453480f805
Update to version 0.1.11
2019-11-22 20:23:48 +01:00
mattwr18
19e429f952
v0.1.11
2019-11-22 20:19:02 +01:00
Wolfgang Huß
b2db3118f2
Add dubios vanished code again
2019-11-22 19:32:13 +01:00
Wolfgang Huß
d5afb6c790
Add old script again as template
2019-11-22 19:31:19 +01:00
mattwr18
2e559f22a6
Merge pull request #2328 from Human-Connection/2259-embeds-not-displayed
...
Add LegacyEmbeds component to fix bug
2019-11-22 19:23:06 +01:00
Wolfgang Huß
99af6cbf8a
Implement displaying multiple claims in the frontend
2019-11-22 18:40:51 +01:00
mattwr18
e4d04c22c0
Merge pull request #2309 from Human-Connection/fix-incorrect-link-to-test-environment
...
Fix incorrect link to development environment
2019-11-22 16:33:01 +01:00
mattwr18
0a96f3ed6f
Merge pull request #2330 from Human-Connection/2329-normalize_emails_in_login_form
...
2329 normalize emails in login form
2019-11-22 16:30:56 +01:00
Wolfgang Huß
0bf8bcf1c6
Change watch to apollo reports update
2019-11-22 16:22:11 +01:00
Wolfgang Huß
0de778e743
Correct mutations report and review to overtake the resource disabled
2019-11-22 16:14:45 +01:00
Wolfgang Huß
7de34d3d55
Fix tests by first report before review
2019-11-22 15:56:21 +01:00
Wolfgang Huß
59f53a07c6
Clean up
2019-11-22 15:24:50 +01:00
roschaefer
ae360f2201
fix #2329 : Normalize email on login in the backend
2019-11-22 15:24:27 +01:00
Wolfgang Huß
9a7774ce86
Implement review validation with validateReview
2019-11-22 15:19:49 +01:00
Wolfgang Huß
ec8910d6eb
Rename decide mutation to review
2019-11-22 15:12:00 +01:00
mattwr18
c78a4189b9
Update component test
2019-11-22 15:08:54 +01:00
roschaefer
145b6727b1
Fix 2329 in the frontend
2019-11-22 15:08:25 +01:00
roschaefer
e9dcfd04fd
Expose #2329
2019-11-22 15:04:06 +01:00
mattwr18
9dce86358b
Merge pull request #2327 from Human-Connection/lokalise-2019-11-22_12-55-23
...
Lokalise: Translations update
2019-11-22 14:50:34 +01:00
mattwr18
aeac1edb32
Add LegacyEmbeds component to fix bug
2019-11-22 12:58:57 +01:00
lokalise-bot
3e52ee090c
Lokalise: update of webapp/locales/ru.json
2019-11-22 12:55:34 +01:00
lokalise-bot
bcd9f0ec93
Lokalise: update of webapp/locales/pt.json
2019-11-22 12:55:32 +01:00
lokalise-bot
32942e1346
Lokalise: update of webapp/locales/it.json
2019-11-22 12:55:30 +01:00
lokalise-bot
7ab1686caa
Lokalise: update of webapp/locales/fr.json
2019-11-22 12:55:29 +01:00
lokalise-bot
b5f0e83cb7
Lokalise: update of webapp/locales/es.json
2019-11-22 12:55:27 +01:00