Ralf Haferkamp
d0a0922e89
chore: reduce build context for docker
...
Always including the parent directory into the build context was a bad
idea. This reverts the change and only add the opencloud tree to the
build context by default.
To build a docker image with workspaces enabled as new make target
"dev-docker-with-workspace" is introduced that adjust the docker build
call accordingly (by setting the right build context and the new SRCDIR
arg to point to the correct directory for the opencloud tree).
2026-06-09 16:42:42 +02:00
Ralf Haferkamp
da0b9417cd
fix(init): Only log admin password if it was generated
...
This fixes `opencloud init` to only print the admin password if it was
generated by `init`. No longer log is when is was set via env var or command
line arguments.
Additionally add a `--quiet` command line flag to disable all non error
output.
Fixes : #1022
2026-05-27 13:22:29 +02:00
André Duffeck
fbc868522d
Verify parent ids during the consistency check
...
Fixes #2372
2026-05-22 10:37:20 +02:00
André Duffeck
9de4e24395
Add a "posixfs scan" command for scanning the posix tree for new files
2026-05-21 11:18:24 +02:00
Ralf Haferkamp
f056326c4c
Merge remote-tracking branch 'origin/main' into feature/guest-links
2026-05-13 14:35:54 +02:00
Ralf Haferkamp
9dbe4decf8
chore: bump docker base image to alpine 3.23 ( #2754 )
2026-05-13 14:13:27 +02:00
Ralf Haferkamp
1e88251a2b
feat(sharing): Require service account to be configured for sharing service
...
In order to be able to run migrations, the "sharing" service now needs
the "service_account_id" and -"_secret" to be configured.
This is a "breaking/backwards incompatible" change.
2026-05-13 09:23:54 +02:00
Jörn Friedrich Dreyer
9135eab27e
update comment
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2026-04-28 16:18:45 +02:00
Ralf Haferkamp
7a149787d0
fix: avoid suture.Supervisor being shutdown early
...
Previously the Supervisor was shutdonw as soon as the main context was
canceled. Which cause the managed services to fail during shutdown (in
"trapShutdownCtx()") as the Supervisor was gone already.
We now pass a separate Context to Supervisor.ServeBackground() to avoid
this.
Fixes : #2282
2026-04-28 16:18:45 +02:00
Ralf Haferkamp
c7eeb899d6
Revert "Hotfix for https://github.com/opencloud-eu/opencloud/issues/2282 "
...
This reverts commit c329439aac .
2026-04-28 16:18:45 +02:00
Ralf Haferkamp
45ed7f0cee
Revert "Fix timeout for ocwrapper"
...
This reverts commit a3065ded87 .
2026-04-28 16:18:45 +02:00
Ralf Haferkamp
6ecc223d8b
Revert "introduce ci env variable"
...
This reverts commit cf7aaa8ca7 .
2026-04-28 16:18:45 +02:00
Ralf Haferkamp
8b4e4f0137
Revert "fix typo"
...
This reverts commit 900ecf736e .
2026-04-28 16:18:45 +02:00
Christian Richter
900ecf736e
fix typo
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-04-23 15:19:59 +02:00
Christian Richter
cf7aaa8ca7
introduce ci env variable
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-04-23 15:19:59 +02:00
Christian Richter
a3065ded87
Fix timeout for ocwrapper
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-04-23 15:19:59 +02:00
Christian Richter
c329439aac
Hotfix for https://github.com/opencloud-eu/opencloud/issues/2282
...
Co-authored-by: Jörn Dreyer <jfd@butonic.de >
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2026-04-23 15:19:59 +02:00
Florian Schade
288e67cc39
chore: replace interface with any
2026-04-23 09:31:11 +02:00
Florian Schade
86d79430a3
chore: use wg.Go instead of add
2026-04-22 14:50:57 +02:00
Ralf Haferkamp
8d7644b17f
fix(docker): govips requires imagemagick to load BMP files now
...
For details see: dd8aed88c0
2026-03-06 10:44:36 +01:00
Jörn Friedrich Dreyer
b258cbb996
read edition directly from version, enable name validation config
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2026-01-07 15:04:34 +01:00
Jörn Friedrich Dreyer
c99342318f
merge ocdav into frontend
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2026-01-07 15:04:34 +01:00
Jörn Friedrich Dreyer
670792f25a
benchmark client enhancements
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2026-01-06 17:45:17 +01:00
Florian Schade
c5c5399067
fix: make the common config available for the antivirus service
2025-12-23 12:23:41 +01:00
Florian Schade
dd4b36a4bb
fix(oci): set EDITION ard default value to dev which suppresses the init edition startup error
2025-12-22 15:57:51 +01:00
Florian Schade
5486216350
fix: cobra viper flags and env
2025-12-19 12:15:48 +01:00
Jörn Friedrich Dreyer
5ed944dfc3
fix service name in suture logs
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-18 11:54:51 +01:00
Jörn Friedrich Dreyer
3a2a38870c
ignore some viper errors
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
61707ab6d0
double check required args
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
d0e51010bf
replace more .Value.String() occurences
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
032c218789
replace .Value.String() with .GetString(...)
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
8564fa4536
fix opencloud version flags
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
eebccf7c78
fix opencloud trash flags
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
6204c6b3cb
fix opencloud init flags
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
35b3e51052
fix opencloud decomposedfs flags
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
94a49aa404
fix opencloud benchmark flags
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Jörn Friedrich Dreyer
f7681b36dd
fix opencloud backup flags
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-12-15 16:40:27 +01:00
Florian Schade
efb7e73195
fix(cli): fix varius cmds
...
- cmd backup consistency, fix flags
- revisions purge, fix flags
2025-12-15 16:40:27 +01:00
Florian Schade
5824d8df34
fix(cli): hydrate shared configurations such as commons before running any service command
2025-12-15 16:40:27 +01:00
Florian Schade
9904e5b932
enhancement(cli): group commands by topic
2025-12-15 16:40:27 +01:00
Florian Schade
879de39129
fix: list service child commands the service is called without arguments
2025-12-15 16:40:27 +01:00
Christian Richter
0fa3a2a7f8
prevent overwrite of RunE
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:27 +01:00
Christian Richter
a9b1bea4f8
override RunE function of root subcommands to ensure that help is shown when no arguments are given
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:27 +01:00
Christian Richter
0372869b8b
refactor remaining code from urfave/cli
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:27 +01:00
Christian Richter
07c160f67c
refactor oc runtime server from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
67981d8f9a
refactor version cli command from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
7be33b0607
refactor interims DefaultAppCobra to DefaultApp
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
6d054c527c
migrate trash cli command from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
d89054484d
migrate oc root cli command from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
7c2eb19050
migrate services.go from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00