Commit Graph

286 Commits

Author SHA1 Message Date
Ralf Haferkamp
ada93a95b7 Add workaround for missing RoleIDs in Token
This we use reva to mint tokes for users when using the CS3 backend
(https://github.com/owncloud/ocis/pull/2528) the user's roles are no
longer part of the token.

This adds a workaround to the RequireSelfOrAdmin middleware to Request
the user's role id on demand from the settings service.

Partial Fix for #2646
2022-02-02 18:58:43 +01:00
Willy Kloucek
5b534f69f1 incorporate review changes 2022-02-01 10:35:02 +01:00
Willy Kloucek
03bff0c8d6 change the default log level to error 2022-02-01 10:04:07 +01:00
Juan Pablo Villafáñez
7d8e334537 Revert v1 to v0 2022-01-31 12:17:56 +01:00
Juan Pablo Villafáñez
b62c9044af Restore mock files and adjust failing tests 2022-01-31 09:35:40 +01:00
Juan Pablo Villafáñez
7557e4e0ea Migrate proto files for settings and adjusts paths 2022-01-31 09:35:39 +01:00
Willy Kloucek
1c1f8dab24 make default client respect the registry settings 2022-01-26 15:36:23 +01:00
Willy Kloucek
6ef6d1117c fix condition for nil pointer in common config 2022-01-13 08:13:14 +01:00
Willy Kloucek
182712b223 fix tracing config 2022-01-13 08:13:14 +01:00
Willy Kloucek
b9f2b6b91e move config parsing in separate package for each service 2022-01-07 16:12:01 +00:00
Willy Kloucek
23e7a8ffab simplify commands and version handling 2022-01-07 16:11:50 +00:00
Willy Kloucek
5b70d46213 remove build flags, add debug server to accounts 2022-01-07 16:08:14 +00:00
Willy Kloucek
6a03c4acba improve envdecode error handling 2022-01-07 16:08:14 +00:00
Willy Kloucek
e89071200f satisfy linters 2022-01-07 16:08:14 +00:00
Willy Kloucek
5034e399bb maintain envdecode inside ocis-pkg 2022-01-07 16:08:14 +00:00
Willy Kloucek
21ed07d90b migrate ocis-pkg to envdecode 2022-01-07 16:08:14 +00:00
Willy Kloucek
41403d7952 fix some TODOs 2022-01-07 16:07:34 +00:00
Willy Kloucek
61ff46b29c fix unit tests 2022-01-07 16:07:01 +00:00
Willy Kloucek
3c3fc2e098 revert storage, remove tracing.service and bring back common 2022-01-07 16:06:56 +00:00
Willy Kloucek
a13df3dcf7 split **/pkg/config/config.go up to multiple files 2022-01-07 16:04:52 +00:00
Willy Kloucek
6990e7d660 switch all other services to struct tag based env config 2022-01-07 15:47:47 +00:00
Willy Kloucek
d2befd9257 switch accounts to struct tag based env config 2022-01-07 15:39:01 +00:00
Jörn Friedrich Dreyer
a3702f722d fix metadata for spaces registry
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-12-07 14:48:56 +00:00
Jörn Friedrich Dreyer
5ec72daaeb adapt metadata storage to make use the spaces datatx
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-12-07 12:43:34 +00:00
Jörn Friedrich Dreyer
b63b322b6f drop /meta mount prefix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-12-07 12:21:14 +00:00
Willy Kloucek
81408a3568 move up and download to a separate package 2021-12-06 12:01:16 +01:00
Willy Kloucek
122822a87e refactor auth 2021-12-06 12:01:16 +01:00
Willy Kloucek
c37800eb72 fix user creation 2021-12-06 12:01:16 +01:00
Willy Kloucek
19a51a4402 fix not found error 2021-12-06 12:01:16 +01:00
David Christofas
08641a8e45 fix download helper for accounts service and indexer 2021-12-06 12:01:15 +01:00
Willy Kloucek
3fd070061d WIP: make the accounts service use the upload workflow 2021-12-06 12:01:15 +01:00
Willy Kloucek
bc57d13489 Merge pull request #2815 from owncloud/embed-generate-improvements
go embed / generate improvements
2021-11-24 15:09:17 +01:00
Willy Kloucek
62ff1f1659 don't run go generate anymore 2021-11-24 13:38:29 +01:00
A.Unger
02b5a9d223 deleted http, grpc and debug from ocis-pkg/config/config.go 2021-11-24 11:44:32 +01:00
A.Unger
70da20a777 Merge branch 'master' into try-gookikt-config 2021-11-19 16:27:49 +01:00
Willy Kloucek
32ffbe3ac6 adapt changed function signatures 2021-11-19 13:22:47 +01:00
A.Unger
24347180fa use ocisConfig as struct tagname to bind config files to strucg attributes 2021-11-19 09:28:23 +01:00
A.Unger
c22d3fc24d prevent gookit/config to merge proxy values with default values 2021-11-18 11:44:08 +01:00
A.Unger
ff611633f5 Revert "fixed code smells: string literal repetition + cyclomatic complexity"
This reverts commit aa4112e2e2.
2021-11-17 13:19:31 +01:00
A.Unger
aa4112e2e2 fixed code smells: string literal repetition + cyclomatic complexity 2021-11-17 12:25:21 +01:00
A.Unger
2aa9c2457e Merge branch 'master' into try-gookikt-config 2021-11-16 13:29:07 +01:00
Willy Kloucek
4747e8b79a disable install scripts and fix duplicate targets 2021-11-16 10:19:38 +01:00
Willy Kloucek
74e7344221 prevent multiple yarn builds of accounts and settings when running make ci-node-generate int the repo root 2021-11-16 10:01:12 +01:00
A.Unger
cfbe37de61 WIP - replace flags in storage commands 2021-11-15 16:58:22 +01:00
A.Unger
aa67106e04 sane common configurations 2021-11-11 12:51:57 +01:00
Willy Kloucek
16bb92f89c fix hello deployment 2021-11-09 15:22:26 +01:00
A.Unger
ee03185b22 add support for json driver 2021-11-09 14:19:28 +01:00
A.Unger
c335c4dc29 config dump endpoint for proxy 2021-11-09 14:14:31 +01:00
A.Unger
2c49ee6ab9 first doc draft + glauth logging small refactor 2021-11-09 00:50:27 +01:00
A.Unger
e7f9fb3bcb refactor NewLogger away to ocis-pkg 2021-11-08 19:38:40 +01:00