3916 Commits

Author SHA1 Message Date
Grzegorz Leoniec
4edbee6efd
Merge pull request #23 from Tirokk/master
Set titles for some tabs correctly and fixed wrong quotation marks (macOS encod…
2019-02-06 21:16:06 +01:00
Wolfgang Huß
21d268f575 Set titles for some tabs and fixed wrong quotation marks (macOS encoding) 2019-02-06 20:18:17 +01:00
Grzegorz Leoniec
ad2bba586e
Fixed link target 2019-02-06 17:20:38 +01:00
Grzegorz Leoniec
a881b266a6
Fixed post excert rendering 2019-02-06 17:20:11 +01:00
Grzegorz Leoniec
81d19cbc16
Improved post create and edit pages and links 2019-02-06 17:01:05 +01:00
Grzegorz Leoniec
d8b1149797
Make it possible to remove link 2019-02-06 16:37:45 +01:00
Grzegorz Leoniec
89d736d4a1
Improved linking inside the editor, now automatically adding schemas 2019-02-06 16:29:09 +01:00
Grzegorz Leoniec
7c39735d09
Added post create button to profile page 2019-02-06 15:16:37 +01:00
Matt Rider
1b013c2ac4 Merge branch 'master' of github.com:Human-Connection/Nitro-Web into 37-full-text-search-top-bar 2019-02-06 09:42:16 -02:00
dependabot[bot]
285396dcd2
Bump Nitro-Backend from 8b8caae to 13c6743
Bumps [Nitro-Backend](https://github.com/Human-Connection/Nitro-Backend) from `8b8caae` to `13c6743`.
- [Release notes](https://github.com/Human-Connection/Nitro-Backend/releases)
- [Commits](8b8caaef40...13c67437d8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-06 04:15:15 +00:00
Grzegorz Leoniec
13c67437d8
Merge pull request #145 from Human-Connection/refactoring_db_migration_worker
Refactoring db migration worker
2019-02-05 21:43:35 +01:00
Robert Schäfer
9656bd4eb7 Fix comments import
@appinteractive
2019-02-05 20:02:59 +01:00
Robert Schäfer
e1e457abae Cleanly separate legacy migration part
Use `kubectl patch -f ...`
2019-02-05 18:04:56 +01:00
Robert Schäfer
99262a0d4d Fix README 2019-02-05 17:27:59 +01:00
Grzegorz Leoniec
31bc10842b
Improved linking in editor 2019-02-05 17:14:03 +01:00
Grzegorz Leoniec
a831f91314
fixed input field 2019-02-05 17:12:49 +01:00
Robert Schäfer
0705ab1bf5 Fix missing contribution author
Bug: Only if a tag and a category was present, the author was assigned.
2019-02-05 14:48:13 +01:00
Robert Schäfer
6610266a5b Mount /migration for quick development 2019-02-05 14:47:51 +01:00
Matt Rider
b032887430 Write firs component test, add search placeholder translation 2019-02-05 09:59:27 -02:00
Grzegorz Leoniec
bfb8afc662
Improved post edit guard 2019-02-05 11:04:41 +01:00
Grzegorz Leoniec
605011e4e6
GitBook: [master] 10 pages and 5 assets modified 2019-02-05 08:52:45 +00:00
dependabot[bot]
ed9b0daf97
Bump Nitro-Web from 70aca85 to 9ba2200
Bumps [Nitro-Web](https://github.com/Human-Connection/Nitro-Web) from `70aca85` to `9ba2200`.
- [Release notes](https://github.com/Human-Connection/Nitro-Web/releases)
- [Commits](70aca8579a...9ba22002b7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 04:32:09 +00:00
Robert Schäfer
8c6bc72bd2 Update README 2019-02-04 22:05:24 +01:00
Robert Schäfer
1fbec5f525 Set NEO4J_URI to localhost
Apparently, if you have a mult-container setup, the same pod is
accessible via localhost.
2019-02-04 22:00:53 +01:00
Robert Schäfer
82c679aaf1 Check the environment variables early on
I was missing NEO4J_URI and was told very late - let's check env vars at
the very beginning.
2019-02-04 21:42:44 +01:00
Robert Schäfer
5b674cd95f Hopefully fix migrate on Digital Ocean
It kept crashing, maybe because we're piping too much stuff to STDOUT.
Let's see.
2019-02-04 21:33:48 +01:00
Robert Schäfer
d876a3f442 Multiple container per pod setup 2019-02-04 20:44:07 +01:00
Robert Schäfer
2bc1e88920 Make CodeFactor happy 2019-02-04 19:55:59 +01:00
Robert Schäfer
693e7da95b
Merge branch 'master' into refactoring_db_migration_worker 2019-02-04 19:51:18 +01:00
Robert Schäfer
084f610ec8 Turnaround: *use* volumes for sharing data
... but use it in the same pod. It seems to be possible to have shared
volumes in the same pod:
https://kubernetes.io/docs/tasks/access-application-cluster/communicate-containers-same-pod-shared-volume/
2019-02-04 19:44:39 +01:00
Robert Schäfer
955383f169 Separate docker-compose.yml to test db migration
I think it's not that relevant to our new contributors to install the
db-migration-worker.
2019-02-04 19:19:31 +01:00
Robert Schäfer
01a145be29 Container db-migration-worker need no volumes
You can simply run `docker-compose exec db-migration-worker migrate` and
that's it. Of course you have to provide all the environment variables.
2019-02-04 17:49:48 +01:00
Grzegorz Leoniec
63925e4046
Throw error if the user is not the owner of the post while edit 2019-02-04 17:36:52 +01:00
Grzegorz Leoniec
cc5701a193
Do not catch issues on user assign at post create 2019-02-04 17:20:04 +01:00
Grzegorz Leoniec
ca076bbcb9
Assign post to current user on creation 2019-02-04 17:19:26 +01:00
Grzegorz Leoniec
37a81d59e5
Merge branch 'editor' of github.com:appinteractive/hc-prototype-ui into editor 2019-02-04 17:19:11 +01:00
Grzegorz Leoniec
9d76a904e8
Made very basic edit and create of posts possible 2019-02-04 17:19:06 +01:00
Robert Schäfer
cdf92cc6ea Remove obsolete kubernetes folder 2019-02-04 15:36:39 +01:00
Robert Schäfer
5492b282bc Refactoring: No uploads/ vol,access neo4j directly
Digital Ocean does not support shared directories. So we have to uploads
the images in `/uploads` via `kubectl cp` or something similar.
Likewise, it is not possible to share the exported mongodb .json files
with neo4j container. Therefore let's install `cypher-shell`, included
in `neo4j` package, to directly open a neo4j connection and bulk import
the data.
2019-02-04 14:31:40 +01:00
Robert Schäfer
81ae557be1 Create a persistent volume claim for uploads 2019-02-04 13:00:00 +01:00
Robert Schäfer
20908cd062 Docker and .gitignore entire .ssh folder
On kubernetes, the ssh keys are added as a volume from a secret
2019-02-04 12:41:03 +01:00
Robert Schäfer
064e98943d Remove sub-directories in /mongo-export
On Digital Ocean a persistent volume has a folder `lost+found` by
default. This script stops throws error messages because it can't remove
that folder if we don't add `-r` flag.
2019-02-04 12:37:03 +01:00
dependabot[bot]
9ba22002b7
Merge pull request #161 from Human-Connection/dependabot/npm_and_yarn/eslint-5.13.0 2019-02-04 10:46:35 +00:00
dependabot[bot]
d404353e31
Bump eslint from 5.12.1 to 5.13.0
Bumps [eslint](https://github.com/eslint/eslint) from 5.12.1 to 5.13.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.12.1...v5.13.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 10:12:42 +00:00
dependabot[bot]
245c3e48bf
Merge pull request #160 from Human-Connection/dependabot/npm_and_yarn/@vue/server-test-utils-1.0.0-beta.29 2019-02-04 10:09:02 +00:00
Grzegorz Leoniec
3583259aa6
Merge branch 'master' into editor 2019-02-04 10:56:32 +01:00
Grzegorz Leoniec
1f9e95864a
Merge branch 'master' into editor 2019-02-04 10:56:20 +01:00
dependabot[bot]
12d82f23ce
Bump @vue/server-test-utils from 1.0.0-beta.28 to 1.0.0-beta.29
Bumps [@vue/server-test-utils](https://github.com/vuejs/vue-test-utils) from 1.0.0-beta.28 to 1.0.0-beta.29.
- [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.28...v1.0.0-beta.29)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 04:58:24 +00:00
Robert Schäfer
fb929da2cd Refactor db-migration-worker deployment
Instead of creating a deployment with a replica set, we just create the
pod once. Also the pod should have everything in the future to run the
database migration. Ie. have `cypher-shell` to write directly to the
database in the current network. All required configuration is passed
manually to the `db-migration-worker`-pod directly. SSH-keys are copied
through a secrets file. This altogether made many configuration files
obsolete.
2019-02-04 01:37:35 +01:00
Grzegorz Leoniec
bca18d097d
Merge pull request #139 from Human-Connection/tansaku-patch-1
Create CODE_OF_CONDUCT.md
2019-02-03 23:40:43 +01:00