Grzegorz Leoniec
52c32bb646
Report now works
2019-01-11 16:34: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
Robert Schäfer
0893d3740e
Try to expose bug #106
...
It does not work as we have PERMISSIONS=disabled also in the server
we're trying to test.
2019-01-09 18:56:57 +01: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
Robert Schäfer
9262fbb44f
Start a test server only once.
...
This keeps our tests small. It is quite a headache though, because of an
issue with jest and with transpiling. For reasons that I don't understand
running `yarn run test:jest` sometimes complains about open handles.
I would love to hear how to make our build more reliable.
2019-01-09 14:49:35 +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
Grzegorz Leoniec
77e77229b9
Fixed login and schema
2019-01-07 17:30:54 +01:00
dependabot[bot]
a1b8d53e6e
Merge pull request #87 from Human-Connection/dependabot/npm_and_yarn/apollo-client-2.4.8
2019-01-07 16:20:09 +00:00
dependabot[bot]
b6511b9a03
Bump apollo-client from 2.4.7 to 2.4.8
...
Bumps [apollo-client](https://github.com/apollographql/apollo-client ) from 2.4.7 to 2.4.8.
- [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-07 16:06:35 +00:00
Robert Schäfer
a6c6dcbedf
Merge pull request #100 from aonomike/master
...
Update README.md
2019-01-07 17:00:53 +01:00
Robert Schäfer
1d7988e36f
Merge branch 'master' into master
2019-01-07 17:00:33 +01:00
Daksh
016119e768
fix variableName from id to userId
2019-01-07 13:00:19 +05:30
Daksh Miglani
5fd5795f39
fix jwt strategy
2019-01-07 12:48:47 +05:30
Mike Aono
486e01ddce
Update README.md
2019-01-05 18:57:24 +03:00
Grzegorz Leoniec
30d4318d17
Throw an error if requried env vars are missing
2019-01-04 15:15:07 +01:00
Grzegorz Leoniec
e9bc848a33
Improved locale handling and moved MAPBOX_TOKEN to env
2019-01-04 15:14:51 +01:00
Grzegorz Leoniec
1f818116e4
Merge branch 'master' into locations
2019-01-04 09:30:20 +01:00
Robert Schäfer
3d3b3c8c24
Merge pull request #93 from Gerald1614/500_error_on_login
...
FIX #49 capture error in readable format with try and catch
2019-01-04 00:35:23 +01:00
Robert Schäfer
fd206c2b1f
Merge remote-tracking branch 'origin/master' into 500_error_on_login
2019-01-04 00:25:22 +01:00
Robert Schäfer
407e5bfdeb
Merge pull request #88 from Human-Connection/49_fix_no_user_with_that_email
...
Login: Friendly error message if email is incorrect
2019-01-04 00:22:33 +01:00
Robert Schäfer
96d9bb49bc
Revert "add afterAll to make CI pass"
...
This reverts commit 3a9cb31e1f6039aecd428b2fc250b4b88a18ccfa.
See https://github.com/Human-Connection/Nitro-Backend/pull/88#discussion_r245157595
2019-01-03 23:55:05 +01:00
kachulio1
e1070e15f2
add done on async test
2019-01-03 22:03:23 +03:00
kachulio1
3a9cb31e1f
add afterAll to make CI pass
2019-01-03 20:40:28 +03:00
Grzegorz Leoniec
a7206c6e07
Merge branch 'master' into 500_error_on_login
2019-01-03 17:30:56 +01:00
Grzegorz Leoniec
6cc6538758
Add forgotten schema file
2019-01-03 17:30:18 +01:00
Grzegorz Leoniec
626d1ada48
Merge branch 'master' into 49_fix_no_user_with_that_email
2019-01-03 17:27:42 +01:00
Grzegorz Leoniec
588d955677
Merge remote-tracking branch 'origin/master' into report-content
2019-01-03 15:27:40 +01:00
Grzegorz Leoniec
5c88037d5c
WIP - first try to create a report mutation which attaches nodes internally
2019-01-03 15:27:26 +01:00
Robert Schäfer
d6622d0825
Revert "Setup neo4j service on Travis CI"
...
This reverts commit 9fdee4480fea582a01e40687cffff404b749a8f1.
@mattwr18 this was a rash decision, neo4j on Travis is not required if
we run all the tests in docker. When I run the tests in docker on my
machine, it terminates as expected. How is the situation on your
machine?
2019-01-03 13:53:44 +01:00