13067 Commits

Author SHA1 Message Date
dependabot[bot]
99c2f9e272
Bump apollo-cache-inmemory from 1.4.2 to 1.4.3
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client) from 1.4.2 to 1.4.3.
- [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-02-15 16:34:32 +00:00
dependabot[bot]
49f91508b1
Merge pull request #156 from Human-Connection/dependabot/npm_and_yarn/nyc-13.3.0 2019-02-15 16:31:59 +00:00
Robert Schäfer
a58861427b Expose a bug: wrong redirect on Post#create
1/2 cucumber tests are green. The reason why the first test does not
succeed reliably is that the frontend redirects to a wrong URL after you
create the post. It's the slug of the first created post. I want to be
redirected to the slug of the created post.

CC @appinteractive please fix
2019-02-15 16:03:21 +01:00
Robert Schäfer
ba5159b70c Add translations to fix first step definitions 2019-02-15 16:00:40 +01:00
Robert Schäfer
3c825ae9b0 Expose missing translation 2019-02-15 15:24:54 +01:00
Robert Schäfer
1806565eb2 Provide step definitions 2019-02-15 15:07:04 +01:00
Robert Schäfer
74d1f9c00a Sketch a cucumber feature for writing a post
@appinteractive
Cucumber lesson: Write the cucumber feature first, then add step
definitions. If you do it the other way round, it will make your
cucumber features less readable.
2019-02-15 14:10:28 +01:00
Robert Schäfer
dc033f15d0 Merge branch 'master' of github.com:Human-Connection/Nitro-Web into editor 2019-02-15 13:36:18 +01:00
Robert Schäfer
41f0a44d08 Separate .nuxt folders for docker and local setup
Creating a separate volume for .nuxt/ where nuxt stores its transpiled
files ensures that both local and docker setup are isolated from each
other. E.g. on Linux I see these annoying owner permission errors,
because the user in the docker environment is called `root` not my user
on my host system `robert`.

This might be interesting for @mattwr18 too
2019-02-15 13:32:57 +01:00
Robert Schäfer
69f8376915 Add missing dependencies:
* string-hash
* tiptap
* tiptap-extensions

@appinteractive I see this error in docker environment:

```
webapp_1  |  FATAL  [
webapp_1  |   Error: Cannot resolve "@nuxtjs/style-resources" from "/nitro-web/nuxtjs/style-resources"
webapp_1  |       at Resolver.resolvePath (/nitro-web/node_modules/@nuxt/core/dist/core.js:487:11)
webapp_1  |       at Resolver.requireModule (/nitro-web/node_modules/@nuxt/core/dist/core.js:498:27)
webapp_1  |       at ModuleContainer.addModule (/nitro-web/node_modules/@nuxt/core/dist/core.js:145:36)
webapp_1  |       at promise.then (/nitro-web/node_modules/@nuxt/common/dist/common.js:1321:43)
webapp_1  |       at process._tickCallback (internal/process/next_tick.js:68:7)
webapp_1  |       at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
webapp_1  |       at startup (internal/bootstrap/node.js:283:19)
webapp_1  |       at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3),
webapp_1  |   [Error: Cannot find module '@nuxtjs/style-resources'] {
webapp_1  |       at new <anonymous> (/nitro-web/node_modules/esm/esm.js:1:50548)
webapp_1  |       at el (/nitro-web/node_modules/esm/esm.js:1:195465)
webapp_1  |       at /nitro-web/node_modules/esm/esm.js:1:215841
webapp_1  |       at Su (/nitro-web/node_modules/esm/esm.js:1:215921)
webapp_1  |       at qa (/nitro-web/node_modules/esm/esm.js:1:187511)
webapp_1  |       at Eu (/nitro-web/node_modules/esm/esm.js:1:217149)
webapp_1  |       at Module.<anonymous> (/nitro-web/node_modules/esm/esm.js:1:250405)
webapp_1  |       at Resolver.o [as esm] (/nitro-web/node_modules/esm/esm.js:1:235191)
webapp_1  |       at Resolver.requireModule (/nitro-web/node_modules/@nuxt/core/dist/core.js:508:31)
webapp_1  |       at ModuleContainer.addModule (/nitro-web/node_modules/@nuxt/core/dist/core.js:145:36)
webapp_1  |       at promise.then (/nitro-web/node_modules/@nuxt/common/dist/common.js:1321:43)
webapp_1  |       at process._tickCallback (internal/process/next_tick.js:68:7)
webapp_1  |       at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
webapp_1  |       at startup (internal/bootstrap/node.js:283:19)
webapp_1  |       at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
webapp_1  |     code: 'MODULE_NOT_FOUND'
webapp_1  |   }
```
2019-02-15 13:32:54 +01:00
dependabot[bot]
8fc07b1a57
Bump apollo-client from 2.4.12 to 2.4.13
Bumps [apollo-client](https://github.com/apollographql/apollo-client) from 2.4.12 to 2.4.13.
- [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-02-15 10:51:53 +00:00
Grzegorz Leoniec
e0286e853a
Merge pull request #175 from Human-Connection/upgrade-nuxt-2.4
Upgrade to Nuxt 2.4
2019-02-15 11:48:09 +01:00
dependabot[bot]
a8dd16f35b
Bump nyc from 13.2.0 to 13.3.0
Bumps [nyc](https://github.com/istanbuljs/nyc) from 13.2.0 to 13.3.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v13.2.0...v13.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-15 04:21:08 +00:00
Robert Schäfer
55ee112dfa Disable authentication on Travis 2019-02-15 02:36:07 +01:00
Robert Schäfer
3cc19800c9 Do we need to wait until the web client is up? 2019-02-15 02:29:09 +01:00
Robert Schäfer
af536fac61 On Travis we have to expose the port
...to be able to wait for it.
2019-02-15 02:21:03 +01:00
Robert Schäfer
d3a925cc3b Create indices before testing 2019-02-15 02:10:30 +01:00
Robert Schäfer
cadb309ecf Fix lint 2019-02-15 02:05:08 +01:00
Robert Schäfer
6b5d329759 Implement test for search
@appinteractive could you have a look if sanitization of search queries
work? I created a test and I see "unterminated string" exceptions. This
is not what we want! All user input should be escaped.
2019-02-15 01:46:33 +01:00
Robert Schäfer
2715f940b5 Sketch a test 2019-02-15 00:50:37 +01:00
Robert Schäfer
e87dae4efd Provide README 2019-02-15 00:16:43 +01:00
Robert Schäfer
d579d19ad2 Modify migrate for development environment 2019-02-14 17:30:17 +01:00
Robert Schäfer
56936c4038 Setup a routine how to create indices initially
In order to create the indices programmatically we need to change the
default password for security concerns. To create the user we need to
start the neo4j database. So I decided to provide a bash script that
let us do it once the container are started.

In production we must change the NEO4J_PASSWORD.
2019-02-14 16:15:58 +01:00
dependabot[bot]
84f7be2a1d
Bump API from 02dcc22 to 8f0edaf
Bumps [API](https://github.com/Human-Connection/API) from `02dcc22` to `8f0edaf`.
- [Release notes](https://github.com/Human-Connection/API/releases)
- [Commits](02dcc2285c...8f0edaff90)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-14 05:07:21 +00:00
Grzegorz Leoniec
f4a9df3e1d
Updated tiptap dependencies 2019-02-13 16:27:46 +01:00
Grzegorz Leoniec
8b764b0e20
Merged master in 2019-02-13 16:25:50 +01:00
Grzegorz Leoniec
4f8f0debbe
Added findPost query 2019-02-13 16:02:25 +01:00
Grzegorz Leoniec
b515da66f9
Merge branch 'master' into editor 2019-02-13 12:55:08 +01:00
Grzegorz Leoniec
b600989d1f
Pin some versions 2019-02-13 12:52:53 +01:00
Grzegorz Leoniec
87b09162fb
Merge branch 'master' into upgrade-nuxt-2.4 2019-02-13 12:48:24 +01:00
dependabot[bot]
d651b2fa31
Bump WebApp from e153eb6 to d4917da
Bumps [WebApp](https://github.com/Human-Connection/WebApp) from `e153eb6` to `d4917da`.
- [Release notes](https://github.com/Human-Connection/WebApp/releases)
- [Commits](e153eb6c07...d4917da335)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-13 04:36:25 +00:00
Robert Schäfer
01d56f71ea
Merge pull request #173 from Human-Connection/upgrade-dependencies
Upgrade dependencies
2019-02-12 23:46:13 +01:00
Grzegorz Leoniec
bfac6e7e09
Removed prettier from styleguide 2019-02-12 19:48:53 +01:00
Grzegorz Leoniec
a43e5bb37f
Fixed styleguide linting fuckup 2019-02-12 19:41:48 +01:00
dependabot[bot]
a2590fe7b8
Merge pull request #151 from Human-Connection/dependabot/npm_and_yarn/graphql-shield-5.1.3 2019-02-12 18:07:48 +00:00
dependabot[bot]
6d86769af6
Bump graphql-shield from 5.1.2 to 5.1.3
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/maticzav/graphql-shield/releases)
- [Commits](https://github.com/maticzav/graphql-shield/compare/v5.1.2...v5.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-12 17:58:12 +00:00
dependabot[bot]
45ae883ab4
Merge pull request #150 from Human-Connection/dependabot/npm_and_yarn/nodemon-1.18.10 2019-02-12 17:55:05 +00:00
Grzegorz Leoniec
fe9246d9c4
Downgrade eslint-config-prettier 2019-02-12 18:20:21 +01:00
Grzegorz Leoniec
6c7eae9948
Removed @babel/preset-env from styleguide 2019-02-12 18:11:14 +01:00
Grzegorz Leoniec
ed86347b09
Pinned some more versions and updated some minors 2019-02-12 18:00:55 +01:00
Grzegorz Leoniec
aba517337b
Pinned some more versions and updated some minors 2019-02-12 17:51:37 +01:00
Grzegorz Leoniec
93da772685
Match vue versions for frontend and styleguide 2019-02-12 15:18:04 +01:00
Grzegorz Leoniec
87eb7b3c4b
Match vue versions for frontend and styleguide 2019-02-12 15:13:48 +01:00
Grzegorz Leoniec
f5ca8d9e9b
Downgraded vue-svg-loader as it breaks our build 2019-02-12 15:13:27 +01:00
Grzegorz Leoniec
8c07826d71
Try to fix styleguide 2019-02-12 14:38:04 +01:00
Grzegorz Leoniec
62b3f16a3d
Try to fix styleguide 2019-02-12 14:07:06 +01:00
Grzegorz Leoniec
7328c708c1
Use nuxt modern mode if possible 2019-02-12 14:06:45 +01:00
Wolfgang Huß
5c178394ee Replaced input by ds-input etc. 2019-02-12 13:43:27 +01:00
Wolfgang Huß
01b8f0dcba Add comments to the code and overtake some additional code from the Alpha 2019-02-12 12:01:57 +01:00
dependabot[bot]
c390856027
Bump nodemon from 1.18.9 to 1.18.10
Bumps [nodemon](https://github.com/remy/nodemon) from 1.18.9 to 1.18.10.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v1.18.9...v1.18.10)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-11 04:29:23 +00:00