Robert Schäfer
8fa794f282
Merge pull request #1553 from Human-Connection/helper-for-backend-tests-failed-by-missing-constraints
...
🍰 [Helper] Message for backend tests failed by missing constraints
2019-09-12 23:51:15 +02:00
roschaefer
86f9824c2e
Fix lint
2019-09-12 23:13:20 +02:00
roschaefer
9233049ff3
Show a helpful message only if test fails
...
Inspired by the `ON FAIL` markup from the previous commit
0f2398295bcced3af3772bb4add1f42472c97893
2019-09-12 17:16:10 +02:00
roschaefer
bc153ee42e
Synchronize dockerfiles, fix cypress
...
.. make tippy.js a production dependency (was throwing errors on my
machine).
2019-09-12 12:16:20 +02:00
Wolfgang Huß
0f2398295b
Helper message for backend tests failed by missing constraints in database
2019-09-12 11:14:42 +02:00
roschaefer
10418f061b
Various changes to build pipeline
...
* Use `production` docker images for cypress tests. As one of our contributors
pointed out: It is bad practice to end-to-end test sth. else than the actual
production images.
* Have a dedicated `docker-compose.travis-integration.yml` to test
backend integration tests. The backend *needs* a database when doing
integration tests. So there is no way around using docker-compose. But
we could stop using the `build-and-test` stage when we do cypress tests.
* Remove a couple of unused ports and DRY `docker-compose.override.yml`
* Build and tag all images first and then run `docker-compose .. up` - I
hope this will not rebuild the image.
* Reduce docker image size
2019-09-12 00:29:36 +02:00
Robert Schäfer
a01c73536f
Merge pull request #1542 from Human-Connection/1538_test-filter-by-followed-by
...
Test filter by followed by
2019-09-11 13:29:00 +02:00
mattwr18
04113a1d60
Merge pull request #1516 from Human-Connection/remove_nodemon
...
Remove nodemon, use `nuxt` cli tools
2019-09-11 08:39:56 +02:00
dependabot-preview[bot]
99c9d0d45e
Bump eslint-config-prettier from 6.2.0 to 6.3.0 in /backend
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.2.0 to 6.3.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/compare/v6.2.0...v6.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-11 04:20:41 +00:00
roschaefer
5cf82d5e18
Fix build
...
Here are the issues
* webapp was built with `NODE_ENV=production` but started with
`NODE_ENV=development`
* using the provided `docker-compose.travis.yml` the command `yarn run
start` would look in the wrong folder
* removed duplicate environment definition
2019-09-11 02:22:08 +02:00
Robert Schäfer
5586a2b5ea
Merge pull request #1512 from Human-Connection/refactor_email_middleware
...
Refactor email middleware
2019-09-11 01:58:37 +02:00
aonomike
785b59f96e
Test filter by followed by
2019-09-10 23:32:55 +03:00
mattwr18
3712a5d2cf
Merge pull request #1513 from Human-Connection/bugfix_about_me_not_saved_on_signup_verification
...
Bugfix: `about me` not saved on signup
2019-09-10 17:37:22 +02:00
roschaefer
99fe0b001f
Fix German signup mail, follow @mattwr18's review
...
https://github.com/Human-Connection/Human-Connection/pull/1512#pullrequestreview-285968139
2019-09-10 16:24:43 +02:00
Robert Schäfer
6cebb61d0f
Merge pull request #1490 from Human-Connection/1488-filter-posts-by-emotion
...
Filter posts by emotions
2019-09-10 15:53:05 +02:00
roschaefer
22af1399b3
Follow @mattwr18's review
2019-09-10 15:40:10 +02:00
mattwr18
77eb8274f3
Improve English grammar in test descriptions
...
- Fix typo
- use gender neutral pronoun
- fix third-person conjugation
2019-09-10 15:39:34 +02:00
roschaefer
b656b5aeb9
Check that about actually gets saved
2019-09-10 15:39:34 +02:00
roschaefer
0cd7ac3d32
Refactor slugifyMiddleware
...
* eliminate GraphQL from spec
* much better error handling
* add EmailAdress factory
2019-09-10 15:39:34 +02:00
mattwr18
42add14856
Merge pull request #1531 from Human-Connection/dependabot/npm_and_yarn/backend/neode-0.3.3
...
Bump neode from 0.3.2 to 0.3.3 in /backend
2019-09-10 15:06:25 +02:00
mattwr18
153bd918bc
Merge pull request #1528 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-link-http-1.5.16
...
Bump apollo-link-http from 1.5.15 to 1.5.16 in /backend
2019-09-10 15:06:09 +02:00
mattwr18
7618318a8a
Merge pull request #1526 from Human-Connection/dependabot/npm_and_yarn/backend/babel/cli-7.6.0
...
Bump @babel/cli from 7.5.5 to 7.6.0 in /backend
2019-09-10 15:05:56 +02:00
mattwr18
c7b590d6b0
Merge pull request #1523 from Human-Connection/dependabot/npm_and_yarn/backend/babel/preset-env-7.6.0
...
Bump @babel/preset-env from 7.5.5 to 7.6.0 in /backend
2019-09-10 15:05:34 +02:00
mattwr18
2b1590aae1
Add German translation to email template, _ for unused variables
2019-09-10 10:30:17 +02:00
mattwr18
0c83d276bb
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1488-filter-posts-by-emotion
2019-09-10 09:32:45 +02:00
dependabot-preview[bot]
1ee2ebe8e7
Bump @babel/preset-env from 7.5.5 to 7.6.0 in /backend
...
Bumps [@babel/preset-env](https://github.com/babel/babel ) from 7.5.5 to 7.6.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-10 06:34:32 +00:00
dependabot-preview[bot]
02ad873427
Bump @babel/cli from 7.5.5 to 7.6.0 in /backend
...
Bumps [@babel/cli](https://github.com/babel/babel ) from 7.5.5 to 7.6.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-10 06:34:07 +00:00
dependabot-preview[bot]
00b45b8016
Bump @babel/node from 7.5.5 to 7.6.1 in /backend
...
Bumps [@babel/node](https://github.com/babel/babel ) from 7.5.5 to 7.6.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-10 06:34:07 +00:00
dependabot-preview[bot]
53baad9f4d
Bump neode from 0.3.2 to 0.3.3 in /backend
...
Bumps [neode](https://github.com/adam-cowley/neode ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/adam-cowley/neode/releases )
- [Commits](https://github.com/adam-cowley/neode/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-10 06:32:06 +00:00
mattwr18
aeaa637ff0
Merge pull request #1530 from Human-Connection/dependabot/npm_and_yarn/backend/babel/core-7.6.0
...
Bump @babel/core from 7.5.5 to 7.6.0 in /backend
2019-09-10 08:32:04 +02:00
dependabot-preview[bot]
d0ff75cca6
Bump apollo-link-http from 1.5.15 to 1.5.16 in /backend
...
Bumps [apollo-link-http](https://github.com/apollographql/apollo-link ) from 1.5.15 to 1.5.16.
- [Release notes](https://github.com/apollographql/apollo-link/releases )
- [Changelog](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-link/compare/apollo-link-http@1.5.15...apollo-link-http@1.5.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-10 06:31:39 +00:00
mattwr18
250976698b
Merge pull request #1524 from Human-Connection/dependabot/npm_and_yarn/backend/graphql-shield-6.1.0
...
Bump graphql-shield from 6.0.6 to 6.1.0 in /backend
2019-09-10 08:30:54 +02:00
mattwr18
6c36f61218
Merge pull request #1520 from Human-Connection/dependabot/npm_and_yarn/backend/babel/register-7.6.0
...
Bump @babel/register from 7.5.5 to 7.6.0 in /backend
2019-09-10 08:30:21 +02:00
mattwr18
7292c15cd0
Merge pull request #1519 from Human-Connection/dependabot/npm_and_yarn/backend/apollo-link-context-1.0.19
...
Bump apollo-link-context from 1.0.18 to 1.0.19 in /backend
2019-09-10 08:29:47 +02:00
mattwr18
d9f8cf02ca
Merge pull request #1518 from Human-Connection/dependabot/npm_and_yarn/backend/date-fns-2.1.0
...
Bump date-fns from 2.0.1 to 2.1.0 in /backend
2019-09-10 08:29:31 +02:00
mattwr18
ba3e0ca941
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1488-filter-posts-by-emotion
2019-09-09 16:59:35 +02:00
mattwr18
3b056aacc1
Fix weird indentation issue with VS Code
2019-09-09 16:58:49 +02:00
mattwr18
86d80c689c
Fix indentation issue on EMOTED
2019-09-09 16:51:24 +02:00
mattwr18
919dc1924f
Fix indent issue
2019-09-09 16:46:51 +02:00
mattwr18
b89043166b
Add backend tests for filtering posts by emotions
...
- Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-09-09 16:35:11 +02:00
mattwr18
d3952e2ada
Use debug npm package over console.log
...
- @roschaefer `PR` review
- better because we can leave in the code base and show only when/if we
want to
2019-09-09 14:32:01 +02:00
mattwr18
2aef2add3d
Add temporarily console.log statements to debug failed API call
...
- in production environment, the user locationName is updated, but it is
failing the `createOrUpdateLocations` function in backend/src/middleware/nodes/locations.js
For some reason, it seems like the API call is coming back with
something other than what we are looking for.
Need help debugging... we can remove this code after we figure out
what's wrong
2019-09-09 12:53:47 +02:00
dependabot-preview[bot]
0f2546aded
Bump @babel/core from 7.5.5 to 7.6.0 in /backend
...
Bumps [@babel/core](https://github.com/babel/babel ) from 7.5.5 to 7.6.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 04:24:32 +00:00
dependabot-preview[bot]
f2f19fb902
Bump graphql-shield from 6.0.6 to 6.1.0 in /backend
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 6.0.6 to 6.1.0.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v6.0.6...v6.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 04:22:58 +00:00
dependabot-preview[bot]
5de80d09fa
Bump @babel/register from 7.5.5 to 7.6.0 in /backend
...
Bumps [@babel/register](https://github.com/babel/babel ) from 7.5.5 to 7.6.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 04:21:31 +00:00
dependabot-preview[bot]
26c869ef95
Bump apollo-link-context from 1.0.18 to 1.0.19 in /backend
...
Bumps [apollo-link-context](https://github.com/apollographql/apollo-link ) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/apollographql/apollo-link/releases )
- [Changelog](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-link/compare/apollo-link-context@1.0.18...apollo-link-context@1.0.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 04:21:11 +00:00
dependabot-preview[bot]
35be26f8b2
Bump date-fns from 2.0.1 to 2.1.0 in /backend
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md )
- [Commits](https://github.com/date-fns/date-fns/compare/v2.0.1...v2.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 04:20:33 +00:00
mattwr18
30ea892aa1
Allow filter by multiple emotions, test getters
...
- Co-authored-by: vardyb <brent.vardy@challengelogic.net>
- Co-aurhored-by: mike aono <aonomike@gmail.com>
2019-09-07 12:37:03 +02:00
mattwr18
07c58fc03e
Add emotions buttons, get it filtering
2019-09-07 12:37:03 +02:00
roschaefer
06f07c1a75
Fix missing from in templates
2019-09-06 23:31:28 +02:00