1996 Commits

Author SHA1 Message Date
Wolfgang Huß
7c3ec289f7 Start refactor the decide mutation to CaseFolder structure 2019-11-20 08:33:47 +01:00
dependabot-preview[bot]
1d34e8c1cc
build(deps): bump metascraper-lang from 5.8.7 to 5.8.9 in /backend
Bumps [metascraper-lang](https://github.com/microlinkhq/metascraper) from 5.8.7 to 5.8.9.
- [Release notes](https://github.com/microlinkhq/metascraper/releases)
- [Changelog](https://github.com/microlinkhq/metascraper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/microlinkhq/metascraper/compare/v5.8.7...v5.8.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 04:23:06 +00:00
dependabot-preview[bot]
102c99409a
build(deps): bump metascraper-soundcloud from 5.8.7 to 5.8.9 in /backend
Bumps [metascraper-soundcloud](https://github.com/microlinkhq/metascraper-soundcloud) from 5.8.7 to 5.8.9.
- [Release notes](https://github.com/microlinkhq/metascraper-soundcloud/releases)
- [Commits](https://github.com/microlinkhq/metascraper-soundcloud/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 04:22:02 +00:00
dependabot-preview[bot]
271ace7173
build(deps): bump metascraper-youtube from 5.8.7 to 5.8.9 in /backend
Bumps [metascraper-youtube](https://github.com/microlinkhq/metascraper-youtube) from 5.8.7 to 5.8.9.
- [Release notes](https://github.com/microlinkhq/metascraper-youtube/releases)
- [Commits](https://github.com/microlinkhq/metascraper-youtube/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-20 04:21:18 +00: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
aca775c198
Merge pull request #2283 from Human-Connection/dependabot/npm_and_yarn/backend/neo4j-graphql-js-2.9.3
build(deps): bump neo4j-graphql-js from 2.9.0 to 2.9.3 in /backend
2019-11-19 13:13:23 +01:00
Robert Schäfer
85985d9141
Merge pull request #2285 from Human-Connection/dependabot/npm_and_yarn/backend/eslint-plugin-jest-23.0.4
build(deps-dev): bump eslint-plugin-jest from 23.0.3 to 23.0.4 in /backend
2019-11-19 13:11:17 +01:00
dependabot-preview[bot]
6c2c0851d8
build(deps-dev): bump eslint-config-prettier in /backend
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.5.0 to 6.7.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 07:36:21 +00:00
mattwr18
2ee3a79867
Merge pull request #2281 from Human-Connection/dependabot/npm_and_yarn/backend/prettier-1.19.1
build(deps-dev): bump prettier from 1.18.2 to 1.19.1 in /backend
2019-11-19 08:33:03 +01:00
mattwr18
2d581b1727
Merge pull request #2280 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-server-2.9.9
build(deps): bump apollo-server from 2.9.7 to 2.9.9 in /backend
2019-11-19 08:32:11 +01:00
mattwr18
9ddd424132
Merge pull request #2279 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-server-testing-2.9.9
build(deps-dev): bump apollo-server-testing from 2.9.7 to 2.9.9 in /backend
2019-11-19 08:31:43 +01:00
dependabot-preview[bot]
477285a095
build(deps-dev): bump eslint-plugin-jest in /backend
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.0.3 to 23.0.4.
- [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.3...v23.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 04:23:18 +00:00
dependabot-preview[bot]
0172e23c36
build(deps): bump neo4j-graphql-js from 2.9.0 to 2.9.3 in /backend
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js) from 2.9.0 to 2.9.3.
- [Release notes](https://github.com/neo4j-graphql/neo4j-graphql-js/releases)
- [Changelog](https://github.com/neo4j-graphql/neo4j-graphql-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/neo4j-graphql/neo4j-graphql-js/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 04:22:15 +00:00
dependabot-preview[bot]
4f103f986b
build(deps-dev): bump prettier from 1.18.2 to 1.19.1 in /backend
Bumps [prettier](https://github.com/prettier/prettier) from 1.18.2 to 1.19.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.18.2...1.19.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 04:21:15 +00:00
dependabot-preview[bot]
6be72696e7
build(deps): bump apollo-server from 2.9.7 to 2.9.9 in /backend
Bumps [apollo-server](https://github.com/apollographql/apollo-server) from 2.9.7 to 2.9.9.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/compare/apollo-server@2.9.7...apollo-server@2.9.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 04:20:49 +00:00
dependabot-preview[bot]
eb8dc82123
build(deps-dev): bump apollo-server-testing in /backend
Bumps [apollo-server-testing](https://github.com/apollographql/apollo-server) from 2.9.7 to 2.9.9.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/compare/apollo-server-testing@2.9.7...apollo-server-testing@2.9.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 04:20:23 +00:00
dependabot-preview[bot]
a6a34f9d45
build(deps): bump @sentry/node from 5.8.0 to 5.9.0 in /backend
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.8.0...5.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-19 04:19:46 +00:00
Robert Schäfer
9a985d464c
Merge pull request #2257 from Human-Connection/bump_metascraper_modules
build(deps): bump metascraper modules
2019-11-18 22:00:26 +01:00
mattwr18
19d2e2cd41
Merge pull request #2243 from Human-Connection/refactor_neo4j-graphql-js
Explicitly define our schema, improve performance
2019-11-18 21:46:56 +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
Robert Schäfer
602c2fd9f9
Merge pull request #2247 from Human-Connection/remove_unused_port_configuration
refactor: remove redundant port configuration
2019-11-18 11:26:14 +01:00
Wolfgang Huß
3b4de22855 Refactor reports mutation to CaseFolder structure 2019-11-18 11:25:47 +01:00
Wolfgang Huß
3daba417de Create CaseFolder GQL definition 2019-11-18 11:23:53 +01:00
Wolfgang Huß
240bd84b45 Refactor report mutation 2019-11-18 10:36:49 +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
Wolfgang Huß
b569f46dad Refactor report mutation beginn 2019-11-18 07:57:52 +01:00
roschaefer
5d570c24a7 Fix tests 2019-11-16 20:21:27 +01:00
roschaefer
978347ba7b Tell github-linguists to ignore snapshots 2019-11-16 20:09:05 +01:00
roschaefer
2fbc16ffe1 build(deps): bump metascraper modules 2019-11-16 15:10:07 +01:00
dependabot-preview[bot]
ff0e895866
build(deps-dev): bump cucumber from 6.0.3 to 6.0.5 in /backend
Bumps [cucumber](https://github.com/cucumber/cucumber-js) from 6.0.3 to 6.0.5.
- [Release notes](https://github.com/cucumber/cucumber-js/releases)
- [Changelog](https://github.com/cucumber/cucumber-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cucumber/cucumber-js/compare/v6.0.3...v6.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-15 17:56:00 +00:00
roschaefer
84d3323856 refactor: remove redundant port configuration
If you set GRAPQHL_URI the port is already in there
2019-11-15 11:45:52 +01:00
roschaefer
fe48c0f4f2 Revert the taggedCount and postCount
We need the order input types for our admin features.

This is a potential DOS vulnerability: Ordering the tags by taggedCount
might lead to very expensive cypher statements.
2019-11-15 11:04:07 +01:00
roschaefer
0e3ace36fb Remove global filters for disabled/deleted
I think there is no use case for it and it looks to me like sth. you
shouldn't be able to query for.
2019-11-15 11:04:07 +01:00
roschaefer
034a353367 Hard-code graphql schema
Apparently, `neo4j-graphql-js` *replaces* the schema partly. When we use
join models like `EMOTED`, `neo4j-graphql-js` puts in a join model with
the two names of the connected types.
2019-11-15 11:04:07 +01:00
roschaefer
864f9db753 Remove potentially unused code 2019-11-15 11:04:07 +01:00
Wolfgang Huß
d2442b73c9 Refactor report mutation 2019-11-15 10:49:55 +01:00
mattwr18
58f48781a2 Fix incorrect pronoun in docs 2019-11-14 23:53:31 +01:00
roschaefer
28e1ff9f55 Write documentation for neo4j-graphql-js 2019-11-14 23:13:10 +01:00
roschaefer
985e23c5b4 Remove obsolete script in package.json
@mattwr18 nope, I would not create a script to debug neo4j-graphql-js.
If you use environment variables, please also use `cross-env`.
2019-11-14 23:13:10 +01:00
mattwr18
aad6234be4 Add script to debug neo4j-graphl-js
@roschaefer, I needed to push a commit to trigger the build again,
do you like this?
2019-11-14 14:22:20 +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
Alina Beck
3cf3c31808 remove package-lock.json 2019-11-13 11:43:19 +03:00
mattwr18
a0fe9cb94c
Merge pull request #2218 from Human-Connection/fix_locations_resolver
fix: return `null` for missig translations
2019-11-12 22:38:59 +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
mattwr18
ecf0e5948b Commit to trigger build
- prefer variables on one line
2019-11-12 21:09:02 +01:00
roschaefer
deb4b4f698 fix: return null for missig translations
A query such as `{ notifications }` would return `null` for Locations
with a missing translation, e.g. `nameRU`. This would not happen for
queries implemented by `neo4j-graphql-js` because they nullify all
missing attributes automatically.
2019-11-12 19:14:34 +01:00
Alina Beck
6e3bd19267 set up privacy page in settings 2019-11-12 19:13:56 +03:00