531 Commits

Author SHA1 Message Date
92edde02d8
v3.6.0 (#8541) 2025-05-10 11:05:38 +00:00
Moriz Wahl
20d14f3a2f
chore(release): v3.5.3 (#8503)
* Release v3.5.3
2025-05-07 18:44:44 +00:00
5d348c2eaf
v3.5.2 (#8498) 2025-05-06 11:44:58 +00:00
4960f2800b
v3.5.1 (#8496) 2025-05-06 10:30:40 +00:00
b280b1f3f0
v3.5.0 (#8492) 2025-05-06 05:28:51 +02:00
9afedcf922
v3.4.0 (#8454) 2025-04-28 20:56:20 +02:00
8aa00216df
v3.3.0 (#8380)
regenerate changelog
2025-04-12 12:47:01 +00:00
fcc99ab58e
refactor(backend): clean migrate scripts (#8317)
* clean migrate scripts

- refactor migrate:init
  - separate admin seed
  - separate categories seed
- rework backend README regarding the database
- remove `db:clean` command as its a duplicate of `db:reset`
- remove `__migrate` helper alias

* renamed clean.ts to reset.ts

* set indices & constrains in init function

* fix comment

* disable migrations touching indices

* remove obsolete comment

* always run init on kubernetes

* reset db with or without migrations

* lint fixes

* Refine 'README.md'

* Refine more 'README.md'

* fix lint

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-10 09:52:49 +02:00
Wolfgang Huß
16bd62f949
fix(other): leftover hetzner deployment (#8254)
* Ignore old configuration, still

* Add old branding value descriptions again and refine
2025-04-04 19:59:05 +02: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ß
374fd25793 Fix mark down links to pass linting 2024-09-18 09:36:39 +02:00
Wolfgang Huß
5bc5ae68a8 Adjust docs for deployment, DigitalOcean, and neo4j cypher commands 2024-09-18 09:25:33 +02:00
7bfdc7d2fe
new scripts 2024-09-17 14:40:49 +02:00
Wolfgang Huß
cc191d9167
Merge branch 'master' into remove-obsolete-version-element-from-all-docker-files 2024-08-30 13:39:17 +02:00
Wolfgang Huß
15bb2d24bf Fix warnings by removing 'version' from all Docker Compose YAMLs 2024-08-29 16:35:26 +02: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
ff0176599e remove obsolete version element from all docker yaml files 2024-06-22 21:31:37 +02:00
Wolfgang Huß
412fc04d15 Add 'branding/constants/dateTime.js' 'RELATIVE_DATETIME', 'ABSOLUT_DATETIME_FORMAT' to the docs 2024-02-06 16:39:10 +01:00
mahula
806d85b89f center embedded docs images 2024-01-30 08:38:31 +01:00
mahula
2e2fa8dc11 use raw github link for embedded images 2024-01-30 08:25:50 +01:00
mahula
0b7f0f0b7c
Merge branch 'master' into 6868-docs-uncomment-links-revert-commit-5da7168 2024-01-29 21:07:00 +01:00
Wolfgang Huß
725d634803 Add description for alternatives to the Kubernetes Dashboard 2024-01-29 13:10:39 +01:00
Wolfgang Huß
67b6c6de39 Revert "Remove temporarily some *.ocelot.social link from the readmes to get the tests running"
This reverts commit 5da7168cf883bacc5a30a1bd3c4547904fc3570f.

# Conflicts:
#	README.md
2024-01-29 12:20:53 +01:00
Wolfgang Huß
559b9f2c45 Fix broken link 2024-01-26 14:49:03 +01:00
Wolfgang Huß
2db54e83af Add description for a 1-click install and usage of Kubernetes Dashboard on DigitalOcean 2024-01-26 14:39:31 +01:00
Wolfgang Huß
a94c77e00b
Merge branch 'master' into 6810-bugdevops-fix-broken-links-and-content-in-readmes-part-2 2024-01-23 11:54:12 +01:00
Wolfgang Huß
a70320688d Add new Neo4j env 'DBMS_DEFAULT_DATABASE' to 'TODO-next-update.md' and other files 2024-01-18 13:23:07 +01:00
mahula
bf0ea5fe95
Merge branch 'master' into 6810-bugdevops-fix-broken-links-and-content-in-readmes-part-2 2024-01-13 09:13:11 +01:00
Wolfgang Huß
b4ca141ab7 Simplify conditions for checking existence of environment variables after Ulf G. suggestion
Co-Authored-By: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2023-12-20 12:15:53 +01:00
Wolfgang Huß
f4e71a1dbb Add 'NEO4J_dbms_default__database' Neo4j setting to 'ConfigMap.yml' and Docker Compose files 2023-12-20 09:39:44 +01:00
Wolfgang Huß
0d4bfaf052 Add second empty line before logging in 'clusters.backup-multiple-servers.sh' 2023-12-12 17:35:00 +01:00
Wolfgang Huß
e0722cc576 Log good readable explicit cluster name 2023-12-12 17:34:04 +01:00
Wolfgang Huß
9a041c5309 Add hint to readme's 2023-12-12 17:21:06 +01:00
Wolfgang Huß
c8abe9c51c Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 6812-script-auto-backups-for-kubernetes-servers
# Conflicts:
#	neo4j/README.md
2023-12-12 16:59:35 +01:00
Wolfgang Huß
0b8407ccff Remove '--database=neo4j' and '--expand-commands' from all the database commands 2023-12-12 16:13:46 +01:00
Wolfgang Huß
af1de3d4a2 Revert "Add database name as variable to script"
This reverts commit 1dc871d3069917d9e4720f093aa320368012aa58.
2023-12-12 15:53:54 +01:00
Wolfgang Huß
1dc871d306 Add database name as variable to script 2023-12-01 15:06:38 +01:00
Wolfgang Huß
7d4a75a94c Refine checking of definition of variables 2023-12-01 15:02:25 +01:00
Wolfgang Huß
4351c9e0db Refine script readme 2023-12-01 14:40:26 +01:00
Wolfgang Huß
c240fe32ad Add more detailed logs for the scripts
- Ignore 'backup-cron-job.log' files.
2023-12-01 14:39:38 +01:00
mahula
6ddeb2b444
Merge branch 'master' into 6810-bugdevops-fix-broken-links-and-content-in-readmes-part-2 2023-12-01 12:08:57 +01:00
Wolfgang Huß
b95b036265 Change database name from 'graph.db' to 'neo4j' 2023-11-30 08:05:45 +01:00
mahula
1036c20e04
Merge branch 'master' into 6847-upgrade-cert-manager-version 2023-11-29 16:03:13 +01:00
Wolfgang Huß
1d1bf918f6 Merge branch 'add-vuepress-action-with-root-directory-as-docs-directory' of github.com:Ocelot-Social-Community/Ocelot-Social into 6866-remove-temp-(x.)ocelot.social-links
# Conflicts:
#	README.md
2023-11-29 15:28:50 +01:00
Wolfgang Huß
5da7168cf8 Remove temporarily some *.ocelot.social link from the readmes to get the tests running 2023-11-29 14:47:26 +01:00
Wolfgang Huß
ca5a0e47c6 New stage.ocelot.social 2023-11-29 14:44:15 +01:00
Wolfgang Huß
aeb1432630 Avoid 'else' cases after exit in the 'if' case
- Remove todo.
2023-11-29 10:03:29 +01:00
Wolfgang Huß
21992c9beb Remove all debugging outputs
- Refine comment.
2023-11-28 16:40:10 +01:00
Wolfgang Huß
0f4e061b1e Finish 'Automated Backups' in readme 2023-11-28 16:35:44 +01:00
Wolfgang Huß
dbca9b91c0 Start 'Automated Backups' in readme 2023-11-28 15:52:11 +01:00