Wolfgang Huß
72290e1c8a
Add ascendant ordering as enum to ReportOrdering
2019-10-17 10:16:27 +02:00
Wolfgang Huß
30f268525f
Add Cypher statement for ordering
...
- minor db manipulation text change
2019-10-16 13:32:45 +02:00
Wolfgang Huß
6dff10b236
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-reporting-with-specific-information
2019-10-16 09:27:13 +02:00
Wolfgang Huß
7067867f76
Changed mentioned file in comment
2019-10-16 09:25:50 +02:00
mattwr18
e8c6941142
Follow @roschaefer 's PR review suggestions
...
- disable button if form.reasonCategory is falsy
- extract valuesReasonCategoryOptions to global constant
- extract reasonCategoryOptions to created lifecycle hook to keep data()
clean and use map
- extract formSchema to components/utils and test
- remove validator from formSchema and validate based on "Deep Rules" https://github.com/yiminghe/async-validator#deep-rules
- Use v-model to update reasonCategory and reasonDescription
- default to error message in English from backend
- Update template slot to use new syntax
2019-10-15 20:28:25 +02:00
mattwr18
faf0a15aee
Update to use enum in tests, seed data, etc, refactor resolver
...
- Extract validations to the validations middleware to clean it up
- Remove resourceId since it throws an error in the mutation if the user
asks for it back, and the resourceId is returned in post/comment/user.id
- use writeTxResultPromise to benefit from automatic retries
- more descriptive variable naming
- extract cypher query to make db manipulation into script so that it
can be run from the command line, at least locally.
2019-10-14 21:07:55 +02:00
Wolfgang Huß
cae897808b
Follow Matts suggestions from his review
2019-10-14 17:38:38 +02:00
mattwr18
2818b63fe9
Fix lint
2019-10-14 16:42:11 +02:00
mattwr18
db48e522cf
Enforce a 16/9 aspect ratio
...
- if we set the max height any greater than this, it takes up the entire
page on a desktop screen
2019-10-14 16:42:11 +02:00
Wolfgang Huß
fd27583c1d
Merge branch '1707-reporting-with-specific-information' of github.com:Human-Connection/Human-Connection into 1707-refactor-db-reporting-with-specific-information
...
# Conflicts:
# shared/moderation/report.js
2019-10-14 16:21:08 +02:00
Wolfgang Huß
c7849cedd8
Rename report reason category names to have '_' instead '-'
2019-10-14 16:12:21 +02:00
Wolfgang Huß
6365d3df54
Implement enum for report reason categories after Matts suggestion
2019-10-14 15:53:36 +02:00
aonomike
47a2a21fc0
Resolve review comments
2019-10-14 16:46:37 +03:00
Wolfgang Huß
19facb22a9
Merge branch '1707-refactor-db-reporting-with-specific-information' of github.com:Human-Connection/Human-Connection into 1707-refactor-db-reporting-with-specific-information
2019-10-14 15:37:29 +02:00
Wolfgang Huß
3c472293ac
Update backend/src/schema/resolvers/reports.spec.js
...
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-10-14 15:22:25 +02:00
Wolfgang Huß
b50896bb45
Update backend/src/schema/resolvers/reports.spec.js
...
Co-Authored-By: mattwr18 <mattwr18@gmail.com>
2019-10-14 15:22:07 +02:00
Wolfgang Huß
663cfeb0b2
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-reporting-with-specific-information
2019-10-14 13:37:58 +02:00
Wolfgang Huß
8bc939c2da
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-refactor-db-reporting-with-specific-information
2019-10-14 13:36:24 +02:00
aonomike
0fe94a5d82
Complete refactor rewards spec
...
- Refactor unreward path
- refactor to use variables constant
2019-10-12 17:39:29 +03:00
aonomike
dcb40c2c33
refactor moderator user path
2019-10-12 17:00:36 +03:00
aonomike
bd83482465
Complete refactor of logged in administrator spec path
2019-10-12 16:50:58 +03:00
aonomike
b87f2a52cf
Refactor rewards spec
...
- Refactor unauthorised path
2019-10-12 15:04:43 +03:00
Wolfgang Huß
82228c6c99
Refactored backend database to a single REPORTED relation
2019-10-11 16:35:15 +02:00
mattwr18
b0e7ef34ed
Update findProviders.json path
2019-10-11 15:22:59 +02:00
mattwr18
dab05d9e67
Fix embeds settings page
...
- Dockerfile was not copying providers.json
- Fix file path to providers.json
- Update template to show message based on allowEmbedIframes
Co-authored-by: Robert Schäfer <git@roschaefer.de>
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-10-11 14:01:39 +02:00
mattwr18
596b8de615
Merge pull request #1805 from Human-Connection/1754-fix-buggy-profile-page-posts-duplicates
...
Update profile posts apollo query
2019-10-11 10:05:21 +02:00
Wolfgang Huß
94c7d73019
Merge branch '1707-reporting-with-specific-information' of github.com:Human-Connection/Human-Connection into 1707-refactor-db-reporting-with-specific-information
2019-10-11 08:17:15 +02:00
Wolfgang Huß
2a034ee74f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-reporting-with-specific-information
...
# Conflicts:
# webapp/locales/de.json
2019-10-11 08:16:00 +02:00
roschaefer
c8c0414564
fix: send nonce along with signup mail
2019-10-11 00:54:19 +02:00
roschaefer
9ac1e333d6
feat: implement public registration checks
2019-10-11 00:54:19 +02:00
Wolfgang Huß
a07010f50c
First step of implementing direct report relation
2019-10-10 15:38:20 +02:00
Wolfgang Huß
b41f340ad6
Fix Cypher test by correcting syntax of GraphQL report mutation
2019-10-10 08:15:17 +02:00
Wolfgang Huß
377dc2af53
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-reporting-with-specific-information
2019-10-09 16:23:53 +02:00
mattwr18
bced6983ea
Fix lint, update tests
...
- to remove vue warnings
- favor one expectation per it block
2019-10-08 20:47:13 +02:00
ogerly
1309aa5842
Merge branch 'Allow_embedded_code_in_posts_permanent_memory' of https://github.com/Human-Connection/Human-Connection into Allow_embedded_code_in_posts_permanent_memory
2019-10-08 18:57:28 +02:00
ogerly
e2da57287b
change providers.json
2019-10-08 18:56:45 +02:00
mattwr18
271cacb8fe
Merge branch 'master' of github.com:Human-Connection/Human-Connection into Allow_embedded_code_in_posts_permanent_memory
2019-10-08 13:01:07 +02:00
Alina Beck
49dfc8ac9d
Merge pull request #1829 from Human-Connection/fix-typo-in-email
...
Fix typo in email template
2019-10-07 15:35:00 +02:00
mattwr18
23841b95bb
Merge pull request #1808 from Human-Connection/1704_display-user-email-to-moderators
...
Display user email for administrators
2019-10-07 12:33:33 +02:00
Alina Beck
b0151e4b2e
fix typo in email template
2019-10-07 12:09:46 +02:00
Alexander Friedland
39b3d71be4
Merge branch 'master' into Allow_embedded_code_in_posts_permanent_memory
2019-10-07 10:35:04 +02:00
Wolfgang Huß
43e401293d
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1707-reporting-with-specific-information
2019-10-07 08:45:34 +02:00
aonomike
f8cf975d6c
Test that admin can access the email of a user
...
- Refactor all tests on permissionsMiddleware
2019-10-05 17:18:11 +03:00
aonomike
14c44877b7
Refactor the unauthenticated path test
2019-10-05 16:06:19 +03:00
aonomike
45a6016427
Allow admin to receive user email back
2019-10-05 16:00:29 +03:00
Wolfgang Huß
bb73ff43e4
Sanitize reason description and test, fix report in 'seed-db.js'
2019-10-04 16:58:32 +02:00
Wolfgang Huß
935252a16e
Rename variables, parameters and properties
2019-10-04 15:21:07 +02:00
Robert Schäfer
9318c28b72
Merge pull request #1809 from Human-Connection/1305-update-lastActiveAt
...
fixes#1305 lastActiveAt
2019-10-04 13:49:14 +02:00
mattwr18
c9219f0be3
Fix lint
2019-10-04 12:09:22 +02:00
mattwr18
3b5e39c54d
Update orderBy, remove >=, more realistic seed data
2019-10-04 11:42:55 +02:00