20 Commits

Author SHA1 Message Date
mattwr18
66f1aa8888 Follow @roschaefer PR review suggestions
- Update seed file with more human readable imageAspectRatios
- Remove copy script from Dockerfile to not expose to others. we'll need
to either start a maintenance server, so it has access to both the
backend/public/uploads and cypher-shell, or copy a script to the backend
that creates a csv, which can be copied to the neo4j pod and then loaded
into the cypher.
- Remove unintended changes to deployment/legacy-migration
- Add back image compression to Post images
2019-12-03 15:33:54 +01:00
mattwr18
647e92fe7d Get bash script to add imageAspectRatio working 2019-11-21 11:32:15 +01:00
dependabot-preview[bot]
319de54265
build(deps): bump node from 12.11.1-alpine to 12.12.0-alpine in /backend
Bumps node from 12.11.1-alpine to 12.12.0-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-15 07:06:25 +00:00
mattwr18
dab05d9e67 Fix embeds settings page
- Dockerfile was not copying providers.json
- Fix file path to providers.json
- Update template to show message based on allowEmbedIframes

Co-authored-by: Robert Schäfer <git@roschaefer.de>
Co-authored-by: Mike Aono <aonomike@gmail.com>
2019-10-11 14:01:39 +02:00
dependabot-preview[bot]
37bf09dc6e
build(deps): bump node from 12.11.0-alpine to 12.11.1-alpine in /backend
Bumps node from 12.11.0-alpine to 12.11.1-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-09 08:33:36 +00:00
dependabot-preview[bot]
73e278f897
build(deps): bump node from 12.10.0-alpine to 12.11.0-alpine in /backend
Bumps node from 12.10.0-alpine to 12.11.0-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-07 07:27:10 +00: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
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
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
dependabot-preview[bot]
8d4874effb
Bump node from 12.9-alpine to 12.10.0-alpine in /backend
Bumps node from 12.9-alpine to 12.10.0-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-06 04:25:14 +00:00
dependabot-preview[bot]
645fd62bb7
Bump node from 12.8-alpine to 12.9-alpine in /backend
Bumps node from 12.8-alpine to 12.9-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-22 04:26:29 +00:00
dependabot-preview[bot]
f9bb12f0af
Bump node from 12.7-alpine to 12.8-alpine in /backend
Bumps node from 12.7-alpine to 12.8-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 04:31:08 +00:00
dependabot-preview[bot]
b0bde9f73e
Bump node from 12.6-alpine to 12.7-alpine in /backend
Bumps node from 12.6-alpine to 12.7-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-26 04:22:08 +00:00
dependabot-preview[bot]
27cc6c49af
Bump node from 12.5-alpine to 12.6-alpine in /backend
Bumps node from 12.5-alpine to 12.6-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-05 04:24:30 +00:00
dependabot-preview[bot]
2437d9100b
Bump node from 12.4-alpine to 12.5-alpine in /backend
Bumps node from 12.4-alpine to 12.5-alpine.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 04:31:48 +00:00
Robert Schäfer
1ffa3cd046 Fix #799
For target `production` the badges were simply not copied. It also
explains why we never saw that error in development. For development we
use docker build target `build-and-test`.

FYI: @ulfgebhardt @Tirokk @ogerly
2019-06-12 23:55:42 +02:00
dependabot-preview[bot]
569216b8bf
Bump node from 12.3.1-alpine to 12.4-alpine in /backend
Bumps node from 12.3.1-alpine to 12.4-alpine.
2019-06-05 05:01:44 +00:00
dependabot-preview[bot]
bc173c0dc3
Bump node from 10-alpine to 12.3.1-alpine in /backend
Bumps node from 10-alpine to 12.3.1-alpine.
2019-05-31 05:01:59 +00:00
Robert Schäfer
0e9fce0a07 Add missing dependency git in Dockerfile 2019-05-27 15:37:08 +02:00
Robert Schäfer
7a72185c9e Merging backend to master 2019-03-20 21:00:59 +01:00