Viktor Scharf
b41d0c1040
fix(ci): stamp version into daily docker images ( #3291 )
...
* fix(ci): stamp version into daily docker images
* fix after review
2026-08-12 12:09:22 +02:00
Pascal Bleser
6663fbeeed
feat(posixfs): #3182 add basepath option in the "posixfs scan" command
...
* add support for specifying a set of resources when running the
posixfs scan command scanning, or a singular file to scan, as opposed
* refactors the resource walking function implemented in
https://github.com/opencloud-eu/opencloud/pull/3220 in order to
reuse it for the posixfs scan command
* implements https://github.com/opencloud-eu/opencloud/issues/3182
* add --halt-on-error flag
* collect errors and fail command when more than one error occured
2026-08-03 20:04:39 +02:00
André Duffeck
b350b355c0
Do not check ignored paths
2026-08-03 16:29:30 +02:00
André Duffeck
97ad525d5b
Infer the indexes path from the config instead of calculating it
2026-08-03 13:24:23 +02:00
André Duffeck
deb3247b99
Move consistency check logic into a checker struct
...
This makes it possible to get rid of the globals without passing
multiple state vars around.
2026-08-03 12:17:19 +02:00
André Duffeck
c6fba8543f
Improve wording
2026-08-03 11:55:14 +02:00
André Duffeck
b125f0681f
Fix typos
2026-08-03 11:03:45 +02:00
André Duffeck
20d16c5275
Allow for providing multiple paths to check
2026-08-03 10:58:53 +02:00
André Duffeck
559b10e90a
Check if the given path is part of the storage
2026-08-03 09:49:10 +02:00
André Duffeck
54cced7c56
Streamline logging in the commands
2026-08-03 08:58:19 +02:00
André Duffeck
3d546693c6
Allow for checking specific spaces and files as well
2026-08-03 08:55:49 +02:00
André Duffeck
40ced9997e
Also check blobsize and checksums (when --fix-checkums is set)
2026-08-03 08:55:10 +02:00
André Duffeck
3bd188122e
Simplify output, remove spinner lib
2026-08-03 08:55:10 +02:00
Andre Duffeck
942cca8eef
Merge pull request #3191 from pbleser-oc/feat/#3182-posixfs-scan-subtree
...
feat(posixfs): #3182 add basepath option in the "posixfs scan" command
2026-07-31 16:39:48 +02:00
Dominik Schmidt
a9f39b85d5
Merge pull request #3140 from opencloud-eu/fix/service-startup-logging
...
fix(runtime): log service startup errors instead of printing them beside the log
2026-07-31 16:37:19 +02:00
Pascal Bleser
433dea41e8
feat(posixfs): #3182 add basepath option in the "posixfs scan" command
...
* add support for specifying a basepath using -p when running the
posixfs scan command, to indicate a directory under which to start
scanning, or a singular file to scan, as opposed to scanning from the
storage root directory as is the default behaviour
* implements https://github.com/opencloud-eu/opencloud/issues/3182
2026-07-31 15:06:50 +02:00
Ralf Haferkamp
e358cb6e6e
fix(posixfs scan): Setup logger for scan command
...
Setup a logger for the FS. The nats kv clients for the caches need one
to be able to log NAT connection issues.
Fixes : #3184
2026-07-29 14:29:19 +02:00
Dominik Schmidt
00dd4f1b7f
fix(runtime): log service startup errors instead of printing them beside the log
2026-07-15 18:32:04 +02:00
André Duffeck
cadd02ce29
Extend the posixfs consistency command to fix name attr mismatches
2026-06-19 12:37:40 +02:00
Ralf Haferkamp
dbc8a21085
Bump alpine base image
...
Also adjusts the build image to use the opencloudeu/golang image. So
we're in sync with how the binaries are built in CI. It already contains
all the required dependencies.
2026-06-17 15:42:47 +02:00
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 and Jörn Dreyer
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: https://github.com/davidbyttow/govips/commit/dd8aed88c0d8a8963b1513f410657b5777df0fed
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