2283 Commits

Author SHA1 Message Date
Lala Sabathil
5020c8c017
Update .travis.yml 2019-02-16 13:05:55 +01:00
Wolfgang Huß
780ff65254 Add 'times-circle' as right icon to search etc. 2019-02-16 12:40:47 +01:00
Grzegorz Leoniec
f88276fff5
Update readme for styleguide ref 2019-02-16 10:38:31 +01:00
Grzegorz Leoniec
53ea93492d
Remove Styleguide 2019-02-16 10:33:07 +01:00
Grzegorz Leoniec
43c5f8ac86
Use new seperate styleguide repo instead of embedded one 2019-02-16 10:32:57 +01:00
dependabot[bot]
c5c62d2839
Merge pull request #155 from Human-Connection/dependabot/npm_and_yarn/apollo-client-2.4.13 2019-02-15 17:33:50 +00:00
Grzegorz Leoniec
ddfdc6fdf9
Merge branch 'master' into editor 2019-02-15 18:08:22 +01:00
Grzegorz Leoniec
0f37fffb2b
Minor dependency updates 2019-02-15 17:57:45 +01:00
Grzegorz Leoniec
6786d58fd7
Minor dependency updates 2019-02-15 17:57:25 +01:00
dependabot[bot]
357ac42411
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 16:48:40 +00:00
Grzegorz Leoniec
5c1c8b9cb5
Updated @nuxtjs/apollo to 4.0.0-rc4 2019-02-15 17:46:57 +01:00
dependabot[bot]
227e41334e
Merge pull request #154 from Human-Connection/dependabot/npm_and_yarn/apollo-cache-inmemory-1.4.3 2019-02-15 16:45:58 +00:00
dependabot[bot]
58ddc19a66
Merge pull request #178 from Human-Connection/dependabot/npm_and_yarn/apollo-client-2.4.13 2019-02-15 16:39:18 +00:00
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