83 Commits

Author SHA1 Message Date
dependabot[bot]
ad5108996f
build(deps): bump node from 24.9.0-alpine to 24.10.0-alpine in /backend (#8959)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 02:19:54 +00:00
dependabot[bot]
1044231e4e
build(deps): bump node from 24.8.0-alpine to 24.9.0-alpine in /backend (#8926)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-27 10:10:03 +00:00
dependabot[bot]
ef5cdbc2cb
build(deps): bump node from 24.7.0-alpine to 24.8.0-alpine in /backend (#8891)
Bumps node from 24.7.0-alpine to 24.8.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.8.0-alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-14 23:39:23 +00:00
dependabot[bot]
dbae0862f9
build(deps): bump node from 24.6.0-alpine to 24.7.0-alpine in /backend (#8851)
Bumps node from 24.6.0-alpine to 24.7.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.7.0-alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-06 21:31:49 +02:00
dependabot[bot]
7bbcdf4fca
build(deps): bump node from 24.4.1-alpine to 24.6.0-alpine in /backend (#8828)
Bumps node from 24.4.1-alpine to 24.6.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.6.0-alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-21 00:26:29 +02:00
dependabot[bot]
0cb4c1f3b7
build(deps): bump node from 24.4.0-alpine to 24.4.1-alpine in /backend (#8778)
Bumps node from 24.4.0-alpine to 24.4.1-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.4.1-alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-28 11:13:16 +00:00
dependabot[bot]
588e9bee8d
build(deps): bump node from 24.3.0-alpine to 24.4.0-alpine in /backend (#8756)
Bumps node from 24.3.0-alpine to 24.4.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.4.0-alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-12 13:15:52 +00:00
dependabot[bot]
eba43c5e9b
build(deps): bump node from 24.2.0-alpine to 24.3.0-alpine in /backend (#8730)
Bumps node from 24.2.0-alpine to 24.3.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.3.0-alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-01 14:35:02 +00:00
dependabot[bot]
410d31b3d0
build(deps): bump node from 24.1.0-alpine to 24.2.0-alpine in /backend (#8664)
Bumps node from 24.1.0-alpine to 24.2.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.2.0-alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-15 00:04:27 +00:00
dependabot[bot]
d80ff05116
build(deps): bump node from 24.0.2-alpine to 24.1.0-alpine in /backend (#8613)
Bumps node from 24.0.2-alpine to 24.1.0-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.1.0-alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-02 20:27:43 +00:00
dependabot[bot]
d15262559d
build(deps): bump node from 23.11.0-alpine to 24.0.2-alpine in /backend (#8564)
Bumps node from 23.11.0-alpine to 24.0.2-alpine.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 24.0.2-alpine
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-18 09:30:04 +00:00
Moriz Wahl
ba9da00a7f
correct copy path in dockerfile (#8519) 2025-05-10 07:08:39 +02:00
Moriz Wahl
fbec8288b2
refactor(backend): category seed (#8505)
* define ids and slugs in categories, check for existing ids, only seed the new ids

* seed categories respecting existing categories

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-05-08 20:27:41 +00:00
b54e9773f4
fix backend node23 (#8488) 2025-05-04 14:46:29 +02:00
4f05b852af
remove some dependabot groups & no alpine version to allow update (#8475)
Co-authored-by: mahula <lenzmath@posteo.de>
2025-05-03 11:51:22 +00:00
9d5396988a
feat(backend): branding middlewares (#8429)
* allow the rbanding to provide middlewares

lint fix

fix config

* whitelist instead o blacklist when to exclude middlewares

fix config whitelisting

* fix lint
2025-04-28 17:27:01 +00:00
d7d8a242cd
fix(backend): fixes for branding (#8449)
* copy from branding folder to backend public folder

provide default branding/public folder

* copy public folder correctly

* copy files again for providers.json

* copy more public folders

* more copy

* revert change

* fix naming of called script when using db:data:branding

* prod command for branding data

* close database connection

* lint fixes

* increase test timeout again
2025-04-28 18:17:18 +02:00
8cf405c549
feat(backend): badges (#8391)
* delete all old badges

* reward/unrewardBadge

* verification Badges

* name all badged accordingly

* more tests, lint

* seed badges

* profileBadge mechanic

* badgesUnusedCount

* seed profileBadges set

* configure profile badge count

* insert badges db:data:badges:default

* seed commands to seed default badges and allow to seed branding data

* copy data migrations when building docker

* typo

* correct data:branding command & document it

* test new functionality

* Update backend/src/db/seed/badges.ts

Co-authored-by: Max <maxharz@gmail.com>

* Update backend/src/db/seed/badges.ts

Co-authored-by: Max <maxharz@gmail.com>

* Update backend/src/db/seed/badges.ts

Co-authored-by: Max <maxharz@gmail.com>

* naming coventions

* final naming fix

lint

fix build

fix badge type in test

renamed badge_ to trophy_

lint fixes

small renameing

fixes

fix users spec

fix webapp queries

fix display

* expose badge description

---------

Co-authored-by: Max <maxharz@gmail.com>
2025-04-17 23:08:54 +00:00
Robert Schäfer
628b57aa29
feat(other): major improvement of deployment (#7925)
* feat(other): major improvement of deployment

Motivation
----------

Kubernetes:
* backend becomes a statefulset (exclusive volume mount)
  See: https://spacelift.io/blog/statefulset-vs-deployment
* implement neo4j backup with job

Docker:
* consistent targets across all dockerfiles
* remove redundant labels
* remove unnecessary build args
* remove obsolete networks
* remove development dependencies for production

Rebranding:
* add image tags for local tagging and pulling
* use Github's docker build workflows
* use Github container registry
* ONBUILD to simplify caller Dockerfiles
* docker compose for branding

Tooling:
* same node --version as in dockerfile

Docs:
* missing step in README.md

* refactor: remove submodules

It's better to keep them all in a separate repository

* improve kubernetes chart

* better image tag defaults
* split neo4j into its own chart (for re-use)
* use application defaults where possible

* optional resources for all pods

* remove obsolete key/value pair from secrets

* remove obsolete build argsand

and add labels for neo4j enterprise

* env vars for webapp

* allow to define redirect domains

Define a list of Domains that redirect to the domain of the project. The
idea is to provide the ability to redirect eg. www.domain.tld to
domain.tld

* remove maintenance part regarding database

* move backup job outside template folder

* name the ingress

* updated ingress

* handle empty case of middlewares

* try to default the ingress

* use quote

* restore todo-next-update

* fix docu check

* fix naming

* try using prod:migrate

* try using override config

* copy src folder

* try using base as image instead of build

* fix test build

* force build

* comment for the problem

* fix webapp tests (potentially)

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-28 18:22:23 +01:00
Wolfgang Huß
1a2c7abfe8 Fix warning because of lower case 'as' instead of uppercase 'AS' in dockerfiles 2024-08-29 16:19:19 +02:00
mahula
0bb5b3985c set update docker node image versions to 20.12.1 2024-04-10 14:13:28 +02:00
mahula
aca6c819b1 update docker image versions 2024-04-10 13:46:34 +02:00
mahula
5d6d52a6fa update docker image versions 2024-04-10 13:23:39 +02:00
Wolfgang Huß
988e874934 Degrade Node version from v20.7.0 to v20.2.0 2023-10-02 13:06:52 +02:00
dependabot[bot]
e71e577c5b
Bump node from 20.6.0-alpine3.17 to 20.7.0-alpine3.17 in /backend
Bumps node from 20.6.0-alpine3.17 to 20.7.0-alpine3.17.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-23 01:55:25 +00:00
dependabot[bot]
69882eba2c
Bump node from 20.2.0-alpine3.17 to 20.6.0-alpine3.17 in /backend
Bumps node from 20.2.0-alpine3.17 to 20.6.0-alpine3.17.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 08:21:10 +00:00
f9e5fce546
downgrade node version again as it seems to cause problems 2023-06-17 14:04:54 +02:00
dependabot[bot]
22d7116e4b
Bump node from 20.2.0-alpine3.17 to 20.3.0-alpine3.17 in /backend
Bumps node from 20.2.0-alpine3.17 to 20.3.0-alpine3.17.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 22:53:48 +00:00
f4f016265a
capsulate in /bin/sh 2023-06-02 12:18:08 +02:00
a50e3f2f14
Merge branch 'master' into typescript 2023-05-31 10:21:04 +02:00
dependabot[bot]
8f9ebd77b2
Bump node from 19.9.0-alpine3.17 to 20.2.0-alpine3.17 in /backend
Bumps node from 19.9.0-alpine3.17 to 20.2.0-alpine3.17.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 14:24:08 +00:00
8ca55f4d6e
enable typescript 2023-05-23 01:49:55 +02:00
dependabot[bot]
4597f9b923
Bump node from 19.8.1-alpine3.17 to 19.9.0-alpine3.17 in /backend
Bumps node from 19.8.1-alpine3.17 to 19.9.0-alpine3.17.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 13:11:23 +00:00
dependabot[bot]
180c363f9c
Bump node from 19.4.0-alpine3.17 to 19.8.1-alpine3.17 in /backend
Bumps node from 19.4.0-alpine3.17 to 19.8.1-alpine3.17.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 17:04:02 +00:00
Wolfgang Huß
14426b4397 Add node gyp dependencies 2023-02-23 13:23:23 +01:00
6cc7b4aa18
node19 docker 2023-01-25 16:12:15 +01:00
Wolfgang Huß
5f9155805d Fix 'Dockerfile' for webapp and backend for running locally and in cluster 2022-07-17 20:32:03 +02:00
Wolfgang Huß
9894abb29a Revert remove of '${DOCKER_WORKDIR}' 2021-06-07 19:03:55 +02:00
Wolfgang Huß
3f7d1c7bd0 Follow suggestions of Moriz and Robert 2021-06-07 18:50:21 +02:00
b3538577dc
backend production=false 2021-06-07 15:31:29 +02:00
791d873df2
-remove node_modules
-build production
2021-06-07 14:04:36 +02:00
Wolfgang Huß
931705976d Establish new deployment structure with base and code Docker images, first step 2021-05-30 17:58:04 +02:00
79beb840c5
-separate commands in two, docker build & save to allow multi-line commands
-have arg and env variables
2021-04-17 13:15:45 +02:00
d354f9630a
Use build args instead of envs for the version, date & commit 2021-04-17 12:44:01 +02:00
6110557abf
fixed versions to follow SemVer 2.0 style (https://semver.org/spec/v2.0.0.html) 2021-02-25 20:48:20 +01:00
5503216ad4
- first steps towards docker image deployment & github autotagging 2021-02-08 15:43:09 +01:00
8a0b3a2826
- build test images 2021-01-30 19:25:39 +01:00
52842c51bb
- working production docker-compose setup 2021-01-23 03:10:07 +01:00
c41d32d527
- fixed node_modules running out of sync since they are on a volume for development docker builds 2021-01-20 13:43:22 +01:00
c9a5df0cd6
- fixed build version in webapp and backend 2021-01-19 23:18:52 +01:00