359 Commits

Author SHA1 Message Date
dependabot[bot]
09e7dd5279
Bump nodemon from 1.18.7 to 1.18.8
Bumps [nodemon](https://github.com/remy/nodemon) from 1.18.7 to 1.18.8.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v1.18.7...v1.18.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 04:24:02 +00:00
Robert Schäfer
92b06a352c Try write a component test for categories page
@visualjerk could you help us out on this PR? I'm trying to get rid of
this error:
```
Unknown custom element: <ds-table> - did you register the component
correctly? For recursive components, make sure to provide the "name"
option.
```
How do we tell @vue/test-utils to stub globally registered components?

Second, I don't understand why the resulting html() of the categories
components looks so odd:

```
<h1 class="ds-heading ds-heading-h1" space="small" categories="[object Object],[object Object],[object Object],[object Object],[object Object]">
<h3 class="ds-card"><!----> <!----> <!----> <div class="ds-card-content">
  Themen / Kategorien
</div> <!----></h3> <ds-table data="" fields="icon,name,postCount" condensed=""></ds-table></h1>
```
Why on earth does the categories array end up in the `categories`
property of `ds-heading` component?

@visualjerk and @appinteractive have a look, please 😘
2018-12-11 01:36:45 +01:00
Robert Schäfer
809a250f1f Run component tests on Travis CI 2018-12-11 00:33:09 +01:00
Robert Schäfer
30595f4b01 Merge branch 'several_updates_on_travis_yml' into admin-tags-and-categories 2018-12-11 00:32:40 +01:00
Robert Schäfer
5ed0954a4d Just ignore the test for the styleguide - passing 2018-12-11 00:31:42 +01:00
Robert Schäfer
ccb16fe795 Update @vue/test-utils + @vue/server-test-utils 2018-12-11 00:29:36 +01:00
Robert Schäfer
8b324fc8dd Download trigger_build in folder scripts/
This way, it does not get added to our docker images which we upload to
docker hub.
2018-12-10 17:39:47 +01:00
Robert Schäfer
31b017f7f6 Trigger fullstack tests from this repository 2018-12-10 17:35:41 +01:00
Robert Schäfer
7a517131e3 Re-add success notifications
Those success notifications were just fine.
2018-12-10 17:35:04 +01:00
Robert Schäfer
ee80f56c79 Run lint from the docker container
We want to run everything, including eslint, from the docker container.
As a next step we would run software tests from the docker container.
Installing the correct version of docker-compose is required, the
default version docker-compose on Travis is older than 3.7.
2018-12-10 17:33:00 +01:00
dependabot[bot]
d86140857e
Bump @vue/test-utils from 1.0.0-beta.26 to 1.0.0-beta.27
Bumps [@vue/test-utils](https://github.com/vuejs/vue-test-utils) from 1.0.0-beta.26 to 1.0.0-beta.27.
- [Release notes](https://github.com/vuejs/vue-test-utils/releases)
- [Changelog](https://github.com/vuejs/vue-test-utils/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-test-utils/compare/v1.0.0-beta.26...v1.0.0-beta.27)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 09:03:51 +00:00
dependabot[bot]
e3545ab4a8
Bump eslint from 5.9.0 to 5.10.0
Bumps [eslint](https://github.com/eslint/eslint) from 5.9.0 to 5.10.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.9.0...v5.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 09:02:27 +00:00
Grzegorz Leoniec
22354ce865
Merge pull request #83 from Human-Connection/dependabot/npm_and_yarn/node-sass-4.11.0
Bump node-sass from 4.10.0 to 4.11.0
2018-12-10 10:00:07 +01:00
dependabot[bot]
f0ea0384c7
Bump node-sass from 4.10.0 to 4.11.0
Bumps [node-sass](https://github.com/sass/node-sass) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.10.0...v4.11.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 04:29:38 +00:00
Robert Schäfer
0b01ab3d01 Merge remote-tracking branch 'origin/master' into admin-tags-and-categories 2018-12-10 00:53:31 +01:00
Grzegorz Leoniec
eda9dfafb8
Merge pull request #76 from Human-Connection/docker_compose_override
Split development config from production config
2018-12-08 23:42:26 +01:00
Grzegorz Leoniec
2284e88f90
Merge pull request #80 from Human-Connection/fix_refresh_bug
Fix refresh bug
2018-12-08 23:38:36 +01:00
Robert Schäfer
2fcbdcb436 Fix refresh bug
This misconfiguration doesn't produce a bug without the docker
environment. Better to use docker also for development. Let's make it the
single source of truth.
2018-12-08 23:15:22 +01:00
Robert Schäfer
da498b28f0 Volume for styleguide dependencies
Otherwise you would have to install dependencies on your host system
which is bad practice.
2018-12-08 23:14:12 +01:00
Robert Schäfer
d4d0eb88cf Fix wrong folder names
@appinteractive same same, git-grep is your friend
2018-12-08 15:45:16 +01:00
Robert Schäfer
db724e7834 Split development config from production config
in `docker-compose.yml` and `docker-compose.override.yml`. This should speed
up builds e.g. on Travis CI, which does not need to sync folders or run
`yarn run dev` if the docker image was built recently. Also it should
make the build more reliable as it behaves more similar to our deployment.
2018-12-08 15:45:02 +01:00
Grzegorz Leoniec
902f2d4c17
Merge branch 'master' into admin-tags-and-categories 2018-12-08 14:45:00 +01:00
Grzegorz Leoniec
826d987fcd
Merge pull request #78 from Human-Connection/remove_xip_hack
No need to call xip.io anymore
2018-12-08 14:44:34 +01:00
Grzegorz Leoniec
aa77d6bd8e
Merge branch 'master' into remove_xip_hack 2018-12-08 14:44:22 +01:00
Grzegorz Leoniec
8c1b1fcd25
Merge branch 'master' into admin-tags-and-categories 2018-12-08 14:43:04 +01:00
Grzegorz Leoniec
deb1fb5953
Merge pull request #77 from Human-Connection/fix_accessibility_for_cypress
Bind name to name instead of model
2018-12-08 14:36:54 +01:00
Grzegorz Leoniec
4283c4d729
fixed dublicated classes 2018-12-08 14:30:30 +01:00
Grzegorz Leoniec
f3bf82fdab
remove location related stuff 2018-12-08 14:02:35 +01:00
Grzegorz Leoniec
9042089d5e
fixed linting issues 2018-12-08 13:51:52 +01:00
Grzegorz Leoniec
c96e22492c
merged tags and categories in 2018-12-08 13:44:22 +01:00
Robert Schäfer
d7b9dc1b23 No need to call xip.io anymore
After https://github.com/Human-Connection/Nitro-Backend/pull/61
the xip.io URL has become obsolete
2018-12-08 13:23:49 +01:00
Robert Schäfer
1fb8db2972 Bind name to name instead of model
Apparently this slipped through somehow in
https://github.com/Human-Connection/Nitro-Web/pull/13
2018-12-08 12:46:51 +01:00
Grzegorz Leoniec
987fa33d58
fixed linting issues 2018-12-07 19:29:37 +01:00
Grzegorz Leoniec
165d41c413
Merge pull request #75 from Human-Connection/upgrade-styleguide
Upgraded Styleguide
2018-12-07 17:31:12 +01:00
Grzegorz Leoniec
ff82035555
format styleguide config files 2018-12-07 17:20:40 +01:00
Grzegorz Leoniec
32dd2e4d4b
fixed whitespace 2018-12-07 16:11:30 +01:00
Grzegorz Leoniec
2ef13980a6
upgrade styleguide the second 2018-12-07 16:09:23 +01:00
Grzegorz Leoniec
0440d06e54
Merge remote-tracking branch 'origin/master' into upgrade-styleguide 2018-12-07 15:33:03 +01:00
Grzegorz Leoniec
53a45a38e2
upgraded partial of styleguide 2018-12-07 15:21:42 +01:00
Grzegorz Leoniec
f128dc3701
Merge pull request #68 from Human-Connection/tagged_deployments
Copy+paste deployment configuration from backend
2018-12-06 16:37:54 +01:00
Grzegorz Leoniec
43ab84ee36
Merge branch 'master' into tagged_deployments 2018-12-06 16:37:30 +01:00
Grzegorz Leoniec
7bce96c171
Merge pull request #13 from Human-Connection/integration-testing
Preparation for integration testing
2018-12-06 16:35:36 +01:00
Robert Schäfer
364fa73cc2
Fix merge accident 2018-12-06 15:22:25 +01:00
Robert Schäfer
7aa2befc94 Remove cypress.json (forgot that) 2018-12-06 15:20:47 +01:00
Robert Schäfer
6415426949 Merge remote-tracking branch 'origin/master' into integration-testing 2018-12-06 15:18:12 +01:00
Robert Schäfer
38f27743f2 Remove remains of cypress
I love cypress already. However my suggestion is to create a separate
repository that includes `backend` and `web` run full stack tests from
there. It is possible to trigger builds in other repositories on Travis
CI. So here is my suggestion: We agree to have matching branch names in
all related repositories, so `branch-1` in repo `web`, `backend` and
`human-connection`.

As a start, the developer has to manually update the submodules in the
meta repository and trigger a build to run fullstack tests. In the
future we might automate this process by triggering builds in other
repos. That's possible on Travis CI, see:
https://docs.travis-ci.com/user/triggering-builds/

See each repository is responsible to keep their set of unit/integration
tests but the meta repository is responsible of carrying out full stack
testing.

@appinteractive your opinion?
2018-12-06 15:15:33 +01:00
Robert Schäfer
8f42a18729
Merge pull request #69 from Human-Connection/dependabot/npm_and_yarn/eslint-plugin-vue-5.0.0
Bump eslint-plugin-vue from 4.7.1 to 5.0.0
2018-12-04 23:17:40 +01:00
JB
56ed20f3bf Use kebab-case for components in templates 2018-12-04 22:02:15 +01:00
dependabot[bot]
05dcfab27a
Bump eslint-plugin-vue from 4.7.1 to 5.0.0
Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 4.7.1 to 5.0.0.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v4.7.1...v5.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-04 04:36:22 +00:00
Robert Schäfer
eb29311cbb Copy+paste deployment configuration from backend
See these commits:
5eae8a89785798519aec66fb708389f6e5ea0327
1b8edc22ff8b900c45486b815a8c9d4465e7edb7
2018-12-04 01:01:28 +01:00