547 Commits

Author SHA1 Message Date
de65a380ab
fix(backend): fix naming of PRIVATEKEY (#8905) 2025-09-20 11:47:29 +02:00
2c285d6bfb
v3.12.2 (#8903) 2025-09-15 10:22:16 +00:00
00e718b12f
v3.12.1 (#8900) 2025-09-13 12:02:39 +00:00
ebb8ef4f0e
remove PRIVATE_KEY_PASSPHRASE from config and remove its requirement (#8889) 2025-09-13 10:04:45 +00:00
31c6446a38
v3.12.0 (#8834) 2025-08-20 15:04:55 +02:00
Robert Schäfer
00da9e8ecb
feat(backend): resize images with imagor (#8558)
* feat(backend): resize images with imagor

Open questions:
* Do we have external URLs for images? E.g. we have them for seeds. But
  in production?

* Do we want to apply image transformations on these as well? My current
implementation does not apply image transformations as of now. If we
want to do that, we will also expose internal URLs in the kubernetes
Cluster to the S3 endpoint to the client.

TODOs:
* The chat component is using a fixed size for all avatars at the moment.
Maybe we can pair-program on this how to implement responsive images in
this component library.

Commits:
* do not replace upload domain url in the database

* fix all webapp specs

* refactor: remove behaviour we won't need

We don't want to apply image transformations on files, right?

* refactor: replace the domain on read not on write

* wip: webapp fixes

* refactor(backend): add another url to config

I've given up. There seems to be no nice way to tell the minio to return
a location which differs from it's host name.

* refactor: add test for s3Service

* refactor(backend): proxy minio via backend in local development

Commits:
* provide tests for message attachments
* remove S3_PUBLIC_URL config value

* refactor: follow @ulfgebhardt's review

* add missing environment variable

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-08-19 10:11:12 +02:00
ee7af8e788
v3.11.0 (#8749) 2025-07-05 17:00:37 +02:00
Wolfgang Huß
a912a353e4
Release v3.10.1 (#8692) 2025-06-19 13:44:02 +00:00
61c1cc965a
v3.10.0 (#8683) 2025-06-16 00:51:57 +02:00
0365cee45e
v3.9.0 (#8661) 2025-06-11 20:19:54 +02:00
7d95c6437a
v3.8.2 (#8637) 2025-06-04 15:03:39 +00:00
1f0b57db88
v3.8.1 (#8633) 2025-06-02 09:17:28 +00:00
2a7a9b6ff4
v3.8.0 (#8631) 2025-06-01 15:52:37 +00:00
Robert Schäfer
d6a8de478b
feat(backend): migrate to s3 (#8545)
## 🍰 Pullrequest
This will migrate our assets to an objectstorage via S3.

Before this PR is rolled out, the S3 credentials need to be configured in the respective infrastructure repository. The migration is implemented in a backend migration, i.e. I expect the `initContainer` to take a little longer but I hope then it's going to be fine. If any errors occcur, the migration should be repeatable, since the disk volume is still there.

### Issues
The backend having direct access on disk.

### Todo
- [ ] Configure backend environment variables in every infrastructure repo
- [ ] Remove kubernetes uploads volume in a future PR

Commits:

* refactor: follow @ulfgebhardt
  Here: https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8545#pullrequestreview-2846163417
  I don't know why the PR didn't include these changes already, I believe I made a mistake during rebase and lost the relevant commits.
* refactor: use typescript assertions
  I found it a better way to react to this comment: https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8545/files#r2092766596
* add S3 credentials
* refactor: easier to remember credentials
  It's for local development only
* give init container necessary file access
* fix: wrong upload location on production
* refactor: follow @ulfgebhardt's review
  See: https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8545#pullrequestreview-2881626504
2025-06-01 09:53:31 +00:00
5bec51ad5d
v3.7.0 (#8597) 2025-05-25 18:24:21 +00:00
933e3ae9b0
v3.6.1 (#8553) 2025-05-12 20:30:43 +00:00
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