mattwr18
2f249a73c5
Rename REPORTED Claim to FILED Report
2019-11-26 15:35:48 +01:00
Wolfgang Huß
4c91675838
Fix lint
2019-11-23 11:41:48 +01:00
Wolfgang Huß
8cc05ab910
More complex report and review seeding
2019-11-23 08:58:43 +01:00
Wolfgang Huß
ec8910d6eb
Rename decide mutation to review
2019-11-22 15:12:00 +01:00
Wolfgang Huß
ef84e9991f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# backend/src/schema/index.js
2019-11-21 08:09:50 +01:00
roschaefer
978347ba7b
Tell github-linguists to ignore snapshots
2019-11-16 20:09:05 +01:00
Wolfgang Huß
913fcc2cdb
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# backend/src/schema/index.js
# webapp/locales/pt.json
2019-11-14 09:41:00 +01:00
mattwr18
3b5e40efaa
Merge branch 'master' of github.com:Human-Connection/Human-Connection into donation-info
2019-11-12 15:18:10 +01:00
Alina Beck
6a98e5759f
fix lint errors in backend
2019-11-12 13:50:45 +03:00
mattwr18
311f2fc912
Create Donations node in seeds
...
Co-authored-by: @alina-beck <alina.beck@mail.com>
2019-11-12 10:20:21 +01:00
Wolfgang Huß
677039b786
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
...
# Conflicts:
# webapp/pages/moderation/index.vue
2019-11-11 17:52:58 +01:00
Wolfgang Huß
2a23bbf101
Refactor frontend and 'reports' query again
2019-11-07 15:54:26 +01:00
Wolfgang Huß
a4521b4621
Use of mutation disable removed
...
- The mutation definition still has to be removed.
2019-11-06 09:13:08 +01:00
Ewald Arnold
4285932319
Merge branch 'russian-locales' of https://github.com/Human-Connection/Human-Connection into russian-locales
2019-11-06 09:09:48 +01:00
Wolfgang Huß
4a6f8c423e
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-11-06 07:49:20 +01:00
roschaefer
a704709ba3
fix: resolver returned undefined for nameRU
...
This registers the language Russian in the backend. Unfortunately, the
locations seem to be implemented with a hard coded attribute for each
language. 😞
We should refactor this.
2019-11-04 20:39:28 +01:00
roschaefer
9b67036b43
Add random languages to seeds
2019-10-29 22:03:44 +01:00
Wolfgang Huß
15d28aa8ef
Finish redesign of moderators report list
...
- It is not perfect, but will do it for now.
2019-10-23 15:59:34 +02:00
Wolfgang Huß
11341b82e6
Structure reports in moderators list by content, just a beginning
2019-10-23 12:11:51 +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ß
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ß
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
Wolfgang Huß
a07010f50c
First step of implementing direct report relation
2019-10-10 15:38:20 +02: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
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
mattwr18
a6d86f78f4
Fix lint
2019-10-03 12:04:07 +02:00
mattwr18
6f1c5e3efa
Set hasMore to false when returned Posts are equal to pageSize
...
- this was causing bugs on User profile page, and saves a database call
2019-10-03 11:04:23 +02:00
mattwr18
7926cb39ba
Improve English descriptions
2019-09-17 08:50:22 +02:00
roschaefer
431de3319f
Make data-hashtag-id authoritive for #links
...
This adds consistency: The mention links with `@` was implemented
that way already. Instead of parsing the URL, we add some redundancy and
add another attribute: data-hashtag-id
So, what characters are valid for html attributes?
Read: https://stackoverflow.com/questions/925994/what-characters-are-allowed-in-an-html-attribute-name
Thanks to @Tirokk , who added some validations on the hahstag ids, I
think we are all set. If you try to write a hashtag with a `"` double
quotation mark for example, it gets automatically replaced with a valid
hashtag. If someone wants to send us invalid hashtag ids to the backend
directly, the regex there would filter it out.
2019-09-16 23:09:32 +02:00
roschaefer
64268a1f3c
Add locations to seeds, fix shoutedByCurrentUser
2019-09-03 21:28:29 +02:00
roschaefer
e5be418076
Refactor seeds - no need for a factories server!
...
Fix #1427
2019-09-03 21:28:29 +02:00
roschaefer
afe47e84c0
Remove the organizations for now
...
We haven't implemented them at all, so I would prefer not to have
obscure data in the database.
2019-09-03 21:28:29 +02:00
Matt Rider
fd9a355910
Fix incorrect id in seeds notification
...
- Jenny Rostok was being notified that someone had mentioned them in p2, when actually it was Peter Lustig who had been mentioned.
2019-08-30 16:00:32 +02:00
Matt Rider
7bbbf40bcc
Update seeds to create post with a category
2019-08-20 16:39:26 +02:00
Matt Rider
569ace137b
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment
2019-08-15 10:14:47 +02:00
Robert Schäfer
b6c96b7a57
Merge pull request #1261 from Human-Connection/1201-localise-categories
...
Localise categories
2019-08-14 17:44:21 +02:00
Matt Rider
ee93efd6d9
Localise categories
2019-08-14 13:57:39 +02:00
Wolfgang Huß
825a5f235a
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment
2019-08-14 13:10:19 +02:00
Robert Schäfer
b63f6b0ba1
Setup blocked relationships in seeds
2019-08-13 11:05:29 +02:00
Robert Schäfer
f8b37b5c1e
Remove obsolete relationship 'BLACKLISTED'
2019-08-13 11:05:29 +02:00
Robert Schäfer
2eaf66378a
Merge pull request #1133 from Human-Connection/384-emotions-on-posts
...
Emotions on posts
2019-08-09 00:37:38 +02:00
Matt Rider
fd022c7992
Fix mentions in seeds
2019-08-08 10:19:38 +02:00
Matt Rider
b6975bde89
Add data-mention-id to seeds mentions
2019-08-08 10:07:57 +02:00
Matt Rider
cb7217f5a7
Fix bug
...
- apollo query fetchPolicy set to no-cache so that it will refetch a post's emotions count on page transition
2019-08-06 08:05:35 +02:00
Matt Rider
0a98113c2d
Add backend tests for RemovePostEmotions
2019-07-30 13:28:30 +02:00
Wolfgang Huß
cd0c509c81
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 1017-send-out-notifications-on-create-omment
2019-07-16 16:10:36 +02:00