Alex Ababii
d923bfe1f6
cli: upd check for removing empty dir
2026-09-01 10:03:34 +02:00
Alex Ababii
c742ff6798
fix for trash purge empty dirs for posix
2026-09-01 10:03:34 +02:00
Alex Ababii
a2d5ee2bc6
fix revisions purge cli command for posix
2026-09-01 10:03:34 +02:00
Alex Ababii
7aa5b467f6
cli: fix for cleanup call
2026-09-01 10:03:34 +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
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
André Duffeck
cadd02ce29
Extend the posixfs consistency command to fix name attr mismatches
2026-06-19 12:37:40 +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
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
Florian Schade
288e67cc39
chore: replace interface with any
2026-04-23 09:31:11 +02: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
5486216350
fix: cobra viper flags and env
2025-12-19 12:15:48 +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
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