Wolfgang Huß
567758bc56
Merge branch 'master' of https://github.com/Ocelot-Social-Community/Ocelot-Social into 4124-switch-user-role
2021-02-10 13:08:41 +01:00
Moriz Wahl
0af45c0156
change role as admin tests added. current user cannot change own role
2021-01-29 14:16:42 +01:00
Moriz Wahl
190f9ba322
setup for switch iser role as admin
2021-01-18 17:37:57 +01:00
Moriz Wahl
dd6cafed4c
basic specs for inviteCodes
2021-01-11 21:25:02 +01:00
Moriz Wahl
a1967815bf
further invite code
2021-01-07 13:30:11 +01:00
roschaefer
276ea79e8f
Update prettier to v2
2020-03-24 21:11:11 +01:00
mattwr18
e0e026a8b8
fix(migration): return null for Image.url
2020-03-23 18:46:28 +01:00
Robert Schäfer
512ef672bf
feat: Introduce graphql image type ( #3043 )
...
* refactor(graphql): Introduce image type
* Undo changes to .travis.yml
* chore: Upgrade travis to node LTS
- URL is available since v10
* chore: use lts
Co-authored-by: mattwr18 <mattwr18@gmail.com>
2020-03-16 15:32:19 +01:00
ogerly
3d8fe4d850
feature: Delete_user_as_admin_through_API_only
2020-03-10 18:21:45 +01:00
Wolfgang Huß
5c7f92e557
Remove user GQL prop 'filedUnclosedReportByCurrentUser' again
...
- Shall be implemented in a later PR.
2020-02-20 10:54:34 +01:00
Wolfgang Huß
f380915b2c
Refactor GQL and tests, first approach
2020-02-19 08:09:14 +01:00
mattwr18
5347f734af
Fix cypress tests/frontend implementation
...
- Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2020-02-10 16:25:00 +01:00
mattwr18
bcf9680ad9
Add type resolver for hasBlocked
2020-02-10 14:33:49 +01:00
mattwr18
60cd593826
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1724-block-users
2020-01-30 10:47:50 +01:00
mattwr18
bcc1ab167e
Improve styling per @alina-beck review
2020-01-30 10:46:43 +01:00
mattwr18
8accc62f18
Merge branch 'master' of github.com:Human-Connection/Human-Connection into neo4j_data_migrations
2020-01-22 15:23:11 +01:00
mattwr18
e639358557
Test drive to get the functionality how we'd like
2020-01-21 21:16:42 +01:00
mattwr18
704b8c2d57
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1724-block-users
2020-01-21 21:15:03 +01:00
mattwr18
c7ee90e980
Follow @roschaefer PR suggestions
...
- As blocking is now reciprocal, we do not need another query, we can
use neo4j-graphql-js magic to query for a BLOCKED relationship between
the postAuthor and the currentUser
2020-01-21 18:50:46 +01:00
roschaefer
b063847849
refactor: Make db:setup init stage of migrate
2020-01-20 11:00:52 +01:00
mattwr18
5d5574b1b5
Blocked users cannot comment on my posts
2020-01-09 16:07:25 +01:00
mattwr18
ba3e9e1025
Rename blacklist/whitelist to mute/unmute
...
- Follow @roschaefer suggestion in issue
- This can be reverted if we decide otherwise
2020-01-08 18:04:26 +01:00
mattwr18
c297b83f87
Convert block/unblock to blacklist/whitelist
...
- at the moment, we have implemented blocked like we want the
blacklist/whitelistUserContent to be, with the exception that is should
not be both ways. If I blacklist a user's content, they still see my
content in their news feed.
2020-01-07 18:57:35 +01:00
roschaefer
d7193ab3b6
Update neo4j-driver
...
Fix API changes. Also close the session in resolver only and refactor
userMiddleware to become a part of the resolver.
2019-12-17 20:20:16 +01:00
mattwr18
8a93e402b9
Remove neode update from production code
...
- Favor transaction functions we have more control over
2019-12-12 14:24:43 +01:00
mattwr18
d38131e24a
Refactor to use transaction functions/logging
2019-12-11 19:27:37 +01:00
roschaefer
8f0ce19f09
Implement getDriver() and getNeode() the same way
...
I want to introduce `neode` and `neo4j-graphql-js` to my students and
saw this.
2019-12-05 21:00:24 +01:00
mattwr18
e6fdb70a07
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-11-27 18:09:24 +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
2f249a73c5
Rename REPORTED Claim to FILED Report
2019-11-26 15:35:48 +01:00
Wolfgang Huß
a7aaee98c1
No new review if a reviewer changes their opinion
2019-11-22 10:39:55 +01:00
Wolfgang Huß
a5689e2f67
Get implementing 'reviewedByModerator' further
2019-11-22 08:44:40 +01:00
Wolfgang Huß
c0fb53c2b5
Get frontend running by start implementing 'reviewedByModerator' right
2019-11-21 13:35:12 +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
Wolfgang Huß
cf02ca4506
Refactor decide mutation to new CaseFolder structure
2019-11-20 15:17:37 +01:00
roschaefer
b0d20ede71
Fix #2294
...
Ideally we would not have this inconsistent edge case that we filter
through the user type. Much better would be a graphql query like:
```graphql
{
User(filter: { primary_email: { email: "something@example.org" } }) {
id
name
slug
}
}
```
2019-11-19 21:24:58 +01:00
Robert Schäfer
735a31ed00
Merge pull request #2101 from Human-Connection/1747-show-shouts
...
1747 show shouts
2019-11-18 17:00:43 +01:00
Wolfgang Huß
4a732beb0a
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1710-list-and-protocol-moderation
2019-11-18 07:59:44 +01:00
roschaefer
c6e4c38de8
build(deps): remove deprecated debug flags
...
I deprecated the debug flags myself here:
https://github.com/neo4j-graphql/neo4j-graphql-js/pull/288
You can now debug the queries run by `neo4j-graphql-js` by starting
the backend like this:
```bash
DEBUG=neo4j-graphql-js yarn run backend
```
2019-11-14 14:22:20 +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
Alina Beck
6213a25355
Merge branch 'master' into 1747-show-shouts
2019-11-14 09:37:54 +03:00
mattwr18
b38fde0fd0
Fix production error "User.locale" returned undefined
2019-11-13 18:00:35 +01:00
mattwr18
feb65a6c9c
Update property name to be more descriptive
...
- I wanted to trigger a build, since we had issues with our build server
today. I think this naming is more in the direction we want to go,
though. Maybe it could be makeShoutsPublic as @alina-beck used for the
translation keys... what do you think @kachulio
2019-11-12 21:19:52 +01:00
Alina Beck
6e3bd19267
set up privacy page in settings
2019-11-12 19:13:56 +03:00
Wolfgang Huß
54be7782ba
First refactoring tests to new database structure
2019-10-30 16:59:24 +01:00
Wolfgang Huß
6593c6ec5c
Refactor the database structure from DISABLED to DECIDED relation
...
- First Step.
- Apply properties to the relation.
2019-10-25 16:51:47 +02:00
Alexander Friedland
39b3d71be4
Merge branch 'master' into Allow_embedded_code_in_posts_permanent_memory
2019-10-07 10:35:04 +02:00
mattwr18
f0d096fcab
Prefer guard clause to avoid database call
...
- follow @roschaefer 's PR review
2019-10-02 09:20:13 +02:00
mattwr18
478f6fef1c
Fix query builder/test
2019-10-01 20:57:45 +02:00
mattwr18
8aa7f376b6
Update Post query for blockedByUsers
...
- Admin/Moderators see Posts even if they are blocked
2019-10-01 17:45:09 +02:00