383 Commits

Author SHA1 Message Date
dependabot[bot]
361a41bd4e
Merge pull request #118 from Human-Connection/dependabot/npm_and_yarn/apollo-cache-inmemory-1.4.0 2019-01-18 09:16:22 +00:00
dependabot[bot]
a9d271ca47
Bump apollo-cache-inmemory from 1.3.12 to 1.4.0
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client) from 1.3.12 to 1.4.0.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/commits/v1.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 09:00:09 +00:00
dependabot[bot]
530fc6b230
Merge pull request #114 from Human-Connection/dependabot/npm_and_yarn/graphql-yoga-1.17.0 2019-01-18 08:57:38 +00:00
dependabot[bot]
dfd2550cf8
Bump graphql-yoga from 1.16.7 to 1.17.0
Bumps [graphql-yoga](https://github.com/prisma/graphql-yoga) from 1.16.7 to 1.17.0.
- [Release notes](https://github.com/prisma/graphql-yoga/releases)
- [Commits](https://github.com/prisma/graphql-yoga/compare/v1.16.7...v1.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 08:23:32 +00:00
dependabot[bot]
5678c205eb
Merge pull request #117 from Human-Connection/dependabot/npm_and_yarn/apollo-client-2.4.9 2019-01-18 08:19:47 +00:00
dependabot[bot]
097a4c1b8f
Bump apollo-client from 2.4.8 to 2.4.9
Bumps [apollo-client](https://github.com/apollographql/apollo-client) from 2.4.8 to 2.4.9.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 07:59:43 +00:00
dependabot[bot]
839a01bb3b
Merge pull request #119 from Human-Connection/dependabot/npm_and_yarn/graphql-tag-2.10.1 2019-01-18 07:57:22 +00:00
dependabot[bot]
4618c1d8be
Bump graphql-tag from 2.10.0 to 2.10.1
Bumps [graphql-tag](https://github.com/apollostack/graphql-tag) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/apollostack/graphql-tag/releases)
- [Changelog](https://github.com/apollographql/graphql-tag/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollostack/graphql-tag/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 04:19:45 +00:00
dependabot[bot]
8b8caaef40
Merge pull request #103 from Human-Connection/dependabot/npm_and_yarn/eslint-plugin-node-8.0.1 2019-01-17 20:39:38 +00:00
dependabot[bot]
b9e348d2d3
Bump eslint-plugin-node from 8.0.0 to 8.0.1
Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases)
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 20:19:53 +00:00
dependabot[bot]
4f88e7e38f
Merge pull request #102 from Human-Connection/dependabot/npm_and_yarn/eslint-5.12.0 2019-01-17 20:16:51 +00:00
dependabot[bot]
8e6299c804
Bump eslint from 5.11.1 to 5.12.0
Bumps [eslint](https://github.com/eslint/eslint) from 5.11.1 to 5.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.11.1...v5.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 20:06:56 +00:00
dependabot[bot]
f90e041049
Merge pull request #116 from Human-Connection/dependabot/npm_and_yarn/supertest-3.4.1 2019-01-17 20:04:42 +00:00
dependabot[bot]
541e44e04c
Bump supertest from 3.3.0 to 3.4.1
Bumps [supertest](https://github.com/visionmedia/supertest) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Changelog](https://github.com/visionmedia/supertest/blob/master/History.md)
- [Commits](https://github.com/visionmedia/supertest/compare/v3.3.0...v3.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 04:31:44 +00:00
Robert Schäfer
1ecdcb19b5
Merge pull request #16 from Human-Connection/locations
Locations & About Me
2019-01-15 13:24:24 +01:00
Robert Schäfer
5e77e7eaa7
Merge branch 'master' into locations 2019-01-15 13:18:31 +01:00
Robert Schäfer
9e28704d9b Fix all cypress tests but one
@appinteractive, it's super strange but apparently the JWT has to be
enclosed in quotes whereas the MAPBOX_TOKEN must not be enclosed. This
commit fixes almost all tests running in the docker containers on my
machine. The remaining test case is:
```
About me and and location
I set my location to "Mecklenburg-Vorpommern" (example #2)
```

@appinteractive when I try to repeat the cypress test on my machine I
get no results for "Mecklenburg-Vorpommern" only cities and states. can
you check if regions really work?
2019-01-15 01:29:38 +01:00
Robert Schäfer
75ee9bf9b4 Fix seed data in docker environment
@appinteractive

Running
```
docker-compose -f ../Nitro-Backend/docker-compose.yml -f ../Nitro-Backend/docker-compose.travis.yml up
```
from the Nitro-Web folder gives me an error when running seed data.

The configuration in this commit fixes it on my machine. I guess that
will fix the frontend build, too.
2019-01-14 21:50:42 +01:00
Grzegorz Leoniec
79749e6570
Fixed isOwner permission 2019-01-14 17:07:20 +01:00
Grzegorz Leoniec
3a90c84a21
Merge branch 'master' into locations 2019-01-13 15:43:37 +01:00
Grzegorz Leoniec
617a62a40c
Merge pull request #104 from DakshMiglani/master
fix #41 jwt strategy
2019-01-13 15:41:15 +01:00
dependabot[bot]
9d284da73e
Merge pull request #85 from Human-Connection/dependabot/npm_and_yarn/apollo-cache-inmemory-1.3.12 2019-01-12 21:09:49 +00:00
dependabot[bot]
53044c4cf6
Bump apollo-cache-inmemory from 1.3.11 to 1.3.12
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client) from 1.3.11 to 1.3.12.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-12 20:51:19 +00:00
dependabot[bot]
a27363632c
Merge pull request #110 from Human-Connection/dependabot/npm_and_yarn/eslint-plugin-jest-22.1.3 2019-01-12 20:48:39 +00:00
Grzegorz Leoniec
aa9cfceba9
Try to fix build issues 2019-01-12 15:50:51 +01:00
Robert Schäfer
f4f69cfe0f Quote JWT Token (consistency) 2019-01-11 17:59:06 +01:00
Robert Schäfer
fb3c169f65 Add missing env variable to docker-compose.yml
@appinteractive always run the docker-compose up workflow at least once.
2019-01-11 14:29:56 +01:00
Daksh
ca38892322
remove password from query. 2019-01-10 21:49:01 +05:30
Grzegorz Leoniec
5970fc86e5
Merge branch 'locations' of github.com:appinteractive/hc-prototype-api into locations 2019-01-10 15:59:17 +01:00
Grzegorz Leoniec
887cc8fddf
Refactoring 2019-01-10 15:59:10 +01:00
Grzegorz Leoniec
1435b3cd25
Merge branch 'master' into locations 2019-01-10 15:57:23 +01:00
dependabot[bot]
da19dee1f2
Bump eslint-plugin-jest from 22.1.2 to 22.1.3
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.1.2 to 22.1.3.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v22.1.2...v22.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-10 04:19:47 +00:00
Grzegorz Leoniec
ced8bd78bb
Added locations to seeded users 2019-01-09 17:21:30 +01:00
Grzegorz Leoniec
9629ca649a
Fixed user middleware 2019-01-09 17:20:25 +01:00
Daksh
fbdbabc382
Merge branch 'master' into master 2019-01-09 19:08:37 +05:30
Robert Schäfer
b2bad4fedb
Merge pull request #108 from Human-Connection/dont_run_tests_in_build_folder
Don't run tests in /dist folder
2019-01-09 14:35:29 +01:00
Robert Schäfer
13666df3e2 Don't run tests in /dist folder
If you ran `yarn run build` followed by `yarn run test:jest` it was
running the tests twice, because it matched the `/dist` folder to.
2019-01-09 13:50:59 +01:00
Grzegorz Leoniec
3765f5d046
Merge branch 'master' into locations 2019-01-09 13:37:04 +01:00
Grzegorz Leoniec
86c7b93386
Removed unneeded log 2019-01-09 13:14:18 +01:00
Grzegorz Leoniec
2571d82447
Disabled cypther logs and added DEBUG env var 2019-01-09 13:12:37 +01:00
dependabot[bot]
7798c9fafd
Merge pull request #107 from Human-Connection/dependabot/npm_and_yarn/neo4j-graphql-js-2.2.0 2019-01-09 08:42:08 +00:00
dependabot[bot]
1dd852ee9f
Bump neo4j-graphql-js from 2.1.1 to 2.2.0
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js) from 2.1.1 to 2.2.0.
- [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[bot] <support@dependabot.com>
2019-01-09 04:30:55 +00:00
Grzegorz Leoniec
0bfa047a5a
Fixed issues for non german / english languages 2019-01-08 15:12:44 +01:00
Robert Schäfer
ae39c18980 Run all backend tests
I accidently left `describe.only` in the test suite. That usually runs
only one block of tests instead of all tests. My fault, sorry
2019-01-08 14:57:33 +01:00
Grzegorz Leoniec
b5649ca2e3
Internationalized Locations 2019-01-08 14:34:00 +01:00
Robert Schäfer
2156b08e8f Run yarn run lint --fix
@DakshMiglani check the build server for any errors:
https://travis-ci.com/Human-Connection/Nitro-Backend/builds/96505757#L658

Here you can see the build was fine, only eslint complained. Eslint is a
quick fix 😉
2019-01-08 14:20:05 +01:00
Grzegorz Leoniec
a313f941c5
Fixed eslint issue 2019-01-07 20:25:05 +01:00
Daksh
d0e18bf131
Merge branch 'master' into master 2019-01-07 23:12:15 +05:30
Grzegorz Leoniec
cffce564ea
Fixed short_code 2019-01-07 17:58:27 +01:00
Grzegorz Leoniec
9fab4a8fe7
Fixed injection issues 2019-01-07 17:34:18 +01:00