Compare commits

..
5300 Commits
Author SHA1 Message Date
Michael Barz 1ca18f4cd2 prepare release 1.3.0
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2021-03-09 16:27:44 +01:00
Pascal Wengerter 98709a8dfc Automated changelog update [skip ci] 2021-03-09 15:17:29 +00:00
Pascal Wengerter ebd863e73e Merge pull request #1776 from owncloud/update-web-2.0.2
Update web version to 2.0.2
2021-03-09 15:17:00 +00:00
Pascal Wengerter 255b872b30 Update web release docs && re-run CI 2021-03-09 13:55:10 +00:00
Pascal Wengerter dc5496e16c Update web version to 2.0.2 2021-03-09 13:54:38 +00:00
Phil Davis e0eff6ee41 Merge pull request #1760 from owncloud/bumpCommitId
[Tests-only] bump web and core commit id
2021-03-09 19:02:27 +05:45
Swikriti Tripathi c939d6042b bump web and core commit id and adjust expected to fail file 2021-03-09 18:02:11 +05:45
Phil Davis 253e180355 Merge pull request #1781 from owncloud/fix_ci_docs
[docs-only] fix ci docs
2021-03-09 17:42:53 +05:45
Willy Kloucek 84888ebce1 fix ci docs 2021-03-09 11:27:21 +01:00
David Christofas 0eda3b882b Merge pull request #1763 from owncloud/accounts-update-npm-deps
update npm dependencies
2021-03-05 14:33:43 +01:00
David Christofas fb6b83a8cc Merge pull request #1765 from owncloud/idp-update-npm-deps
update npm dependencies
2021-03-05 14:33:36 +01:00
David Christofas 9da10fc14e Merge pull request #1764 from owncloud/onlyoffice-update-npm-dependencies
update npm dependencies
2021-03-05 08:56:25 +01:00
David Christofas 9c6fbedfd5 update npm dependencies 2021-03-04 21:20:56 +01:00
David Christofas 400cd5e3e5 update npm dependencies 2021-03-04 20:49:13 +01:00
David Christofas 5a434d6deb update npm dependencies 2021-03-04 20:42:44 +01:00
Jörn Friedrich Dreyer f9de747ef3 Merge pull request #1759 from owncloud/update-ocis-index-docs
[docs-only] update ocis index
2021-03-04 11:38:17 +01:00
Jörn Friedrich Dreyer 90e7c53187 Merge pull request #1757 from owncloud/update-development-getting-started
[docs-only] Update development getting-started.md
2021-03-04 11:37:14 +01:00
Jörn Friedrich Dreyer 0bbee16e88 add ldap / glauth, add review
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-04 10:34:19 +00:00
Jörn Friedrich Dreyer 6df001524e Update development getting-started.md
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-04 09:48:14 +00:00
David Christofas ee4073256f Merge pull request #1756 from owncloud/settings-update-npm-dependencies
update npm dependencies
2021-03-03 16:51:58 +01:00
Jörn Friedrich Dreyer bdbeb967c6 update ocis index
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-03 15:34:03 +00:00
David Christofas d007164a53 Automated changelog update [skip ci] 2021-03-03 15:30:53 +00:00
David Christofas 57b337546d Merge pull request #1758 from owncloud/remove-log-secrets
remove JWT from logs
2021-03-03 16:28:45 +01:00
David Christofas c532073dd1 remove JWT from logs
secrets should not be exposed in the logs
2021-03-03 15:30:11 +01:00
David Christofas 12e6eb1395 update npm dependencies 2021-03-03 12:08:39 +01:00
Phil Davis 0719d18586 Merge pull request #1746 from owncloud/bumpCommitIdAPI
[tests-only] Bump commit id for API tests
2021-03-02 14:15:49 +03:00
David Christofas 4943fed2fe Merge pull request #1742 from owncloud/dependabot/go_modules/ocis/go.opencensus.io-0.23.0
Bump go.opencensus.io from 0.22.6 to 0.23.0 in /ocis
2021-03-02 11:46:52 +01:00
dependabot[bot] 0f40e3896b Bump go.opencensus.io from 0.22.6 to 0.23.0 in /ocis
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go) from 0.22.6 to 0.23.0.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases)
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.6...v0.23.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 07:33:18 +00:00
Willy Kloucek 6e17117800 Merge pull request #1714 from owncloud/bingo_and_rework_makefiles
introduce bingo and golangci-lint and rework makefiles
2021-03-02 07:15:56 +01:00
Swikriti Tripathi b841cd7874 Bump API tests commit id 2021-03-02 10:23:32 +05:45
Phil Davis 80e6600275 Merge pull request #1669 from owncloud/bump-web-commit-id-20210217
[tests-only] Bump web commit id
2021-03-01 23:02:30 +03:00
Willy Kloucek 92145eeab9 fix readme 2021-03-01 17:21:25 +01:00
Parajuli Kiran 271d27592f Added ldapjs as dev dependency 2021-03-01 20:33:54 +05:45
Parajuli Kiran e2d8b90ecc Fixed expected failures md 2021-03-01 20:33:53 +05:45
Phil Davis f3d3ef1c3d Bump web commit id 2021-03-01 20:33:51 +05:45
Willy Kloucek 58c3acb525 run "make go-mod-tidy" and "make generate" 2021-03-01 15:33:14 +01:00
Willy Kloucek 1aac5a09d2 cleanup 2021-03-01 15:23:47 +01:00
Willy Kloucek 82f75a2164 switch to golangci-lint 2021-03-01 15:06:11 +01:00
Willy Kloucek 083b39ef17 introduce hot reload for docs 2021-03-01 15:06:00 +01:00
Willy Kloucek 387b2f3272 introduce bingo and rework makefiles 2021-03-01 15:05:48 +01:00
Phil Davis 2cec8d757d Merge pull request #1732 from owncloud/bump-commit-id-20210226
[tests-only] Bump commit id for API tests
2021-02-27 00:16:43 +03:00
Phil Davis 53e64d4b4a Adjust expected-failures 2021-02-27 01:48:19 +05:45
Phil Davis 305b7d7acc Bump API tests commit id for fix to run.sh 2021-02-27 01:48:19 +05:45
Phil Davis 4bc6d1759f Bump commit id for API tests 2021-02-27 01:48:19 +05:45
Artur Neumann 1469afb432 Automated changelog update [skip ci] 2021-02-26 16:53:31 +00:00
Artur Neumann 3c0730c170 Merge pull request #1734 from owncloud/delay-accounts-execution
Delay accounts service startup
2021-02-26 22:37:27 +05:45
Jörn Friedrich Dreyer a2e1e9f28e Merge pull request #1735 from owncloud/proxy-resolve-linter
resolve linter issues
2021-02-26 16:38:38 +01:00
David Christofas cfcd4b5992 resolve linter issues 2021-02-26 14:24:25 +01:00
Phil Davis 4ec4dd5f77 Merge pull request #1722 from owncloud/onlyoffice-resolve-linter
resolve linter issues
2021-02-26 12:57:54 +03:00
A.Unger c71fbf297a add changelog 2021-02-26 10:29:59 +01:00
A.Unger d6b2973697 delay accounts service startup 2021-02-26 10:25:18 +01:00
David Christofas 1f5f99996b resolve linter issues 2021-02-26 09:20:28 +01:00
Phil Davis 690399008d Merge pull request #1723 from owncloud/ocs-resolve-linter
resolve linter issues
2021-02-26 07:37:32 +03:00
Phil Davis 75116a3f12 Merge pull request #1720 from owncloud/storage-resolve-linter
resolve linter issues
2021-02-26 07:37:14 +03:00
David Christofas dfbc6759da resolve linter issues 2021-02-26 09:14:27 +05:45
David Christofas bb9c3db982 resolve linter issues 2021-02-26 09:13:50 +05:45
Jörn Friedrich Dreyer 17711526e5 Merge pull request #1727 from owncloud/ocis-resolve-linter
resolve linter issues
2021-02-25 23:30:18 +01:00
Jörn Friedrich Dreyer ab2fb958a3 Merge pull request #1724 from owncloud/ocis-pkg-resolve-linter
resolve linter issues
2021-02-25 22:17:03 +01:00
Jörn Friedrich Dreyer d33ff007fd Merge pull request #1719 from owncloud/thumbnails-resolve-linter
resolve linter issues
2021-02-25 22:00:34 +01:00
Jörn Friedrich Dreyer 696fdecf42 Merge pull request #1721 from owncloud/proxy-resolve-linter
resolve linter issues
2021-02-25 21:59:56 +01:00
Jörn Friedrich Dreyer 071cb6a78a Merge pull request #1717 from owncloud/webdav-resolve-linter
resolve linter issues
2021-02-25 21:59:36 +01:00
Jörn Friedrich Dreyer 0c7874630b Automated changelog update [skip ci] 2021-02-25 19:52:31 +00:00
Jörn Friedrich Dreyer 00659b6323 Merge pull request #1716 from owncloud/add-missing-gatewaysvc-config
add missing gatewaysvc config
2021-02-25 20:50:50 +01:00
Jörn Friedrich Dreyer a7b2f4df2a Merge pull request #1726 from owncloud/graph-linter
Graph linter
2021-02-25 17:55:37 +01:00
Jörn Friedrich Dreyer b01a549579 Merge pull request #1718 from owncloud/web-resolve-linter
resolve linter issues
2021-02-25 17:19:35 +01:00
Jörn Friedrich Dreyer a8660e27ed Merge pull request #1725 from owncloud/idp-resolve-linter
resolve linter issues
2021-02-25 17:18:30 +01:00
David Christofas ad4da605d7 Merge pull request #1681 from owncloud/onlyoffice-update-npm-dependencies
update npm dependencies
2021-02-25 16:30:20 +01:00
David Christofas 3f30ea134b resolve linter issues 2021-02-25 15:53:46 +01:00
David Christofas 902977cb60 resolve linter issues 2021-02-25 14:53:56 +01:00
David Christofas ee161b2359 resolve linter issues 2021-02-25 14:45:19 +01:00
David Christofas eda3997211 resolve linter issues 2021-02-25 14:37:05 +01:00
David Christofas 0802e8aac3 Merge pull request #1711 from owncloud/accounts-linter
resolve linter issues
2021-02-25 14:00:44 +01:00
David Christofas 0fd7580301 resolve linter issues 2021-02-25 10:48:40 +01:00
David Christofas c861d27aae resolve linter issues 2021-02-25 10:30:28 +01:00
Jörn Friedrich Dreyer 52f13fe778 Merge pull request #1712 from owncloud/glauth-linter
resolve linter issues
2021-02-25 09:43:40 +01:00
Jörn Friedrich Dreyer 9bb88c848e Merge pull request #1713 from owncloud/graph-explorer-linter
resolve linter issues
2021-02-25 09:42:48 +01:00
Jörn Friedrich Dreyer 059bec1a7a add missing gatewaysvc config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-25 08:41:19 +00:00
David Christofas a22b7d6844 resolve linter issues 2021-02-24 16:24:36 +01:00
David Christofas 20dbf299d0 resolve linter issues 2021-02-24 16:06:24 +01:00
David Christofas c8fa6af54b update npm dependencies 2021-02-24 15:04:01 +01:00
David Christofas cc417c6ee8 resolve linter issues 2021-02-24 14:48:22 +01:00
Alex Unger b8ac8f1ddd Automated changelog update [skip ci] 2021-02-24 13:16:27 +00:00
Alex Unger 71ec5b2106 Merge pull request #1696 from owncloud/initialization-responsibility 2021-02-24 14:10:57 +01:00
David Christofas 878e465c52 resolve linter issues 2021-02-24 14:04:05 +01:00
David Christofas 226ffbb3f3 resolve linter issues 2021-02-24 11:35:09 +01:00
A.Unger 7b4ed397b3 add circuit breakers to the changelog 2021-02-24 09:56:45 +01:00
David Christofas 3328f9acb7 Merge pull request #1707 from owncloud/dependabot/go_modules/ocis/github.com/olekukonko/tablewriter-0.0.5
Bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5 in /ocis
2021-02-24 09:36:26 +01:00
Phil Davis 4a107673ad Merge pull request #1709 from owncloud/docsRefactor
[docs-only] Expected-failures files changed to .md from .txt in documentation
2021-02-24 11:07:34 +03:00
Swikriti Tripathi 1ecf95b896 expected-failures files changed to .md from .txt in documentation 2021-02-24 13:34:01 +05:45
A.Unger 9cb417bf6c Merge branch 'master' into initialization-responsibility 2021-02-23 16:52:36 +01:00
dependabot[bot] 80214cb2c7 Bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5 in /ocis
Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/olekukonko/tablewriter/releases)
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.4...v0.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 15:52:22 +00:00
David Christofas 9d5c82f61f Merge pull request #1706 from owncloud/dependabot/go_modules/ocis/github.com/spf13/cobra-1.1.3
Bump github.com/spf13/cobra from 1.0.0 to 1.1.3 in /ocis
2021-02-23 16:40:51 +01:00
A.Unger 8596afcfee bring back dependants 2021-02-23 15:50:29 +01:00
dependabot[bot] 262632e0ae Bump github.com/spf13/cobra from 1.0.0 to 1.1.3 in /ocis
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.0.0 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 14:29:18 +00:00
A.Unger 71d63a69e6 update dependencies 2021-02-23 14:58:09 +01:00
A.Unger 89fc088239 Merge branch 'master' into initialization-responsibility 2021-02-23 14:56:36 +01:00
Willy Kloucek b6dac5e36c Merge pull request #1704 from owncloud/native_hugo_serve
[docs-only] Native hugo serve
2021-02-23 14:42:20 +01:00
Jörn Friedrich Dreyer f3468e1070 Merge pull request #1701 from owncloud/missing-dependencies
fix missing registry dependencies
2021-02-23 14:29:38 +01:00
David Christofas deb7417145 Automated changelog update [skip ci] 2021-02-23 13:27:19 +00:00
David Christofas 1ed27939cc Merge pull request #1684 from owncloud/update-reva
update reva to v1.6.1-0.20210218130854-a954e7242e7a
2021-02-23 14:26:42 +01:00
A.Unger 9342b5abbd go around circuit breaker 2021-02-23 14:25:16 +01:00
A.Unger 9a507a4450 add readme 2021-02-23 13:41:51 +01:00
A.Unger 78eabd2437 rework settings tests 2021-02-23 13:35:57 +01:00
A.Unger a361c12e2a defensive code around accounts init 2021-02-23 12:45:21 +01:00
Willy Kloucek 6d397c79f5 only generate config 2021-02-23 12:38:18 +01:00
Willy Kloucek 19cfa326fd add native hugo serve target 2021-02-23 12:28:03 +01:00
A.Unger 7609b11dc1 fix empty branch 2021-02-23 12:04:44 +01:00
A.Unger 97271d51bc add circuit breakers 2021-02-23 11:56:03 +01:00
David Christofas 3a46bd2f94 update reva to v1.6.1-0.20210223065028-53f39499762e
Update reva and also set a replace for github.com/oleiade/reflections.
The replace should resolve the dependabot issue. See oleiade/reflections#14. Once https://github.com/ory/fosite has updated to reflections 1.0.1 or higher we can remove the replace.
2021-02-23 11:36:07 +01:00
A.Unger f280e98897 no race condition 2021-02-23 11:16:55 +01:00
A.Unger 5d98dbac4a Merge branch 'master' into initialization-responsibility 2021-02-23 10:40:22 +01:00
Jörn Friedrich Dreyer 368d32becb run make go-mod-tidy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-23 09:16:58 +00:00
Jörn Friedrich Dreyer 52ebb7c611 Merge pull request #1700 from owncloud/preallocate-slices
pre allocate slices
2021-02-23 09:55:52 +01:00
Florian Schade 377eecc66e add missing dependencies 2021-02-23 03:43:17 +01:00
Jörn Friedrich Dreyer cf531154fb Automated changelog update [skip ci] 2021-02-22 19:37:04 +00:00
Jörn Friedrich Dreyer 4fffec0749 Merge pull request #1699 from owncloud/fix-token-ttl
fix token cache TTL
2021-02-22 20:36:05 +01:00
Jörn Friedrich Dreyer bbb94c40da Merge pull request #1697 from owncloud/use-registry-interface
Use registry interface value
2021-02-22 20:35:23 +01:00
David Christofas 1088faf95d pre allocate slices
Pre allocating slices with a target size reduces the number of allocations because we already know how big the slice will be and therefore need to allocate only once
2021-02-22 19:41:48 +01:00
David Christofas 7ad38d7757 fix token cache TTL
The TTL was supplied to the middleware as a duration and then in that middleware multiplied by `time.Second` again. Durations should not be multiplied because they result in unintended values.
```go
	time.Second * 1 = 1s
	time.Second * time.Second = 277777h46m40s
```
2021-02-22 18:40:15 +01:00
David Christofas 24cb9dcf70 Merge pull request #1698 from owncloud/settings-fix-dependencies
downgrade rollup-plugin-vue to 5.1.9
2021-02-22 18:22:19 +01:00
Jörn Friedrich Dreyer e535975718 Merge pull request #1693 from owncloud/fix_keycloak_example_sharing
[docs-only] fix sharing in Keycloak deployment example
2021-02-22 17:40:36 +01:00
David Christofas 22ed643be8 downgrade rollup-plugin-vue to 5.1.9
The rollup-plugin-vue in version 6.0.0 was breaking the build of the settings ui.
2021-02-22 17:13:08 +01:00
Artur Neumann b4713a4b49 Merge pull request #1695 from owncloud/updateIssueLinks
[tests-only] update issue links in gRPC tests
2021-02-22 21:41:51 +05:45
Jörn Friedrich Dreyer deb20ffa90 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 15:26:36 +00:00
Jörn Friedrich Dreyer fd703ec740 add initial nats and kubernetes registry support
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 15:20:22 +00:00
Jörn Friedrich Dreyer 8a8aa2dc52 use micre v3 registry interface
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 15:08:50 +00:00
Jörn Friedrich Dreyer f89128a2d9 use registry interface
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 13:42:00 +00:00
A.Unger 2004942a3a shift role initialization from accounts to settings 2021-02-22 12:19:50 +01:00
Artur Neumann 26d7842cfe update issue links in gRPC tests 2021-02-22 16:58:28 +05:45
Willy Kloucek cae068fe73 fix sharing in keycloak deployment example 2021-02-22 11:30:20 +01:00
Jörn Friedrich Dreyer f15c40d52e Automated changelog update [skip ci] 2021-02-22 09:21:48 +00:00
Jörn Friedrich Dreyer aea505805c Merge pull request #1670 from owncloud/update-go-micro-v3
Update go micro v3
2021-02-22 10:20:34 +01:00
Artur Neumann 64dd0baa02 Merge pull request #1689 from owncloud/bump-core-commit-id-20210221
[tests-only] Bump core commit for tests
2021-02-22 09:21:27 +05:45
Phil Davis f75d2c1b32 Bump core commit for tests 2021-02-22 04:05:52 +05:45
Phil Davis 14fdbb9788 Merge pull request #1687 from owncloud/dirkstascheit-patch-1
[docs-only] Update getting-started.md
2021-02-19 15:47:02 +03:00
Dirk Stascheit 2575c29051 Update getting-started.md
updated the tech preview version from 1.1 to 1.2
2021-02-19 18:28:54 +05:45
Phil Davis d9894560d7 Merge pull request #1682 from owncloud/bump-core-commit-id-20210219
[tests-only] Bump core commit id for tests
2021-02-19 15:24:56 +03:00
Phil Davis c9515ecb35 Bump core commit id for tests 2021-02-19 17:01:42 +05:45
Benedikt Kulmann 6fad231246 Automated changelog update [skip ci] 2021-02-19 10:51:49 +00:00
Benedikt Kulmann 3bb76bfad6 Merge pull request #1683 from owncloud/update-web-2.0.1
Update web to 2.0.1
2021-02-19 11:51:14 +01:00
Benedikt Kulmann 6374fb4568 Update web to 2.0.1 2021-02-19 09:57:56 +01:00
Phil Davis 1762458e4d Merge pull request #1642 from EParzefall/patch-1
[docs-only] Update _index.md
2021-02-19 06:02:25 +03:00
EParzefall 0bc9f71353 Update _index.md
Just some minor punctuation and language fixes.
2021-02-19 08:42:06 +05:45
Jörn Friedrich Dreyer 89b06defa5 use ocis grpc client for thumbnails
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 21:26:36 +00:00
Jörn Friedrich Dreyer ec882bc22e Merge pull request #1680 from ishank011/separate-user-group-schema
Separate LDAP schemas for users and groups
2021-02-18 21:23:21 +01:00
Jörn Friedrich Dreyer d4585933ac reuse the default client
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 13:07:04 +00:00
A.Unger 7736d26e0c update readme 2021-02-18 12:51:31 +01:00
Ishank Arora f11d8a2718 Separate LDAP schemas for users and groups 2021-02-18 12:46:30 +01:00
A.Unger 1daad022c3 set MICRO_LOG_LEVEL to error if not defined 2021-02-18 12:45:44 +01:00
Phil Davis 74c883b85b Merge pull request #1679 from owncloud/add_breaking_changes_changelog
[docs-only] add breaking changes and migration
2021-02-18 14:35:37 +03:00
Jörn Friedrich Dreyer d9f4a4c524 always pass in a client
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 10:58:56 +00:00
Willy Kloucek 977f590954 add breaking changes and migration 2021-02-18 11:07:23 +01:00
Jörn Friedrich Dreyer 11ed5e49d8 same order of options in grpc and http service
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 10:00:16 +00:00
Jörn Friedrich Dreyer 13f6defb7a use upstream prometheus logger
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 09:10:00 +00:00
Jörn Friedrich Dreyer 8d3562dc62 add missing files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:59:35 +00:00
David Christofas ebc51c6dff Merge pull request #1674 from owncloud/settings-update-npm-dependencies
update npm dependencies
2021-02-18 09:56:25 +01:00
Patrick Maier 14feb0f4a6 Merge pull request #1676 from owncloud/rn_correction
[docs-only] Correct WCAG version in 1.2.0 release notes
2021-02-18 09:44:04 +01:00
Patrick Maier cb45a4bb37 [docs-only] Correct WCAG version in 1.2.0 release notes 2021-02-18 09:40:41 +01:00
Jörn Friedrich Dreyer 2ece67fd0b changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:28:21 +00:00
Jörn Friedrich Dreyer c2939551e5 rebase and tidy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:17:57 +00:00
Jörn Friedrich Dreyer 34a9fb2dc8 remove unneeded getTranstport
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:03:22 +00:00
Jörn Friedrich Dreyer 63416c3cac update proto-gen-micro, regenerate protobuf, mod tidy all
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:03:22 +00:00
Jörn Friedrich Dreyer 57aec02410 tidy everything
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:03:22 +00:00
Jörn Friedrich Dreyer 588ac4a2a6 get rid of http server option.Hander
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:01:53 +00:00
Jörn Friedrich Dreyer 603dad3533 bring back etcd registry
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:01:53 +00:00
A.Unger b89deea796 remove redundant transport 2021-02-18 08:01:53 +00:00
A.Unger 448bdde79c use http replace 2021-02-18 08:01:53 +00:00
A.Unger 072d0704df wip 2021-02-18 08:01:53 +00:00
A.Unger 7e505fbd9f remove any micro v2 occurences from the project 2021-02-18 08:01:53 +00:00
A.Unger 54c4331479 update web to use go-micro v3 2021-02-18 08:01:53 +00:00
A.Unger 6644f5b679 update thumbnails to use go-micro v3 2021-02-18 08:01:53 +00:00
A.Unger d19cc340ea update settings to use go-micro v3 2021-02-18 08:01:53 +00:00
A.Unger b4115bbee4 update settings to use go-micro v3 2021-02-18 08:01:53 +00:00
A.Unger a1d5e34f41 update proxy to use go-micro v3 2021-02-18 08:01:53 +00:00
A.Unger 75c3b7d81b update store to use go-micro v3 2021-02-18 08:01:53 +00:00
A.Unger b167dc8b21 update ocs + store to use go-micro v3 2021-02-18 08:01:53 +00:00
A.Unger f851b91489 update idp to use go-micro v3 2021-02-18 08:01:52 +00:00
A.Unger 656d034dd3 update graph-explorer to use go-micro v3 2021-02-18 08:01:52 +00:00
A.Unger 9b9f4703af update graph to use go-micro v3 2021-02-18 08:01:52 +00:00
A.Unger af33d62a9a update glauth to use go-micro v3 2021-02-18 08:00:02 +00:00
A.Unger 005f47d436 update accounts, settings, storage-metadata and ocis-pkg to use asim go-micro v3 2021-02-18 08:00:02 +00:00
Jörn Friedrich Dreyer 83851ca2bb return micro.Service()
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:00:02 +00:00
A.Unger 88f670b45c initial commit 2021-02-18 08:00:02 +00:00
Phil Davis 530ee622db Merge pull request #1673 from owncloud/graph-update-reva
update reva
2021-02-18 03:03:33 +03:00
David Christofas 8560368f47 update npm dependencies 2021-02-17 23:35:43 +01:00
Michael Barz 4e130ac406 Automated changelog update [skip ci] 2021-02-17 21:47:45 +00:00
Michael Barz 8b1571aa26 Merge pull request #1672 from owncloud/release-1.2.0
Merge back 1.2.0 Release
2021-02-17 22:43:19 +01:00
David Christofas 5e76dfdecd update reva 2021-02-17 22:31:41 +01:00
Michael Barz d7fedc7046 Merge pull request #1671 from owncloud/1.2.0_release_notes
[docs-only] 1.2.0 Release Notes
2021-02-17 18:38:57 +01:00
Patrick Maier a5e55ef5e6 [docs-only] 1.2.0 Release Notes 2021-02-17 18:27:48 +01:00
Michael Barz dc9cf9e8f1 prepare changelog 2021-02-17 11:48:58 +01:00
Benedikt Kulmann d856506738 Automated changelog update [skip ci] 2021-02-17 10:42:30 +00:00
Benedikt Kulmann 22ef448fa4 Merge pull request #1661 from owncloud/web-2.0.0
Update web to 2.0.0
2021-02-17 11:41:57 +01:00
Benedikt Kulmann ca46b1a779 Update generated code 2021-02-17 10:36:54 +01:00
Willy Kloucek b4fe7de242 Automated changelog update [skip ci] 2021-02-17 09:34:59 +00:00
Willy Kloucek 888481a64a Merge pull request #1626 from ishank011/group-provider
storage: add group provider service and sharing SQL driver
2021-02-17 10:34:25 +01:00
Benedikt Kulmann e498ad69f9 Fix syntax for component param 2021-02-17 10:08:37 +01:00
Benedikt Kulmann 84ca589a16 Fix accounts table reference, especially for tests 2021-02-17 09:59:50 +01:00
Florian Schade 47a2ef8797 update accounts ui to use new table-component 2021-02-17 09:59:49 +01:00
Benedikt Kulmann 50d869697b Fix PR link in changelog 2021-02-17 09:59:09 +01:00
Benedikt Kulmann ef109c872f Update web to 2.0.0 2021-02-17 09:59:09 +01:00
Phil Davis f4161385d4 Merge pull request #1663 from owncloud/bump-core-commit-id-20210217am
[tests-only] Bump core commit id
2021-02-17 11:52:02 +03:00
Phil Davis 35eed83326 Bump core commit id 2021-02-17 12:49:24 +05:45
Phil Davis 184216419d Merge pull request #1662 from owncloud/idp-update-npm-deps
update npm dependencies
2021-02-17 03:05:35 +03:00
Phil Davis 87a06b5e39 Merge pull request #1660 from owncloud/accounts-update-npm-deps
update npm dependencies
2021-02-17 03:04:38 +03:00
Willy Kloucek 6ee83baf0b Merge pull request #1580 from owncloud/build_idp_embed_ci
generate all protobuf and embed.go files in CI
2021-02-16 18:38:47 +01:00
Willy Kloucek 67eb5ce63e Merge pull request #1657 from owncloud/continuous_deplyoment_carry_paths
[docs-only] fix certificate issuing limit for continuously deployed examples
2021-02-16 17:27:34 +01:00
Willy Kloucek b0ca23fbd7 pin protoc-gen-go 2021-02-16 17:12:38 +01:00
David Christofas 1618dbfa0b update npm dependencies 2021-02-16 16:26:48 +01:00
David Christofas cf8d8aef92 update npm dependencies 2021-02-16 16:14:40 +01:00
Ishank Arora 07843042a5 Separation of concerns 2021-02-16 16:01:57 +01:00
Ishank Arora bafa6b9c81 Upgrade reva version 2021-02-16 16:01:57 +01:00
Ishank Arora 089325d30e Update expected failures 2021-02-16 16:01:34 +01:00
Ishank Arora 69cc4d83ad Add changelog 2021-02-16 16:01:34 +01:00
root 4813b06ed5 Upgrade reva and CS3APIs versions 2021-02-16 16:00:51 +01:00
Ishank Arora d8ade4a917 storage: add group provider service and sharing SQL driver 2021-02-16 15:55:42 +01:00
Willy Kloucek e7afcd7c49 fix docs 2021-02-16 15:44:07 +01:00
Willy Kloucek ee20ccd474 collapse storage backends and web 2021-02-16 15:44:07 +01:00
Willy Kloucek e401145235 update lockfile 2021-02-16 15:44:07 +01:00
Willy Kloucek 86f27ca766 hook up graph and graph-explorer 2021-02-16 15:44:07 +01:00
Willy Kloucek aed03b5bf5 generate all protobuf and embed.go files in CI 2021-02-16 15:44:06 +01:00
David Christofas 0726156f1b Merge pull request #1658 from owncloud/cleanup-gomod
Cleanup gomod
2021-02-16 15:39:17 +01:00
Willy Kloucek ee596b4faa Merge pull request #1631 from owncloud/keycloak_example_remove_demo_users
[docs-only] keycloak example: remove demo users from accounts
2021-02-16 15:14:32 +01:00
David Christofas 9d1341d1eb update ocis dependencies 2021-02-16 14:32:46 +01:00
David Christofas ee34fc5c89 fix imports of graph and graph-explorer 2021-02-16 14:32:41 +01:00
David Christofas 9e5858ccab fix ocis dependencies in graph 2021-02-16 14:32:35 +01:00
David Christofas 8aa06cc3f9 fix ocis dependencies in graph-explorer 2021-02-16 14:32:25 +01:00
Willy Kloucek 826c70b3d2 introduce carry paths for continuous deployments 2021-02-16 14:13:13 +01:00
David Christofas dc73176dc6 Automated changelog update [skip ci] 2021-02-16 09:44:51 +00:00
David Christofas 0d3d0bebf3 Merge pull request #1594 from owncloud/ocis-1643-migrate-ocis-graph
Add ocis-graph
2021-02-16 10:43:43 +01:00
David Christofas d1183fb2a2 add flaex template to graph-explorer 2021-02-15 18:33:10 +01:00
David Christofas 4147434a33 add flaex template 2021-02-15 18:29:28 +01:00
David Christofas 8395d55fc5 fix makefile
The makefile was missing the assets step before generate. Re-added the assets step which downloads the graph-explorer lib
2021-02-15 17:58:53 +01:00
Benedikt Kulmann 7af5b8249c Add graph and graph-explorer pipelines to drone config 2021-02-15 11:22:28 +01:00
Benedikt Kulmann 3f362283d0 Move docs to top level folder 2021-02-15 11:08:25 +01:00
Benedikt Kulmann 6d7e9c8851 Merge remote-tracking branch 'origin/master' into ocis-1643-migrate-ocis-graph 2021-02-15 10:24:19 +01:00
Artur Neumann 8026bcb691 Merge pull request #1641 from owncloud/bump-core-commikt-id-20210213
[tests-only] Bump commit id for core API tests
2021-02-14 07:01:16 +05:45
Phil Davis 536ae99fe8 Merge pull request #1643 from EParzefall/patch-2
Update _index.md
2021-02-14 00:51:38 +03:00
EParzefall 7303704f36 Update _index.md
grammar fixed.
2021-02-13 14:48:01 +01:00
Phil Davis e78ebe4c05 Bump commit id for core API tests 2021-02-13 14:38:55 +05:45
Phil Davis 1348b07958 Merge pull request #1638 from owncloud/cleanup-gomod
clean up go dependencies
2021-02-13 06:16:20 +03:00
David Christofas 10d4bad26d clean up go dependencies 2021-02-12 16:38:34 +01:00
Ilja NeumannandDavid Christofas 0c6c18f818 Update reva to master@0c10b333ee69
Co-authored-by: David Christofas <dchristofas@owncloud.com>
2021-02-12 16:14:03 +01:00
Jörn Friedrich Dreyer a19708e067 Merge pull request #1632 from owncloud/update-npm-deps
update npm dependencies
2021-02-12 15:06:30 +01:00
Jörn Friedrich Dreyer 9c34677889 Automated changelog update [skip ci] 2021-02-12 14:06:20 +00:00
Jörn Friedrich Dreyer 7317c35387 Merge pull request #1636 from owncloud/remove_ocis_config_file_option
remove ocis config file option
2021-02-12 15:05:33 +01:00
Jörn Friedrich Dreyer 959225e2bf Merge pull request #1630 from owncloud/update-architecture-overview
update architecture overview docs
2021-02-12 15:03:49 +01:00
David Christofas dd26937d69 Automated changelog update [skip ci] 2021-02-12 13:31:04 +00:00
David Christofas eefd6a517f Merge pull request #1628 from owncloud/thumbnail-refactor
quickfix for thumbnail generation when using different idp
2021-02-12 14:30:06 +01:00
Willy Kloucek 29eda7f644 add changelog 2021-02-12 12:21:56 +01:00
Willy Kloucek 6c7934ee80 remove ocis config file option 2021-02-12 12:13:53 +01:00
Willy Kloucek 33d004a92e use wait also for ocis_traefik 2021-02-12 10:28:01 +01:00
Willy Kloucek c88e544281 do not restart ocis after removing users, since they then will be readded 2021-02-12 10:21:32 +01:00
David Christofas 1544dffabd update npm dependencies 2021-02-12 00:18:31 +01:00
Jörn Friedrich Dreyer 67f9f1f2db Automated changelog update [skip ci] 2021-02-11 19:35:29 +00:00
Jörn Friedrich Dreyer 3f8245e042 Merge pull request #1596 from owncloud/ocis-1644-migrate-ocis-graph-explorer
Add ocis-graph-explorer
2021-02-11 20:27:49 +01:00
Jörn Friedrich Dreyer 6d598af782 update architecture overview docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-11 16:00:32 +00:00
Willy Kloucek 249af958ff remove demo users from accounts 2021-02-11 16:54:01 +01:00
David Christofas 8c9a1712fb delete unnecessary protobuf tests 2021-02-11 16:43:01 +01:00
David Christofas d7604d8608 update thumbnail tests to quickfix 2021-02-11 16:24:02 +01:00
David Christofas 9027864b68 quickfix for thumbnail generation when using different idp 2021-02-11 15:53:33 +01:00
Willy Kloucek dea1fa87a9 Merge pull request #1614 from owncloud/change_secrets_upon_deploy
change default secrets on deploy
2021-02-11 11:49:23 +01:00
Willy Kloucek 9bfe930978 add feedback from review 2021-02-11 10:53:07 +01:00
Willy Kloucek 9c648f93cc add review feedback 2021-02-11 10:24:01 +01:00
Klaas Freitag b8e18a8aa3 Automated changelog update [skip ci] 2021-02-10 17:06:59 +00:00
Klaas Freitag 6ef57945f7 Merge pull request #1042 from owncloud/introduce-adr
Introduce ADR
2021-02-10 18:05:51 +01:00
Willy Kloucek f2e90149ae add docs 2021-02-10 16:31:26 +01:00
Willy Kloucek 2efbb13e66 change secrets on deploy 2021-02-10 14:20:38 +01:00
Jörn Friedrich DreyerandBenedikt Kulmann 1ddfb7c6c5 Apply suggestions from code review
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2021-02-10 13:12:50 +01:00
Phil Davis 182f8953d7 Merge pull request #1610 from owncloud/update_traefik
[docs-only] bump traefik version
2021-02-10 10:30:01 +03:00
Phil Davis d0244d6c74 Merge pull request #1592 from owncloud/href-url-encoding
[Tests-Only] Bump core commit id for API tests
2021-02-10 10:28:50 +03:00
swoichha ecc0a4d5fd added failing tests to expected failure file 2021-02-10 12:01:05 +05:45
Jörn Friedrich Dreyer e864db8a2f incorporate feedback
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-09 21:44:22 +00:00
swoichha 344ab4a821 bump core commit id 2021-02-09 08:58:41 +05:45
swoichha 43e257f05d [Tests-Only]remove tests from expected failure file 2021-02-09 08:56:01 +05:45
Willy Kloucek 77f2f4f0ba bump traefik version 2021-02-08 14:26:49 +01:00
Willy Kloucek c32dd3d362 Merge pull request #1209 from owncloud/work_on_basic_remote_setup
[docs-only] work on basic remote setup scenario
2021-02-08 08:45:22 +01:00
Willy Kloucek cf4f84708a include feedback from PR 2021-02-08 08:41:53 +01:00
Willy Kloucek cabe57e74b Merge pull request #1600 from owncloud/fix_ci_after_PR_1381
fix CI: push images to Dockerhub fails since PR 1381
2021-02-05 13:35:20 +01:00
Willy Kloucek 249e98bee5 fix ci after PR 1381 2021-02-05 12:42:12 +01:00
Willy Kloucek d7215deb89 Merge pull request #1598 from owncloud/fix_idp_logo
fix idp logo
2021-02-05 11:39:33 +01:00
Willy Kloucek 79c2907c40 fix idp logo 2021-02-05 10:22:03 +01:00
A.Unger cf3779bb73 fix changelog PR 2021-02-04 12:27:10 +01:00
A.Unger 5700585b33 leftover rename 2021-02-04 12:24:11 +01:00
A.Unger 68957acc0d renames 2021-02-04 12:23:11 +01:00
A.Unger 6cfbec91e2 Add 'ocis-graph-explorer/' from commit '85a7df32eafb7b6c76f81155cbda054233d8b5a7'
git-subtree-dir: ocis-graph-explorer
git-subtree-mainline: 8146241777
git-subtree-split: 85a7df32ea
2021-02-04 12:06:48 +01:00
A.Unger c0651479f4 fix makefiles 2021-02-04 12:04:40 +01:00
A.Unger 937a07f2c6 add changelog 2021-02-04 11:58:50 +01:00
A.Unger a7c9414be9 adjustments around dependencies and runtime 2021-02-04 11:54:27 +01:00
A.Unger f55a8092cb adjust imports 2021-02-04 11:46:32 +01:00
A.Unger 13dbfc6e6c update deps 2021-02-04 11:38:26 +01:00
A.Unger c981f513c8 Add 'ocis-graph/' from commit 'f1efaddc27c74c9de4509cd864fc673ffdf52e19'
git-subtree-dir: ocis-graph
git-subtree-mainline: 8146241777
git-subtree-split: f1efaddc27
2021-02-04 11:31:18 +01:00
Willy Kloucek 8146241777 Merge pull request #1591 from owncloud/fix_continuous_deployment_docs
[docs-only] fix continuous deployment docs
2021-02-03 10:19:00 +01:00
Willy Kloucek 6e0efcbe04 fix continuous deployment docs 2021-02-03 09:02:17 +01:00
Willy Kloucek f9c48e1f98 Automated changelog update [skip ci] 2021-02-02 13:55:03 +00:00
Willy Kloucek 77533a94a3 Merge pull request #1381 from owncloud/switch_to_opencontainer_annotation
switch to opencontainers annotation for docker images
2021-02-02 14:54:33 +01:00
Willy Kloucek 8e22270608 rework basic remot setup 2021-02-02 14:45:39 +01:00
Phil Davis df43388e88 Merge pull request #1582 from owncloud/docs_and_fix_cd
[docs-only] document and fix continuous deployment
2021-02-02 18:05:53 +05:45
Phil Davis 7fd1fef3f3 Update docs/ocis/deployment/continuous_deployment.md 2021-02-02 18:02:45 +05:45
Phil Davis 158f68f80f Merge pull request #1579 from owncloud/fix_keycloak_realm_import
[docs-only] fix keycloak realm import domain
2021-02-02 17:56:42 +05:45
David Christofas 98c90e9deb Merge pull request #1583 from owncloud/dependabot_tweak
lower the open pull request limit for dependabot
2021-02-02 12:45:10 +01:00
David Christofas 018f5dc32a lower the open pull request limit for dependabot 2021-02-02 11:16:59 +01:00
Willy Kloucek 370cd1c8f6 fix image.documentation link 2021-02-02 11:10:56 +01:00
Willy Kloucek 46a2282e47 add changelog 2021-02-02 11:01:37 +01:00
Willy Kloucek 2af8d92b42 Merge branch 'master' into switch_to_opencontainer_annotation 2021-02-02 10:57:49 +01:00
Willy Kloucek f6763be9f0 remove CREATED label 2021-02-02 10:56:35 +01:00
Willy Kloucek d01e629c0e document and fix continuous deployment 2021-02-02 10:36:07 +01:00
Phil Davis 2c793fb1d9 Merge pull request #1581 from owncloud/bump-commit-ids-20210201
[tests-only] Bump core and web commit ids for testing
2021-02-02 12:22:51 +05:45
Phil Davis c059a2d41e Bump core and web commit ids for testing 2021-02-02 08:50:13 +05:45
Willy Kloucek bb05da0bf1 Merge pull request #1568 from owncloud/bring_back_identifier-registration.yaml
bring back identifier-registration.yaml, strip commented stuff, rebuild embed.go
2021-02-01 17:04:48 +01:00
Willy Kloucek 686f496c31 bring back config file, strip commented stuff, fix makefile and rebuild 2021-02-01 14:33:55 +01:00
Phil Davis 35f7cd52b8 Merge pull request #1575 from owncloud/bump-commit-ids-20210130
[tests-only] Bump commit ids for tests
2021-02-01 18:39:54 +05:45
Willy Kloucek 9e3995ecc9 fix keycloak realm import domain 2021-02-01 13:33:01 +01:00
Phil Davis 01d5020b5a Adjust web expected-failures 2021-02-01 17:45:01 +05:45
Phil Davis 55b3464c49 Adjust API expected-failures 2021-02-01 17:45:01 +05:45
Phil Davis 10629889f2 Fix links in expected-failures 2021-02-01 17:45:01 +05:45
Phil Davis 5b8f5eb16d Bump web commit id for tests 2021-02-01 17:45:01 +05:45
Phil Davis 9bfc8693f2 Bump core commit id for tests 2021-02-01 17:45:01 +05:45
Jörn Friedrich Dreyer 10b5611167 Automated changelog update [skip ci] 2021-02-01 11:30:34 +00:00
Jörn Friedrich Dreyer 4ce67a48e7 Merge pull request #1374 from ishank011/upload-capabilities
Use a default protocol parameter instead of explicitly disabling tus
2021-02-01 12:29:24 +01:00
Willy Kloucek 17c4e9b1c5 Merge pull request #1489 from owncloud/continuous_deployment
continuous deployment
2021-02-01 10:56:03 +01:00
Willy Kloucek f3404ab202 fix typo 2021-02-01 09:21:03 +01:00
Phil Davis 85ee5def6e Merge pull request #1574 from owncloud/remove_misplaced_changelog_item
[docs-only] remove misplaced changelog item
2021-01-30 14:28:00 +05:45
Jörn Friedrich Dreyer 45bb22863e Automated changelog update [skip ci] 2021-01-29 19:18:26 +00:00
Jörn Friedrich Dreyer 91b41586b8 Merge pull request #1186 from ishank011/home_mapping
Functionality to map home directory to different storage providers
2021-01-29 20:16:34 +01:00
Willy Kloucek b7f02b0d1c Automated changelog update [skip ci] 2021-01-29 18:08:28 +00:00
Willy Kloucek 916746c719 remove misplaced changelog item 2021-01-29 19:06:09 +01:00
Willy Kloucek eb72c5d96a Merge pull request #1546 from ybr-nx/master
Use MICRO_REGISTRY_ADDRESS env var for etcd address
2021-01-29 19:03:12 +01:00
Phil Davis fb8a744dcb Merge pull request #1565 from owncloud/update-js-deps
Update JS dependencies
2021-01-29 23:42:36 +05:45
Willy Kloucek 6d78b361f8 Merge pull request #1567 from owncloud/disable_out-of-date-check
disable strict status check (set it to loose)
2021-01-29 17:42:28 +01:00
Willy Kloucek cfb6bf3ffc Merge branch 'master' into master 2021-01-29 17:42:01 +01:00
Benedikt Kulmann 8cfbbf77b3 Update JS dependencies 2021-01-29 22:02:04 +05:45
Jörn Friedrich Dreyer 14aa851ae0 Merge branch 'master' into upload-capabilities 2021-01-29 17:04:59 +01:00
Jörn Friedrich Dreyer a4480ed16e Merge branch 'master' into home_mapping 2021-01-29 17:04:51 +01:00
Willy Kloucek e69e2213e4 Merge branch 'master' into disable_out-of-date-check 2021-01-29 16:46:40 +01:00
Benedikt Kulmann b3062d1bd9 Merge pull request #1566 from owncloud/rename-cmd-to-idp
Rename konnectd to idp
2021-01-29 16:46:26 +01:00
Willy Kloucek ce9177e21c disable strict status check (set it to loose) 2021-01-29 16:30:29 +01:00
Willy Kloucek 1d5a116e3c add continuous deployments 2021-01-29 16:14:24 +01:00
Ilja Neumann 085f6f0f4a Rename konnectd to idp 2021-01-29 20:39:41 +05:45
Phil Davis 92fbc158aa Merge pull request #1393 from owncloud/add_release_info
[docs-only] add release roadmap
2021-01-29 20:31:44 +05:45
Phil Davis 975737d5e6 Merge branch 'master' into add_release_info 2021-01-29 20:30:03 +05:45
Phil Davis e1394172db Merge pull request #1174 from owncloud/keycloak_oC_client_config
[docs-only] fix Keycloak deployment example
2021-01-29 20:28:53 +05:45
Willy Kloucek 5265ec4a06 Merge branch 'master' into add_release_info 2021-01-29 14:57:07 +01:00
Willy Kloucek 18a05e5fbc fix typo 2021-01-29 14:45:00 +01:00
Jörn Friedrich Dreyer f90e49ad6a Merge branch 'master' into home_mapping 2021-01-29 14:39:14 +01:00
Willy Kloucek 282a1c81c4 Merge branch 'master' into master 2021-01-29 14:32:13 +01:00
Phil Davis d60604366c Adjust expected-failures for differences between cs3org/reva and OCIS 2021-01-29 15:21:31 +02:00
Phil Davis 4855f6b6a4 Copy categorized expected-failures files from cs3org/reva 2021-01-29 15:21:31 +02:00
Ilja Neumann 6d8f551b02 Rename konnectd to idp 2021-01-29 15:21:31 +02:00
Ilja Neumann 304b8a9846 Fix IDP title 2021-01-29 15:21:31 +02:00
Ilja Neumann 7732949e3c Rename konnectd to IDP 2021-01-29 15:21:31 +02:00
Willy Kloucek 9186448344 fix config links 2021-01-29 15:21:31 +02:00
Jörn Friedrich Dreyer 94299861c1 Automated changelog update [skip ci] 2021-01-29 15:21:31 +02:00
Ishank Arora 823e99efa9 Check if roles are present in user object before looking those up 2021-01-29 15:21:31 +02:00
Erwin Palma fb2fe1dd19 Update CONFIGURATION.tmpl
The following link does no exist

[our repository](https://github.com/owncloud/ocis/tree/master/config),
2021-01-29 15:21:31 +02:00
Willy Kloucek 2e09c80855 Merge branch 'master' into keycloak_oC_client_config 2021-01-29 14:05:04 +01:00
Phil Davis 34d53304df Merge pull request #1548 from owncloud/categorize-expected-failures
[tests-only] Categorize expected-failures files
2021-01-29 18:42:08 +05:45
Jörn Friedrich Dreyer a7c153cb6f Merge branch 'master' into upload-capabilities 2021-01-29 13:55:54 +01:00
Jörn Friedrich Dreyer b36a52189a Merge branch 'master' into home_mapping 2021-01-29 13:55:48 +01:00
Phil Davis 2f73400328 Adjust expected-failures for differences between cs3org/reva and OCIS 2021-01-29 17:38:39 +05:45
Phil Davis 9ae6704d60 Copy categorized expected-failures files from cs3org/reva 2021-01-29 17:38:39 +05:45
Ilja Neumann 4aea7a997d Rename konnectd to idp 2021-01-29 12:31:16 +01:00
Ilja Neumann 9751387b1b Fix IDP title 2021-01-29 12:31:16 +01:00
Ilja Neumann 03cadf304c Rename konnectd to IDP 2021-01-29 12:31:16 +01:00
Ingmar Aasoja aca22cab42 Add changelog 2021-01-29 13:01:55 +02:00
Willy Kloucek a93caad947 Merge branch 'master' into add_release_info 2021-01-29 11:59:04 +01:00
Jörn Friedrich Dreyer 5b2c2d2485 Merge branch 'master' into upload-capabilities 2021-01-29 11:36:38 +01:00
Ishank Arora 5f818c6bae Add example 2021-01-29 11:36:31 +01:00
Ishank Arora 417defdbb9 Functionality to map home directory to different storage providers 2021-01-29 11:36:31 +01:00
Willy Kloucek a378f259eb Merge pull request #1545 from owncloud/erwinpalma-patch-1
[docs-only] Update CONFIGURATION.tmpl
2021-01-29 11:17:35 +01:00
Willy Kloucek ffdc10cebe Merge branch 'master' into erwinpalma-patch-1 2021-01-29 11:14:37 +01:00
Willy Kloucek 29129cdb9d fix config links 2021-01-29 11:14:03 +01:00
Ishank Arora c1839ce48e Use a default protocol parameter instead of explicitly disabling tus 2021-01-29 10:56:45 +01:00
Ingmar Aasoja f9954bb022 Remove duplicated code and use existant getRegistry() instead 2021-01-29 11:54:44 +02:00
Willy Kloucek 080d348d19 automatic realm import on startup 2021-01-29 10:49:33 +01:00
Willy Kloucek 5a74c1f49f add import and export 2021-01-29 10:49:33 +01:00
Willy Kloucek aaac06da5b let keycloak serve the well-known/openidconnect 2021-01-29 10:49:33 +01:00
Willy Kloucek 8ed2dedf4c fix ocis-net 2021-01-29 10:49:33 +01:00
Willy Kloucek b5d586fd89 add clients 2021-01-29 10:49:33 +01:00
Jörn Friedrich Dreyer 414b635433 Automated changelog update [skip ci] 2021-01-29 09:46:37 +00:00
Jörn Friedrich Dreyer 1b9126ad48 Merge pull request #1388 from ishank011/roles-fix
Check if roles are present in user object before looking those up
2021-01-29 10:44:36 +01:00
Ishank Arora 30c80b0923 Check if roles are present in user object before looking those up 2021-01-28 17:25:59 +01:00
Ingmar Aasoja 5c235be89b Use MICRO_REGISTRY_ADDRESS env var for etcd address 2021-01-28 16:12:08 +02:00
Erwin Palma 18426be9a2 Update CONFIGURATION.tmpl
The following link does no exist

[our repository](https://github.com/owncloud/ocis/tree/master/config),
2021-01-28 15:05:01 +01:00
Artur Neumann 4fa73662ed Merge pull request #1535 from owncloud/bump-commit-id-20210126
[tests-only] Bump commit ids for tests
2021-01-28 14:11:56 +05:45
Phil Davis 6f27c726ce Adjust expected-failures 2021-01-28 13:13:47 +05:45
Phil Davis 5751b08266 Bump commit ids for tests 2021-01-28 13:08:36 +05:45
Phil Davis 235a79ff12 Merge pull request #1543 from owncloud/restore-tests
[tests-only] Restore test files removed in PR #1488
2021-01-28 12:54:16 +05:45
Phil Davis dfb4eb11cb Rename apiOcisSpecific to apiBugDemonstration 2021-01-28 12:03:01 +05:45
Phil Davis 924246c0a6 Rename apiBasic to apiAccountsHashDifficulty 2021-01-28 11:56:07 +05:45
saw-jan 5a44f83bbf restore test files removed in PR #1488 2021-01-28 11:40:12 +05:45
Phil Davis 5dac7ae5c4 Automated changelog update [skip ci] 2021-01-28 05:52:15 +00:00
Phil Davis 54c4a73c8e Merge pull request #1540 from owncloud/bump-gherkin-4.7.1
[tests-only] Bump behat/gherkin to 4.7.1
2021-01-28 11:36:23 +05:45
Phil Davis 498a21cf0a [tests-only] Bump behat/gherkin to 4.7.1 2021-01-28 10:19:30 +05:45
Phil Davis 3c78241b98 Merge pull request #1539 from pascalwengerter/fix-ocis-github-cases
[docs-only] Change (ocis,OCIS) to oCIS, unify GitHub branding
2021-01-28 09:08:06 +05:45
Phil Davis ae07429eea Apply suggestions from code review 2021-01-28 09:02:27 +05:45
Pascal Wengerter d7b1ecb3dc Change (ocis,OCIS) to oCIS, unify GitHub branding 2021-01-28 00:32:47 +00:00
Willy Kloucek 5dd3612ae1 Merge branch 'master' into add_release_info 2021-01-27 09:00:03 +01:00
Phil Davis 8dd28582cc Merge pull request #1536 from owncloud/update-ocis-install-doc
update docs to use latest ocis
2021-01-27 08:18:15 +05:45
Florian Schade 157fbb6143 update docs to use latest ocis 2021-01-26 18:42:32 +01:00
Patrick Maier c2bdf7878e Automated changelog update [skip ci] 2021-01-26 14:44:21 +00:00
Patrick Maier a90cf56246 Update release_notes.md 2021-01-26 15:43:50 +01:00
Patrick Maier e5c78eca3f 1.1.0 release notes 2021-01-26 15:43:50 +01:00
Benedikt Kulmann 5c3300b083 Move changelog to version specific folder 2021-01-26 15:43:50 +01:00
Artur Neumann bec3290cb9 Merge pull request #1534 from owncloud/adjust-expected-failures-20210126
[tests-only] Adjust some text in expected-failures to match cs3org/reva
2021-01-26 19:06:18 +05:45
Phil Davis 4b53a1713b Adjust some text in expected-failures to match cs3org/reva 2021-01-26 18:05:21 +05:45
David Christofas daceb0279a Merge pull request #1491 from owncloud/setup-dependabot
add GitHub native dependabot config
2021-01-26 12:56:57 +01:00
David Christofas 8c73d16d2b add GitHub native dependabot config
See the documentation: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
2021-01-26 12:45:22 +01:00
Artur Neumann 8878aeeb6b Merge pull request #1488 from owncloud/delete-fixed-tests
[Tests-Only] Remove test scenarios that now have correct behavior
2021-01-26 17:17:28 +05:45
saw-jan 655ceab413 remove tests that show correct behavior 2021-01-26 16:20:21 +05:45
Alex Unger 02693de015 Automated changelog update [skip ci] 2021-01-26 10:14:25 +00:00
Alex Unger 6de9b60aa9 Merge pull request #1483 from owncloud/ocis-1485 2021-01-26 11:13:53 +01:00
Alex Unger 0b14422901 Merge branch 'master' into ocis-1485 2021-01-26 10:10:56 +01:00
Phil Davis 8fe2e7234d Merge pull request #1485 from owncloud/fix-links
[Tests-Only] Adjust the links in the expected-failures file
2021-01-26 14:35:47 +05:45
A.Unger 4877cb0d9c apply review comments 2021-01-26 09:18:45 +01:00
HariBhandari07 bf3fff31c2 [Tests-Only] Adjust the links in the expected-failures file 2021-01-26 13:30:53 +05:45
Jörn Friedrich Dreyer 65bc3f1f7f Automated changelog update [skip ci] 2021-01-25 19:51:25 +00:00
Jörn Friedrich Dreyer 706a58c58e Merge pull request #1482 from owncloud/update-reva-for-checksums
update reva to 0c10b333ee69
2021-01-25 20:43:50 +01:00
Phil Davis 4611cc2db4 Adjust expected-failures 2021-01-25 21:58:21 +05:45
A.Unger 70206b7c2f fix staticcheck 2021-01-25 16:06:22 +01:00
A.Unger 49b19418d2 added changelog 2021-01-25 16:06:22 +01:00
A.Unger 1a38554d32 port README.md 2021-01-25 16:06:22 +01:00
A.Unger e50ee6e002 move refs/pman over to owncloud/ocis/ocis/pkg/runtime 2021-01-25 16:06:22 +01:00
Jörn Friedrich Dreyer 75984383d6 update reva to 0c10b333ee69
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-01-25 15:05:48 +00:00
Phil Davis 1404a8beaa Merge pull request #1480 from owncloud/pin-behat-gherkin
[tests-only] Pin behat/gherkin because of Gherkin issue 187
2021-01-25 20:48:45 +05:45
Phil Davis b3636eed8b Adjust expected-failures 2021-01-25 19:55:34 +05:45
Phil Davis b8ea851fa9 Bump CORE_COMMITID to pin Behat/Gherkin v4.6.2 2021-01-25 18:53:47 +05:45
Phil Davis 0ec1bd7782 Pin behat/gherkin because of Gherkin issue 187 2021-01-25 18:00:53 +05:45
Willy Kloucek 47d73572d0 add review changes from phil-davis 2021-01-25 09:13:33 +01:00
Phil Davis 1c83fa033a Merge pull request #1398 from owncloud/docs_tls_go_default
[docs-only] Make cert handling in the docs more clear.
2021-01-25 12:26:41 +05:45
Klaas Freitag 71dfb4e3ae Make cert handling in the docs more clear. 2021-01-24 14:38:48 +01:00
Willy Kloucek 9e68275730 Merge pull request #1380 from owncloud/disable_traefik_dashboard_for_deployment_examples
[docs-only] disable Traefik dasboard as default for deployment examples
2021-01-23 10:26:40 +01:00
Willy Kloucek eac9e11063 Merge branch 'master' into disable_traefik_dashboard_for_deployment_examples 2021-01-23 10:25:50 +01:00
Willy Kloucek eb634d2d76 Merge pull request #1377 from owncloud/add_log_rotation_deploy_examples
[docs-only] add log rotation to deploy examples
2021-01-23 10:25:42 +01:00
Willy Kloucek 2575465591 Merge branch 'master' into disable_traefik_dashboard_for_deployment_examples 2021-01-23 10:21:03 +01:00
Willy Kloucek 94c65c6945 Merge branch 'master' into add_log_rotation_deploy_examples 2021-01-23 10:20:47 +01:00
Willy Kloucek 36441c864a add release roadmap 2021-01-22 20:17:21 +01:00
Phil Davis c2f154f7cd Automated changelog update [skip ci] 2021-01-22 11:37:47 +00:00
Phil Davis c18bae9061 Update WEB_COMMITID to latest 2021-01-22 12:36:41 +01:00
Ilja Neumann 30286fa434 Adjust expected failures 2021-01-22 12:36:41 +01:00
Ilja Neumann cf9dd65927 go mod tidy 2021-01-22 12:36:41 +01:00
Ilja Neumann 777c29fc35 Update reva to v1.5.1 2021-01-22 12:36:41 +01:00
Willy Kloucek f2e0d8e1a8 Merge branch 'master' into disable_traefik_dashboard_for_deployment_examples 2021-01-22 09:39:35 +01:00
Phil Davis 94edf1001a Merge pull request #1384 from owncloud/bump-core-commit-38325
[tests-only] Bump core commit id to include tests in core PR 38325
2021-01-22 14:12:46 +05:45
Willy Kloucek 888bea54ad switch to local log driver 2021-01-22 08:51:20 +01:00
Willy Kloucek 414add4358 Merge branch 'master' into add_log_rotation_deploy_examples 2021-01-22 08:27:53 +01:00
Willy Kloucek 66f4139627 Merge branch 'master' into switch_to_opencontainer_annotation 2021-01-22 08:24:53 +01:00
Phil Davis c7d369cb12 Bump core commit id to include tests in core PR 38325 2021-01-22 13:02:39 +05:45
Phil Davis 0f455e5eb2 Merge pull request #1383 from owncloud/bump-commit-ids-20210122
[tests-only] Bump commit ids for tests
2021-01-22 12:27:26 +05:45
Phil Davis 4836d558dc Bump commit ids for tests 2021-01-22 10:48:47 +05:45
Willy Kloucek 7685ed962e switch to opencontainers annotation for docker images (https://github.com/opencontainers/image-spec/blob/master/annotations.md) 2021-01-21 22:23:17 +01:00
Willy Kloucek 3786104739 disable Traefik dasboard as default for deployment examples 2021-01-21 19:07:55 +01:00
Willy Kloucek 1418961a8b Merge branch 'master' into add_log_rotation_deploy_examples 2021-01-21 17:18:52 +01:00
Phil Davis e528631733 Automated changelog update [skip ci] 2021-01-21 15:50:43 +00:00
Phil Davis 90cfa1e031 Merge pull request #1375 from owncloud/add_volume_docker_image
add volume to docker image
2021-01-21 21:35:06 +05:45
Willy Kloucek 833d0e4d79 Merge branch 'master' into add_volume_docker_image 2021-01-21 16:00:03 +01:00
Willy Kloucek 623f98d989 add log rotation to deploy examples 2021-01-21 15:58:52 +01:00
Willy Kloucek afe098e5b1 Automated changelog update [skip ci] 2021-01-21 14:38:30 +00:00
Willy Kloucek 6329d1bdac Merge pull request #1366 from owncloud/add_expose_docker_image
add expose to docker images
2021-01-21 15:37:52 +01:00
Willy Kloucek f21af25ce6 Merge branch 'master' into add_volume_docker_image 2021-01-21 15:11:48 +01:00
Willy Kloucek 49e806e157 add volume to docker image 2021-01-21 14:49:19 +01:00
Willy Kloucek 1a18a496b9 add expose to docker images 2021-01-21 19:23:07 +05:45
Phil Davis 27d1783587 Merge pull request #1371 from owncloud/gitignore-drone-yml
[tests-only] do not let someone accidentally commit a local .drone.yml
2021-01-21 19:21:12 +05:45
Phil Davis 50e9df7094 do not let someone accidentally commit a local .drone.yml 2021-01-21 17:28:50 +05:45
Phil Davis 1bc644fb00 Merge pull request #1369 from owncloud/bump-commit-ids-20210121
[tests-only] Bump commit ids for tests
2021-01-21 17:23:38 +05:45
Phil Davis a650453d94 Bump commit ids for tests 2021-01-21 16:15:28 +05:45
Hari Bhandari e51223b54a Merge pull request #1348 from owncloud/convert-to-md
[Tests-Only] Convert expected failure file to markdown
2021-01-21 11:38:15 +05:45
HariBhandari07 c4d4e53ec4 Remove passing scenarios and add failing scenarios to expected failure 2021-01-21 10:38:51 +05:45
HariBhandari07 6b071c6a0d Bump to the latest core and web commit 2021-01-21 10:38:51 +05:45
Phil Davis 1e72720512 Minor format and spelling in expected-failures 2021-01-21 10:38:51 +05:45
HariBhandari07 81dd9654fb Fix expected failure line number 2021-01-21 10:38:51 +05:45
HariBhandari07 192a847f2c [Tests-Only] Convert expected failure file to markdown 2021-01-21 10:38:51 +05:45
Phil Davis 1a857e4988 Merge pull request #1368 from owncloud/add-nightwatch-vrt-to-accounts
[tests-only] Add nightwatch-vrt to accounts package.json
2021-01-21 10:35:53 +05:45
Phil Davis ea9c11fabf Add nightwatch-vrt to accounts package.json 2021-01-21 09:00:59 +05:45
Florian Schade b1d0fbbd3e Automated changelog update [skip ci] 2021-01-20 23:05:36 +00:00
Florian Schade 03c1416a4a update roles cache to use sync.cache
add tests for roles cache
add changelog
use strings in sync cache tests
2021-01-21 00:04:25 +01:00
Florian Schade 03867f4230 Automated changelog update [skip ci] 2021-01-20 17:26:11 +00:00
Florian Schade 0aa389aa9e add changelog 2021-01-20 18:25:19 +01:00
Florian Schade 4f0d8b5e3c move k6 into cdperf
remove k6 from ci
2021-01-20 18:25:19 +01:00
Florian Schade f8891bd6e4 Automated changelog update [skip ci] 2021-01-20 14:42:25 +00:00
Florian Schade f004cc0e73 add changelog 2021-01-20 15:41:36 +01:00
Florian Schade 8c9f9b6dfc bump go version to 1.15 2021-01-20 15:41:36 +01:00
Phil Davis b0119f1c7f Merge pull request #1360 from owncloud/docs-typos
[docs-only] Fix typos in docs
2021-01-20 17:35:40 +05:45
Phil Davis 410a5082f1 Fix typos in docs 2021-01-20 16:43:02 +05:45
Florian Schade 42677b36c1 Automated changelog update [skip ci] 2021-01-19 22:27:36 +00:00
Florian Schade 873fbcb557 rename NRWMutex to NameRWMutex
update changelog
2021-01-19 23:23:41 +01:00
Florian Schade 4f80541b9f increase test timing cor sync.cache 2021-01-19 23:23:41 +01:00
Florian Schade af870e005e add more tests and benchmark for cache
refactor cache to use atomic uint
2021-01-19 23:23:41 +01:00
Florian Schade 806d000f22 update drone go images to webhippie/golang:1.15 2021-01-19 23:23:41 +01:00
Florian Schade f13530425a move cache to sync package
rollback indexer map
use sync.pool for cache entries
add tests for cache
remove main locks from nrwmutex and use sync.map and sync.pool instead
bump dockerfile go version
2021-01-19 23:23:41 +01:00
Florian Schade b81156fc57 add comments to NRWMutex 2021-01-19 23:23:41 +01:00
Florian Schade a02fb890f7 remove locking from accounts service
add a cached named rwlock pkg
use sync.map in the cache pkg
use named rwlock in indexer pkg
use sync.map in indexer pkg
remove husky
2021-01-19 23:23:41 +01:00
Phil Davis f97f0d7342 Merge pull request #1221 from owncloud/add-onlyoffice-docker
Add onlyoffice mount on docker-compose setup
2021-01-18 13:40:30 +05:45
Dipak Acharya 3e7c30d12a Add onlyoffice mount on docker-compose setup 2021-01-18 11:38:02 +05:45
Artur Neumann 840b353d03 Merge pull request #1213 from owncloud/core-commit-20200114
[tests-only] Bump core and web commit for tests
2021-01-18 09:08:35 +05:45
Phil Davis f579406619 Bump core and web commit ids
The latest web acceptance tests expect the expected-failures file to be
in Markdown format. So rename and reformat the expected-failures.
2021-01-16 21:07:14 +05:45
Phil Davis 2d67900657 Merge pull request #1219 from owncloud/pin_alpine_version
pin alpine version
2021-01-16 21:06:28 +05:45
Willy Kloucek 0a94540458 pin alpine version 2021-01-16 12:49:47 +01:00
Alex Unger c9c198279c Merge pull request #1211 from owncloud/gh-templates 2021-01-15 18:53:37 +01:00
Alex UngerandPhil Davis 72f3a7be8d Update .github/pull_request_template.md
Co-authored-by: Phil Davis <phil@jankaritech.com>
2021-01-15 15:53:08 +01:00
Michael Barz de292b2b7b change glob pattern 2021-01-14 20:11:21 +01:00
A.Unger a3ed0eaf87 codacy: ignore .github/ 2021-01-14 17:09:20 +01:00
A.Unger bc06091e79 add expected behavior step 2021-01-14 16:53:35 +01:00
Alex UngerandBenedikt Kulmann de50dd7d15 Apply suggestions from code review
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2021-01-14 16:27:32 +01:00
A.Unger af2773edb9 grammar 2021-01-14 13:20:34 +01:00
A.Unger 162bb48f01 stale bot act only on issues 2021-01-14 13:09:29 +01:00
A.Unger 2e8f6f8085 add config for stale boty 2021-01-14 13:05:05 +01:00
A.Unger 69e030b4d0 wording 2021-01-14 12:37:20 +01:00
A.Unger b88ebb300a use headers 2021-01-14 12:22:14 +01:00
A.Unger 27bbc785d3 add PULL_REQUEST_TEMPLATE 2021-01-14 10:21:46 +01:00
Alex Unger 9d753091f3 Update issue templates 2021-01-14 10:10:04 +01:00
Phil Davis 48ba063fc2 Merge pull request #1207 from owncloud/fix-sonar-exclude
fix sonar exclude for generated protobuf files
2021-01-14 12:14:25 +05:45
David Christofas 2f4fcfef2d fix sonar exclude for generated protobuf files 2021-01-14 11:06:42 +05:45
Artur Neumann 5035ec43bd Merge pull request #1208 from owncloud/bump-web-commit-id-20200114
[tests-only] Bump WEB commit id
2021-01-14 11:04:24 +05:45
Phil Davis baa2ede612 Bump WEB commit id 2021-01-14 09:30:37 +05:45
Artur Neumann 864ee52173 Merge pull request #1206 from owncloud/update-commit-ids-for-tests-20210113
[tests-only] Bump core and web commit ids for tests
2021-01-14 09:13:15 +05:45
Phil Davis 8062a01269 Adjust expected-failures 2021-01-14 00:45:38 +05:45
Phil Davis 249a3f27e7 Bump core and web commit ids for tests 2021-01-13 21:18:45 +05:45
David Christofas 9f00ff76ed Automated changelog update [skip ci] 2021-01-13 13:56:41 +00:00
David Christofas 133ecf4fb4 Merge pull request #1203 from owncloud/secure-state
generate cryptographically secure state token
2021-01-13 14:52:54 +01:00
David Christofas f230ea7fea generate cryptographically secure state token 2021-01-13 14:00:35 +01:00
Benedikt Kulmann 1721b78913 Automated changelog update [skip ci] 2021-01-13 11:55:01 +00:00
Benedikt Kulmann 638b7a1c9f Merge pull request #1191 from owncloud/update-web-1.0.1
Update web to 1.0.1
2021-01-13 12:54:19 +01:00
Phil Davis 32b1597ca5 Update tag reference in changelog 2021-01-13 15:57:45 +05:45
Benedikt Kulmann 2b00f833dd Adjust expected failures 2021-01-13 09:25:10 +01:00
Benedikt Kulmann 17a1d29d6a Fix server url for js client in accounts and settings 2021-01-13 09:23:49 +01:00
Benedikt Kulmann 20e150228c Adjust expected failures 2021-01-13 09:23:49 +01:00
Benedikt Kulmann ac63ab4b36 Update go.sum 2021-01-13 09:23:49 +01:00
Benedikt Kulmann e18d286e8a Fix server url usage in settings and accounts 2021-01-13 09:23:48 +01:00
Benedikt Kulmann 7ad4130ef7 Update web to 1.0.1 2021-01-13 09:23:48 +01:00
Michael Barz 8462799667 Merge pull request #1202 from owncloud/sonar-excludes
[Tests-Only] clean up sonar excludes
2021-01-12 22:40:42 +01:00
David Christofas 4701fdfccc Merge pull request #1181 from owncloud/dependabot/npm_and_yarn/accounts/axios-0.21.1
Bump axios from 0.19.2 to 0.21.1 in /accounts
2021-01-12 18:11:56 +01:00
dependabot[bot] 943b13b8d4 Bump axios from 0.19.2 to 0.21.1 in /accounts
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-12 16:26:29 +00:00
David Christofas 65e9153a2d [Tests-Only] clean up sonar excludes 2021-01-12 17:17:13 +01:00
Michael Barz 459df00cd2 Add default organisation wide label set and remove existing 2021-01-12 16:39:10 +01:00
David Christofas f5856e6fa2 Merge pull request #1182 from owncloud/dependabot/npm_and_yarn/onlyoffice/axios-0.21.1
Bump axios from 0.19.2 to 0.21.1 in /onlyoffice
2021-01-12 16:01:30 +01:00
David Christofas 92ed1ff8e1 Merge pull request #1183 from owncloud/dependabot/npm_and_yarn/settings/axios-0.21.1
Bump axios from 0.19.2 to 0.21.1 in /settings
2021-01-12 16:00:49 +01:00
Artur Neumann 8fa89f5067 Merge pull request #1196 from owncloud/update-test-commit-ids-20200111
[tests-only] Update WEB_COMMITID for tests
2021-01-12 09:20:41 +05:45
Phil Davis 168d8a7fbc Adjust expected-failures-webUI for shareWithUsers test changes 2021-01-11 20:17:09 +05:45
Phil Davis 653aeef460 Adjust expected-failures-webUI for imageMediaViewer test changes 2021-01-11 20:14:21 +05:45
Phil Davis cf424e9bb6 Add expected-failures-webUI for OCIS issue 1124 2021-01-11 19:12:18 +05:45
Phil Davis 91bd401a8a Update WEB_COMMITID for tests 2021-01-11 18:49:39 +05:45
Phil Davis 6fdb44c687 Automated changelog update [skip ci] 2021-01-11 12:53:19 +00:00
Phil Davis cf7692240d Merge pull request #1194 from owncloud/reva-f2b63bfd6825e
Update reva to v1.4.1-0.20210111080247
2021-01-11 18:37:17 +05:45
Phil Davis 6e47fe799c adjust expected-failures-webUI for changes dues to reva PRs 1368 and 1388 2021-01-11 17:47:31 +05:45
Phil Davis 42ff1af2d6 delete local bug-demo scenarios fixed by reva PR 1368 2021-01-11 17:32:10 +05:45
Phil Davis 8d0aa17ba5 remove scenarios fixed by reva PR 1368 from expected-failures 2021-01-11 16:55:04 +05:45
Phil Davis ab1ed20821 remove scenarios fixed by reva PR 1388 from expected-failures 2021-01-11 16:43:51 +05:45
Jörn Friedrich Dreyer 3240e20641 Update reva to v1.4.1-0.20210111080247
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-01-11 09:48:41 +00:00
Phil Davis 536376fa5e Merge pull request #1189 from owncloud/bump-core-commit-20200108
[tests-only] Bump core commit id for API tests
2021-01-08 20:22:56 +05:45
Phil Davis f0e269c618 Add new moveReceivedShare expected failures 2021-01-08 17:36:10 +05:45
Phil Davis 7e9f8c5dbb Bump core commit id for API tests 2021-01-08 17:12:40 +05:45
dependabot[bot] 4932cae85f Bump axios from 0.19.2 to 0.21.1 in /settings
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-06 10:36:23 +00:00
dependabot[bot] c415360566 Bump axios from 0.19.2 to 0.21.1 in /onlyoffice
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-06 10:28:20 +00:00
Phil Davis 17a2270508 Merge pull request #1172 from owncloud/bumpCoreTestsCommitId20210105
[tests-only] bump core commit id
2021-01-06 09:43:46 +05:45
Phil Davis ef1cc5f9cd Bump commit id again for core PR 38268 2021-01-06 08:51:56 +05:45
Artur Neumann 75a86ed7f4 bump core commit id 2021-01-05 14:53:15 +05:45
Artur Neumann 7f19d24bac Merge pull request #1170 from owncloud/bump-WEB_COMMITID-2021-01-01
[tests-only] Bump WEB_COMMITID to enable many more webUI test scenarios
2021-01-01 18:15:44 +05:45
Phil Davis 10079ba74d Bump WEB_COMMITID to enable many more webUI test scenarios 2021-01-01 17:08:34 +05:45
Phil Davis 7662f86c47 Merge pull request #1168 from owncloud/bump-commit-id-20201231
[tests-only] Bump core and web commit ids for tests
2021-01-01 14:09:18 +05:45
Phil Davis 7b20eb3401 Add expected-failures for webUI tests 2021-01-01 13:28:34 +05:45
Phil Davis c15b2940b6 Bump core and web commit ids for tests 2021-01-01 13:28:34 +05:45
Michael Barz e90c4801a7 Merge pull request #1159 from owncloud/deplyoment_examples_monitoring_tracing
[docs-only] add monitoring and tracing for ocis_traefik
2020-12-30 18:51:23 +01:00
Willy Kloucek 2ddde64205 add documentation 2020-12-30 17:13:15 +01:00
Willy Kloucek 3b636d2540 Merge pull request #1167 from owncloud/change_badges
[docs-only] change badges
2020-12-30 16:02:21 +01:00
Willy Kloucek e05f714691 change badges 2020-12-30 15:59:23 +01:00
Willy Kloucek dec6008d10 Merge pull request #1162 from owncloud/clean_sonarcloud_config
[CI-only] fix sonarcloud config
2020-12-30 13:36:39 +01:00
Willy Kloucek 48f8bf3ea2 fix .env doc 2020-12-30 13:35:43 +01:00
Willy Kloucek 01ae463c67 disable metrics by default 2020-12-30 10:27:35 +01:00
Willy Kloucek 0bd5327b43 also add for other examples 2020-12-30 08:12:31 +01:00
Willy Kloucek 1b6d8d6c52 add monitoring and tracing for ocis_traefik 2020-12-30 08:12:31 +01:00
Willy Kloucek 4053702758 change pull to pull_request 2020-12-30 08:06:58 +01:00
Willy Kloucek d87d1f4e82 fix always true condition 2020-12-30 07:21:17 +01:00
Willy Kloucek e58b47e456 ignore protobuf generated files and go test files 2020-12-29 15:46:29 +01:00
Willy Kloucek 5c72d915ee fix sonarcloud run for master, remove unneeded configs, rework makefile 2020-12-29 15:46:29 +01:00
Willy Kloucek d964f2f6b1 Merge pull request #1160 from owncloud/simplify_deplyoment_examples
[docs-only] simplify deployment examples
2020-12-28 16:51:04 +01:00
Jörn Friedrich Dreyer eb2143d3ec Merge pull request #1157 from owncloud/enable_multiple_env_vars_in_docs
[docs-only] add multiple env vars to templates
2020-12-28 14:23:21 +01:00
Phil Davis 578dc94e3b Merge pull request #1155 from owncloud/bump-test-commit-ids-20201223
[tests-only] Bump core commit id for tests
2020-12-28 12:47:23 +05:45
Willy Kloucek c7a620c4d5 add more 2020-12-28 07:36:08 +01:00
Phil Davis 19fdc2ac35 Add new expected-failures 2020-12-28 11:50:17 +05:45
Phil Davis b1314eb6ef Bump WEB_COMMITID for UI tests 2020-12-28 11:50:17 +05:45
Phil Davis a34f802ff7 Bump core commit id for tests 2020-12-28 09:01:16 +05:45
Benedikt Kulmann ca6d59d7c5 Merge pull request #1142 from owncloud/small-refactoring
small refactorings of test code and some methods
2020-12-24 06:06:22 +01:00
Willy Kloucek 3eb9e122a4 remove unneeded settings 2020-12-23 23:36:00 +01:00
Jörn Friedrich Dreyer 986b7a82b3 Automated changelog update [skip ci] 2020-12-23 16:31:28 +00:00
Jörn Friedrich Dreyer 5689daf864 Merge pull request #1148 from owncloud/add_ocis_url_env
add OCIS_URL env var
2020-12-23 17:25:24 +01:00
Jörn Friedrich Dreyer 652448f5f1 Merge branch 'add_ocis_url_env' of github.com:owncloud/ocis into add_ocis_url_env 2020-12-23 12:00:49 +00:00
Jörn Friedrich Dreyer 36d86aa87e extract handleOriginalAction and check if Before() exists before calling it
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-23 11:59:29 +00:00
Phil Davis 335aa2d5b3 Merge pull request #1158 from owncloud/update-testing.md
[docs-only] Update docs about CORE_COMMITID and CORE_BRANCH
2020-12-23 17:20:21 +05:45
Phil Davis 416aa821f5 Update docs about CORE_COMMITID and CORE_BRANCH 2020-12-23 17:17:07 +05:45
Jörn Friedrich DreyerandArtur Neumann b2e827f4e9 Update changelog/unreleased/add-ocis-url-env.md
Co-authored-by: Artur Neumann <artur@jankaritech.com>
2020-12-23 12:11:36 +01:00
Jörn Friedrich Dreyer 63ae28fff1 align commands to always execute the original Before()
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-23 10:52:22 +00:00
Jörn Friedrich Dreyer f48b3f4ef9 sanitize url for konnectd template
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-23 09:35:49 +00:00
Dipak Acharya d08958619e Merge pull request #1156 from owncloud/bump-ui-test-commit-id-20201223
[tests-only] Bump web commit id for UI tests
2020-12-23 14:22:21 +05:45
Willy Kloucek 12897e61cb add multiple env vars to templates 2020-12-23 09:19:32 +01:00
Phil Davis 95603951fc Bump web commit id for UI tests 2020-12-23 13:44:57 +05:45
Ilja Neumann 352034d9eb Automated changelog update [skip ci] 2020-12-22 16:28:27 +00:00
Ilja Neumann cd2eb0e39b Accounts UserBackend tests 2020-12-22 17:27:55 +01:00
Ilja Neumann 0d990898b8 Fix gid was overwritten by roles 2020-12-22 17:27:55 +01:00
Jörn Friedrich Dreyer 26c82b5551 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-22 15:26:24 +00:00
Ilja Neumann 1b29e56d12 account_resolver_test.go 2020-12-22 16:16:57 +01:00
Jörn Friedrich Dreyer 03e1f95d49 fix lint
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-22 15:10:23 +00:00
Jörn Friedrich Dreyer ff42549897 use identifier-registration.yaml as template
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-22 15:09:30 +00:00
Jörn Friedrich Dreyer af9900cefd use paths in Makefile targets
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-22 15:07:50 +00:00
Willy Kloucek 6ce4bb739c Merge pull request #1152 from owncloud/dirkstascheit-patch-1
[docs-only] Update getting-started.md
2020-12-22 13:31:09 +01:00
Dirk Stascheit 5c60c1b62e Update getting-started.md
replaced the testing releases with the 1.0.0 in the curl lines
2020-12-22 12:52:37 +01:00
Willy Kloucek 7b6577f41c Merge pull request #1151 from owncloud/docker_based_acceptance_test_source
[Tests-only] use .drone.env for checking out tests in docker based acceptance tests
2020-12-22 10:59:10 +01:00
Phil Davis dc619974ed Merge pull request #1149 from owncloud/remove-commitid-drone
[CI] remove commit id from .drone.star file
2020-12-22 15:30:09 +05:45
Willy Kloucek 054c1151b2 use .drone.env for test reference 2020-12-22 10:07:25 +01:00
Dipak Acharya d6cb3ac273 [CI] remove commit id from .drone.star file 2020-12-22 12:04:47 +05:45
Jörn Friedrich Dreyer 7dbc1af76f add OCIS_URL env var
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-21 16:20:02 +00:00
Willy Kloucek 4c718eb91c Merge pull request #1143 from owncloud/rename_reva_to_proxy_where_applicable
rename reva to proxy where applicable
2020-12-21 10:09:29 +01:00
Willy Kloucek 73cf0fc36d rename reva to proxy where applicable 2020-12-21 09:15:38 +01:00
Artur Neumann f708e19d1b Merge pull request #1146 from owncloud/tusTests-resource-url
[tests-only] adjust TUS test using resource URL to current behaviour
2020-12-21 10:56:14 +05:45
swoichha 722e3808a9 adjust tus test using resource URL to curretn behaviour 2020-12-21 10:17:52 +05:45
Phil Davis 03273cc93f Merge pull request #1144 from owncloud/add_go_mod_tidy_make_step
add go mod tidy make step
2020-12-19 10:44:23 +05:45
Willy Kloucek 3c3964fd8e run go mod tidy for all extensions 2020-12-18 15:49:13 +01:00
Willy Kloucek d2e4c69aee add go-mod-tidy targets to Makefiles 2020-12-18 15:49:08 +01:00
Phil Davis 6fe8b6f3bd Merge pull request #1139 from owncloud/fix_ldap_deployment_example
Change ldap domain to dc=com
2020-12-18 20:02:28 +05:45
David Christofas cf69537d1b small refactorings of test code and some methods 2020-12-18 14:12:10 +01:00
Phil Davis 738a32f9b1 Merge pull request #1140 from owncloud/pin-minio-mc
[tests-only] pin mini/mc docker to work-around broken 'latest'
2020-12-18 16:17:38 +05:45
Phil Davis 40c59cd52d pin mini/mc docker to work-around broken 'latest' 2020-12-18 15:42:37 +05:45
Ilja Neumann a08a0afcfd Bind ldap-ports to localhost only for security reasons 2020-12-18 10:34:56 +01:00
Ilja Neumann 5ea1e97032 Change ldap domain to dc=com 2020-12-18 10:15:58 +01:00
Phil Davis cbd320c926 Merge pull request #1136 from owncloud/release-notes-corrections
[docs-only] minor improvements for release notes
2020-12-18 08:50:55 +05:45
Phil Davis 2c54d37270 Update docs/ocis/release_notes.md 2020-12-18 08:22:11 +05:45
Ilja Neumann 711701c28b Automated changelog update [skip ci] 2020-12-18 01:09:43 +00:00
Ilja Neumann 5e9d4d7286 Disable pretty logging by default for perf reasons 2020-12-18 02:08:44 +01:00
Patrick Maier 23226c53bd [docs-only] minor improvements for release notes 2020-12-17 22:18:11 +01:00
Patrick Maier fe7349c7e5 Merge pull request #1134 from owncloud/improve-release-notes
[docs-only] Improvements for release notes
2020-12-17 22:00:54 +01:00
Patrick Maier feb310aa89 [docs-only] Improvements for release notes 2020-12-17 21:50:35 +01:00
Benedikt Kulmann 20128ad02d Merge pull request #1131 from owncloud/reduce-thumbnails-logs
reduce warn logs
2020-12-17 20:47:10 +01:00
Michael Barz 2a4490f44c Merge pull request #1125 from owncloud/add-release-notes
[docs-only] Add oCIS 1.0 Release Notes
2020-12-17 18:08:12 +01:00
Michael Barz bb9febe0a0 Automated changelog update [skip ci] 2020-12-17 17:07:51 +00:00
Michael Barz 9907c9bee2 Merge pull request #1117 from owncloud/release-1.0.0
[with-benchmarks] Merge back after 1.0.0 Release
2020-12-17 18:07:12 +01:00
Michael Barz 43ad6b274e results from collective review 2020-12-17 18:05:54 +01:00
David Christofas b07acdb03d reduce warn logs
When we try to load the thumbnail from the store for the first time we expect it to fail so we shouldn't log with level warn.
2020-12-17 17:25:33 +01:00
Michael Barz 19f4e09e2d remove accidentally committed file 2020-12-17 17:20:36 +01:00
Phil Davis af34379a3c Merge pull request #1130 from owncloud/make_tracing_defaults_consistent
make tracing defaults consistent
2020-12-17 21:58:24 +05:45
Michael Barz 42c3b95382 change build date 2020-12-17 17:10:09 +01:00
Michael Barz a1df2c2944 release note improvements 2020-12-17 17:08:11 +01:00
Patrick Maier 6d88bb9d9a Update release_notes.md 2020-12-17 16:29:56 +01:00
Willy Kloucek 9c34174d45 make tracing defaults consistent 2020-12-17 15:47:47 +01:00
Patrick MaierandBenedikt Kulmann 30abd4a7fe Apply suggestions from code review
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2020-12-17 15:05:19 +01:00
Patrick MaierandPhil Davis 74499bb611 Apply suggestions from code review
Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-12-17 14:20:06 +01:00
Michael Barz 444bfae32e urls and todos 2020-12-17 13:23:36 +01:00
Michael Barz 87a2149139 tabbed content 2020-12-17 12:58:14 +01:00
Patrick Maier 6dd68e0df8 Update release_notes.md 2020-12-17 12:54:30 +01:00
Patrick Maier d50571ecc4 Update release_notes.md 2020-12-17 12:42:58 +01:00
Phil Davis 53382a8734 Merge pull request #1111 from owncloud/run-tusTests-invalid-file-names
[tests-only] run tus test for file with invalid-name
2020-12-17 17:19:48 +05:45
Patrick Maier c7f8f2060c corrections 2020-12-17 12:07:24 +01:00
swoichha 80a1ca487a bump core commit id 2020-12-17 16:50:41 +05:45
Artur Neumann ec6359d7ad expected failures of new trashbin tests 2020-12-17 16:47:50 +05:45
Patrick Maier 67a4a1abfb Add oCIS 1.0 Release Notes 2020-12-17 11:45:44 +01:00
swoichha 9c1ac176ca added list of scenarios into expected failure file 2020-12-17 13:34:07 +05:45
swoichha 3e6fb93f20 run tus test for file with invalid-name 2020-12-17 13:30:35 +05:45
Phil Davis 43ab8bf4fd Merge pull request #921 from owncloud/docs-fix-ocis
[docs-only] make OCIS name consistent throught the docs
2020-12-16 19:57:39 +05:45
Phil Davis cc6bee23a5 Merge pull request #1114 from owncloud/individual-it-patch-1
[tests-only] fix test documentation
2020-12-16 19:56:43 +05:45
Dipak Acharya 808b2d7d2d [docs-only] make OCIS name consistent throught the docs 2020-12-16 19:49:19 +05:45
Artur Neumann e23a233e55 tests need to be executed from the oc10 repo 2020-12-16 19:17:43 +05:45
Artur Neumann bd5c864557 no LDAP or REDIS is needed to run tests 2020-12-16 19:17:43 +05:45
Michael Barz a63aea7e64 prepare 1.0.0 Release 2020-12-16 13:46:05 +01:00
Alex Unger 37514f62de Automated changelog update [skip ci] 2020-12-16 12:43:46 +00:00
Alex Unger bf7ae4f33b Merge pull request #1091 from owncloud/feature/update-ocis-public-links 2020-12-16 13:43:11 +01:00
A.Unger 9196636fd0 Merge branch 'master' into feature/update-ocis-public-links 2020-12-16 13:07:42 +01:00
Phil Davis 5c54876b5e [tests-only] Bump webCommit for UI tests (#1115)
* Bump webCommit for UI tests

* copy filesForUpload after checking out the web commit
2020-12-16 13:05:48 +01:00
A.Unger cce2e2be3d update changelog 2020-12-16 12:36:05 +01:00
A.Unger d939357552 Revert "temporary commit id change"
This reverts commit 5ad37c3b58.
2020-12-16 12:30:35 +01:00
A.Unger 5ad37c3b58 temporary commit id change 2020-12-16 12:17:51 +01:00
A.Unger 85a387f466 Merge branch 'master' into feature/update-ocis-public-links 2020-12-16 11:45:23 +01:00
Willy Kloucek e481eccbdf Merge pull request #1112 from owncloud/fix_docs
[docs-only] fix basic management commands
2020-12-16 11:21:37 +01:00
Willy Kloucek 6e210de1b1 fix basic management commands 2020-12-16 11:20:04 +01:00
Willy Kloucek c87fde3c75 Merge pull request #1113 from owncloud/fix_docs_only
[docs-only] [CI only] fix docs-only pipelines
2020-12-16 11:17:50 +01:00
Willy Kloucek 85d85d17b7 fix docs-only 2020-12-16 11:00:03 +01:00
A.Unger bf3ff8509c update reva to 5207197 2020-12-16 10:58:52 +01:00
A.Unger 0578abb70c Merge branch 'master' into feature/update-ocis-public-links 2020-12-16 10:55:13 +01:00
A.Unger 9cd6ca7948 update reva on ocis 2020-12-16 10:55:01 +01:00
Phil Davis 461afd4d57 Automated changelog update [skip ci] 2020-12-16 02:35:22 +00:00
Phil Davis 58938f7631 Merge pull request #1110 from owncloud/web-update-1.0.0-beta4
Update web to 1.0.0-beta4
2020-12-16 08:19:50 +05:45
Benedikt Kulmann 2e55d8df69 Update web to 1.0.0-beta4 2020-12-16 00:23:41 +01:00
Phil Davis 50ffe63303 Automated changelog update [skip ci] 2020-12-15 17:33:12 +00:00
Phil Davis 80cb4f5e53 Merge pull request #1108 from owncloud/update-pman
Update OCIS Runtime
2020-12-15 23:17:41 +05:45
A.Unger 03a361adde add changelog 2020-12-15 22:45:37 +05:45
A.Unger fa477e4f62 fetch pman 2020-12-15 22:45:37 +05:45
Phil Davis d6f5d663fe Merge pull request #1060 from owncloud/update-excpected-failures
[tests-only] Updates expected failures with product issues
2020-12-15 22:45:09 +05:45
Phil Davis fc32ebbf23 Bump commit id for webUI tests 2020-12-15 22:18:50 +05:45
Benedikt Kulmann 712619e443 Update expected failures with product issues 2020-12-15 22:18:50 +05:45
Benedikt Kulmann d217ed12b4 Merge pull request #1107 from owncloud/bump-core-commit-id-20201215
[tests-only] Bump core commit id for API tests
2020-12-15 17:21:08 +01:00
Benedikt Kulmann fb7c5603f7 Merge pull request #1109 from owncloud/disable-micro-web
Remove micro web
2020-12-15 17:17:50 +01:00
Benedikt Kulmann 646958921c Remove micro web 2020-12-15 16:42:38 +01:00
Phil Davis caf22fc172 Bump core commit id for API tests 2020-12-15 21:21:30 +05:45
Willy Kloucek fcbcb8350c Merge pull request #955 from owncloud/acceptance_tests_in_docker
acceptance tests in docker
2020-12-15 16:11:58 +01:00
Benedikt Kulmann 8c41a899d1 Automated changelog update [skip ci] 2020-12-15 14:30:06 +00:00
Benedikt Kulmann a60e7e67e4 Merge pull request #1105 from owncloud/web-update-1.0.0-beta3
Update oc web to 1.0.0-beta3
2020-12-15 15:27:41 +01:00
Benedikt Kulmann c097c783f1 Update oc web to 1.0.0-beta3 2020-12-15 14:56:22 +01:00
A.Unger fea44f8980 update readme 2020-12-15 14:21:34 +01:00
A.Unger b7fd7f4fe6 disable go-micro/micro/web service on runtime startup 2020-12-15 14:21:34 +01:00
A.Unger a5785fd5a8 add changelog 2020-12-15 14:21:34 +01:00
A.Unger 26642d4840 update reva to v1.4.1-0.20201214141740-063b3db9162b 2020-12-15 14:21:34 +01:00
Willy Kloucek e01f92daef Merge pull request #1104 from owncloud/increase_wait_for_ocis_timeout
[CI only] increase timeout to wait for oCIS server
2020-12-15 14:17:04 +01:00
Willy Kloucek 21ab406dca Merge pull request #1096 from owncloud/fix_glauth_ldaps_cert_key
make glauth respect file paths
2020-12-15 13:53:25 +01:00
Willy Kloucek 85958d032a increase timeout to wait for ocis server 2020-12-15 13:45:20 +01:00
Willy Kloucek 71684a0af4 Merge pull request #1101 from owncloud/fix_timeout_issues_ocis_server_ci
[CI only] wait for oCIS server to be started
2020-12-15 12:38:14 +01:00
Willy Kloucek 80fd135575 Merge pull request #1102 from owncloud/call-redis-selenium-functions-in-drone-star
[tests-only] Call redis() and selenium() functions in .drone.star
2020-12-15 12:31:58 +01:00
Willy Kloucek 6f145860d3 switch to thegeeklab/wait-for:latest 2020-12-15 12:05:08 +01:00
Phil Davis 882443858c Call redis() and selenium() functions in .drone.star 2020-12-15 16:42:50 +05:45
Willy Kloucek 668546a851 wait for oCIS server to be started 2020-12-15 11:48:56 +01:00
Willy Kloucek 01e88d67b0 do not overwrite any files 2020-12-15 10:09:33 +01:00
Willy Kloucek 368d6db248 generate only if not present 2020-12-15 10:06:35 +01:00
Willy Kloucek b42e507ab5 make glauth respect file paths 2020-12-15 09:53:32 +01:00
Benedikt Kulmann d3b4229f00 Automated changelog update [skip ci] 2020-12-15 08:33:28 +00:00
Benedikt Kulmann a8056f2a97 Merge pull request #1092 from owncloud/settings-permission-checks
Introduce permission checks for WRITE access via http
2020-12-15 09:32:59 +01:00
Willy Kloucek 1c409c64a1 implement acceptance tests in docker for dev machine 2020-12-15 08:36:34 +05:45
Phil Davis f9f90568b4 Merge pull request #1095 from owncloud/update-js-deps
[with-benchmarks] Update js deps
2020-12-15 08:21:18 +05:45
Benedikt Kulmann 633391e30d Set empty role ids array 2020-12-15 00:25:01 +01:00
Benedikt Kulmann df391d5966 Changelog 2020-12-15 00:25:01 +01:00
Benedikt Kulmann 7db02045b4 Introduce permission checks for WRITE access via http 2020-12-15 00:24:57 +01:00
Benedikt Kulmann 118f1a24ad Update js deps 2020-12-15 00:23:12 +01:00
Benedikt Kulmann dedf89c8dd Automated changelog update [skip ci] 2020-12-14 23:15:25 +00:00
Benedikt Kulmann c5f8eaf11d Merge pull request #1093 from owncloud/disable-assets-caching
Disable static assets caching
2020-12-15 00:14:43 +01:00
Benedikt Kulmann b3871d8e0b Disable static assets caching 2020-12-14 22:57:53 +01:00
Willy Kloucek ee2405089c Merge pull request #1070 from owncloud/remove_duplicate_STORAGE_FRONTEND_PUBLIC_URL
add note to duplicate STORAGE_FRONTEND_PUBLIC_URL
2020-12-14 15:53:09 +01:00
Phil Davis 0722d45352 Merge pull request #973 from owncloud/refactor_drone_definition
[tests-only] refactor drone definition
2020-12-14 20:30:24 +05:45
David Christofas ddfe2ba2b6 Merge pull request #1090 from owncloud/fix-web-client-id
rename owncloud web client id from phoenix to web
2020-12-14 15:26:44 +01:00
David Christofas f93006b2ee Automated changelog update [skip ci] 2020-12-14 13:42:04 +00:00
David Christofas 453b63349e rename owncloud web client id from phoenix to web 2020-12-14 14:18:15 +01:00
David Christofas eecdadbdfb Merge pull request #1089 from owncloud/update-reva
update reva
2020-12-14 14:11:48 +01:00
Willy Kloucek 8b73f7bbcc refactor drone starlark 2020-12-14 18:38:52 +05:45
David Christofas b60eece092 update reva to v1.4.1-0.20201209113234-e791b5599a89 2020-12-14 13:38:10 +01:00
Benedikt Kulmann 1456898cd8 Automated changelog update [skip ci] 2020-12-14 11:55:26 +00:00
Benedikt Kulmann e968cb0f14 Merge pull request #1080 from owncloud/make-all-paths-configurable
Make all paths configurable and default to a subdir of the /var/tmp/ocis
2020-12-14 12:16:32 +01:00
Willy Kloucek 5fd46a91e2 add hint about duplicate declaration 2020-12-14 11:42:07 +01:00
Willy Kloucek 4ef8ae2290 Revert "remove duplicate STORAGE_FRONTEND_PUBLIC_URL"
This reverts commit 21723b8040364a877823653e6cdefdf3fc723552.
2020-12-14 11:42:07 +01:00
Willy Kloucek 151d991b1d remove duplicate STORAGE_FRONTEND_PUBLIC_URL 2020-12-14 11:42:07 +01:00
Jörn Friedrich Dreyer 901be34476 Update changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-14 07:51:17 +00:00
Jörn Friedrich Dreyer 8a33993d76 Make all paths configurable and default to
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-14 07:51:17 +00:00
Lukas Hirt ee7b3213b3 Merge pull request #1041 from owncloud/rename-ocis-phoenix 2020-12-13 20:04:43 +01:00
Lukas Hirt 2e697e9c78 Bump commit ID 2020-12-13 17:37:32 +01:00
Lukas Hirt 487ff1e186 Rename last few occurences 2020-12-13 17:37:32 +01:00
Lukas Hirt 2f3e473e69 Update Web to 1.0.0-beta1 2020-12-13 17:37:32 +01:00
Lukas Hirt f5fcfd3f89 Pull phoenix tarball 2020-12-13 17:37:32 +01:00
Lukas Hirt 178749b8ac Use correct file in bin 2020-12-13 17:37:32 +01:00
Lukas Hirt 14f0bd9cc5 Add UI to flagset 2020-12-13 17:37:32 +01:00
Lukas Hirt 51421d7161 Rename files 2020-12-13 17:37:32 +01:00
Lukas Hirt 25b51fc368 Rename ocis-phoenix to ocis-web 2020-12-13 17:37:32 +01:00
Phil Davis 8ff6a8eac0 Merge pull request #1087 from owncloud/fix-webUI-suites-in-CI
[tests-only] Fix webUI suites running in CI
2020-12-13 22:14:14 +05:45
Phil Davis 79e04d4ede Fix webUI suites running in CI 2020-12-13 21:30:23 +05:45
Lukas Hirt db3468efbb Merge pull request #1083 from owncloud/dependabot/npm_and_yarn/onlyoffice/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8 in /onlyoffice
2020-12-13 11:26:22 +01:00
dependabot[bot] aa36967bce Bump ini from 1.3.5 to 1.3.8 in /onlyoffice
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:40:58 +00:00
Phil Davis 875c81ee94 Merge pull request #1073 from owncloud/disable-autoprovisioning
Disable auto-provisioning
2020-12-12 14:14:18 +05:45
Benedikt Kulmann 4734723b7e Merge pull request #1074 from owncloud/disable-autoprov2
Disable auto-provisioning in CS3 example
2020-12-11 23:10:11 +01:00
Ilja Neumann 3db08ece39 Automated changelog update [skip ci] 2020-12-11 18:03:57 +00:00
Ilja Neumann 7f77124a91 Disable auto-provisioning in CS3 example #1072 2020-12-11 18:39:32 +01:00
Ilja NeumannandWilly Kloucek c8668e8cb1 Example deployment using a cs3 user backend connected to ldap
This bypasses the accounts-service

Co-authored-by: Willy Kloucek <wkloucek@owncloud.com>
2020-12-11 18:34:43 +01:00
Ilja NeumannandJörn Friedrich Dreyer 92a1bc8fb6 Make it possible to use CS3 as accounts backend instead of account-service
Configureable via:
PROXY_ACCOUNT_BACKEND_TYPE=cs3
PROXY_ACCOUNT_BACKEND_TYPE=accounts (default)

By using a backend which implements the CS3 user-api (currently provided by reva/storage) it is possible to bypass
the ocis-accounts service and for example use ldap directly.

Hides user and auth related communication behind a facade (user/backend) to minimize logic-duplication across middlewares.
Allows to switich the account backend from accounts to cs3.

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-11 18:34:43 +01:00
Ilja Neumann d01e9453cf Disable auto-provisioning
Fixes a issue where deleted users get re-provisioned from claims. 
Issue #1072
2020-12-11 18:26:02 +01:00
Jürgen Weigert a3e3dcf561 Merge pull request #1068 from owncloud/fix_sharing_and_thumbnails_in_example_deployments
fix thumbnails and sharing in example deployments
2020-12-11 15:53:45 +01:00
Phil Davis 8ebd67020b Merge pull request #1065 from owncloud/examples-allow-loglevel-override
Suggest to allow env OCIS_LOG_LEVEL=debug docker-compose up ...
2020-12-11 20:04:43 +05:45
Florian Schade 3cf85fd163 fix formatting 2020-12-11 15:18:20 +01:00
Florian Schade 648d2287a7 watch users language and update the ui 2020-12-11 15:18:20 +01:00
Florian Schade 774620bc29 fix issue ocis-1043 in settings service 2020-12-11 15:18:20 +01:00
Willy Kloucek 699ff4f030 fix thumbnails and sharing 2020-12-11 15:15:54 +01:00
Alex Unger 0dfdcd7fb3 Merge pull request #1066 from owncloud/runtime-cleanup 2020-12-11 14:56:38 +01:00
A.Unger 7bba6bcb6a increase log level for missing config on default location to debug 2020-12-11 14:16:51 +01:00
A.Unger b9ce04338c add changelog 2020-12-11 14:14:42 +01:00
A.Unger 35774fec8b small defensive code additions 2020-12-11 14:13:15 +01:00
Juergen Weigert 4bbf2abdbe Suggest to allow env OCIS_LOG_LEVEL=debug docker-compose up ... 2020-12-11 13:31:15 +01:00
Willy Kloucek ea2a2b328e Merge pull request #1046 from owncloud/enable_collapse_docs
[docs-only] make menu lists collapsed
2020-12-11 13:29:11 +01:00
Phil Davis 67f727d884 Merge pull request #1062 from owncloud/fix_testing_upload_to_download_mirror
[docs-only] fix testing uploads
2020-12-11 16:40:29 +05:45
Willy Kloucek e1a0839c6e fix testing uploads 2020-12-11 11:15:38 +01:00
Willy Kloucek e8d9b43024 Merge pull request #1061 from owncloud/remove_AccountsDataPath
get rid of unused AccountsDataPath
2020-12-11 11:06:32 +01:00
Willy Kloucek 64a39ff3b5 Merge pull request #1049 from owncloud/use_default_path_for_example_deployments
use default paths
2020-12-11 10:20:25 +01:00
Willy Kloucek 80c8fd3fea use default paths 2020-12-11 09:36:55 +01:00
Willy Kloucek 78d2647a48 Merge pull request #1059 from owncloud/jnweiger-quoting-hell-in-yml
[docs-only] remove singlequotes around email address
2020-12-11 09:30:33 +01:00
Willy Kloucek 7f986a370d remove last reference 2020-12-11 08:48:32 +01:00
Willy Kloucek 8f26922003 remove singlequets for all other examples 2020-12-11 08:41:55 +01:00
Willy Kloucek 84e0d70323 get rid of unused AccountsDataPath 2020-12-11 08:33:02 +01:00
Jürgen Weigert cbbc930ba9 remove singlequotes aound email address
Traefik complains that `'example@example.com'` has invalid characters. The quotes must not be there.
2020-12-10 23:12:03 +01:00
Benedikt Kulmann 469b093fe8 Automated changelog update [skip ci] 2020-12-10 17:01:36 +00:00
Benedikt Kulmann 415af5facb Merge pull request #1035 from owncloud/disable-public-link-expiration
Disable public link expiration by default
2020-12-10 17:30:17 +01:00
Benedikt Kulmann c5f411ed72 Fix expected failure outcome 2020-12-10 16:51:25 +01:00
Willy Kloucek 98b226c8ff make menu lists collapsed 2020-12-10 10:10:13 +01:00
Phil Davis 74c1c1fb0e Merge pull request #1045 from owncloud/update-commit-ids-for-tests-20201210
[tests-only] Update commit ids for tests 20201210
2020-12-10 14:37:50 +05:45
Phil Davis 1c54b86374 Update commit id for uiTests 2020-12-10 13:56:38 +05:45
Phil Davis f474350ab0 Update commit id for apiTests 2020-12-10 13:55:55 +05:45
Jörn Friedrich DreyerandBenedikt Kulmann f6ac7b7863 Apply suggestions from code review
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2020-12-10 08:41:53 +01:00
Jörn Friedrich DreyerandPhil Davis da525aeb50 Oh my god? all the typos ...
so embarrassing. Thx @phil-davis

Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-12-09 15:56:29 +01:00
Jörn Friedrich Dreyer 972ef91f57 correct github nicks 2020-12-09 15:54:29 +01:00
Jörn Friedrich DreyerandAlex Unger cca8cb4386 Apply suggestions from code review
Co-authored-by: Alex Unger <6905948+refs@users.noreply.github.com>
2020-12-09 15:48:11 +01:00
Jörn Friedrich Dreyer 7fa0bf1d92 Introduce ADR
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-09 14:08:39 +00:00
Michael Barz 76fefa3255 Update CODEOWNERS 2020-12-08 17:08:48 +01:00
Lukas Hirt 049d89a7d1 Automated changelog update [skip ci] 2020-12-08 16:03:30 +00:00
Benedikt Kulmann c7d8ec1466 Disable public link expiration by default 2020-12-08 15:23:59 +01:00
Lukas Hirt 507ad7ba91 Merge pull request #1034 from owncloud/update-phoenix-0.29.0 2020-12-08 10:35:23 +01:00
Lukas Hirt 3fbe5063d8 Regenerate assets and improve generate command 2020-12-08 10:00:50 +01:00
Lukas Hirt 3b8680fb96 Use webhippie/nodejs images 2020-12-08 09:42:31 +01:00
Lukas Hirt 766b289c6e Update phoenix 0.29.0 2020-12-08 09:32:52 +01:00
Willy Kloucek 5373eb93c4 Merge pull request #1008 from owncloud/streamline_example_deployments
[docs-only] streamline example deployments
2020-12-07 11:58:47 +01:00
Willy Kloucek 664bbe0018 rename oCIS web to oC Web 2020-12-07 10:26:15 +01:00
Willy Kloucek 3325259b86 add changes from review 2020-12-07 10:15:27 +01:00
Willy Kloucek 2b18b3526d streamline and document examples 2020-12-07 08:27:06 +01:00
Willy Kloucek e8ebd1a173 add exmple: ocis with keycloak 2020-12-07 08:25:14 +01:00
Artur Neumann d3fe8b2bfc Merge pull request #1024 from owncloud/bump-core-commit-20201204
[tests-only] bump core & phoenix commid id
2020-12-07 09:23:41 +05:45
Artur Neumann 10c130f1f4 [tests-only] bump core & phoenix commid id 2020-12-07 08:53:52 +05:45
Alex Unger beb83f3f40 Merge pull request #1025 from owncloud/remove-unused-errors
Remove unused errors
2020-12-04 18:46:51 +01:00
Benedikt Kulmann fde9d88d7e Automated changelog update [skip ci] 2020-12-04 17:44:46 +00:00
Benedikt Kulmann 398a9ba8ab Merge pull request #1027 from owncloud/update-phoenix-0.28.0
Update phoenix assets to 0.28.0
2020-12-04 18:07:20 +01:00
Benedikt Kulmann a206fb176b Update phoenix commit id for CI 2020-12-04 17:37:13 +01:00
Benedikt Kulmann b2baafa227 Changelog 2020-12-04 17:13:20 +01:00
Benedikt Kulmann 0892add114 Update phoenix assets to 0.28.0 2020-12-04 17:10:16 +01:00
Alex Unger d446403d2e Merge pull request #1009 from owncloud/ocis-1132 2020-12-04 16:32:07 +01:00
Benedikt Kulmann a8b99f7f84 Automated changelog update [skip ci] 2020-12-04 15:04:13 +00:00
Ilja Neumann 61a8f00837 Remove unused errors 2020-12-04 15:50:22 +01:00
Benedikt Kulmann a591d65119 Merge pull request #1017 from owncloud/accounts-service-tracing
implement tracing in the account service
2020-12-04 15:32:47 +01:00
David Christofas 0c4d46ee2f implement tracing in the account service 2020-12-04 14:28:59 +01:00
A.Unger 5b5d3611ad add changelog 2020-12-04 14:22:16 +01:00
A.Unger d81e47cc7e add changelog 2020-12-04 14:09:55 +01:00
A.Unger 2cddc0a23c fix leftover typo 2020-12-04 13:53:34 +01:00
A.Unger f1521e4df7 refactor authentication.go 2020-12-04 13:51:48 +01:00
A.Unger 7d8336ce4b use regexp to assert routes, remove StatusRecorder 2020-12-04 13:17:25 +01:00
A.Unger ad4ea3efe7 Merge branch 'master' into ocis-1132 2020-12-04 12:39:57 +01:00
Willy Kloucek 864ab57e9b Automated changelog update [skip ci] 2020-12-04 07:51:19 +00:00
Willy Kloucek f8da4db59f Merge pull request #1007 from owncloud/proxy_allow_insecure_upstreams
make insecure upstream servers configurable
2020-12-04 08:23:16 +01:00
Willy Kloucek fe2efc3c46 change to InsecureBackends flag 2020-12-04 07:31:46 +01:00
Willy Kloucek 4c9d990478 tage default values from http.DefaultTransport 2020-12-04 07:31:46 +01:00
Willy Kloucek 200872b3b4 make insecure upstream servers configurable 2020-12-04 07:31:46 +01:00
Artur Neumann 5be1970322 Merge pull request #1021 from owncloud/update-commit-ids-for-tests
[tests-only] Update commit ids for tests
2020-12-04 09:08:04 +05:45
Phil Davis 5c05441044 Update core API test commit id 2020-12-04 08:36:41 +05:45
Phil Davis 151806157b Update phoenix UI test commit id 2020-12-04 07:33:14 +05:45
Phil Davis fd2a96af5a Fix typo in comment in .drone.star 2020-12-04 07:32:33 +05:45
Phil Davis 99279379d9 Automated changelog update [skip ci] 2020-12-03 16:53:50 +00:00
Phil Davis 778242e330 Merge pull request #983 from owncloud/improve-k6
[tests-only] [with-benchmarks] Improve k6
2020-12-03 22:07:36 +05:45
Phil Davis ddb4ffbfa1 Automated changelog update [skip ci] 2020-12-03 16:10:56 +00:00
Florian Schade bc362abdff Merge branch 'improve-k6' of https://github.com/owncloud/ocis into improve-k6 2020-12-03 16:49:36 +01:00
Florian Schade c77b5e8866 Merge branch 'master' into improve-k6 2020-12-03 16:49:11 +01:00
A.Unger f477f0354a Merge branch 'master' into ocis-1132 2020-12-03 16:42:45 +01:00
Phil Davis c905f6e736 Merge pull request #994 from owncloud/fix-ocs-shared-with-me
update reva & add share prefix to ocs shared with me paths
2020-12-03 21:24:51 +05:45
Willy Kloucek cb6513e6fa fix whitespaces 2020-12-03 16:27:13 +01:00
Florian Schade bd773b54ef add eslint
add prettier
integrate concept of runner libs to share tasks
2020-12-03 16:06:04 +01:00
David Christofas 96e75ceb2f update reva 2020-12-03 16:01:29 +01:00
David Christofas efa3769052 delete test and change phoenix branch and commit id 2020-12-03 16:01:10 +01:00
David Christofas b137d438af update reva 2020-12-03 16:00:56 +01:00
David Christofas 0dfc3d37e2 change phoenix branch and commit id 2020-12-03 16:00:41 +01:00
David Christofas 2f4faad754 add share prefix to ocs shared with me paths
Fixes: https://github.com/owncloud/product/issues/204
2020-12-03 16:00:22 +01:00
Florian Schade e7ee1c3c9e update changelog 2020-12-03 13:47:25 +01:00
A.Unger 2731dbd7b2 Merge branch 'master' into ocis-1132 2020-12-03 13:36:27 +01:00
A.Unger be46bacc5b use make(map[string]string) 2020-12-03 13:23:14 +01:00
Willy Kloucek bb99f44a35 fix drone definition 2020-12-03 13:22:10 +01:00
Jürgen Weigert a2cba4631f Merge pull request #1014 from owncloud/update-eos-base
update eos-base image
2020-12-03 13:17:27 +01:00
Willy Kloucek 594b094e54 add benchmarks to cron and add ci flag 2020-12-03 13:07:59 +01:00
Florian Schade f6493e503f update .drone.star 2020-12-03 12:28:12 +01:00
A.Unger 9a253370e8 export StatusRecorder 2020-12-03 12:22:35 +01:00
A.Unger c89ead3fc5 fix linter 2020-12-03 12:19:49 +01:00
Florian Schade abf89d4ba7 run k6 in quiet mode
move k6 to the after stage
2020-12-03 12:16:10 +01:00
A.Unger b9df6e417e use more inclusive language 2020-12-03 12:13:52 +01:00
A.Unger 3870246233 remove unused dep 2020-12-03 12:09:55 +01:00
A.Unger 8c83de7db2 document loadUserAgent 2020-12-03 12:03:59 +01:00
Artur Neumann e0e4585130 Merge pull request #1013 from owncloud/bump-core-commit-tus-option-expectations
[tests-only] adjust TUS OPTIONS test expectations to current behaiviour
2020-12-03 16:48:49 +05:45
Florian Schade f61184b1a2 revert reva replace directive 2020-12-03 12:03:04 +01:00
A.Unger ef4e573e42 split string by reversing it 2020-12-03 11:53:19 +01:00
Florian Schade a3d1e55d29 test ci 2020-12-03 11:52:46 +01:00
A.Unger 6753f38bf3 add utility function Reverse to ocis-pkg 2020-12-03 11:51:25 +01:00
Florian Schade 89f50668f9 Merge branch 'master' into improve-k6 2020-12-03 11:47:59 +01:00
Florian Schade de34fbb995 add linting
add prettier
add concurrent users upload test
add api and play for users
remove some code smell
2020-12-03 11:45:38 +01:00
Michael Barz 30cb165878 update eos images in compose files 2020-12-03 11:34:54 +01:00
Michael Barz 3a5a8dbb52 update eos-base image 2020-12-03 11:25:32 +01:00
Artur Neumann 5655ea4e05 [tests-only] adjust TUS OPTIONS test expectations to current behaiviour 2020-12-03 16:01:26 +05:45
A.Unger a9922343ef explain flags 2020-12-03 10:57:32 +01:00
Artur Neumann fc9e7f7cc9 Merge pull request #1011 from owncloud/bump-core-commit-20201203
[tests-only] bump oc10 test commit id to get TUS  tests
2020-12-03 12:52:50 +05:45
Artur Neumann 5cc6ca335a [tests-only] bump oc10 test commit id to get TUS tests 2020-12-03 09:58:43 +05:45
A.Unger c1dcfb655f undo pprof endpoint 2020-12-02 16:07:52 +01:00
A.Unger 0e322f518d Merge branch 'master' into ocis-1132 2020-12-02 16:03:34 +01:00
A.Unger 6cd2a3fcd6 use upstream PR provisionally 2020-12-02 16:02:33 +01:00
A.Unger e4974e020d minimal refactor 2020-12-02 15:51:39 +01:00
A.Unger 2910e88ba5 ugly working draft 2020-12-02 15:31:17 +01:00
Florian Schade 9ba8fcf08e simplify playbooks and api 2020-12-02 14:18:11 +01:00
Lukas Hirt 9cb3daa30a Merge pull request #1000 from owncloud/fix-onlyoffice-docs
Fix onlyoffice docs
2020-12-02 13:52:12 +01:00
Willy Kloucek d7a7a8f653 Merge pull request #1005 from owncloud/fix_gitignores_in_docs
[docs-only] fix gitignores in hugo docs
2020-12-02 12:41:41 +01:00
Willy Kloucek d69f58d28f fix gitignores in hugo docs by using filtered files from rsync 2020-12-02 12:36:30 +01:00
A.Unger 752cd4f626 first draft for configuring user agent multiplex on ocis 2020-12-02 12:04:09 +01:00
Phil Davis fd027ffd3d Merge pull request #1003 from owncloud/fix_docs_deployment
[docs-only] fix failed docs deployment
2020-12-02 16:40:09 +05:45
Lukas Hirt d39b68a03d Fix onlyoffice docs 2020-12-02 11:46:38 +01:00
Willy Kloucek 9ad7ac662c fix failed docs deployment 2020-12-02 11:43:17 +01:00
Willy Kloucek 7f8afe67ab Merge pull request #960 from owncloud/work_on_docs
work on docs
2020-12-02 10:34:09 +01:00
Phil Davis 6d9ea4a51a Merge pull request #996 from owncloud/uploadToMove-tusTests
[tests-only] bump core commit id for API tests
2020-12-02 12:33:27 +05:45
swoichha c04b6fafd9 small change in expected failure file 2020-12-02 11:44:09 +05:45
swoichha 7aad4d1638 bump core commit for api tests 2020-12-02 10:24:38 +05:45
swoichha 673d0e303b run tus test for upload to moved file 2020-12-02 10:22:19 +05:45
Florian Schade cc881c4c9a remove reports 2020-12-02 04:25:02 +01:00
Florian Schade 938b2ea576 add new tests
add ability to generate binary files at runtime
restructure package layout
2020-12-02 04:02:57 +01:00
Willy KloucekandPhil Davis c67012d880 Apply suggestions from code review
Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-12-01 20:38:02 +01:00
A.Unger 28e8f75ebd whitelist depending on the URI 2020-12-01 17:10:04 +01:00
A.Unger 348c54f2e7 write www-authenticate and delegate to reva 2020-12-01 16:57:36 +01:00
Florian Schade 1018725cdb Merge branch 'master' into improve-k6 2020-12-01 16:23:45 +01:00
Willy Kloucek 1689f744a4 correct current working state 2020-12-01 12:44:42 +01:00
Willy Kloucek 5d157fba8a remove building and licence sections for all extensions 2020-12-01 12:40:49 +01:00
Willy Kloucek 267223115d change sentence about working state 2020-12-01 12:31:50 +01:00
Lukas Hirt 31a81a4186 Automated changelog update [skip ci] 2020-12-01 11:18:35 +00:00
swoichha 21cccfcb7f run tus test for upload to moved file 2020-12-01 16:46:58 +05:45
Lukas Hirt 0fa1d5750e Merge pull request #857 from owncloud/onlyoffice-ext 2020-12-01 11:50:33 +01:00
A.Unger d82f485604 Merge branch 'master' into ocis-1132 2020-12-01 10:45:40 +01:00
Lukas Hirt dbecc7dcfb Add docs template 2020-12-01 10:00:32 +01:00
Phil Davis 45de881aca Merge pull request #995 from owncloud/bump-core-test-commit-20201201
[tests-only] bump core test commit id to get TUS chunking tests
2020-12-01 09:43:51 +05:45
Artur Neumann 27ef08f1af bump core test commit id to get TUS chunking tests 2020-12-01 09:07:01 +05:45
Benedikt Kulmann b17650af5a Fix docs build 2020-11-30 23:38:26 +01:00
Benedikt Kulmann 9d304cf91f Merge remote-tracking branch 'origin/master' into onlyoffice-ext 2020-11-30 22:51:41 +01:00
Benedikt Kulmann f2413d9453 Fix docs configuration file 2020-11-30 22:07:55 +01:00
Lukas Hirt 65b3f4f967 Adjust docs 2020-11-30 18:23:31 +01:00
Lukas Hirt a3853388d8 Fix wrong import 2020-11-30 17:55:57 +01:00
Lukas Hirt 0cc535ad51 Fix wrong name 2020-11-30 17:54:51 +01:00
Benedikt Kulmann db9b9ca252 Fix go vet 2020-11-30 17:53:44 +01:00
Phil Davis 266e1b1ac3 Merge pull request #992 from owncloud/set-log-level-warn
[tests-only] Set OCIS_LOG_LEVEL to warn in CI
2020-11-30 22:30:35 +05:45
Benedikt Kulmann bf1926f84f Switch ocis-pkg to recent version 2020-11-30 17:28:34 +01:00
A.Unger 5cb359d877 WIP 2020-11-30 17:19:03 +01:00
Benedikt Kulmann df414f639d Merge remote-tracking branch 'origin/master' into onlyoffice-ext 2020-11-30 16:49:22 +01:00
Benedikt Kulmann 61cd37113a Refactor http server 2020-11-30 16:48:48 +01:00
Willy Kloucek 62c7cab5d5 fix typo 2020-11-30 16:31:38 +01:00
Willy Kloucek d016090c17 add sentence to current working state 2020-11-30 16:31:38 +01:00
Willy Kloucek 34845f9414 work on docs 2020-11-30 16:31:38 +01:00
Phil Davis db4d61692a Set OCIS_LOG_LEVEL to warn in CI 2020-11-30 18:19:56 +05:45
Willy Kloucek d856d5470e Merge pull request #961 from owncloud/cache_ocis_build_artifact_for_testing
[tests-only] cache ocis build artifact for testing
2020-11-30 13:22:56 +01:00
Phil Davis 50382ee0e5 Merge pull request #982 from owncloud/expected-failures-tusTests
[Tests-Only] Add failing Tus test to expected failure file
2020-11-30 16:33:57 +05:45
Willy Kloucek 2394de10f7 fix cache purge 2020-11-30 11:43:01 +01:00
swoichha e25677bb20 updates core branch and commit id 2020-11-30 16:02:03 +05:45
Florian Schade c42a4c8ec3 cleanup defaults
update README.md
2020-11-30 10:54:41 +01:00
Alex Unger 441bded50f Automated changelog update [skip ci] 2020-11-30 08:55:56 +00:00
swoichha 7f7f1004a2 added failing tus test to expected failure file 2020-11-30 14:09:49 +05:45
Alex Unger 178eac9724 Merge pull request #981 from owncloud/fix-changelog-links
fix changelog links
2020-11-30 09:22:49 +01:00
Artur Neumann fd71062671 Merge pull request #977 from owncloud/bump-core-commit-id-20201128
[tests-only] Bump core commit for API tests
2020-11-30 14:07:28 +05:45
Jörn Friedrich Dreyer 127441fcf5 Automated changelog update [skip ci] 2020-11-30 07:48:56 +00:00
Phil Davis 693585c9b2 Bump core commit for API tests 2020-11-30 13:27:39 +05:45
Jörn Friedrich Dreyer 11467f8c20 Merge pull request #980 from owncloud/reva-update-202011-30
Update reva to ac85e68
2020-11-30 08:14:21 +01:00
Jörn Friedrich Dreyer e85291367e fix changelog links 2020-11-30 08:11:55 +01:00
Benedikt Kulmann 040c24606f Update reva to ac85e68 2020-11-30 07:37:31 +01:00
Florian Schade 1d2447f7ea update README.md 2020-11-30 02:37:58 +01:00
Florian Schade 599b2a6c29 add auth provider factory
add oidc cache and respect token lifetime
simplify account retrieval
2020-11-30 02:33:48 +01:00
Florian Schade 1558b2a472 ability to set username and password from env
rename OC_OCIS_HOST to OC_HOST to make it more clear that the oc10 api is backward compatible
2020-11-29 22:21:40 +01:00
Willy Kloucek e10c79c653 fix path 2020-11-28 15:08:20 +01:00
Willy Kloucek a3a6b1206e fix cache key 2020-11-28 13:24:32 +01:00
Willy Kloucek cba60d73c8 always trigger cache prune, even if previous pipelines failed 2020-11-28 12:47:47 +01:00
Willy Kloucek 0ec05a4f5e fix name which led to stuck drone ci 2020-11-28 12:01:43 +01:00
Willy Kloucek 4439a3109e purge build artifact cache after it is used anymore 2020-11-28 12:01:38 +01:00
Florian Schade 5ee7bad25c add benchmark tests
add more env variables
add oidc auth flow
add playbooks for better test reusability
add more api endpoints
update rollup config for test file transpilation
update test folder structure
split api package into smaller chunks
2020-11-27 23:20:53 +01:00
Florian Schade e39cd16617 add LastPasswordChangeDateTime to cache key 2020-11-27 16:18:22 +01:00
Florian Schade 2bc7f2175c straight out code because staticcheck error 2020-11-27 16:18:22 +01:00
Florian Schade 2a259dd3b1 add Unset to cache.go
harden accounts cache security
2020-11-27 16:18:22 +01:00
Alex Unger edde760f79 Automated changelog update [skip ci] 2020-11-27 13:01:40 +00:00
Willy Kloucek e2817731fc fix ci run when docs_only is somewhere in pr message, should only check title 2020-11-27 13:48:51 +01:00
Willy Kloucek 434163b503 cache ocis build artifcats for testing 2020-11-27 13:48:51 +01:00
Alex Unger d470d5c200 Merge pull request #971 from owncloud/reva-update-2020-11-27
Reva update v1.4.1-0.20201127111856-e6a6212c1b7b
2020-11-27 13:33:41 +01:00
A.Unger ca98d8287c update reva to v1.4.1-0.20201127111856-e6a6212c1b7b 2020-11-27 12:36:19 +01:00
Artur Neumann cda74f417e Merge pull request #970 from owncloud/bumpCoreTestsCommitId20201127
[tests-only] Bump core commit id for API tests
2020-11-27 17:00:49 +05:45
Artur Neumann 94443994ca Bump core commit id for API tests 2020-11-27 16:27:34 +05:45
Phil Davis d37701e899 Merge pull request #964 from owncloud/Ci_optimize_dependency_generation
[tests-only] optimize dependency generation
2020-11-27 15:13:42 +05:45
Willy Kloucek deeb9a8392 optimize dependency generation 2020-11-27 08:59:17 +01:00
David Christofas 6d3dc1cf4a Automated changelog update [skip ci] 2020-11-26 17:24:35 +00:00
David Christofas 0798f406ec Merge pull request #910 from owncloud/thumbnails-rewrite
change image library and refactor thumbnails service
2020-11-26 17:55:07 +01:00
Jörn Friedrich Dreyer dbb52f29ad Merge pull request #958 from owncloud/basic-auth-cache
implement basic auth cache
2020-11-26 17:33:47 +01:00
Phil Davis cda8aadf50 Merge pull request #956 from owncloud/fix_gopath_volume_caching
[tests-only] fix gopath volume for ocis modules testing
2020-11-26 22:01:52 +05:45
David Christofas c46a5598d4 change image library and refactor thumbnails service 2020-11-26 16:36:51 +01:00
Willy Kloucek da20db18bc fix gopath volume for ocis modules testing 2020-11-26 14:57:20 +01:00
Florian Schade cb2e2a3896 add changelog
remove unused mux
cleanup k6 test
2020-11-26 14:46:44 +01:00
Florian Schade 11ba46eb88 remove accounts cache from basic auth middleware
move cache to ocis-pkg
add password validation cache to accounts service
2020-11-26 13:52:24 +01:00
Benedikt Kulmann c5a75291f9 Merge pull request #957 from owncloud/reva-update-2020-11-26
Update reva to v1.4.1-0.20201125144025-57da0c27434c
2020-11-26 11:55:05 +01:00
Lukas Hirt 90e9a75b07 Add eslint config 2020-11-26 11:22:49 +01:00
Lukas Hirt 22067eb855 Do not check for vue files in lint 2020-11-26 11:19:07 +01:00
Lukas Hirt 6afa02e4e4 Add frontend to onlyoffice module 2020-11-26 11:13:12 +01:00
Lukas Hirt 79ec1d1034 Remove unnecessary files 2020-11-26 11:05:10 +01:00
Lukas Hirt 6522a41b26 Use extension config 2020-11-26 11:05:10 +01:00
Lukas Hirt 0d1b2de6bf Add icon 2020-11-26 11:05:10 +01:00
Lukas Hirt 55bfea4850 Remove onlyoffice from ocis-phoenix config 2020-11-26 11:05:10 +01:00
Lukas Hirt 6835a89364 Add codeowners 2020-11-26 11:05:10 +01:00
Lukas Hirt b634b69d10 Bring back actions for spreadsheets and presentations 2020-11-26 11:05:10 +01:00
Lukas Hirt 68b74d11da Create onlyoffice extension 2020-11-26 11:05:10 +01:00
Florian Schade e72328d738 fix typo 2020-11-26 11:00:10 +01:00
A.Unger a92703188a update expected failures on ocis + owncloud storage 2020-11-26 10:58:54 +01:00
Florian Schade 7cbbcadbdf add changelog 2020-11-26 10:51:09 +01:00
Florian Schade e334759874 implement basic auth cache 2020-11-26 10:33:46 +01:00
Benedikt Kulmann 63d1fca0ce Merge pull request #953 from owncloud/oidc-mw-provider
fix oidc middleware provider lazy initialization
2020-11-26 10:27:26 +01:00
A.Unger 5ef4025c29 update reva to v1.4.1-0.20201125144025-57da0c27434c 2020-11-26 10:23:29 +01:00
Phil Davis f16deed415 Merge pull request #937 from owncloud/update-testrunner
[Tests-Only] update testrunner commitid
2020-11-26 11:28:21 +05:45
Phil Davis 7cfdbcee60 Bump core commit id for API tests 2020-11-26 10:20:14 +05:45
Dipak Acharya 39bda3a109 [Tests-Only] update testrunner commitid 2020-11-26 10:16:31 +05:45
Florian Schade ab85245093 fix oidc middleware provider lazy initialization 2020-11-25 22:50:11 +01:00
Alex Unger d28f5ce7db Automated changelog update [skip ci] 2020-11-25 21:08:58 +00:00
Alex Unger c742389ebb Update reva to v1.4.1-0.20201125144025-57da0c27434c (#951)
* update ocis-reva

* add changelog

* remove passing scenario
2020-11-25 21:13:36 +01:00
Florian Schade 072042efaa make rollup externals accept globs 2020-11-25 12:42:16 +01:00
Phil Davis d744896a63 Merge pull request #946 from owncloud/bump-api-test-commit-id-20201125
[tests-only] Bump commit id for API tests
2020-11-25 17:03:00 +05:45
Phil Davis c2393a707d Automated changelog update [skip ci] 2020-11-25 09:32:36 +00:00
Phil Davis 68d093932e Bump commit id for API tests 2020-11-25 14:44:40 +05:45
Phil Davis 4294d6b364 Merge pull request #945 from owncloud/tests-at-top-level
[tests-only] move ocis/tests/acceptance up to tests/acceptance
2020-11-25 14:25:25 +05:45
Phil Davis d394e0d03c Merge pull request #943 from owncloud/update-phoenix-0.27.0
Update phoenix to 0.27.0
2020-11-25 14:04:57 +05:45
Phil Davis 1e772d176e Fixup tests/config references 2020-11-25 13:23:10 +05:45
Phil Davis 1cf5cf16e3 Adjust testing.md for the move of API test code to the root folder 2020-11-25 12:54:26 +05:45
Phil Davis 515f5a56fe Adjust location of EXPECTED_FAILURES_FILE 2020-11-25 12:51:04 +05:45
Phil Davis e35c37dd08 Adjust infrastructure for move of acceptance tests 2020-11-25 12:47:41 +05:45
Phil Davis d57f7a810c Move ocis/tests folder into root tests folder 2020-11-25 12:24:14 +05:45
Phil Davis 3c66e9a9af Rename test to tests and remove space from tsconfig.json file name 2020-11-25 12:21:49 +05:45
Benedikt Kulmann 3b36c79a28 Update phoenix to 0.27.0 2020-11-24 23:51:08 +01:00
Florian Schade fdee244bef Automated changelog update [skip ci] 2020-11-24 18:34:56 +00:00
Florian Schade 4452d165ca K6 Testing (#941)
* first k6 tests
2020-11-24 18:39:27 +01:00
Phil Davis a32c700cea Automated changelog update [skip ci] 2020-11-24 12:21:04 +00:00
Phil Davis 09181cbd64 Merge pull request #935 from owncloud/update-phoenix-0.2.6
Update ocis-web to 0.2.6
2020-11-24 17:10:56 +05:45
Benedikt Kulmann ee016ad991 Automated changelog update [skip ci] 2020-11-24 11:11:22 +00:00
Benedikt Kulmann 559f777ea7 Update assets again 2020-11-24 11:12:38 +01:00
Benedikt Kulmann 049b35768a Merge pull request #934 from owncloud/set-expires-headers
Set expires headers and force asset revalidation
2020-11-24 11:09:16 +01:00
Dipak Acharya 398325d569 Merge pull request #936 from owncloud/fix-nightly
[CI] fix pipelines names in ci
2020-11-24 14:53:11 +05:45
Lukas Hirt df9e809181 Update ocis-web to 0.2.6 2020-11-24 10:03:07 +01:00
Dipak Acharya 1a32be2b94 [CI] fix pipelines names in ci 2020-11-24 13:37:27 +05:45
Phil Davis edcb61f957 Merge pull request #923 from owncloud/fix-nightly
[tests-only] [CI] fix the nightly builds pipelines
2020-11-23 21:47:45 +05:45
Phil Davis bdb04a34e8 Merge pull request #928 from owncloud/singleSuitePipeline
[tests-only] allow single suite pipeline to be defined without a list
2020-11-23 21:11:53 +05:45
Dipak Acharya 6002398e6b [CI] fix the nightly builds pipelines 2020-11-23 20:18:20 +05:45
Phil Davis f42031a4f4 Automated changelog update [skip ci] 2020-11-23 13:57:59 +00:00
Artur Neumann d77db16062 allow single suite pipeline to be defined without a list 2020-11-23 18:43:13 +05:45
Phil Davis 6b07aeda85 Merge pull request #823 from butonic/update-reva-to-v1.3.1-0.20201109104617-f47d01b73dec
Update reva to v1.4.1-0.20201118150422-667197a6b674
2020-11-23 18:42:32 +05:45
Benedikt Kulmann 48169de239 Changelog 2020-11-23 13:18:24 +01:00
Benedikt Kulmann 5de15f4d12 Force web asset re-validation (on last modification date) 2020-11-23 13:16:49 +01:00
Benedikt Kulmann 005825bbc9 Set proper expires header 2020-11-23 13:06:05 +01:00
Benedikt Kulmann 1621a0d3ab Fix changelog 2020-11-23 12:56:18 +01:00
Benedikt Kulmann a9a2bbf7c6 Pin phoenix in drone to a32cdff6ba76ec3438bd348715aeed0ae593d6ed 2020-11-23 12:56:18 +01:00
Benedikt Kulmann ffa21a3165 Update reva to v1.4.1-0.20201123062044-b2c4af4e897d 2020-11-23 12:56:18 +01:00
David Christofas e5369a4470 update reva to v1.4.1-0.20201120104232-f5afafc04c3b 2020-11-23 12:56:18 +01:00
Jörn Friedrich Dreyer f211bda1b6 update to reva 1.4.1-0.20201118150422-667197a6b674
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-23 12:56:18 +01:00
Jörn Friedrich Dreyer a433db46c4 document different behaviour in tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-23 12:56:18 +01:00
Jörn Friedrich Dreyer 52ea234fa9 update test failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-23 12:56:18 +01:00
Jörn Friedrich Dreyer a17248f747 configure user share json file for drone
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-23 12:56:17 +01:00
Jörn Friedrich Dreyer 2ba57ac887 update reva to 20201112131316-1c425035c8a2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-23 12:56:17 +01:00
Willy Kloucek b614ad1670 Merge pull request #852 from owncloud/remove_root_makefile
remove root Makefile and get rid of cd in drone ci
2020-11-23 11:06:06 +01:00
Willy Kloucek 0e1840a03c fix coverage upload 2020-11-23 09:14:35 +01:00
Willy Kloucek 29c3974ccd add hints about directory context 2020-11-23 09:14:32 +01:00
Willy Kloucek 90e2651e06 remove acceptance tests from storage 2020-11-23 09:12:45 +01:00
Willy Kloucek cbcf82136d remove root Makefile and get rid of cd in drone ci 2020-11-23 09:12:45 +01:00
Phil Davis bdb7433926 Merge pull request #926 from owncloud/resharingCommentDrone
delete comment about resharing in drone
2020-11-23 13:38:17 +05:45
Artur Neumann 49d5a3ee4f delete comment about webUIResharing suite 2020-11-23 13:33:49 +05:45
Phil Davis b58dc7cf33 Merge pull request #922 from owncloud/bumpPhoenixCommit20201123
[tests-only] bump phoenix commit id for tests and add new suites
2020-11-23 13:26:01 +05:45
Artur Neumann 55bd68d217 bump phoenix commit id for tests 2020-11-23 12:07:54 +05:45
Phil Davis d1543f76a2 Merge pull request #906 from owncloud/enable-nightly-test
[CI] enable nightly test runs
2020-11-23 11:15:49 +05:45
Michael Barz d5e889e9cf Merge pull request #920 from owncloud/fix-downloads-in-bridge
Add option to disable signing keys in the proxy
2020-11-21 20:08:51 +01:00
Benedikt Kulmann bc6227e8fd Fix test 2020-11-21 07:58:19 +01:00
Benedikt Kulmann 90ffb54251 Automated changelog update [skip ci] 2020-11-20 20:04:04 +00:00
Benedikt Kulmann b8fee3f37d Merge pull request #912 from owncloud/serve-index-html
Serve index html
2020-11-20 20:00:57 +01:00
Benedikt Kulmann edc252e1a0 Add option to disable signing keys in the proxy 2020-11-20 16:04:22 +01:00
David Christofas 206980238c Merge pull request #915 from owncloud/ocis-version-command
add version command to ocis
2020-11-20 15:17:34 +01:00
Benedikt Kulmann c362ff2736 Merge pull request #813 from owncloud/bugfix/811
Enable dynamic client registration
2020-11-20 14:54:07 +01:00
David Christofas a979b66129 add version command to ocis 2020-11-20 14:13:30 +01:00
Phil Davis f02d80d7aa Merge pull request #907 from owncloud/bump-core-commit-20201120
[tests-only] Bump core commit id for API tests
2020-11-20 18:31:59 +05:45
Lukas Hirt b345413b88 Automated changelog update [skip ci] 2020-11-20 12:23:23 +00:00
Lukas Hirt 4bf0faf00c Merge pull request #909 from owncloud/fix-accounts-scroll 2020-11-20 12:28:47 +01:00
Benedikt Kulmann 40449ac875 Regenerate assets 2020-11-20 11:13:55 +01:00
Thomas Müller 0859316571 Fixes #811 - enable dynamic client registration
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-20 10:54:45 +01:00
Benedikt Kulmann 54f9505787 Add changelog 2020-11-20 10:51:41 +01:00
Benedikt Kulmann d91008c3c2 Serve index.html in static middleware 2020-11-20 10:47:17 +01:00
Lukas Hirt 7f7b0e5421 Fix accounts list scroll 2020-11-20 10:03:55 +01:00
Phil Davis 0a8c19a30a Bump core commit for API tests to imclude cor PR 38131 2020-11-20 14:05:43 +05:45
Phil Davis 9ccba00fa8 Use phpunit9 in acceptance tests 2020-11-20 11:58:10 +05:45
Phil Davis 0c7a3fc08d Bump core commit to include core PR 38130 2020-11-20 11:56:22 +05:45
Dipak Acharya 8d5b52121d [CI] enable nightly test runs 2020-11-20 10:56:55 +05:45
Phil Davis e26578b038 Adjust behat composer.json for API tests to be like oC10 core 2020-11-20 10:03:04 +05:45
Phil Davis dfd6a86fe7 Bump core commit id for API tests 2020-11-20 10:01:29 +05:45
Felix Böhm 0ea04c02f9 Merge pull request #874 from owncloud/improve_docs
[docs-only] improve docs
2020-11-19 14:27:05 +01:00
Willy Kloucek e91d67e29a [docs-only] work on getting started and deployment examples docs 2020-11-19 14:22:59 +01:00
David Christofas 2dcaae3aaa Merge pull request #899 from owncloud/logout-fix-bridge
[docs-only] fix logout from OC10
2020-11-19 13:05:06 +01:00
David Christofas 5dbe8ef8d6 fix logout from OC10
add redirect uris for logout from oc10
2020-11-19 13:00:47 +01:00
Phil Davis b4b4574935 Merge pull request #889 from owncloud/add-access-log
Add access-log
2020-11-19 11:51:30 +05:45
Jörn Friedrich DreyerandPhil Davis 5196a2edcd Update changelog/unreleased/proxy-access-log.md
Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-11-19 09:05:24 +05:45
Ilja Neumann c2aa4b02de Add access-log 2020-11-19 09:05:24 +05:45
David Christofas fe8586643f Automated changelog update [skip ci] 2020-11-18 17:27:12 +00:00
David Christofas f51890c788 Merge pull request #894 from owncloud/check-role-management-permissions
add permission check to role management
2020-11-18 17:34:00 +01:00
Benedikt Kulmann 731e2f79b4 Automated changelog update [skip ci] 2020-11-18 15:41:30 +00:00
David Christofas 2f69265a66 add permission check to role management 2020-11-18 16:30:51 +01:00
Benedikt Kulmann 49ac58815d Merge pull request #868 from owncloud/update-phoenix-0.25.0
Update phoenix 0.25.0
2020-11-18 15:48:44 +01:00
Lukas Hirt c267de48b7 Merge pull request #887 from owncloud/choose-account-page-branding
Theme welcome and choose your account pages
2020-11-18 15:18:41 +01:00
Phil Davis a643ad4acd Merge pull request #886 from owncloud/show-basic-auth-warning-on-startup-only
Show basic_auth warning only on startup
2020-11-18 19:25:33 +05:45
Lukas Hirt 5e4e89d26a Theme welcome and choose your account pages 2020-11-18 14:10:55 +01:00
Benedikt Kulmann fdd28993b0 Changelog 2020-11-18 13:54:39 +01:00
Benedikt Kulmann aa6f1c0ca5 Update phoenix assets to 0.25.0 2020-11-18 13:54:39 +01:00
Benedikt Kulmann 38e2f89218 Update phoenix commit id 2020-11-18 13:54:39 +01:00
Benedikt Kulmann bd6b335da0 Merge pull request #877 from owncloud/proxy-caching
Caching in Proxy
2020-11-18 13:13:25 +01:00
Ilja Neumann 79e7f85a57 Show basic_auth warning only on startup 2020-11-18 12:51:41 +01:00
Phil Davis 37b8f3a303 Merge pull request #853 from owncloud/enable-more-test
[tests-only] Add group tests on expected failure file
2020-11-18 17:01:42 +05:45
Benedikt Kulmann f3b10816c0 Changelog 2020-11-18 12:11:17 +01:00
Benedikt Kulmann 08e218aa3e Use expiration from access token if available 2020-11-18 12:08:23 +01:00
Dipak Acharya 358cf12403 [Tests-Only] Update issue tags for failing tests 2020-11-18 16:06:18 +05:45
Benedikt Kulmann a410d40166 Make userinfo cache configurable 2020-11-18 11:15:51 +01:00
Benedikt Kulmann f2c653aeec Remove default application_type values from identifier registration 2020-11-18 11:13:52 +01:00
Dipak Acharya 4bb64c81bb [Tests-Only] Enable group tests in CI 2020-11-18 14:41:28 +05:45
Michael Barz 94ceea6f6c Merge pull request #878 from owncloud/fix-yml-for-rc5
introduce OCIS_EOS_TAG and BRANCH into docker-compose-eos-test.yml
2020-11-18 09:20:46 +01:00
Benedikt Kulmann f1082ca033 Fix comments 2020-11-18 08:48:38 +01:00
Artur Neumann ca785ec57c Merge pull request #882 from owncloud/individual-it-patch-1
fix redis address variable name
2020-11-18 13:31:07 +05:45
Artur Neumann a233f5474c fix redis address variable name 2020-11-18 12:28:25 +05:45
Jürgen Weigert 1ac6cf5489 Usage comments added to docker-compose-eos-test.yml 2020-11-17 21:31:05 +01:00
Juergen Weigert fe2ca059e6 introduce OCIS_EOS_TAG and BRANCH to better pin a version build from source or a build with an image from docker hub. 2020-11-17 21:16:27 +01:00
Benedikt Kulmann b136966b51 Move claim retrieval (from endpoint or cache) into function 2020-11-17 17:25:48 +01:00
Benedikt Kulmann a5c09453b9 First implementation for userinfo cache without config 2020-11-17 17:10:14 +01:00
Benedikt Kulmann 1034548ecd Merge pull request #859 from owncloud/refactor-middlewares
reduce middleware complexity
2020-11-17 15:34:05 +01:00
Benedikt Kulmann e0f4c69ea6 Remove tests from expected failures 2020-11-17 14:30:39 +01:00
Benedikt Kulmann 3600d17eba Fix basic auth middleware for public links context 2020-11-17 12:39:56 +01:00
Benedikt Kulmann 1bcdf15bde Remove already implemented TODO 2020-11-17 12:23:40 +01:00
Benedikt Kulmann f721caac90 Fix logs messages 2020-11-17 12:19:59 +01:00
Florian Schade 9798b49a7e use ocis DefaultClient instead of micros DefaultClient 2020-11-17 11:32:12 +01:00
Florian Schade 982223c7be fix signedURL expiry validation 2020-11-17 11:32:12 +01:00
Florian Schade 8be5323276 linting and other cleanups 2020-11-17 11:32:12 +01:00
Florian Schade f8aa1a5e08 refactor middlewares and reduce technical complexity
restructure server command and remove cfg.OIDC.Issuer switch, oidc middleware detects now if it should used or not
fix #761
2020-11-17 11:32:12 +01:00
Willy Kloucek f2a1c06145 fix typos, force oCIS and add links 2020-11-17 11:05:14 +01:00
Benedikt Kulmann 2d5401d9db Merge pull request #869 from owncloud/fix-bridge-oc10-links
[docs-only] Fix link urls to oc10 in web config
2020-11-17 10:51:35 +01:00
Benedikt Kulmann 2c40aa8f5a Fix link urls to oc10 in web config 2020-11-17 08:22:02 +01:00
Willy Kloucek 20eae462b3 fix exit path for commands templates 2020-11-17 07:59:48 +01:00
Benedikt Kulmann d84d7bb4d1 Automated changelog update [skip ci] 2020-11-17 02:51:25 +00:00
Benedikt Kulmann 0e86bd858a Merge pull request #866 from owncloud/asset-caching
Asset caching
2020-11-17 02:52:06 +01:00
Michael Barz 1700f22f8b Automated changelog update [skip ci] 2020-11-16 23:39:16 +00:00
Michael Barz 104821d190 Merge pull request #861 from owncloud/fix_notification_on_failing_pipeline
fix status trigger for missing notification on failing pipelines
2020-11-16 23:39:59 +01:00
Benedikt Kulmann 4ca7382104 Changelog 2020-11-16 23:27:35 +01:00
Benedikt Kulmann 9c6dac8328 Add caching for static web assets 2020-11-16 23:22:56 +01:00
Benedikt Kulmann aaf9029a3e Rename "Cache" middleware to "NoCache" 2020-11-16 22:13:26 +01:00
Willy Kloucek 5c3b0ee697 fix status trigger for missing notification on failing pipelines 2020-11-16 15:02:20 +01:00
Lukas Hirt 31401cdbae Merge pull request #846 from owncloud/fix-dispatch-on-choose-account 2020-11-13 11:56:39 +01:00
Lukas Hirt 51b532804b Create static folder first 2020-11-13 10:48:35 +01:00
Lukas Hirt b9d416b93b Define dispatch 2020-11-13 10:43:55 +01:00
Michael Barz b09072be64 Merge pull request #851 from owncloud/cleanup_repository_and_docs
cleanup repository and docs
2020-11-13 09:18:32 +01:00
Willy Kloucek b47099349f Merge pull request #850 from owncloud/fix_fileupload_in_examples
fix file upload in examples
2020-11-13 09:12:09 +01:00
Willy Kloucek 00835efd44 remove accidentally added Makefile 2020-11-13 08:09:45 +01:00
Willy Kloucek f7bcbc8737 fix whitespaces 2020-11-13 08:09:45 +01:00
Willy Kloucek f8fc280bd3 enable makefiles for autogenerated doc 2020-11-13 08:09:45 +01:00
Willy Kloucek 026969bc25 remove auto generated config doc 2020-11-13 08:09:45 +01:00
Willy Kloucek f1fed2de81 add / edit templates for configuration docs 2020-11-13 08:09:45 +01:00
Willy Kloucek 48a519d0e4 add gitignore files for configuration.md 2020-11-13 08:09:45 +01:00
Willy Kloucek 8df6d2dc90 remove autogenerated files and add to gitignore 2020-11-13 08:09:45 +01:00
Willy Kloucek 32ca22a2ac fix STORAGE_DATAGATEWAY_PUBLIC_URL and STORAGE_DATAGATEWAY_PUBLIC_URL 2020-11-13 08:05:17 +01:00
Dipak Acharya b90a6b9a48 Merge pull request #839 from owncloud/add-tests-for-default-ACCOUNTS_HASH_DIFFICULTY
[tests-only] Add tests using the default ACCOUNTS_HASH_DIFFICULTY
2020-11-13 12:00:19 +05:45
Phil Davis d9b7372f79 Add apiBasic suite with default accounts_hash_difficulty 2020-11-13 09:11:14 +05:45
Phil Davis b10f0359fc Make ACCOUNTS_HASH_DIFFICULTY optional in .drone.star 2020-11-13 09:11:14 +05:45
Jörn Friedrich Dreyer 2381fab7be Merge pull request #826 from owncloud/eos-ocis-fix-config
remove usage of missing config folder
2020-11-12 23:05:03 +01:00
Alex Unger 63d98d0776 Merge pull request #845 from owncloud/run-tidy-globally 2020-11-12 20:39:13 +01:00
A.Unger cefbaa67d2 rerun 2020-11-12 19:42:35 +01:00
A.Unger c116e2a025 Merge branch 'master' into run-tidy-globally 2020-11-12 19:42:02 +01:00
Alex Unger d4f2442f75 Automated changelog update [skip ci] 2020-11-12 13:59:22 +00:00
Alex Unger f90d0d610e Merge pull request #840 from owncloud/ocis-1018
Tweak go-micro behavior
2020-11-12 13:59:12 +01:00
Benedikt Kulmann 5a49241f26 Merge pull request #843 from owncloud/fix-tracing-service-names
Fix tracing service names
2020-11-12 13:32:39 +01:00
A.Unger 641fd2703a make version command registry aware 2020-11-12 11:53:37 +01:00
A.Unger 411ad41f2b add changelog 2020-11-12 11:34:19 +01:00
A.Unger f2546c6191 run go mod tidy globally 2020-11-12 11:31:49 +01:00
A.Unger 092723bfb9 add changelog 2020-11-12 11:24:30 +01:00
Jörn Friedrich Dreyer 9fd9e57df7 Merge pull request #800 from owncloud/bridge-deployment-fixes
using special powers to merge as requested by @IljaN
2020-11-12 11:09:57 +01:00
A.Unger 634c06571c go mod tidy, recommended to run go mod vendor on your machine. Fix linter 2020-11-12 10:33:03 +01:00
A.Unger bdfea8ee2e refactor registry awareness logic 2020-11-12 09:50:59 +01:00
d311d415b1 Example on how to deploy ocis-web in front of ownCloud10
This deployment scenario shows how to use ocis as frontend for an existing ownCloud 10 production installation. It enables
ownCloud 10 users to log in and work with their files using the new ocis-web UI. While the scenario includes
an ownCloud 10 instance, it only exists to show the necessary configuration for your already existing ownCloud 10
installation.

The setup can be used for:
- Trying out the new UI on ownCloud 10. Users can switch dynamically
- It is a prequisite for future zero-downtime migrations.

Co-authored-by: Ilja Neumann <ineumann@owncloud.com>
Co-authored-by: Jan Müller <jan.mueller@catdev.io>
Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-11-12 09:48:33 +01:00
A.Unger 89ccb8110d external service registration aware of different registries 2020-11-12 09:30:14 +01:00
Benedikt Kulmann 31dd0f0d6e Add to existing changelog 2020-11-11 21:09:50 +01:00
Benedikt Kulmann 4059b8e0a0 Fix service name tracing config 2020-11-11 21:08:46 +01:00
A.Unger 9104aaa3f7 Merge branch 'master' into ocis-1018 2020-11-11 20:17:40 +01:00
Benedikt Kulmann f19acadd1b Merge pull request #842 from owncloud/ocis-root-config
Ocis root config
2020-11-11 19:44:35 +01:00
Benedikt Kulmann 295b945123 Changelog 2020-11-11 17:14:54 +01:00
Benedikt Kulmann 15df700b27 Move default configs to root level 2020-11-11 17:12:14 +01:00
A.Unger c3ab3e7985 fix linter 2020-11-11 16:12:41 +01:00
A.Unger 951a441f65 cleanup old comments 2020-11-11 15:52:13 +01:00
A.Unger 83d9b0c97d Merge branch 'master' into ocis-1018 2020-11-11 15:38:46 +01:00
A.Unger 39deac6e74 parse address from MICRO_REGISTRY_ADDRESS 2020-11-11 15:36:53 +01:00
A.Unger d0e28b6345 rely on MICRO_REGISTRY to swap registries 2020-11-11 15:28:22 +01:00
A.Unger 4c1f14fc47 use etcd as registry on rpc client 2020-11-11 14:08:58 +01:00
Phil Davis dc61b11850 Merge pull request #798 from owncloud/remove_toImplementOnOcis_tags
[Tests-Only] Bump latest core commit after toImplementOnOcis tags is removed
2020-11-11 16:37:17 +05:45
A.Unger 76c633e650 wip 2020-11-11 11:50:53 +01:00
David Christofas c9c3f5c8fa Automated changelog update [skip ci] 2020-11-11 10:15:01 +00:00
Phil Davis 0bf60e07a5 Split core API tests into 10 pipelines 2020-11-11 15:45:03 +05:45
jasson99 62b51fb75e bump latest core commit to run tests previously tagged with toImplementOnOcis tags 2020-11-11 15:44:51 +05:45
David Christofas efe3702cea Merge pull request #638 from owncloud/accounts-change-hashing-algorithm
change hashing algorithm from SHA-512 to bcrypt
2020-11-11 10:14:36 +01:00
David Christofas 14063508bb make hash difficulty configurable 2020-11-11 10:26:33 +05:45
David Christofas 7115b6f661 change hashing algorithm from SHA-512 to bcrypt
Even though SHA-512 is currently considered a secure algorithm it is not the best choice for password hashing. As this change introduces a breaking change it is beast to introduce it as early as possible to prevent us from having to implement a migration strategy

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-11-11 10:26:33 +05:45
Phil Davis ec8a45a508 Merge pull request #836 from owncloud/bump-ui-test-commit-id-20201111
[tests-only] Bump phoenix commit id used for UI tests
2020-11-11 10:24:57 +05:45
Phil Davis f7e6974d13 Bump phoenix commit id used for UI tests 2020-11-11 09:44:15 +05:45
Phil Davis 6807676dc9 Automated changelog update [skip ci] 2020-11-11 03:16:09 +00:00
Phil Davis 7f1eef36d8 Merge pull request #808 from owncloud/fix-672
Use copy of config instead of modifying the original configuration
2020-11-11 08:19:39 +05:45
Alex Unger da25289ccc Update fix-672.md 2020-11-10 19:20:20 +01:00
Benedikt Kulmann 2ddc10286d Automated changelog update [skip ci] 2020-11-10 15:30:25 +00:00
A.Unger d6e25798f7 Merge branch 'master' into fix-672 2020-11-10 15:49:24 +01:00
Benedikt Kulmann ad3ecbde46 Merge pull request #835 from butonic/fix-820
fix 820 - race condition
2020-11-10 15:48:27 +01:00
Benedikt Kulmann f16c6ea38f Merge pull request #834 from owncloud/update-glauth
Update glauth
2020-11-10 15:47:34 +01:00
Jörn Friedrich Dreyer 0c6e8881c3 fix 820 - race condition
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-10 15:07:27 +01:00
Benedikt Kulmann 945f2ee5a9 Update glauth 2020-11-10 13:52:25 +01:00
Dipak Acharya 6a49e1f1af Merge pull request #822 from owncloud/bump-core-commit-id-20201109
[tests-only] Bump core commit for tests 2020-11-09
2020-11-10 14:53:18 +05:45
Phil Davis a26914e5aa Bump core commit for tests 2020-11-10 2020-11-10 13:14:30 +05:45
Felix Böhm abbdf80457 remove usage of missing config folder
fix #812
2020-11-09 15:53:16 +01:00
Benedikt Kulmann a627a405bd Automated changelog update [skip ci] 2020-11-07 07:48:58 +00:00
Benedikt Kulmann 869454fe39 Merge pull request #817 from owncloud/update-phoenix
update phoenix to version 0.24.0
2020-11-06 23:11:03 +01:00
Jörn Friedrich Dreyer c0268372d1 Automated changelog update [skip ci] 2020-11-06 22:04:47 +00:00
Jörn Friedrich Dreyer 66fd583a83 Merge pull request #816 from butonic/return-username-in-ocs-api
hide account.id in ocs api, use username
2020-11-06 21:53:35 +01:00
David Christofas 76b94bc885 update phoenix to version 0.24.0 2020-11-06 18:48:08 +01:00
Jörn Friedrich Dreyer 145671512a hide account.id in ocs api, use username
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-06 17:33:43 +01:00
Michael Barz 17198620ac [docs-only] Fix broken link 2020-11-06 13:56:37 +01:00
Phil Davis a45b5b7bd4 Merge pull request #802 from owncloud/update-core-commit-7a32acb
[Tests-Only] update core commitid for test runner
2020-11-06 18:32:44 +05:45
Dipak Acharya 5d9809e812 [Tests-Only] update core commitid for test runner 2020-11-06 17:49:06 +05:45
A.Unger ecd2b8474d ditto for seettings & webdav 2020-11-06 08:25:31 +05:45
A.Unger dbbe58e440 add changelog file 2020-11-06 08:25:31 +05:45
A.Unger bf2fa91690 do not override config, use shallow copy instead 2020-11-06 08:25:31 +05:45
Jörn Friedrich Dreyer d3820b8c8d Automated changelog update [skip ci] 2020-11-05 23:08:21 +00:00
Jörn Friedrich Dreyer 47a877c013 Merge pull request #809 from butonic/fix-konnectd
update assets with new default config
2020-11-05 23:27:20 +01:00
Jörn Friedrich Dreyer 3d1fa00948 add TODO to makefile
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 21:54:47 +01:00
Jörn Friedrich Dreyer be10ccfb49 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 17:22:54 +01:00
Jörn Friedrich Dreyer 908fd41797 update Makefile with generate steps for yarn
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 17:20:31 +01:00
Jörn Friedrich Dreyer 03dc337bc6 include updated web assets
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 17:14:09 +01:00
Jörn Friedrich Dreyer 13e6d21b81 update assets with new default config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 17:05:33 +01:00
Jörn Friedrich Dreyer c124102df2 Merge pull request #627 from butonic/add-basic-auth-option
add enable basic auth option and check permissions
2020-11-05 16:36:16 +01:00
Alex Unger 681885d06e Merge pull request #790 from butonic/add-scripts-folder 2020-11-05 16:03:16 +01:00
Alex Unger ca75ce7cfb Automated changelog update [skip ci] 2020-11-05 13:55:13 +00:00
Alex Unger 2d1d2d0c47 Merge pull request #675 from owncloud/config-housekeeping-proxy 2020-11-05 14:13:28 +01:00
Alex Unger 6b05e9296c Merge pull request #806 from owncloud/normalize-changelog-extensions
Normalize Changelog File Extensions
2020-11-05 14:10:32 +01:00
A.Unger 246969e376 normalize changelog extensions 2020-11-05 13:15:47 +01:00
Jörn Friedrich Dreyer fdfd4040b7 skip accounts web ui tests, as users can list themselves
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer cce074c1c1 also expect tests to fail on owncloud storage
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 470743cbd2 document deviation from core in ocis specific test
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer e184f330ff update expected failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 54c78adcb3 pass on basic auth for public links
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer d2719b176a groups can be managed using ocs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer e2b5d64618 fix recursive json marshaling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 2dcb38acf7 normal users cannot list all groups at the ocs endpoint
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 76c63ef696 close request bodies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer fbe3470ef3 /cloud/groups now returns a proper result body
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 46a11d42ca update proxy rules
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 99ecc4ea2a fix staticcheck
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer f1d970145b implement add group
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer aac932b6e0 fix tons of ocs tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer fc9cdf3bc8 fix nil reference
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 8157ac241e put back the role hole
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 481743a6ab glauth: send manage account role bundleid
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Benedikt Kulmann 117959e4ac update go.mod/sum from running ocis 2020-11-05 13:06:05 +01:00
Benedikt Kulmann b622e18f9a Fix role service mock 2020-11-05 13:06:05 +01:00
Benedikt Kulmann c954bcb49c Apply admin role to reva and konnectd users 2020-11-05 13:06:05 +01:00
Benedikt Kulmann 59be0d02c6 Use roleIDs instead of permissionIDs in tests 2020-11-05 13:06:05 +01:00
Benedikt Kulmann 3e0eb3edc2 Fix staticcheck 2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 7c7cefef9e mock roles and settings, mint token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 494f9aca88 enforce permissions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Phil Davis bb0878a3eb Remove passing scenarios from expected-failures 2020-11-05 13:06:05 +01:00
Phil Davis 17f93b6b1c Use current expected-failures from master 2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer b2072c83c9 update expected tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer f4116b2318 ocs v2 appframework quirks
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer c3d8a5bf51 ocs: allow users to look up other users
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer abce279355 allow self updating
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 1e02105101 ocs: enable/disable users
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich DreyerandPhil Davis b16f0d4d2c fix typo
Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer cac8f2ef04 distinguish badrequest and conflict / already exists errors
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 6382cdae3a provide issuer to account_uuid middleware to mint complete token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 538e2df026 partly fix unit tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 9adbc3b5c7 fix tests, one more account present
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 0dc6c8c3c0 reflect unauthenticated deviation in tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 6f46e1bccb use the account.id as ocis userid, tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 8af7d0979e adjust tests, add stubs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 8bedd0cf37 adjust test
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer b288fae10a update tests, forward failed basic auth to render correct error body
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 8e39d8b873 actually check permissions to fix tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Benedikt Kulmann 0574fbd738 Introduce admin:admin. webUI tests are hardcoded to that. 2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 4577f62b89 use correct password
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer ad531839a9 rebase and tidy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer fbfa05e9b6 always return 401 when auth fails
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer 2465b757f8 use moss as the admin account when running tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer cbbf31a7ce end requesrt when basic auth fails
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer d75d626695 add enable basic auth option
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-05 13:06:05 +01:00
A.Unger d9962eec76 add changelog 2020-11-05 13:03:22 +01:00
A.Unger fa7f137c04 parse ocis root config down to subcommands 2020-11-05 11:29:13 +01:00
A.Unger 5f1373b9ed Merge branch 'master' into config-housekeeping-proxy 2020-11-05 10:43:14 +01:00
Phil Davis 6598dfcaa3 Merge pull request #803 from owncloud/refactor-ocis-OCBugApi
[Tests-Only] Removed scenarios that were demonstrating Oc10 issue and already exists in core
2020-11-05 13:39:15 +05:45
swoichha 19d0c1e94f removed scenario from apiShareUpdate-updateShare.feature 2020-11-05 12:41:11 +05:45
A.Unger 90232153a0 update webdav dependencies 2020-11-04 16:01:45 +01:00
A.Unger 157e460945 normalize log messages to use lowercase 2020-11-04 16:00:09 +01:00
A.Unger a36c9cc3e6 adjust webdav 2020-11-04 15:42:12 +01:00
A.Unger 78d5f21587 adjust thumbnails 2020-11-04 15:38:36 +01:00
A.Unger 04cccd7651 adjust storage 2020-11-04 15:37:49 +01:00
A.Unger dae374b31a adjust settings 2020-11-04 15:35:33 +01:00
A.Unger cfa913e936 adjust ocs 2020-11-04 15:34:44 +01:00
A.Unger 1c6ff61c53 adjust phoenix 2020-11-04 15:33:14 +01:00
A.Unger 8bef86ca31 adjust konnectd 2020-11-04 15:24:46 +01:00
A.Unger 412a02b13f adjust glauth 2020-11-04 15:23:11 +01:00
A.Unger 0c39d74a30 Merge branch 'master' into config-housekeeping-proxy 2020-11-04 15:11:46 +01:00
Phil Davis 961b45669e Merge pull request #799 from owncloud/bump-core-commit-20201104
[tests-only] Bump core commit id to include test code of PR 38077
2020-11-04 17:53:12 +05:45
Benedikt Kulmann b13d665f45 Merge pull request #795 from owncloud/IljaN-patch-1
Add letsencrypt as named volume
2020-11-04 12:46:43 +01:00
Benedikt Kulmann 8deb5a6555 Merge pull request #793 from owncloud/improve_deployment_scenarios
Improve deployment scenarios
2020-11-04 12:46:03 +01:00
Phil Davis 28c6c480c8 Bump core commit id to include test code of PR 38077 2020-11-04 17:06:57 +05:45
Phil Davis 0ec1f1ce24 Merge pull request #781 from SamuAlfageme/fix_index_table
Fix md table on doc's index: use '|' as column delimiter
2020-11-04 14:19:05 +05:45
Alex Unger 510bfa3fc3 Automated changelog update [skip ci] 2020-11-03 20:41:54 +00:00
Alex Unger 10a55d78ee Merge pull request #794 from owncloud/ocis-715 2020-11-03 21:00:41 +01:00
A.Unger 35161f7833 Merge branch 'master' into ocis-715 2020-11-03 20:15:26 +01:00
Ilja Neumann 9499c8eb2d Add letsencrypt as named volume 2020-11-03 16:16:17 +01:00
A.Unger a4a69b714b add a changelog 2020-11-03 16:13:39 +01:00
A.Unger f17b153557 update test reflect hardcoded values 2020-11-03 16:10:05 +01:00
A.Unger 81b5615b6b the address of a variable cannot be nil... 2020-11-03 15:57:54 +01:00
Jan Müller 62ca4cd9d2 Fix webentrypoint for idpnode 2020-11-03 16:38:49 +02:00
A.Unger 430f4852e2 add replace on github.com/owncloud/ocis/storage 2020-11-03 15:36:30 +01:00
A.Unger 1168bdbb5d add recover branch 2020-11-03 15:33:41 +01:00
A.Unger 11dee33e3c update github.com/mennanov/fieldmask-utils@v0.3.3
slim down cofig
2020-11-03 15:33:27 +01:00
Jan Müller 94a9776828 Exclude deployments from codacy scan 2020-11-03 16:20:40 +02:00
Jan Müller 7e4e4b0514 Add http to https redirect to external idp setup 2020-11-03 15:57:15 +02:00
Jan Müller 224739cb5d Add redirect http to https to traefik 2020-11-03 15:51:56 +02:00
Jan Müller 155e4b45e9 Update env variables for ocis 2020-11-03 15:18:54 +02:00
Jan Müller 79dfa9a10d Add web client config for ocis 2020-11-03 15:16:28 +02:00
Jan Müller 7c2bcdf449 Fix allow cors redirectx 2020-11-03 15:15:54 +02:00
Jan Müller ea8a2dec56 Updates proxy.json 2020-11-03 15:11:16 +02:00
Jan Müller c307e762fe Fix oidc login for oc10, adds frontend switching tool 2020-11-03 15:09:38 +02:00
Jan Müller ff72a3dcf9 Updates oc10 from 10.5 to 10.6-beta1 2020-11-03 15:06:11 +02:00
Jan Müller a3b0336b16 Adds traefik http to https redirecting 2020-11-03 15:04:44 +02:00
Phil Davis 1478724a6d Merge pull request #792 from owncloud/bump-core-commit-id-20201103
[tests-only] Bump core commit for API tests
2020-11-03 16:45:32 +05:45
Phil Davis 7aaa76e847 Adjust expected-failures for core PR 38071 2020-11-03 16:01:17 +05:45
Phil Davis 681d0bc209 Bump core commit id to include core PR 38071 2020-11-03 15:32:09 +05:45
Phil Davis edcb44ba15 Adjust line numbers in expected-failures 2020-11-03 15:23:55 +05:45
Phil Davis 4eedb928e9 Bump core commit for API tests 2020-11-03 13:53:51 +05:45
Lukas Hirt 9791a8d28f Merge pull request #791 from owncloud/regenerate-assets
Regenerate assets
2020-11-02 21:00:50 +01:00
Simon Eisenmann e4279e910b Automated changelog update [skip ci] 2020-11-02 15:22:48 +00:00
Ilja Neumann 2599640f35 regenerate assets 2020-11-02 16:13:17 +01:00
Jörn Friedrich Dreyer e4a6aeb453 comment unused DIR
only needed for the ocis cli command
2020-11-02 15:40:37 +01:00
Simon Eisenmann f063d2f9a3 Fix processing for prompt select_account with consent
Multiple prompt values are allowed and this change fixes the check for
select_account if it was used together with other prompt values. Where
select_account previously was ignored, it is now processed as required,
fixing the use case when a RP wants to trigger select_account first
while at the same time wants also to request interactive consent.
2020-11-02 15:38:59 +01:00
Jörn Friedrich Dreyer a54076f61b add zombie script
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-11-02 15:12:59 +01:00
Jörn Friedrich Dreyer 3cab05aa88 Merge pull request #767 from owncloud/ocis-697
Support OData for search queries on the Indexer
2020-11-02 14:30:24 +01:00
A.Unger d378f072c2 Merge branch 'master' into ocis-697 2020-11-02 12:24:06 +01:00
Phil Davis e13b2efa42 Merge pull request #787 from owncloud/php-dependencies-for-composer-2.0
[tests-only] Adjust PHP dependencies for composer 2.0
2020-11-02 17:04:36 +05:45
Phil Davis c7071e72da Adjust PHP dependencies for composer 2.0 2020-11-02 16:19:37 +05:45
Phil Davis 37c711380c Merge pull request #784 from owncloud/expectedFailuresreShareAsPublicLinkToShares
[tests-only] adjust expected failures list after owncloud/core/pull/38056
2020-10-31 10:02:31 +05:45
Phil Davis afcc0fdfea Adjust apiWebdavPreviews/previews.feature line numbers 2020-10-31 08:53:46 +05:45
Artur Neumann 07cc1c7e70 bump core commit id 2020-10-31 08:47:15 +05:45
Artur Neumann aee21e096f adjust expected failures list after owncloud/core/pull/38056 2020-10-31 08:47:15 +05:45
Michael Barz 9b1f35f984 Automated changelog update [skip ci] 2020-10-30 16:26:22 +00:00
Michael Barz dac5410fcc Merge pull request #779 from butonic/introduce-docker-compose-eos-test
introduce docker-compose eos setup
2020-10-30 16:44:20 +01:00
Michael Barz 657ba76e78 Merge pull request #786 from owncloud/update-glauth
update glauth to 4f029234b2308
2020-10-30 16:41:18 +01:00
Benedikt Kulmann bb65534cd6 Automated changelog update [skip ci] 2020-10-30 15:07:52 +00:00
Benedikt Kulmann ba79843497 Merge pull request #785 from owncloud/update-phoenix-0.23.0
Update phoenix to 0.23.0
2020-10-30 15:26:07 +01:00
Michael Barz 10e2a289ab update glauth to 4f029234b2308 2020-10-30 15:24:53 +01:00
Michael Barz a20b882965 update glauth to 4f029234b2308 2020-10-30 14:33:57 +01:00
Benedikt Kulmann 13c6416c13 Update phoenix to 0.23.0 2020-10-30 14:16:18 +01:00
Michael Barz 72491b4dcc Merge pull request #770 from owncloud/document-version-cmd
[Docs-only] add version command to docs
2020-10-30 09:47:27 +01:00
Alex Unger 07be4c92d5 Merge branch 'master' into ocis-697 2020-10-29 17:50:29 +01:00
Samuel Alfageme d01b0170ed Fix md table on doc's index: use '|' as column delimiter 2020-10-29 17:03:08 +01:00
Alex Unger 6761f70959 try non unique? 2020-10-29 16:09:20 +01:00
Alex Unger 636caea217 add index on account.Id due to a rogue query 2020-10-29 15:24:26 +01:00
Phil Davis d34b5dcf92 Merge pull request #778 from owncloud/expectedFailuresTestsFavorites
[tests-only] expected failures of favourites tests
2020-10-29 17:27:41 +05:45
Artur Neumann 698328b140 expected failures of favorites tests 2020-10-29 16:24:23 +05:45
Jörn Friedrich Dreyer 6db6b22aaf introduce docker-compose eos setup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-29 11:23:30 +01:00
Artur Neumann 6b75bb1f2d Merge pull request #753 from owncloud/bump-core-commit-20201026
[tests-only] Bump core commit for tests
2020-10-29 13:47:49 +05:45
Phil Davis b0e009d1b3 Bump core commit again as at 20201029 2020-10-29 13:00:08 +05:45
Artur Neumann afd9bc2281 Bump core commit for tests 20201028 2020-10-29 13:00:08 +05:45
Phil Davis 819681e76d Bump core commit for tests 2020-10-29 13:00:08 +05:45
David Christofas 788b18f3a7 [Docs-only] add version command to docs
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-28 17:43:46 +01:00
A.Unger c72e212c91 first implementation of our own query tree and tree resolution
added godata dep

use correct godata dependency, enhance tests

refactor around indexer search tree

tests reflecting currently used queries

fix static checker

fix linter

replace old regexp with a calll to indexer.Query

fix linter

remove offenses
2020-10-28 16:02:44 +01:00
Michael Barz e686c6786b fix release Changelog destination 2020-10-28 09:56:22 +01:00
Michael Barz 573351b0d7 fix release Changelog 2020-10-28 09:18:53 +01:00
Benedikt Kulmann 92ae96600d Automated changelog update [skip ci] 2020-10-27 06:46:44 +00:00
Benedikt Kulmann 7948040317 Merge pull request #757 from owncloud/update-ocis-phoenix-0.22.0
Prepare release for phoenix 0.22.0
2020-10-27 07:01:57 +01:00
Michael Barz fbf06e91ea fix chat conditions 2020-10-26 22:35:27 +01:00
Michael Barz 1b2fc35b06 remove coonditions for notify pipeline 2020-10-26 22:23:45 +01:00
Benedikt Kulmann e854cd63a7 Adjust phoenix commit id for tests 2020-10-26 22:11:27 +01:00
Benedikt Kulmann a0ff3ed584 Prepare release for phoenix 0.22.0 2020-10-26 21:38:57 +01:00
Michael Barz 7dafabd32c restrict notifications to failures 2020-10-26 18:10:29 +01:00
Michael Barz d0959cdd3a add notifications 2020-10-26 17:59:53 +01:00
Michael Barz 6ac052c53e run all tests after merges to master 2020-10-26 17:23:37 +01:00
Michael Barz 7352ee4903 Merge pull request #689 from owncloud/add_deployment_docs
Adds ocis deployment examples
2020-10-26 14:39:55 +01:00
Benedikt Kulmann 34ec22cf73 Automated changelog update [skip ci] 2020-10-26 13:34:36 +00:00
Benedikt Kulmann 99c8f76451 Merge pull request #754 from owncloud/bugfix/konnectd-trust-page
Fix styles of consent page
2020-10-26 14:14:21 +01:00
Jan Müller b4bba16c1f Fix deployments/examples/ocis_oc10_backend/README.md indentation 2020-10-26 14:52:25 +02:00
Jan Müller bf3df353e9 Fix deployments/examples/ocis_traefik/README.md indent 2020-10-26 14:51:27 +02:00
Jan Müller 7671d519ad Fix deployments/examples/ocis_external_konnectd/README.md 2020-10-26 14:43:32 +02:00
Jan Müller 6d5380fcd1 Add 2 spaces test 2020-10-26 14:37:43 +02:00
Jan Müller ff2e457816 Merge branch 'master' into add_deployment_docs 2020-10-26 13:57:03 +02:00
Lukas Hirt 1376d9a701 Update assets 2020-10-26 12:50:59 +01:00
Lukas Hirt 09a4795c48 Fix styles of consent page 2020-10-26 12:48:25 +01:00
Phil Davis f3fb12b3bd Merge pull request #752 from owncloud/bugDemoFor751
[tests-only] bug demonstration scenario for #751
2020-10-26 13:42:38 +05:45
Artur Neumann 87b95d3c68 bug demonstration scenario for #751 2020-10-26 12:14:13 +05:45
Phil Davis 62a963d944 Merge pull request #603 from owncloud/dependabot/npm_and_yarn/accounts/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1 in /accounts
2020-10-24 17:21:41 +05:45
dependabot[bot] bc1f68d24b Bump node-fetch from 2.6.0 to 2.6.1 in /accounts
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-24 10:39:15 +00:00
Jörn Friedrich Dreyer 27bdf8ce21 Automated changelog update [skip ci] 2020-10-24 07:24:01 +00:00
Jörn Friedrich Dreyer 5f67e8c724 Merge pull request #749 from owncloud/rebuild-index
Rebuild index
2020-10-24 09:07:13 +02:00
Benedikt Kulmann bef3a4dca6 Remove unused cs3 indexer in indexer tests 2020-10-24 08:03:02 +02:00
Benedikt Kulmann f10c3e2852 Disable unstable cs3 tests (connection to metadata storage) 2020-10-24 07:42:47 +02:00
Benedikt Kulmann 47e53c7274 Fix staticcheck 2020-10-24 06:56:41 +02:00
Benedikt Kulmann 9a1aa31cf7 Merge remote-tracking branch 'origin/master' into rebuild-index 2020-10-24 06:38:39 +02:00
Benedikt Kulmann fe0e4303a0 Use LoadAccounts in accounts handler 2020-10-24 06:37:29 +02:00
Benedikt Kulmann 70b47484f5 Reuse getAuthenticatedContext 2020-10-24 06:21:52 +02:00
Benedikt Kulmann 0f03d8c52c Rename command 2020-10-24 06:15:34 +02:00
Benedikt Kulmann 337a114d10 Fix uppercase A and G comments 2020-10-24 06:13:18 +02:00
A.Unger ae248d871f fix TestListMembersEmptyGroup by setting a new Guid 2020-10-24 00:07:57 +02:00
Jörn Friedrich Dreyer 17a180e339 Merge pull request #729 from butonic/clarify-storage-driver-env-vars
Clarify storage driver env vars
2020-10-23 23:38:03 +02:00
A.Unger 0aecfcd742 small refactor on disk autoincrement index, move some helper functions 2020-10-23 23:31:37 +02:00
A.Unger 142f094f43 Merge branch 'master' into rebuild-index 2020-10-23 22:58:35 +02:00
Jörn Friedrich Dreyer 8eb0864c93 Clarify storage driver env vars
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-23 22:48:02 +02:00
Jörn Friedrich Dreyer 542b5a2b1b Automated changelog update [skip ci] 2020-10-23 19:59:41 +00:00
Jörn Friedrich Dreyer eb47947ae3 Merge pull request #748 from butonic/update-reva-to-cdb3d6688da5
Update reva to cdb3d6688da5
2020-10-23 21:39:12 +02:00
Jörn Friedrich Dreyer df9fa95c9f wait for open port when setting up metadata storage for accounts tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-23 20:56:17 +02:00
Jörn Friedrich Dreyer 368fb103f6 Update reva to cdb3d6688da5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-23 19:15:48 +02:00
Benedikt Kulmann 7f1b58d7da Merge pull request #741 from owncloud/implement-index-lowerbound
Lower Bound on CS3 Index
2020-10-23 19:02:17 +02:00
A.Unger a8429bde82 add changelog 2020-10-23 22:04:34 +05:45
A.Unger 2343cb6331 interpret lower bounds correctly for the cs3 index 2020-10-23 22:04:34 +05:45
Phil Davis fd048c7c58 Automated changelog update [skip ci] 2020-10-23 16:08:47 +00:00
Phil Davis ea66c7d0fb Merge pull request #745 from butonic/fix-id-or-username-query-handling
Fix id or username query handling
2020-10-23 21:29:49 +05:45
Benedikt Kulmann 55d1f78bda Fix delete for disk indexes 2020-10-23 17:14:27 +02:00
A.Unger 9a30688521 implement Delete operation 2020-10-23 16:53:16 +02:00
Benedikt Kulmann 2b76accc42 Refactor delete into helper 2020-10-23 16:51:53 +02:00
Jörn Friedrich Dreyer 031a1b8012 Fix id or username query handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-23 16:40:52 +02:00
Benedikt Kulmann ed5cb9d610 Print error on rebuild command 2020-10-23 16:40:20 +02:00
Jörn Friedrich Dreyer 6e76b72827 Merge pull request #742 from owncloud/refactorOCBugApi
[Tests-Only]Removed scenarios that was demonstrating Oc10 issue and already exists in core
2020-10-23 16:39:22 +02:00
Benedikt Kulmann be6c429535 Add more details to errors 2020-10-23 16:34:51 +02:00
Benedikt Kulmann bf5a960714 Reformat responses 2020-10-23 16:30:23 +02:00
Benedikt Kulmann 16a74c8a7e Docblocks and refactoring 2020-10-23 16:15:52 +02:00
Benedikt Kulmann 6eaa04ee9e Rebuild groups index 2020-10-23 16:09:00 +02:00
Benedikt Kulmann 8ac50f9839 Fix loading all accounts 2020-10-23 16:03:03 +02:00
Phil Davis c4e17c244f Split into phoenixWebUI7 and phoenixWebUI8 to reduce elapsed time 2020-10-23 19:42:31 +05:45
talank f001846c92 Removed apiSharePublicLink2-updatePublicLinkShare.feature file that was demonstrating Oc10 issue 37653 2020-10-23 19:42:31 +05:45
talank ed63727739 Removed createPublicLinkShare.feature file that was demonstrating Oc10 issue 37605 2020-10-23 19:42:31 +05:45
Phil Davis 972bbc950f Merge pull request #747 from owncloud/downgrade-konnectd-to-v33.3
Downgrade konnectd to v0.33.3
2020-10-23 19:41:58 +05:45
Ilja Neumann 0170352b92 Downgrade konnectd to v0.33.3
Latest caused a regression
2020-10-23 15:04:33 +02:00
Phil Davis 1df00ead51 Merge pull request #737 from butonic/mint-token-with-uid
Mint token with uid and gid
2020-10-23 18:43:50 +05:45
Benedikt Kulmann 03a0c3d5e5 Rebuild index for accounts 2020-10-23 14:45:37 +02:00
A.Unger f89c05cf61 raw implementation of index Delete 2020-10-23 14:11:20 +02:00
Benedikt Kulmann 3d48dcc9e5 Use UID and GID for service user auth.
Refactored some duplicated code into a helper.
2020-10-23 14:05:06 +02:00
Jörn Friedrich Dreyer a91664fdd0 Mint token with uid and gid
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-23 14:05:06 +02:00
Phil Davis fc3b292933 Merge pull request #744 from owncloud/update-konnectd
Update konnectd to v0.33.8
2020-10-23 17:48:36 +05:45
Ilja Neumann 140cb796bc Update konnectd to v0.33.8
This introduces KONNECTD_ACCESS_TOKEN_EXPIRATION, KONNECTD_ID_TOKEN_EXPIRATION and KONNECTD_REFRESH_TOKEN_EXPIRATION among some bugfixes and minor
improvements.
2020-10-23 12:58:43 +02:00
Benedikt Kulmann a518a51f72 Extract creating indices on the indexer into a function 2020-10-23 12:55:01 +02:00
Phil Davis 7eb7703526 Merge pull request #743 from owncloud/bump-core-test-commit-20201023
[tests-only] Bump core test commit
2020-10-23 16:26:07 +05:45
A.Unger 17b7c82425 basic wiring 2020-10-23 12:23:33 +02:00
A.Unger 50b0e6568b Merge branch 'master' into rebuild-index 2020-10-23 12:19:38 +02:00
Benedikt Kulmann 4206071af6 First part of index reset 2020-10-23 11:54:07 +02:00
Phil Davis fd791f8ea8 Remove favorites scenarios that pass n OCIS 2020-10-23 15:35:24 +05:45
A.Unger 859012cb4c extend accounts.proto file with rebuild index definition 2020-10-23 11:40:19 +02:00
Phil Davis 6d58341a0d Bump core test commit 2020-10-23 15:13:57 +05:45
Michael Barz 206ff43aa5 Merge pull request #728 from owncloud/update-ocis-phoenix-0.21.0
Update phoenix assets to 0.21.0
2020-10-23 11:21:53 +02:00
Benedikt Kulmann d2e011b744 Disable deprecation warning for proto package 2020-10-23 10:30:21 +02:00
Benedikt Kulmann e61952c424 go mod tidy 2020-10-23 10:19:18 +02:00
Benedikt Kulmann be9f6e574b Use proto.Merge 2020-10-23 10:19:17 +02:00
Benedikt Kulmann 9646437ebf Update phoenix assets to 0.21.0 2020-10-23 10:18:54 +02:00
Phil Davis f854107cee Merge pull request #735 from owncloud/fixDocsDefaultStorageDriver
[docs-only] fix documentation because OCIS is now the default storage
2020-10-23 13:29:53 +05:45
Artur Neumann 0a5bceaa58 delete unneeded varible from testing docs 2020-10-23 12:57:41 +05:45
Artur Neumann 90941c8215 delete unneeded testing docs from ocis-reva 2020-10-23 12:57:41 +05:45
Artur Neumann abbcdafaff fix documentation because OCIS is now the default storage 2020-10-23 12:57:41 +05:45
Michael Barz 2255eed422 Automated changelog update [skip ci] 2020-10-22 17:11:03 +00:00
Michael Barz 5a3c0e54b5 Merge pull request #709 from owncloud/autoincrement-index
Autoincrement index
2020-10-22 18:51:09 +02:00
Benedikt Kulmann 29b6930820 Changelog 2020-10-22 17:10:06 +02:00
A.Unger 95d75fbd88 merge master 2020-10-22 16:19:21 +02:00
Phil Davis fe964755fe Merge pull request #734 from owncloud/bumpPhoenixCommitId20201022
[tests-only] bump phoenix commit it to current top of master
2020-10-22 19:58:31 +05:45
A.Unger 0fc5dbb688 skip cs3 index in favor of integration tests. running them require a locally running storage-metadata service 2020-10-22 16:11:18 +02:00
A.Unger 28329f5573 revert b1ae83c0 ..de851f80 2020-10-22 16:09:15 +02:00
A.Unger de851f808c add build step 2020-10-22 15:43:40 +02:00
A.Unger b1ae83c021 start metadata service as a step on the accounts pipeline 2020-10-22 15:36:26 +02:00
Phil Davis 7df1fe29b0 Split phoenixWebUI into 7 pipelines 2020-10-22 19:11:29 +05:45
Artur Neumann ef030a124b bump phoenix commit it to current top of master 2020-10-22 18:23:39 +05:45
A.Unger 6cd48e711f fix linter 2020-10-22 14:22:58 +02:00
A.Unger 69ce603a83 fix failing scenario 2020-10-22 14:15:13 +02:00
A.Unger b232e9f46f make vet happy, use protobuf generated merger 2020-10-22 13:39:54 +02:00
A.Unger a484a6bc53 Merge branch 'filesystem_index' into autoincrement-index 2020-10-22 13:12:37 +02:00
A.Unger c7319cd4d6 Merge branch 'master' into filesystem_index 2020-10-22 13:11:21 +02:00
Benedikt Kulmann 747d55521f More fixes for accounts ui tests 2020-10-22 13:10:28 +02:00
A.Unger 9d4a8ac52f make list group users work with uuid and usernames 2020-10-22 13:10:06 +02:00
A.Unger e0f59034cf fix test scenario when getting user default groups 2020-10-22 12:50:09 +02:00
Benedikt Kulmann 0403264aef Fix tests for adding users to group in OCS 2020-10-22 12:44:44 +02:00
Benedikt Kulmann 1d66c22fc1 Fix other OCS group queries to use the account id instead of the username 2020-10-22 12:36:55 +02:00
Benedikt Kulmann 348d86e2ea Merge branch 'autoincrement-index' of github.com:owncloud/ocis into autoincrement-index 2020-10-22 12:28:22 +02:00
Benedikt Kulmann d4f8354b69 Fix accounts ui tests runner 2020-10-22 12:27:51 +02:00
A.Unger 66e6673714 fix groups endpoint 2020-10-22 12:25:43 +02:00
Benedikt Kulmann ea3414f833 duh... param name fix 2020-10-22 12:17:50 +02:00
Benedikt Kulmann c3a2cb0714 Remove paths from accounts ui tests 2020-10-22 12:15:52 +02:00
Benedikt Kulmann 4dc0991f20 Fix config for accounts UI tests 2020-10-22 12:13:07 +02:00
A.Unger 61bf2999bc tweak expected failures 2020-10-22 12:00:21 +02:00
Benedikt Kulmann 7644c5a9c6 User service user uuid in indexes 2020-10-22 11:35:51 +02:00
A.Unger 7ded7e2720 Merge branch 'master' into autoincrement-index 2020-10-22 11:34:04 +02:00
Benedikt Kulmann 77fd421c16 Fix reva data root for webUI tests 2020-10-22 11:22:08 +02:00
Phil Davis 91debc7439 Merge pull request #727 from owncloud/bump-core-commit-20201022
[tests-only] Bump core commit for API tests
2020-10-22 13:45:48 +05:45
A.Unger 4009f3ca8d add apiProvisioning-v1/addUser.feature:102 back 2020-10-22 09:42:55 +02:00
Phil Davis 900b35a517 Adjust expected-failures 2020-10-22 12:30:36 +05:45
Phil Davis 121d917006 Bump core commit for API tests 2020-10-22 12:30:36 +05:45
Phil Davis af39720659 Merge pull request #722 from owncloud/testDemonstrateIssue720
[tests-only] tests to demonstrate issue #720
2020-10-22 12:29:46 +05:45
Artur Neumann c31dd9e302 adjust issue to the current behaiviour 2020-10-22 11:33:56 +05:45
Artur Neumann 0e56eddfba tests to demonstrate issue #720 2020-10-22 09:03:54 +05:45
Michael Barz adc6055912 Automated changelog update [skip ci] 2020-10-21 20:37:17 +00:00
Michael Barz bd315f6a87 Merge pull request #725 from butonic/update-reva-to-dd3a8c0f38
update reva to dd3a8c0f38
2020-10-21 22:22:17 +02:00
Jörn Friedrich Dreyer 01c6314a94 update expected tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-21 20:31:12 +02:00
Jörn Friedrich Dreyer 8be53d6ba4 update reva to dd3a8c0f38
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-21 20:31:12 +02:00
David Christofas 64f057c0bc Automated changelog update [skip ci] 2020-10-21 15:41:22 +00:00
Jan Müller ef9f64e40c Revert hard_tabs 2020-10-21 18:33:40 +03:00
Jan Müller 965b8d1d7d Test hard_tabs 2020-10-21 18:22:39 +03:00
David Christofas 8aec764d3c Merge pull request #657 from butonic/rename-storages
update reva and refactor config
2020-10-21 17:22:15 +02:00
A.Unger e76fd760ee tweak expectations again...again 2020-10-21 17:09:07 +02:00
Benedikt Kulmann 66894b9360 Fix test behaviour for empty displaynames in user provisioning 2020-10-21 16:58:05 +02:00
Jan Müller 7384621a39 Fix markdown 2020-10-21 17:47:19 +03:00
A.Unger 453e67f8f1 tweak expectations again 2020-10-21 16:47:11 +02:00
Benedikt Kulmann 84459968a3 Confirmed that both the home storage and users storage need to be
accessible through the reva data gateway
2020-10-21 16:40:32 +02:00
Benedikt Kulmann 1da23d100e Bring back exposing user storage 2020-10-21 16:32:08 +02:00
A.Unger 7cd89e0a61 update to reflect passing tests 2020-10-21 16:10:22 +02:00
Benedikt Kulmann 91977ab84b Bring back data server URLs.......... 2020-10-21 16:07:34 +02:00
Benedikt Kulmann 7094375c5f Don't expose data servers 2020-10-21 16:05:45 +02:00
A.Unger 3c0d6cff96 update expected failures on owncloud storage 2020-10-21 16:02:43 +02:00
A.Unger 01e8c9d04c adjust ocsPUTauth feature file 2020-10-21 15:56:12 +02:00
Jan Müller 7c4370bc22 Improve markdown 2020-10-21 16:43:01 +03:00
Jan Müller da0c764bce Adds server setup to docs and readme.md in ocis_external_konnectd 2020-10-21 16:23:46 +03:00
A.Unger 4033ba887d set account displayname fallback to userid if not present 2020-10-21 15:14:00 +02:00
Jan Müller 8322fba874 Enhance Requirements section for ocis_traefik doc 2020-10-21 16:13:09 +03:00
Jan Müller 407121d342 Adds a setup on server section to deployment scenario ocis_oc10_backed 2020-10-21 16:12:11 +03:00
Jan Müller daedd7d5ff Adds setup on server to ocis_traefik docs 2020-10-21 15:59:24 +03:00
Jan Müller 95cbf66a44 Add readme.md to ocis_traefik 2020-10-21 15:56:22 +03:00
Jan Müller a2d3babbc5 Updates 2020-10-21 14:22:48 +03:00
Jan Müller 4f0084852c Change paths for letsencrypt folder for more generic deployments 2020-10-21 14:17:08 +03:00
Jan Müller 79af675bd5 Adds deployment doc for external idp setup 2020-10-21 14:10:08 +03:00
Jan Müller 92b3b949ec Add redirect uri's for silent token refresh 2020-10-21 13:39:08 +03:00
Benedikt Kulmann 9bbbe52505 Update to golang 1.14 2020-10-21 12:32:21 +02:00
Benedikt Kulmann 6d903e8f21 fix OCS tests 2020-10-21 12:26:57 +02:00
Benedikt Kulmann 0991898815 Map userid to on_premises_sam_account_name in ocs 2020-10-21 12:26:57 +02:00
A.Unger cbf13d0972 fix build 2020-10-21 12:16:25 +02:00
A.Unger 25a539c8fe update reva@master on proxy 2020-10-21 12:13:35 +02:00
A.Unger 5af28f61b1 update reva@master on ocs 2020-10-21 12:13:14 +02:00
A.Unger a08d94e8b3 fix staticcheck + linter 2020-10-21 12:12:23 +02:00
David Christofas 63eede3cee update expected failures
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 11:56:10 +02:00
A.Unger 1ba725ee72 update to latest reva 2020-10-21 10:17:53 +02:00
David Christofas ec692d3c5e update reva
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:17 +02:00
David Christofas 916c984a8f update expected failures
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas 9ae1891620 fix OCIS_REVA_DATA_ROOT
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas f51da1797a update expected failures
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas ee7260c2a8 update reva
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas a6a6354c63 fix OCIS_REVA_DATA_ROOT
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas 4a20f14602 update expected failures
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas 655c7a1900 clean up user data in ocis storage
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas 4e548da819 clean up storage configuration and update storage documentation
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas dd4c320377 change ocis log level to default and change public link storage mountid mapping
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas 001fb868e5 change mount id of home storage
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas 1084d45b00 update expected failures
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas 5257e0d6d3 rename command
I currently don't know why but locally before renaming the service would always shutdown prematurely

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas 9617f913da add metadata root config
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:10 +02:00
David Christofas 12be19e90f set user storage driver env variable in drone file
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:09 +02:00
David Christofas 05dbb5f1e8 update the environment variables in the drone file
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:09 +02:00
David Christofas 5b2bbb3873 update reva
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:09 +02:00
David Christofas ece9c551c2 update reva
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-21 10:15:09 +02:00
Jörn Friedrich Dreyer 28657f8197 use /users endpoint for dav/files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-21 10:15:09 +02:00
Jörn Friedrich Dreyer 5a9a9ce86a set ocis storage owner on startup, account fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-21 10:15:09 +02:00
Jörn Friedrich Dreyer b64b3242e2 update reva and refactor config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-21 10:15:09 +02:00
A.Unger dbe300477e Merge branch 'master' into autoincrement-index 2020-10-21 10:03:35 +02:00
Benedikt Kulmann 74d2a54444 update reva to v1.3.1-0.20201020152305-05ab93ed7a66
To get in fixes for file descriptor leaks
2020-10-20 17:47:58 +02:00
Benedikt Kulmann 7377bc0fb2 Revert "improve delete user data command in CI"
This reverts commit 3327e0facb.
2020-10-20 12:25:25 +02:00
A.Unger b21d306da2 update core + phoenix commit on .drone.yml 2020-10-20 11:52:32 +02:00
A.Unger 400de19ab0 use strcase to transform queries to camel case 2020-10-20 11:38:28 +02:00
Benedikt Kulmann 9de9769544 Move implementation for case insensitive index handling to indexes 2020-10-20 11:14:40 +02:00
A.Unger 590dd8660b fix arguments to index search 2020-10-20 10:58:52 +02:00
Benedikt Kulmann 7cf4f0a81f Merge branch 'autoincrement-index' of github.com:owncloud/ocis into autoincrement-index 2020-10-20 09:13:12 +02:00
Benedikt Kulmann e2f85a0db7 Remove pdf-viewer traces 2020-10-20 09:12:53 +02:00
Lukas Hirt d9d7272299 Automated changelog update [skip ci] 2020-10-19 22:56:16 +00:00
Lukas Hirt a2823a0319 Merge pull request #698 from owncloud/branded-kopano 2020-10-20 00:32:05 +02:00
Lukas Hirt b8f64ce032 Merge branch 'master' into branded-kopano 2020-10-19 21:55:21 +02:00
Michael Barz 3327e0facb improve delete user data command in CI 2020-10-19 21:50:24 +02:00
Benedikt Kulmann eb31510600 Automated changelog update [skip ci] 2020-10-19 16:19:48 +00:00
Benedikt Kulmann 06e75feab3 Merge pull request #718 from owncloud/glauth-micro-client
Use micro default client for connections to account service
2020-10-19 18:03:59 +02:00
Benedikt Kulmann dee9959e69 Make indexes configurable for being case insensitive 2020-10-19 17:53:53 +02:00
Benedikt Kulmann 5b45655fc0 Get rid of error in function signature 2020-10-19 16:48:33 +02:00
Benedikt Kulmann 271063ac39 Changelog 2020-10-19 16:46:49 +02:00
Benedikt Kulmann 7b23099d68 Use micro default client for connections to account service 2020-10-19 16:43:08 +02:00
Benedikt Kulmann 681e39c9f9 Use default client for connections to accounts service 2020-10-19 16:41:04 +02:00
Benedikt Kulmann 759f519cb3 Merge branch 'autoincrement-index' of github.com:owncloud/ocis into autoincrement-index 2020-10-19 15:43:52 +02:00
Benedikt Kulmann 48b30a3efc Close response bodies 2020-10-19 15:43:38 +02:00
A.Unger b55ba64488 Merge branch 'master' into autoincrement-index 2020-10-19 14:47:43 +02:00
A.Unger 1bf3896107 update commit id 2020-10-19 13:01:34 +02:00
Benedikt Kulmann fead8d7534 Fix OCS test for allowing empty emails on account update 2020-10-19 12:43:52 +02:00
Benedikt Kulmann cb5a78f0dd Allow email on auth queries 2020-10-19 12:29:10 +02:00
Lukas Hirt 175b90b1f3 Fix codacy error
Add new line at the end of file

Shorten hex

Add zero
2020-10-19 11:50:52 +02:00
Lukas Hirt 46ea80c2aa Properly use scoping 2020-10-19 11:41:59 +02:00
Lukas Hirt b324b0867c Turn chooseaccount into FC 2020-10-19 11:41:59 +02:00
Lukas Hirt 20dcd878a9 Increase input font size 2020-10-19 11:41:59 +02:00
Lukas Hirt 52d3c7657e Adjust loading page styles 2020-10-19 11:41:59 +02:00
Lukas Hirt f2362a6bd1 Turn loading component into FC 2020-10-19 11:41:59 +02:00
Lukas Hirt 82b7b56a6c Remove unused images 2020-10-19 11:41:59 +02:00
Lukas Hirt fbe36ffc05 Create static folder 2020-10-19 11:41:58 +02:00
Lukas Hirt 7c3ad100e5 Small design tweaks 2020-10-19 11:41:58 +02:00
Lukas Hirt a55969873f Add PHONY 2020-10-19 11:41:58 +02:00
Lukas Hirt ba65ed45a5 Fix favicon var and codacy ignore patterns 2020-10-19 11:41:58 +02:00
Lukas Hirt 75129e8e2e Adjust logo size 2020-10-19 11:41:58 +02:00
Lukas Hirt e1cdb36692 Pull oC logo and favicon 2020-10-19 11:41:58 +02:00
Lukas Hirt 970ef7c81f Add assets to gitignore 2020-10-19 11:41:58 +02:00
Lukas Hirt f6442f2d58 Adjust styles of form 2020-10-19 11:41:58 +02:00
Lukas Hirt 50d040d0d2 Add yarn logs into gitignore 2020-10-19 11:41:58 +02:00
Lukas Hirt 813fa28ad4 Move konnectd codacy config to the root 2020-10-19 11:41:58 +02:00
Lukas Hirt 8b97e6d489 Adjust paths in codacy exclude 2020-10-19 11:41:58 +02:00
Lukas Hirt 416816a615 Update assets 2020-10-19 11:41:58 +02:00
Lukas Hirt 42c189cbd4 Add codacy config with excluding paths 2020-10-19 11:41:58 +02:00
Lukas Hirt c266f0ccf6 Theme konnectd 2020-10-19 11:41:58 +02:00
A.Unger d902f50b42 fix vet 2020-10-19 11:36:19 +02:00
A.Unger b9695c01c1 fix static check 2020-10-19 11:28:47 +02:00
A.Unger febd6fa65b fix query order from more explicit to less 2020-10-19 11:25:22 +02:00
Benedikt Kulmann 1278909e3f Automated changelog update [skip ci] 2020-10-19 09:05:32 +00:00
Benedikt Kulmann eafd191fc3 Disable expected failures on ListAccounts until OData is supported 2020-10-19 10:59:09 +02:00
Benedikt Kulmann cb7e98ecbc Add another account search regex 2020-10-19 10:48:45 +02:00
Benedikt Kulmann 287530c11e Merge pull request #688 from owncloud/default-apps
Change default apps for ownCloud Web
2020-10-19 10:46:33 +02:00
Benedikt Kulmann c340816953 Revert "WIP regexes for account search"
This reverts commit ad33ee7716.
2020-10-19 10:35:05 +02:00
Benedikt Kulmann 27dfcc8733 Change default apps for ownCloud Web 2020-10-19 09:44:22 +02:00
Benedikt Kulmann ad33ee7716 WIP regexes for account search 2020-10-19 09:42:47 +02:00
Artur Neumann 28544dcbb5 Merge pull request #715 from owncloud/bump-core-commit-20201016
[tests-only] Bump core commit 20201016
2020-10-19 08:41:35 +05:45
Benedikt Kulmann a6c2e808ae Refactor auth request within ListAccounts
The auth request is a special case of ListAccounts with query. It must
only have one account as a result and doesn't need to go through the
full process of query matching. Refactored the function to take some
shortcuts for auth requests.
2020-10-17 13:08:17 +02:00
Benedikt Kulmann a84eede915 Add failing test on ListAccounts with query for TDD 2020-10-17 12:41:56 +02:00
Phil Davis 56af517d87 Remove passing trashbin tests for OCIS-storage 2020-10-16 22:30:00 +05:45
Phil Davis 19ab785d05 Reorganise expected failures 2020-10-16 22:30:00 +05:45
Phil Davis df8227c75d Adjust OCIS_REVA_DATA_ROOT and STORAGE_DRIVER 2020-10-16 18:15:23 +05:45
Phil Davis 11aa9343fb Bump core commit 20201016 2020-10-16 17:58:38 +05:45
Artur Neumann 0e132ce678 Merge pull request #712 from owncloud/sync-tests-with-cs3org-reva
[tests-only] Sync tests with cs3org reva
2020-10-16 15:02:57 +05:45
Benedikt Kulmann 9dbf77fad1 Fix more index tests 2020-10-16 09:57:08 +02:00
Benedikt Kulmann 37d7daf098 Remove old bleve types 2020-10-16 09:56:50 +02:00
Phil Davis 314eff4e94 Reformat gherkin tables 2020-10-16 13:30:54 +05:45
Phil Davis 3014e53ee1 Sync test scenarios from cs3org/reva 2020-10-16 13:30:58 +05:45
Benedikt Kulmann 567ed1edbd Fix Remove for empty values on indexes 2020-10-16 09:44:39 +02:00
Phil Davis 8b1b0b49d5 Adjust top comments in expected-failures-on-OWNCLOUD-storage 2020-10-16 10:30:07 +05:45
Benedikt Kulmann ae883908e5 Fix linters 2020-10-16 00:18:19 +02:00
Benedikt Kulmann b75f4b745d Fix more staticchecks 2020-10-16 00:03:52 +02:00
Benedikt Kulmann 16a190857f Fix staticchecks 2020-10-15 23:59:53 +02:00
Benedikt Kulmann 2dc659ac56 Fix update user test in OCS 2020-10-15 23:43:43 +02:00
Benedikt Kulmann 63bf5f6ede Fix GID in OCS AddUser response 2020-10-15 23:29:59 +02:00
Benedikt Kulmann 48a1a2819d Fix uid/gid and default group tests in OCS 2020-10-15 23:11:31 +02:00
Benedikt Kulmann 56d2318387 Update go.mod 2020-10-15 22:59:42 +02:00
Benedikt Kulmann 79a4b81147 Get rid of checkError test function and fix account update validation 2020-10-15 22:58:07 +02:00
Benedikt Kulmann 021d7edf19 Add a first changelog item 2020-10-15 22:36:38 +02:00
Benedikt Kulmann 5f6b36c1db prevent duplicate accounts and validate account update 2020-10-15 22:34:00 +02:00
Benedikt Kulmann f53e022041 Handle empty value in cs3 indices 2020-10-15 21:27:05 +02:00
Ilja Neumann ca1fa005a6 Return BadRequestError instead of InternalServerError
Apparently InternalServer errors are not returned back by the handler
2020-10-15 18:00:08 +02:00
A.Unger da70231338 whatever dude 2020-10-15 17:08:16 +02:00
A.Unger beade6b8c0 WIP fix tests 2020-10-15 16:18:26 +02:00
A.Unger 019b1070df assign users to default users group (gid=30000) on creation 2020-10-15 15:43:10 +02:00
A.Unger d5c5e519ba fix TestCreateExistingUser test 2020-10-15 15:43:10 +02:00
A.Unger 97da31627f refactor test suite 2020-10-15 15:43:10 +02:00
Benedikt Kulmann 441e7156f4 Add note regarding rollback 2020-10-15 15:43:10 +02:00
Benedikt Kulmann f6d3425de8 Create default group for new accounts 2020-10-15 15:43:10 +02:00
Benedikt Kulmann f3f9c3d9fb Add rollback for CreateGroup when indexing fails 2020-10-15 15:43:10 +02:00
Benedikt Kulmann 37dc6c7db9 Rollback account creation on error 2020-10-15 15:43:10 +02:00
Benedikt Kulmann ec84d7886a Fix allowing predefined values in autoincrement index 2020-10-15 15:43:10 +02:00
A.Unger c460908e44 add lower and upper bound to config 2020-10-15 15:43:08 +02:00
A.Unger 6928a9c409 add bounds to index 2020-10-15 15:40:13 +02:00
Benedikt Kulmann 6d39cedf08 Add failing test for indexer on autoincrement index 2020-10-15 15:36:06 +02:00
Benedikt Kulmann d578a2603a Fix service user 2020-10-15 15:36:06 +02:00
Benedikt Kulmann 629561833a Write uid and gid from autoincrement index into accounts/groups 2020-10-15 15:36:04 +02:00
Benedikt Kulmann 6ac2e2669c Copy functions of unique index to autoincrement index of disk package 2020-10-15 15:33:18 +02:00
Benedikt Kulmann 75c7a6e3df Copy functions of unique index to autoincrement index of cs3 package 2020-10-15 15:33:18 +02:00
Benedikt Kulmann 19f1fd11c4 Align order of cuntions with index interface 2020-10-15 15:33:18 +02:00
Benedikt Kulmann 6c4ce0d53c Fix PK in cs3 tests 2020-10-15 15:33:18 +02:00
Benedikt Kulmann 8abdb833d4 Implement Add for cs3 autoincrement index 2020-10-15 15:33:18 +02:00
A.Unger 5bdb94e92d first draft autoincrement cs3 apis 2020-10-15 15:33:18 +02:00
A.Unger b61f123cd7 first draft implementation of an autoincremental index 2020-10-15 15:33:18 +02:00
Phil Davis 38358ba4d4 Merge pull request #707 from owncloud/bump-core-commit-20201015
[tests-only] Bump core commit for tests as at 20201015
2020-10-15 17:54:21 +05:45
Phil Davis 15d6d38ad2 Bump core commit for tests as at 20201015 2020-10-15 16:29:20 +05:45
Michael Barz b5c149af59 Merge pull request #605 from owncloud/dependabot/npm_and_yarn/accounts/lodash-4.17.20
Bump lodash from 4.17.15 to 4.17.20 in /accounts
2020-10-15 12:37:50 +02:00
dependabot[bot] 66bbc19546 Bump lodash from 4.17.15 to 4.17.20 in /accounts
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-15 08:57:28 +00:00
Michael Barz d480fdbff6 Merge pull request #604 from owncloud/dependabot/npm_and_yarn/accounts/bl-4.0.3
Bump bl from 4.0.2 to 4.0.3 in /accounts
2020-10-15 10:57:25 +02:00
Phil Davis 151198e448 Merge pull request #706 from owncloud/individual-it-patch-2
[docs-only] update testing docs
2020-10-15 14:20:36 +05:45
Artur Neumann 20d069ffab delete LDAP references 2020-10-15 13:52:56 +05:45
Phil Davis 4d34e87677 Adjust dev testing doc for mono-repo changes 2020-10-15 13:45:28 +05:45
Artur Neumann 6c71f830ff use new default reva data folder 2020-10-15 13:31:05 +05:45
Phil Davis 5efc117fed Merge pull request #700 from owncloud/bump-core-commit-38009
[tests-only] Bump core commit for tests to include core PR 38009
2020-10-15 08:10:41 +05:45
Ilja Neumann c9f0cdd256 Disable ACCOUNTS_DATA_PATH 2020-10-14 19:07:56 +02:00
Ilja Neumann f272bb243b Add STORAGE_STORAGE_METADATA_ROOT 2020-10-14 18:40:14 +02:00
Phil Davis b0e0d4f765 Bump core commit for tests to include core PR 38009 2020-10-14 22:05:51 +05:45
Michael Barz 8a22938698 Correct docker tag sufix for eos-ocis 2020-10-14 18:19:10 +02:00
Ilja Neumann 3aa10fa8f0 Fix lint 2020-10-14 18:03:52 +02:00
Ilja Neumann f651303866 Fix id or samaccount query 2020-10-14 18:03:52 +02:00
Ilja Neumann 20e3bd0826 Disable DISK_PATH temporarily 2020-10-14 18:03:52 +02:00
Ilja Neumann 199ad32e04 Temporarily disable groups query 2020-10-14 18:03:52 +02:00
Ilja Neumann 98ed583b89 Add or query to query regexes 2020-10-14 18:03:52 +02:00
Ilja Neumann 8bcf5d4096 Add startswith(id,...) query for group 2020-10-14 18:03:52 +02:00
Ilja Neumann c31732872d Don't add empty values to the index 2020-10-14 18:03:52 +02:00
Ilja Neumann 755bbd7817 Create absolute accounts dir for tests and recreate it on each test 2020-10-14 18:03:52 +02:00
Ilja Neumann f84892a2c2 Fix test to not rely on ordering 2020-10-14 18:03:52 +02:00
Ilja Neumann cc0a141dc6 go fmt 2020-10-14 18:03:52 +02:00
Ilja Neumann 0ca3a10daf Remove bleave provider and tokenizer 2020-10-14 18:03:52 +02:00
Ilja Neumann 9243330ae4 Create random testdata-dir 2020-10-14 18:03:52 +02:00
Ilja Neumann be9b30f0b5 - Reseed in each update-test
- Don't assert in cleanup
2020-10-14 18:03:52 +02:00
Ilja Neumann fd6d80435b Fix ListGroups 2020-10-14 18:03:52 +02:00
Ilja Neumann 05b2acf4a9 staticcheck 2020-10-14 18:03:52 +02:00
Ilja Neumann 29a63532f1 Various test adjustments and fixes 2020-10-14 18:03:52 +02:00
Ilja Neumann 4aa019289b Don't check if symlink is valid, as the target might have already been removed before index update 2020-10-14 18:03:52 +02:00
Ilja Neumann c4df138ac7 Fix groups data-folder 2020-10-14 18:03:52 +02:00
Ilja Neumann aada7ac65d Delete group by entity instead by id 2020-10-14 18:03:52 +02:00
Ilja Neumann 56b88057e8 Delete value directory if it is empty 2020-10-14 18:03:52 +02:00
Ilja Neumann e2f54df24d Pass account instead of id to index delete 2020-10-14 18:03:52 +02:00
Ilja Neumann f11ae963b1 Fix index types 2020-10-14 18:03:52 +02:00
Ilja Neumann 51c853fa23 Make user-listing and querying work + fix lint/vet/staticcheck 2020-10-14 18:03:52 +02:00
Ilja Neumann 69a7491507 Integrate indexer / remove bleve [WIP] 2020-10-14 18:03:52 +02:00
A.Unger 3a08a6eac0 shared helper init function for starting the metadata storage 2020-10-14 18:03:52 +02:00
Benedikt Kulmann 7d999f1334 Fix metadata storage in tests 2020-10-14 18:03:52 +02:00
A.Unger d85e818546 fix all ofenses 2020-10-14 18:03:52 +02:00
A.Unger dd5ee5e9da rename Id -> ID 2020-10-14 18:03:52 +02:00
A.Unger 0a038219fa fix more ofenses 2020-10-14 18:03:52 +02:00
A.Unger 815d07f71c fix linter 2020-10-14 18:03:52 +02:00
A.Unger 9d285e2ec5 fix staticchecks 2020-10-14 18:03:52 +02:00
A.Unger 1ff74d1f73 oops 2020-10-14 18:03:52 +02:00
A.Unger 04b33715d0 refactor disk tests 2020-10-14 18:03:52 +02:00
Benedikt Kulmann 7bbc387af1 start metadata storage in tests 2020-10-14 18:03:52 +02:00
A.Unger 4015a504e3 fix test suite 2020-10-14 18:03:52 +02:00
A.Unger 4444f5e8a4 delete unused AddNonUniqueIndex 2020-10-14 18:03:52 +02:00
A.Unger fbd52cef8f merge AddUniqueIndex and AddNonUniqueIndex into AddIndex to the Indexer 2020-10-14 18:03:52 +02:00
Ilja Neumann dba08c48dc Add non-unique with index with options 2020-10-14 18:03:52 +02:00
Ilja Neumann 4300f6a3cf Apply ProviderAddr from options to cs3config 2020-10-14 18:03:52 +02:00
A.Unger a852edc763 wip config 2020-10-14 18:03:52 +02:00
A.Unger e32738e812 re-implement update 2020-10-14 18:03:52 +02:00
Ilja Neumann 60cc905b19 Extract data-provider base url to the respective client 2020-10-14 18:03:52 +02:00
A.Unger 6373569f72 fix linter 2020-10-14 18:03:52 +02:00
A.Unger fed18db2c6 fix index stringify name 2020-10-14 18:03:52 +02:00
A.Unger 5be1cb1fd1 non_unique cs3 index: final implementation 2020-10-14 18:03:52 +02:00
A.Unger 0ddd3d765b non_unique add impl 2020-10-14 18:03:52 +02:00
A.Unger d2d865038d fix indexer folder 2020-10-14 18:03:52 +02:00
Ilja Neumann 66900b4419 cs3 unique index implementation 2020-10-14 18:03:52 +02:00
Ilja Neumann f9ee733e8b WIP cs3 index 2020-10-14 18:03:52 +02:00
Ilja Neumann e70fbea51e Create pkg for index disk implementation 2020-10-14 18:03:52 +02:00
Ilja Neumann 683138fb6e Fix errors alias name 2020-10-14 18:03:52 +02:00
Ilja Neumann 1c3e47c018 add reflect_test 2020-10-14 18:03:52 +02:00
Ilja Neumann cfafdb6063 dot import alias for test pkg 2020-10-14 18:03:52 +02:00
Ilja Neumann 36c4d15520 Restructure in to subpackages 2020-10-14 18:03:52 +02:00
Ilja Neumann 2a77e2b691 Add Update + tests to indexer 2020-10-14 18:03:52 +02:00
Ilja Neumann 930f446824 FindByPartial + tests 2020-10-14 18:03:52 +02:00
Ilja Neumann ded569f369 Delete + tests 2020-10-14 18:03:52 +02:00
Ilja Neumann a8f7d5d5f7 FindBy + tests 2020-10-14 18:03:52 +02:00
Ilja Neumann 36f8931621 Rename index package to indexer 2020-10-14 18:03:52 +02:00
Ilja Neumann 6f05c0998e WIP Reflection type-names 2020-10-14 18:03:52 +02:00
Ilja Neumann e054bfc996 WIP 2020-10-14 18:03:52 +02:00
Ilja Neumann 85743a2129 Storage Index [WIP] 2020-10-14 18:03:52 +02:00
Michael Barz 74ef47562d Merge pull request #662 from owncloud/eos-ocis
add eos-ocis docker images
2020-10-14 18:01:23 +02:00
Michael Barz 5c462a0ca8 run build in ocis folder 2020-10-14 16:11:44 +02:00
Jan Müller 6a075c6750 Adds external konnectd deployment 2020-10-14 13:03:36 +02:00
Michael Barz 41df78fc32 rename protoc-gen-swagger to protoc-gen-openapiv2 2020-10-14 12:19:51 +02:00
Michael Barz b349997727 Add dry run for eos-ocis 2020-10-14 12:08:14 +02:00
Michael Barz ede9bb47b6 Fix codacy 2020-10-14 12:08:14 +02:00
felixboehm 042411ab10 Start the ldap server from the entrypoint 2020-10-14 12:08:14 +02:00
felixboehm ee7ad9f383 add eos-ocis docker images 2020-10-14 12:08:14 +02:00
Phil Davis fe69d5d48b Merge pull request #696 from owncloud/expected-failures-diffs
[tests-only] Adjust expected-failures files to be similar
2020-10-14 13:11:34 +05:45
Phil Davis 1061783ef8 Fix minor typos 2020-10-14 12:31:18 +05:45
Phil Davis 84e281e693 Adjust expected-failures file to be similar 2020-10-14 11:31:20 +05:45
Phil Davis 7fbe511a5e Merge pull request #679 from owncloud/update-test-issue-links
[Tests-Only] update issues in expected failure file for owncloud storage
2020-10-14 10:25:47 +05:45
Dipak Acharya 8113e87cd0 update issue links in expected failure files 2020-10-14 09:18:15 +05:45
Dipak Acharya ee90135124 [Tests-only] Update issues link in expected failure files for ocis storage 2020-10-14 07:01:07 +05:45
Dipak Acharya 6bb7248ccd [Tests-Only] update issues in expected failure file for owncloud storage 2020-10-14 07:00:10 +05:45
dependabot[bot] fc70b8b82b Bump bl from 4.0.2 to 4.0.3 in /accounts
Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 22:27:43 +00:00
Michael Barz 043ce93d11 Merge pull request #695 from owncloud/drone-hotfix
[Tests-Only] Fix .drone.star syntax
2020-10-13 17:11:43 +02:00
Michael Barz fd55dc529e Fix .drone.star syntax 2020-10-13 20:01:37 +05:45
Artur Neumann a1852fa57a Merge pull request #693 from owncloud/bump-core-commit-id-20201013
[tests-only] Bump core commit id
2020-10-13 19:57:32 +05:45
Phil Davis 08fbbeac7c Bump core commit id 2020-10-13 18:53:48 +05:45
Phil Davis 4bdfdd0db8 Merge pull request #691 from owncloud/skeletonStrategySwitch
[tests-only] new env. variable to set how files/folders are provisioned for tests
2020-10-13 17:51:36 +05:45
Artur Neumann bb108eb677 new env. variable to set how files/folders are provisioned for tests 2020-10-13 14:53:31 +05:45
Jan Müller a7b08a4c29 Fix ocis_oc10 image tag and ldap bind user 2020-10-12 16:08:00 +02:00
Jan Müller c9a16cab72 Removes local deployment instructions 2020-10-12 15:30:33 +02:00
Jan Müller 930e120c45 Adapt formulation for traefik 2020-10-12 15:28:23 +02:00
Jan Müller 9428c3e4b4 Adds deployment example for ocis behind traefik 2020-10-12 15:21:02 +02:00
Jan Müller d1b4b3e97b Adds ocis with oc10 backend deployment example 2020-10-12 15:05:59 +02:00
Phil Davis fa2531c5b5 Merge pull request #684 from owncloud/deleteTestsInStorage
[tests-only] delete obsolete API tests from storage
2020-10-12 18:24:52 +05:45
Artur Neumann dec56412f6 delete obsolete API tests from storage 2020-10-12 17:35:18 +05:45
Artur Neumann 55ce4245f8 Merge pull request #685 from owncloud/retryFailedAccountsTests
[tests-only] retry failing accounts tests
2020-10-12 17:34:17 +05:45
Artur Neumann 253a4bdbc7 retry failing accounts tests 2020-10-12 16:50:18 +05:45
Artur Neumann c10e44040d Merge pull request #680 from owncloud/docker-compose-path
[docs-only] fix path to docker-compose.yml
2020-10-12 14:08:08 +05:45
Artur Neumann 9b56d434b0 fix path to docker-compose.yml 2020-10-12 13:54:04 +05:45
Artur Neumann 358632d51f Merge pull request #683 from owncloud/fixLEditinksInDocs
[docs-only] fix edit path
2020-10-12 13:47:56 +05:45
Artur Neumann 4f3bc0c258 fix edit path 2020-10-12 13:38:50 +05:45
Artur Neumann 4a77f6ca8b Merge pull request #681 from owncloud/reva-storage-rename
[docs-only] rename reva to storage in EOS docs & docker-compose
2020-10-12 13:15:50 +05:45
Artur Neumann 8d68516eb7 rename reva to storage in docker-compose file 2020-10-12 10:59:02 +05:45
Artur Neumann 0856740e08 rename reva to storage in EOS docs 2020-10-12 10:58:28 +05:45
Michael Barz 71bea29ca3 Merge pull request #667 from owncloud/enable-ui-tests
[WIP] Enable accounts ui tests
2020-10-09 17:12:25 +02:00
Phil Davis 4d60676255 Merge pull request #678 from owncloud/refactor-svc_test
[Tests-Only] Refactor svc_test to add constants for repeated strings
2020-10-09 19:39:47 +05:45
Phil Davis ce04f22a10 Run core API tests in 6 parts to reduce elapsed time 2020-10-09 19:05:20 +05:45
Michael Barz 90b30d374f Update depedent pipelines 2020-10-09 15:09:05 +02:00
Michael Barz eff92642de Add accountsUi tests 2020-10-09 15:09:05 +02:00
Benedikt Kulmann ddaf69f7c4 Fix selector for account row selection 2020-10-09 15:09:05 +02:00
Benedikt Kulmann 00637a3601 Fix role selection trigger in tests 2020-10-09 15:09:05 +02:00
Benedikt Kulmann 853642a805 Fix tests for permission check and role selection 2020-10-09 15:09:05 +02:00
Michael Barz 4716cd704b Add accountsUi tests 2020-10-09 15:09:04 +02:00
Michael Barz 98ee74a527 Fix the ui tests for selecting the role of the user 2020-10-09 15:09:04 +02:00
Phil Davis 45716fb121 Refactor svc_test to add constants for repeated strings 2020-10-09 18:44:01 +05:45
Phil Davis e67cb922e5 Automated changelog update [skip ci] 2020-10-09 12:12:10 +00:00
Phil Davis 0c5a4534ed Merge pull request #674 from owncloud/update-ocis-phoenix-0.20.0
Update phoenix to 0.20.0
2020-10-09 17:43:41 +05:45
Lukas Hirt 1f563da520 Merge branch 'master' into update-ocis-phoenix-0.20.0 2020-10-09 13:22:41 +02:00
Phil Davis 899bd20de0 Merge pull request #677 from owncloud/fix-svc_test
[Tests-Only] Fix provisioning API groups endpoint  in svc_test
2020-10-09 16:52:26 +05:45
Lukas Hirt 98ebab14de Merge branch 'master' into update-ocis-phoenix-0.20.0 2020-10-09 13:00:17 +02:00
Phil Davis 79ded27431 Fix minor typos in svc_test 2020-10-09 16:14:42 +05:45
Phil Davis d41844767d Fix provisioning API groups endpoint 2020-10-09 16:14:42 +05:45
Alex Unger 19b9cc412f Merge branch 'master' into config-housekeeping-proxy 2020-10-09 12:29:21 +02:00
Artur Neumann 02f688a483 Merge pull request #676 from owncloud/add-drivers-flaex
[docs-only] Add Storage Driver Config to flaex
2020-10-09 16:11:48 +05:45
Lukas Hirt cedcb907ea Update commit ID 2020-10-09 11:54:32 +02:00
A.Unger cd94018460 Merge branch 'master' into config-housekeeping-proxy 2020-10-09 11:45:24 +02:00
Michael Barz 11ce9dccfc Add Storage Driver Config to flaex 2020-10-09 11:41:58 +02:00
A.Unger 8fe3ac9b33 wip correctly parse config 2020-10-09 11:24:04 +02:00
Lukas Hirt 567c3d6822 Update phoenix 0.20.0 2020-10-09 11:14:26 +02:00
Phil Davis 84ca821fe4 Merge pull request #669 from owncloud/bump-core-test-commit-20201009
[Tests-Only] Bump core commit for tests 20201009
2020-10-09 14:02:24 +05:45
Phil Davis 680f2797d3 Bump core commit for tests 20201009 2020-10-09 12:05:27 +05:45
Artur Neumann f2d560ff0f Merge pull request #666 from owncloud/fixDocs
[docs-only] Fix docs
2020-10-09 09:33:36 +05:45
Artur Neumann e28fc863cc use proxy to run tests 2020-10-09 09:09:49 +05:45
Artur Neumann 9bf3bb726d use new default reva data folder 2020-10-09 09:09:49 +05:45
Phil Davis 674b58d37e Merge pull request #663 from owncloud/enable-sonarcloud
Enable sonarcloud scanning and coverage
2020-10-09 08:50:30 +05:45
Michael Barz 11fd4ed0c3 Enable sonarcloud scanning and coverage 2020-10-08 17:37:58 +02:00
Benedikt Kulmann d46d69ed9f Merge pull request #507 from owncloud/admin-user-docs
[docs-only] Add credentials of the new admin user to docs
2020-10-08 16:45:26 +02:00
Benedikt Kulmann 569535cbed Add credentials of the new admin user to docs. 2020-10-08 16:42:34 +02:00
Michael Barz 3e1c3d367c Merge pull request #658 from owncloud/image_builder_rebased
Add Image builder
2020-10-08 15:05:06 +02:00
Michael Barz 1a077d93ec Automated changelog update [skip ci] 2020-10-08 11:29:58 +00:00
Michael Barz f9e1b7be94 Merge pull request #649 from butonic/glauth-fallback-backend
add glauth fallback backend
2020-10-08 13:16:22 +02:00
Michael Barz 4b9215b854 Merge pull request #636 from owncloud/enable-ocs-group-tests
[Tests-only] Add ocs http tests for groups endpoints
2020-10-08 12:04:04 +02:00
Michael BarzandBenedikt Kulmann 308610270d Update changelog/unreleased/glauth-fallback-option.md
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2020-10-08 11:43:54 +02:00
Jan Müller 4fafb96bbb Adds Dockerfile for building a local development image
Add image builder documentation

Fix list item indent

Fix codacy issues

Make alpine version explicit

Fix markup indents

Fix image tag

Remove list items from markdown
2020-10-08 11:41:20 +02:00
Benedikt Kulmann e39b2ee645 Merge branch 'master' into glauth-fallback-backend 2020-10-08 10:30:56 +02:00
Phil Davis 621b411c7f Merge pull request #664 from owncloud/update-docker-compose
update the volumes in the docker-compose files
2020-10-08 13:12:29 +05:45
David Christofas c29208a8fc update the volumes in the docker-compose files
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-07 21:04:24 +02:00
Michael Barz f544bc7eea Automated changelog update [skip ci] 2020-10-07 17:21:28 +00:00
Michael Barz f63a76bfba Merge pull request #661 from owncloud/migrate-changelog
Migrate changelog
2020-10-07 19:06:05 +02:00
Michael Barz 4e78fc2d5b Remove ocis tags from changelog, correct urls 2020-10-07 16:33:01 +02:00
Michael Barz 6c9840f9df transfer all changelogs from the extensions to the root 2020-10-07 16:33:01 +02:00
Michael Barz 66df806e45 add glauth and tags 2020-10-07 16:33:01 +02:00
Phil Davis 03bbb41a66 Merge pull request #660 from owncloud/bump-commit-id-20201007
[Tests-Only] Bump core commit id for tests
2020-10-07 16:53:18 +05:45
Phil Davis 930b35bcd3 Bump core commit id for tests
and adjust expected-exceptions line numbers
2020-10-07 15:34:15 +05:45
Benedikt Kulmann a62534796c Automated changelog update [skip ci] 2020-10-07 09:35:16 +00:00
Benedikt Kulmann 6ba385bcae Merge pull request #656 from owncloud/streamline-menus
Streamline menus
2020-10-07 11:20:19 +02:00
Benedikt Kulmann 42e51e443d Update phoenix to 0.19.0 2020-10-07 09:46:46 +02:00
Benedikt Kulmann 2f572ad50a Changelog for accounts warning 2020-10-07 09:46:45 +02:00
Benedikt Kulmann a46c12738d Changelog for user menu 2020-10-07 09:46:45 +02:00
Benedikt Kulmann e51f6d98e2 Show message in accounts UI about lack of permissions 2020-10-07 09:46:45 +02:00
Benedikt Kulmann 4a3c6bceed Change builtin default order of user menu apps 2020-10-07 09:46:45 +02:00
Benedikt Kulmann b94dacf1dc Move settings navItem to user menu 2020-10-07 09:46:45 +02:00
Benedikt Kulmann de1faa7c91 Move accounts navItem to user menu 2020-10-07 09:46:45 +02:00
Artur Neumann e71f1d24aa Merge pull request #645 from owncloud/bump-core-commit-20201005
[Tests-Only] Bump core test commit id as at 20201006
2020-10-07 09:00:49 +05:45
Phil Davis 578de5a846 Adjust expected-failures 2020-10-06 22:00:53 +05:45
Artur Neumann 001e84b187 skip tests marked to be skipped on specific storages 2020-10-06 21:14:43 +05:45
Artur Neumann 0ccfb4bc7b expected failures in etag tests on OCIS storage 2020-10-06 21:14:43 +05:45
Phil Davis cd6ebfb359 Bump core test commit id as at 20201006 2020-10-06 21:14:43 +05:45
Jörn Friedrich Dreyer cbbfeec35b add glauth fallback backend
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-06 16:39:05 +02:00
Felix Böhm f10950d6e8 Merge pull request #655 from owncloud/update-docs-rebased
[docs-only] Update docs
2020-10-06 15:20:43 +02:00
felixboehm 8bc206e45f revert phoenix rename 2020-10-06 15:18:50 +02:00
felixboehm 594f6bbc18 update pathes to monorepo. init development and depolyment section. 2020-10-06 15:03:14 +02:00
felixboehm 931a8b79bf revert phoenix rename 2020-10-06 14:46:22 +02:00
felixboehm ae0f944cd0 fix docker build instruction 2020-10-06 14:46:22 +02:00
felixboehm 04e61743af better build instructions 2020-10-06 14:46:22 +02:00
felixboehm eb2cdd220a better build instructions 2020-10-06 14:46:22 +02:00
felixboehm e9a6f8b4cf update pathes to monorepo. init development and depolyment section. 2020-10-06 14:46:22 +02:00
Michael Barz 0eba04bab2 Automated changelog update [skip ci] 2020-10-06 12:37:16 +00:00
Michael Barz 60e6f84e48 Merge pull request #644 from owncloud/rename-reva
Rename ocis-reva to storage
2020-10-06 14:20:10 +02:00
Jörn Friedrich Dreyer f91b87e057 data segment seems to be expected by the testsuite
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-06 13:41:35 +02:00
Michael Barz dff9c7f053 Fix drone config 2020-10-06 13:41:35 +02:00
Michael Barz 31054b5fdc Create owncloud root 2020-10-06 13:41:35 +02:00
Michael Barz 889ad03fec Change submodule name in drone config 2020-10-06 13:41:35 +02:00
Michael Barz 5c3d0bcc2a Change Drone config 2020-10-06 13:41:35 +02:00
Michael Barz 9ce9602ed6 Change default path for owncloud driver 2020-10-06 13:41:35 +02:00
Michael Barz 8807b2a5c1 Small fixes for the testing docs 2020-10-06 13:41:35 +02:00
Michael Barz ba7294d8fd Adapt storage config-docs-generate 2020-10-06 13:41:35 +02:00
Michael Barz 24e84f9bc2 Update Docs 2020-10-06 13:41:35 +02:00
Michael Barz 93138c81ed Rename ocis single binary commands and flagset 2020-10-06 13:41:34 +02:00
Michael Barz e946819c3a Rename commands and flagset 2020-10-06 13:41:34 +02:00
Michael Barz 9ff3ffe19f Rename folder and root command 2020-10-06 13:41:34 +02:00
Benedikt Kulmann 48de91ea2c Automated changelog update [skip ci] 2020-10-06 11:07:43 +00:00
Benedikt Kulmann 6a19773b1b Merge pull request #651 from owncloud/phoenix-update
Phoenix update
2020-10-06 12:54:31 +02:00
Benedikt Kulmann cbad8d2a39 Update phoenix commit id for tests 2020-10-06 12:23:27 +02:00
Benedikt Kulmann e811643c0d Use oc-radio in accounts ui for role selection 2020-10-06 12:23:26 +02:00
Benedikt Kulmann bebc7f8f22 Changelog 2020-10-06 12:23:26 +02:00
Benedikt Kulmann d086072dc3 Ignore js project folders 2020-10-06 12:23:26 +02:00
Benedikt Kulmann 2c966c4443 Add regenerated assets 2020-10-06 12:23:26 +02:00
Benedikt Kulmann 74e9e1fbd8 Utilize oc-radio and oc-checkbox 2020-10-06 12:23:26 +02:00
Benedikt Kulmann be8772f687 Utilize new button layouting for adding a chevron 2020-10-06 12:23:26 +02:00
Benedikt Kulmann 02d7c71d1f Fix margins and paddings and use full viewport width 2020-10-06 12:23:26 +02:00
Benedikt Kulmann 54ad2e923b Regenerate accounts assets 2020-10-06 12:23:26 +02:00
Benedikt Kulmann 3fb0a78621 Fix margins and buttons 2020-10-06 12:23:25 +02:00
Benedikt Kulmann eddd53fd2b Fix padding in delete confirmation 2020-10-06 12:23:25 +02:00
Benedikt Kulmann 913816cc81 Fix checkboxes for new ODS version 2020-10-06 12:23:25 +02:00
Benedikt Kulmann 6fdd264f0c Update phoenix to 0.18.0 2020-10-06 12:23:25 +02:00
David Christofas af3b8a7337 Merge pull request #650 from owncloud/fix-eos-docker-compose
modify docker-compose file to work with mono repo
2020-10-06 09:55:51 +02:00
David Christofas d4ba9d4f0d modify docker-compose file to work with mono repo
added volumes for the different submodules to make the docker compose file work with the replaces in go.mod

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-06 09:07:21 +02:00
Dipak Acharya 127b434577 [Tests-Only] ocs http tests for groups endpoints 2020-10-06 10:39:33 +05:45
Dipak Acharya 91ff99ecf5 Merge pull request #635 from owncloud/ocs-http-test-config-capabilities
[Tests-Only] Ocs http test config and capabilities endpoints
2020-10-06 10:29:31 +05:45
Dipak Acharya a81cc71ec5 [Tests-Only] ocs http tests for config and capabilities endpoints 2020-10-06 09:44:16 +05:45
Benedikt Kulmann bb5ccae157 Merge pull request #623 from owncloud/extract_storage_layer
Extract storage layer + cs3impl
2020-10-05 17:19:58 +02:00
Benedikt Kulmann ff4c802ee2 Merge branch 'master' into extract_storage_layer 2020-10-05 16:43:00 +02:00
Benedikt Kulmann 3081dd1a7b Fix OCS test infrastructure 2020-10-05 15:22:12 +02:00
Benedikt Kulmann b49126e234 Revert "Replace ioutil.ReadAll with a buffered decoder"
This reverts commit 05e314ed1f.
2020-10-05 14:59:27 +02:00
Phil Davis fd3f0b7aae Merge pull request #647 from owncloud/delete-excess-drone-star
[Tests-Only] Delete excess setup files from extension folders
2020-10-05 16:36:58 +05:45
Benedikt Kulmann e145c3be77 Handle error on response.Body.Close() 2020-10-05 12:24:28 +02:00
Benedikt Kulmann 05e314ed1f Replace ioutil.ReadAll with a buffered decoder 2020-10-05 12:24:28 +02:00
Benedikt Kulmann b759691db8 Build paths with path.Join 2020-10-05 12:24:28 +02:00
Benedikt Kulmann 675906ca25 Get rid of named return and obsolete build tag 2020-10-05 12:24:28 +02:00
Benedikt Kulmann 14bd4c83f6 Get rid of unused serviceID and redundant log lines 2020-10-05 12:24:28 +02:00
Benedikt Kulmann 862329cce0 Fix service user usage for eos 2020-10-05 12:24:27 +02:00
Benedikt Kulmann 673d7cf50c Hardcoded service user for auth requests 2020-10-05 12:24:27 +02:00
Benedikt Kulmann 60a3f3cc6e Fix config variable naming 2020-10-05 12:24:27 +02:00
Ilja Neumann 9c64f6a0b5 Create data-provider client 2020-10-05 12:24:27 +02:00
Ilja Neumann 403ccc662e Remove commented code 2020-10-05 12:24:27 +02:00
Ilja Neumann e674b5ce44 Move micro-framework error handling out of storage 2020-10-05 12:24:27 +02:00
Benedikt Kulmann f5a51cd754 Fix runtime startup order issues 2020-10-05 12:24:26 +02:00
Benedikt Kulmann d316acad37 Reuse persisted bleve index 2020-10-05 12:24:26 +02:00
Benedikt Kulmann b01fc62b21 Fix order of extensions on startup 2020-10-05 12:24:26 +02:00
Benedikt Kulmann a02579b4ad Start reva storage metadata by default in ocis 2020-10-05 12:24:26 +02:00
Benedikt Kulmann 2ffff93bca Add changelog 2020-10-05 12:24:26 +02:00
Benedikt Kulmann 5168f8e2c0 Create data subfolders on disk repo start 2020-10-05 12:24:25 +02:00
A.Unger 355c042fa2 load default accounts / groups using the service repository 2020-10-05 12:24:25 +02:00
Benedikt Kulmann b1b1ecfc54 Fix copy/paste typo in log message 2020-10-05 12:24:25 +02:00
Benedikt Kulmann 60efd6371b Fix DeleteGroup implementation and staticchecks 2020-10-05 12:24:25 +02:00
Benedikt Kulmann 4c17d56ae0 Fix config 2020-10-05 12:24:25 +02:00
Benedikt Kulmann d108f00f5c Comment tests for now 2020-10-05 12:24:25 +02:00
Benedikt Kulmann 5f37acbb00 Add config for repo implementations 2020-10-05 12:24:24 +02:00
Ilja Neumann 4428b771bc - Implemented delete + some test 2020-10-05 12:24:24 +02:00
Ilja Neumann 901ada3ffc Basic implementation of CS3 [WIP] 2020-10-05 12:24:24 +02:00
Ilja Neumann f6732fd14e Extract storage layer + cs3impl 2020-10-05 12:24:24 +02:00
Phil Davis 142a652b51 Delete README.md from extension folders 2020-10-05 15:53:36 +05:45
Phil Davis d8554a5685 Delete excess .github from extension folders 2020-10-05 15:53:36 +05:45
Phil Davis 8086d78a92 Delete excess .gitignore from extension folders 2020-10-05 15:53:36 +05:45
Phil Davis 427f82a596 Delete excess .editorconfig from extension folders 2020-10-05 15:53:36 +05:45
Phil Davis 08127c1048 Delete excess .codacy.yml from extension folders 2020-10-05 15:53:36 +05:45
Phil Davis d5aa4c1518 Delete excess .drone.star from extension folders 2020-10-05 15:53:36 +05:45
Jörn Friedrich Dreyer deab8e3f23 Merge pull request #648 from butonic/autoprovision-accounts-flag
Add autoprovision accounts flag
2020-10-05 12:00:34 +02:00
Jörn Friedrich Dreyer 60c319faed Add autoprovision accounts flag
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-10-05 11:25:02 +02:00
Michael Barz 9a17287f73 Merge pull request #634 from owncloud/enable-ocs-http-tests
[Tests-Only] enable ocs http integration tests
2020-10-02 20:59:02 +02:00
Michael Barz 2b57ae4324 Merge pull request #643 from owncloud/fix-eos-docker-compose
readd the eos docker config
2020-10-02 17:14:30 +02:00
Dipak Acharya b10cdc7b85 Add replace for ocis-settings in ocis-ocs go.mod 2020-10-02 20:52:04 +05:45
Dipak Acharya 34efea30de [Tests-Only] enable ocs http integration tests 2020-10-02 20:52:04 +05:45
David Christofas b3824bb403 readd the eos docker config
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-10-02 15:25:51 +02:00
Michael Barz e68d1f9a6f Update Badges in Readme [skip-ci] 2020-10-02 15:22:11 +02:00
Michael Barz 6a9dd1981b Merge pull request #639 from owncloud/split-uitests
[Tests-Only] Optimize the test Suite
2020-10-02 15:12:48 +02:00
Michael Barz 1722cd92c0 do not run acceptance tests on merge commits 2020-10-02 14:35:56 +02:00
Michael Barz 23b8fadbcb point to docs build CI 2020-10-02 14:14:46 +02:00
Michael Barz 7410fdf312 add _index.md to the docs 2020-10-02 13:05:37 +02:00
Michael Barz 4b61b57f8d add _index.md to the docs 2020-10-02 13:04:35 +02:00
Michael Barz 50fcc23ac7 split UI tests in 3 parts 2020-10-01 15:53:20 +02:00
Michael Barz f899ada824 Merge pull request #633 from owncloud/cleanup-docs
[docs-only] Cleanup docs
2020-10-01 14:18:42 +02:00
Michael Barz b0785f4a33 fix docs index page and public upload flow 2020-10-01 13:43:27 +02:00
Michael Barz 8a2a55f733 remove custom clone step from changelog 2020-10-01 11:55:02 +02:00
Michael Barz e53e57eb3f add generate docs steps and update webdav docs 2020-10-01 11:55:02 +02:00
Michael Barz 456ba52d05 cleanup docs for ocis and remaining extensions 2020-10-01 11:55:02 +02:00
Michael Barz 1ebe0f14a1 cleanup glauth and konnectd docs 2020-10-01 11:55:02 +02:00
Michael Barz bae4457cf2 delete old accounts docs 2020-10-01 11:55:02 +02:00
Michael Barz 7369725a40 Merge pull request #630 from owncloud/send-coverage
[Tests-Only] Send coverage to S3 Cache
2020-10-01 11:53:15 +02:00
Michael BarzandPhil Davis 3f86d062c7 Create coverage folder first
Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-10-01 09:41:13 +02:00
Michael Barz 57a1eec5f6 bring back source_repo var in changelog pipeline 2020-09-30 19:28:14 +02:00
Michael Barz ab5631a8e2 purge coverage cache after upload 2020-09-30 17:56:13 +02:00
Michael Barz 69e0da0096 Send coverage to S3 Cache 2020-09-30 17:56:13 +02:00
Michael Barz 17164e00ec Merge pull request #632 from owncloud/simplify-docs
[docs-only] simplify docs pipeline
2020-09-30 17:21:21 +02:00
Michael Barz f0e33ca8e1 simplify docs pipeline 2020-09-30 16:08:01 +02:00
David Christofas c0ae33af5a Merge pull request #610 from owncloud/accounts-version-command
add version command and add build information to metrics
2020-09-30 14:02:00 +02:00
Michael Barz f10f1876a0 Automated changelog update [skip ci] 2020-09-30 11:20:34 +00:00
Michael Barz 86630c42dd Merge pull request #628 from owncloud/enable-changelog
Add Changelog to monorepo
2020-09-30 12:23:21 +02:00
Michael Barz 7f8339b719 Add accounts to root Changelog 2020-09-30 11:17:25 +02:00
Michael Barz 1e9535afd1 Merge pull request #617 from owncloud/thumbnails-version-command
add version command and add build information to metrics
2020-09-29 22:11:41 +02:00
Benedikt Kulmann 7d1c026b90 Merge pull request #602 from owncloud/metadata-storage
Start metadata-storage in reva
2020-09-29 20:38:34 +02:00
Ilja Neumann e0558d9088 Fix port allocation 2020-09-29 16:35:50 +02:00
Ilja Neumann e7c918578b Change port allocation 2020-09-29 16:35:50 +02:00
Ilja Neumann 319a27a298 Override storage-driver roots with storage-metadata root flag 2020-09-29 16:35:50 +02:00
Benedikt Kulmann 1f8d702416 Fix destination of a flag 2020-09-29 16:35:50 +02:00
Benedikt Kulmann 5c0c115287 Fix changelog 2020-09-29 16:35:50 +02:00
Ilja Neumann 080619f677 Override roots for metadata storage 2020-09-29 16:35:50 +02:00
Ilja Neumann 836413b584 Add storage config 2020-09-29 16:35:50 +02:00
Ilja Neumann 6164a17676 Changelog 2020-09-29 16:35:50 +02:00
Ilja Neumann 3535f5f897 Start metadata-storage in reva 2020-09-29 16:35:50 +02:00
Benedikt Kulmann 90cf51af78 Merge pull request #625 from owncloud/phoenix-update
Phoenix update
2020-09-29 11:57:26 +02:00
Benedikt Kulmann 1d6052ac57 Update phoenix commit in drone 2020-09-29 10:54:07 +02:00
Jörn Friedrich Dreyer 60bc955c2a Merge pull request #615 from owncloud/settings-version-command
add version command and add build information to metrics
2020-09-29 10:21:04 +02:00
Benedikt Kulmann 979ac34f1e Add changelog items 2020-09-29 10:00:12 +02:00
Benedikt Kulmann e6680de85c Update compiled assets 2020-09-29 09:53:58 +02:00
Benedikt Kulmann ade5cb337a Align table style with files app 2020-09-29 09:53:38 +02:00
Benedikt Kulmann 22d1ab2f03 Fix button layout in delete alert 2020-09-29 09:46:24 +02:00
Benedikt Kulmann 36b92cab6f Fix button layout for creating accounts 2020-09-29 09:29:00 +02:00
Benedikt Kulmann 2717980495 Update phoenix assets to 0.17.0 2020-09-29 08:58:40 +02:00
Jörn Friedrich Dreyer 369b8d3c99 Merge pull request #614 from owncloud/ocs-version-command
add version command and add build information to metrics
2020-09-28 21:14:08 +02:00
Jörn Friedrich Dreyer b0d281fee8 Merge pull request #620 from butonic/ocis-treetime-accounting
enable ocis driver treetime accounting
2020-09-28 21:09:55 +02:00
Alex Unger 11234d3acf Merge pull request #618 from owncloud/webdav-version-command
add version command and add build information to metrics
2020-09-28 18:19:03 +02:00
David Christofas dfa6c46a9d Merge pull request #616 from owncloud/store-version-command
add version command and add build information to metrics
2020-09-28 17:21:20 +02:00
David Christofas c85308ae3a Merge pull request #612 from owncloud/glauth-metrics-buildinfo
add build information to metrics
2020-09-28 17:20:43 +02:00
David Christofas 08553b9555 Merge pull request #613 from owncloud/konnectd-version-command
add version command and add build information to metrics
2020-09-28 17:12:46 +02:00
Jörn Friedrich Dreyer 4f9ca0ac25 enable ocis driver treetime accounting
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-28 11:54:43 +02:00
Alex Unger 3eedee58af Merge pull request #609 from owncloud/proxy-version-command 2020-09-28 10:18:16 +02:00
David Christofas 8752d447c7 add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 18:04:38 +02:00
David Christofas c05b5a3a81 add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 17:05:51 +02:00
David Christofas e77aea4c44 add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 16:51:43 +02:00
David Christofas 116ba347e9 add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 16:41:02 +02:00
Jörn Friedrich Dreyer cae6a1c3ac Merge pull request #611 from owncloud/fix-table-markdown
fix table markdown
2020-09-25 14:40:05 +02:00
David Christofas be71b844f2 add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 13:52:03 +02:00
David Christofas 4f5531334f add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 13:37:07 +02:00
David Christofas 0578092c6f add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 13:31:14 +02:00
Jörn Friedrich Dreyer 70a6fe57ce fix table markdown 2020-09-25 13:17:21 +02:00
David Christofas dab58c3637 add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 13:15:20 +02:00
David Christofas 9fc09cba43 add version command and add build information to metrics
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 13:06:26 +02:00
Alex Unger ff8fc23ce5 Merge pull request #608 from owncloud/rename-cmd-folders
rename cmd folders
2020-09-25 12:36:27 +02:00
David Christofas 6234064707 rename cmd folders
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-25 09:23:02 +02:00
David Christofas a2eb2b4093 Merge pull request #607 from owncloud/adapt-makefiles-to-new-folder-layout
adapt import paths in the makefiles
2020-09-24 23:02:30 +02:00
David Christofas 51af1e6f26 adapt import paths in the makefiles
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-24 17:25:11 +02:00
Jörn Friedrich Dreyer 3389c48990 Merge pull request #601 from butonic/update-reva-to-20200924
update reva to v1.2.2-0.20200924071957-e6676516e61e
2020-09-24 16:30:19 +02:00
Michael Barz 3256174035 Update Readme.md 2020-09-24 15:39:18 +02:00
Michael Barz feb9a5729b Merge pull request #606 from owncloud/enable-deployment
Re enable deployment pipeline [skip ci]
2020-09-24 15:25:45 +02:00
Michael Barz 40605e8a79 Re enable deployment pipeline [skip ci] 2020-09-24 15:24:06 +02:00
Jörn Friedrich Dreyer 560ef4b6b3 update expected failures on ocis driver
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-24 14:04:17 +02:00
Jörn Friedrich Dreyer e4ededb8e7 Merge pull request #600 from butonic/glauth-reenable-configuring-backends
glauth: Reenable configuring backends
2020-09-24 13:29:05 +02:00
Jörn Friedrich Dreyer e619d33c24 fix issue links in expected failures files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-24 13:25:01 +02:00
Jörn Friedrich Dreyer 3eeb041518 update expected ocis failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-24 13:23:40 +02:00
Jörn Friedrich Dreyer 033feb46a7 glauth: Reenable configuring backends
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-24 12:09:43 +02:00
Jörn Friedrich Dreyer a1079ec33e update reva to v1.2.2-0.20200924071957-e6676516e61e
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-24 12:02:55 +02:00
Michael Barz c4b67b6c3f Merge pull request #598 from owncloud/enable-arm
Re enable arm64 and arm docker piplines
2020-09-24 11:10:16 +02:00
Michael Barz f78799583d Re enable arm64 and arm docker piplines 2020-09-24 08:39:17 +02:00
Michael Barz a59b480019 Remove docs for webdav and graph 2020-09-24 08:35:23 +02:00
Michael Barz 13a7d78276 Fix pipeline dep triggers [skip ci] 2020-09-23 23:28:18 +02:00
Michael Barz df9d353e8a Fix pipeline dep again 2020-09-23 23:20:51 +02:00
Michael Barz 0fcb50a02e Fix pipeline dep 2020-09-23 23:15:46 +02:00
Michael Barz 921f2ad675 Add submodule test and release pipeline 2020-09-23 23:01:38 +02:00
Michael Barz 61a890785c Merge pull request #597 from owncloud/add-skeleton
Add missing skeleton [skip ci]
2020-09-23 16:02:01 +02:00
Michael Barz aded541501 Add missing skeleton [skip ci] 2020-09-23 15:54:33 +02:00
Michael Barz 12aa9ce400 Unlock release pipelines 2020-09-23 15:33:38 +02:00
Alex Unger e0c94f6c21 Merge pull request #593 from owncloud/mono 2020-09-23 15:22:08 +02:00
A.Unger 31e8a3758a wack-a-mole 2020-09-23 12:20:50 +02:00
A.Unger 10ae5553bb fix offenses 2020-09-23 12:15:35 +02:00
A.Unger dd6a7937e0 Revert "fix issues"
This reverts commit 947fc9f044.
2020-09-23 12:12:08 +02:00
A.Unger 947fc9f044 fix issues 2020-09-23 12:07:18 +02:00
A.Unger 8b9e02ec0b Revert "run remark linter locally"
This reverts commit 97c348f1ae.
2020-09-23 11:48:59 +02:00
A.Unger 97c348f1ae run remark linter locally 2020-09-23 11:34:32 +02:00
Michael Barz d9e8b60f49 Add codacy config 2020-09-23 11:08:39 +02:00
A.Unger 32673aecea comment out grpc re/deregistration tests 2020-09-23 10:41:30 +02:00
Michael Barz 0f516db11c Add after pipelines 2020-09-22 16:15:28 +02:00
A.Unger a46ff5d270 fix import path 2020-09-22 15:44:13 +02:00
A.Unger 27f888945e checkout accounts on e55b8ae2f4 due to a regression (?) 2020-09-22 14:53:52 +02:00
A.Unger 30b2756137 Add 'accounts/' from commit 'e55b8ae2f440e20e657fdc21827b935f64bd8458'
git-subtree-dir: accounts
git-subtree-mainline: fd66380082
git-subtree-split: e55b8ae2f4
2020-09-22 14:49:55 +02:00
A.Unger fd66380082 delete accounts 2020-09-22 14:49:48 +02:00
A.Unger b816caeba0 provide ACCOUNTS_DATA_PATH on drone 2020-09-22 11:32:48 +02:00
A.Unger 1f33a79380 remove debug mode from ocis server 2020-09-22 10:53:11 +02:00
A.Unger 7774c6ff56 delete graph command 2020-09-22 10:20:21 +02:00
A.Unger ba757750b4 remove pkg + use correct replace on ocis ocs 2020-09-21 16:09:54 +02:00
Michael Barz 7a8556c04a Fix unit tests 2020-09-21 15:04:10 +02:00
A.Unger c41440e008 adapt docs structure 2020-09-21 13:20:14 +02:00
Michael Barz 696b9a70af Correct the folder names of submodule store 2020-09-21 12:51:47 +02:00
Michael Barz 16fd31a204 Correct the folder names of submodules 2020-09-21 12:48:51 +02:00
Michael Barz 79177666e4 Add readme, microbadger, manifest 2020-09-21 12:46:27 +02:00
A.Unger 527a24c588 add .gitignore + Makefile ro root folder 2020-09-21 12:42:53 +02:00
Michael Barz c06100abfc Add .drone.star 2020-09-21 12:35:46 +02:00
A.Unger 1560b3869b do not track keys 2020-09-21 10:23:56 +02:00
A.Unger da77819bbf ocis command on a working state 2020-09-18 15:45:53 +02:00
A.Unger 704a1f4194 webdav working 2020-09-18 15:26:25 +02:00
A.Unger d2974fbf02 thumbnails working 2020-09-18 15:24:32 +02:00
A.Unger a84fd7c7a6 store working 2020-09-18 15:22:59 +02:00
A.Unger d8ea10ccd0 proxy working 2020-09-18 15:18:41 +02:00
A.Unger fa2643f60b comment out ocs http test 2020-09-18 15:14:00 +02:00
A.Unger aff4396927 ocs working 2020-09-18 15:12:18 +02:00
A.Unger f5ace5bc14 ocis-reva working 2020-09-18 15:07:59 +02:00
A.Unger c192fca74f phoenix working 2020-09-18 15:05:53 +02:00
A.Unger b23ea8f21b konnectd working 2020-09-18 14:57:59 +02:00
A.Unger 33ff094524 glauth working 2020-09-18 14:55:36 +02:00
A.Unger fcca9faa81 accounts running 2020-09-18 14:51:07 +02:00
A.Unger 1a0ddd2190 fix imports 2020-09-18 13:40:05 +02:00
A.Unger d6694bcc3e rename phoenix -> ocis-phoenix 2020-09-18 13:36:01 +02:00
A.Unger aadf516151 Add 'phoenix/' from commit '4bf510094903bb71f9ef70edf6abcb54e3b631fb'
git-subtree-dir: phoenix
git-subtree-mainline: 1517eb9436
git-subtree-split: 4bf5100949
2020-09-18 13:28:53 +02:00
A.Unger 1517eb9436 add ocis subcommand 2020-09-18 13:15:21 +02:00
A.Unger 45f8b7c403 update thumbnails import paths and module name 2020-09-18 13:03:45 +02:00
A.Unger 530336a826 Add 'thumbnails/' from commit '2ebf7b2f23af96b3b499c401fe5498a9349403d8'
git-subtree-dir: thumbnails
git-subtree-mainline: ccc651a11e
git-subtree-split: 2ebf7b2f23
2020-09-18 13:02:40 +02:00
A.Unger ccc651a11e update konnectd import paths and module name 2020-09-18 13:02:16 +02:00
A.Unger 506ba1aa51 Add 'konnectd/' from commit '3829df495cbcad9bb261518b4afb7d15ba53d54c'
git-subtree-dir: konnectd
git-subtree-mainline: ab1e6d4689
git-subtree-split: 3829df495c
2020-09-18 13:00:53 +02:00
A.Unger ab1e6d4689 update graph import paths and module name 2020-09-18 13:00:28 +02:00
A.Unger 2723f17587 Add 'graph/' from commit 'f1efaddc27c74c9de4509cd864fc673ffdf52e19'
git-subtree-dir: graph
git-subtree-mainline: 396d5d3a2f
git-subtree-split: f1efaddc27
2020-09-18 12:59:28 +02:00
A.Unger 396d5d3a2f update webdav import paths and module name 2020-09-18 12:59:04 +02:00
A.Unger 72a987f8e3 Add 'webdav/' from commit '0d5eded8d0068b8df984b3d4c44a66f10c97cf77'
git-subtree-dir: webdav
git-subtree-mainline: 7ffaa859b3
git-subtree-split: 0d5eded8d0
2020-09-18 12:56:12 +02:00
A.Unger 7ffaa859b3 update ocs import paths and module name 2020-09-18 12:55:52 +02:00
A.Unger adcfca1712 Add 'ocs/' from commit '7ca52baa61c4370a1bad0e2f74e85073798bdde9'
git-subtree-dir: ocs
git-subtree-mainline: b274cac8c2
git-subtree-split: 7ca52baa61
2020-09-18 12:53:21 +02:00
A.Unger b274cac8c2 update ocis-reva import paths and module name 2020-09-18 12:52:52 +02:00
A.Unger 5f5bfb66c3 move reva -> ocis-reva 2020-09-18 12:50:45 +02:00
A.Unger 33e907cd8b Add 'reva/' from commit '26235b1c92648716bb30771e6d538c5dddf755c4'
git-subtree-dir: reva
git-subtree-mainline: 91bd83938b
git-subtree-split: 26235b1c92
2020-09-18 12:49:16 +02:00
A.Unger 91bd83938b update proxy import paths and module name 2020-09-18 12:48:35 +02:00
A.Unger 598ca6c405 Add 'proxy/' from commit '201b9a652685cdfb72ba81c7e7b00ba1c60a0e35'
git-subtree-dir: proxy
git-subtree-mainline: 571d96e856
git-subtree-split: 201b9a6526
2020-09-18 12:47:26 +02:00
A.Unger 571d96e856 update glauth import paths and module name 2020-09-18 12:46:58 +02:00
A.Unger 05b1e15464 Add 'glauth/' from commit '0735ec933777cb5fd1427c5311dcb6712def476d'
git-subtree-dir: glauth
git-subtree-mainline: d6733b47cc
git-subtree-split: 0735ec9337
2020-09-18 12:45:18 +02:00
A.Unger d6733b47cc update settings import paths and module name 2020-09-18 12:44:53 +02:00
A.Unger f725ddaa65 Add 'settings/' from commit '230545a4a75b0611988fbcea51336a6c316d6a3d'
git-subtree-dir: settings
git-subtree-mainline: c26f7b390a
git-subtree-split: 230545a4a7
2020-09-18 12:43:43 +02:00
A.Unger c26f7b390a update store dependencies 2020-09-18 12:40:56 +02:00
A.Unger 9366a03a8c Add 'store/' from commit '25456c4ff9247828b6e1eb733ab10712747264d4'
git-subtree-dir: store
git-subtree-mainline: 6e4c6a875a
git-subtree-split: 25456c4ff9
2020-09-18 12:39:05 +02:00
A.Unger 6e4c6a875a update ocis-pkg dependencies 2020-09-18 12:36:10 +02:00
A.Unger c284b4d07b Add 'ocis-pkg/' from commit '72d605ba3857d0b972ddd72e226d8a5360fb480d'
git-subtree-dir: ocis-pkg
git-subtree-mainline: 4c12bed11b
git-subtree-split: 72d605ba38
2020-09-18 12:34:50 +02:00
A.Unger 4c12bed11b update dependencies and import paths 2020-09-18 12:33:35 +02:00
A.Unger 38cecdbf0f Add 'accounts/' from commit 'd2585070bc25d2c8cd0c86476041ee502afb4ac5'
git-subtree-dir: accounts
git-subtree-mainline: 7b8e9bc298
git-subtree-split: d2585070bc
2020-09-18 12:21:51 +02:00
David Christofas d2585070bc Merge pull request #119 from owncloud/change-hashing-algorithm
change hashing algorithm from SHA-512 to bcrypt
2020-09-17 09:31:56 +02:00
Dipak Acharya 26235b1c92 Merge pull request #478 from owncloud/add-StepThroughExtension-to-test-runner
[Tests-Only] Add StepThroughExtension to acceptance test runner
2020-09-17 10:09:03 +05:45
Phil Davis 7b8e9bc298 Merge pull request #536 from owncloud/improve-reva-service-descriptions
Improve reva storage service descriptions
2020-09-16 22:16:02 +05:45
Vincent Petry aa46f0abb9 Improve reva storage service descriptions
The descriptions make it clearer that the services actually represent a
mount point in the combined storage. Each mount point can have a
different driver.
2020-09-16 22:14:50 +05:45
Phil Davis e6c442fc7c Merge pull request #589 from owncloud/add-StepThroughExtension-to-test-runner
[Tests-Only] Add StepThroughExtension to acceptance test runner
2020-09-16 22:12:24 +05:45
Phil Davis 3f4733e889 Add StepThroughExtension to acceptance test runner 2020-09-16 22:09:59 +05:45
Dipak Acharya e8da801512 Fix the ui tests for selecting the role of the user 2020-09-16 21:12:09 +05:45
Dipak Acharya bec637d38e Merge pull request #584 from owncloud/update-expected-failure-eos
[Tests-Only] update expected failures for eos tests
2020-09-16 20:34:16 +05:45
Dipak Acharya 31a5b2006c [Test-Only] update expected failures for eos tests 2020-09-16 19:48:03 +05:45
David Christofas 6c90f6bbb2 Merge pull request #588 from owncloud/update-ocis-ocs
update ocis-ocs
2020-09-16 14:16:54 +02:00
David Christofas 230545a4a7 Merge pull request #76 from owncloud/dependabot/npm_and_yarn/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-09-16 14:11:14 +02:00
David Christofas 826a67b98d change hashing algorithm from SHA-512 to bcrypt
Even though SHA-512 is currently considered a secure algorithm it is not the best choice for password hashing. As this change introduces a breaking change it is beast to introduce it as early as possible to prevent us from having to implement a migration strategy

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-16 14:10:01 +02:00
Phil Davis 40893ae9f6 Add StepThroughExtension to acceptance test runner 2020-09-16 17:38:52 +05:45
David Christofas 54ff430705 update ocis-ocs
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-16 13:40:00 +02:00
David Christofas 7ca52baa61 Automated changelog update [skip ci] 2020-09-16 11:06:15 +00:00
David Christofas d6d693083a Merge pull request #62 from owncloud/changelog-user-response
add missing changelog for the PR #61
2020-09-16 13:01:13 +02:00
David Christofas 6883d2a34e add missing changelog for the PR #61
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-16 12:53:03 +02:00
David Christofas d6cd421235 Merge pull request #61 from owncloud/user-response
match the user responses to the OC10 format
2020-09-16 12:33:20 +02:00
David Christofas eb6b7a4a14 match the user responses to the OC10 format
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-16 12:24:39 +02:00
Benedikt Kulmann 0d0a07e80f Automated changelog update [skip ci] 2020-09-16 10:02:24 +00:00
Benedikt Kulmann 02129e90fe Merge pull request #123 from owncloud/prevent-duplicate-accounts
Prevent creating duplicate accounts
2020-09-16 11:48:10 +02:00
Benedikt Kulmann 49348704b7 Fix errors for test assertions to use go-micro errors 2020-09-16 09:59:54 +02:00
Benedikt Kulmann cb9160368e Enable/fix test for creating duplicate accounts 2020-09-16 09:59:53 +02:00
Benedikt Kulmann b2f076e467 Rename test helper function to reflect it's purpose properly 2020-09-16 09:59:53 +02:00
Benedikt Kulmann b4be122c3c Changelog 2020-09-16 09:59:53 +02:00
Benedikt Kulmann 0272dc269e Reject new account if id, mail or username already exists 2020-09-16 09:59:53 +02:00
dependabot[bot] ec66515595 Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-16 07:52:54 +00:00
David Christofas 5c0c3522f5 Merge pull request #77 from owncloud/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-09-16 09:35:33 +02:00
Phil Davis cae34751bf Merge pull request #58 from owncloud/test-add-to-group
[Test-Only] Add test for adding and removing user to group
2020-09-16 09:37:07 +05:45
Dipak Acharya ad5a61d995 Merge pull request #580 from owncloud/bump-core-commit-id-20200915
[Tests-Only] Bump core commit for tests 20200915
2020-09-16 08:52:18 +05:45
Dipak Acharya 85a4df5095 Merge pull request #477 from owncloud/bump-core-commit-id-20200915
[Tests-Only] Bump core commit for tests 20200915
2020-09-16 08:51:48 +05:45
dependabot[bot] 7ccd638bb3 Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 18:55:49 +00:00
Phil Davis 257786885f Bump core commit for tests 20200915 2020-09-15 22:09:31 +05:45
Phil Davis ed07c5107c Bump core commit for tests 20200915 2020-09-15 22:06:17 +05:45
Lukas Hirt 4bf5100949 Automated changelog update [skip ci] 2020-09-15 15:56:07 +00:00
Lukas Hirt 53db6721c5 Merge pull request #85 from owncloud/remove-pdf-viewer-default-app 2020-09-15 17:49:04 +02:00
Benedikt Kulmann 77a348887b Changelog 2020-09-15 17:00:17 +02:00
Benedikt Kulmann 5230dbf5e5 Remove pdf-viewer from the set of default apps 2020-09-15 16:53:52 +02:00
David Christofas 68cec1b856 Merge pull request #78 from owncloud/dependabot/npm_and_yarn/bl-4.0.3
Bump bl from 4.0.2 to 4.0.3
2020-09-15 16:16:13 +02:00
dependabot[bot] ac3e7410dd Bump bl from 4.0.2 to 4.0.3
Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 12:42:51 +00:00
David Christofas 061f12020f Merge pull request #120 from owncloud/dependabot/npm_and_yarn/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2020-09-15 13:45:23 +02:00
dependabot[bot] 87cc95f1eb Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 11:29:15 +00:00
Dipak Acharya e40ed968d0 [Test-Only] Add test for adding and removing user to group 2020-09-15 17:13:45 +05:45
David Christofas 1f855dd9ef Automated changelog update [skip ci] 2020-09-15 11:28:12 +00:00
David Christofas 786684c017 Merge pull request #122 from owncloud/dependabot/npm_and_yarn/lodash-4.17.20
Bump lodash from 4.17.15 to 4.17.20
2020-09-15 13:14:27 +02:00
Dipak Acharya 07847e1640 Merge pull request #54 from owncloud/ocs-api-test-user
[Tests-Only] HTTP API tests for user at endpoints cloud/user
2020-09-15 16:43:32 +05:45
swoichha 442673677a [Tests-Only] HTTP API tests for user at endpoints cloud/user and /cloud/user/signing-key 2020-09-15 16:21:22 +05:45
dependabot[bot] 9e824b68a4 Bump lodash from 4.17.15 to 4.17.20
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 10:31:24 +00:00
David Christofas 79fc96c401 Automated changelog update [skip ci] 2020-09-15 10:29:38 +00:00
David Christofas 4d973de408 Merge pull request #121 from owncloud/dependabot/npm_and_yarn/bl-4.0.3
Bump bl from 4.0.2 to 4.0.3
2020-09-15 12:14:34 +02:00
dependabot[bot] 631a7f2001 Bump bl from 4.0.2 to 4.0.3
Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-15 09:54:10 +00:00
Dipak Acharya 3685a257a8 Merge pull request #559 from owncloud/bump-core-commit-20200914
[Tests-Only] Bump core commit for tests 20200914
2020-09-14 17:55:56 +05:45
Dipak Acharya d011ac3340 Merge pull request #475 from owncloud/bump-core-commit-20200914
[Tests-Only] Bump core commit for tests 20200914
2020-09-14 17:47:00 +05:45
Phil Davis 717dc36977 Bump core commit for tests 20200914 2020-09-14 17:21:27 +05:45
Phil Davis fda9d77f6e Bump core commit for tests 20200914 2020-09-14 13:32:02 +05:45
Phil Davis 3f8fb10990 Automated changelog update [skip ci] 2020-09-13 07:00:41 +00:00
Phil Davis 0ee2f609fd Merge pull request #556 from owncloud/update-ocis-reva-cleanup-config
Update ocis reva including config cleanup
2020-09-13 12:03:41 +05:45
Phil Davis 622981ca20 Do not use skeleton files in local API tests 2020-09-13 09:14:41 +05:45
Phil Davis b0494f7d85 Adjust expected-failures-on-OCIS-storage.txt 2020-09-13 09:14:30 +05:45
Phil Davis b953b5e546 Skip local tests on OCIS storage 2020-09-13 09:14:22 +05:45
Phil Davis 7ce9cd58b8 Add different storage test pipelines to drone CI 2020-09-13 09:14:13 +05:45
Phil Davis 86af3bdc92 Bump core commit for tests 2020-09-13 09:14:04 +05:45
Benedikt Kulmann 389f83da75 Update ocis-reva v0.14.0 2020-09-12 18:41:48 +05:45
Benedikt Kulmann 2f804739df Changelog 2020-09-12 18:41:48 +05:45
Jörn Friedrich Dreyer 4c9c5850f2 Automated changelog update [skip ci] 2020-09-12 12:21:51 +00:00
Jörn Friedrich Dreyer eaff4c3e67 Merge pull request #555 from owncloud/fix-account-creation
Fix account creation
2020-09-12 13:45:05 +02:00
Benedikt Kulmann 2540069c3a Add changelog 2020-09-11 19:25:31 +02:00
Benedikt Kulmann 7eaf65aa54 Update ocis-accounts@master 2020-09-11 19:23:38 +02:00
Phil Davis c6a350bc4a Automated changelog update [skip ci] 2020-09-11 16:57:22 +00:00
Phil Davis 6a5c38d388 Merge pull request #473 from owncloud/release-0.14.0
Prepare release 0.14.0
2020-09-11 22:27:01 +05:45
Benedikt Kulmann e55b8ae2f4 Automated changelog update [skip ci] 2020-09-11 16:16:16 +00:00
Phil Davis ce69482e09 Bump core commit id to get reliable core API test results 2020-09-11 21:45:16 +05:45
Benedikt Kulmann 00e2e610c6 Merge pull request #118 from owncloud/fix-indexing-on-service-start
Fix indexing on service start
2020-09-11 17:36:57 +02:00
Benedikt Kulmann 9e52ee42b9 Change changelog 2020-09-11 17:21:50 +02:00
Benedikt Kulmann 456217528b Bring back building the index on service start 2020-09-11 17:15:36 +02:00
Benedikt Kulmann 0677d45bd8 Update ocis-accounts@master 2020-09-11 17:03:05 +02:00
Benedikt Kulmann bf3fb9eb4b Automated changelog update [skip ci] 2020-09-11 14:55:24 +00:00
Benedikt Kulmann 4740523ea0 Merge pull request #117 from owncloud/fix-create-account
Fix create account
2020-09-11 16:40:13 +02:00
Benedikt Kulmann 51969bfca3 Fix import order and remove debug log 2020-09-11 16:24:56 +02:00
Vincent Petry f28ad0fc6f Adjust expected failures 2020-09-11 16:06:20 +02:00
Vincent Petry 7ebef347d7 Prepare release 0.14.0 2020-09-11 16:06:20 +02:00
Vincent Petry cc70511bf1 Automated changelog update [skip ci] 2020-09-11 13:57:58 +00:00
Vincent Petry 2b647ded43 Merge pull request #466 from owncloud/reva-ocis-storage
Reva ocis storage
2020-09-11 15:42:30 +02:00
Vincent Petry 111992b4a5 Add OCIS storage expected failures for dav properties 2020-09-11 15:21:35 +02:00
Vincent Petry 05e0300012 Update reva to v1.2.1-0.20200911111727-51649e37df2d
Brings in the new OCIS storage driver
2020-09-11 14:58:21 +02:00
Benedikt Kulmann 921bb6f32e Fix wording of changelog 2020-09-11 14:32:33 +02:00
Benedikt Kulmann 425ae7e74a Fix tests after refactoring 2020-09-11 14:30:17 +02:00
Benedikt Kulmann cb55c7b3b5 Changelog 2020-09-11 14:14:21 +02:00
Benedikt Kulmann 600b428ee4 Refactor service handler init code into functions 2020-09-11 14:06:10 +02:00
Benedikt Kulmann c661312f5d Move service handler init to the server command
We kept two instances of the service handler in parallel
2020-09-11 12:47:43 +02:00
Artur Neumann cb4e972dfb get rid of not existing tests 2020-09-11 16:24:39 +05:45
Phil Davis 75f790fe55 Merge pull request #553 from owncloud/cleanup-expected-failures
[Tests-Only] Cleanup old entries from expected-failures-on-OC-storage
2020-09-11 16:06:30 +05:45
Artur Neumann c1a497898f fix comments 2020-09-11 15:59:05 +05:45
Artur Neumann 668e45b0bc deleting not existing test suite 2020-09-11 15:59:04 +05:45
Artur Neumann c20a27d7df more favorite and version tests are passing 2020-09-11 15:59:04 +05:45
Artur Neumann 0f46323f99 skip some tests that fail because of test infra issues 2020-09-11 15:59:04 +05:45
Artur Neumann c35527c022 rearange expected failures on OCIS storage to reduce diff with expected failures on OC storage 2020-09-11 15:59:04 +05:45
Artur Neumann 0f99853888 delete passing tests from expected failures list in OCIS 2020-09-11 15:59:04 +05:45
Vincent Petry dfeec1dd88 Update reva to butonic ocis-sharing branch
Brings partial webdav properties support and versions
2020-09-11 15:59:04 +05:45
Artur Neumann 3365c0036c better naming of steps 2020-09-11 15:59:04 +05:45
Artur Neumann 7f7c330bec split tests in 4 parts 2020-09-11 15:59:04 +05:45
Artur Neumann 385cb933ca more adjustments to expected failures! 2020-09-11 15:59:04 +05:45
Artur Neumann f75a2520f2 skip only those local tests that fail 2 2020-09-11 15:59:04 +05:45
Artur Neumann b501e73a89 skip only those local tests that fail 2020-09-11 15:59:04 +05:45
Artur Neumann c5bb4304a7 Revert "skip local tests on OCIS storage"
This reverts commit e634cc4d552f7b3605e258a5c07cc37e8a31b64f.
2020-09-11 15:59:04 +05:45
Artur Neumann 004d6b7876 enable oc10 tests that started to pass 2020-09-11 15:59:04 +05:45
Artur Neumann 2126201344 only delete inside root folder, for local tests 2020-09-11 15:59:04 +05:45
Artur Neumann 040ac2b73b delete only content of nodes/root 2020-09-11 15:59:04 +05:45
Artur Neumann 48033e8016 skip some newly enabled tests 2020-09-11 15:59:04 +05:45
Artur Neumann aa858d8d29 skip failing oc10 API tests 2020-09-11 15:59:04 +05:45
Artur Neumann c718f56884 skip local tests on OCIS storage 2020-09-11 15:59:04 +05:45
Artur Neumann f18a95ec4a delete only inside nodes 2 2020-09-11 15:59:04 +05:45
Artur Neumann a69c4bab4c delete only inside nodes 2020-09-11 15:59:04 +05:45
Artur Neumann da48317e6a create /srv/app/tmp/ocis/root/ 2020-09-11 15:59:04 +05:45
Vincent Petry 127d6300cf Update to latest butonic ocis-sharing branch
Includes more fixes for trashbin
2020-09-11 15:59:04 +05:45
Artur Neumann c4af223861 fix config name 2020-09-11 15:59:04 +05:45
Artur Neumann 7b3bb22da3 set dataroot and use delete command to delete user data 2020-09-11 15:59:04 +05:45
Vincent Petry efe5e95891 Switch to ocis-sharing branch in butonic's reva
It contains more improvements on top of the ocis storage
2020-09-11 15:59:04 +05:45
Artur Neumann 6e295fe252 set skeleton and userdeletion 2020-09-11 15:59:04 +05:45
Artur Neumann a3d3f5ff13 skip tests on OCIS storage that are skipped on OC storage 2020-09-11 15:59:03 +05:45
Artur Neumann c826b04729 fix behat filter tags 2020-09-11 15:59:03 +05:45
Artur Neumann dddc0ce15a rename expected-failures on OC storage file 2020-09-11 15:59:03 +05:45
Artur Neumann cd22d1da5a use owncloud as storage name 2020-09-11 15:59:03 +05:45
Artur Neumann 3f7f8eed13 use correct function to upper string 2020-09-11 15:59:03 +05:45
Artur Neumann 1d31f4db12 run local API tests with multiple storages 2020-09-11 15:59:03 +05:45
Artur Neumann 808701c9d7 expected failures on ocis-storage file 2020-09-11 15:59:03 +05:45
Artur Neumann d43860b184 run API tests also on ocis storage 2020-09-11 15:59:03 +05:45
Vincent Petry 4cd95c28ed Use reva ocis-driver branch 2020-09-11 15:59:03 +05:45
Artur Neumann bf149c679f Merge pull request #472 from owncloud/cleanup-expected-failures
[Tests-Only] Cleanup old entries from expected-failures-on-OC-storage
2020-09-11 15:56:08 +05:45
Phil Davis 183efdafde Cleanup old entries from expected-failures-on-OC-storage 2020-09-11 15:26:18 +05:45
Phil Davis fccaf94e20 Cleanup old entries from expected-failures-on-OC-storage 2020-09-11 15:15:43 +05:45
Benedikt Kulmann 177d41211b Move role assignment to the end of account creation 2020-09-11 10:26:30 +02:00
Artur Neumann 9568f029ca Merge pull request #467 from owncloud/bump-core-commit-id-20200910
[Tests-Only] Bump core commit
2020-09-11 10:30:03 +05:45
Phil Davis e8e8dedf86 Merge pull request #548 from owncloud/bump-core-commit-id-20200910
[Tests-Only] Bump core commit
2020-09-11 10:26:16 +05:45
Phil Davis 4262caf022 Add extra excludeGroup scenarios to expected failures 2020-09-11 08:19:27 +05:45
Phil Davis 4fac467a8c Add new sharing test scenarios that fail to expected-failures 2020-09-11 08:19:27 +05:45
Phil Davis cdc6d42501 Bump core commit 2020-09-11 08:19:27 +05:45
Benedikt Kulmann 359f1657cf Automated changelog update [skip ci] 2020-09-10 21:00:25 +00:00
Benedikt Kulmann ad97d2ee8c Merge pull request #549 from owncloud/accounts-design-improvements
Accounts design improvements
2020-09-10 22:27:45 +02:00
Benedikt Kulmann 940aa1f077 Changelog 2020-09-10 21:33:23 +02:00
Benedikt Kulmann c85a197977 Update ocis-accounts@master 2020-09-10 21:30:45 +02:00
Jörn Friedrich Dreyer 565d3babb2 Automated changelog update [skip ci] 2020-09-10 18:51:29 +00:00
Jörn Friedrich Dreyer 90a56fc477 Merge pull request #116 from owncloud/improve-accounts-ui
Improve accounts ui
2020-09-10 20:34:26 +02:00
Benedikt Kulmann d34f8bc091 Changelog 2020-09-10 19:07:49 +02:00
Benedikt Kulmann 17bef7bde4 Fix tests 2020-09-10 19:04:11 +02:00
Benedikt Kulmann bbefbb4237 Confirmation dialog for deleting accounts 2020-09-10 18:31:49 +02:00
Benedikt Kulmann 5e2130a1e6 Input validation on username and improved error handling 2020-09-10 17:38:28 +02:00
Benedikt Kulmann 93ecc5c2e8 Extract actions dropdown into standalone buttons and set icons 2020-09-10 17:05:01 +02:00
Benedikt Kulmann 4fe66b214c Rename enable/disable to activate/block 2020-09-10 16:43:12 +02:00
Benedikt Kulmann bcb115ef1a Remove UID and GID from accounts list 2020-09-10 16:38:30 +02:00
Benedikt Kulmann 06880c1488 Reorganize code into components and align layout with phoenix 2020-09-10 16:28:21 +02:00
Phil Davis 083f677811 Add new sharing test scenarios that fail to expected-failures 2020-09-10 19:10:21 +05:45
Benedikt Kulmann e501ee0f32 Merge pull request #544 from owncloud/fix-phoenix-external-app-urls
Fix phoenix external app urls
2020-09-10 15:02:43 +02:00
Phil Davis eed339bc92 Bump core commit 2020-09-10 17:39:46 +05:45
Benedikt Kulmann f68a5d02a6 Add changelog 2020-09-10 12:56:46 +02:00
Benedikt Kulmann eee8520c0e Update ocis-phoenix@master 2020-09-10 12:56:45 +02:00
Vincent Petry d3c11afde2 Automated changelog update [skip ci] 2020-09-10 10:46:11 +00:00
Vincent Petry 3ffd46dc49 Merge pull request #543 from owncloud/update-ocis-reva-10_09_2020
Update ocis-reva 2020-09-10
2020-09-10 12:08:42 +02:00
Vincent Petry e3357e2670 Remove expected failure for download on received share 2020-09-10 11:39:47 +02:00
Vincent Petry 3c82ffc32f Automated changelog update [skip ci] 2020-09-10 09:08:17 +00:00
Vincent Petry ac82809dba Update ocis-reva 2020-09-10
- ocis-reva v0.13.1-0.20200910085648-26465bbdcf46
- fixes file operations for received shares by changing OC storage default config
- adds ability to overwrite storage registry rules
2020-09-10 11:07:56 +02:00
Benedikt Kulmann 8e3ed0e966 Automated changelog update [skip ci] 2020-09-10 09:07:22 +00:00
Benedikt Kulmann 3f65e8975b Merge pull request #83 from owncloud/fix-external-app-urls
Fix external app urls
2020-09-10 11:02:06 +02:00
Vincent Petry 26465bbdcf Merge pull request #461 from butonic/config-cleanup
Config refactor, add ocis storage, fix oc storage sharing
2020-09-10 10:56:48 +02:00
Benedikt Kulmann 97d701ad8f Fix changelog 2020-09-10 10:50:27 +02:00
Benedikt Kulmann c4771b0910 Change external app config to just use the paths of the js bundles 2020-09-10 10:27:47 +02:00
Vincent Petry 40f24f296c Remove expected failure for download on received share 2020-09-10 10:25:07 +02:00
Benedikt Kulmann f9bb170557 Automated changelog update [skip ci] 2020-09-10 08:17:54 +00:00
Vincent Petry aa41066f93 Update core commit 2020-09-10 10:07:40 +02:00
Benedikt Kulmann a195ed2f80 Merge pull request #525 from owncloud/update-proxy-without-cache
Update proxy and accounts for enable/disable, create, delete accounts
2020-09-10 09:45:05 +02:00
Benedikt Kulmann 1c8dc0741f Add changelog 2020-09-10 09:15:55 +02:00
Benedikt Kulmann 280542989b Fix the default external app urls
They were hardcoded to localhost:9200 instead of using the server url
config.
2020-09-10 09:10:38 +02:00
Benedikt Kulmann d319771d36 Update ocis-accounts@master
This brings in creating and deleting accounts
2020-09-10 08:44:23 +02:00
Benedikt Kulmann 68da5f1cec Add more changelog info 2020-09-10 08:37:43 +02:00
Benedikt Kulmann 73bdd96170 Update ocis-accounts@master 2020-09-10 08:37:41 +02:00
Benedikt Kulmann 14d368a344 Changelog 2020-09-10 08:36:40 +02:00
Benedikt Kulmann 17640e3a43 Update ocis-proxy@master 2020-09-10 08:36:40 +02:00
Phil Davis 0c4b8dd1ab Merge pull request #540 from owncloud/bump-phoenix-commit-20200910
[tests-only] Bump Phoenix UI test commit id
2020-09-10 10:04:01 +05:45
Phil Davis e061cd22ee Bump Phoenix UI test commit id 2020-09-10 09:15:07 +05:45
Benedikt Kulmann cea2720c39 Automated changelog update [skip ci] 2020-09-09 19:29:41 +00:00
Benedikt Kulmann a7952f38fc Merge pull request #115 from owncloud/feature/create-delete-accounts
Add create/delete capabilities and UI
2020-09-09 21:16:09 +02:00
Benedikt Kulmann 2b8dab06df Fix step definition for checking deleted users 2020-09-09 18:03:08 +02:00
Benedikt Kulmann 4d0b7ea86b Fix accountsPage ref in tests 2020-09-09 16:54:26 +02:00
Lukas Hirt 149a92b3ef Regenerate assets 2020-09-09 16:30:00 +02:00
Lukas Hirt 361736c123 Clean up, add changelog and disable creation form when create is in progress 2020-09-09 16:29:07 +02:00
Lukas Hirt d2234c4a68 Regenerated protobuf 2020-09-09 15:21:41 +02:00
Lukas Hirt fa1182d1b8 Revert go.mod changes 2020-09-09 14:14:39 +02:00
Lukas Hirt f3af912c6f Regenerate assets 2020-09-09 14:10:27 +02:00
Lukas Hirt b549b9ae16 Use correct types 2020-09-09 14:02:06 +02:00
Lukas Hirt 170152f9f2 Add missing click on creation trigger 2020-09-09 13:55:35 +02:00
Lukas Hirt 5fa91c4a1d Accept 204 response status as valid 2020-09-09 13:53:49 +02:00
Lukas Hirt ebbf1c8262 Add acceptance tests 2020-09-09 13:52:47 +02:00
Lukas Hirt 51c39bbceb Submit new user by hitting enter 2020-09-09 13:16:57 +02:00
Lukas Hirt b13d323af8 Add delete action 2020-09-09 13:15:37 +02:00
Lukas Hirt 15da3462ac Use payload when inserting created account 2020-09-09 13:01:22 +02:00
Vincent Petry d462e3212c Add ocis to driver list in help
Also added slight hint about them being mounts with specific drivers.
2020-09-09 12:38:13 +02:00
Lukas Hirt c9efbbd6b8 Merge branch 'feature/create-delete-accounts' of github.com:owncloud/ocis-accounts into feature/create-delete-accounts 2020-09-09 12:30:54 +02:00
Lukas Hirt 0a6f502037 Fix password input alignment 2020-09-09 12:30:21 +02:00
Benedikt Kulmann 729fd3b5c8 Add preferred_name to request payload when creating account 2020-09-09 10:57:39 +02:00
Lukas Hirt 1965469ae6 Add create/delete capabilities and UI 2020-09-09 10:35:28 +02:00
Vincent Petry 67f927e585 Merge branch 'master' into config-cleanup 2020-09-09 10:25:54 +02:00
Jörn Friedrich Dreyer 56d208c23c Automated changelog update [skip ci] 2020-09-09 08:18:10 +00:00
Jörn Friedrich Dreyer 8c4128f1d5 Merge pull request #535 from owncloud/glauth-fix-search
Update ocis-glauth@master
2020-09-09 09:44:24 +02:00
Benedikt Kulmann a5817c793a Add changeleog 2020-09-09 09:00:39 +02:00
Benedikt Kulmann 5b310f7fd5 Update ocis-glauth@master 2020-09-09 08:56:29 +02:00
Jörn Friedrich Dreyer 0735ec9337 Automated changelog update [skip ci] 2020-09-09 06:41:50 +00:00
Jörn Friedrich Dreyer 796c8be20c Merge pull request #32 from owncloud/fix-search
Extend query if searchBaseDN already is a user/group
2020-09-09 08:36:52 +02:00
Dipak Acharya d01d456536 Merge pull request #41 from owncloud/ocs-api-test
[Tests-Only] Write HTTP API tests for user's endpoints
2020-09-09 09:22:51 +05:45
Benedikt Kulmann d5c5b3b16f Changelog 2020-09-08 18:05:28 +02:00
Benedikt Kulmann d869aa1d5a Extend query if searchBaseDN already is a user/group 2020-09-08 18:00:25 +02:00
Artur Neumann e843a523cd Merge pull request #528 from owncloud/add-links-to-failing-acceptSharesToSharesFolder-scenarios
[Tests-Only] Add issue links for failing acceptSharesToSharesFolder scenarios
2020-09-08 21:13:57 +05:45
Artur Neumann 52414c95b0 Merge pull request #465 from owncloud/add-links-to-failing-acceptSharesToSharesFolder-scenarios
[Tests-Only] Add issue links for failing acceptSharesToSharesFolder scenarios
2020-09-08 21:11:43 +05:45
Vincent Petry 8700b63e2a Automated changelog update [skip ci] 2020-09-08 14:25:03 +00:00
Vincent Petry 404383ba1e Merge pull request #114 from owncloud/init-role-service-in-grpc-server
Init role service in grpc server
2020-09-08 16:11:45 +02:00
Benedikt Kulmann e6bc812692 Changelog 2020-09-08 15:51:24 +02:00
Benedikt Kulmann eedcdf5d8e Provide role service in service handler for grpc server 2020-09-08 15:39:16 +02:00
Jörn Friedrich Dreyer 87b9469235 fix public sharing port, update generated docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-08 14:36:50 +02:00
Jörn Friedrich Dreyer 01592572f3 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-08 14:29:35 +02:00
Jörn Friedrich Dreyer e3c081ba1a make home data use same enable home override config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-08 14:14:19 +02:00
Jörn Friedrich Dreyer 6d4935c1f3 make only home storage default to enable home
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-08 14:14:19 +02:00
Jörn Friedrich Dreyer 259e564092 home creation is a config option for storage drivers, not for storage providers
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-08 14:14:19 +02:00
Jörn Friedrich Dreyer 6054650988 default oc driver to enable home
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-08 14:14:19 +02:00
Jörn Friedrich Dreyer 5156ac5c23 fix flag name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-08 14:14:19 +02:00
Jörn Friedrich Dreyer bb278ddaaf reordering to align with reva, add missing owncloud options
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-08 14:14:19 +02:00
Jörn Friedrich Dreyer 1cd35ce609 add ocis driver, arbitrary storage driver rules
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-09-08 14:14:19 +02:00
Jörn Friedrich Dreyer c99861130f config cleanup 2020-09-08 14:14:19 +02:00
Phil Davis 4f80c1e75b Add issue links for failing acceptSharesToSharesFolder scenarios 2020-09-08 16:54:00 +05:45
Phil Davis dbe4d416fd Add issue links for failing acceptSharesToSharesFolder scenarios 2020-09-08 16:52:37 +05:45
Artur Neumann f80268a997 Merge pull request #527 from owncloud/bump-core-commit-20200908
[Tests-Only] Bump core commit
2020-09-08 16:13:48 +05:45
Artur Neumann cfe5774212 Merge pull request #464 from owncloud/bump-core-commit-20200908
[Tests-Only] Bump core commit
2020-09-08 16:13:45 +05:45
Phil Davis 707607aa7c Add acceptSharesToSharesFolder expected-failures 2020-09-08 15:14:31 +05:45
Phil Davis 2843691618 Add acceptSharesToSharesFolder expected-failures 2020-09-08 15:12:37 +05:45
Phil Davis 306f6b76b3 Bump core commit 2020-09-08 14:53:12 +05:45
Phil Davis 3eb9b034d9 Bump core commit 2020-09-08 14:48:43 +05:45
Lukas Hirt 6dfbdf7dd9 Automated changelog update [skip ci] 2020-09-07 16:24:44 +00:00
Lukas Hirt 6323618ba2 Merge pull request #109 from owncloud/feature/batch-actions 2020-09-07 18:09:28 +02:00
Lukas Hirt 4d37041ebc Regenerate assets 2020-09-07 17:53:55 +02:00
Lukas Hirt 91ca8ac528 Add changelog 2020-09-07 17:53:34 +02:00
Lukas Hirt 7cd554bf41 Refactor 2020-09-07 17:49:35 +02:00
Lukas Hirt b95b9800e8 Add acceptance tests 2020-09-07 17:17:23 +02:00
Alex Unger 201b9a6526 Automated changelog update [skip ci] 2020-09-07 10:54:49 +00:00
Alex Unger 1ea79c8984 Merge pull request #100 from owncloud/remove-account-cache 2020-09-07 12:49:02 +02:00
Benedikt Kulmann fb0ecd7e50 Changelog 2020-09-07 11:50:05 +02:00
Benedikt Kulmann 2eacbf6b42 Get rid of cache in account_uuid middleware
Accounts can be changed. In that case the cache entries would need to be
invalidated. Since we are keeping accounts in an in-memory index within
ocis-accounts anyway, we can get rid of this kind of optimization for
now.
2020-09-07 11:45:36 +02:00
Benedikt Kulmann 199267c13e Automated changelog update [skip ci] 2020-09-07 07:44:29 +00:00
Lukas Hirt 3980084c53 Use correct request and update changed account 2020-09-06 21:40:15 +02:00
Lukas Hirt 3dc3dda570 Add label to account select checkbox 2020-09-06 21:40:15 +02:00
Lukas Hirt 3fd44de84f Handle disable and enable actions 2020-09-06 21:40:15 +02:00
Lukas Hirt 45c170729e Add batch actions UI 2020-09-06 21:40:15 +02:00
Benedikt Kulmann 90e4df62d4 Merge pull request #522 from owncloud/update-proxy-director-fix
Update proxy director fix
2020-09-04 16:15:04 +02:00
Benedikt Kulmann ae3d9574b6 Changelog 2020-09-04 15:33:23 +02:00
Benedikt Kulmann 27e25f8943 Update ocis-proxy@master 2020-09-04 15:30:25 +02:00
Benedikt Kulmann fcceec602f Automated changelog update [skip ci] 2020-09-04 13:28:06 +00:00
Benedikt Kulmann 85b3d9366f Merge pull request #99 from owncloud/fix-director-selection
Fix director selection
2020-09-04 15:22:00 +02:00
Benedikt Kulmann 678db5dcd9 Changelog 2020-09-04 15:16:33 +02:00
Benedikt Kulmann 214dbc4a48 Fix director selection
Instead of overwriting the director on each request, provide function
for director selection. On concurrent requests the previous
implementation could have caused situations where the request was
performed on a wrong director.
2020-09-04 15:16:33 +02:00
Benedikt Kulmann 8e665bb126 Automated changelog update [skip ci] 2020-09-04 10:30:43 +00:00
Benedikt Kulmann bf5bb9a971 Merge pull request #112 from owncloud/permission-check-tests
[tests-only] tests for account management permission checks
2020-09-04 12:16:21 +02:00
Benedikt Kulmann 804e9914f1 Add mock guest role 2020-09-04 11:59:34 +02:00
Benedikt Kulmann 7c315fe001 Sort imports 2020-09-04 11:57:57 +02:00
Benedikt Kulmann 232e84e131 Rename test file to reflect that it's only about permission checks 2020-09-04 11:52:50 +02:00
Benedikt Kulmann b1a4b48167 Add test for permission checks on CreateAccount 2020-09-04 11:51:52 +02:00
Benedikt Kulmann c4edd4828d Add test for permission checks on DeleteAccount 2020-09-04 11:50:08 +02:00
Benedikt Kulmann dc2484d584 Add tests for UpdateAccount 2020-09-04 11:47:29 +02:00
Benedikt Kulmann a0cbbaaf71 Add test for GetAccount permission checks 2020-09-04 11:43:28 +02:00
Benedikt Kulmann d6db5c9f64 Test setup for accounts handler and ListAccounts permission checks 2020-09-04 11:36:27 +02:00
Benedikt Kulmann 9a4a08e35f remove debug code 2020-09-04 10:22:20 +02:00
Dipak Acharya 95e045c688 Fix the tests for new response format 2020-09-04 12:20:00 +05:45
Dipak Acharya a7a6f9cb70 Tag integration tests with their bug issues 2020-09-04 11:31:36 +05:45
Dipak Acharya 8afdb15f25 [Tests-Only] Write HTTP API tests for user's endpoints 2020-09-04 11:31:36 +05:45
Swoichha Adhikari 4598747a68 Merge pull request #107 from owncloud/tests-accounts-update-roles
[Tests-Only ] webUI tests for non-admin user and guest user
2020-09-03 17:01:09 +05:45
swoichha 3910f37c87 tests for non-admin user and guest user 2020-09-03 16:44:43 +05:45
Artur Neumann a8a95bc3b9 Automated changelog update [skip ci] 2020-09-03 07:05:50 +00:00
Artur Neumann 0f4d249e75 Merge pull request #110 from owncloud/drone-ocis-commit-id
[tests-only] Pin ocis commit id to most recent master in drone
2020-09-03 12:31:30 +05:45
Artur Neumann ad5de8264f Automated changelog update [skip ci] 2020-09-03 03:54:07 +00:00
Artur Neumann 994bda0661 Merge pull request #73 from owncloud/drone-ocis-commit-id
[tests-only] Pin ocis commit id to most recent master in drone
2020-09-03 09:22:53 +05:45
Phil Davis ba3eb488e3 Merge pull request #514 from owncloud/bump-commit-id-20200902
[Tests-Only] Bump core commit 20200902
2020-09-03 08:48:10 +05:45
Phil Davis 309ff3ac90 Merge pull request #462 from owncloud/bump-commit-id-20200902
[Tests-Only] Bump core commit 20200902
2020-09-03 08:47:51 +05:45
Phil Davis c09157861a Add Provisioning API scenarios to expected-failures 2020-09-03 08:02:07 +05:45
Phil Davis 027d5defd7 Do not run comments, federation, notifications, systemtags tests 2020-09-03 08:02:07 +05:45
Phil Davis d13b8079c6 Adjust line numbers of trashbinFilesFolders scenarios 2020-09-03 08:02:07 +05:45
Phil Davis 3bcb893ab9 Bump core commit 20200902 2020-09-03 08:02:07 +05:45
Benedikt Kulmann 89debb11d2 Pin ocis commit id to most recent master in drone 2020-09-02 20:54:00 +02:00
Benedikt Kulmann f2a2269b38 Pin ocis commit id to most recent master in drone 2020-09-02 20:52:47 +02:00
Vincent Petry 1840e805bd Automated changelog update [skip ci] 2020-09-02 17:15:35 +00:00
Phil Davis 2561a115c8 Do not run provisioning API tests 2020-09-02 22:16:22 +05:45
Phil Davis 4c7ba5b45e Do not run comments, federation, notifications, systemtags tests 2020-09-02 21:36:32 +05:45
Phil Davis 2c17012428 Adjust line numbers of trashbinFilesFolders scenarios 2020-09-02 21:36:32 +05:45
Phil Davis 249191007e Bump core commit 20200902 2020-09-02 21:36:32 +05:45
Benedikt Kulmann ffce67db11 Merge pull request #108 from owncloud/update-ocis-pkg-roles-manager
Switch over from roleCache+middleware to roleManager
2020-09-02 17:22:07 +02:00
Benedikt Kulmann 160d437925 Merge pull request #72 from owncloud/update-ocis-pkg-roles-manager
Update ocis-pkg/v2 for updated helper package
2020-09-02 17:21:52 +02:00
Benedikt Kulmann 72d605ba38 Automated changelog update [skip ci] 2020-09-02 15:20:28 +00:00
Benedikt Kulmann 7773c1bfa4 Merge pull request #62 from owncloud/revert-61-revert-60-roles-manager
Bring back "Roles manager" after release
2020-09-02 17:18:27 +02:00
Benedikt Kulmann c3f8001ea0 Merge branch 'master' into revert-61-revert-60-roles-manager 2020-09-02 16:48:24 +02:00
Benedikt Kulmann 0b9ea0de67 Automated changelog update [skip ci] 2020-09-02 14:41:33 +00:00
Benedikt Kulmann d24aec6b53 Revert "Revert "Roles manager"" 2020-09-02 16:40:22 +02:00
Benedikt Kulmann 5e21355a85 Merge pull request #61 from owncloud/revert-60-roles-manager
Revert "Roles manager"
2020-09-02 16:39:49 +02:00
Benedikt Kulmann 5caf0cb8d2 Revert "Roles manager" 2020-09-02 16:37:33 +02:00
Vincent Petry 163c5f6e84 Merge pull request #505 from owncloud/account-management-permission-checks
Bring account management from ocis-accounts
2020-09-02 16:33:21 +02:00
Benedikt Kulmann 2293ea2606 Add ocis-pkg PR url to changelog 2020-09-02 16:14:59 +02:00
Benedikt Kulmann 6a01f50d58 Add ocis-pkg PR url to changelog 2020-09-02 16:14:25 +02:00
Benedikt Kulmann 23ea396655 Switch to new ocis commit id 2020-09-02 15:57:14 +02:00
Benedikt Kulmann a704ef55df Switch to new ocis commit id 2020-09-02 15:56:59 +02:00
Benedikt Kulmann ec9fa3375a Add changelog 2020-09-02 15:55:12 +02:00
Benedikt Kulmann f5cb411e3c Switch from roles cache + middleware to roles manager 2020-09-02 15:52:07 +02:00
Benedikt Kulmann a25f279652 Add changelog and update to ocis-pkg/v2@master 2020-09-02 15:51:02 +02:00
Benedikt Kulmann 775f3d9d52 Automated changelog update [skip ci] 2020-09-02 13:50:08 +00:00
Benedikt Kulmann 1e87c6173a Merge pull request #60 from owncloud/roles-manager
Roles manager
2020-09-02 15:48:13 +02:00
Benedikt Kulmann 95bc5111e5 Switch over from roleCache+middleware to roleManager 2020-09-02 15:46:30 +02:00
Benedikt Kulmann 4521014549 Add comments on exported functions and types 2020-09-02 15:43:15 +02:00
Benedikt Kulmann a00e03fd6e Add changelog 2020-09-02 15:39:16 +02:00
Benedikt Kulmann 1676f3541c Move role middleware and cache logic into a manager 2020-09-02 15:36:31 +02:00
Benedikt Kulmann cbc3ac5995 Update ocis-proxy@master 2020-09-02 15:20:14 +02:00
Benedikt Kulmann 1afd3bb253 Add changelog 2020-09-02 15:18:14 +02:00
Benedikt Kulmann cbd90839c0 Update ocis-settings@master 2020-09-02 15:18:13 +02:00
Benedikt Kulmann 642a4c1f60 Update ocis-accounts@master 2020-09-02 15:18:12 +02:00
Benedikt Kulmann c8f9d7862e Update ocis-proxy@master 2020-09-02 15:17:45 +02:00
Benedikt Kulmann b5264b549e Update ocis-hello@master 2020-09-02 15:17:17 +02:00
David Christofas 8a711e2d4c Automated changelog update [skip ci] 2020-09-02 13:05:24 +00:00
David Christofas fc364cfe11 Merge pull request #516 from owncloud/update-ocis-ocs
update ocis-accounts, ocis-ocs and ocis-settings
2020-09-02 14:34:28 +02:00
David Christofas fa42ffaaf5 update ocis-accounts, ocis-ocs and ocis-settings
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-02 13:58:01 +02:00
Benedikt Kulmann db95804af5 Automated changelog update [skip ci] 2020-09-02 11:51:44 +00:00
Benedikt Kulmann d62dfce7f4 Merge pull request #96 from owncloud/ocis-hello-endpoints
Add ocis-hello endpoints to builtin and example config
2020-09-02 13:46:26 +02:00
David Christofas 185aeeeb1e Automated changelog update [skip ci] 2020-09-02 11:36:18 +00:00
Benedikt Kulmann 4c84faac6a Merge branch 'master' into ocis-hello-endpoints 2020-09-02 13:35:08 +02:00
David Christofas d261f2f054 Merge pull request #48 from owncloud/prepare-release-0.3.1
prepare release v0.3.1
2020-09-02 13:31:08 +02:00
David Christofas ae657c95f1 prepare release v0.3.1
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-02 13:24:15 +02:00
David Christofas 142a580dc8 Automated changelog update [skip ci] 2020-09-02 11:11:37 +00:00
David Christofas dcb02f35ce Merge pull request #47 from owncloud/ocs-response-format
fix ocs resonse format
2020-09-02 13:07:16 +02:00
David Christofas 2d1dc2f308 fix ocs resonse format
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-09-02 12:45:47 +02:00
Vincent Petry 35dc3aeaba Automated changelog update [skip ci] 2020-09-02 09:46:47 +00:00
Vincent Petry bc0ac44a01 Merge pull request #69 from owncloud/use-role-ids-from-context
Use roleIDs from context instead of loading them again
2020-09-02 11:30:13 +02:00
Benedikt Kulmann c2f1038fe3 Fix drone step dependencies 2020-09-02 08:50:40 +02:00
Benedikt Kulmann 2c5d4535cd Switch drone over to another ocis commit 2020-09-02 08:41:34 +02:00
Benedikt Kulmann 391832e2fd Make linter happy 2020-09-01 20:37:11 +02:00
Benedikt Kulmann 9d5fe2bb06 Fix grpc tests to set roleIDs on metadata context 2020-09-01 20:28:48 +02:00
Benedikt Kulmann 45ec870948 Add changelog 2020-09-01 11:26:45 +02:00
Benedikt Kulmann ec89de9130 Use roleIDs from context instead of loading them again
The roleIDs are coming in as json string from the metadata context and can be extracted
using a helper function from the roles middleware. Instead of re-loading
those roleIDs again on every permission related request, we now just use
the roleIDs from the context. This is also more future-proof for when we
decide to move away the role assignments from the settings service into
the accounts service.
2020-09-01 11:22:14 +02:00
Benedikt Kulmann 6a27781a27 Automated changelog update [skip ci] 2020-09-01 07:44:57 +00:00
Dipak Acharya 68e0caf402 Automated changelog update [skip ci] 2020-09-01 07:39:06 +00:00
Dipak Acharya b04f72231e Merge pull request #42 from owncloud/update-ocis-accounts
Update ocis-accounts to v0.4.2
2020-09-01 13:19:03 +05:45
Benedikt Kulmann 848658e110 Merge pull request #100 from owncloud/manage-account-permissions
Manage account permissions
2020-09-01 09:31:30 +02:00
Benedikt Kulmann bb4e0deb51 use ocis commit with ocis-proxy@0.7.1-0.20200828151439-7d24bb391fb0 2020-09-01 09:14:53 +02:00
Benedikt Kulmann 89d0b66465 Revert "Try to run with ocis-accounts uuids"
This reverts commit e2a7a9fc01.
2020-09-01 08:24:49 +02:00
Benedikt Kulmann c5206c087d Merge branch 'manage-account-permissions' of github.com:owncloud/ocis-accounts into manage-account-permissions 2020-08-31 14:04:12 +02:00
Benedikt Kulmann c0e230fa7f Remove user creation step. Used user is already created. 2020-08-31 14:03:40 +02:00
Dipak Acharya 92dcb0833f Wait for services to start in CI ui tests 2020-08-31 17:34:17 +05:45
Dipak Acharya 3c5f9647f0 Add changelog item 2020-08-31 17:17:39 +05:45
David Christofas 888962f907 Merge pull request #98 from owncloud/fix-readme
Fix readme filename
2020-08-31 13:19:19 +02:00
Dipak Acharya c5d9a602a1 Update ocis-accounts to v0.4.1 2020-08-31 16:29:34 +05:45
Benedikt Kulmann e2a7a9fc01 Try to run with ocis-accounts uuids 2020-08-31 11:47:30 +02:00
Hari Bhandari b9df1b4459 Merge pull request #509 from owncloud/latest-webUI-tests
[Tests-Only] Run latest phoenix webUI tests
2020-08-31 14:52:35 +05:45
Benedikt Kulmann 03621d42a0 Run ui tests as our default admin user 2020-08-31 10:18:13 +02:00
HariBhandari07 7cfbfcc69c [Tests-Only] Run latest phoenix webUI tests 2020-08-31 13:40:12 +05:45
Phil Davis 8fff4dedf7 Merge pull request #508 from owncloud/api-trashbin-fixes
[Tests-Only] Delete passing apiTrashbin test from bug demonstration
2020-08-31 13:36:57 +05:45
Phil Davis 6ebeba5e32 Merge pull request #459 from owncloud/api-trashbin-fixes
Delete passing apiTrashbin test from bug demonstration
2020-08-31 13:12:55 +05:45
HariBhandari07 64ae76f1dc Delete passing apiTrashbin test from bug demonstration 2020-08-31 13:03:10 +05:45
Artur Neumann e7838cc8c5 Merge pull request #40 from owncloud/ui-tests
Add ui tests infrastructure and tests for language setting
2020-08-31 12:42:21 +05:45
Benedikt Kulmann f689eff081 Add more doc comments 2020-08-31 08:53:20 +02:00
Benedikt Kulmann 512fe49c34 Fix function comment 2020-08-31 08:53:16 +02:00
Benedikt Kulmann 957e1987ab Update ocis-pkg/v2@master and ocis-settings@master 2020-08-31 08:52:05 +02:00
Benedikt Kulmann 7f3088ef60 Add changelog 2020-08-31 08:50:53 +02:00
Benedikt Kulmann 65bf34b12c Setup roles cache and use it for permission checks 2020-08-31 08:50:30 +02:00
Benedikt Kulmann cf89186286 Run permission registration on service start 2020-08-31 08:41:40 +02:00
Benedikt Kulmann 2fb28d0554 Register general purpose permission for account management 2020-08-31 08:41:40 +02:00
Benedikt Kulmann ec1d6fbe70 Make use of the new READWRITE operation 2020-08-31 08:41:40 +02:00
HariBhandari07 a91e6b5445 Delete passing apiTrashbin test from bug demonstration 2020-08-31 11:53:20 +05:45
Dipak Acharya 6512403a2f Add ui tests infrastructure and tests for language setting 2020-08-31 10:22:30 +05:45
Phil Davis 454a6dc745 Merge pull request #503 from owncloud/bump-commit-id-20200828
[Tests-Only] Bump oC10 test commit id
2020-08-31 09:56:49 +05:45
Phil Davis 8f764063c2 Bump oC10 test commit id 2020-08-31 09:16:15 +05:45
Benedikt Kulmann 34c13b31bd Fix readme filename 2020-08-28 18:10:14 +02:00
Benedikt Kulmann cdecdeb2ab Automated changelog update [skip ci] 2020-08-28 15:21:59 +00:00
Benedikt Kulmann 7d24bb391f Automated changelog update [skip ci] 2020-08-28 15:14:39 +00:00
Benedikt Kulmann 48dc2b88df Merge pull request #95 from owncloud/roles-middleware
Add assigned roles to access token
2020-08-28 17:09:31 +02:00
Benedikt Kulmann 2ca83cf4ac Automated changelog update [skip ci] 2020-08-28 15:07:03 +00:00
Benedikt Kulmann bc4e1532e9 Fix import sorting 2020-08-28 17:03:44 +02:00
Benedikt Kulmann c900bf7d19 Mock role service in account uuid tests 2020-08-28 17:03:43 +02:00
Benedikt Kulmann 3cc1c874df Add comment on exported function 2020-08-28 17:03:43 +02:00
Benedikt Kulmann 7fb3551768 Update ocis-settings to current master 2020-08-28 17:03:43 +02:00
Benedikt Kulmann 4ee0c269f6 Make linter happy 2020-08-28 17:03:43 +02:00
Benedikt Kulmann 311502bede Add changelog 2020-08-28 17:03:43 +02:00
Benedikt Kulmann abaa1b441f Add assigned roles to access token 2020-08-28 17:03:43 +02:00
Benedikt Kulmann 67e4071da7 Merge pull request #102 from owncloud/roles-for-builtin-users
Add default user moss and assign default roles to builtin users
2020-08-28 16:53:39 +02:00
Benedikt Kulmann 23bfd33b55 Fix tests 2020-08-28 16:38:11 +02:00
Benedikt Kulmann 97e4450102 Add role service to options 2020-08-28 16:26:15 +02:00
Benedikt Kulmann 6196775f7d Add changelog 2020-08-28 16:02:35 +02:00
Benedikt Kulmann a8c640add6 Add default user moss and assign default roles to builtin users 2020-08-28 15:52:49 +02:00
Benedikt Kulmann 3cbba6dcba Add changelog 2020-08-28 15:30:14 +02:00
Benedikt Kulmann 1581b0f6b4 Add ocis-hello endpoints to builtin and example config 2020-08-28 15:27:06 +02:00
Jörn Friedrich Dreyer 0cc0f5bf26 Merge pull request #67 from owncloud/settings-mock
[tests only] Mocks for handlers
2020-08-28 15:04:13 +02:00
Phil Davis 8581c44211 Merge pull request #457 from owncloud/bump-commit-id-20200828
[Tests-Only] Bump oC10 test commit id
2020-08-28 17:10:33 +05:45
Phil Davis df7fb80fbe Bump oC10 test commit id 2020-08-28 16:37:55 +05:45
Benedikt Kulmann d3b859484b Automated changelog update [skip ci] 2020-08-28 09:59:14 +00:00
Benedikt Kulmann 2e70acbb9b Merge branch 'master' into settings-mock 2020-08-28 11:57:41 +02:00
Benedikt Kulmann b8697ef030 Merge pull request #59 from owncloud/dismantle-role-ids-middleware
roleIDs into context helper + roles cache + roles cache update middleware
2020-08-28 11:57:35 +02:00
Benedikt Kulmann 25cb968485 Fix function naming 2020-08-28 11:51:25 +02:00
Benedikt Kulmann 10b6135bde Fix variable naming 2020-08-28 11:49:15 +02:00
Benedikt Kulmann ecf1fd31b5 Add comment on what the Roles middleware does 2020-08-28 11:46:48 +02:00
Benedikt Kulmann bd4073859b Fix import sorting 2020-08-28 11:46:17 +02:00
Benedikt Kulmann 8478302caa Fix comments on roles cache 2020-08-28 11:42:50 +02:00
Benedikt Kulmann d4cbff3fac Update to ocis-settings@master 2020-08-28 11:38:52 +02:00
Benedikt Kulmann 92cf455831 Mocks for handlers 2020-08-28 11:34:27 +02:00
Benedikt Kulmann 47af10a0e8 Automated changelog update [skip ci] 2020-08-28 09:10:56 +00:00
Benedikt Kulmann 0df75127a1 Merge pull request #66 from owncloud/fix-fetching-value-by-identifier
Fix fetching value by identifier and system scope values
2020-08-28 11:01:41 +02:00
Benedikt Kulmann b28f86fb40 Add changelog items 2020-08-28 10:26:40 +02:00
Benedikt Kulmann b92bc53c0c Fix loading and saving values for global settings 2020-08-28 10:21:18 +02:00
Benedikt Kulmann 07d435268f Introduce input validation for ValueService.GetValueByUniqueIdentifiers 2020-08-28 10:19:28 +02:00
Benedikt Kulmann 8caf098e65 Automated changelog update [skip ci] 2020-08-27 19:35:34 +00:00
Benedikt Kulmann ad983f1e85 Merge pull request #59 from owncloud/permission-endpoints
Add permission endpoint for extracting one permission from a set of roleIDs
2020-08-27 21:26:08 +02:00
Benedikt Kulmann 506813a8cf Add changelog 2020-08-27 20:19:50 +02:00
Benedikt Kulmann 765c5b5ecb Add role cache and middleware for adding roles to cache 2020-08-27 20:14:34 +02:00
Benedikt Kulmann 4d98741316 Add changelog 2020-08-27 20:12:30 +02:00
Phil Davis 0c6478c935 Automated changelog update [skip ci] 2020-08-27 17:12:40 +00:00
Phil Davis 8c79736d8a Merge pull request #487 from owncloud/update-ocis-phoenix
Update ocis-phoenix to 0.13.0
2020-08-27 22:22:14 +05:45
Benedikt Kulmann f7c7fd1610 Automated changelog update [skip ci] 2020-08-27 14:24:26 +00:00
Benedikt Kulmann 804f5ab536 Merge pull request #93 from owncloud/add-settings-endpoints
Add settings endpoints
2020-08-27 16:20:02 +02:00
Benedikt Kulmann ec373dd16f Make the linter so happy! 2020-08-27 15:56:21 +02:00
Benedikt Kulmann 7530c9669b Merge branch 'master' into add-settings-endpoints 2020-08-27 15:54:56 +02:00
Benedikt Kulmann e7c69cd6a7 Make linter happier 2020-08-27 15:52:55 +02:00
Artur Neumann a102f8d192 update phoenix commit id for testing 2020-08-27 15:50:50 +02:00
Lukas Hirt 8df98a0015 Update ocis-phoenix to 0.13.0 2020-08-27 15:50:50 +02:00
Benedikt Kulmann 0f9e141699 Add filtering by bundleID to listing roles and bundles 2020-08-27 15:42:19 +02:00
Benedikt Kulmann 31cb0c951a Register permission service in GRPC and HTTP server 2020-08-27 15:41:00 +02:00
Benedikt Kulmann 5d89f7db8a Add permission endpoint for extracting one permission from a set of roleIds 2020-08-27 15:41:00 +02:00
Vincent Petry 1bb8881f92 Merge pull request #500 from owncloud/update_ocis-ocs
update ocis-ocs to v0.3.0
2020-08-27 15:27:48 +02:00
Phil Davis 94b7f057a7 Automated changelog update [skip ci] 2020-08-27 13:02:30 +00:00
Benedikt Kulmann 098e87d1e0 Automated changelog update [skip ci] 2020-08-27 12:59:57 +00:00
Phil Davis 6cdb40f458 Merge pull request #99 from owncloud/fix-drone-commit-id
[tests only] Change ocis for tests back to master
2020-08-27 18:35:33 +05:45
David Christofas 82bfca7a1f update ocis-ocs to v0.3.0
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-08-27 14:41:05 +02:00
Benedikt Kulmann 2b89542e69 Change ocis for tests back to master
Was needed to be on a branch to get a PR in ocis-accounts merged. Since
that is done and updated in ocis, we can now switch the tests back to
ocis master.
2020-08-27 14:34:56 +02:00
Benedikt Kulmann fdf519acde Merge pull request #490 from owncloud/filter-permissions
Update ocis-settings to 0.3.1 and ocis-accounts to 0.4.1
2020-08-27 14:26:52 +02:00
Benedikt Kulmann 2c8e74eef7 Merge branch 'master' into filter-permissions 2020-08-27 13:39:07 +02:00
Benedikt Kulmann 5e38b944a3 Update ocis-accounts to 0.4.1 2020-08-27 13:12:20 +02:00
Benedikt Kulmann 0411da040d Automated changelog update [skip ci] 2020-08-27 10:46:00 +00:00
Benedikt Kulmann 3493e581b5 Merge pull request #98 from owncloud/release-0.4.1
Prepare release 0.4.1
2020-08-27 12:32:39 +02:00
Vincent Petry 5d3eb1d93c Merge pull request #484 from butonic/use-eos-driver
use eos driver for /eos namespace
2020-08-27 11:59:23 +02:00
Jörn Friedrich Dreyer 3dc32412b5 use eos driver for /eos namespace
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

make home provider return eos storageid

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

add hint about REVA_STORAGE_HOME_MOUNT_ID

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

use ishanks shetup

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

hmm

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

working setup

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

use correct env vars for data provider

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

remove names.md

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

cleanup env vars

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-27 11:13:06 +02:00
Benedikt Kulmann 6d850267f5 Prepare release 0.4.1 2020-08-27 11:10:39 +02:00
Vincent Petry fe73c6a2aa Automated changelog update [skip ci] 2020-08-27 09:06:30 +00:00
Benedikt Kulmann fcd58c56ab Merge pull request #96 from owncloud/update-settings-client
Update settings client
2020-08-27 11:05:19 +02:00
David Christofas cf5a44ba43 Automated changelog update [skip ci] 2020-08-27 08:50:58 +00:00
Benedikt Kulmann 7b9c01f37e Update ocis-settings to 0.3.1 2020-08-27 10:48:45 +02:00
Benedikt Kulmann e8ccd9f884 Add changelog 2020-08-27 10:48:18 +02:00
Benedikt Kulmann bfaa7a597a Update settings to 0.3.0 2020-08-27 10:48:16 +02:00
David Christofas e24f210e7e Merge pull request #40 from owncloud/prepare-release-v0.3.0
prepare release v0.3.0
2020-08-27 10:46:19 +02:00
David Christofas d0e6ca2b83 prepare release v0.3.0
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-08-27 10:35:32 +02:00
Vincent Petry 40584f19dc Merge pull request #496 from owncloud/update-ocis-reva-0.13.0
Update ocis-reva to 0.13.0
2020-08-27 10:34:20 +02:00
Benedikt Kulmann 768c88b4ef Try using ocis with ocis-settings 0.3.0 for tests 2020-08-27 10:33:04 +02:00
Benedikt Kulmann 8f8f8fbfe0 Update ocis commit id for tests 2020-08-27 10:33:04 +02:00
Benedikt Kulmann f947621f1c Update ocis-settings to 0.3.0 2020-08-27 10:33:04 +02:00
Benedikt Kulmann 7a5121c6f9 Add changelog 2020-08-27 10:33:04 +02:00
Benedikt Kulmann 6511321873 Fix accounts ui with new settings API 2020-08-27 10:33:04 +02:00
Vincent Petry 2ae00e877a Automated changelog update [skip ci] 2020-08-27 08:19:49 +00:00
Vincent Petry 9f01a6541d Merge pull request #65 from owncloud/release-0.3.1
Prepare release 0.3.1
2020-08-27 10:09:27 +02:00
Phil Davis 95e2b9f563 Remove passing trashbin scenarios from expected-failures 2020-08-27 13:42:01 +05:45
Phil Davis e1cc04c604 Also use new dav-path for empty-trashbin local scenarios 2020-08-27 13:39:30 +05:45
Phil Davis 0a8f935e4b Adjust local trashbin scenarios now that new DAV path works 2020-08-27 13:37:54 +05:45
Benedikt Kulmann 00b268d51c Prepare release 0.3.1 2020-08-27 09:44:31 +02:00
Vincent Petry 8d448a5229 Update ocis-reva to 0.13.0 2020-08-27 09:30:45 +02:00
Vincent Petry 1f90d0c18a Automated changelog update [skip ci] 2020-08-27 07:15:38 +00:00
Vincent Petry c34113828c Merge pull request #455 from owncloud/release-0.13.0
Prepare release 0.13.0
2020-08-27 09:01:13 +02:00
Benedikt Kulmann 098029eec7 Merge pull request #64 from owncloud/streamlineCI
[tests-only] don't run vet & lint twice
2020-08-27 08:52:00 +02:00
Artur Neumann 5f6f944980 don't run vet & lint twice 2020-08-27 12:22:52 +05:45
Vincent Petry e020630e44 Prepare release 0.13.0 2020-08-27 08:36:47 +02:00
Vincent Petry 7842037c4f Merge pull request #492 from owncloud/mention-compose-location
Update eos.md
2020-08-27 08:35:40 +02:00
Artur Neumann 09adbb3085 Merge pull request #63 from owncloud/refactorGRPCTests
[tests-only] Refactor grpc tests
2020-08-27 12:20:06 +05:45
Artur Neumann 6d164a498f Merge pull request #62 from owncloud/TestSetPermissionsOnSettingAndBundle
[tests-only] test set permission on bundle & setting at the same time
2020-08-27 12:19:31 +05:45
Jörn Friedrich Dreyer 796c94fb54 Merge branch 'master' into mention-compose-location 2020-08-27 07:56:20 +02:00
Artur Neumann b587a0c512 refactor tests 2020-08-27 11:08:16 +05:45
Artur Neumann 3b9040aaf7 test set permission on bundle & setting at the same time 2020-08-27 10:25:41 +05:45
Artur Neumann 96015652a5 Merge pull request #495 from owncloud/add-TrashbinContext
[Tests-Only] Add TrashbinContext to local acceptance tests
2020-08-27 09:03:00 +05:45
Phil Davis 97d64ec85e Automated changelog update [skip ci] 2020-08-27 03:11:23 +00:00
Phil Davis c852ed9fb6 Merge pull request #454 from owncloud/update-reva
Update reva to v1.2.1-0.20200826162318-c0f54e1f37ea
2020-08-27 08:41:50 +05:45
Phil Davis a3de1bb477 Adjust local trashbin scenarios now that new DAV path works 2020-08-27 08:22:43 +05:45
Phil Davis 50c3f81042 Also use new dav-path for empty-trashbin local scenarios 2020-08-27 08:22:43 +05:45
Phil Davis af3c076b5f [Tests-Only] Add api trashbin tests 2020-08-27 08:01:08 +05:45
Phil Davis 575cb0bd63 Add TrashbinContext to local acceptance tests 2020-08-27 08:00:20 +05:45
Phil Davis cf6d9bed14 Remove passing trashbin scenarios from expected-failures 2020-08-27 07:59:55 +05:45
Vincent Petry 79aea96794 Update reva to v1.2.1-0.20200826162318-c0f54e1f37ea 2020-08-26 23:02:03 +02:00
Benedikt Kulmann f50afba168 Automated changelog update [skip ci] 2020-08-26 20:29:09 +00:00
Benedikt Kulmann 4034a7c3b0 Merge pull request #61 from owncloud/fix-js-client
Fix js client
2020-08-26 22:09:44 +02:00
Ilja Neumann 1ccf012d14 Automated changelog update [skip ci] 2020-08-26 18:34:01 +00:00
Ilja Neumann 73c8b11f3d Use dependency-injected grpc client 2020-08-26 20:19:14 +02:00
Ilja Neumann f552072608 Assign user role to newly created accounts.
https://github.com/owncloud/product/issues/173
2020-08-26 20:19:14 +02:00
Benedikt Kulmann 2948ddb87d Dismantle roles from user and put into context 2020-08-26 19:12:04 +02:00
Phil Davis c2d59c07d2 Add TrashbinContext to local acceptance tests 2020-08-26 22:44:15 +05:45
Benedikt Kulmann 3a62562ecc ADd changelog 2020-08-26 18:05:57 +02:00
Benedikt Kulmann 27980cc513 Fix fetching bundles in settings UI 2020-08-26 18:02:22 +02:00
Jörn Friedrich Dreyer 7832e97cbc Automated changelog update [skip ci] 2020-08-26 15:35:41 +00:00
Jörn Friedrich Dreyer c9aff93ce3 Merge pull request #39 from butonic/use-ocs-bool
Mimic oc10 user enabled as string in provisioning api
2020-08-26 17:31:01 +02:00
Ishank Arora b08495cb2e Automated changelog update [skip ci] 2020-08-26 15:30:53 +00:00
Jörn Friedrich Dreyer e57dfc74f5 Mimic oc10 user enabled as string
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-26 17:21:59 +02:00
Ishank Arora fed4d133b0 Separate user and auth providers, add config for rest user (#412) 2020-08-26 17:15:20 +02:00
Benedikt Kulmann 96a163af9d Automated changelog update [skip ci] 2020-08-26 14:40:14 +00:00
Benedikt Kulmann 744bde7a3e Merge pull request #60 from owncloud/release-0.3.0
Prepare release 0.3.0
2020-08-26 16:30:14 +02:00
Benedikt Kulmann 7f73501ada Add changelog for filtering settings 2020-08-26 16:17:56 +02:00
Benedikt Kulmann b131ce9ed8 Merge pull request #48 from owncloud/filter-settings-by-permissions
Filter settings by permissions
2020-08-26 15:23:31 +02:00
Phil Davis 828781cb10 Merge pull request #489 from owncloud/trashbin-ocis
[Tests-Only] Add api trashbin tests
2020-08-26 18:57:04 +05:45
HariBhandari07 558ec76aa1 [Tests-Only] Add api trashbin tests 2020-08-26 17:57:50 +05:45
David Christofas d801724e13 Merge pull request #491 from owncloud/add-webhook-to-ci-build
add webhook step to drone build to update ocis.owncloud.works
2020-08-26 13:48:08 +02:00
Jürgen Weigert 6555142d36 Update eos.md
Dev docs should mention the location of the docker-compose. 
(mentioning the obvious just for clarity)
2020-08-26 13:35:33 +02:00
David Christofas 0a579360e3 add webhook step to drone build to update ocis.owncloud.works
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-08-26 13:11:35 +02:00
Artur Neumann 34b87f6de2 test List/Get Bundles with per setting permissions 2020-08-26 12:36:32 +05:45
Artur Neumann 11a8048fcb test list bundle with not-matching roles 2020-08-26 11:58:54 +05:45
Artur Neumann 459b5f5db1 adjust list bundles test expectations 2020-08-26 11:36:41 +05:45
Benedikt Kulmann a0a423fa78 Fix test by using metadata context 2020-08-26 07:48:22 +02:00
Artur Neumann 442cae6cb9 get bundle with insuficiant permissions tests 2020-08-26 11:21:53 +05:45
Artur Neumann 4d3a0f1adb test list filtered bundles 2020-08-26 11:15:27 +05:45
Artur Neumann 63bacfb0cd goimport files 2020-08-26 09:11:29 +05:45
Benedikt Kulmann f53ff23451 Add comments on exposed vars and functions 2020-08-25 21:29:45 +02:00
Benedikt Kulmann 2701f06fa9 Introduce proper setup and teardown steps in grpc tests 2020-08-25 21:17:54 +02:00
Benedikt Kulmann 3a81d0335a Use metadata context for account uuid 2020-08-25 16:39:25 +02:00
Michael Barz c3b048c2bc Automated changelog update [skip ci] 2020-08-25 14:10:50 +00:00
Michael Barz 46bdf6a9d6 Merge pull request #58 from owncloud/release-2.4.0
Prepare release 2.4.0
2020-08-25 16:09:16 +02:00
Benedikt Kulmann a41183319c Prepare release 2.4.0 2020-08-25 15:57:44 +02:00
Benedikt Kulmann af2a21a410 Automated changelog update [skip ci] 2020-08-25 13:49:57 +00:00
Benedikt Kulmann f0aa9e488b Merge pull request #56 from owncloud/metadata-context
Metadata context
2020-08-25 15:47:29 +02:00
Benedikt Kulmann 851ab9bd8d Keep old UUIDKey for compatibility
Marked UUIDKey as deprecated. Use AccountID instead if possible.
2020-08-25 15:42:44 +02:00
Benedikt Kulmann bc31e3e4b1 Add changelog 2020-08-25 13:41:53 +02:00
Benedikt Kulmann 1c14ce30a8 Use go-micro metadata context for account id 2020-08-25 13:38:51 +02:00
jasson99 476aad0955 Merge pull request #481 from owncloud/editTesting
Adjust testing docs to run tests without ldap server
2020-08-25 17:13:03 +05:45
Benedikt Kulmann e1dc62c2e3 Clear accountUUID if it's still me after validation 2020-08-25 12:37:17 +02:00
jasson99 d7ceb28f90 Edit testing docs to run ocis without ldap server 2020-08-25 16:13:13 +05:45
Benedikt Kulmann 8b2c4f81cf Skip asserts when NoError failed 2020-08-25 11:43:06 +02:00
Phil Davis 1e3dbafbf1 Merge pull request #485 from owncloud/bump-core-commit-id-20200825
[Tests-Only] Bump core commit id
2020-08-25 15:25:55 +05:45
Lukas Hirt dfbb509b01 Automated changelog update [skip ci] 2020-08-25 09:39:18 +00:00
Lukas Hirt 2f10830fa5 Merge pull request #81 from owncloud/release-0.13.0 2020-08-25 11:34:19 +02:00
Benedikt Kulmann bda44f55ff google.golang.org/grpc to v1.26.0 instead of latest
... because of compatibility issues
2020-08-25 11:18:25 +02:00
Lukas Hirt 382c2ef95f Release 0.13.0 2020-08-25 11:10:37 +02:00
Benedikt Kulmann c1a4f7a238 Fix error on missing permissions for GetBundle 2020-08-25 10:40:44 +02:00
Phil Davis 82cda1ac52 Merge pull request #452 from owncloud/bump-core-commit-id-20200825
[Tests-Only] Bump core commit id
2020-08-25 14:12:56 +05:45
Phil Davis 20d2260b6b Bump core commit to include core PR 37844 2020-08-25 13:20:33 +05:45
Phil Davis e55cfd7379 Bump core commit to include core PR 37844 2020-08-25 13:20:13 +05:45
Artur Neumann 27cffac1de set uuid for getbundle tests 2020-08-25 13:13:01 +05:45
Phil Davis 726561cf1b Remove these passing trashbin tests from expected-failures-on-OC-storage 2020-08-25 11:42:40 +05:45
Phil Davis c973a67450 Do not run any local_storage API tests 2020-08-25 11:03:48 +05:45
Phil Davis 283272b339 Do not run any local_storage API tests 2020-08-25 11:02:25 +05:45
Artur Neumann de4855d632 delete UUIDs 2020-08-25 10:46:23 +05:45
Phil Davis c68bc60181 Add trashbin scenarios to expected-failures-on-OC-storage.txt 2020-08-25 10:33:03 +05:45
Phil Davis 860bb79337 [Tests-Only] Bump core commit id 2020-08-25 10:02:18 +05:45
Phil Davis 25d196332a [Tests-Only] Bump core commit id 2020-08-25 09:58:47 +05:45
Benedikt Kulmann 3847b3388b Remove accountUUID from bundle requests 2020-08-24 17:23:21 +02:00
Benedikt Kulmann d0f6ec2ebc Use permissions to restrict GetBundle call 2020-08-24 17:15:58 +02:00
Benedikt Kulmann 5e07f9501b Check permissions on full bundles 2020-08-24 17:07:30 +02:00
Benedikt Kulmann 16b9042b4b Make linter happy 2020-08-24 16:56:06 +02:00
Benedikt Kulmann 27b7431f70 Fix constraint check 2020-08-24 16:53:57 +02:00
Benedikt Kulmann 136bb5eab4 Add operations WRITE and READWRITE 2020-08-24 16:51:33 +02:00
Benedikt Kulmann 5fb1a8a2bb Add endpoint for listing permissions for a resource 2020-08-24 16:50:28 +02:00
Benedikt Kulmann e016ebdec8 Merge branch 'filter-settings-by-permissions' of github.com:owncloud/ocis-settings into filter-settings-by-permissions 2020-08-24 16:40:43 +02:00
Benedikt Kulmann da2b5c6dc2 Revert "Define default permissions on settings for default roles"
This reverts commit 157669ebdd.
2020-08-24 16:40:39 +02:00
Phil Davis 574e660311 Merge pull request #482 from owncloud/expected-failure-apiTrshbin
[Tests-Only] Expected failures in apiTrashbin
2020-08-24 17:34:12 +05:45
HariBhandari07 cdbb001a53 Expected failures in apiTrashbin 2020-08-24 17:02:22 +05:45
Artur Neumann c9402b8c95 SaveValue tests 2020-08-24 15:59:48 +05:45
Benedikt Kulmann 453a9ff1c7 Merge pull request #94 from owncloud/fix-ci-build-failures
Explicitly run `make protobuf` when running `make build`
2020-08-24 11:53:55 +02:00
Vincent Petry a1379e380f Merge pull request #478 from owncloud/update-eos-docs
Update eos docs and auto-generated config docs
2020-08-24 11:07:09 +02:00
Vincent Petry 0e11c36fe8 Merge pull request #480 from owncloud/makefile-remove-eos
Remove EOS from Makefile
2020-08-24 10:52:21 +02:00
Vincent Petry 09d8166591 Improve EOS instructions
Add hint about following compilation progress.
Add more info about when to run the "space on" command.
Split out section about hanging uploads.
2020-08-24 10:37:18 +02:00
Vincent Petry 2408c286eb Improve EOS docker docs
Added more hints about what is happening behind the stage.
Added infos about upload issues and how to solve them.
2020-08-24 10:37:18 +02:00
Vincent Petry 5d23475a47 Update generated config docs 2020-08-24 10:37:15 +02:00
Benedikt Kulmann 3402af65b7 Explicitly run make protobuf when running make build
There are weird issues where randomly protoc compilations happen
although they should not be triggered. As those don't run through the
makefile but somehow differently, the prerequisites are not built first
(protoc plugins have to be fetched, which happens in the `make
protobuf` step).
2020-08-24 09:12:18 +02:00
Artur Neumann 41db407b98 recreate data store before test run 2020-08-24 10:08:58 +05:45
Benedikt Kulmann 0eba9a04b1 Automated changelog update [skip ci] 2020-08-21 20:43:52 +00:00
Benedikt Kulmann 8dcc5f1a57 Merge pull request #479 from owncloud/update-ocis-accounts
Update ocis-accounts to 0.4.0
2020-08-21 22:15:30 +02:00
Benedikt Kulmann 0154d6a4af Merge branch 'master' into update-ocis-accounts 2020-08-21 21:42:46 +02:00
Vincent Petry 8e454ef9af Automated changelog update [skip ci] 2020-08-21 16:22:50 +00:00
Vincent Petry 94f43d3e70 Remove EOS from Makefile
As we're currently relying on docker-compose to provide a development
environment, this removes the outdated EOS targets from the Makefile.

This will prevent having too many different EOS environments out there
and we can standardize on docker-compose instead.
2020-08-21 18:20:12 +02:00
Vincent Petry b443fd48ce Merge pull request #262 from owncloud/butonic-patch-1
minor review
2020-08-21 18:19:03 +02:00
Vincent Petry d80c3faa5f Merge pull request #476 from owncloud/update-ocis-proxy
update ocis-proxy to v0.7.0
2020-08-21 18:16:38 +02:00
Vincent Petry 9daef8c66c Update ocis-accounts to 0.4.0
Provides a web UI for role assignment
2020-08-21 18:14:06 +02:00
Vincent Petry 10a14dc8ee Automated changelog update [skip ci] 2020-08-21 16:11:14 +00:00
Vincent Petry b765173722 Merge pull request #93 from owncloud/release-0.4.0
Prepare release 0.4.0
2020-08-21 17:56:02 +02:00
Vincent Petry 7eb24bc131 Merge pull request #477 from owncloud/eos-docker-improvements
Use separate volumes for EOS in docker-compose
2020-08-21 17:54:18 +02:00
Benedikt Kulmann a8925401fd Prepare release 0.4.0 2020-08-21 17:31:08 +02:00
Artur Neumann 0c1146ea1b make lint happy 2020-08-21 17:29:03 +02:00
Artur Neumann 538e7a74f8 adjust error expectation in tests 2020-08-21 17:29:03 +02:00
Artur Neumann c5454c1bb0 ListRoles tests 2020-08-21 17:29:02 +02:00
Benedikt Kulmann 157669ebdd Define default permissions on settings for default roles 2020-08-21 17:29:02 +02:00
Benedikt Kulmann 26ac04c343 Filter bundles and settings by update permissions as first approach 2020-08-21 17:29:02 +02:00
Benedikt Kulmann be5d9b8aac Merge pull request #56 from owncloud/fix-protobuf-gen
Fix protobuf gen
2020-08-21 17:28:15 +02:00
Vincent Petry 656197e69f Use separate volumes for EOS in docker-compose
Moves the "e" directory into multiple subvolumes.
This decouples the setup further from the local environment where side
effects might appear when using BTRFS.
2020-08-21 17:07:38 +02:00
Benedikt Kulmann d180314253 Automated changelog update [skip ci] 2020-08-21 15:07:28 +00:00
Benedikt Kulmann 1803a5b284 Merge pull request #89 from owncloud/role-select-ui
Role select ui
2020-08-21 16:42:06 +02:00
Benedikt Kulmann a2cca6391a Remove page reload step definition
Apparently the step definition for the page reload gets reused from phoenix.
2020-08-21 16:27:30 +02:00
Benedikt Kulmann 8e011b7eb2 Add recompiled assets 2020-08-21 16:19:03 +02:00
Benedikt Kulmann 3abf2bb110 Add a page reload to the role selection test 2020-08-21 16:18:25 +02:00
Benedikt Kulmann 15f2df6997 Fix typo in step definition 2020-08-21 16:16:33 +02:00
Benedikt Kulmann 0e4e211123 Use role selection response for setting role
Previously we were fetching the role assignments again. Not necessary,
as the request for setting a role already returns the resulting
assignment object as a response.
2020-08-21 16:15:06 +02:00
Benedikt Kulmann eb05ba253a Translate error message when setting a role 2020-08-21 16:05:16 +02:00
Benedikt Kulmann c214976f22 Include protobuf step in build steps 2020-08-21 15:41:18 +02:00
Benedikt Kulmann 2c862bbfb4 Fix GOPATH variable usage 2020-08-21 15:12:23 +02:00
David Christofas c37787bdbf add changelog
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-08-21 14:11:15 +02:00
David Christofas 982ebdcbb4 update ocis-proxy to v0.7.0
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-08-21 14:05:39 +02:00
Benedikt Kulmann 60957d9216 Fix element selectors for role selection tests 2020-08-21 11:45:05 +02:00
Benedikt Kulmann 6b04954c02 Update changed role name 2020-08-21 11:45:04 +02:00
Benedikt Kulmann 302dec7a8a Add changelog item 2020-08-21 11:45:04 +02:00
Benedikt Kulmann 6b011fb91c Add account uuid to request body for fetching roles 2020-08-21 11:45:04 +02:00
Lukas Hirt f8fa36381c Add basic test scenario 2020-08-21 11:45:04 +02:00
Lukas Hirt 74bb429a34 Turn roles buttons into radio inputs 2020-08-21 11:45:04 +02:00
Lukas Hirt 2b9e93dcfd Fixed typo in eslint 2020-08-21 11:45:04 +02:00
Lukas Hirt 662817af0a Use settings client 2020-08-21 11:45:04 +02:00
Lukas Hirt b65c6925ed Stop removing previous assignments
The assignments are now removed through the server. No need to do this via JS anymore
2020-08-21 11:45:04 +02:00
Lukas Hirt ee047d8739 Use generated API to fetch roles 2020-08-21 11:45:04 +02:00
Lukas Hirt d61babe1de Add settings client 2020-08-21 11:45:03 +02:00
Lukas Hirt 72c31b4ebf Add basic role management UI 2020-08-21 11:45:03 +02:00
Lukas Hirt 2cf9e918ba Add vuex as direct dependency instead of peerDependency 2020-08-21 11:45:03 +02:00
Benedikt Kulmann b2d0c8aa0d Merge pull request #90 from owncloud/updateTestCommit-2020-08-20
[tests-only] advance commit id of ocis & phoenix
2020-08-21 11:29:03 +02:00
Artur Neumann 2aa66bf041 use newest ocis master commit 2020-08-21 15:01:56 +05:45
Artur Neumann 5e66bf645c make build also depend on UI tests 2020-08-21 15:01:56 +05:45
Artur Neumann db68531e54 delete KONNECTD_TLS 2020-08-21 15:01:56 +05:45
Artur Neumann ea203e16bf delete unnedded build steps 2020-08-21 15:01:56 +05:45
Artur Neumann 3a2699149f don't use the proxy config file 2020-08-21 15:01:56 +05:45
Artur Neumann 05b4f6b4fd use build in phoenix 2020-08-21 15:01:55 +05:45
Artur Neumann a531cefac9 add 'REVA_LDAP_IDP' setting 2020-08-21 15:01:55 +05:45
Artur Neumann 8e702c621f add more settings 2020-08-21 15:01:55 +05:45
Artur Neumann eef08e34e5 use basic-roles-support as ocis branch for now 2020-08-21 15:01:55 +05:45
Artur Neumann e2544b2b4d delete LDAP usages from CI pipelines 2020-08-21 15:01:55 +05:45
Artur Neumann a3128cb26c [tests-only] advance commit id of ocis & phoenix 2020-08-21 15:01:55 +05:45
David Christofas 5f82d1e88a Automated changelog update [skip ci] 2020-08-21 09:07:16 +00:00
David Christofas a44a1521ed Merge pull request #94 from owncloud/prepare-release-0.7.0
prepare release 0.7.0
2020-08-21 11:03:08 +02:00
Benedikt Kulmann 5b8438dacc Automated changelog update [skip ci] 2020-08-21 08:57:35 +00:00
David Christofas 3a4075cad2 prepare release 0.7.0
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-08-21 10:32:57 +02:00
Benedikt Kulmann f00b60d129 Merge pull request #467 from owncloud/basic-roles-support
Bring basic roles and permissions for ocis-settings
2020-08-21 10:25:49 +02:00
Benedikt Kulmann ef928234bf Add changelog item 2020-08-21 09:57:18 +02:00
Benedikt Kulmann 51112d6918 Update ocis-phoenix, ocis-settings, ocis-accounts
- ocis-phoenix v0.12.0
- ocis-settings v0.2.0
- ocis-accounts v0.3.0
2020-08-21 09:51:50 +02:00
David Toledo 245a06e79a Merge pull request #263 from owncloud/update_path
update to current path
2020-08-21 09:33:54 +02:00
Benedikt Kulmann e44c15be06 Automated changelog update [skip ci] 2020-08-21 07:17:10 +00:00
Benedikt Kulmann 636047a58a Merge pull request #91 from owncloud/release-0.3.0
Prepare release 0.3.0
2020-08-21 09:06:30 +02:00
Jörn Friedrich Dreyer cc4fb39e67 minor review 2020-08-21 08:48:33 +02:00
David Toledo ad4c0e9c53 update to current path 2020-08-21 08:47:44 +02:00
Benedikt Kulmann 22e2d9ca05 Update ocis-settings to 0.2.0 2020-08-21 08:47:38 +02:00
Benedikt Kulmann 0f4a3c90e9 Automated changelog update [skip ci] 2020-08-21 06:02:13 +00:00
Benedikt Kulmann 162a4e6064 Merge pull request #55 from owncloud/release-0.2.0
Release 0.2.0
2020-08-21 06:58:06 +02:00
Benedikt Kulmann 08785e6720 Release 0.2.0 2020-08-20 19:33:56 +02:00
Benedikt Kulmann 0b3f097abc Merge pull request #54 from owncloud/install-protoc-deps
Use `go install` instead of `go get` for protoc dependencies
2020-08-20 19:33:07 +02:00
Benedikt Kulmann 686123fc7d populate protoc plugins by absolute path 2020-08-20 18:46:19 +02:00
Benedikt Kulmann 243cdcca69 Use go install instead of go get for protoc dependencies 2020-08-20 18:34:55 +02:00
Benedikt Kulmann e74e9b0844 Merge pull request #53 from owncloud/error-handling-codes
Adopt go-micro error codes and id
2020-08-20 18:17:53 +02:00
Vincent Petry 66981de2ca Merge pull request #471 from owncloud/update-drone-phoenix-commit
[Tests-Only] Update commit for Phoenix tests
2020-08-20 17:52:22 +02:00
Benedikt Kulmann f0a06efc82 Automated changelog update [skip ci] 2020-08-20 15:13:35 +00:00
Benedikt Kulmann 87db549716 Merge branch 'master' into error-handling-codes 2020-08-20 17:03:33 +02:00
Benedikt Kulmann 9f51deb61d Prepare release 0.3.0 2020-08-20 16:58:08 +02:00
Benedikt Kulmann b46bccb307 Merge pull request #473 from owncloud/external-app-config
External app config
2020-08-20 16:40:53 +02:00
Benedikt Kulmann 5249eeca3f Automated changelog update [skip ci] 2020-08-20 14:36:50 +00:00
A.Unger 0001bc8937 fix govet 2020-08-20 16:22:52 +02:00
A.Unger e4c603e7b5 leftover error handling 2020-08-20 16:19:44 +02:00
A.Unger 5e8adce357 not my day 2020-08-20 16:17:43 +02:00
A.Unger 83eb86b5eb missing error on handlers 2020-08-20 16:15:06 +02:00
Benedikt Kulmann 2e61377d78 Add changelog 2020-08-20 16:05:53 +02:00
A.Unger 32434fa96c adjust error codes 2020-08-20 16:04:52 +02:00
Benedikt Kulmann f71a00114e Remove empty external apps config
There is nothing that would activate ocis-hello as an external app, so
this can be just removed. Also it blocks the new default apps in
ocis-phoenix.
2020-08-20 16:02:14 +02:00
A.Unger 02408dc1ee badrequest > internalservererror 2020-08-20 15:50:33 +02:00
A.Unger eb713b7a97 use micro error codes and id 2020-08-20 15:49:16 +02:00
Benedikt Kulmann adcecd9792 Merge pull request #49 from owncloud/error-handling
Error handling
2020-08-20 15:17:20 +02:00
Benedikt Kulmann c5ce80b666 Remove redundant error checks 2020-08-20 15:01:40 +02:00
Vincent Petry fb923078ae Update commit for Phoenix tests
Following up reenabling public link tests
2020-08-20 13:59:40 +02:00
A.Unger 95b929a6a6 apply review comments 2020-08-20 13:56:58 +02:00
Vincent Petry 4d7df06b96 Automated changelog update [skip ci] 2020-08-20 10:28:07 +00:00
David Christofas 97f228b17f Automated changelog update [skip ci] 2020-08-20 10:08:59 +00:00
David Christofas 84cadfb7bb Merge pull request #92 from owncloud/pre-signed-url-configuration
Pre signed url configuration
2020-08-20 12:02:59 +02:00
Vincent Petry 50e4c2cf6c Merge pull request #469 from owncloud/butonic-patch-2
add REVA_LDAP_IDP to docker compose
2020-08-20 12:02:33 +02:00
Vincent Petry 2a7165020e Merge pull request #465 from owncloud/drone-add-ldap-idp
Add missing LDAP IDP value
2020-08-20 12:02:01 +02:00
A.Unger c50399fb1d use micro errors on handlers 2020-08-20 11:25:39 +02:00
Vincent Petry e1b9dba1f7 Add missing LDAP IDP value
Solves an issue that whenever some tests use basic auth the IDP was
wrong. This would make Reva use the wrong internal user id and IDP
and prevent matching some data like shares to the correct user id.
2020-08-20 11:12:41 +02:00
Artur Neumann b9c407e876 Merge pull request #470 from owncloud/bump-commit-id-20200820
[Tests-Only] Bump core commit for tests 20200820
2020-08-20 14:39:56 +05:45
David Christofas 1070c61c44 implement configuration options for the presigned url middleware
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-08-20 10:54:26 +02:00
Vincent Petry bad9baf21c Automated changelog update [skip ci] 2020-08-20 08:22:18 +00:00
Vincent Petry 169b761aa7 Merge pull request #79 from owncloud/release-0.12.0
Release 0.12.0
2020-08-20 10:17:12 +02:00
Vincent Petry 4ddffcb261 Merge pull request #448 from owncloud/bump-commit-id-20200820
[Tests-Only] Bump core commit for tests 20200820
2020-08-20 10:14:20 +02:00
Phil Davis 7245bf345d Bump core commit for tests 20200820 2020-08-20 13:55:09 +05:45
Benedikt Kulmann ee15511632 Add changelog item 2020-08-20 10:01:08 +02:00
Benedikt Kulmann c80a470916 Move new changelog after rebase into 0.12.0 changelog folder 2020-08-20 09:59:00 +02:00
Benedikt Kulmann 85a1a6f7fa Add changelog 2020-08-20 09:58:12 +02:00
Benedikt Kulmann bdfd9d5742 Add clean to the make steps for releasing ocis-phoenix
Just to be extra sure.
2020-08-20 09:58:12 +02:00
Benedikt Kulmann e79e9d82e5 Update phoenix to 0.15.0 2020-08-20 09:58:11 +02:00
Benedikt Kulmann 5421019cd2 Automated changelog update [skip ci] 2020-08-20 07:56:15 +00:00
Benedikt Kulmann c4dfbedc2c Add settings API endpoint and settings app endpoint to example 2020-08-20 09:56:09 +02:00
Benedikt Kulmann 34c1a17701 Merge pull request #80 from owncloud/auto-enable-accounts-and-settings
Auto enable accounts and settings
2020-08-20 09:52:06 +02:00
Benedikt Kulmann 624793a009 Add changelog item 2020-08-20 09:24:22 +02:00
Benedikt Kulmann 87bcc648e7 Add default external apps
Accounts and Settings should be enabled by default from now on.
2020-08-20 09:21:19 +02:00
Jörn Friedrich Dreyer e12e2da8e0 add REVA_LDAP_IDP to docker compose
Following https://github.com/owncloud/ocis/pull/465
2020-08-20 08:23:19 +02:00
Phil Davis 9a7ec3a6ff Bump core commit for tests 20200820 2020-08-20 12:07:48 +05:45
Jörn Friedrich Dreyer a7ce0c8172 Merge pull request #466 from butonic/update-reva-and-proxy
Update Reva and Proxy
2020-08-19 22:18:21 +02:00
Benedikt Kulmann d9b8416a00 Automated changelog update [skip ci] 2020-08-19 16:18:47 +00:00
Benedikt Kulmann 731b23a45b Merge pull request #88 from owncloud/add-permissions-for-roles
Add permissions for roles
2020-08-19 18:07:06 +02:00
Benedikt Kulmann e695ccc440 Make linter happy 2020-08-19 17:33:18 +02:00
Benedikt Kulmann bd5bbc2477 Add changelog item 2020-08-19 17:33:18 +02:00
Benedikt Kulmann 2ae2cf40c9 Add permissions for language to default roles of settings service 2020-08-19 17:33:17 +02:00
Jörn Friedrich Dreyer 17bdf23102 update-reva-and-proxy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-19 16:59:20 +02:00
Jörn Friedrich Dreyer 242e6ba12e Automated changelog update [skip ci] 2020-08-19 14:55:33 +00:00
Jörn Friedrich Dreyer db6a3846ca Merge pull request #392 from owncloud/add-missing-env-vars
set missing env vars
2020-08-19 16:25:33 +02:00
A.Unger e510229bc1 remove commented lines (OCIS-363) 2020-08-19 16:20:24 +02:00
A.Unger e93a42fb83 use proper error assertion (OCIS-363) 2020-08-19 16:20:16 +02:00
A.Unger 038b9144af write bundle only if neccessary (OCIS-363) 2020-08-19 16:20:07 +02:00
A.Unger 9c8b505a2f adjust tests to deal with handled go-micro error (OCIS-363) 2020-08-19 16:20:00 +02:00
A.Unger 5f07c992da go-micro errors on bundles (OCIS-363) 2020-08-19 16:19:48 +02:00
A.Unger dedcbd0412 go-micro errors on validator (OCIS-363) 2020-08-19 16:18:39 +02:00
A.Unger d59bc0b4b9 tidy (OCIS-363) 2020-08-19 16:17:36 +02:00
Benedikt Kulmann a828816458 Merge pull request #47 from owncloud/add-roles-service
Add roles service
2020-08-19 16:12:22 +02:00
Jörn Friedrich Dreyer 933a5be874 set missing env vars
REVA_FRONTEND_URL and REVA_DATAGATEWAY_URL need to be set to the OCIS_DOMAIN so upload is not using localhost ;-)
cc @jnweiger

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-19 15:52:00 +02:00
Vincent Petry f68defd1ff Automated changelog update [skip ci] 2020-08-19 13:37:06 +00:00
Vincent Petry d2819c6f7d Merge pull request #447 from butonic/update-reva-to-dcbf0c8ea187
update reva to v1.1.1-0.20200819100654-dcbf0c8ea187
2020-08-19 15:25:50 +02:00
Vincent Petry f4be471c73 Adjust README casing 2020-08-19 15:08:16 +02:00
Jörn Friedrich Dreyer 9fa18bf7ea update reva to v1.1.1-0.20200819100654-dcbf0c8ea187
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-19 13:32:14 +02:00
Benedikt Kulmann a987d53702 Fix boolean modification payload 2020-08-19 13:18:29 +02:00
Benedikt Kulmann 5780df7058 Fix endpoint urls 2020-08-19 13:17:09 +02:00
Benedikt Kulmann 95348e8bd8 Automated changelog update [skip ci] 2020-08-19 11:16:07 +00:00
Benedikt Kulmann 8fdbefe38d Add default roles on service start 2020-08-19 13:11:20 +02:00
Benedikt Kulmann 8012707130 Merge pull request #87 from owncloud/settings-new-data-model
Settings new data model
2020-08-19 13:05:06 +02:00
Jörn Friedrich Dreyer a51b3c8ed4 Automated changelog update [skip ci] 2020-08-19 10:57:09 +00:00
Benedikt Kulmann cb578e5039 Update generated js client 2020-08-19 12:55:11 +02:00
Benedikt Kulmann 50cdd5f557 Add changelog item 2020-08-19 12:55:11 +02:00
Benedikt Kulmann 20d95f23fa Make linter happy 2020-08-19 12:55:11 +02:00
Benedikt Kulmann 65d71bd6fd Add role service and manager 2020-08-19 12:55:11 +02:00
Benedikt Kulmann 143bf118fa Add RoleService and Permission to protobuf 2020-08-19 12:55:10 +02:00
Benedikt Kulmann 5d95974713 Merge pull request #46 from owncloud/refactor-data-model
Refactor data model
2020-08-19 12:54:37 +02:00
Jörn Friedrich Dreyer d72f50dd15 Add numeric uid and gid to the access token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-19 12:52:49 +02:00
Benedikt Kulmann 189a811da5 pre-allocate record slices 2020-08-19 12:14:25 +02:00
Benedikt Kulmann f5f356f001 Rename variable to comply with golang var naming rules 2020-08-19 11:54:57 +02:00
Benedikt Kulmann d52e227adc Update ocis-pkg to 2.3.0 and ocis-settings to d59cdd5469 2020-08-19 11:53:56 +02:00
Benedikt Kulmann b996f906ff Add changelog 2020-08-19 11:53:56 +02:00
Benedikt Kulmann 45b486c68e Update to new data model of ocis-settings 2020-08-19 11:53:56 +02:00
Vincent Petry 4661038aa6 Automated changelog update [skip ci] 2020-08-19 09:46:16 +00:00
Vincent Petry c3158ccdfa Merge pull request #86 from owncloud/release-0.2.0
Prepare release 0.2.0
2020-08-19 11:34:26 +02:00
Benedikt Kulmann d59cdd5469 Add changelog 2020-08-19 11:13:09 +02:00
Vincent Petry 5003cb1329 Prepare release 0.2.0 2020-08-19 11:10:52 +02:00
Benedikt Kulmann 0e8be0e195 Adapt UI app to new data model 2020-08-19 10:27:06 +02:00
Benedikt Kulmann 8282f348eb Make linter happy 2020-08-19 10:20:54 +02:00
Benedikt Kulmann 535717a025 Add tests for filesystem store implementation 2020-08-19 10:20:54 +02:00
Benedikt Kulmann 95e54866b8 Add test for account uuid from request 2020-08-19 10:20:54 +02:00
Benedikt Kulmann 42ecee73d9 Fix grpc tests 2020-08-19 10:20:53 +02:00
Benedikt Kulmann acff61c406 Fix data path 2020-08-19 10:20:53 +02:00
Benedikt Kulmann 3cb272e76e Switch to uuids and simplify names
- bundles, settings and values now have uuids as identifier
- removed unnecessary name parts (SettingsBundle -> Bundle,
SettingsValue -> Value, ...)
2020-08-19 10:20:51 +02:00
Benedikt Kulmann 33720f2b5a Fix path in go package for generated files 2020-08-19 10:18:46 +02:00
Alex Unger 201be45953 Automated changelog update [skip ci] 2020-08-18 14:25:48 +00:00
Alex Unger ceb5ede98b Merge pull request #462 from owncloud/integrate-accounts-cli-2
Integrate account-management cli-commands
2020-08-18 15:56:22 +02:00
Ilja Neumann 0f809b99fd Integrate account-management cli-commands 2020-08-18 12:09:21 +02:00
Phil Davis 2399501a88 Merge pull request #461 from owncloud/expected-failures-eos
[Tests-Only] Implement separate expected-failures files for OC and EOS storage
2020-08-18 15:11:39 +05:45
Phil Davis 3d1417959c [Tests-Only] Implement separate expected-failures files for OC and EOS storage 2020-08-18 14:45:03 +05:45
Phil Davis 9e5e4232e0 Merge pull request #460 from owncloud/local-preview-tests
Put back local preview test scenarios
2020-08-18 14:44:06 +05:45
Phil Davis ca13c11bb6 Adjust local preview test expectations 2020-08-18 14:11:16 +05:45
Phil Davis 9f1c2e4808 Add local test scenarios for previews 2020-08-18 14:11:16 +05:45
Vincent Petry b2dce191f0 Automated changelog update [skip ci] 2020-08-18 08:09:24 +00:00
Vincent Petry 0a8c913699 Merge pull request #409 from owncloud/update-deps-2020-07-22
Update deps 2020 07 22
2020-08-18 09:44:24 +02:00
Phil Davis bce5e6310c Put back some comment text in expected-failures.txt 2020-08-18 11:22:41 +05:45
Phil Davis 829657e8bb Fix some typos in docs/eos.md 2020-08-18 11:18:53 +05:45
Phil Davis e8cf262863 Merge pull request #444 from owncloud/create-expected-failures-on-EOS-storage
[Tests-Only] Implement separate expected-failures files for OC and EOS storage
2020-08-18 11:10:56 +05:45
Phil Davis 719c96c5b3 Implement separate expected-failures files for OC and EOS storage 2020-08-18 09:31:45 +05:45
Benedikt Kulmann ddf51d226a Update ocis-phoenix to 0.11.0 2020-08-17 22:33:28 +02:00
Vincent Petry f924b539d5 Automated changelog update [skip ci] 2020-08-17 20:25:13 +00:00
Vincent Petry 0f3e07363e Merge pull request #78 from owncloud/release-0.11.0
Prepare release 0.11.0
2020-08-17 22:17:58 +02:00
Benedikt Kulmann 00e887c84b Update phoenix to 0.14.0 2020-08-17 21:47:46 +02:00
Benedikt Kulmann 8820a1dbd7 Fix release changelog folder name 2020-08-17 20:56:34 +02:00
Vincent Petry ebcc8c6842 Update modules to tagged versions
- ocis-ocs v0.2.0
- ocis-pkg/v2 v2.3.0
- ocis-proxy v0.6.0
- ocis-reva v0.12.0
- ocis-settings v0.1.0
- ocis-store v0.1.1
- ocis-thumbnails v0.3.0
2020-08-17 17:43:02 +02:00
Vincent Petry 29efcbbe8d Update Phoenix commit for disabled deletion tests 2020-08-17 17:39:04 +02:00
Vincent Petry 55fccdb00e Automated changelog update [skip ci] 2020-08-17 15:19:09 +00:00
Vincent Petry 02a23091bc Merge pull request #443 from owncloud/release-0.12.0
Prepare release 0.12.0
2020-08-17 17:04:30 +02:00
Vincent Petry dc8a2f7b98 Automated changelog update [skip ci] 2020-08-17 14:51:10 +00:00
Vincent Petry e5e3aa732c Prepare release 0.12.0 2020-08-17 16:44:54 +02:00
Vincent Petry d3fd5d5d90 Automated changelog update [skip ci] 2020-08-17 14:38:42 +00:00
Vincent Petry 78fcc9a75f Automated changelog update [skip ci] 2020-08-17 14:33:53 +00:00
Vincent Petry 2b76f6b288 Merge pull request #90 from owncloud/release-0.6.0
Prepare release 0.6.0
2020-08-17 16:31:04 +02:00
Vincent Petry 37bbb3c481 Merge pull request #55 from owncloud/release-2.3.0
Prepare release 2.3.0
2020-08-17 16:30:43 +02:00
Vincent Petry 4abe202191 Prepare release 0.6.0 2020-08-17 16:14:11 +02:00
Vincent Petry 25456c4ff9 Automated changelog update [skip ci] 2020-08-17 14:11:48 +00:00
Vincent Petry 9ecde9a958 Merge pull request #45 from owncloud/release-0.1.0
Prepare release 0.1.0
2020-08-17 16:11:21 +02:00
Vincent Petry 38da22f391 Merge pull request #8 from owncloud/release-0.1.1
Prepare release 0.1.1
2020-08-17 16:07:03 +02:00
Vincent Petry 2a598b6eef Automated changelog update [skip ci] 2020-08-17 13:55:59 +00:00
Alex Unger 2ebf7b2f23 Automated changelog update [skip ci] 2020-08-17 13:44:45 +00:00
A.Unger 5ff2a84e0f prepare 2.3.0 2020-08-17 15:44:12 +02:00
Vincent Petry c54601c713 Prepare release 0.1.0 2020-08-17 15:40:45 +02:00
Vincent Petry 30fe0748ae Merge pull request #37 from owncloud/release-0.2.0
Prepare release 0.2.0
2020-08-17 15:38:06 +02:00
Alex Unger 6bf25c37f2 Merge pull request #42 from owncloud/release-0.3.0
Prepare release 0.3.0
2020-08-17 15:35:03 +02:00
A.Unger 74718835d0 prepare 0.11.0 2020-08-17 15:34:02 +02:00
Alex Unger 5cba5acd44 Merge branch 'master' into release-0.2.0 2020-08-17 15:30:33 +02:00
Vincent Petry 4212d50c86 Prepare release 0.1.1 2020-08-17 15:29:59 +02:00
A.Unger 171a77cd94 prepare 0.2.0 2020-08-17 15:29:39 +02:00
Vincent Petry 96b0f3eb1e Prepare release 0.3.0 2020-08-17 15:26:58 +02:00
Jörn Friedrich Dreyer 4b2a670e13 add eos truobleshooting docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-17 15:06:18 +02:00
A.Unger 5a271d426b run go mod tidy 2020-08-17 14:42:44 +02:00
Artur Neumann a467820a30 use again master of phoenix for tests - commit c1b2858608e60ef0ed51ca2fdd9fb81022a3c4f2 2020-08-17 17:25:13 +05:45
Artur Neumann 413d7761f5 Merge branch 'master' into update-deps-2020-07-22 2020-08-17 16:48:48 +05:45
Artur Neumann 1b508d41a4 use update-deps-2020-07-22 phoenix branch to skip failing public link tests 2020-08-17 16:38:09 +05:45
Artur Neumann bddb13989f Automated changelog update [skip ci] 2020-08-17 03:22:42 +00:00
Artur Neumann aa4c13f04d Merge pull request #456 from owncloud/bump-core-commit-20200815
[Tests-Only] Bump core commit for API tests 2020-08-15
2020-08-17 08:54:53 +05:45
Artur Neumann f68e8de5a3 Merge pull request #441 from owncloud/bump-core-commit-20200815
[Tests-Only] Bump core commit for API tests 2020-08-15
2020-08-17 08:54:50 +05:45
Phil Davis dbc4550539 Bump core commit for API tests 2020-08-15 2020-08-15 12:03:00 +05:45
Phil Davis f52589257a Bump core commit for API tests 2020-08-15 2020-08-15 12:00:02 +05:45
Vincent Petry a1e6a152fd Update Phoenix test commit to ace991976a666cd551f1006303361897089bf59c 2020-08-14 10:35:07 +02:00
Vincent Petry 2bf8b02536 Update ocis-reva v0.10.1-0.20200814043912-6361bb5cb1b9
Update ocis-reva to v0.10.1-0.20200814043912-6361bb5cb1b9 (master).
2020-08-14 06:39:59 +02:00
Vincent Petry 6361bb5cb1 Merge pull request #420 from owncloud/username-userid-split-adjustments
environment updates for the username userid split
2020-08-14 06:39:12 +02:00
Artur Neumann e1fbcf631b advance phoenix commit id for test-infrastructure 2020-08-14 09:07:33 +05:45
Phil Davis b1b712a703 Adjust expected results of apiShareManagementBasic-createShare.feature:88 to match cs3org/reva 2020-08-13 21:58:03 +05:45
Vincent Petry aec920b364 Update reva to v1.1.1-0.20200813152025-baea1c67fb87 2020-08-13 21:37:47 +05:45
A.Unger d7978e0ee5 update ocis-reva with reva@master 2020-08-13 21:37:47 +05:45
Jörn Friedrich Dreyer 38176a803a go mod tidy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-13 21:37:47 +05:45
Jörn Friedrich Dreyer f0ad60dde5 update reva to v1.0.1-0.20200810113514-38919badfcc7
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-13 21:37:47 +05:45
Jörn Friedrich Dreyer f9059882cf environment updates for the username userid split
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-13 21:37:47 +05:45
Benedikt Kulmann c8f7f10181 Automated changelog update [skip ci] 2020-08-13 15:39:51 +00:00
Benedikt Kulmann ae50872dfd Merge pull request #77 from owncloud/die-on-invalid-config
Die on invalid config
2020-08-13 17:35:36 +02:00
Benedikt Kulmann 2da46c6495 Adapt changelog for missing config 2020-08-13 15:39:10 +02:00
Benedikt Kulmann 73727e8fb6 Align error behaviour for invalid web config path with invalid asset path 2020-08-13 15:36:35 +02:00
Benedikt Kulmann 923fd5a3f3 Automated changelog update [skip ci] 2020-08-13 12:12:16 +00:00
Benedikt Kulmann 8455f8489d Update ocis-phoenix@f66a6435f4724632642d7ede434cd35cc2c0d73a 2020-08-13 14:10:59 +02:00
Benedikt Kulmann cb58c3fdad Merge pull request #76 from owncloud/die-on-missing-assets
Die on missing assets
2020-08-13 14:07:38 +02:00
Benedikt Kulmann 7843a2e07e Add changelog 2020-08-13 12:50:04 +02:00
Benedikt Kulmann f52fbdf5ee Switch log level to Fatal when specified assets don't exist
If the service is started with an assets path and it doesn't exist, the
service should exit instead of just logging a warning and defaulting to
the builtin assets.
2020-08-13 12:44:43 +02:00
Benedikt Kulmann 57f4953a48 Update ocis-phoenix@0369dc8abd266f3e3b19f9ce8f009fe05f31b708 2020-08-13 10:55:57 +02:00
A.Unger 577de3c0db update api tests to reflect the latest changes on cs3org@reva tests 2020-08-13 10:41:19 +02:00
A.Unger dd0fec860f Merge branch 'master' into update-deps-2020-07-22 2020-08-13 10:22:33 +02:00
A.Unger 5785da6292 update ocis-reva with 115c8e5 2020-08-13 10:21:50 +02:00
A.Unger db8f9ae565 update ocis-reva with c61e71e 2020-08-13 10:20:34 +02:00
Benedikt Kulmann 0a4f0d7ea4 Update ocis-phoenix@907ba1a7aae225dc0bf250c101d623d84a40b475 2020-08-13 08:58:25 +02:00
Artur Neumann 308addf876 Merge pull request #436 from owncloud/bump-core-commit-20200813
[Tests-Only] Bump core commit to run extra tests
2020-08-13 09:22:52 +05:45
Artur Neumann 79f8e7e65d Merge pull request #449 from owncloud/bump-core-commit-20200813
[Tests-Only] Bump core commit to run extra tests
2020-08-13 09:22:27 +05:45
Phil Davis a9bf1b32c5 Bump core commit to run extra tests 2020-08-13 08:39:18 +05:45
Phil Davis b0b2ee05a1 Bump core commit to run extra tests 2020-08-13 08:36:50 +05:45
Vincent Petry 6f60135933 Automated changelog update [skip ci] 2020-08-12 14:00:47 +00:00
Vincent Petry 9d40d05538 Update ocis-settings + indirectly ocis-pkg
- ocis-settings master => v0.0.0-20200812135211-ec86c9ac93c6
- ocis-pkg/v2 v2.2.2-0.20200812103920-db41b5a3d14d
2020-08-12 15:55:00 +02:00
Vincent Petry ec86c9ac93 Merge pull request #44 from owncloud/no-validate-uuid
Allow any user id format
2020-08-12 15:52:11 +02:00
Benedikt Kulmann 01e189f010 Merge branch 'master' into no-validate-uuid 2020-08-12 15:44:22 +02:00
Benedikt Kulmann 15a3e6c378 Make linter happy 2020-08-12 15:41:01 +02:00
Artur Neumann ed77ff501e Automated changelog update [skip ci] 2020-08-12 13:32:12 +00:00
Benedikt Kulmann f2345bc654 Don't convert account ids to lowercase 2020-08-12 15:28:13 +02:00
Benedikt Kulmann 18a0ca1799 Update changelog 2020-08-12 15:27:38 +02:00
Benedikt Kulmann 17658df8b6 Allow + . and @ in account ids 2020-08-12 15:26:12 +02:00
Artur Neumann 7b6377e64e Merge pull request #84 from owncloud/updateCI-latestCommit
[Tests-Only ]Commit ids updated in drone.star
2020-08-12 19:05:49 +05:45
Vincent Petry ad8a440906 Merge pull request #42 from owncloud/update-ocis-pkg2
Update ocis-pkg/v2
2020-08-12 15:04:39 +02:00
Vincent Petry 0a16aaa73c Adjust changelog for UUID validation fix 2020-08-12 14:46:16 +02:00
Benedikt Kulmann a183de1d36 Allow alphanumeric, - and _ for account uuids 2020-08-12 14:43:12 +02:00
Benedikt Kulmann 2de2d0b33e Remove debug output 2020-08-12 14:40:15 +02:00
Vincent Petry fa1784ebb6 Remove one more validator for UUID 2020-08-12 14:33:04 +02:00
Benedikt Kulmann 12c6358005 Update ocis-phoenix@a1b14f0a4d3b438e72f652e5b33d1cad661af470 2020-08-12 14:24:25 +02:00
Vincent Petry 12c1b96f6f Allow any user id format
The user id / account UUID should allow any format as in some cases a regular user name
could be used there.
2020-08-12 14:21:31 +02:00
Vincent Petry e1963a52e7 Update ocis-pkg/v2 2020-08-12 14:14:25 +02:00
Jörn Friedrich Dreyer 7d0df6674c Merge pull request #52 from owncloud/changelog-51
Add changelog for #51
2020-08-12 13:25:08 +02:00
Alex Unger f1efaddc27 add changelog for #33 (#34) 2020-08-12 13:24:40 +02:00
Artur Neumann 03a6b07424 fix comments 2020-08-12 17:02:16 +05:45
jasson99 a89c5fb3d6 run with ldap 2020-08-12 16:53:17 +05:45
Artur Neumann a3460c7782 added more old webdav public link tests to expected failures 2020-08-12 16:51:52 +05:45
jasson99 c030487016 Commit ids updated in drone.star 2020-08-12 16:49:51 +05:45
Artur Neumann 1ed15cd097 add group share tests to expected failures 2020-08-12 16:39:30 +05:45
A.Unger e5df9ac56d add changelog for #51 2020-08-12 12:47:51 +02:00
Alex Unger db41b5a3d1 Merge pull request #51 from butonic/update-deps
update dependencies 2020-08-12
2020-08-12 12:39:20 +02:00
Jörn Friedrich Dreyer 8020ebfa0b update dependencies 2020-08-12
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 12:32:45 +02:00
Artur Neumann 014ee934ee more expected failures in preview tests 2020-08-12 16:12:23 +05:45
Alex Unger d8ea49d565 Merge pull request #33 from butonic/update-deps
update dependencies
2020-08-12 12:24:08 +02:00
Artur Neumann f880730bd0 adjust updateShare test expectations 2020-08-12 16:09:05 +05:45
Jörn Friedrich Dreyer 2c1c0c84ab update dependencies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 12:14:35 +02:00
Artur Neumann 7dbad9e05b Merge branch 'update-deps-2020-07-22' of github.com:owncloud/ocis into update-deps-2020-07-22 2020-08-12 15:46:07 +05:45
Artur Neumann 876a6790fa adjust preview test expectations 2020-08-12 15:45:55 +05:45
Artur Neumann e7777a504f enable public link tests that are passing 2020-08-12 15:40:09 +05:45
Artur Neumann 80a4916b97 adjust ocs return codes in tests 2020-08-12 15:35:26 +05:45
Jörn Friedrich Dreyer 1c5e1ce36b update eos docs to use uuid
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 11:28:24 +02:00
Vincent Petry 6ea6c8f9f9 Add redigo replace 2020-08-12 11:11:04 +02:00
Benedikt Kulmann 817994177e Automated changelog update [skip ci] 2020-08-12 09:06:45 +00:00
Vincent Petry 6bd3feb5f3 Update ocis-reva
- ocis-reva v0.10.1-0.20200811144731-53a4180d0aad
2020-08-12 10:56:41 +02:00
Artur Neumann 7c35044aed Merge branch 'update-deps-2020-07-22' of github.com:owncloud/ocis into update-deps-2020-07-22 2020-08-12 14:33:55 +05:45
Artur Neumann 6509fd7d20 adjust test expectations 1 2020-08-12 14:33:36 +05:45
Benedikt Kulmann 95a1046378 Simplify tracing config for ocis-store 2020-08-12 10:45:50 +02:00
Benedikt Kulmann 4a79f385c4 Merge branch 'master' into update-deps-2020-07-22 2020-08-12 10:43:15 +02:00
Benedikt Kulmann a26c8194ea Merge pull request #329 from owncloud/simplify-config
Simplify config
2020-08-12 10:39:47 +02:00
Artur Neumann 340f92f687 fix preview tests 2020-08-12 14:21:37 +05:45
Artur Neumann 4ae20f8c7f update phoenix commit id 2020-08-12 14:00:38 +05:45
Artur Neumann 59179f4d73 clean ldap leftovers in drone.star 2020-08-12 13:44:34 +05:45
Vincent Petry 549c0b212e Update deps
Fixes pre-signed URL and some accounts concurrency issues.

- ocis-accounts v0.1.2-0.20200811150802-01ede72397e8
- ocis-ocs v0.1.1-0.20200811143120-5b2ce794900c
- ocis-pkg/v2 v2.2.2-0.20200811112833-49a2b6fd10ea
- ocis-proxy v0.5.1-0.20200811152237-99c1dba7c091
2020-08-12 13:38:04 +05:45
Jörn Friedrich Dreyer 8fb21df5e8 update ocis-ocs to 0938dbcaf5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 13:38:03 +05:45
Vincent Petry c32d348926 Update deps again
- ocis-accounts v0.1.2-0.20200805084037-bb03734c3851
- ocis-ocs v0.1.1-0.20200806061232-43514cd1725f
- ocis-thumbnails v0.2.1-0.20200806144633-c15d98b30832
2020-08-12 13:38:03 +05:45
Artur Neumann 62ada72b42 use master branch again for UI tests 2020-08-12 13:38:03 +05:45
A.Unger de43c2b8d2 update ocis-proxy => v0.5.1-0.20200731211838-9470b36c61d7 2020-08-12 13:37:51 +05:45
A.Unger 66e79332ae update ocis-ocs => v0.1.1-0.20200804140521-886f75d25f6f 2020-08-12 13:37:51 +05:45
A.Unger 99c320e9f4 update ocis-accounts => e8cce39cd2 2020-08-12 13:37:51 +05:45
Jörn Friedrich Dreyer 55b72af77d update ocis-glauth to v0.5.1-0.20200731165959-1081de7c60f1
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 13:37:51 +05:45
Artur Neumann 4a1a8110df get rid of all LDAP settings in drone 2020-08-12 13:37:51 +05:45
Jörn Friedrich Dreyer 8ff2c4d943 update ocis-glauth to v0.5.1-0.20200730144039-cb095cf6bde5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 13:37:04 +05:45
Jörn Friedrich Dreyer be18a661a6 update ocis-accounts to v0.1.2-0.20200731100349-e7082d364791
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 13:37:04 +05:45
Artur Neumann 42d0598920 temp use branches with test adjustments in core & phoenix 2020-08-12 13:37:03 +05:45
A.Unger 2649661fbc update ocis-accounts => 556dc80290 2020-08-12 13:36:41 +05:45
A.Unger 8ab8790da1 update ocis-ocs@8933b604e96b2bc294f9936c22dbe13727dbceca 2020-08-12 13:36:41 +05:45
A.Unger 17809a9276 preliminary point to a PR using RWMutex to get around waiting for CI 2020-08-12 13:36:41 +05:45
A.Unger 0070b190e1 update ocis-proxy 2020-08-12 13:36:41 +05:45
A.Unger 9c919a56eb update ocis-accounts 2020-08-12 13:36:41 +05:45
Jörn Friedrich Dreyer fdfb14303e update ocis-ocs to v0.1.1-0.20200729151744-16ae852a590f
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 13:36:41 +05:45
A.Unger 27f8225dde update ocis-ocs to 69c4148658 2020-08-12 13:36:40 +05:45
Benedikt Kulmann 7785073115 Temporarily pin ocis-accounts @ b6ab351c0b944ed6dc9fa083a207550c0da0558e 2020-08-12 13:36:40 +05:45
Benedikt Kulmann fdf786fa51 Update ocis-ocs, ocis-phoenix, ocis-proxy and ocis-reva 2020-08-12 13:36:40 +05:45
Artur Neumann b8a7e890bf advance core commit id 2020-08-12 13:36:40 +05:45
Artur Neumann 049f178544 use proxy to access server in API tests 2020-08-12 13:36:17 +05:45
A.Unger 08a5198e3c update ocis-accounts to include cli 2020-08-12 13:36:17 +05:45
Benedikt Kulmann 4b3646ff4d go mod tidy 2020-08-12 13:36:17 +05:45
Benedikt Kulmann 13ef57e0b6 Update ocis-reva 2020-08-12 13:36:17 +05:45
Benedikt Kulmann ff57cba5f7 Update oc10-core and phoenix master commit ids for tests 2020-08-12 13:36:17 +05:45
Benedikt Kulmann 2957194167 Pin ocis-phoenix to a commit with manually built phoenix assets.
For testing. Not for release.
2020-08-12 13:35:14 +05:45
Benedikt Kulmann 6a4726261b Update ocis-proxy to master with auto-enabled accounts 2020-08-12 13:35:14 +05:45
Jörn Friedrich Dreyer e8bc1358dd run ocis with debug level logging
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 13:35:14 +05:45
Jörn Friedrich Dreyer 995a9d19bf configure PROXY_OIDC_ISSUER and LDAP filters for tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 13:35:14 +05:45
Benedikt Kulmann 7708335d55 Update ocis-reva and related test-config 2020-08-12 13:35:14 +05:45
A.Unger da4ba6cb7e update ocis-glauth to c01ce16 2020-08-12 13:35:14 +05:45
A.Unger c88138239a change store category to extensions instead of runtime 2020-08-12 13:35:14 +05:45
A.Unger d9f4f943d8 update ocis-store to 706a465 2020-08-12 13:35:14 +05:45
A.Unger b0513e6a38 update ocis-store to 706a465 2020-08-12 13:35:14 +05:45
Jörn Friedrich Dreyer 8f3962de88 use ocis-glauth v0.5.0
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-12 13:35:14 +05:45
Benedikt Kulmann 60f43af3a9 Update ocis-accounts, ocis-glauth and ocis-reva to respective current master 2020-08-12 13:35:14 +05:45
Benedikt Kulmann 484b1b94d5 Update recently released ocis-extensions 2020-08-12 13:35:14 +05:45
Benedikt Kulmann ccd8b89d72 Rebase & update ocis-glauth to current master 2020-08-12 13:35:14 +05:45
Benedikt Kulmann 861e69d751 Pin more dependencies
- Pin konnectd, glauth and webdav to current master
- Update thumbnails to 0.2.0
2020-08-12 13:35:14 +05:45
Benedikt Kulmann 5a10cbc84d Point extensions to their respective most recent master commit id
This is to get early results on CI. We need to pin releases, not commit
ids.
2020-08-12 13:35:14 +05:45
Benedikt Kulmann 1b048da76a Fix store command
- Was started with the wrong flagset
- Didn't use the ocis-store config at all
2020-08-12 13:35:14 +05:45
Benedikt Kulmann ded9a0186e Set jaeger default tracing config 2020-08-12 09:35:43 +02:00
Benedikt Kulmann 353cd3c5df Add changelog item 2020-08-12 09:35:43 +02:00
Benedikt Kulmann 13227efd05 Adapt documentation to new tracing config forwarding. 2020-08-12 09:35:43 +02:00
Benedikt Kulmann 86e344c92c Apply oCIS tracing config to all services having tracing 2020-08-12 09:35:43 +02:00
Phil Davis c1ff7cfa27 Merge pull request #435 from owncloud/bump-core-commit-20200812
[Tests-Only] Bump core commit 20200812
2020-08-12 13:11:21 +05:45
Phil Davis 75e9506254 Merge pull request #439 from owncloud/add-bug-demo-scenarios
[Tests-Only] Add bug demo scenarios
2020-08-12 13:10:37 +05:45
Phil Davis c1f3a6b73d Remove core tests that are not run from expected-failures.txt 2020-08-12 12:56:24 +05:45
Phil Davis f10a948b54 Bump core commit id to get latest CI scripts 2020-08-12 12:41:26 +05:45
Phil Davis f830ef05b3 Bump core commit id to get latest CI scripts 2020-08-12 12:38:26 +05:45
Phil Davis 7c071a97a5 Skip intermittent upload etag local test scenario 2020-08-12 12:36:46 +05:45
Phil Davis 87d2951172 Remove unused skipOnOcis tag 2020-08-12 12:34:21 +05:45
Phil Davis aef9716dd0 Bump core commit to not run intermittent test scenarios 2020-08-12 11:16:10 +05:45
Phil Davis 8722bb6b42 Bump core commit id and apply line-number changes to expected-failures.txt 2020-08-12 11:16:10 +05:45
Phil Davis 96990291a3 Add new uploadFile bug demo scenario from core PR 37795 2020-08-12 11:16:10 +05:45
Phil Davis 09d466a1b4 some share response attributes are currently empty in OCIS 2020-08-12 11:16:10 +05:45
Phil Davis 83d5370a1c [Tests-Only] Add bug demo scenarios 2020-08-12 11:16:10 +05:45
Artur Neumann 2f5cdbabe4 Merge pull request #433 from owncloud/bump-commit-id-20200811
[Tests-Only] Bump core commit id for removed bug demo scenarios
2020-08-12 08:50:58 +05:45
Phil Davis 666c851a5d Comment out intermittent test scenario example for etag 2020-08-11 23:31:38 +05:45
Phil Davis b3c088f9cb Bump core commit id for removed bug demo scenarios 2020-08-11 23:17:15 +05:45
Vincent Petry d3aa0bc058 Automated changelog update [skip ci] 2020-08-11 15:28:01 +00:00
Vincent Petry 99c1dba7c0 Merge pull request #85 from owncloud/presigned-url-lookup-fix
lookup user by id as well
2020-08-11 17:22:37 +02:00
Vincent Petry 01ede72397 Merge pull request #82 from owncloud/atomic-requests
Atomic requests to the accounts service
2020-08-11 17:08:02 +02:00
Jörn Friedrich Dreyer 3e2e494e57 Automated changelog update [skip ci] 2020-08-11 14:36:38 +00:00
Jörn Friedrich Dreyer 5b2ce79490 Merge pull request #32 from owncloud/signingkey-use-opaqueid
Use opaque ID of a user for signing keys
2020-08-11 16:31:20 +02:00
Jörn Friedrich Dreyer 6e590a051f add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-11 16:18:37 +02:00
Vincent Petry 10686290e7 Use opaque ID of a user for signing keys
OCIS switched from user the user's opaque ID (UUID) everywhere,
so to keep compatible we have adjusted the signing keys endpoint
to also use the UUID when storing and generating the keys.
2020-08-11 16:13:22 +02:00
Alex Unger 20c4203bf1 add changelog
Signed-off-by: A.Unger <zyxancf@gmail.com>
2020-08-11 16:12:42 +02:00
Phil Davis a9e43853a0 Merge pull request #432 from owncloud/add-new-uploadFile-scenario
[Tests-Only] Add new uploadFile bug demo scenario from core PR 37795
2020-08-11 17:17:09 +05:45
Jörn Friedrich Dreyer 3e29ee9fa2 properly distinguish userid from username
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-11 13:31:47 +02:00
Jörn Friedrich Dreyer 49a2b6fd10 Automated changelog update [skip ci] 2020-08-11 11:28:33 +00:00
Jörn Friedrich Dreyer 2151a60cc2 Merge pull request #50 from owncloud/add-ocisid-claim
add `ocis.id` and numeric id claims
2020-08-11 13:26:28 +02:00
Phil Davis 8ef228eb3b Add new uploadFile bug demo scenario from core PR 37795 2020-08-11 16:58:08 +05:45
Jörn Friedrich Dreyer 202140b0c3 add ocis.id and numeric id claims
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-11 11:42:49 +02:00
Jörn Friedrich Dreyer fba174641b lookup user by id as well
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-08-11 10:23:46 +02:00
Artur Neumann 2c4727d79e Merge pull request #427 from owncloud/expected-failures-20200731
[Tests-Only] Implement EXPECTED_FAILURES_FILE for API acceptance tests
2020-08-11 13:51:09 +05:45
Phil Davis 70e8d4fe18 Bump core commit to 2020-08-10 2020-08-10 21:32:37 +05:45
Dipak Acharya 0938dbcaf5 Automated changelog update [skip ci] 2020-08-10 09:30:52 +00:00
Dipak Acharya eb87da2dfa Merge pull request #34 from owncloud/add-uid-gid
Add UidNumber and GidNumber when creating new user
2020-08-10 15:11:35 +05:45
Dipak Acharya 83023c30e9 Fix the changelog title 2020-08-10 14:59:31 +05:45
Dipak Acharya e880600b61 Add changelog item 2020-08-10 14:51:17 +05:45
Dipak Acharya 1cb7d26ece Allow creating user without uidnumber and gidnumber 2020-08-10 14:51:14 +05:45
Dipak Acharya def5934702 Add UidNumber and GidNumber when creating new user 2020-08-10 14:03:08 +05:45
Artur Neumann a4e2e4e4f2 Merge pull request #430 from owncloud/bump-core-commit-20200807
[Tests-Only] Bump core commit id for tests
2020-08-10 08:48:03 +05:45
Phil Davis e14bb72997 Bump core commit id 20200809 2020-08-09 20:24:28 +05:45
A.Unger 7c29818921 undo group changes 2020-08-07 14:27:38 +02:00
A.Unger a4e8a8f09e typo 2020-08-07 14:15:08 +02:00
A.Unger 510007d402 update groups 2020-08-07 14:13:16 +02:00
A.Unger 9a9745837f atomic requests 2020-08-07 14:10:18 +02:00
Phil Davis c1f9a99ac9 Do not run core preview test scenarios 2020-08-07 10:04:15 +05:45
Phil Davis 4aaafa8e38 Bump core commit to 2020-08-07 2020-08-07 09:01:16 +05:45
Phil Davis b061e3ca9d Bump core commit to 2020-07-31 2020-08-07 08:58:53 +05:45
Phil Davis 75995aa50b Run API tests in multiple pipelines 2020-08-07 08:58:53 +05:45
Phil Davis 0b75e25d74 Document the changes to acceptance test workflow 2020-08-07 08:58:53 +05:45
Phil Davis b36390e017 Add local API acceptance tests 2020-08-07 08:58:53 +05:45
Phil Davis 67861acd73 Add expected failures that are only in owncloud/ocis 2020-08-07 08:58:53 +05:45
Phil Davis 6defe1bc0e Add EXPECTED_FAILURES_FILE for oC10 API tests 2020-08-07 08:58:53 +05:45
Phil Davis 9d87ef5a27 Bump core commit id for tests 2020-08-07 08:54:02 +05:45
Alex Unger c15d98b308 Merge pull request #41 from owncloud/use-ocis-proxy 2020-08-06 16:46:33 +02:00
Vincent Petry 52163c9e67 Add Insecure flag for trusting https certs 2020-08-06 14:05:35 +02:00
Vincent Petry 840d84d22c Use the ocis-proxy URL to make sure auth works correctly
Since a recent change in ocis-accounts that makes a distinction between
user id and user name, the thumbnails cannot properly authenticate
against the Reva API endpoint (port 9140) using the provided Bearer
token.

Since the ocis-proxy is handling authentication correctly, the default
setting has been changed here to connect to ocis-proxy.
2020-08-06 12:05:46 +02:00
Phil Davis 020639270d Merge pull request #426 from owncloud/bump-core-commit-20200805
[Tests-Only] Bump core commit to match core 10.5.1 bump
2020-08-06 14:34:10 +05:45
Phil Davis a396dc1146 Move 'not preview-extension-required' filter to core API acceptance tests 2020-08-06 14:13:03 +05:45
Phil Davis 7a7a43361b Bump core commit to latest as of 2020-08-05 2020-08-06 13:12:18 +05:45
Phil Davis 541f047731 Bump core commit to match core 10.5.1 bump 2020-08-06 13:06:19 +05:45
Vincent Petry 43514cd172 Merge pull request #31 from owncloud/fix-30
Validation on adding user to group
2020-08-06 08:12:32 +02:00
A.Unger 0db046d827 correctly parse request body 2020-08-05 13:47:41 +02:00
Artur Neumann 7597574b86 Merge pull request #428 from owncloud/test-previews-fixCI
[Tests-Only] don't run preview tests in ocis-reva
2020-08-05 16:13:44 +05:45
Vincent Petry bb03734c38 Merge pull request #76 from owncloud/fix-prefix-query
Unescape value for prefix query
2020-08-05 10:40:37 +02:00
Michael Barz d6ed9f3e60 Merge pull request #431 from owncloud/fix-docs
Fix public upload flow docs
2020-08-05 10:21:43 +02:00
swoichha f78eebb30c updated drone.star and testing.md file for tag preview-extension-required 2020-08-05 13:28:48 +05:45
Michael Barz d058d3579e Fix public upload flow docs 2020-08-04 23:29:29 +02:00
Alex Unger 886f75d25f Automated changelog update [skip ci] 2020-08-04 14:05:21 +00:00
Alex Unger 0ad412aebd Merge pull request #29 from owncloud/fix-new-client-pool 2020-08-04 16:00:38 +02:00
Vincent PetryandA.Unger 6d4766595c Use a single GRPC new client instance
The client is already using a connection pool, so we should not
instantiate it multiple times as it causes connections to stay open and
makes file descriptors leak.

Co-authored-by: "A.Unger" <zyxancf@gmail.com>
2020-08-04 15:54:22 +02:00
Artur Neumann 8e0fa93c96 Merge pull request #424 from owncloud/bump-core-commit-20200804
[Tests-Only] Bump core commit for tests
2020-08-04 16:14:19 +05:45
Michael Barz ea11f701aa Fix syntax in request flow 2020-08-04 12:26:41 +02:00
Phil Davis 45d77ed5a1 Bump core commit for tests 2020-08-04 15:54:31 +05:45
Artur Neumann e8cce39cd2 Merge pull request #78 from owncloud/tag-issue
[tests-only] tagged test example with the mail validation issue
2020-08-04 15:49:05 +05:45
Phil Davis c4d04d1d13 Merge pull request #423 from owncloud/add-bug-demo-scenarios
[Tests-Only] Add bug demonstration scenarios
2020-08-04 15:41:40 +05:45
Phil Davis 992ce8636f Local API Tests are with Oc Storage 2020-08-04 15:05:42 +05:45
Phil Davis e34e5752e9 Add needed Contexts to behat.yml 2020-08-04 14:46:59 +05:45
Phil Davis 9421683436 Add bug demonstration scenarios 2020-08-04 14:28:04 +05:45
Artur Neumann 15da531941 Merge pull request #421 from owncloud/refactor-drone-star
[Tests-Only] Refactor .drone.star API tests
2020-08-03 20:07:19 +05:45
Phil Davis 99e57e2992 Bump core commit to 2020-07-31 2020-08-03 16:08:57 +05:45
Phil Davis 930678bc2c Refactor .drone.star API tests 2020-08-03 15:41:17 +05:45
Parajuli Kiran 2cf9639e68 Tagged test example with the mail validation issue 2020-08-03 13:45:26 +05:45
Alex Unger b940cac8d3 Automated changelog update [skip ci] 2020-08-03 07:44:12 +00:00
Alex Unger 2ab3fcac40 Merge pull request #75 from owncloud/fix-wrong-changelog 2020-08-03 09:31:48 +02:00
Alex Unger 783259853a Merge branch 'master' into fix-wrong-changelog 2020-08-03 09:14:25 +02:00
PKiran c24e4a74ac Merge pull request #67 from owncloud/update-user-grp-test
[Tests-Only] Added test for account update
2020-08-03 12:55:05 +05:45
Parajuli Kiran 56583430ed Added account update unit test 2020-08-03 12:30:10 +05:45
Ilja Neumann 9470b36c61 Automated changelog update [skip ci] 2020-07-31 21:18:38 +00:00
Ilja Neumann 9999088813 Fix potential null-pointer 2020-07-31 23:13:50 +02:00
Ilja Neumann 1deada443e Set iss/idp in reva-userid 2020-07-31 23:13:50 +02:00
Jörn Friedrich Dreyer 8ebb5ce0ab Unescape value for prefix query
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-31 23:10:36 +02:00
Alex Unger 1081de7c60 Automated changelog update [skip ci] 2020-07-31 16:59:59 +00:00
Alex Unger ee3964a7f7 Merge pull request #31 from butonic/fix-startswith-queries
fix LDAP substring startswith filters
2020-07-31 18:44:24 +02:00
Jörn Friedrich Dreyer 59e9f296a4 fix LDAP substring startswith filters
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-31 17:35:33 +02:00
Phil Davis 9e833c674d Merge pull request #402 from owncloud/expected-failures-20200727
[Tests-Only] Implement EXPECTED_FAILURES_FILE for API acceptance tests
2020-07-31 20:58:26 +05:45
Phil Davis c32fb5c0d0 Split core API acceptance tests into 2 parts 2020-07-31 20:37:45 +05:45
Phil Davis 727d7089fd Update testing docs for EXPECTED_FAILURES_FILE changes 2020-07-31 20:37:45 +05:45
Phil Davis 71f1c752ff Add apiOcisSpecific features from apiAuthOcs 2020-07-31 20:37:45 +05:45
Phil Davis 9d147b157a Add infrastructure and first local acceptance test 2020-07-31 20:37:45 +05:45
Phil Davis f263630192 add comments to tests/acceptance/expected-failures.txt 2020-07-31 20:37:45 +05:45
Phil Davis c11aed5f22 Run tests even if they have skipOnOcis-OC-Storage 2020-07-31 20:37:45 +05:45
Phil Davis d21b66308b Add expected failure scenarios 2020-07-31 20:37:45 +05:45
Phil Davis 7c2fc3e2df Run all core acceptance tests that are not specifically tagged about OCIS 2020-07-31 20:37:45 +05:45
Phil Davis 6a4daa7b83 Use expected-failures.txt in core acceptance tests 2020-07-31 20:37:45 +05:45
Phil Davis 421baee553 Run with latest core master commit id 2020-07-31 20:37:45 +05:45
Artur Neumann be1d9a6ea9 Merge pull request #416 from owncloud/bump-core-commit-id-20200731
[Tests-Only] Bump core commit id for API acceptance tests
2020-07-31 17:37:24 +05:45
Jörn Friedrich Dreyer 22218b3d29 Update fix-index-mapping.md
we
2020-07-31 13:48:22 +02:00
Phil Davis 017bbdfec4 Bump core commit id for API acceptance tests 2020-07-31 17:19:09 +05:45
Phil Davis 3954241a27 Merge pull request #417 from owncloud/bump-core-commit-id-20200731-b
[Tests-Only] Bump core commit id for core PR 37753
2020-07-31 15:50:23 +05:45
Jörn Friedrich Dreyer e7082d3647 Automated changelog update [skip ci] 2020-07-31 10:03:49 +00:00
Jörn Friedrich Dreyer 8de0530f31 Merge pull request #74 from butonic/fix-document-type-mapping
fix index mapping
2020-07-31 11:51:53 +02:00
Jörn Friedrich Dreyer 20a577dc15 fix index mapping
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-31 11:25:57 +02:00
Phil Davis e48530fd5e Bump core commit id for core PR 37753 2020-07-31 14:40:34 +05:45
Alex Unger cb095cf6bd Automated changelog update [skip ci] 2020-07-30 14:40:39 +00:00
Alex Unger 8216a5d92f Merge pull request #30 from butonic/fix-bind-when-not-found
return invalid credentials when user was not found
2020-07-30 16:35:04 +02:00
Jörn Friedrich Dreyer 1a965cfe5e return invalid credentials when user was not found
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-30 16:13:34 +02:00
Alex Unger 556dc80290 Merge pull request #72 from owncloud/feature/global-mutex 2020-07-30 10:56:41 +02:00
Alex Unger 8933b604e9 Merge pull request #27 from butonic/provisinging-api-fixes 2020-07-30 10:53:17 +02:00
Jörn Friedrich Dreyer 0af224e0a1 fake quota as in reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-30 10:47:19 +02:00
A.Unger c432f296eb set lock on read 2020-07-30 10:10:52 +02:00
A.Unger 4074565a6b use global mutex 2020-07-30 10:06:29 +02:00
Alex Unger 2cd1209d9f Automated changelog update [skip ci] 2020-07-30 07:37:52 +00:00
Artur Neumann d05be309fe Merge pull request #413 from owncloud/bump-core-commit-20200730
[Tests-Only] Bump commit for oC10APIAcceptanceTests
2020-07-30 13:16:24 +05:45
Alex Unger 0d8d2e9abb Merge pull request #71 from butonic/add-write-mutexes
Add write mutexes
2020-07-30 09:25:15 +02:00
Phil Davis 37c883fffb Bump commit for oC10APIAcceptanceTests 2020-07-30 12:52:28 +05:45
Jörn Friedrich Dreyer 52c2781548 Add write mutexes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-30 08:49:03 +02:00
Jörn Friedrich Dreyer f942e0cb85 Automated changelog update [skip ci] 2020-07-29 15:22:56 +00:00
Jörn Friedrich Dreyer 16ae852a59 Merge pull request #25 from butonic/more-groups-endpoints
implement more group management endpoints
2020-07-29 17:17:44 +02:00
Jörn Friedrich Dreyer a21ff4592b implement more group management endpoints
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-29 16:26:02 +02:00
Jörn Friedrich Dreyer c1be83037a Automated changelog update [skip ci] 2020-07-29 13:34:25 +00:00
Jörn Friedrich Dreyer 2e49febb6c add settings and ocs group routes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-29 15:29:35 +02:00
Alex Unger 69c4148658 Merge pull request #24 from butonic/provisinging-api-fixes 2020-07-29 15:01:21 +02:00
Jörn Friedrich Dreyer 34c6b854a9 fix staticcheck
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-29 14:47:27 +02:00
Jörn Friedrich Dreyer 4c0adfd68d fake empty groups
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-29 14:42:10 +02:00
Jörn Friedrich Dreyer ee8195cd5f initial user and group listing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-29 12:14:44 +02:00
David Christofas 523fad23ed Automated changelog update [skip ci] 2020-07-29 09:20:30 +00:00
Jörn Friedrich Dreyer cdde45290a implement delete, better return codes, correct result payload
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-29 11:19:29 +02:00
David Christofas 68d626cbe6 Merge pull request #38 from owncloud/serve-metrics
add metrics endpoint
2020-07-29 11:15:37 +02:00
David Christofas 71f31b4354 add metrics endpoint
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-29 11:02:03 +02:00
Jörn Friedrich Dreyer 82923da77e Automated changelog update [skip ci] 2020-07-29 07:22:03 +00:00
Jörn Friedrich Dreyer e065c1848e Merge pull request #70 from owncloud/fix/update
Fixes Update account return value
2020-07-29 09:10:17 +02:00
Benedikt Kulmann 38d4dcf093 Automated changelog update [skip ci] 2020-07-28 19:02:25 +00:00
Benedikt Kulmann ac164bed70 Merge pull request #80 from owncloud/user-provisioning-route
User provisioning route
2020-07-28 20:57:21 +02:00
Benedikt Kulmann b65846ff8e Changelog 2020-07-28 17:36:19 +02:00
Benedikt Kulmann 3a83f3bb4d Route user provisioning api to ocis-ocs 2020-07-28 17:34:06 +02:00
Jörn Friedrich Dreyer 8a2cbd98a7 Automated changelog update [skip ci] 2020-07-28 15:11:53 +00:00
Jörn Friedrich Dreyer fd2bb283fe Merge pull request #23 from owncloud/provisioning-api-users
User provisioning api
2020-07-28 17:06:30 +02:00
A.Unger b6ab351c0b make go vet happy 2020-07-28 16:58:17 +02:00
A.Unger bd576a02dc rename Feature -> Enhancement on changelog 2020-07-28 16:47:08 +02:00
A.Unger 8d5d81b171 added changelog 2020-07-28 16:37:13 +02:00
A.Unger 308d54c0e5 account enabled by default on AddUser 2020-07-28 16:35:50 +02:00
A.Unger 0d03cee6f2 add changelog 2020-07-28 16:29:45 +02:00
A.Unger c717105a49 override out with acc 2020-07-28 16:28:17 +02:00
A.Unger 41c0cf2b3f CRU(D) on user provisioning 2020-07-28 16:27:39 +02:00
A.Unger 225b206686 user_id => userid, no underscore 2020-07-28 15:14:29 +02:00
A.Unger f8b22fc619 WIP user get working 2020-07-28 15:13:41 +02:00
Jörn Friedrich Dreyer b4aca3c5fd initial user provisioning
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-28 14:38:48 +02:00
Phil Davis b05b139f0a Merge pull request #400 from owncloud/ocstorage_distributed_docs
Document additional restrictions for the oc storage
2020-07-28 18:02:16 +05:45
Juan Pablo Villafáñez c6434558c0 Document additional restrictions for the oc storage 2020-07-28 17:49:26 +05:45
Artur Neumann a736161ecd Merge pull request #409 from owncloud/bump-core-commit-20200728-2
[Tests-Only] Bump commit id for oC10APIAcceptanceTests
2020-07-28 17:43:17 +05:45
Phil Davis 065fa2a3c7 Bump commit id for oC10APIAcceptanceTests 2020-07-28 17:25:14 +05:45
Phil Davis 8c00ade17d Merge pull request #405 from owncloud/doc-ci-test
[docs] Add docs about running tests in CI
2020-07-28 17:23:56 +05:45
Dipak Acharya 6fcac37822 [docs] Add docs about running tests in CI 2020-07-28 17:07:50 +05:45
Phil Davis 9ac02a3dfc Merge pull request #406 from owncloud/bump-core-commit-20200728
[Tests-Only] Bump commit id for apiTests
2020-07-28 15:18:53 +05:45
Phil Davis 1b9b945071 Bump commit id for apiTests 2020-07-28 15:01:46 +05:45
Jörn Friedrich Dreyer f5cdb804c1 Automated changelog update [skip ci] 2020-07-28 08:56:33 +00:00
Jörn Friedrich Dreyer 8de1129e77 update reva to v0.1.1-0.20200728071211-c948977dd3a0 (#407)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-28 10:40:33 +02:00
Lukas Hirt cef578008a Merge pull request #420 from owncloud/building-docs 2020-07-28 09:55:40 +02:00
Lukas Hirt 872161b86f Merge branch 'master' into building-docs 2020-07-28 09:06:39 +02:00
Benedikt Kulmann d0d85fe67a Automated changelog update [skip ci] 2020-07-27 20:13:41 +00:00
Benedikt Kulmann e09b1f3b14 Merge pull request #79 from butonic/enable-new-accounts
enable new accounts
2020-07-27 22:08:34 +02:00
Jörn Friedrich Dreyer 6816703df4 Automated changelog update [skip ci] 2020-07-27 19:52:15 +00:00
Jörn Friedrich Dreyer f55894e42d Merge pull request #69 from owncloud/accounts-cli
Accounts cli
2020-07-27 21:40:36 +02:00
Jörn Friedrich Dreyer 72d1915dd5 Merge pull request #421 from butonic/add-public-upload-flow-docs
Add public upload flow to docs
2020-07-27 21:31:27 +02:00
Jörn Friedrich Dreyer 98927e2070 enable new accounts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-27 21:04:48 +02:00
Jörn Friedrich Dreyer 694fe677aa Add cli-subbcomands to mange users
ocis-accounts [list|delete|update|add|inspect]

Implements UpdateMask for the update request. Changed server-handler accordingly.
The commands use service-discovery to discover the backend.
2020-07-27 18:43:59 +02:00
Jörn Friedrich Dreyer b864a22a99 Add public upload flow to docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-27 14:32:24 +02:00
Jörn Friedrich Dreyer cd3009a1c0 Automated changelog update [skip ci] 2020-07-27 12:02:38 +00:00
Jörn Friedrich Dreyer 5e5ae356df split LDAP filters (#399)
* split LDAP filters

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use uid attribute for testing

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-27 13:47:39 +02:00
Alex Unger c01ce16277 Automated changelog update [skip ci] 2020-07-27 09:37:06 +00:00
Alex Unger adb8689f6d Merge pull request #29 from butonic/fix-int-queries 2020-07-27 11:31:51 +02:00
Jörn Friedrich Dreyer 692cf503cc validate input and return proper ldap result codes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-27 11:24:21 +02:00
Lukas Hirt 65baac45d0 Add docs how to work with hugo 2020-07-27 10:43:34 +02:00
Alex Unger 706a465a07 Automated changelog update [skip ci] 2020-07-27 08:06:53 +00:00
Alex Unger 3f536adc1b Merge pull request #7 from owncloud/remove-code-copypasta 2020-07-27 10:01:58 +02:00
Benedikt Kulmann 229e5e01d7 Automated changelog update [skip ci] 2020-07-27 07:33:02 +00:00
Benedikt Kulmann 4586397a81 Merge pull request #68 from butonic/fix-int-queries
fix int parsing
2020-07-27 09:19:59 +02:00
Jörn Friedrich Dreyer fbaa7e08de use NewNumericRangeInclusiveQuery for numeric literals
Some LDAP properties like `uidnumber` and `gidnumber` are numeric. When an OS tries to look up a user it will not only try to lookup the user by username, but also by the `uidnumber`: `(&(objectclass=posixAccount)(uidnumber=20000))`. The accounts backend for glauth was sending that as a string query `uid_number eq '20000'` and has been changed to send it as `uid_number eq 20000`. The removed quotes allow the parser in ocis-accounts to identify the numeric literal and use the NewNumericRangeInclusiveQuery instead of a TermQuery.

Related:
https://github.com/owncloud/ocis-glauth/issues/28
https://github.com/owncloud/ocis-glauth/pull/29

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-27 09:00:15 +02:00
Jörn Friedrich Dreyer ec1b45cc38 query numeric attribute values without quotes
Some LDAP properties like `uidnumber` and `gidnumber` are numeric. When an OS tries to look up a user it will not only try to lookup the user by username, but also by the `uidnumber`: `(&(objectclass=posixAccount)(uidnumber=20000))`. The accounts backend for glauth was sending that as a string query `uid_number eq '20000'` in the ListAccounts query. This PR changes that to `uid_number eq 20000`. The removed quotes allow the parser in ocis-accounts to identify the numeric literal.

Related:
- https://github.com/owncloud/ocis-accounts/pull/68
- https://github.com/owncloud/ocis-glauth/issues/28

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-24 21:09:19 +02:00
Phil Davis 8fc1f44305 Merge pull request #415 from owncloud/update-phoenix-acceptance-commit-id-20200723
[Tests-Only] Update phoenix acceptance test commit id
2020-07-24 21:58:42 +05:45
Phil Davis 3bb27825ac [Tests-Only] Update phoenix acceptance test commit id 2020-07-24 21:30:01 +05:45
Benedikt Kulmann c5b4e2e70a go mod tidy 2020-07-24 16:25:03 +02:00
Benedikt Kulmann 0a47635e7b Add changelog 2020-07-24 16:24:15 +02:00
Benedikt Kulmann d02a8e167c Remove code that doesn't belong to this service 2020-07-24 16:21:48 +02:00
Benedikt Kulmann 30d77da6df Automated changelog update [skip ci] 2020-07-24 14:17:10 +00:00
Benedikt Kulmann 7a73660ef4 Merge pull request #74 from owncloud/default-hide-searchbar
Default hide searchbar
2020-07-24 16:11:46 +02:00
Benedikt Kulmann 372cf88a4f Make linter happy 2020-07-24 16:04:11 +02:00
Benedikt Kulmann d62c05b4c0 Add changelog item 2020-07-24 15:17:48 +02:00
Benedikt Kulmann 5fc55ad518 Hide search bar for built in phoenix config
Since file search is not supported in ocis yet, we made a PR to phoenix
to hide the searchbar when the respective config option is set to true.

As we're using a builtin config, we need to provide that by default.
2020-07-24 15:12:46 +02:00
Jörn Friedrich Dreyer 36cbeea297 Automated changelog update [skip ci] 2020-07-24 12:04:59 +00:00
Jörn Friedrich Dreyer c13e48465c Merge pull request #25 from owncloud/release-0.5.0
Prepare release 0.5.0
2020-07-24 13:59:09 +02:00
Benedikt Kulmann ef92a0b3ff Automated changelog update [skip ci] 2020-07-24 11:53:18 +00:00
Benedikt Kulmann 3c0e90f50a Merge pull request #390 from owncloud/fix-doc-typos
Fix doc typos
2020-07-24 13:36:25 +02:00
Benedikt Kulmann 9548008e9c Include #27 for the release 2020-07-24 13:34:34 +02:00
Benedikt Kulmann 0121990962 Also include PR#26 for the release 2020-07-24 13:33:07 +02:00
Benedikt Kulmann d971ae42f5 Prepare release 0.5.0 2020-07-24 13:33:07 +02:00
Jörn Friedrich Dreyer 092e8cdc34 Automated changelog update [skip ci] 2020-07-24 11:25:34 +00:00
Benedikt Kulmann 79068fe85f Fix one more wording issue 2020-07-24 13:19:57 +02:00
Benedikt Kulmann 71647fdf1e Add changelog 2020-07-24 13:19:56 +02:00
Benedikt Kulmann d8224d5eda Fix typos in storage doc 2020-07-24 13:19:56 +02:00
Jörn Friedrich Dreyer 89b4378632 Merge pull request #27 from butonic/return-ownclouduuid
handle ownCloudUUID attribute
2020-07-24 13:19:35 +02:00
Artur Neumann 4471778363 Merge pull request #399 from owncloud/doc-ci-test
[docs] Add docs about running tests in CI
2020-07-24 15:00:43 +05:45
Jörn Friedrich Dreyer 409f497954 handle ownCloudUUID attribute
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-24 10:39:05 +02:00
Dipak Acharya 42340296c1 [docs] Add docs about running tests in CI 2020-07-24 10:29:19 +05:45
Benedikt Kulmann ec6fc5ad32 Automated changelog update [skip ci] 2020-07-23 14:14:34 +00:00
Benedikt Kulmann cdafd979f0 Merge pull request #26 from butonic/ignore-case-for-objectclass-value
Bugfix: ignore case when comparing objectclass values
2020-07-23 16:08:46 +02:00
Benedikt Kulmann 40a23cd2b3 Automated changelog update [skip ci] 2020-07-23 11:37:16 +00:00
Jörn Friedrich Dreyer fd5e371ee1 Bugfix: ignore case when comparing objectclass values
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-23 13:32:15 +02:00
Benedikt Kulmann 3829df495c Automated changelog update [skip ci] 2020-07-23 11:31:18 +00:00
Benedikt Kulmann 0d5eded8d0 Automated changelog update [skip ci] 2020-07-23 11:31:03 +00:00
Jörn Friedrich Dreyer af2fccd679 Automated changelog update [skip ci] 2020-07-23 11:30:28 +00:00
Benedikt Kulmann bc2dc15ff4 Automated changelog update [skip ci] 2020-07-23 11:29:50 +00:00
Benedikt Kulmann e8f0d5f80f Prepare release 0.1.1 (#23) 2020-07-23 13:25:34 +02:00
Benedikt Kulmann 5a460bcdc3 Prepare release 0.3.2 (#72) 2020-07-23 13:25:13 +02:00
Jörn Friedrich Dreyer 9f9b774d83 Merge pull request #6 from owncloud/release-0.1.0
Prepare release 0.1.0
2020-07-23 13:24:52 +02:00
Jörn Friedrich Dreyer 54be6f4c2c Merge pull request #65 from butonic/fix-password-related-segfault
fix password related segfaults
2020-07-23 13:23:43 +02:00
Benedikt Kulmann 148bc66350 Prepare release 0.5.0 2020-07-23 13:23:03 +02:00
Jörn Friedrich Dreyer 5ebcf1b0fe Automated changelog update [skip ci] 2020-07-23 11:21:53 +00:00
Benedikt Kulmann ee3f1978b0 Prepare release 0.11.0 (#395) 2020-07-23 13:21:33 +02:00
Jörn Friedrich Dreyer 80ab43ea3d Merge pull request #21 from owncloud/release-0.1.0
Prepare release 0.1.0
2020-07-23 13:16:59 +02:00
Jörn Friedrich Dreyer 65e3df2b1e tighten the screws
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-23 12:52:41 +02:00
Benedikt Kulmann 56dc31d166 Automated changelog update [skip ci] 2020-07-23 10:32:09 +00:00
Benedikt Kulmann 47f2d7d037 Prepare release 0.1.0 2020-07-23 12:08:29 +02:00
Benedikt Kulmann c0faeb54ec Prepare release 0.1.0 2020-07-23 11:56:03 +02:00
Benedikt Kulmann 9789772d19 Merge pull request #416 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 11:52:42 +02:00
Benedikt Kulmann c0f629bdbd Automated changelog update [skip ci] 2020-07-23 09:44:42 +00:00
Benedikt Kulmann 7dfc358ba2 Merge pull request #24 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 11:39:12 +02:00
Jörn Friedrich Dreyer de01b8773b update TestCreateAccountInvalidUserName
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-23 11:38:43 +02:00
Jörn Friedrich Dreyer 02610f3b87 Automated changelog update [skip ci] 2020-07-23 09:38:18 +00:00
Benedikt Kulmann e17eaa2237 Automated changelog update [skip ci] 2020-07-23 09:32:19 +00:00
Jörn Friedrich Dreyer a601741a52 Merge pull request #35 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 11:31:51 +02:00
Jörn Friedrich Dreyer 85a7df32ea Automated changelog update [skip ci] 2020-07-23 09:30:06 +00:00
Benedikt Kulmann fb314a6363 Automated changelog update [skip ci] 2020-07-23 09:27:34 +00:00
Benedikt Kulmann a5c2483113 Use alpine:latest instead of alpine:edge in docker builds (#32) 2020-07-23 11:25:33 +02:00
Benedikt Kulmann 8a0a5c3c7c Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 11:25:01 +02:00
Jörn Friedrich Dreyer 91d8dcfc8b Merge pull request #7 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 11:24:36 +02:00
Benedikt Kulmann 249ab78133 Use alpine:latest instead of alpine:edge in docker builds (#22) 2020-07-23 11:21:43 +02:00
Benedikt Kulmann 2e939dc1d6 Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 11:21:32 +02:00
Jörn Friedrich Dreyer 614ddeca3a Merge pull request #39 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 11:20:43 +02:00
Jörn Friedrich Dreyer bf3581c914 fix password related segfaults
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-23 11:17:58 +02:00
Benedikt Kulmann 5b915734b1 Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 11:12:58 +02:00
Benedikt Kulmann 7a8442b75d Automated changelog update [skip ci] 2020-07-23 09:01:55 +00:00
Benedikt Kulmann ce2d766de6 Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 11:00:55 +02:00
Jörn Friedrich Dreyer 8f290aa0f0 Automated changelog update [skip ci] 2020-07-23 09:00:04 +00:00
Jörn Friedrich Dreyer 81e2ee7928 Merge pull request #5 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 10:53:36 +02:00
Benedikt Kulmann 8b74e1199f Automated changelog update [skip ci] 2020-07-23 08:53:14 +00:00
Jörn Friedrich Dreyer 42b8a7add5 Automated changelog update [skip ci] 2020-07-23 08:51:11 +00:00
Jörn Friedrich Dreyer 4f137516c7 Automated changelog update [skip ci] 2020-07-23 08:50:03 +00:00
Benedikt Kulmann 1e15ad1035 Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 10:47:03 +02:00
Benedikt Kulmann daa65c357b Use alpine:latest instead of alpine:edge in docker builds (#71) 2020-07-23 10:47:03 +02:00
Benedikt Kulmann e4ff8f693f Use alpine:latest instead of alpine:edge (#393)
* Use alpine:latest instead of alpine:edge

* Add changelog
2020-07-23 10:44:45 +02:00
Jörn Friedrich Dreyer 8ef40f03de Merge pull request #73 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 10:43:44 +02:00
Jörn Friedrich Dreyer 5b507b9968 Automated changelog update [skip ci] 2020-07-23 08:41:38 +00:00
Benedikt Kulmann 6042907de0 Automated changelog update [skip ci] 2020-07-23 08:39:17 +00:00
Jörn Friedrich Dreyer e0d8bf02f9 Merge pull request #64 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 10:38:43 +02:00
Jörn Friedrich Dreyer 932fc7a12f Merge pull request #20 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 10:36:08 +02:00
Benedikt Kulmann 7a5cc3a125 Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 10:33:55 +02:00
Benedikt Kulmann f8a7020c93 Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 10:22:18 +02:00
Benedikt Kulmann 2d76f1de04 Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 10:15:56 +02:00
Benedikt Kulmann 7c26a25176 Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 10:13:44 +02:00
Benedikt Kulmann aa107eaa1a Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 10:00:30 +02:00
Jörn Friedrich Dreyer 02ec13f9a7 prevent segfault in create home middleware
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-23 07:57:47 +02:00
Jörn Friedrich Dreyer 7ee05765b5 Merge pull request #75 from butonic/signing-key-middleware
Support signed URLs
arm build failure unrelated
2020-07-22 17:08:07 +02:00
Jörn Friedrich Dreyer 8627042603 update reva for url signing (#392)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
arm build failures unrelated
2020-07-22 17:06:15 +02:00
Jörn Friedrich Dreyer 2f3332a55b Merge pull request #18 from owncloud/signing-key
arm failures unrelated
2020-07-22 15:47:09 +02:00
Jörn Friedrich Dreyer 8787fbcea1 check response error code
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 15:35:07 +02:00
Phil Davis 3781a22a4e [Tests-Only] Update owncloud/core commit id for oC10APIAcceptanceTests (#391)
arm failures unrelated
2020-07-22 15:18:44 +02:00
Benedikt Kulmann a4a31db918 Merge pull request #38 from owncloud/fix/defensive-code
Defensive Code on Type Assertion
2020-07-22 14:49:53 +02:00
Jörn Friedrich Dreyer cd1fe59951 more detailed storage aspects (#384)
* more detailed storage aspects

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* detail owncloud driver

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* link issue

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix typos

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 13:14:41 +02:00
Jörn Friedrich Dreyer 8fa9c07ae9 Merge pull request #2 from butonic/index-fixes
index fixes
2020-07-22 13:10:21 +02:00
Jörn Friedrich Dreyer c550a2e4d8 fix staticchek, remove a few debug logs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 12:53:22 +02:00
Jörn Friedrich Dreyer 8994baad29 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 12:53:22 +02:00
Jörn Friedrich Dreyer b9e05e9b47 use same signing parameters as oc10
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 12:53:22 +02:00
Jörn Friedrich Dreyer cf448f0124 initial signing-key middleware
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 12:53:22 +02:00
Jörn Friedrich Dreyer 1d76d2c7a9 remove spurious line
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 12:00:37 +02:00
Jörn Friedrich Dreyer 69fd8d8f88 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 11:57:41 +02:00
Jörn Friedrich Dreyer 93d044d174 stick to username
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-22 11:42:00 +02:00
A.Unger ea65b50000 unit test getFailsafeIdentifier 2020-07-22 10:22:21 +02:00
A.Unger 2c901cf162 refactor 2020-07-22 09:36:38 +02:00
A.Unger ca9e59c8b4 add changelog 2020-07-22 09:29:10 +02:00
A.Unger 3704bb5be3 add defensive code on type assertion 2020-07-22 09:24:42 +02:00
Jörn Friedrich Dreyer 99e26778be reindex all on startup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-21 14:57:03 +02:00
Artur Neumann 462f218456 Merge pull request #398 from owncloud/use-built-in-phoenix
[Tests-only] use built in phoenix to run ui tests
2020-07-21 15:54:54 +05:45
Dipak Acharya 7d468c0541 [Tests-only] use built in phoenix to run ui tests 2020-07-21 11:33:33 +05:45
Artur Neumann 7af05fb191 Merge pull request #32 from owncloud/grpc-tests
[Tests-Only] Add tests for gRPC
2020-07-21 09:40:23 +05:45
Dipak Acharya 3152c52845 [Tests-Only] Add gRPC tests for user and group related actions 2020-07-21 09:06:49 +05:45
Ilja Neumann 79b890f6b0 Automated changelog update [skip ci] 2020-07-20 13:32:54 +00:00
Ilja Neumann 06f4e2d296 Add option to disable TLS
Can be used to disable TLS when the ocis-proxy is behind an
TLS-Terminating reverse proxy.

env PROXY_TLS=false or cli --tls=false
2020-07-20 15:27:35 +02:00
Jörn Friedrich Dreyer 40906fe57a read signing key from ocis-store
- adds an access token middleware to read the x-access-token header,
  extract the reva user from it and store it in the context
- implments the ocs/v[12].php/cloud/user/signing-key endpoint
  - reads or creates signing key in ocis-store

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-17 23:03:37 +02:00
Lukas Hirt e3980d3874 Automated changelog update [skip ci] 2020-07-17 10:18:32 +00:00
Lukas Hirt 7cdf28553d Merge pull request #72 from owncloud/release-0.10.0 2020-07-17 12:13:18 +02:00
Lukas Hirt e1e272096d Release 0.10.0 2020-07-17 12:07:40 +02:00
Jörn Friedrich Dreyer 743bfc5a4d Merge pull request #384 from owncloud/feature/ocis-micro-store
Add Micro Store
2020-07-17 08:25:09 +02:00
Jörn Friedrich Dreyer b869dbb277 update index on delete, move id generation to function
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-16 17:35:22 +02:00
Jörn Friedrich Dreyer 4f5989a781 ensure lowercase metadata
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-16 17:35:22 +02:00
Jörn Friedrich Dreyer 5078781500 signing key implementation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-16 17:27:19 +02:00
Jörn Friedrich Dreyer f9670592fb Automated changelog update [skip ci] 2020-07-16 14:03:51 +00:00
Jörn Friedrich Dreyer a739d64da4 Merge pull request #1 from refs/feature/protobuf-base-implementation
Basic KV Store Service
2020-07-16 15:57:50 +02:00
A.Unger a5fc999526 make golint happy: comment exported functions 2020-07-16 10:40:37 +02:00
Alex Unger e2082c1779 Merge pull request #34 from owncloud/use-phoenix-server-url 2020-07-16 09:25:00 +02:00
Benedikt Kulmann a0c9ff863d Automated changelog update [skip ci] 2020-07-16 06:03:09 +00:00
Benedikt Kulmann 4fd5ba99bc Merge pull request #60 from owncloud/fix-account-group-id
Fix the account and group id mismatch in delete group method
2020-07-16 07:50:45 +02:00
Dipak Acharya 2bd4322123 Add changelog item 2020-07-16 10:39:24 +05:45
Dipak Acharya 43effc0cba Fix the account and group id mismatch in delete group method 2020-07-16 10:32:36 +05:45
A.Unger 89cad3330a first bleve attempt 2020-07-15 17:18:12 +02:00
A.Unger 117b376509 fix linter 2020-07-15 15:31:27 +02:00
A.Unger 57ac6b063a basic KV store 2020-07-15 15:09:06 +02:00
Michael Barz ecd19bfd32 Add extension boilerplate 2020-07-15 13:00:30 +02:00
Michael Barz a57983ac33 root commit 2020-07-15 12:46:03 +02:00
Jörn Friedrich Dreyer 9e35655504 Automated changelog update [skip ci] 2020-07-15 10:11:43 +00:00
Jörn Friedrich Dreyer 788e6cc6bf Merge pull request #59 from owncloud/fix-entity-indexing
Refactor indexing of new entities into own function
2020-07-15 12:01:32 +02:00
Benedikt Kulmann 0fba802f57 Add changelog item 2020-07-15 08:31:35 +02:00
Benedikt Kulmann 00ea1f186a Refactor indexing of new entities into own function
This also fixes that on Create and Update calls the index was not
updated properly.
2020-07-15 08:25:27 +02:00
Jörn Friedrich Dreyer 06867713a2 Automated changelog update [skip ci] 2020-07-14 13:42:25 +00:00
Jörn Friedrich Dreyer 71aa69dcac Merge pull request #17 from owncloud/initial-ocs-routes
Initial OCS routes, version & format handling
2020-07-14 15:36:49 +02:00
Jörn Friedrich Dreyer 7aae61dca7 Initial OCS routes, version & format handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-14 14:15:53 +02:00
A.Unger fb74cd49b5 use go-micro store 2020-07-14 13:47:33 +02:00
Alex Unger 0dcc8373bc Automated changelog update [skip ci] 2020-07-13 14:29:45 +00:00
Alex Unger 57d1b53eed Merge pull request #69 from owncloud/fix/create-home-init 2020-07-13 16:24:13 +02:00
Alex Unger 8372c454ff Automated changelog update [skip ci] 2020-07-13 14:16:23 +00:00
Alex Unger 9ebe17a8cf Merge pull request #21 from owncloud/change_error_on_missing_thumbnail
change status to not found on missing thumbnail
2020-07-13 16:06:48 +02:00
A.Unger 193aab0187 update proxy-examples 2020-07-13 16:02:31 +02:00
Benedikt Kulmann 5662b8e506 Update changelog/unreleased/fix-createhome-middleware.md 2020-07-13 15:39:17 +02:00
Artur Neumann cb719cf892 Merge pull request #379 from owncloud/bump-phoenix-test-commit
[Tests-Only] Bump phoenix test commit id
2020-07-13 19:13:10 +05:45
A.Unger 36bbe85d9c add changelog 2020-07-13 15:22:07 +02:00
A.Unger 3d8bdca07a provide token configuration from config 2020-07-13 14:59:35 +02:00
Vincent Petry 6179443db8 Merge pull request #71 from owncloud/release-docs
Add release docs
2020-07-13 14:12:44 +02:00
Phil Davis a5d4e7299b Bump phoenix test commit id 2020-07-13 17:46:03 +05:45
Vincent Petry f6a5aa9ed8 Add release docs 2020-07-13 13:50:20 +02:00
Jörn Friedrich Dreyer c93dfbf091 Automated changelog update [skip ci] 2020-07-13 11:19:53 +00:00
Jörn Friedrich Dreyer bfe850a7da Merge pull request #16 from owncloud/update-boilerplate
update boilerplate to current standards
2020-07-13 13:15:20 +02:00
Jörn Friedrich Dreyer b3bb083187 this is still ocs with debug @ 9114 2020-07-13 12:58:07 +02:00
Jörn Friedrich Dreyer 1a09c41b49 reva->ocs 2020-07-13 12:53:42 +02:00
Michael Barz e7084b0b7b update boilerplate to current standards 2020-07-13 12:29:51 +02:00
David Christofas 17986ac2d9 Automated changelog update [skip ci] 2020-07-13 10:27:50 +00:00
David Christofas d6d062873b Merge pull request #23 from owncloud/implement-group-queries
Implement group queries
2020-07-13 12:22:53 +02:00
David Christofas 70420fc8fc implement group queries
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-13 12:09:49 +02:00
Vincent Petry 23694c627a Automated changelog update [skip ci] 2020-07-13 09:39:05 +00:00
Vincent Petry 0fe0286623 Merge pull request #371 from owncloud/bump-core-commit-20200710
Update reva to 20200710
2020-07-13 11:24:22 +02:00
Phil Davis f2a9a89b5e Update reva to 20200710 2020-07-13 12:37:44 +05:45
Jörn Friedrich Dreyer 68550e521d Automated changelog update [skip ci] 2020-07-10 21:28:32 +00:00
Jörn Friedrich Dreyer c7aa77b290 Merge pull request #66 from butonic/add-oidc-config-flags
Change: Add OIDC config flags
2020-07-10 23:23:48 +02:00
Jörn Friedrich Dreyer 83b2b3c48c Change: Add OIDC config flags
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 20:08:35 +02:00
David Christofas 8c7964e811 change status to not found on missing thumbnail
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-10 18:31:29 +02:00
David Christofas 98b583f663 Automated changelog update [skip ci] 2020-07-10 16:13:54 +00:00
David Christofas ef2d06c0b9 prepare relase 0.2.0
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-10 18:09:19 +02:00
David Christofas 1730e83876 Automated changelog update [skip ci] 2020-07-10 16:03:15 +00:00
David Christofas f28d972463 Merge pull request #33 from owncloud/use-micro-errors-api
use micros service error api
2020-07-10 17:58:01 +02:00
David Christofas 6685db3fd8 use micros service error api
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-10 17:49:49 +02:00
Vincent Petry f448ad5554 Automated changelog update [skip ci] 2020-07-10 15:41:26 +00:00
Michael Barz f43b073eff Merge pull request #34 from owncloud/fix-sonar
fix sonar
2020-07-10 17:29:38 +02:00
David Christofas fa35a81beb Merge pull request #56 from owncloud/tweak-sonar-config
tweak sonar config
2020-07-10 17:27:24 +02:00
Michael Barz 3a05d580ae fix sonar
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2020-07-10 17:19:02 +02:00
Jörn Friedrich Dreyer 9cdff8c8b7 Automated changelog update [skip ci] 2020-07-10 15:13:18 +00:00
Michael Barz 7b18c71376 Merge pull request #32 from owncloud/add-sonar-excludes
add exclude patterns for sonarcloud
2020-07-10 17:11:59 +02:00
David Christofas 277e092367 tweak sonar config
only set pullrequest config if the build was triggered by a pull request

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-10 17:10:29 +02:00
Jörn Friedrich Dreyer fae244da7a Merge pull request #65 from butonic/add-accounts-ui-routes
Add Accounts UI routes
2020-07-10 17:06:57 +02:00
Michael Barz 6c397d9c17 add exclude patterns for sonarcloud
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2020-07-10 17:05:07 +02:00
Vincent Petry 27b7fec1ed Merge pull request #376 from owncloud/update-extensions-20200710
Update extensions 2020-07-10
2020-07-10 17:04:45 +02:00
Jörn Friedrich Dreyer 453fc376de also update example config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 17:02:01 +02:00
Jörn Friedrich Dreyer e41d993af9 Add Accounts UI routes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 17:02:01 +02:00
David Christofas 0521c416f4 Merge pull request #30 from owncloud/tweak-sonar-config
tweak sonar config
2020-07-10 16:58:13 +02:00
Ilja Neumann 3014f0dfe5 Automated changelog update [skip ci] 2020-07-10 14:53:22 +00:00
Michael Barz 7a0f3846bb read from env, PR id
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2020-07-10 16:51:04 +02:00
Ilja Neumann 94ea9ede89 Abort middleware execution if no token header is present 2020-07-10 16:48:29 +02:00
David Christofas 78ba2950d3 only send createhome requests if the account has been migrated
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-10 16:48:29 +02:00
David Christofas c9daeb52fa tweak sonar config
only set pullrequest config if the build was triggered by a pull request

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-10 16:37:46 +02:00
Jörn Friedrich Dreyer 04053b8e6e Automated changelog update [skip ci] 2020-07-10 14:34:59 +00:00
Jörn Friedrich Dreyer f27eea2363 Merge pull request #50 from butonic/initial-group-implementation
initial group api implementation
2020-07-10 16:31:13 +02:00
Jörn Friedrich Dreyer 7bc59dd25c Merge pull request #62 from butonic/return-groups
return groups
2020-07-10 16:29:42 +02:00
Vincent Petry 93c4b3e8a2 Update extensions 2020-07-10
- ocis-phoenix v0.9.0
- ocis-reva v0.10.0
2020-07-10 16:18:08 +02:00
Vincent Petry 35406e875d Automated changelog update [skip ci] 2020-07-10 14:09:20 +00:00
Vincent Petry 2381214602 Merge pull request #70 from owncloud/release-0.9.0
Prepare release 0.9.0 with updated assets
2020-07-10 16:03:38 +02:00
Jörn Friedrich Dreyer ed95005c6c use on_premises_sam_account_name property of accounts and groups
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:58:59 +02:00
Jörn Friedrich Dreyer 523f704034 document bleve type
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer b4f1a908a9 index with type
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 0f64397e79 update ui
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 9d63ca148a use on_premises_sam_account_name instead of preferred_name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 31f9cca78b satisfy staticcheck
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 379becff5b delete relationships
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer c8451c0436 generate default groups
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer eb140be50f update generated files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer ebaf39f0af address review
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 0d4e6a4a16 initial group api implementation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 0fba2186f6 Merge pull request #55 from owncloud/sonar-code-analyzer
add sonar analyzer
2020-07-10 15:50:10 +02:00
Vincent Petry 29507151a0 Prepare release 0.9.0 with updated assets 2020-07-10 15:42:51 +02:00
Vincent Petry fb68187798 Automated changelog update [skip ci] 2020-07-10 13:12:56 +00:00
Vincent Petry ad585bc6ff Merge pull request #369 from owncloud/release-0.10.0
Prepare 0.10.0 release
2020-07-10 15:01:32 +02:00
Vincent Petry 2aa47f9f74 Prepare 0.10.0 release 2020-07-10 14:34:23 +02:00
David Christofas c1dd1f78e5 add sonar analyzer
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-10 13:59:41 +02:00
David Christofas 2dc5a11484 Merge pull request #27 from owncloud/add-sonarcloud-badge
add sonarcloud code analyzer and badge
2020-07-10 13:13:51 +02:00
Michael Barz 9b3279eb27 Add sonarCloud Code Analyzer
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2020-07-10 12:45:06 +02:00
Phil Davis 76f879e857 Merge pull request #373 from owncloud/update-phoenix-tests-commit
[Tests-Only] Update phoenix tests commit
2020-07-10 16:03:04 +05:45
Phil Davis 7f853d6174 Update phoenix tests commit 2020-07-10 15:15:42 +05:45
Michael Barz 4346976d57 Automated changelog update [skip ci] 2020-07-10 07:07:50 +00:00
Michael Barz 474d9f7ba9 Merge pull request #367 from owncloud/bump-core-commit-20200710
[Tests-Only] Bump core commit for tests
2020-07-10 08:56:15 +02:00
Phil Davis f9fdb751cd Bump core commit for tests 2020-07-10 10:59:50 +05:45
Jörn Friedrich Dreyer 18fd953861 Automated changelog update [skip ci] 2020-07-09 14:45:43 +00:00
Jörn Friedrich Dreyer 99dc6b2b6f Merge pull request #64 from owncloud/feature-tracing
[Tracing]: Start root span on Proxy
2020-07-09 16:40:15 +02:00
A.Unger b85bd3b545 remove final punctuation 2020-07-09 14:48:41 +02:00
A.Unger ffd4e96bf0 add changelog 2020-07-09 14:38:50 +02:00
A.Unger 9ddf0d555b avoid setting a nil context 2020-07-09 14:29:42 +02:00
A.Unger 94adb97ac1 create root span on ocis-proxy 2020-07-09 14:15:20 +02:00
Vincent Petry 6330ef60ef Merge pull request #362 from owncloud/update-reva-20200709
Update reva to 20200709
2020-07-09 12:36:43 +02:00
Vincent Petry f2118fd6dd Automated changelog update [skip ci] 2020-07-09 10:28:47 +00:00
Vincent Petry 3c2766defa Update reva to 20200709
Also update the test commit
2020-07-09 12:12:45 +02:00
Vincent Petry bd7479b6a8 Merge pull request #363 from butonic/add-datagateway-prefix
make frontend prefixes configurable
2020-07-09 12:12:33 +02:00
Jörn Friedrich Dreyer 5bd582484e add changelog, fix typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-09 11:17:53 +02:00
Jörn Friedrich Dreyer b75cfbf39e make frontend prefixes configurable
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-09 10:33:35 +02:00
Jörn Friedrich Dreyer 89f187c6fc Merge pull request #349 from butonic/add-compose
initial docker-compose.yml for developers
2020-07-08 22:31:32 +02:00
Jörn Friedrich Dreyer 56112b4893 update docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-08 20:56:18 +02:00
Jörn Friedrich Dreyer 56ef8499f1 use version 4.6.5 of the eos containers
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-08 20:56:18 +02:00
Jörn Friedrich Dreyer d09a101d2c use correct env var for the home-data service
use correct REVA_STORAGE_HOME_DATA_DRIVER env var for the reva-storage-home-data service
2020-07-08 20:56:18 +02:00
Felix Böhm db3e7639ff Update development.md 2020-07-08 20:56:18 +02:00
Felix Böhm 0222eef07a Create development.md 2020-07-08 20:56:18 +02:00
Jörn Friedrich Dreyer 1c1c5763b6 update config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-08 20:56:18 +02:00
Jörn Friedrich Dreyer 9553abff31 initial docker-compose.yml for developers
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-08 20:56:18 +02:00
David Christofas d8c538f720 refactor to make the code more readable
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-08 19:14:32 +02:00
Michael Barz 6588ec0e03 Merge pull request #369 from owncloud/update-remote-docs
add config for datagateway and silent redirect
2020-07-08 17:39:37 +02:00
Michael Barz 593de8e6be add config for datagateway and silent redirect 2020-07-08 17:00:28 +02:00
David Christofas 56ed1cc8f7 Automated changelog update [skip ci] 2020-07-08 12:27:17 +00:00
David Christofas 9d895f96e3 Merge pull request #53 from owncloud/add-error-message-to-responses
change grpc api errors
2020-07-08 14:15:28 +02:00
jasson99 fcd3fc29c1 Merge pull request #347 from owncloud/improveDocsMentionNewTags
Improve documentation to mention new skip tags
2020-07-08 17:31:42 +05:45
jasson99 83d2fe3daf docs improved 2020-07-08 17:10:24 +05:45
Jörn Friedrich Dreyer f4d6d46837 Automated changelog update [skip ci] 2020-07-08 11:13:09 +00:00
Jörn Friedrich Dreyer 616fe5eb17 Automated changelog update [skip ci] 2020-07-08 11:12:49 +00:00
Jörn Friedrich Dreyer 29c58ea81a add oidc-silent-redirect.html to allowed redirect uris (#70)
* add oidc-silent-redirect.html to allowed redirect uris

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-08 13:08:20 +02:00
Jörn Friedrich Dreyer 773e399e94 Merge pull request #69 from butonic/add-silentrefresh-middleware
add silent refresh middleware
2020-07-08 13:07:41 +02:00
David Christofas db7afb8872 change grpc api errors
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-08 11:37:17 +02:00
Artur Neumann 81ffcd400f Merge pull request #355 from owncloud/individual-it-patch-1
[skip-ci] add REVA_FRONTEND_URL & REVA_DATAGATEWAY_URL conf
2020-07-08 13:36:06 +05:45
Artur Neumann be2f4370a2 add REVA_FRONTEND_URL & REVA_DATAGATEWAY_URL conf 2020-07-08 12:37:12 +05:45
Artur Neumann b951e9e2de Merge pull request #346 from owncloud/phil-davis-patch-1
[Tests-Only] Use latest commit from core master
2020-07-08 11:05:39 +05:45
Phil Davis 18afaaaea7 Use latest commit from core master
when running acceptance tests.
2020-07-08 09:50:35 +05:45
Phil Davis f791b03b68 Merge pull request #368 from owncloud/bump-osixia-openldap
[Tests-Only] Use latest osixia/openldap in CI
2020-07-08 09:48:18 +05:45
Phil Davis 5016de4e57 Merge pull request #354 from owncloud/bump-osixia-openldap
[Tests-Only] Use latest osixia/openldap in CI
2020-07-08 09:40:58 +05:45
Phil Davis e2647e6ecb Use latest osixia/openldap in CI 2020-07-08 09:11:10 +05:45
Phil Davis cb81a50890 Use latest osixia/openldap in CI 2020-07-08 09:10:29 +05:45
Jörn Friedrich Dreyer b63fb4e4e9 fix typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-07 14:22:56 +02:00
Jörn Friedrich Dreyer 45f81da6a3 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-07 14:13:28 +02:00
Jörn Friedrich Dreyer 26a1b6f98b add silent refresh middleware
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-07 14:08:18 +02:00
Artur Neumann bec0844955 Merge pull request #52 from owncloud/acceptanceTestsInfrastructure
[Tests-Only] Add tests infrastructure and tests for ocis-accounts
2020-07-06 17:19:17 +05:45
jasson99 f924285cf8 Add tests infrastructure and tests for ocis-accounts 2020-07-06 16:53:22 +05:45
Phil Davis 787c2443dd Merge pull request #364 from owncloud/add-doc-testing
[Docs] Add skeleton dir path env variable in test run
2020-07-06 13:01:49 +05:45
Dipak Acharya e8308450c2 [Docs] Add skeleton dir path env variable in test run 2020-07-06 11:58:35 +05:45
Dipak Acharya 3659c8e5bf Merge pull request #363 from owncloud/add-doc-testing
[Docs] Add doc for cloning testing app for running tests
2020-07-06 11:11:29 +05:45
Dipak Acharya 8a06a852fd [Docs] Add doc for cloning testing app for running tests 2020-07-06 10:34:16 +05:45
Vincent Petry 1884aef218 Automated changelog update [skip ci] 2020-07-03 16:05:15 +00:00
Vincent Petry 09248ede40 Merge pull request #341 from owncloud/update-reva-20200703
Update reva 20200703
2020-07-03 17:45:34 +02:00
Vincent Petry a4e3a17ce7 Adjust drone master commit
Brings in new tests for OCS Share API public links
2020-07-03 17:20:11 +02:00
Vincent Petry 0e7a6f99f6 Update reva to v0.1.1-0.20200701152626-2f6cc60e2f66
With fixes of public link editing on API level
2020-07-03 17:19:40 +02:00
Michael Barz 46ef9bb496 Automated changelog update [skip ci] 2020-07-02 15:34:14 +00:00
Michael Barz 2f9902abcb Merge pull request #357 from owncloud/update-reva-0.9.0
update extensions 2020-07-01
2020-07-02 16:58:16 +02:00
Michael Barz 2933b52a59 update extensions 2020-07-01 2020-07-02 16:12:56 +02:00
Jörn Friedrich Dreyer b2d891c751 Automated changelog update [skip ci] 2020-07-02 11:30:09 +00:00
Jörn Friedrich Dreyer b4f967cf6a Merge pull request #51 from owncloud/user-list-ui
User list ui
2020-07-02 13:20:41 +02:00
Benedikt Kulmann d6c5127761 Bind to 0.0.0.0 instead of localhost 2020-07-02 12:55:41 +02:00
Michael Barz 0f4b06f48d Automated changelog update [skip ci] 2020-07-02 09:50:25 +00:00
Michael Barz e6c2b46012 add changelog for new config options 2020-07-02 11:37:48 +02:00
Benedikt Kulmann 6084aa074f Add changelog item 2020-07-02 09:06:49 +02:00
Benedikt Kulmann f7a1128d8a Check in updated embed.go 2020-07-02 08:14:04 +02:00
Benedikt Kulmann 7faf5ca52f Fix server naming 2020-07-02 08:13:24 +02:00
Benedikt Kulmann cabfb96fc5 Declare ODS as peer dependencies
It is already loaded in ocis-web, thus kind of a peer dependency. Still
not very strict, because this project is not used as lib within ocis-web
but is only served together at runtime.
2020-07-02 08:11:48 +02:00
Benedikt Kulmann 6f57e42859 Use server URL from ocis-web config.json 2020-07-02 08:05:47 +02:00
Jörn Friedrich Dreyer ac26af32cf add new config options for the http client (#330)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-01 23:08:17 +02:00
Jörn Friedrich Dreyer f51aa12d4c Merge pull request #355 from owncloud/feature/runtime-environment
Set process environment
2020-07-01 22:28:07 +02:00
Michael Barz a6346a1a98 Automated changelog update [skip ci] 2020-07-01 19:00:51 +00:00
Michael Barz 67116a6124 prepare 0.9.0 release 2020-07-01 20:46:08 +02:00
Vincent Petry 5d30c53a6d Automated changelog update [skip ci] 2020-07-01 18:38:06 +00:00
Vincent PetryandMichael Barz 50a39c0ba8 Update reva to 20200701 (#328)
* Update reva to v0.1.1-0.20200701152626-2f6cc60e2f66

* update the api tests to core commit a3cac3dad60348fc962d1d8743b202bc5f79596b

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2020-07-01 20:26:34 +02:00
Alex Unger 576c4a70cd pass current environment down to the process 2020-07-01 19:39:51 +02:00
Benedikt Kulmann f32d8b58a5 Merge pull request #323 from butonic/allow-datagateway-transfers-to-take-24h
Increase transfer token life time to 24h
2020-07-01 16:50:33 +02:00
Benedikt Kulmann e3e202cd8b Fix config default value for token expiry 2020-07-01 16:30:17 +02:00
Benedikt Kulmann e38f0a491c Work with pointers instead of copying sync.Mutex 2020-07-01 15:42:30 +02:00
Phil Davis fe470629f3 Merge pull request #348 from owncloud/split-tests
[CI] Split phoenix tests into multiple pipelines
2020-07-01 17:41:04 +05:45
Dipak Acharya caebff9d0f [CI] Split phoenix tests into multiple pipelines 2020-07-01 16:56:49 +05:45
Benedikt Kulmann 7bbbcc126f Build js assets on drone 2020-07-01 13:04:24 +02:00
Benedikt Kulmann 2e102066db Build container has no yarn 2020-07-01 11:44:21 +02:00
Benedikt Kulmann fb3b6dcd5f Fix generate target in Makefile 2020-07-01 11:40:00 +02:00
Benedikt Kulmann 30a0742d2a Update flagset docs 2020-07-01 11:11:10 +02:00
Benedikt Kulmann 4e1d6b4557 Add fake imports to make fileb0x work 2020-07-01 11:05:34 +02:00
Benedikt Kulmann 8158999cd1 Ignore package.json and rollup.config.js on codacy 2020-07-01 11:05:34 +02:00
Benedikt Kulmann 58cb3da61f Add changelog entries 2020-07-01 11:05:34 +02:00
Benedikt Kulmann 5b3ef18903 Copy over Avatar component from phoenix
This component should move to ODS soon, so that we can just use it. At
the moment we have to copy it here to get proper avatars loaded.
2020-07-01 11:05:34 +02:00
Benedikt Kulmann 907d6cf58b Prevent text wrapping in list headers 2020-07-01 11:05:34 +02:00
Benedikt Kulmann e23615c764 Sort accounts by preferredName field 2020-07-01 11:05:33 +02:00
Benedikt Kulmann a8922f62c2 Change accounts service requests to POST
Microweb only supports POST requests. So as long as we're using that, we
need to have everything as POST.
2020-07-01 11:05:33 +02:00
Benedikt Kulmann 48d28cf7dd Add more information to accounts list 2020-07-01 11:05:33 +02:00
Benedikt Kulmann 352b633e84 Show very basic account list
This is the first step. Only shows name and email so far (because we
don't have more data). Was necessary to change the request type of the
list request to POST because it is not supported by microweb to have GET
requests.
2020-07-01 11:05:33 +02:00
Benedikt Kulmann f883c5bd0b Set up reflex for make watch 2020-07-01 11:05:33 +02:00
Benedikt Kulmann 28e72bc5ad Remove obsolete config vars 2020-07-01 11:05:32 +02:00
Benedikt Kulmann 3f04adf4ff Set up http server
- set up http server for a) handling the service requests and b)
serving the static assets for the ocis-web extension
- align the server command with other ocis-extensions, including config
variable naming
2020-07-01 11:05:32 +02:00
Benedikt Kulmann b58ddeeb62 Add stubs for three missing service interface functions 2020-07-01 11:05:32 +02:00
Benedikt Kulmann b1ba52f02b Add asset generation from javascript bundle
On `make generate` the `pkg/assets/embed.go` will be generated from the
current state of the javascript app bundle in `assets/accounts.js`. So
you'll have to run `yarn build` first and then `make generate`.
2020-07-01 11:05:32 +02:00
Benedikt Kulmann a48334eaad Align root command with other ocis-extensions 2020-07-01 11:05:32 +02:00
Benedikt Kulmann 52c793b4a0 Add ocis-web extension boilerplate
This only renders an empty page but already has a navItem for ocis-web
integration.
2020-07-01 11:05:32 +02:00
Benedikt Kulmann 435104b5ff Add code generation for swagger and protoweb
Some of the Protobuf Messages were missing fields:
- RemoveMemberRequest was missing the `account_id` field for the account/member id
- ListMembersRequest was missing the `id` field for the group id

Some of the endpoint annotations were not correct regarding declared
bodies and the ids listed above.
2020-07-01 11:05:31 +02:00
Jörn Friedrich Dreyer 77cc899a44 Increase transfer token life time to 24h
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-01 09:01:06 +02:00
Artur Neumann 259a72a112 Automated changelog update [skip ci] 2020-06-30 16:08:04 +00:00
Artur Neumann 7cad45e4b5 Merge pull request #322 from owncloud/Remove-TestAlsoOnExternalUserBackend-20200630
[Tests-Only] Remove unneeded TestAlsoOnExternalUserBackend local_storage skipOnLDAP tags
2020-06-30 20:59:06 +05:45
Artur Neumann 980956273e Merge pull request #347 from owncloud/Remove-TestAlsoOnExternalUserBackend-20200630
[Tests-Only] Remove unneeded TestAlsoOnExternalUserBackend local_storage skipOnLDAP tags
2020-06-30 20:59:02 +05:45
Phil Davis 723e979e4e Remove unneeded TestAlsoOnExternalUserBackend local_storage skipOnLDAP tags 2020-06-30 19:58:22 +05:45
Phil Davis b16a713eb6 Remove unneeded TestAlsoOnExternalUserBackend local_storage skipOnLDAP tags 2020-06-30 19:52:51 +05:45
Benedikt Kulmann 73bf6114e9 Merge pull request #345 from owncloud/add-vars-to-docs
Add REVA vars to docs
2020-06-30 15:10:54 +02:00
Benedikt Kulmann 6be3f130e2 Add changelog item 2020-06-30 12:30:45 +02:00
Benedikt Kulmann 0e6087b785 Add two new environment variables to basic setup docs 2020-06-30 12:26:32 +02:00
Vincent Petry 9d423a1a78 Automated changelog update [skip ci] 2020-06-30 08:52:24 +00:00
Vincent Petry b41d00cddb Merge pull request #320 from owncloud/update-reva-20200630
Update reva to v0.1.1-0.20200630075923-39a90d431566
2020-06-30 10:40:48 +02:00
Vincent Petry 9efcb23f83 Update reva to v0.1.1-0.20200630075923-39a90d431566
Fixes for public link Webdav COPY and password field in response.
2020-06-30 10:15:02 +02:00
Phil Davis 74ff11e24e Merge pull request #342 from owncloud/bump-core-and-phoenix-test-commits-20200629
[Tests-Only] Bump core and phoenix test commit IDs to latest
2020-06-30 13:29:10 +05:45
Phil Davis 9bce7e3ce4 Merge pull request #317 from owncloud/apiTests-commit-20200630
[Tests-Only] Adjust apiTests to use core commit
2020-06-30 13:28:24 +05:45
Phil Davis a2fe692423 Bump core and phoenix test commit IDs to latest 2020-06-30 11:51:36 +05:45
Michael Barz 9755d47bad Automated changelog update [skip ci] 2020-06-30 06:05:30 +00:00
Phil Davis 856d53ba49 Adjust apiTests to use core commit 2020-06-30 10:39:53 +05:45
Michael Barz 19b63f1862 Merge pull request #334 from owncloud/update-deps
Update extensions 2020-06-25
2020-06-30 00:20:53 +02:00
Michael Barz e67186696d Add datagateway url and reva frontend url to testing setup 2020-06-29 23:22:56 +02:00
Michael Barz 60e064ea7d Automated changelog update [skip ci] 2020-06-29 18:08:15 +00:00
Michael Barz 996ae617c2 Merge pull request #68 from owncloud/update-phoenix
Update ocis-web to 0.11.1
2020-06-29 20:03:23 +02:00
Michael Barz 61fc0de7e1 Update ocis-web to 0.11.1 2020-06-29 19:42:12 +02:00
Vincent PetryandPhil Davis 933197376f Update .drone.star for latest tests
Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-06-29 18:13:55 +02:00
Vincent Petry a0a5515f3d Update ocis-reva to 0.8.0 2020-06-29 16:38:22 +02:00
Jörn Friedrich Dreyer dedae473f0 Automated changelog update [skip ci] 2020-06-29 13:57:06 +00:00
Michael Barz 26fcbce893 Prepare 0.8.0 2020-06-29 15:53:15 +02:00
Jörn Friedrich Dreyer e8ed989835 update reva to 20200629 (#313)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-29 15:45:37 +02:00
Michael Barz a2488978eb Automated changelog update [skip ci] 2020-06-29 13:20:34 +00:00
Michael Barz 5399f34bb3 Merge pull request #309 from owncloud/update-reva-public-file-shares
Update reva to v0.1.1-0.20200629094927-e33d65230abc
2020-06-29 15:08:51 +02:00
Phil Davis 69693c5f8f Merge pull request #33 from owncloud/clean-up-paths-in-makefile
Clean up paths in makefile
2020-06-29 17:47:29 +05:45
Vincent Petry 22ae4bbda5 Remove extra line in Makefile
to nudge CI...
2020-06-29 13:36:32 +02:00
Vincent Petry aa0de8704e Update master tests commit
Brings in public link tests
2020-06-29 12:27:34 +02:00
Vincent Petry 2d27ce8a11 Update extensions 2020-06-25
- ocis-proxy 0.4.0
- ocis-migration 0.2.0
- ocis-reva 0.7.0
- ocis-phoenix 0.8.0
2020-06-29 12:26:38 +02:00
Vincent Petry 8487060637 Update reva to v0.1.1-0.20200629094927-e33d65230abc
Brings in public link single file share
2020-06-29 11:59:22 +02:00
Michael Barz 6ac99a35fb Merge pull request #339 from owncloud/split-pipelines
[Tests-Only] Split linting, unit, api and acceptance tests
2020-06-29 11:59:02 +02:00
Michael Barz 28b30f0617 Automated changelog update [skip ci] 2020-06-29 09:34:55 +00:00
Benedikt Kulmann 242486fc57 Add changelog item 2020-06-29 10:59:48 +02:00
Michael Barz f406553009 split linting, unit, api and acceptance tests 2020-06-29 10:47:32 +02:00
Michael Barz 2e9d0973a7 Merge pull request #338 from butonic/fix-reva-update
fix home storage configuration for eos
2020-06-29 10:43:27 +02:00
Jörn Friedrich Dreyer 2e61176365 fix home storage configuration for eos
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-26 17:41:02 +02:00
Vincent Petry bd47f19560 Merge pull request #337 from owncloud/fix-public-link-command
Fix reva public link service command + changelog
2020-06-26 17:37:04 +02:00
Vincent Petry f5258a7238 Automated changelog update [skip ci] 2020-06-26 15:20:02 +00:00
Vincent Petry b77283345b Merge pull request #305 from owncloud/release-0.7.0
Prepare release 0.7.0
2020-06-26 17:04:01 +02:00
Vincent Petry b4cb488597 Fix reva public link service command + changelog
Add missing changelog for the eos config change.
Fixed the reva public link service command to register properly.
2020-06-26 17:01:56 +02:00
Benedikt Kulmann 494c22c586 Add changelog for PR#304 2020-06-26 16:39:01 +02:00
Jörn Friedrich Dreyer 2753c150ba Automated changelog update [skip ci] 2020-06-26 14:09:21 +00:00
Vincent Petry 43cfe73adb Prepare release 0.7.0 2020-06-26 16:05:24 +02:00
Michael Barz 90f30f88d8 Merge pull request #336 from butonic/fix-reva-update
update reva config
2020-06-26 15:55:10 +02:00
Jörn Friedrich Dreyer b922f76060 fix eos-home config (#304)
* fix eos-home config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update reva to v0.1.1-0.20200626111234-e21c32db9614

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-26 15:53:41 +02:00
Jörn Friedrich Dreyer bf1c342a1a tell data providers where to find the gateway
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-26 15:25:05 +02:00
Jörn Friedrich Dreyer d1892c9b3e update reva config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-26 14:49:25 +02:00
Vincent Petry ac6c407316 Automated changelog update [skip ci] 2020-06-26 12:06:15 +00:00
Vincent Petry e586003f50 Merge pull request #67 from owncloud/release-0.8.0
Release 0.8.0
2020-06-26 14:00:30 +02:00
Vincent Petry 77534beeaa Prepare 0.8.0 release 2020-06-26 13:47:27 +02:00
Vincent Petry 542eeb65ad Update Phoenix to 0.11.0 2020-06-26 13:46:05 +02:00
Vincent Petry c92d1e5785 Merge pull request #261 from owncloud/point-frontend-to-proxy
Point frontend to proxy
2020-06-26 12:19:33 +02:00
Vincent Petry b53f4a9364 Update Drone API tests commit for public links 2020-06-26 12:00:01 +02:00
Vincent Petry 78d4063d11 Add public link service to Drone 2020-06-26 11:45:58 +02:00
Vincent Petry 24b5471782 Prettify reva-server log output 2020-06-26 11:38:38 +02:00
Vincent Petry 771670b685 Revert "update config"
This reverts commit 35aea68301.
2020-06-26 10:54:45 +02:00
Benedikt Kulmann 38493d126a Update cs3org/reva 2020-06-26 10:33:44 +02:00
Jörn Friedrich Dreyer 35aea68301 update config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-26 10:17:02 +02:00
Vincent Petry 181cdef6bf TEMP enable public link tests 2020-06-26 10:13:36 +02:00
Benedikt Kulmann 331790796b Add frontend and datagateway urls to CI 2020-06-25 17:25:49 +02:00
Jörn Friedrich Dreyer 811672b6f6 do not use proxy urls for testing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-25 17:11:58 +02:00
Jörn Friedrich Dreyer ba633251f2 update to reva v0.1.1-0.20200625144447-03e6aba90379 2020-06-25 17:01:27 +02:00
Benedikt Kulmann 187a42fa7a Clean up paths in Makefile 2020-06-25 16:22:35 +02:00
Vincent Petry 503e7c576d Automated changelog update [skip ci] 2020-06-25 12:53:19 +00:00
Vincent Petry 38927243d3 Merge pull request #60 from owncloud/release-0.4.0
Prepare release 0.4.0
2020-06-25 14:42:07 +02:00
Vincent Petry 6ee5a3a5d0 Prepare for 0.4.0 release 2020-06-25 14:29:09 +02:00
Vincent Petry 1ef5f14562 Add missing changelog entries 2020-06-25 14:28:44 +02:00
Vincent Petry 5f4fc9e00d Add changelog entry for #45 2020-06-25 14:19:09 +02:00
Vincent Petry 318c34925b Merge pull request #45 from owncloud/tus-endpoint
Point /data to reva frontend
2020-06-25 14:14:58 +02:00
Vincent Petry a4db2f2f2f Changelog for reva update to v0.1.1-0.20200625112940-6a2822cb3f15 2020-06-25 13:53:13 +02:00
Vincent Petry 4b8b431c8c Update to reva v0.1.1-0.20200625112940-6a2822cb3f15 2020-06-25 13:45:21 +02:00
Benedikt Kulmann f8d5eb62fb Disable exposing data server for public links storage by default 2020-06-25 11:48:36 +02:00
Jörn Friedrich Dreyer 5368ad2d83 Merge pull request #51 from butonic/autocreate-home
send autocreate home request to reva gateway
2020-06-25 11:40:11 +02:00
Jörn Friedrich Dreyer 94ebbc0933 send autocreate home request to reva gateway
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-25 10:47:28 +02:00
Jörn Friedrich Dreyer 2816742f04 Automated changelog update [skip ci] 2020-06-25 08:24:19 +00:00
Benedikt Kulmann 3873079c11 Add /data endpoint to builtin default config 2020-06-25 10:19:17 +02:00
Benedikt Kulmann 9a9fd8cc7f Exclude proxy default configs from codacy 2020-06-25 10:19:17 +02:00
Benedikt Kulmann 6fe8392aa4 Point /data to reva frontend 2020-06-25 10:19:17 +02:00
Jörn Friedrich Dreyer e5e9192775 Merge pull request #58 from owncloud/auto_provision_accounts
autoprovision new users on login
2020-06-25 10:16:13 +02:00
David Christofas 92191ac597 Automated changelog update [skip ci] 2020-06-25 07:37:53 +00:00
David Christofas 50d083b514 Merge pull request #49 from owncloud/enable_accounts
enable accounts on creation
2020-06-25 09:32:27 +02:00
Benedikt Kulmann c1f74450b6 Update configuration docs (generated with flaex) 2020-06-24 22:29:11 +02:00
Benedikt Kulmann bd85e0bb8d Add new config var for the data gateway url 2020-06-24 22:18:03 +02:00
Benedikt Kulmann 5ecd9f4889 Update versions 2020-06-24 22:18:03 +02:00
Benedikt Kulmann 62e260a6ab Change storages to not expose themselves by default. 2020-06-24 22:18:03 +02:00
Benedikt Kulmann 775942387c Change default reva frontend url to point to ocis-proxy 2020-06-24 22:18:03 +02:00
Benedikt Kulmann 97c190e0aa Make sure that the reva frontend url has an url scheme
We have a lot of URLs in our flagset default values that don't have an
url scheme. In order to be able to make those changes over time we
introduced a helper function which appends "http://" as scheme.
2020-06-24 22:18:02 +02:00
David Christofas 2491087264 autoprovision new users on login
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-06-24 17:36:30 +02:00
David Christofas 13c8826057 Automated changelog update [skip ci] 2020-06-24 15:35:06 +00:00
David Christofas 3498d24168 Merge pull request #57 from owncloud/respect_account_enabled
respect the account_enabled flag
2020-06-24 17:29:43 +02:00
Phil Davis fe284939a4 Merge pull request #299 from owncloud/bump-core-commit-for-api-tests-20200623
[Tests-Only] Bump core commit for API tests
2020-06-24 19:17:20 +05:45
Phil Davis 3e03d09648 Bump core commit for API tests 2020-06-24 17:39:08 +05:45
Vincent Petry 89b5ba0ea8 Automated changelog update [skip ci] 2020-06-24 11:51:09 +00:00
Vincent Petry ad66edb06e Merge pull request #298 from owncloud/release-0.6.0
Prepare release 0.6.0
2020-06-24 13:34:21 +02:00
David Christofas f0b9d2b80f respect the account_enabled flag
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-06-24 12:07:49 +02:00
David Christofas c01f4d1ed9 enable accounts on creation
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-06-24 11:40:25 +02:00
Vincent Petry 8702143d69 Automated changelog update [skip ci] 2020-06-24 09:16:35 +00:00
Vincent Petry 6cef52ad20 Prepare release 0.6.0 2020-06-24 11:08:33 +02:00
Vincent Petry 1bb965be3d Merge pull request #279 from owncloud/update-ocis-reva-temp
Update reva to 20200624
2020-06-24 11:03:23 +02:00
Phil Davis d2c45f96dc Use current core master commit id for API tests 2020-06-24 10:07:09 +02:00
Vincent Petry db1e77ea98 Update reva to 20200624 2020-06-24 10:06:57 +02:00
David Christofas 5b33eb22ab Automated changelog update [skip ci] 2020-06-23 15:42:31 +00:00
David Christofas d3892687d1 Merge pull request #48 from owncloud/pass-correct-logger
pass around the correct logger to the services
2020-06-23 17:35:55 +02:00
David Christofas 630e2120e5 pass around the correct logger to the services
Also did some minor refactoring to make the code similar to the other
services.

Implements one task of owncloud/product#86

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-06-23 17:29:28 +02:00
Jörn Friedrich Dreyer 58aef84dfd Merge pull request #38 from butonic/return-error
create default accounts when dir does not exist
2020-06-22 11:27:45 +02:00
Jörn Friedrich Dreyer 474cf53e3f fix typo 2020-06-22 10:54:03 +02:00
Jörn Friedrich Dreyer ebee2c5443 create default accounts when dir does not exist
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-19 17:14:41 +02:00
Jörn Friedrich Dreyer 3e6aeb65cb Merge pull request #19 from butonic/direct-accounts-access
directly talk to accounts
2020-06-19 15:33:02 +02:00
Jörn Friedrich Dreyer 0a6e2c7e16 Automated changelog update [skip ci] 2020-06-19 13:17:22 +00:00
Jörn Friedrich Dreyer 7746474343 Merge pull request #39 from butonic/update-accounts
Update to new accounts api
2020-06-19 15:12:35 +02:00
Jörn Friedrich Dreyer 8e4f814c3a remove unused mock
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-19 14:53:25 +02:00
Jörn Friedrich Dreyer 39508bd7b6 go where no man has gone before ...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-19 14:48:36 +02:00
Jörn Friedrich Dreyer 823832ff8f add more tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-19 11:19:09 +02:00
Jörn Friedrich Dreyer 00afda3c04 test middleware
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 21:40:06 +02:00
Jörn Friedrich Dreyer 4a436a4171 parrallel test execution seems to make the coverage miscount
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 19:08:14 +02:00
Jörn Friedrich Dreyer 399230d3de no confusing names
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 19:07:31 +02:00
Jörn Friedrich Dreyer f69e0703a4 make codacy ignore **_test.go files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:46:31 +02:00
Jörn Friedrich Dreyer e7a3ed3fa3 make tests use mock from ocis-accounts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:33:16 +02:00
Jörn Friedrich Dreyer aa8ae58dd9 Merge pull request #37 from butonic/mock-and-deps
add mock account service
2020-06-18 18:31:28 +02:00
Jörn Friedrich Dreyer 74a62bb3bf add mock implementation of the accounts service
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:26:09 +02:00
Jörn Friedrich Dreyer b65e0636aa update debendencies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:18:11 +02:00
Jörn Friedrich Dreyer 2cb3870104 some refactoring and testing love
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 17:58:06 +02:00
Artur Neumann 284a9996df Merge pull request #324 from owncloud/skipOnOcis-OC-Storage
[tests-only] skip tests that are tagged @skipOnOcis-OC-Storage
2020-06-18 20:03:28 +05:45
Artur Neumann d46960283e Merge pull request #287 from owncloud/skipOnOcis-OC-Storage
[tests-only] skip tests that are tagged @skipOnOcis-OC-Storage
2020-06-18 20:03:10 +05:45
Jörn Friedrich Dreyer 3ca3bd4747 Merge pull request #36 from butonic/return-error
allow handler to return an error
2020-06-18 16:03:04 +02:00
Jörn Friedrich Dreyer 9c1fb51906 properly parse filter, update deps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 16:02:31 +02:00
Jörn Friedrich Dreyer 0cdeeb7f03 allow handler to return an error
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 14:08:41 +02:00
Artur Neumann 8f75863efb skip tests that are tagged @skipOnOcis-OC-Storage 2020-06-18 16:45:26 +05:45
Artur Neumann ea982deb24 skip tests that are tagged @skipOnOcis-OC-Storage 2020-06-18 16:35:26 +05:45
Jörn Friedrich Dreyer 6246fbf685 update dependencies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 17:27:17 +02:00
Jörn Friedrich Dreyer 09ecfd08ee cache account
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 17:26:33 +02:00
Jörn Friedrich Dreyer 0d71588498 directly talk to accounts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 17:25:32 +02:00
Jörn Friedrich Dreyer 02e759f95e Merge pull request #35 from butonic/handle-terms-as-keywords
handle terms as keywords, remove quotes
2020-06-17 17:23:11 +02:00
Jörn Friedrich Dreyer a828b8242b handle terms as keywords, remove quotes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 17:02:48 +02:00
Jörn Friedrich Dreyer 5441647249 Automated changelog update [skip ci] 2020-06-17 13:38:12 +00:00
Jörn Friedrich Dreyer d0bf391630 Merge pull request #34 from butonic/store-accounts
persist accounts
2020-06-17 15:31:19 +02:00
Jörn Friedrich Dreyer 0f938a8b10 drop redundant id for create requests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 15:15:18 +02:00
Jörn Friedrich Dreyer f3a1d26d2d fix staticcheck
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 15:04:03 +02:00
Jörn Friedrich Dreyer a27ca2fe5c implement create and delete api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-16 18:57:50 +02:00
Jörn Friedrich Dreyer ac2694251b update to new accounts api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-16 18:17:32 +02:00
Alex Unger f135c55acc Merge pull request #317 from owncloud/readme-redis-docker
Update README with redis docker
2020-06-16 13:12:34 +02:00
Vincent Petry 65c2618628 Update README with redis docker
Added redis docker for an even quicker quick start.
2020-06-16 09:13:52 +02:00
Phil Davis 85939e7ebb Merge pull request #316 from owncloud/ldapIssue
[Tests-Only] Use openldap:1.3.0
2020-06-16 11:58:03 +05:45
Phil Davis 9367d2a47d Merge pull request #271 from owncloud/ldapIssue
[Tests-Only] Use openldap:1.3.0
2020-06-16 11:22:49 +05:45
jasson99 e711c865df [Tests-Only] Use openldap:1.3.0 2020-06-16 10:56:56 +05:45
jasson99 dbe9cbf318 [Tests-Only] Use openldap:1.3.0 2020-06-16 10:51:36 +05:45
Artur Neumann 18b6abf36c Merge pull request #314 from owncloud/tests-from-branch-commit
[Tests-Only] Run API and UI tests from specified branch-commits
2020-06-16 09:11:27 +05:45
Jörn Friedrich Dreyer c2668daae8 persist accounts using json, index using bleve
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:04:35 +02:00
Jörn Friedrich Dreyer e78c4395de Use reasonable set of properties
ocis-graph will be responsible for building graph api resources like
user and groups as well as their relationships. ocis accounts deals
users and groups with all properties necessary to provision user
accounts.

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:04:23 +02:00
Jörn Friedrich Dreyer 368d744b7c add filed mask
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:03:25 +02:00
Jörn Friedrich Dreyer 5ae2ef9b80 add graph api properties
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:03:12 +02:00
Jörn Friedrich Dreyer 810d2b6b34 parse odata query and build ldap filter
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:02:55 +02:00
Jörn Friedrich Dreyer 2fd05e2b6f rewrite API, talk to ldap
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:02:44 +02:00
Jörn Friedrich Dreyer 16c5d13e10 Update accounts API
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:02:28 +02:00
Phil Davis a849f1790b Run API and UI tests from specified branch-commits 2020-06-15 19:41:41 +05:45
Phil Davis e26d2feae3 Merge pull request #315 from owncloud/use-nodejs-11-for-phoenixWebUIAcceptanceTests
[Tests-Only] Use owncloudci/nodejs:11 for phoenixWebUIAcceptanceTests
2020-06-15 19:34:39 +05:45
Phil Davis dd80ef62c9 Use owncloudci/nodejs:11 for phoenixWebUIAcceptanceTests 2020-06-15 18:23:28 +05:45
Phil Davis b443db2cf3 Merge pull request #267 from owncloud/apiTests-from-branch-commit
[Tests-Only] Fetch API testrunner from specific branch and commit
2020-06-15 17:32:51 +05:45
Phil Davis 557015de68 Only checkout a commit if it is specified 2020-06-15 17:18:08 +05:45
Phil Davis 0f7cc3bf25 Adjust indent in .drone.star 2020-06-15 16:59:51 +05:45
Phil Davis bc787c521d Fetch API testrunner from specific branch and commit 2020-06-15 16:59:51 +05:45
Dipak Acharya 50fda78481 Merge pull request #266 from owncloud/remove-ui-tests
[Tests-Only] Remove UI tests from drone CI
2020-06-15 16:59:12 +05:45
Phil Davis cea1a7bff7 Remove UI tests from drone CI 2020-06-15 15:51:31 +05:45
Alex Unger 81eef794c9 Automated changelog update [skip ci] 2020-06-12 16:32:09 +00:00
Alex Unger f7ee51b6e4 Merge pull request #33 from owncloud/remove-timezone-setting 2020-06-12 18:23:22 +02:00
Benedikt Kulmann 5a4a5d8737 Add changelog item 2020-06-12 16:50:53 +02:00
Benedikt Kulmann b63a7cd241 Remove timezone setting from profile settings bundle 2020-06-12 16:47:39 +02:00
Alex Unger 0e43f1d858 Merge pull request #46 from owncloud/fix/proxy-header
Fix user claims on x-access-token Reva header
2020-06-12 12:10:26 +02:00
A.Unger afb2291eb9 Fix user claims on x-access-token Reva header; initialize cache size 2020-06-12 12:00:21 +02:00
Benedikt Kulmann 957ded874a Merge pull request #25 from owncloud/dynamic-nav-items
Make use of the new dynamic navItems feature in phoenix
2020-06-09 11:54:41 +02:00
Alex Unger 24f128b94e Merge pull request #31 from owncloud/refs-patch-1
Remove Log Line
2020-06-09 11:21:08 +02:00
Benedikt Kulmann 35ccf26d65 Regenerate embed.go file 2020-06-09 09:49:56 +02:00
Benedikt Kulmann 3b0f220775 Make ui more failsafe 2020-06-09 09:48:28 +02:00
Benedikt Kulmann d22d06c84e Fix route paths of nav items 2020-06-09 09:48:28 +02:00
Benedikt Kulmann ce5550d73e Remove a leftover debug output 2020-06-09 09:48:28 +02:00
Benedikt Kulmann f57d31b7ba Add hardcoded extension icons for navItems 2020-06-09 09:48:28 +02:00
Benedikt Kulmann bb20c0b6ce Add changelog item 2020-06-09 09:48:28 +02:00
Benedikt Kulmann ceb44eedda Make use of the new dynamic navItems feature in phoenix
Phoenix core now has the ability to add navItems dynamically. With this
we can add navItems for the extensions which have at least one settings
bundle.
2020-06-09 09:48:27 +02:00
Phil Davis 82942fcdfc Merge pull request #248 from owncloud/jasson99-patch-1
update testing.md
2020-06-09 13:32:05 +05:45
Benedikt Kulmann 1ec89be71c Automated changelog update [skip ci] 2020-06-09 07:30:41 +00:00
Benedikt Kulmann 33424c736d Merge pull request #28 from owncloud/docs-about-values
Docs about values
2020-06-09 09:21:25 +02:00
jasson99 6f29c156f4 update testing.md
Include environment variable for skeleton_dir for running tests on ocis
2020-06-09 12:43:16 +05:45
Alex Unger 0f87f05d70 Merge branch 'master' into docs-about-values 2020-06-08 23:11:49 +02:00
Benedikt Kulmann 965023e78e Automated changelog update [skip ci] 2020-06-08 14:51:58 +00:00
Benedikt Kulmann 1cb7312ccd Merge pull request #31 from owncloud/upgrade-ods
Upgrade ODS to 1.6.0
2020-06-08 16:42:51 +02:00
Benedikt Kulmann f229f1106c Fixed ocis-web-settings extension name in glossary 2020-06-08 15:11:17 +02:00
Benedikt Kulmann f0ee8f8e1f Upgrade ODS to 1.6.0 2020-06-08 13:00:29 +02:00
Alex Unger 756b3e48ce remove log line [skip ci] 2020-06-08 10:34:44 +02:00
Jörn Friedrich Dreyer 475a0a11f1 Automated changelog update [skip ci] 2020-06-08 08:13:58 +00:00
Alex Unger 5a6bb24ffb Merge pull request #287 from owncloud/feature/pacman-runtime 2020-06-08 10:12:56 +02:00
Alex Unger 74ec961ecc Automated changelog update [skip ci] 2020-06-08 07:24:39 +00:00
Alex Unger dbd879641b Merge branch 'master' into feature/pacman-runtime 2020-06-08 09:22:49 +02:00
Alex Unger 9142f91d53 Merge pull request #43 from owncloud/fix-middlware-cache-hit 2020-06-08 09:18:45 +02:00
Jörn Friedrich Dreyer 5141662547 Merge pull request #248 from owncloud/update-glauth-datastore-config
udpate bridge doc to use correct glauth datastore
2020-06-08 09:18:40 +02:00
Jörn Friedrich Dreyer 6212f736c1 udpate bridge doc to use correct glauth datastore
@davitol this should solve your https://github.com/owncloud/oauth2/issues/262#issuecomment-624466154
2020-06-08 08:17:10 +02:00
Vincent Petry 6dcb5622f7 Update config docs for TUS and others (#251) 2020-06-05 16:28:00 +02:00
Benedikt Kulmann 99ee6f1011 Add changelog item 2020-06-05 08:33:03 +02:00
Benedikt Kulmann a01cb60f5a Small improvements 2020-06-05 08:31:03 +02:00
Benedikt Kulmann 19e7edfd6b Add settings values to glossary 2020-06-05 08:26:17 +02:00
Benedikt Kulmann 46f48d22f3 Add settings values documentation 2020-06-05 08:26:02 +02:00
Benedikt Kulmann a69d4e0421 Improve settings docs overview page 2020-06-05 07:43:50 +02:00
Benedikt Kulmann 01da4ddf25 Add changelog items 2020-06-04 16:06:59 +02:00
Benedikt Kulmann 92ea44545f Return possible errors from runtime.Start instead of nil 2020-06-04 15:55:48 +02:00
Benedikt Kulmann 0fa1ad4110 Fix docblock of commands 2020-06-04 15:53:38 +02:00
Benedikt Kulmann 3a12bff114 Merge pull request #22 from owncloud/input-validation
Input validation (part 1)
2020-06-04 14:24:09 +02:00
A.Unger 1cc12b0dd5 add kill, list and run commands 2020-06-04 13:43:03 +02:00
Benedikt Kulmann 3a100258dc Fix formatting 2020-06-04 12:54:16 +02:00
A.Unger 6abc81dc81 update ocis-hello@master 2020-06-04 12:47:52 +02:00
A.Unger ca9bbd0fa1 update ocis-settings@master 2020-06-04 12:35:08 +02:00
A.Unger 2a5a1aa7eb remove replace 2020-06-04 12:29:07 +02:00
A.Unger a7f5c98c26 fix simple build (depends on ocis-hello PR) 2020-06-04 12:27:40 +02:00
Benedikt Kulmann 7158f762e0 Add test validating that spaces are allowed in display names. 2020-06-04 11:52:25 +02:00
Benedikt Kulmann 7907ae6708 Add test validating that UTF is allowed in display names 2020-06-04 11:49:02 +02:00
A.Unger c61bbd7783 restructure runtime code 2020-06-04 11:45:19 +02:00
Benedikt Kulmann 6e2fe244ca Reuse dummy settings array 2020-06-04 11:37:36 +02:00
Benedikt Kulmann baac21505a Use dummySettings on bundle properties test to simplify test scope 2020-06-04 11:30:22 +02:00
Benedikt Kulmann 4691cedb58 Add test validating that settings in a bundle cannot be empty 2020-06-04 10:57:13 +02:00
Vincent Petry 3d926507c0 Automated changelog update [skip ci] 2020-06-04 08:37:23 +00:00
A.Unger c7310ae232 get rid of micro/proxy 2020-06-04 10:31:10 +02:00
A.Unger 19fc24ab1a address changes 2020-06-04 10:30:35 +02:00
Vincent Petry 62f8df3cdf Merge pull request #247 from owncloud/release-0.5.0
Prepare release 0.5.0
2020-06-04 10:21:29 +02:00
Vincent Petry 1a0f630813 Automated changelog update [skip ci] 2020-06-04 08:01:21 +00:00
Vincent Petry ea5fe585d6 Prepare release 0.5.0
Brings in TUS capabilities + config switches and some bugfixes for
public sharing
2020-06-04 09:46:22 +02:00
Vincent Petry b19ba00feb Merge pull request #244 from owncloud/update-reva-2020-06-03
Update reva to v0.1.1-0.20200603071553-e05a87521618
2020-06-04 09:44:04 +02:00
Benedikt Kulmann cf02e53703 Revert "Make use of the new dynamic navItems feature in phoenix"
This reverts commit cdf1d89a63.
It was commited in this branch by accident.
2020-06-04 08:48:40 +02:00
Benedikt Kulmann cdf1d89a63 Make use of the new dynamic navItems feature in phoenix
Phoenix core now has the ability to add navItems dynamically. With this
we can add navItems for the extensions which have at least one settings
bundle.
2020-06-04 08:37:58 +02:00
Vincent Petry 16e428210f Update reva to v0.1.1-0.20200603071553-e05a87521618
Brings in additions to TUS
2020-06-03 16:21:57 +02:00
Benedikt Kulmann 2e2e6c3612 Add changelog entry 2020-06-03 15:51:28 +02:00
Benedikt Kulmann fc7b6c1a81 Fix that response is ignored
The request to the accounts service is written to the cache, but the
retrieved uuid was not used, because it was overwritten by the value
from the (non-existant) cache entry.
2020-06-03 15:45:23 +02:00
Benedikt Kulmann 86611f6e1c Make sure that account uuids are lower case 2020-06-03 15:30:35 +02:00
Benedikt Kulmann 6baabf2148 Remove Nil validation on ListSettingsValues request
That validation was just wrong. It enforced identifier values to be
empty.
2020-06-03 15:24:39 +02:00
Benedikt Kulmann aae6356138 Fix formatting 2020-06-03 13:26:09 +02:00
Benedikt Kulmann 5a59a0ccd3 Remove redundant variable declarations 2020-06-03 13:18:43 +02:00
Benedikt Kulmann 3a9efee815 Make linters happy 2020-06-03 13:15:12 +02:00
Benedikt Kulmann 551d7d73f5 Add changelog item 2020-06-03 13:13:27 +02:00
Benedikt Kulmann e7d3bb2063 Make get and list side effect free
Previously, Get and List requests could have the side effect of creating
folders. Creating required folders now only happens on save requests.
2020-06-03 13:00:14 +02:00
Benedikt Kulmann b002720b03 Add validation for DisplayName and Settings being required in SettingsBundles 2020-06-03 12:43:32 +02:00
Benedikt Kulmann cdafe48a62 Fix tests for invalid identifiers 2020-06-03 12:02:26 +02:00
Benedikt Kulmann ac98d4b85b Adapt validation for list requests on bundles and values
There are certain scenarios where fields of the Identifier are allowed
to be empty. If they are not empty they still have to match our
requirements for the contents of those fields (alphanumeric, -, _). This
is taken into acccount as well now.
2020-06-03 11:23:24 +02:00
Benedikt Kulmann 718ec8e061 Set up input validation for Identifiers on settings bundles
Implemented first input validation steps by making static validation on
identifiers in settings bundle requests.
2020-06-03 10:50:28 +02:00
Vincent Petry 1feef604fd Automated changelog update [skip ci] 2020-06-03 08:06:13 +00:00
Vincent Petry deb394d7c0 Merge pull request #228 from owncloud/add-global-tus-capabilities
Make global TUS capability configurable
2020-06-03 09:49:42 +02:00
Benedikt Kulmann d10179c1aa Merge pull request #21 from owncloud/gRPC-tests
[tests-only] grpc tests
2020-06-02 13:59:16 +02:00
Artur Neumann a922961f12 make staticcheck happy 1 2020-06-02 13:33:55 +02:00
Artur Neumann 72cfd4a89f gprc tests 2020-06-02 13:33:54 +02:00
A.Unger 8f3c88e237 Merge branch 'master' into feature/pacman-runtime 2020-06-02 12:36:44 +02:00
Alex Unger 0dbae42a18 Automated changelog update [skip ci] 2020-06-02 09:51:06 +00:00
A.Unger 4c5d5578c1 bring back staticcheck 2020-06-02 11:47:52 +02:00
Vincent Petry 32306dc6b4 Add flag for disabling TUS in capabilities 2020-06-02 11:46:13 +02:00
A.Unger ae8f49b794 increate golangci-lint timeout to 30s 2020-06-02 11:38:02 +02:00
A.Unger 4c9b283b88 Merge branch 'master' into feature/pacman-runtime 2020-06-02 10:59:34 +02:00
Alex Unger 6404d03a7e Merge pull request #298 from owncloud/update-changelog-ocis-reva-0.4.0
Add changelog entry for ocis-reva 0.4.0
2020-06-02 10:58:01 +02:00
A.Unger f9d67b687b remove untracked file 2020-06-02 10:56:25 +02:00
A.Unger 76d77a9d6a use ocis-proxy@master 2020-06-02 10:55:46 +02:00
A.Unger b211f29ea0 Merge branch 'master' into feature/pacman-runtime 2020-06-02 10:48:28 +02:00
Vincent Petry 699f3c4d4e Add global TUS capability + some config
Added global TUS capability in the config structure.
Added config switches for the advertised max chunk size and http method
override.
2020-06-02 10:21:57 +02:00
Vincent Petry 183de69f67 Add changelog entry for ocis-reva 0.4.0 2020-06-02 10:00:59 +02:00
Benedikt Kulmann 268d304d1a Automated changelog update [skip ci] 2020-06-02 07:42:25 +00:00
Benedikt Kulmann 486621cb30 Merge pull request #14 from owncloud/use-account-uuid
Use account UUID from x-access-token for `me` replacement
2020-06-02 09:23:46 +02:00
Alex Unger cd06206681 Merge pull request #48 from owncloud/add-uuid-comment
Add ocis-proxy reference and comment
2020-06-02 09:01:44 +02:00
Michael Barz 05cbd4ac90 Merge pull request #295 from owncloud/feature/public-shares
Public Shares
2020-05-31 13:08:11 +02:00
David Christofas 73476e4923 add sonarcloud quality badge 2020-05-29 23:18:41 +02:00
Michael Barz 2990186fe5 Update ocis-reva to v0.4.0 2020-05-29 20:25:40 +02:00
Michael Barz f5272f3828 Automated changelog update [skip ci] 2020-05-29 16:52:01 +00:00
Michael Barz f97ca4178a Merge pull request #235 from owncloud/release-0.4.0
Prepare release 0.4.0
2020-05-29 18:37:11 +02:00
Vincent Petry d1ca4275d5 Prepare release 0.4.0 2020-05-29 17:31:47 +02:00
Vincent Petry e948ae2436 Automated changelog update [skip ci] 2020-05-29 14:46:05 +00:00
Vincent Petry e59bf9a13a Merge pull request #232 from owncloud/featurepublic-links-rework
Public Links (rework) + reva update
2020-05-29 16:30:22 +02:00
Vincent Petry 4033259484 Add changelog for reva update + public shares 2020-05-29 15:36:18 +02:00
Vincent Petry 5d98f98a3a Update reva to v0.1.1-0.20200529120551-4f2d9c85d3c9 2020-05-29 15:22:30 +02:00
Ilja Neumann bfe4790ab8 Automated changelog update [skip ci] 2020-05-29 09:20:45 +00:00
Ilja Neumann d7c0728e00 Disable OIDC Keep-Alive and instantiate client once
This should reduce file-descriptor leaks.
2020-05-29 11:15:36 +02:00
A.Unger 4a52ca32ef replace replace 2020-05-28 21:12:09 +02:00
A.Unger b1aedb9f60 remove local replace 2020-05-28 20:59:17 +02:00
A.Unger d4b98a75ae Merge branch 'master' into featurepublic-links-rework 2020-05-28 20:57:26 +02:00
A.Unger f5d1bca473 rework PR 2020-05-28 20:55:47 +02:00
Ilja Neumann f33b6781d6 Automated changelog update [skip ci] 2020-05-28 14:10:08 +00:00
Ilja Neumann 6b76c2783e Re-enable selector-test 2020-05-28 16:05:10 +02:00
A.Unger eeb53b1ac0 avoid using local replaces 2020-05-28 13:49:24 +02:00
A.Unger 2f4c5e3e77 update refs/pman 2020-05-27 22:47:34 +02:00
A.Unger 80de0cd4a1 update ocis-proxy 2020-05-27 19:46:50 +02:00
A.Unger b769ebe804 update branch 2020-05-27 19:45:14 +02:00
A.Unger aa46e716de Merge branch 'master' into feature/pacman-runtime 2020-05-27 19:40:06 +02:00
Benedikt Kulmann 04837d5bcb Fix import formatting 2020-05-27 16:05:50 +02:00
Benedikt Kulmann e341835c7d Add changelog item 2020-05-27 15:46:50 +02:00
Benedikt Kulmann 080384870a Use account uuid from request context in augmented identifier 2020-05-27 15:38:12 +02:00
Benedikt Kulmann d6ab3ff6a8 Use account uuid extractor middleware from ocis-pkg 2020-05-27 15:37:47 +02:00
Benedikt Kulmann f7cf214c08 Add JWTSecret to config and flagset 2020-05-27 15:36:40 +02:00
Benedikt Kulmann a39bd39bac Upgrade dependencies 2020-05-27 15:36:03 +02:00
Benedikt Kulmann ecabcd15be Use regenerated settings.pb.web.go with request context 2020-05-27 15:35:05 +02:00
David Christofas dcb2a13c61 Automated changelog update [skip ci] 2020-05-27 11:27:16 +00:00
David Christofas 68d6161894 Merge pull request #26 from owncloud/feature/group-thumbnails-by-users
limit thumbnails a users can access to his own
2020-05-27 13:23:29 +02:00
David Christofas 4ae1a64376 limit thumbnails a user can access to his own. 2020-05-27 13:17:10 +02:00
A.Unger 7a91b6261a remove leftover merge conflict line 2020-05-27 11:14:06 +02:00
Benedikt Kulmann 1403563be9 Add ocis-proxy reference and comment, explaining that opaqueId = account uuid 2020-05-27 10:37:37 +02:00
Benedikt Kulmann 5641fa4a4c Automated changelog update [skip ci] 2020-05-27 08:25:18 +00:00
Benedikt Kulmann 3242d532fd Merge pull request #46 from owncloud/account-uuid-middleware
Add account uuid extraction middleware
2020-05-27 10:23:07 +02:00
Benedikt Kulmann d2f138b281 Add changelog item 2020-05-27 09:57:30 +02:00
Benedikt Kulmann 45c2c0b7f0 Add comment on exported var 2020-05-27 09:54:34 +02:00
A.Unger c4466850ce Merge branch 'master' into feature/public-shares 2020-05-27 09:50:36 +02:00
Benedikt Kulmann dfa1b7c19f Pin grpc to v1.26.0 2020-05-27 09:49:58 +02:00
Vincent Petry 1d1510d266 Automated changelog update [skip ci] 2020-05-26 16:20:47 +00:00
Benedikt Kulmann ea254d6036 Automated changelog update [skip ci] 2020-05-26 16:03:32 +00:00
Benedikt Kulmann 7e51935047 Merge pull request #41 from owncloud/fix-token-in-request
Fix token in request
2020-05-26 17:59:09 +02:00
Benedikt Kulmann e1847b5c4a Fix flag description 2020-05-26 17:41:30 +02:00
Vincent Petry 6a5d4b52dd Merge pull request #293 from owncloud/update-ocis-phoenix-0.7.0
Update ocis-phoenix to 0.7.0
2020-05-26 17:24:46 +02:00
Benedikt Kulmann 38fa0dcc38 Add account uuid extraction middleware 2020-05-26 16:51:03 +02:00
Benedikt Kulmann d313f223c2 Add changelog items 2020-05-26 16:35:54 +02:00
Benedikt Kulmann 89a0f13956 Make jwt secret for reva token manager configurable. 2020-05-26 16:31:05 +02:00
Vincent Petry 563efc51bb Update ocis-phoenix to 0.7.0 2020-05-26 16:27:35 +02:00
Benedikt Kulmann 87ff5f5d43 Set minted token on request header instead of response writer header. 2020-05-26 16:10:37 +02:00
Vincent Petry 11558fb671 Automated changelog update [skip ci] 2020-05-26 13:45:26 +00:00
Vincent Petry 2015181799 Merge pull request #66 from owncloud/release-0.7.0
Prepare release 0.7.0
2020-05-26 15:40:09 +02:00
Vincent Petry ad20597358 Prepare release 0.7.0 2020-05-26 15:20:45 +02:00
A.Unger d2b2a25beb Merge branch 'master' into feature/public-shares 2020-05-26 12:01:32 +02:00
A.Unger c2ac68c147 update deps 2020-05-26 11:51:25 +02:00
Michael Barz 9175cd2bd5 Merge pull request #290 from owncloud/update-extensions
Update extensions thumbnails and reva to tagged versions
2020-05-26 09:34:35 +02:00
Artur Neumann 9b39dfef62 add REVA_LDAP_SCHEMA_* settings in drone 2020-05-26 10:23:38 +05:45
A.Unger 75618cff2b update ocis-reva@master 2020-05-25 20:50:31 +02:00
A.Unger 7eb40ea209 upgrade ocis-reva 2020-05-25 20:49:01 +02:00
A.Unger ebd29e0f10 downgrade ocis-reva to 2b94f09bfb 2020-05-25 19:23:05 +02:00
Vincent Petry a948b5fe5d Merge pull request #222 from owncloud/release-docs
Add docs for updating reva and releasing ocis-reva
2020-05-25 16:39:09 +02:00
Vincent Petry 18ff7841c9 Drone: install mime.types for OCIS
Needed for mimetype detection
2020-05-25 16:35:49 +02:00
Vincent Petry 88c1ecd957 Update extensions
- ocis-thumbnails v0.1.2 (tag)
- ocis-reva v0.3.0 (tag)
2020-05-25 16:35:46 +02:00
A.Unger 24eadda911 update ocis-reva 2020-05-25 16:17:45 +02:00
Vincent Petry d344d09d42 Adjust release docs with more waiting for CI 2020-05-25 15:25:51 +02:00
Vincent Petry 7081d47ecd Add docs for updating reva and releasing ocis-reva 2020-05-25 15:14:48 +02:00
Michael Barz f92a2f30e9 Automated changelog update [skip ci] 2020-05-25 13:10:51 +00:00
A.Unger dae73796cc update ocis-settings 2020-05-25 15:07:51 +02:00
Michael Barz f0df0e17f5 Merge pull request #215 from owncloud/release-0.3.0
Prepare for 0.3.0 release
2020-05-25 14:55:35 +02:00
A.Unger b39c3c3fca update ocis reva 2020-05-25 14:39:39 +02:00
A.Unger 5204ecf869 delay dependant extensions from running 2020-05-25 14:24:13 +02:00
Vincent Petry 754fdfc93a Automated changelog update [skip ci] 2020-05-25 10:00:54 +00:00
Vincent Petry 4072fb5241 Prepare for 0.3.0 release 2020-05-25 11:32:30 +02:00
Vincent Petry 2be681b02a Merge pull request #221 from owncloud/update-ocis-reva-for-sharing-fixes
Update reva to v0.1.1-0.20200520150229
2020-05-25 11:23:31 +02:00
A.Unger 6aeb3db009 Merge branch 'master' into feature/pacman-runtime 2020-05-25 11:18:31 +02:00
Artur Neumann dfc50c1d82 Merge pull request #288 from owncloud/ci-trigger
[Tests-Only] fix configuration variables for ui test in CI
2020-05-25 15:02:43 +05:45
Vincent Petry b03529224f Add mime types file in Drone env 2020-05-25 10:46:38 +02:00
A.Unger 2f98b8347d update ocis-reva 2020-05-25 09:55:06 +02:00
Dipak Acharya 6e13212de0 [Tests-Only] fix configuration variables for ui test in CI 2020-05-25 09:42:25 +05:45
A.Unger 38049e596e enforce more linters 2020-05-24 22:06:19 +02:00
A.Unger f508451824 get rid of recursive call 2020-05-24 19:18:31 +02:00
A.Unger 7f23ef555c trigger ci 2020-05-23 09:12:14 +02:00
A.Unger 1932fa3679 update runtime 2020-05-23 09:01:45 +02:00
Vincent Petry fc50ee3aed Update reva to v0.1.1-0.20200520150229 2020-05-22 15:29:50 +02:00
Vincent Petry 2b94f09bfb Merge pull request #223 from owncloud/ci-test
[Tests-Only] Fix upload UI tests in CI
2020-05-22 14:29:42 +02:00
Vincent Petry bb71e74c11 [Tests-only] Set OC data URL in reva
To make sure the correct URL is returned for accessing the TUS service
2020-05-22 17:32:26 +05:45
A.Unger feca909860 yaml -> yml 2020-05-22 13:47:02 +02:00
A.Unger a36fe7426e add golangci.yaml 2020-05-22 13:46:32 +02:00
A.Unger 1ef3792906 use golangci-lint 2020-05-22 13:45:17 +02:00
A.Unger 29d8b1b981 use master @ ocis-accounts, ocis-settings, ocis-proxy 2020-05-22 13:35:40 +02:00
Alex Unger d7eab50216 Merge pull request #36 from owncloud/feature/accounts-uuid-middleware 2020-05-22 13:00:58 +02:00
A.Unger 85c4232901 fix linters 2020-05-22 12:55:42 +02:00
A.Unger 97bf53cb4a use golangci-lint as linter 2020-05-22 12:33:20 +02:00
Benedikt Kulmann a5d5eac711 Automated changelog update [skip ci] 2020-05-22 10:31:04 +00:00
A.Unger 23c91ca4ce update go-micro => 2.6, update ocis-accounts => master 2020-05-22 12:30:37 +02:00
Benedikt Kulmann 8c7da92919 Merge pull request #22 from owncloud/feature/settings
Self reporting Settings Bundle
2020-05-22 12:26:15 +02:00
Alex Unger c1adfd2c26 Automated changelog update [skip ci] 2020-05-22 10:21:42 +00:00
A.Unger 6ba5a34e2f update ocis-settings to 46ea310263 2020-05-22 12:21:21 +02:00
Alex Unger 46ea310263 Merge pull request #1 from owncloud/basic-service 2020-05-22 12:13:20 +02:00
Alex Unger 81c06d3ab7 Merge branch 'master' into basic-service 2020-05-22 12:05:28 +02:00
Alex Unger 730c1b957d Merge pull request #3 from owncloud/settings-ui 2020-05-22 12:04:59 +02:00
A.Unger 707fe53f28 undo removing arm64, remove flagset parsing from server action 2020-05-22 11:55:51 +02:00
A.Unger 0c1c783d7a remove arm64 2020-05-22 11:48:54 +02:00
A.Unger d1c59937ce fix syntax 2020-05-22 11:48:21 +02:00
A.Unger 83af9492d2 ignore arm64 2020-05-22 11:47:01 +02:00
A.Unger 1747231bb0 add frontend step to docker binary 2020-05-22 10:45:07 +02:00
Benedikt Kulmann 97359589f1 Remove package.json and rollup.config.js from codacy 2020-05-22 10:40:00 +02:00
A.Unger aaa49e329f add frontend step to docker 2020-05-22 10:36:52 +02:00
A.Unger 9f27fe2981 ...make lint passing 2020-05-22 10:29:42 +02:00
A.Unger f5b45accb5 fix exported function comment 2020-05-22 10:28:35 +02:00
A.Unger c219866c7a fix golangci offenses 2020-05-22 10:24:01 +02:00
A.Unger b40048af13 go import config.go 2020-05-22 10:23:27 +02:00
Benedikt Kulmann 868e95e2bf Remove notifications bundle and remove settings from profile bundle 2020-05-22 09:52:20 +02:00
Benedikt Kulmann b2a9be81f3 Remove unused code 2020-05-22 09:30:14 +02:00
Benedikt Kulmann 58a0da69c2 Fix terser import 2020-05-22 09:24:20 +02:00
A.Unger a18c224783 trigger ci 2020-05-22 09:22:47 +02:00
A.Unger 8b646499fa command between quotes 2020-05-22 09:20:38 +02:00
Benedikt Kulmann b5dba5b3c3 Merge branch 'settings-ui' of github.com:owncloud/ocis-settings into settings-ui 2020-05-22 09:20:05 +02:00
Benedikt Kulmann 88b0ecc643 Improve code doc 2020-05-22 09:19:06 +02:00
A.Unger 693e261491 add missing quote 2020-05-22 09:17:40 +02:00
A.Unger b39489e9dd syntax fix, yet again 2020-05-22 09:14:58 +02:00
A.Unger 917839a6db use golangci linters 2020-05-22 09:12:08 +02:00
A.Unger ea49cedac4 fix syntax error 2020-05-22 08:43:24 +02:00
A.Unger d6b50f2215 add frontend step to CI 2020-05-22 08:40:46 +02:00
A.Unger b2cece2de8 working runtime 2020-05-20 20:58:14 +02:00
David Christofas 6763455741 Merge pull request #25 from owncloud/add-releasing-documentation
add documentation about the releasing process
2020-05-20 11:04:37 +02:00
David Christofas 486358cd2f change branch name and add missing step 2020-05-20 10:59:59 +02:00
David Christofas a7bd4d27ea add documentation about the releasing process 2020-05-20 10:47:37 +02:00
A.Unger 9b779aabf8 minimal runtime implementation 2020-05-19 13:07:48 +02:00
Vincent Petry 7867c53890 Automated changelog update [skip ci] 2020-05-19 09:32:16 +00:00
Vincent Petry b226e40402 Merge pull request #24 from owncloud/add-resolutions
add more default resolutions
2020-05-19 11:28:23 +02:00
David Christofas 89abe9cca9 add more default resolutions 2020-05-19 11:02:14 +02:00
Vincent Petry efaa4fa209 Automated changelog update [skip ci] 2020-05-19 09:01:25 +00:00
Vincent Petry 0b68dda05f Merge pull request #207 from owncloud/update-ocis-reva-props-goodness
Update reva to v0.1.1-0.20200518061204
2020-05-19 10:47:00 +02:00
Benedikt Kulmann 93325178f8 Move settings bundles into own file 2020-05-19 10:38:53 +02:00
Vincent Petry 6b4d98537c Enable Litmus props tests 2020-05-19 10:03:16 +02:00
Vincent Petry a2be6bc7cb Update reva to v0.1.1-0.20200518061204 2020-05-19 10:03:13 +02:00
David Christofas 2196b101e4 Automated changelog update [skip ci] 2020-05-19 07:36:04 +00:00
David Christofas 60ffa3a609 Merge pull request #22 from owncloud/fix/gosec-issues
fix code smells
2020-05-19 09:32:23 +02:00
Artur Neumann a63ef07174 Merge pull request #209 from owncloud/use-latest-phoenix
[Tests-Only] use latest version of phoenix for UI tests in CI
2020-05-19 10:49:13 +05:45
Dipak Acharya 63f5f54ece [Tests-Only] use latest version of phoenix for UI tests in CI 2020-05-19 10:02:03 +05:45
David Christofas 2f24a43c56 fix code smells 2020-05-18 15:00:03 +02:00
Benedikt Kulmann 2f8cf78963 Upgrade go-micro to 2.6.0 2020-05-18 12:13:36 +02:00
Benedikt Kulmann d5390e442b Move responsibility of providing settings values away to phoenix 2020-05-15 13:52:46 +02:00
Benedikt Kulmann 3714125213 Add more languages to language options 2020-05-15 13:52:32 +02:00
Michael Barz 5e5270eb17 Merge pull request #274 from owncloud/docs-tracing
Add basic docs for tracing
2020-05-14 20:43:55 +02:00
Benedikt Kulmann 69fe9d7a13 Add basic docs for tracing 2020-05-14 16:35:02 +02:00
Artur Neumann e99c3b33ac Merge pull request #276 from owncloud/fix-skeleton-path
[Tests-only] Fix skeleton directory path
2020-05-14 15:41:12 +05:45
Dipak Acharya f170476bf2 Merge pull request #191 from owncloud/ui-tests
[Tests-Only] Run ui tests with phoenix
2020-05-14 14:15:20 +05:45
HariBhandari07 52b4367897 [Tests-only] Fix skeleton directory path 2020-05-14 13:37:45 +05:45
Dipak Acharya 583950c38a [Tests-Only] Refactor CI Pipelines 2020-05-14 12:56:11 +05:45
Dipak Acharya f689f61869 [Tests-Only] Run ui tests with phoenix 2020-05-14 12:56:09 +05:45
Dipak Acharya dd78746b15 Merge pull request #201 from owncloud/fix-skeleton-path
[Tests-only] Fix skeleton directory path
2020-05-14 11:32:57 +05:45
HariBhandari07 42b6f631cb [Tests-only] Fix skeleton directory path 2020-05-14 10:32:59 +05:45
Artur Neumann 323ca3039e Merge pull request #275 from owncloud/skeleton
[Tests-only] Create test-skeleton files while creating user
2020-05-13 20:00:03 +05:45
Artur Neumann 80aca05d86 Merge pull request #185 from owncloud/skeleton
[Tests-only] Create test-skeleton files while creating user
2020-05-13 19:04:00 +05:45
Artur Neumann 51337cc1bb [Tests-only] Create test-skeleton files while creating user 2020-05-13 18:56:28 +05:45
Ilja Neumann ee82f69390 Create JWT from claims 2020-05-13 13:42:07 +02:00
HariBhandari07 e797eb0f05 [Tests-only] Create test-skeleton files while creating user 2020-05-13 16:18:01 +05:45
Artur Neumann 959da5d988 Automated changelog update [skip ci] 2020-05-13 08:46:25 +00:00
Artur Neumann bcd3b26db4 Merge pull request #273 from owncloud/update-ocis-reva-for-the-love-of-ci
Update ocis-reva, fixing CI issues
2020-05-13 14:05:51 +05:45
Artur Neumann e6c86822dc Merge pull request #198 from owncloud/tests-enable-litmus-copymove
Enable litmus tests for copymove
2020-05-13 13:58:25 +05:45
Vincent Petry 7f1af201fe Enable litmus tests for copymove
All issues were solved, we can enable this on CI
2020-05-13 10:00:45 +02:00
Artur Neumann ee75f7bcef revert selenium chrome docker image to 3.141.59-20200326 2020-05-13 09:49:56 +02:00
Artur Neumann b10c4ec68b Automated changelog update [skip ci] 2020-05-13 07:41:18 +00:00
Vincent Petry dd985d90b2 Update ocis-reva, fixing CI issues 2020-05-13 09:31:53 +02:00
Artur Neumann ee9cd9b8d3 Merge pull request #192 from owncloud/update-reva-emptyfile
Update reva to v0.1.1-0.20200512135421
2020-05-13 13:16:17 +05:45
Vincent Petry a1da513f74 Merge pull request #256 from owncloud/individual-it-patch-1
fix typo
2020-05-13 09:23:12 +02:00
Phil Davis 98ea8d3a3f Another typo 2020-05-13 09:34:33 +05:45
Phil Davis ce946b33b9 Another typo 2020-05-13 09:34:33 +05:45
Artur Neumann fd968220cc fix typo 2020-05-13 09:34:33 +05:45
Vincent Petry 729d850509 Update reva to v0.1.1-0.20200512135421 2020-05-12 16:43:15 +02:00
Benedikt Kulmann 56bbab28e7 Set up an axios interceptor to inject the auth token on all requests 2020-05-12 15:46:33 +02:00
Benedikt Kulmann c47dc845b1 Use email claim for account GetRequest 2020-05-11 13:59:18 +02:00
A.Unger a8c01a4da8 use latest accounts, get rid of replace, fix api 2020-05-11 12:52:21 +02:00
A.Unger f537f420c4 use latest settings and get rid of replace 2020-05-11 12:42:21 +02:00
A.Unger 2f3d7cbc39 downgrade go-micro 2020-05-11 11:41:11 +02:00
Benedikt Kulmann 0fddb624d0 Generate new ui api client and adapt to changed function names 2020-05-11 11:39:40 +02:00
A.Unger cac9cb8ecc downgrade go-micro to v1 2020-05-11 11:27:09 +02:00
Jörn Friedrich Dreyer 22b2f8307c Automated changelog update [skip ci] 2020-05-11 08:32:32 +00:00
Jörn Friedrich Dreyer 5714c4150c Merge pull request #20 from owncloud/prepare-release-0.1.2
prepare release 0.1.2
2020-05-11 10:28:24 +02:00
A.Unger ce9c74eb01 regenerate proto files 2020-05-11 10:01:19 +02:00
A.Unger a656e67d8c fix merge conflicts 2020-05-11 09:59:23 +02:00
David Christofas 95691967e6 prepare release 0.1.2 2020-05-11 09:58:13 +02:00
Benedikt Kulmann bce6982920 Adapt creating settings bundles to most recent format 2020-05-07 18:10:47 +02:00
Benedikt Kulmann 03f7c8dd7d Implement loading/saving multi and single select 2020-05-07 17:57:09 +02:00
Vincent Petry 28360fcbf0 Automated changelog update [skip ci] 2020-05-07 11:26:15 +00:00
Vincent Petry ffba146253 Add changelog for reva update to 20200807 (#181) 2020-05-07 13:15:53 +02:00
Michael Barz 5a107cdfc6 Merge pull request #250 from owncloud/jnweiger-docs-eos-preconditions
Update eos.md
2020-05-07 12:35:35 +02:00
Vincent Petry eb509b5f12 Merge pull request #180 from owncloud/update-reva
Update reva
2020-05-07 12:14:07 +02:00
Vincent Petry 0ff37b3431 Update reva 2020-05-07 11:38:51 +02:00
Benedikt Kulmann d6cd343b62 Implement single choice value load/save 2020-05-07 11:29:51 +02:00
Vincent Petry 82c12c9b54 Merge pull request #161 from butonic/reva-tusd-update
update reva, includes tus support
2020-05-07 11:25:41 +02:00
Ilja Neumann eebf94fa8e Integrate migration import command 2020-05-07 09:36:28 +02:00
Benedikt Kulmann e44654dc9d Integrate loaded settings values into ui
Not yet done for single choice and multi choice, but getting there...
2020-05-07 07:42:50 +02:00
Jürgen Weigert 59bea24b91 Update eos.md 2020-05-07 01:53:32 +02:00
Jürgen Weigert 67a62dabdb Update eos.md
add some preconditions
2020-05-07 01:39:16 +02:00
Jörn Friedrich Dreyer 899d2e0269 Merge pull request #28 from butonic/add-more-query-params
add query properties, add pb deps, fix pb target
2020-05-06 21:05:53 +02:00
Jörn Friedrich Dreyer f379b27026 Merge pull request #247 from owncloud/fix-eos-start
Use latest eos docker image
2020-05-06 20:58:57 +02:00
Jörn Friedrich Dreyer 422ceb9080 disable checking deprecated packages in generated code
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-06 19:07:23 +02:00
Jörn Friedrich Dreyer fad1dd5cd0 Merge branch 'master' into fix-eos-start 2020-05-06 18:26:32 +02:00
Jörn Friedrich Dreyer dffe0296a7 Merge pull request #246 from butonic/update-login-flow
update login and request flow diagrams
2020-05-06 18:26:04 +02:00
Jörn Friedrich Dreyer 3b6951cc80 add query properties, add pb deps, fix pb target
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-06 18:08:21 +02:00
Michael Barz 1d9e862a48 Use latest eos docker image 2020-05-06 17:19:13 +02:00
Jörn Friedrich Dreyer d7848526c0 update request flow
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-06 16:49:34 +02:00
Jörn Friedrich Dreyer 4cb105178b update login flow
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-06 15:47:19 +02:00
Jörn Friedrich Dreyer 16422ee85f update reva, includes tus support
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-06 15:04:08 +02:00
A.Unger b74496bbf4 add alice and maintain a set order on the middlewares. Write uuid as a temporary response header 2020-05-06 14:30:41 +02:00
David Christofas 464e76446a Automated changelog update [skip ci] 2020-05-06 12:06:00 +00:00
David Christofas 4ba4516273 Merge pull request #19 from owncloud/fix/context-handling
implement functions to augment the context
2020-05-06 14:01:17 +02:00
David Christofas 89a822c26f implement functions to augment the context 2020-05-06 13:56:29 +02:00
A.Unger 65b1926d70 add replace statements 2020-05-06 09:29:46 +02:00
David Toledo 600629146f Merge pull request #245 from owncloud/update_bridge_doc
Update bridge documentation
2020-05-05 23:24:42 +02:00
A.Unger c6da8624a5 add uuid to context 2020-05-05 18:29:32 +02:00
Jörn Friedrich Dreyer 2efcd929c1 refactor code into separate files (#29)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-05 17:49:59 +02:00
David Toledo a8d7a6590b Update bridge documentation
Update bridge documentation to current code status
2020-05-05 17:39:42 +02:00
A.Unger 1d735adac6 added eviction logiuc 2020-05-05 17:22:23 +02:00
Michael Barz 0e9f3791fe Merge pull request #5 from owncloud/docs-fixes
Docs: Fix index page and change order of menu items
2020-05-05 09:19:11 +02:00
Benedikt Kulmann 93f49e50a7 Fix index page and change order of menu items 2020-05-05 08:56:15 +02:00
Vincent Petry 2f29c60ff1 Merge pull request #244 from owncloud/readmeUpdate
Fix typo and Update Copyright
2020-05-05 08:40:54 +02:00
David Toledo 27df2766c5 Fix typo and Update Copyright 2020-05-05 07:45:59 +02:00
Jörn Friedrich Dreyer e1826f41cb Merge pull request #243 from butonic/documentloging-flow
Document login flow
2020-05-04 22:46:41 +02:00
Jörn Friedrich Dreyer 1d6d62fbc8 Merge pull request #4 from owncloud/initial-docs
Add initial docs and diagram
2020-05-04 21:03:54 +02:00
Jörn Friedrich Dreyer b3ca52ec39 Document login flow
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-04 20:44:34 +02:00
Ilja Neumann 654a24d6d4 Fix copyright (#242) 2020-05-04 18:08:22 +02:00
Vincent Petry 378af81d7c Add info about needing to accept self-signed cert 2020-05-04 16:50:59 +02:00
Benedikt Kulmann 89272f7a1e Add initial docs and diagram 2020-05-04 16:31:11 +02:00
A.Unger c97ef8a464 add todo comment 2020-05-04 14:11:39 +02:00
A.Unger 0dffde2e6d added a generic cache 2020-05-04 14:08:19 +02:00
A.Unger 3bee0594b0 Merge branch 'master' into feature/settings 2020-05-04 14:00:55 +02:00
Michael Barz cb8e71f758 Merge pull request #236 from owncloud/add-basic-setup
add simple remote setup to docs
2020-05-04 11:57:13 +02:00
A.Unger ad6a306a6f add trailing comma 2020-05-04 09:24:07 +02:00
Phil Davis be59adfd49 Merge pull request #162 from owncloud/clarifyTestRun
[Tests-only] fixtures and clarifications for API acceptance tests
2020-05-01 15:57:26 +05:45
Artur Neumann 5e15b71797 fixtures and clarifications for API acceptance tests 2020-05-01 11:43:52 +05:45
Artur Neumann 85478c57e3 Merge pull request #158 from owncloud/docs-restart-ldap-wipe
Document LDAP restart for corrupt users
2020-05-01 09:21:43 +05:45
Jörn Friedrich Dreyer 8e32a6eff3 Merge branch 'master' into docs-restart-ldap-wipe 2020-05-01 00:01:07 +02:00
Vincent Petry bd1a818bb9 Merge pull request #159 from owncloud/doc-clarify-behat-feature
Clarify BEHAT_FEATURE value
2020-04-30 18:38:52 +02:00
Vincent Petry 717233f31e Clarify BEHAT_FEATURE value 2020-04-30 17:45:18 +02:00
Vincent Petry 746d5df4c5 Document LDAP restart for corrupt users
Added more detail about how to wipe the users from LDAP by restarting the container.
2020-04-30 17:35:18 +02:00
Ilja Neumann 3f3d7470c5 Automated changelog update [skip ci] 2020-04-30 13:53:52 +00:00
Ilja Neumann b0d984c252 Integrate ocis-accounts 2020-04-30 15:08:44 +02:00
A.Unger d703c87dd2 cleanup dependencies 2020-04-30 13:56:11 +02:00
A.Unger a0ed0b2e90 refactor middleware code and provide an example flow to get UUID 2020-04-30 13:39:17 +02:00
Jörn Friedrich Dreyer 9df7c32675 Merge branch 'master' into add-basic-setup 2020-04-30 12:00:58 +02:00
Michael Barz 0176d92184 add simple remote setup to docs 2020-04-30 11:24:20 +02:00
Michael Barz 34c2526473 Automated changelog update [skip ci] 2020-04-29 20:13:39 +00:00
Michael Barz 93a483cc7e Merge pull request #25 from owncloud/prepare-release-v0.1.1
Prepare release 0.1.1
2020-04-29 22:01:44 +02:00
Michael Barz f0c5ccaaa5 Merge pull request #238 from owncloud/fix-pw
fix wrong credentials in docs
2020-04-29 21:58:13 +02:00
Jörn Friedrich Dreyer 249746c631 Merge branch 'master' into fix-pw 2020-04-29 21:10:49 +02:00
Ilja Neumann 430f7a9f86 Prepare release 0.1.1 2020-04-29 18:05:43 +02:00
Diogo CastroandJörn Friedrich Dreyer 3ba73ed2ec Enable EOS storage commands on ocis-reva (#150)
* EOS storage: remove not needed configs

* Add EOS storage commands

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-29 15:54:19 +02:00
Jörn Friedrich Dreyer 75cac941b6 Initial description of storage commands, aspects, (data) providers and drivers (#152)
* Initial description of storage commands, aspects, (data) providers and drivers

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* link to upstream docs

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-29 15:23:24 +02:00
Jörn Friedrich Dreyer 78a02a96c0 Merge pull request #237 from butonic/use-correct-hint-markdown
use correct hint markdown
2020-04-29 15:18:06 +02:00
Ilja Neumann 17eaaa5288 Automated changelog update [skip ci] 2020-04-29 12:21:21 +00:00
Michael Barz 1b8e04d945 fix wrong credentials in docs 2020-04-29 14:20:56 +02:00
Jörn Friedrich Dreyer 4b24771233 use correct hint markdown
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-29 14:11:42 +02:00
Ilja Neumann b7fb179dec Make logging configurable 2020-04-29 14:10:33 +02:00
Michael Barz 3c5c0f5a0b Fixed wrong pw in docs 2020-04-29 10:38:49 +02:00
Benedikt Kulmann 548d0a691a Align with proto in settings service 2020-04-29 09:53:43 +02:00
Benedikt Kulmann 8a6a06fcb8 Settings values protobuf and service 2020-04-29 09:51:22 +02:00
Michael Barz 6a1f71539c Merge pull request #218 from owncloud/bddUsingoc10Tests
[Tests-only] document how to use oC10 API tests for BDD in ocis
2020-04-29 08:01:11 +02:00
Artur Neumann df9e021246 document how to use oC10 API tests for BDD in ocis 2020-04-29 09:06:41 +05:45
A.Unger d296520369 update deps 2020-04-28 23:46:14 +02:00
Benedikt Kulmann 2ea182243f Add settings value protobuf and store implementation 2020-04-28 19:47:04 +02:00
A.Unger 17883be12a update local deps 2020-04-28 19:14:13 +02:00
Ilja Neumann f2943d0a26 Automated changelog update [skip ci] 2020-04-28 14:37:04 +00:00
Michael Barz 3c76a6a290 Merge pull request #234 from owncloud/update/deps
Update Extensions
2020-04-28 16:28:49 +02:00
Ilja Neumann a5c034dddb Extensions diagram 2020-04-28 15:50:35 +02:00
A.Unger 852727cef0 add changelog 2020-04-28 15:18:46 +02:00
A.Unger 77b6cd065e update ocis-phoenix, ocis-reva, ocis-thumbnails 2020-04-28 15:05:49 +02:00
Michael Barz 2b4066faf1 Automated changelog update [skip ci] 2020-04-28 13:01:20 +00:00
Michael Barz 2d344a4de8 Merge pull request #154 from owncloud/release/0.2.1
Prepare v0.2.1
2020-04-28 14:51:49 +02:00
A.Unger 3cd95b4b27 add changelog 2020-04-28 14:37:58 +02:00
A.Unger 1b99644cd8 rename changelog file 2020-04-28 14:20:24 +02:00
Lukas Hirt 3266bdab99 Automated changelog update [skip ci] 2020-04-28 11:40:27 +00:00
Lukas Hirt 91742cd318 Merge pull request #65 from owncloud/release-0.6.0 2020-04-28 13:35:48 +02:00
Lukas Hirt ea6f1720a4 Update phoenix assets and ocis-pkg 2020-04-28 13:12:36 +02:00
Benedikt Kulmann 4ce01fe8c0 Move settings bundles into appropriate sub folders 2020-04-28 12:31:25 +02:00
Benedikt Kulmann d586fa93df Add a dummy multi choice element 2020-04-28 11:21:37 +02:00
A.Unger 6cd1ebfcc5 update ocis-pkg 2020-04-28 09:20:58 +02:00
A.Unger e66555f11c update deps 2020-04-28 09:20:26 +02:00
Alex Unger e21222e4e6 Update cs3org/reva, use configured logger on runtime (#153)
* inject logger on reva

* update ocis-pkg
2020-04-28 08:15:12 +02:00
felixboehm a049d816b1 Merge pull request #229 from butonic/request-flow-docs
Initial request flow documentation
2020-04-27 18:31:36 +02:00
Jörn Friedrich Dreyer 6ac0f969a4 add initial request flow docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-27 16:10:58 +02:00
Michael Barz f9efbd429e Merge pull request #221 from owncloud/fixConfigForLogout
[Tests-only] add slash at the end of redirect_uri to allow correct logout
2020-04-27 08:55:06 +02:00
Ilja NeumannandJörn Friedrich Dreyer c6c28c49b8 Remove logtostderr from protoc generation (#66)
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-24 14:21:14 +02:00
Jörn Friedrich Dreyer 652060b9c8 Automated changelog update [skip ci] 2020-04-24 12:19:43 +00:00
Jörn Friedrich Dreyer ff1020d1f1 Merge pull request #15 from owncloud/remove_log_to_stderr
Remove logtostderr from protoc generation
2020-04-24 14:18:57 +02:00
Jörn Friedrich Dreyer 44e252306a Merge pull request #14 from owncloud/remove_log_to_stderr
Remove logtostderr from protoc generation
2020-04-24 14:17:09 +02:00
Ilja Neumann 5934026799 Remove logtostderr from protoc generation (#28) 2020-04-24 14:15:54 +02:00
Jörn Friedrich Dreyer 03e0bba3c7 Merge pull request #64 from owncloud/remove_log_to_stderr
Remove logtostderr from protoc generation
2020-04-24 14:15:08 +02:00
Michael Barz 1f7d13cba7 Merge pull request #220 from owncloud/simplifyTests
[Tests-only] remove need to authorize phoenix in kopano
2020-04-24 12:26:00 +02:00
Ilja Neumann 3ef44a947f Remove logtostderr from protoc generation 2020-04-24 11:47:34 +02:00
Ilja Neumann ca6f4c74f8 Remove logtostderr from protoc generation 2020-04-24 11:47:34 +02:00
Ilja Neumann fa377241f9 Remove logtostderr from protoc generation 2020-04-24 11:47:34 +02:00
Benedikt Kulmann 92d03ffeb3 Fix title change on route change 2020-04-24 09:47:16 +02:00
Benedikt Kulmann e16fa922ba Generated frontend bundle 2020-04-24 08:29:06 +02:00
Artur Neumann 1e03f72754 add slash at the end of redirect_uri to allow correct logout 2020-04-24 11:38:22 +05:45
Benedikt Kulmann ea58fd46ef Add extension selection through route param 2020-04-24 07:43:59 +02:00
Artur Neumann abf222e6c5 remove need to authorize phoenix in kopano 2020-04-24 11:14:26 +05:45
Benedikt Kulmann 1739d542ff fix styling of single and multi choice drops 2020-04-24 07:08:03 +02:00
Benedikt Kulmann 1635e5d92f Fix layout on empty settings 2020-04-24 07:01:02 +02:00
Benedikt Kulmann ac67fee09a Add multi choice list support and fix single choice list
single choice list now
- uses raw radio input instead of the one from ODS because it's broken
- implements default value selection if no value is set
2020-04-23 19:49:40 +02:00
Benedikt Kulmann 3a9673021f Add another settings bundle and more dummy settings 2020-04-23 15:36:47 +02:00
Benedikt Kulmann 48f79ad03f Render form elements 2020-04-23 15:23:51 +02:00
Michael Barz f74320d85d Automated changelog update [skip ci] 2020-04-23 09:03:55 +00:00
Michael Barz 3580c349b3 Merge pull request #146 from owncloud/changelog-for-145
Add missing changelog entry for 145
2020-04-23 10:51:19 +02:00
Vincent Petry 3cf2b8334a Add missing changelog entry for 145 2020-04-23 10:40:27 +02:00
Vincent Petry 64b135fa0f Merge pull request #145 from owncloud/remove-chunking-v2
Don't advertise unsupported chunking v2
2020-04-23 10:04:58 +02:00
Vincent Petry 913f3f0cd5 Don't advertise unsupported chunking v2
Removed "chunking" attribute in the DAV capabilities.
Please note that chunking v2 is advertised as "chunking 1.0" while
chunking v1 is the attribute "bigfilechunking" which is already false.
2020-04-23 09:53:00 +02:00
Alex Unger 720afed01e Merge branch 'master' into feature/settings 2020-04-23 09:25:15 +02:00
Alex Unger 8847024077 Merge pull request #23 from owncloud/extract_flagset 2020-04-23 09:24:51 +02:00
Jörn Friedrich Dreyer 9687132afd Automated changelog update [skip ci] 2020-04-23 06:58:24 +00:00
Jörn Friedrich Dreyer 41a8c7b6f4 Merge pull request #217 from butonic/fix-eos
make ocis on eos great again
2020-04-23 08:09:25 +02:00
Jörn Friedrich Dreyer 22ef5b457c make ocis on eos great again
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-22 20:44:03 +02:00
A.Unger 4507e17436 update branch 2020-04-22 19:30:50 +02:00
A.Unger 0dd2ceef78 add uuid (key) as part of the accounts payload 2020-04-22 19:29:13 +02:00
Michael Barz d302819674 Automated changelog update [skip ci] 2020-04-22 15:29:32 +00:00
Michael Barz f2d1c0a1be Automated changelog update [skip ci] 2020-04-22 15:28:49 +00:00
Michael Barz 31bc24c258 Merge pull request #65 from owncloud/add-flaex
Add Flagset Extrator, align debug build flags
2020-04-22 17:24:34 +02:00
Michael Barz 0f0d44c3ec Merge pull request #34 from owncloud/add-flaex
Add Flagset Extractor, align build flags
2020-04-22 17:24:20 +02:00
Benedikt Kulmann 5ac5a6c1db Parse bundles from files for list calls.
Side effect: get rid of code duplication for listing extensions.
2020-04-22 16:11:41 +02:00
Benedikt Kulmann 9355ba3d35 Fix protobuf var names 2020-04-22 15:51:55 +02:00
Benedikt Kulmann 8ce94c2f4a Use changed grpc service address 2020-04-22 15:51:24 +02:00
Ilja Neumann 2471de39f3 Extract server flags to flagset pkg 2020-04-22 15:49:40 +02:00
David Christofas f92a40879f Automated changelog update [skip ci] 2020-04-22 12:48:28 +00:00
David Christofas 2445c71663 Merge pull request #14 from owncloud/integration-tests
implement integration tests
2020-04-22 14:43:03 +02:00
David Christofas c2a3bc92f3 fix tests 2020-04-22 14:39:24 +02:00
David Christofas 68f798d0f9 implement integration tests 2020-04-22 14:39:19 +02:00
A.Unger dafaa31d7e more explicit comment 2020-04-22 12:31:39 +02:00
A.Unger 96b97ec00d fix http middlewares 2020-04-22 12:31:12 +02:00
Benedikt Kulmann 55db2f72d0 Fixing http server 2020-04-22 11:27:42 +02:00
Artur Neumann 7d8638a674 fix links to documentation (#143) 2020-04-22 11:21:05 +02:00
Artur Neumann d851dbfd0d Merge pull request #142 from owncloud/moveTestDocu
[Tests-only] delete test documentation from README
2020-04-22 14:36:23 +05:45
Artur Neumann 81c14d8e0c delete testing documentation from Readme 2020-04-22 14:23:47 +05:45
Artur Neumann fe76720fb6 mention redis server in the testing doc 2020-04-22 14:23:47 +05:45
Artur Neumann 3180d5c3a4 Merge pull request #141 from owncloud/bddWithOC10Tests
[Tests-Only] document how to use oC10 API tests for BDD in ocis
2020-04-22 14:15:27 +05:45
Benedikt Kulmann ea37e22f55 Set up reflex and fix make watch 2020-04-22 09:27:55 +02:00
Benedikt Kulmann 2f42fcb35a Revive http service for serving assets. Streamlined flagset. 2020-04-21 22:43:22 +02:00
A.Unger 4b612965d9 add fileb0x manifest and generate assets 2020-04-21 21:10:21 +02:00
Benedikt Kulmann ec18988e8c Fix dependencies 2020-04-21 15:57:32 +02:00
Benedikt Kulmann 39fa211b5a Generate http endpoints and add empty vue app entry point. 2020-04-21 15:24:27 +02:00
Artur Neumann bad0d687ef document how to use oC10 API tests for BDD in ocis 2020-04-21 17:58:36 +05:45
Phil Davis 9c5c44dece Merge pull request #140 from owncloud/fixTestingDocu
[Tests-Only] improve testing documentation
2020-04-21 16:53:49 +05:45
Artur Neumann b38a11e16f improve testing documentation 2020-04-21 16:41:14 +05:45
David Christofas 5177069026 Automated changelog update [skip ci] 2020-04-21 10:05:54 +00:00
David Christofas b0643afcc0 Merge pull request #17 from owncloud/prepare-release-0.1.1
prepare release 0.1.1
2020-04-21 12:02:05 +02:00
Benedikt Kulmann 3100ed1a29 Add option display names 2020-04-21 12:01:51 +02:00
Benedikt Kulmann 4617e7c6cc Introduce file locking and fs abstraction 2020-04-21 12:00:34 +02:00
David Christofas 16164473c6 prepare release 0.1.1 2020-04-21 11:55:34 +02:00
David Christofas dc64190162 Automated changelog update [skip ci] 2020-04-21 09:15:37 +00:00
David Christofas eae06e1420 Merge pull request #16 from owncloud/fix-flags
fix program flags
2020-04-21 11:11:35 +02:00
David Christofas 0b757c8713 fix program flags 2020-04-21 10:58:27 +02:00
David Christofas 82ad5938d2 Automated changelog update [skip ci] 2020-04-21 08:24:15 +00:00
David Christofas 4994e2e1c3 Merge pull request #45 from owncloud/prepare-release-2.2.1
prepare release 2.2.1
2020-04-21 10:21:57 +02:00
Artur Neumann 903cd2860a fix user related documentation (#138)
* fix docs: ldap is the default REVA_USERS_DRIVER

* fix docs: update LDAP defaults
2020-04-21 10:13:08 +02:00
David Christofas cab62edc40 prepare release 2.2.1 2020-04-21 10:09:24 +02:00
Benedikt Kulmann d3412c965a Rename List to ListAll 2020-04-21 09:16:53 +02:00
Michael Barz e31e00815a Add Flagset Extractor, align build flags 2020-04-20 21:25:21 +02:00
David Christofas 595185bdbe Automated changelog update [skip ci] 2020-04-20 15:46:43 +00:00
David Christofas b70c7707c5 Merge pull request #44 from owncloud/fix-micro-options
pass flags to micro service
2020-04-20 17:44:23 +02:00
David Christofas e1e8ad52d5 update pr url 2020-04-20 15:52:39 +02:00
David Christofas 7570e3f904 pass flags to micro service 2020-04-20 15:52:23 +02:00
Michael Barz b07af9e9eb Add Flagset Extrator, align debug build flags 2020-04-20 13:21:17 +02:00
Jörn Friedrich Dreyer d92383c1cd Automated changelog update [skip ci] 2020-04-19 12:30:53 +00:00
Jörn Friedrich Dreyer 879bf5e8a6 Allow configuring the gateway for dataproviders (#136)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-19 14:17:51 +02:00
A.Unger 86c52618ea POC: extensions promoting their own setting bundles onto the settings service 2020-04-17 13:42:13 +02:00
Jörn Friedrich Dreyer 19d1d0ad40 Merge pull request #176 from butonic/fix-simple
partially fix simple build
2020-04-17 09:37:40 +02:00
Jörn Friedrich Dreyer db37bca65e Merge pull request #21 from owncloud/feature/load-config-from-env-files
Load config from dotenv files
2020-04-17 09:33:42 +02:00
Alex Unger f099fbd2ae Merge branch 'master' into fix-simple 2020-04-17 08:49:27 +02:00
Jörn Friedrich Dreyer a139cccecd Merge pull request #204 from owncloud/make-clean-identifier
remove identifier-registration.yaml during make clean
2020-04-17 07:04:52 +02:00
Jörn Friedrich Dreyer 3daa0ac5c1 Merge branch 'master' into make-clean-identifier 2020-04-16 22:47:39 +02:00
Michael Barz 4e575d422e Automated changelog update [skip ci] 2020-04-16 14:40:15 +00:00
Michael Barz eb755f1ee4 Merge pull request #209 from owncloud/release-1.0.0-beta3
Prepare 1.0.0beta3 release
2020-04-16 16:01:20 +02:00
Jörn Friedrich Dreyer b16636c69d Automated changelog update [skip ci] 2020-04-16 12:48:19 +00:00
Michael Barz 6117faabc7 Prepare 1.0.0beta3 release 2020-04-16 14:15:07 +02:00
Jörn Friedrich Dreyer cc5e5c40ea Merge branch 'master' into make-clean-identifier 2020-04-16 14:05:34 +02:00
Jörn Friedrich Dreyer 2daae9e273 Merge pull request #172 from butonic/ocis-on-eos
[WIP] add eos to makefile
2020-04-16 14:04:58 +02:00
Jörn Friedrich Dreyer 774e4f9931 Merge branch 'master' into make-clean-identifier 2020-04-16 13:46:05 +02:00
Jörn Friedrich Dreyer f9579c14ff make clean also run clean-config 2020-04-16 13:45:45 +02:00
A.Unger f8f9d1b7b2 comment out http service for obvious reasons 2020-04-16 12:59:55 +02:00
A.Unger a02480062f update branch 2020-04-16 12:52:35 +02:00
A.Unger 99c372a8ef use jsonpb Marshaler/unmarshal 2020-04-16 12:49:51 +02:00
Michael Barz f535da3b48 remove identifier-registration.yaml during make clean 2020-04-16 12:25:41 +02:00
Benedikt Kulmann e8bc35ae03 Add protobuf definition for settings values 2020-04-16 11:51:42 +02:00
Benedikt Kulmann 5b89729d1e Basic service boilerplate for settings bundles 2020-04-16 10:07:45 +02:00
A.Unger 31f1f85fe9 Merge branch 'master' into feature/load-config-from-env-files 2020-04-16 09:32:27 +02:00
Alex Unger 16c5e08843 Merge pull request #20 from owncloud/align-project-structure 2020-04-16 09:28:50 +02:00
A.Unger 13cac8ae87 rename options.go -> option.go 2020-04-16 09:24:17 +02:00
A.Unger 4205b9ff1b rename grpc.go -> server.go 2020-04-16 09:23:57 +02:00
Michael Barz a9f100b988 Automated changelog update [skip ci] 2020-04-15 20:23:29 +00:00
Michael Barz 27af321c16 Prepare 0.2.0 Release 2020-04-15 22:11:54 +02:00
Jörn Friedrich Dreyer 5ed1bc08a2 add eos to makefile
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-15 20:38:42 +02:00
Michael Barz 833cdbbcb0 Merge pull request #132 from owncloud/add-flaex
parse command usage and flagset usage from code
2020-04-15 18:32:08 +02:00
Michael Barz e423b61352 parse command usage and flagset usage from code 2020-04-15 17:34:39 +02:00
Alex UngerandJörn Friedrich Dreyer eb7ed6491c Toggle traces (#129)
* add tracing_enabled to the list of core targets

* add endpoint, collector and service_name parameters

* add authbasic config

* configure tracing for missing services

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-15 14:33:37 +02:00
Jörn Friedrich Dreyer d7b4eed5fe Automated changelog update [skip ci] 2020-04-15 12:26:32 +00:00
Jörn Friedrich Dreyer eb9b25d84c update to latest reva master for release (#134)
* update reva to 20200414133413

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-15 14:10:37 +02:00
Michael Barz f249c59158 Merge pull request #205 from owncloud/update-flaex-template
Update flaex template
2020-04-15 12:54:46 +02:00
Ilja Neumann ca4e13e462 Add reva-gateway endpoint to service discovery
Reva can't be wrapped as a go-micro service due to private apis. We workaround byy manually registering the address and port in the service-registry.
2020-04-15 12:04:42 +02:00
Michael Barz fe16ff6e73 update flaex template 2020-04-15 12:03:14 +02:00
Michael Barz 454d29e7d8 Add Flagset extractor, generate configuration docs 2020-04-15 12:03:14 +02:00
Michael Barz e0f01a4971 Merge pull request #206 from owncloud/cp-config-into-dist
Added config.json inside phoenix dist
2020-04-15 12:03:02 +02:00
A.Unger acc5299609 update modules 2020-04-15 11:34:34 +02:00
A.Unger 23ce3445c0 load env variables from .env file on root Before hook 2020-04-15 11:34:24 +02:00
Parajuli Kiran bf6e8cc9c0 config.json added inside phoenix dist folder 2020-04-15 14:46:39 +05:45
Michael Barz 9aec725421 Automated changelog update [skip ci] 2020-04-15 07:56:53 +00:00
Michael Barz 5a09607a6b Merge pull request #63 from owncloud/release-0.5.0
Update Phoenix and prepare release
2020-04-15 09:40:48 +02:00
Lukas Hirt 4db82a5c3d Update Phoenix and prepare release 2020-04-14 22:26:53 +02:00
A.Unger a957a50e68 update import path 2020-04-14 19:37:57 +02:00
A.Unger 48c2b7eed5 remove unused struct 2020-04-14 19:35:27 +02:00
A.Unger af5d0d3bab rename micro/ -> server/ 2020-04-14 19:32:54 +02:00
Michael Barz f5e3ac8d82 Automated changelog update [skip ci] 2020-04-14 12:56:44 +00:00
Michael Barz ab472ccec4 Merge pull request #64 from owncloud/include-assets
include assets for #62
2020-04-14 14:52:16 +02:00
Michael Barz 6187ea4f5f include assets for #62 2020-04-14 14:43:08 +02:00
Jörn Friedrich Dreyer 78ead1a5d8 Automated changelog update [skip ci] 2020-04-14 11:09:39 +00:00
Jörn Friedrich Dreyer 8e33804ba7 fix eos config (#127)
* fix eos config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix ldap idp config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* set default file for user share manager json driver

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update reva

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update reva

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix user layouts and owncloud driver frontend dav prefix

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix acceptance tests

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-04-14 12:59:16 +02:00
Michael Barz aa6043c782 Automated changelog update [skip ci] 2020-04-14 09:02:00 +00:00
Michael Barz 6723b92f24 prepare 0.3.0 Release 2020-04-14 10:56:14 +02:00
Alex Unger 118ba7344d Merge pull request #19 from owncloud/fix-version-import
Fix version import
2020-04-10 19:02:11 +02:00
Benedikt Kulmann f44b9fa391 Fix version import 2020-04-09 06:48:59 +02:00
Ilja Neumann a2b6b52805 Automated changelog update [skip ci] 2020-04-08 15:07:10 +00:00
Ilja Neumann d38132ebaa Use konnectd-upstram v0.30.0 2020-04-08 17:01:05 +02:00
A.Unger 0698afea29 public link config on a working state 2020-04-08 12:10:13 +02:00
Michael Barz 638f05a9c2 Automated changelog update [skip ci] 2020-04-07 20:52:34 +00:00
Michael Barz def8c7bdcb Add coverage badge 2020-04-07 22:48:12 +02:00
Michael Barz a4b63c116e Remove gitter chat from Readme.md 2020-04-07 22:36:26 +02:00
Michael Barz bd5da39fe8 add badges 2020-04-07 22:32:58 +02:00
Michael Barz 622ecebfd5 Add defaults to log formatting 2020-04-07 22:22:35 +02:00
Michael Barz 8091a665fa Automated changelog update [skip ci] 2020-04-07 18:32:47 +00:00
Michael Barz 2d36f28754 Upgrade calens 2020-04-07 20:27:59 +02:00
Benedikt Kulmann a8af03c338 Initial boilerplate from boilr-ocis-extension. 2020-04-07 15:06:08 +02:00
Michael Barz 6fdbbd7e8e Initial commit 2020-04-07 14:35:50 +02:00
Ilja Neumann 617628b1a6 Integration test 2020-04-06 09:52:37 +02:00
Artur Neumann ed1ab2f3fb Merge pull request #181 from owncloud/drone-phoenix-webui
[Tests-Only] Run phoenix webui acceptance tests
2020-04-06 11:24:55 +05:45
Kiran Parajuli 62aefa0f5c Run phoenix webui acceptance tests 2020-04-06 09:24:53 +05:45
Michael Barz 0e0499c1fb Merge pull request #173 from owncloud/add-flaex
Add Flagset extractor, generate configuration docs
2020-04-04 21:33:20 +02:00
Michael Barz fb32128ab0 Merge pull request #162 from butonic/add-debug-docs
Add debugging docs
2020-04-04 00:02:19 +02:00
Michael Barz 06002d65a3 Automated changelog update [skip ci] 2020-04-03 21:53:30 +00:00
Michael Barz 957dd45bde Merge pull request #62 from owncloud/config/identifier-ux
[UX] Improve client identifiers for end users
2020-04-03 23:49:06 +02:00
Michael Barz fd36f66099 Add Flagset extractor, generate configuration docs 2020-04-03 23:43:46 +02:00
Michael Stingl e9c4e1cbc4 Rename client_names_md to client_names.md 2020-04-03 23:33:30 +02:00
Michael Stingl 4f212a80a2 Create client_names_md 2020-04-03 23:33:06 +02:00
Michael Stingl 59ee8dc1a9 Improve client identifiers for end users 2020-04-03 23:13:06 +02:00
Michael Barz 506a821280 Merge pull request #158 from butonic/fix_debug_build
do not strip debug data for debug build
2020-04-03 22:39:04 +02:00
David Christofas 7357426411 Automated changelog update [skip ci] 2020-04-03 11:08:34 +00:00
David Christofas ba40068c97 Merge pull request #61 from owncloud/fix_redirect_uris
add trailing slashes to phoenix redirect uris
2020-04-03 13:04:38 +02:00
David Christofas 222c8e345d add trailing slashes to phoenix redirect uris 2020-04-03 12:19:59 +02:00
David Christofas 5e044e745a Automated changelog update [skip ci] 2020-04-02 11:47:04 +00:00
David Christofas a49afa7cf5 Merge pull request #60 from owncloud/logout_redirect
trust the phoenix client
2020-04-02 13:42:51 +02:00
David Christofas 2e65c8455b trust the phoenix client 2020-04-02 13:20:16 +02:00
Michael Barz 98b0fc8ae6 Automated changelog update [skip ci] 2020-04-01 10:25:22 +00:00
Michael Barz 4723a0ebc3 Merge pull request #180 from owncloud/prepare-beta2
update extensions
2020-04-01 12:15:20 +02:00
Michael Barz 372b2532e4 update extensions 2020-04-01 12:03:29 +02:00
Michael Barz 93feca2a0f Automated changelog update [skip ci] 2020-04-01 08:35:12 +00:00
Michael Barz 115aab62a3 Merge pull request #62 from owncloud/release-0.4.1
Prepare Release v0.4.1
2020-04-01 10:30:43 +02:00
Michael Barz 88d59de21f Prepare Release v0.4.1 2020-04-01 10:20:18 +02:00
Michael Barz 3091f5672b Automated changelog update [skip ci] 2020-03-31 15:25:47 +00:00
Michael Barz 6110de3f67 Merge pull request #61 from owncloud/update-assets
Update assets
2020-03-31 17:21:27 +02:00
Michael Barz 03ba801650 Update assets 2020-03-31 15:43:28 +02:00
Michael Barz b092e9a2a8 Automated changelog update [skip ci] 2020-03-31 13:18:00 +00:00
Michael Barz 1b6596cb6d Add new version changelog 2020-03-31 15:06:49 +02:00
Michael Barz fea5f21bb0 Automated changelog update [skip ci] 2020-03-31 13:05:43 +00:00
Michael Barz a1c9b816c8 fix release date 2020-03-31 14:51:01 +02:00
Michael Barz ebc083f353 prepare Release v0.1.1 2020-03-31 14:50:02 +02:00
Michael Barz 7cdf5aa306 Automated changelog update [skip ci] 2020-03-31 12:44:51 +00:00
Michael Barz 596e9a4bf0 Automated changelog update [skip ci] 2020-03-31 12:35:54 +00:00
Michael Barz ee6cd5bdb5 Merge pull request #125 from butonic/fix-eos-config
fix eos config
2020-03-31 14:35:03 +02:00
Michael Barz 00d2b66ab1 Merge pull request #60 from owncloud/update-phoenix
Update Phoenix to v0.7.0
2020-03-31 14:32:02 +02:00
Michael Barz fb6bf5a2fa Update Phoenix to v0.7.0 2020-03-31 14:25:31 +02:00
Michael Barz 1a573446ef Automated changelog update [skip ci] 2020-03-31 12:21:06 +00:00
Michael Barz 59eff88f57 Merge pull request #19 from owncloud/prepare-release-0.1.0
prepare release 0.1.0
2020-03-31 14:17:04 +02:00
David Christofas 794f6e3536 prepare release 0.1.0 2020-03-31 12:55:38 +02:00
Michael Barz 3d26974593 Automated changelog update [skip ci] 2020-03-31 09:22:15 +00:00
Michael Barz 1d8f5c6228 Merge pull request #13 from owncloud/prepare-0.1.0-release
prepare 0.1.0 release
2020-03-31 11:18:22 +02:00
David Christofas af26eeffd8 prepare 0.1.0 release 2020-03-31 11:13:52 +02:00
David Christofas 74b03a1254 Automated changelog update [skip ci] 2020-03-31 09:05:37 +00:00
David Christofas 066a9dae4a Merge pull request #17 from owncloud/update-ocis-pkg
update ocis-pkg to 2.2.0
2020-03-31 11:01:43 +02:00
Michael Barz dbca195323 Automated changelog update [skip ci] 2020-03-31 09:01:01 +00:00
David Christofas 4171d5298f update ocis-pkg to 2.2.0 2020-03-31 10:57:11 +02:00
Michael Barz 12d1025617 Merge pull request #30 from owncloud/update-pkg
update ocis-pkg to 2.2.0
2020-03-31 10:56:53 +02:00
Michael Barz 72c6749099 update ocis-pkg to 2.2.0 2020-03-31 10:50:54 +02:00
PKiran 002bf9a0fb Merge pull request #166 from owncloud/run-api-tests
[Tests-Only] run API tests from oC 10 in CI
2020-03-31 12:46:17 +05:45
Jörn Friedrich Dreyer 9ef00931a5 fix eos config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-31 08:49:19 +02:00
Kiran Parajuli bab238c011 run API tests from oC 10 in CI 2020-03-31 12:10:13 +05:45
Jörn Friedrich Dreyer f584d12934 partially fix simple build
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-31 08:22:34 +02:00
Alex Unger 3bc901d193 Automated changelog update [skip ci] 2020-03-30 16:58:02 +00:00
Alex Unger 7d5e6c5acf Merge pull request #43 from owncloud/release/v2.2.0
Prepare 2.2.0 release
2020-03-30 18:55:47 +02:00
A.Unger 1fb6378187 prepare 2.2.0 release 2020-03-30 18:46:56 +02:00
David Christofas 2d47beb9a6 Automated changelog update [skip ci] 2020-03-30 14:03:40 +00:00
David Christofas 6f3453440b Merge pull request #42 from owncloud/add-header-to-allowed-headers
add header to access-control-allow-headers
2020-03-30 16:01:59 +02:00
David Christofas 3b8809c990 add header to access-control-allow-headers 2020-03-30 14:58:40 +02:00
Michael Barz 6ab60e7cc1 Automated changelog update [skip ci] 2020-03-30 11:04:34 +00:00
Michael Barz b805f3840f Prepare 0.3.0 Release 2020-03-30 12:58:32 +02:00
Alex Unger eef06967f7 Merge pull request #17 from kulmann/fix-docs-link
Fix link to docs
2020-03-28 19:25:55 +01:00
Benedikt Kulmann 89587b336d Fix link to docs 2020-03-28 15:29:40 +01:00
Michael Barz 5c069aeaf8 Merge pull request #12 from owncloud/fix-docs
Move templates to a separate folder
2020-03-27 12:32:59 +01:00
Michael Barz f8afe85c3e Move templates to a separate folder 2020-03-27 12:24:28 +01:00
Ilja Neumann 6ce95072a6 Automated changelog update [skip ci] 2020-03-27 10:01:36 +00:00
Ilja Neumann 976c13cf62 Redirect http-requests to https (#29) 2020-03-27 10:57:32 +01:00
Michael Barz 5c5651eb4a Merge pull request #11 from owncloud/format-protdoc
Better formatting of protodocs
2020-03-27 09:14:45 +01:00
Ilja Neumann e3bcc0d5aa Automated changelog update [skip ci] 2020-03-27 05:41:03 +00:00
Ilja Neumann c523942899 User based routing
Implements a configurable "migration" policy-selector which reads the preferred_username attribute from
the oidc claims and checks if the uid exists in the ocis-accounts service.

A configurable policy-name can be selected based on the outcome of the check.
2020-03-27 06:36:17 +01:00
Michael Barz 5841cd7b6f Better formatting of protodocs 2020-03-26 22:23:16 +01:00
David Christofas b0a89936b6 Merge pull request #10 from owncloud/update-docs
Update docs
2020-03-26 15:22:19 +01:00
David Christofas 336565fe24 add protobuf documentation 2020-03-26 11:25:57 +01:00
David Christofas cc0837ec3c Automated changelog update [skip ci] 2020-03-26 09:00:33 +00:00
David Christofas 7ae69b42e1 Merge pull request #8 from owncloud/predefined-resolutions
use predefined resolutions for thumbnail generation
2020-03-26 09:56:45 +01:00
David Christofas e9c2de26a5 rename package 2020-03-26 09:49:37 +01:00
Ilja Neumann 112552af1d Automated changelog update [skip ci] 2020-03-26 08:48:48 +00:00
Ilja Neumann b20b05806e Integrate oid-middleware
This feature is required for user-based routing.
2020-03-26 09:44:51 +01:00
Artur Neumann a61bc82c72 Merge pull request #121 from owncloud/litmus-test
[Tests-only] Run litmus test in CI
2020-03-26 13:42:26 +05:45
Michael Barz 404fd1e184 Merge pull request #168 from owncloud/ocis-proxy-v0.2.1
Update ocis-proxy to v0.2.1
2020-03-26 08:56:31 +01:00
Ilja Neumann 7cd606f82b Update ocis-proxy to v0.2.1 2020-03-26 08:48:02 +01:00
Dipak Acharya adef72f76f [Tests-only] Run litmus test in CI 2020-03-26 13:07:04 +05:45
Michael Barz baa03421e1 Automated changelog update [skip ci] 2020-03-25 21:44:36 +00:00
Michael Barz d7d53b99fb Merge pull request #26 from owncloud/prepare_release_0.2.1
Prepare Release 0.2.1
2020-03-25 22:38:18 +01:00
Ilja Neumann be09ea99b5 Prepare Release 0.2.1 2020-03-25 17:04:00 +01:00
Ilja Neumann b2a2e55ca4 Automated changelog update [skip ci] 2020-03-25 16:02:19 +00:00
David Christofas 0e2223819d rename context 2020-03-25 16:56:45 +01:00
Ilja Neumann 1aa2b1df07 Fix TLS-Certificate not set correctly 2020-03-25 16:55:58 +01:00
Ilja Neumann a42a5223a7 Automated changelog update [skip ci] 2020-03-25 14:38:05 +00:00
Ilja Neumann 5014fc6f4a Update ocis-proxy to v0.2.0 2020-03-25 15:31:50 +01:00
Michael Barz 8beb616d22 Automated changelog update [skip ci] 2020-03-25 14:04:26 +00:00
Michael Barz ca5972a62e Merge pull request #24 from owncloud/prepare_release_0_2_0
Prepare release 0.2.0
2020-03-25 15:00:27 +01:00
Ilja Neumann 651650274a Prepare release 0.2.0 2020-03-25 14:54:03 +01:00
David Christofas 39ea10a886 small refactorings 2020-03-25 14:37:13 +01:00
David Christofas 01672d1da5 update documentation 2020-03-25 11:57:09 +01:00
David Christofas cfd6b9cf91 fix type in flagset 2020-03-25 11:56:39 +01:00
David Christofas 25be476771 Automated changelog update [skip ci] 2020-03-25 09:40:50 +00:00
David Christofas d72abc682d Merge pull request #15 from owncloud/changelog-template
fix changelog template
2020-03-25 10:36:59 +01:00
David Christofas 4e47bda501 fix changelog template 2020-03-25 10:26:13 +01:00
Ilja Neumann 76ce6402eb Automated changelog update [skip ci] 2020-03-25 08:48:23 +00:00
Ilja Neumann 6e33472b40 Make TLS-Certificate configurable
Currently the proxy generates certificates on every start for dev purposes. This commit adds an option to make this behaviour configurable.
This also removes the dependency on konnectd`s crypto code and copies it instead, as this library is a first version which is not meant for usage by other services.

A proper cert-generation lib should be added to ocis-pkg instead. Then this code can be refactored to use it.
2020-03-25 09:44:18 +01:00
Alex Unger 4dd08c9f7b Merge branch 'master' into add-debug-docs 2020-03-24 12:39:57 +01:00
David Christofas eb820e1ab7 add comment to test structure 2020-03-24 11:05:08 +01:00
David Christofas 72d1497d1f Automated changelog update [skip ci] 2020-03-24 10:04:30 +00:00
David Christofas 38fc0d2fcb Merge pull request #22 from owncloud/advanced-route-matching
route requests based on pattern or query parameters
2020-03-24 11:00:20 +01:00
David Christofas a86e745c75 use labeled break 2020-03-24 10:55:09 +01:00
David Christofas 1cd3f8936d add unit tests 2020-03-24 10:43:01 +01:00
David Christofas eb539bc78e implement review feedback 2020-03-24 10:42:47 +01:00
David Christofas a718777747 route requests based on pattern or query parameters 2020-03-23 19:13:46 +01:00
David Christofas 88e85e42d3 route requests based on pattern or query parameters 2020-03-23 19:10:23 +01:00
Ilja Neumann b04f1f9e36 Automated changelog update [skip ci] 2020-03-23 12:05:29 +00:00
Ilja Neumann 60a1e6a143 Proxy client urls in default configuration #19 2020-03-23 13:01:29 +01:00
David Christofas 3daf985f4c add changelog 2020-03-23 12:00:04 +01:00
David Christofas 3de4584a45 use predefined resolutions for thumbnail generation 2020-03-23 11:52:33 +01:00
Jörn Friedrich Dreyer 2cefbad21a Automated changelog update [skip ci] 2020-03-23 09:49:54 +00:00
Jörn Friedrich Dreyer 68354d557b fix hints 2020-03-23 10:46:42 +01:00
Jörn Friedrich Dreyer cb37d4f026 Merge pull request #164 from butonic/update-reva
update reva to v0.1.0
2020-03-23 10:43:09 +01:00
Jörn Friedrich Dreyer 25b13269d6 update reva to v0.1.0
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-23 09:35:01 +01:00
Michael Barz 98612fc611 Automated changelog update [skip ci] 2020-03-23 07:38:59 +00:00
Michael Barz bf3de8a4dc Release 0.1.0 2020-03-23 08:26:41 +01:00
Jörn Friedrich Dreyer 7aecc11014 Automated changelog update [skip ci] 2020-03-22 09:07:08 +00:00
Jörn Friedrich Dreyer 7ae8fc22f5 update reva (#113)
* new ocis config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* Change default settings to be able to run ocis server without any configuration

- Konnectd uses no TLS as it is behind the proxy.
- Glauth generates dev-certificates for ldap on startup if none is provided.
- Glauth can launch unencrypted (9125) and encrypted (9126) port in parallel

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* allow configuring user sharing driver, default to json

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update reva

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* switch to preferred_username as opaqueid

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update drone config to override new defaults to match test environment

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use latest reva

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* typo

* use updatet api tests

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* core tests got merged already

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-22 09:56:13 +01:00
David Christofas 43bf107207 implement a resolution handler 2020-03-21 18:50:18 +01:00
Jörn Friedrich Dreyer 85b534833f Add debugging docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-20 16:58:48 +01:00
Michael Barz 61fbe72df1 Merge pull request #161 from owncloud/getting-started
Split getting-started and configuration in docs
2020-03-20 16:44:28 +01:00
Jörn Friedrich Dreyer f15e6185fe config file is service specific 2020-03-20 16:37:55 +01:00
Michael Barz 1585d68678 Split getting-started and configuration in docs 2020-03-20 16:32:58 +01:00
Michael Barz 99c4e1df10 Merge pull request #160 from owncloud/update-readme-single-services
Update README to clarify how to run single extensions
2020-03-20 14:58:40 +01:00
Vincent Petry c6a15692ab Update README to clarify how to run single extensions 2020-03-20 14:44:36 +01:00
Jörn Friedrich Dreyer 7ae718f62b do not strip debug data for debug build
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-20 11:52:28 +01:00
David Christofas 9bb7ee38f7 Automated changelog update [skip ci] 2020-03-20 08:24:22 +00:00
David Christofas 53dcc9512c Merge pull request #157 from owncloud/add-thumbnails-command
add thumbnails command
2020-03-20 09:17:38 +01:00
David Christofas a0f949cb14 add thumbnails command 2020-03-19 15:59:57 +01:00
David Christofas 711d1be75a Merge pull request #13 from owncloud/thumbnail-api
Implement dav file preview API like in OC10
2020-03-19 14:59:06 +01:00
David Christofas 956c0a6f60 remove replace from go.mod file 2020-03-19 14:49:00 +01:00
David Christofas 5e477d0405 don't default to filetype png 2020-03-19 14:42:30 +01:00
Vincent Petry ad9a1f1b15 Merge pull request #155 from owncloud/update-readme-for-proxy
Update README to point at port 9200
2020-03-19 11:27:34 +01:00
Vincent Petry 748c75b2e0 Update README to point at port 9200 2020-03-19 11:07:10 +01:00
David Christofas be27ec57d3 Merge branch 'master' into thumbnail-api 2020-03-19 10:03:09 +01:00
Jörn Friedrich Dreyer 0ac7766287 Automated changelog update [skip ci] 2020-03-18 22:02:26 +00:00
Jörn Friedrich Dreyer 4c4296ed99 Merge pull request #151 from owncloud/ocis-single-binary-defaults
Change default settings to be able to run ocis server without any con…
2020-03-18 22:56:36 +01:00
Ilja Neumann 2615b65021 Change default settings to be able to run ocis server without any configuration
- Konnectd uses no TLS as it is behind the proxy
- Glauth generates dev-certificates for ldap on startup if none are provided,
- Glauth can launch unencrypted (9125) and encrypted (9126) port in parallel

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-18 22:50:07 +01:00
Michael Barz 981cf469bf Automated changelog update [skip ci] 2020-03-18 20:50:45 +00:00
Michael Barz 7396171c15 Release 0.4.0 2020-03-18 21:46:32 +01:00
Michael Barz 301a9f609c Automated changelog update [skip ci] 2020-03-18 20:40:51 +00:00
Michael Barz ad4b3841e1 Automated changelog update [skip ci] 2020-03-18 20:39:10 +00:00
Michael Barz ff3ca75cd8 Merge pull request #12 from owncloud/ocis-single-binary-defaults
Change default settings to be able to run ocis server without any con…
2020-03-18 21:36:16 +01:00
Michael Barz 53f5f5ef2a Merge pull request #56 from owncloud/release-0.2.0
Release 0.2.0
2020-03-18 21:34:48 +01:00
Michael Barz bdbef052f5 Release 0.2.0 2020-03-18 21:28:37 +01:00
Michael Barz 0d14744d77 Automated changelog update [skip ci] 2020-03-18 20:25:23 +00:00
Michael Barz 750cc83274 Merge pull request #55 from owncloud/ocis-single-binary-defaults
Change default settings to be able to run ocis server without any con…
2020-03-18 21:21:04 +01:00
Ilja Neumann a2a730ce5a Update changelog 2020-03-18 21:15:48 +01:00
Ilja Neumann 7962c3a867 changelog 2020-03-18 21:05:53 +01:00
Ilja Neumann 6bd82c37ef Change default settings to be able to run ocis server without any configuration
- Konnectd uses no TLS as it is behind the proxy
- Glauth generates dev-certificates for ldap on startup if none are provided,
- Glauth can launch unencrypted (9125) and encrypted (9126) port in parallel
2020-03-18 20:59:09 +01:00
Michael Barz 77b99c1afb Automated changelog update [skip ci] 2020-03-18 19:41:09 +00:00
Michael Barz bc61a1920a Merge pull request #16 from owncloud/release-0.1.0
Release 0.1.0
2020-03-18 20:37:34 +01:00
Ilja Neumann cc10b14134 Change default settings to be able to run ocis server without any configuration
- Konnectd uses no TLS as it is behind the proxy
- Glauth generates dev-certificates for ldap on startup if none are provided,
- Glauth can launch unencrypted (9125) and encrypted (9126) port in parallel
2020-03-18 20:18:52 +01:00
Michael Barz 0f7bdcc96f Release 0.1.0 2020-03-18 19:36:25 +01:00
Alex Unger cc66a0531d Merge pull request #14 from owncloud/feature/config
Load config from Viper on Before hook
2020-03-18 19:11:33 +01:00
Alex Unger f4e7e16758 Automated changelog update [skip ci] 2020-03-18 18:09:30 +00:00
Alex Unger 5de6b98153 Merge pull request #14 from owncloud/feature/config
Load Config from Viper on Before hook
2020-03-18 19:05:10 +01:00
A.Unger 44d118cc79 add changelog 2020-03-18 18:59:31 +01:00
Alex Unger 9a5a6e029d Automated changelog update [skip ci] 2020-03-18 17:58:20 +00:00
A.Unger 6b60a4ed23 add changelog skeleton 2020-03-18 18:57:22 +01:00
A.Unger 3f67d9d7bb use ParseConfig on server command 2020-03-18 18:56:57 +01:00
A.Unger c07f97ff40 abstract ParseConfig to its own scope 2020-03-18 18:56:35 +01:00
Alex Unger d5b2ac42ce Merge pull request #27 from owncloud/feature/config
Load config from Viper on Before hook
2020-03-18 18:53:46 +01:00
A.Unger 1c9f0fae70 populate changelog file 2020-03-18 18:52:54 +01:00
A.Unger 0b06f7ad6d add changelog skeleton 2020-03-18 18:51:48 +01:00
A.Unger f34309adec use ParseConfig on server command 2020-03-18 18:51:17 +01:00
A.Unger 382f356e23 abstract ParseConfig to its own scope 2020-03-18 18:50:44 +01:00
A.Unger 4650aa5e51 add changelog 2020-03-18 18:47:14 +01:00
A.Unger e20a7956c4 use ParseConfig on server command 2020-03-18 18:45:03 +01:00
A.Unger 628fc50fc3 abstract ParseConfig to its own scope 2020-03-18 18:44:43 +01:00
Michael Barz b11ce24061 Automated changelog update [skip ci] 2020-03-18 16:03:44 +00:00
Michael Barz 42b3e18275 Merge pull request #54 from owncloud/release-0.1.0
Release 0.1.0
2020-03-18 16:58:49 +01:00
Michael Barz 1e90fcacb2 Release 0.1.0 2020-03-18 16:37:12 +01:00
Michael Barz 5888e10e0c Automated changelog update [skip ci] 2020-03-18 14:52:42 +00:00
Michael Barz cd787414fe Merge pull request #18 from owncloud/release-0.1.0
Release 0.1.0
2020-03-18 15:48:43 +01:00
Michael Barz e23002a970 Automated changelog update [skip ci] 2020-03-18 14:36:00 +00:00
Michael Barz 52ebfc7c02 Release 0.1.0 2020-03-18 15:35:56 +01:00
Michael Barz 9f928f9708 Changelog for pull/11 2020-03-18 15:31:38 +01:00
David Christofas 9d28990562 implement review feedback and add changelog 2020-03-18 15:05:09 +01:00
Alex Unger 2bcd722253 Merge pull request #11 from owncloud/feature/config
Load Config from Viper on Before hook
2020-03-18 14:46:18 +01:00
Alex Unger d524de08bf Automated changelog update [skip ci] 2020-03-18 13:40:19 +00:00
Alex Unger 89b55176b0 Merge pull request #15 from owncloud/feature/config
Load Config from Viper on Before hook
2020-03-18 14:35:40 +01:00
David Christofas 852133fa46 remove replace from go.mod file 2020-03-18 14:34:01 +01:00
A.Unger c8c66c8b31 call ParseConfig on server command 2020-03-18 14:31:30 +01:00
A.Unger d06f84627c abstract ParseConfig to its own scope 2020-03-18 14:31:15 +01:00
A.Unger 58ed4a881a fix references 2020-03-18 14:29:47 +01:00
A.Unger 274fa6693a update env variables to match those of Viper 2020-03-18 14:22:15 +01:00
A.Unger 5c91e7de68 use ACCOUNTS as prefix instead of OCIS_ACCOUNTS 2020-03-18 14:17:58 +01:00
A.Unger d5b2dfc3ac leftover phoenix 2020-03-18 14:15:11 +01:00
David Christofas e0ab0b37a5 Automated changelog update [skip ci] 2020-03-18 13:15:05 +00:00
Alex Unger cf923691ea Automated changelog update [skip ci] 2020-03-18 13:11:34 +00:00
David Christofas 96e3ec5b8f Merge pull request #3 from owncloud/thumbnail_service
Thumbnails Service
2020-03-18 14:11:15 +01:00
Alex Unger 030928f2a9 Merge pull request #57 from owncloud/feature/config
Load Config from Viper on Before hook
2020-03-18 14:07:15 +01:00
A.Unger 5a36879b5b tidy deps: remove ocis-pkg@v1 2020-03-18 13:58:24 +01:00
A.Unger d5fb7dd1ea use ocis-pkg/v2 2020-03-18 13:57:30 +01:00
A.Unger e967b7b71b add changelog 2020-03-18 13:16:46 +01:00
A.Unger 9b18154e71 fix PR link 2020-03-18 13:16:27 +01:00
A.Unger 85a29dc456 changelog 2020-03-18 13:15:19 +01:00
A.Unger ef2e3dc962 parse configuration on before hook on server command 2020-03-18 13:11:17 +01:00
A.Unger df05ea082a move viper config parsing to its scope 2020-03-18 13:11:04 +01:00
A.Unger 037b12022a update dependencies 2020-03-18 13:10:46 +01:00
A.Unger 961da9b8f0 comment exported ParseConfig func 2020-03-18 13:02:28 +01:00
A.Unger f737dd6aa6 parse configuration on before hook on server command 2020-03-18 12:54:46 +01:00
A.Unger 57d90d7fcf move vipoer config parsing to its scope 2020-03-18 12:54:31 +01:00
A.Unger 6d47bb809a Automated changelog update [skip ci] 2020-03-18 11:17:33 +00:00
A.Unger e1d0d0715b add changelog 2020-03-18 12:12:12 +01:00
A.Unger 747e345b08 rename reverseproxy -> rp 2020-03-18 12:12:12 +01:00
A.Unger ae8150dd57 added logging info 2020-03-18 12:12:12 +01:00
A.Unger 52b81a8605 add default runtime redirects 2020-03-18 12:12:12 +01:00
A.Unger b0e8dbba85 remove mapstructure from config directives 2020-03-18 12:12:12 +01:00
A.Unger 356ad9c9e7 add debug lines 2020-03-18 12:12:12 +01:00
David Christofas 142c5950a0 make filetype dynamic based on file extension 2020-03-18 11:23:49 +01:00
David Christofas 024e4661e2 add mimetype to service response 2020-03-18 11:13:09 +01:00
Michael Barz ea33cfce39 Automated changelog update [skip ci] 2020-03-17 21:38:38 +00:00
Michael Barz 12da18cbd5 Merge pull request #56 from owncloud/release-0.3.0
Release 0.3.0
2020-03-17 22:25:11 +01:00
Michael Barz a5dbced66a Automated changelog update [skip ci] 2020-03-17 21:23:14 +00:00
Michael Barz 3931f1d5af Merge pull request #10 from owncloud/release-0.3.0
Release 0.3.0
2020-03-17 22:18:27 +01:00
Michael Barz c921c57db3 Release 0.3.0 2020-03-17 22:16:59 +01:00
Michael Barz 1039cc767b Release 0.3.0 2020-03-17 22:12:15 +01:00
Jörn Friedrich Dreyer 8aa4efe22d Automated changelog update [skip ci] 2020-03-17 19:06:56 +00:00
Jörn Friedrich DreyerandAlex Unger 8971a1e066 integrate with current ocis config (#52)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Alex Unger <zyxancf@gmail.com>
2020-03-17 20:02:28 +01:00
Alex Unger 59a5d4e67c Automated changelog update [skip ci] 2020-03-17 18:29:06 +00:00
Jörn Friedrich Dreyer 2ce6ae5d94 Automated changelog update [skip ci] 2020-03-17 18:27:15 +00:00
Alex Unger 7345e10e05 Merge pull request #55 from butonic/update-config
integrate with current ocis config
2020-03-17 19:24:38 +01:00
Jörn Friedrich Dreyer 8e945cc970 Merge pull request #9 from butonic/physicist-demo-users
use physicist demo users
2020-03-17 19:21:51 +01:00
Jörn Friedrich Dreyer b7a5b86405 use physicist demo users
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-17 18:13:04 +01:00
Jörn Friedrich Dreyer 6738304669 integrate with current ocis config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-17 18:08:12 +01:00
David Christofas e21b129595 implement thumbnail api 2020-03-17 18:03:39 +01:00
Jörn Friedrich Dreyer d654079df8 Automated changelog update [skip ci] 2020-03-17 16:55:08 +00:00
Jörn Friedrich Dreyer 6b7361d94c Merge pull request #13 from owncloud/feature/embedded-mode
Load Config from Viper on Before hook
2020-03-17 17:49:08 +01:00
Alex Unger c16003d47e Load config from Viper on Before hook (#51)
* abstract ParseConfig to its own scope

* remove hardcoded values

* parse config from root if present

* update example.json

* fix linter

* code style
2020-03-17 17:48:25 +01:00
Jörn Friedrich Dreyer 43e1dd6315 Merge pull request #148 from owncloud/feature/propagate-config-file
Make extensions handle their config
2020-03-17 17:48:03 +01:00
A.Unger 1fe8b26f1c fix linter 2020-03-17 16:40:18 +01:00
A.Unger 4be2ad5972 update deps 2020-03-17 16:36:17 +01:00
A.Unger 83b8b762cb update branch 2020-03-17 15:10:25 +01:00
A.Unger ec58f6a123 update dependencies 2020-03-17 15:01:36 +01:00
A.Unger 74fd634a2b update all sub commands 2020-03-17 15:01:09 +01:00
A.Unger 076383e79d call runtime with the current cli context on ocis_simple 2020-03-17 15:00:43 +01:00
A.Unger e1405995be remove config parsing block from root command 2020-03-17 15:00:18 +01:00
A.Unger e369509df3 call runtime with the current cli context 2020-03-17 14:59:54 +01:00
A.Unger ca17f2da9e add context option on runtime 2020-03-17 14:59:37 +01:00
A.Unger c76f1413d3 update runtime package: command calling more intuitive 2020-03-17 14:58:58 +01:00
A.Unger f989555e81 document configuration 2020-03-17 14:58:09 +01:00
A.Unger 972b2ffe30 document why we use ParseConfig on server before hook 2020-03-17 14:39:13 +01:00
A.Unger c74e5f5434 document ParseConfig 2020-03-17 14:35:40 +01:00
A.Unger e2fec340eb code style 2020-03-17 14:34:45 +01:00
A.Unger 40a27c9e93 save allocation 2020-03-17 14:34:32 +01:00
A.Unger 83570eccde update example config 2020-03-17 14:34:11 +01:00
Jörn Friedrich Dreyer b7cd9a5079 Merge pull request #145 from butonic/glauth
replace devldap with glauth
2020-03-17 13:38:20 +01:00
Jörn Friedrich Dreyer 9702541f23 replace devldap with glauth
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-17 12:31:31 +01:00
Michael Barz bd43cb5cb9 Automated changelog update [skip ci] 2020-03-17 11:25:44 +00:00
Michael Barz 9ee6ce89be Merge pull request #8 from owncloud/release-0.2.0
Release 0.2.0
2020-03-17 12:21:16 +01:00
Michael Barz 0ff9f550e3 Automated changelog update [skip ci] 2020-03-17 11:05:33 +00:00
Michael Barz c6a50d4e95 Merge pull request #54 from owncloud/release-0.2.0
Release 0.2.0
2020-03-17 11:59:28 +01:00
Michael Barz 990989840e Release 0.2.0 2020-03-17 11:58:06 +01:00
Michael Barz f9ef532430 Automated changelog update [skip ci] 2020-03-17 10:56:36 +00:00
Michael Barz 366b710186 Merge pull request #7 from butonic/add-changelog
add missing changelog
2020-03-17 11:48:52 +01:00
Jörn Friedrich Dreyer a7ef914b45 add missing changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-17 11:40:37 +01:00
Michael Barz e744b39d93 Release 0.2.0 2020-03-17 11:29:53 +01:00
Thomas Müller 4e1a5ad5c6 Merge pull request #6 from butonic/config-backend
default to config backend
2020-03-17 08:49:39 +01:00
Jörn Friedrich Dreyer 327731160c default to config backend
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-16 23:10:28 +01:00
Alex Unger 33dc4ce7ac Automated changelog update [skip ci] 2020-03-16 16:43:15 +00:00
Alex Unger dfc1918d23 Merge pull request #53 from owncloud/update-phoenix
Update phoenix to 0.6.0
2020-03-16 17:33:47 +01:00
Michael Barz e8b9629460 Update phoenix to 0.6.0 2020-03-16 17:19:18 +01:00
A.Unger c9010a3016 move commands to its scope 2020-03-16 17:17:56 +01:00
Michael Barz 6a3afe2aac Automated changelog update [skip ci] 2020-03-16 16:07:31 +00:00
Michael Barz 1bd965f612 Merge pull request #40 from owncloud/release-2.1.0
Correct 2.0.1, prepare 2.1.0 Release
2020-03-16 17:05:03 +01:00
David Christofas 06151de3f4 implement metrics, logging and tracing 2020-03-16 16:55:10 +01:00
Michael Barz 7375d5ac52 Correct 2.0.1, prepare 2.1.0 Release 2020-03-16 16:15:10 +01:00
A.Unger 52bb4c0e1a delete helpers file 2020-03-16 12:21:06 +01:00
A.Unger e4fee19170 remove unecessary mapstruct 2020-03-16 12:09:28 +01:00
A.Unger 6c1ed02acd arrange config.Config 2020-03-16 11:27:27 +01:00
A.Unger fc1389b087 call ParseConfig on server command 2020-03-16 11:26:45 +01:00
A.Unger c863d6f71f abstract ParseConfig to its own scope 2020-03-16 11:26:31 +01:00
A.Unger 86f7220526 remove hacky embedded-config flag 2020-03-16 11:25:50 +01:00
A.Unger 9105d285bd add http info to config 2020-03-16 11:24:31 +01:00
Ilja Neumann 439cc7d4f5 Fix tls-key flag (#50) 2020-03-14 09:09:48 +01:00
David Christofas 35141c8e09 implement grpc service and remove http service 2020-03-13 14:37:52 +01:00
A.Unger 739d226d09 add embedded-config flag, override config.File if present 2020-03-13 10:52:42 +01:00
A.Unger 8c1f12a164 add loader helper (temporary fix, move away from the helper pattern) 2020-03-13 10:52:22 +01:00
A.Unger f0d9b00f38 load config from embedded-config if running on embedded mode 2020-03-13 10:51:55 +01:00
A.Unger b1973f379a tidy deps 2020-03-13 10:51:28 +01:00
Ilja Neumann 343ba5025a Automated changelog update [skip ci] 2020-03-12 15:44:33 +00:00
Ilja Neumann 1e0f04dcbf Start proxy with ocis server command #136 2020-03-12 16:38:08 +01:00
Alex Unger ac36341759 Merge pull request #12 from owncloud/various-improvements
Small fixes
2020-03-12 09:47:42 +01:00
Vincent Petry 63328c7a40 Fix demo user name (#137)
Rename "einstein" to "albert" as only the latter works.
2020-03-12 04:25:00 +01:00
Ilja Neumann 9ac6a9bf54 Remove unneeded type specification 2020-03-12 01:34:01 +01:00
Ilja Neumann c9171beb0a Fix unhandled error 2020-03-12 01:27:53 +01:00
Vincent Petry 0babdbc31e Merge pull request #135 from owncloud/readme-prereqs
Move readme prerequisites before the quickstart
2020-03-11 17:25:35 +01:00
Vincent Petry f6d66d35bf Move readme prerequisites before the quickstart
Move the prerequisites before the quickstart section to make sure people read them and execute them beforehand.
2020-03-11 16:44:21 +01:00
David Christofas 78a92cf722 use filepath.Join instead of path.Join 2020-03-11 16:00:51 +01:00
David Christofas f5f68e27dc use os.TempDir() for portable temporary directory 2020-03-11 15:58:40 +01:00
David Christofas 016471532a add changelog 2020-03-11 15:46:52 +01:00
David Christofas f9d0f7e413 add comment 2020-03-11 15:18:32 +01:00
David Christofas 1389cd742e add proper logging 2020-03-11 15:11:12 +01:00
David Christofas 985c11896f refactoring: implement review feedback 2020-03-11 14:18:25 +01:00
Alex Unger b5649320a2 Merge pull request #13 from owncloud/feature/tracing
Tracing
2020-03-11 14:02:59 +01:00
Alex Unger 3ff0e2fd47 Basic span definitions (#49)
* use directly the trace middleware instead of the fancy tracing service

* cannot rely on mux middlewares

* add hops
2020-03-11 13:25:26 +01:00
Michael Barz cc9c2d1c6e Automated changelog update [skip ci] 2020-03-11 08:52:23 +00:00
Michael Barz 2e5f2226d1 Merge pull request #37 from owncloud/add-publishing-step
Add publishing to GH step without building binaries
2020-03-11 09:50:42 +01:00
Michael Barz d4f7f29275 Automated changelog update [skip ci] 2020-03-11 08:32:29 +00:00
Michael Barz 6480276703 Merge pull request #133 from owncloud/align-formatting
Align the changelog formatting
2020-03-11 09:25:28 +01:00
Michael Barz eca0acc33a Align the changelog formatting 2020-03-10 17:02:03 +01:00
A.Unger dfd6bfa2cc add tracing 2020-03-10 15:15:22 +01:00
Michael Barz efc9d0173e Add publishing to GH step without building binaries 2020-03-10 14:53:28 +01:00
David Christofas 261429ef72 Merge branch 'master' into thumbnail_service 2020-03-10 14:52:52 +01:00
Michael Barz e36a7ef0cc Typo in CHANGELOG.tmpl 2020-03-10 14:52:46 +01:00
Michael Barz 78b5231ac2 Update manifest.tmpl 2020-03-10 14:52:46 +01:00
Michael Barz 61d0e5263c Update README.md 2020-03-10 14:52:46 +01:00
Michael Barz e0354f2ce9 Fix Formatting 2020-03-10 14:52:46 +01:00
David Christofas 2a587b37c8 clean up and add comments 2020-03-10 14:47:42 +01:00
A.Unger 065c8a2475 set default log values 2020-03-10 14:22:03 +01:00
A.Unger 65c29c77b6 enable tracing middleware 2020-03-10 14:14:03 +01:00
Michael Barz 5a38d286e5 Automated changelog update [skip ci] 2020-03-10 10:01:27 +00:00
David Christofas d8c359332b rename Context 2020-03-10 10:57:30 +01:00
Michael Barz c2ccaebe5b Merge pull request #10 from owncloud/central-docs
Docs Edit links, Changelog template, Makefile
2020-03-10 10:56:59 +01:00
Michael Barz 0a07d7e663 Docs Edit links, Changelog template, Makefile 2020-03-09 22:09:00 +01:00
Ilja Neumann 3229918f93 Automated changelog update [skip ci] 2020-03-09 18:58:57 +00:00
Ilja Neumann 918f446bb1 Don't create dummy index.html for webapp #25
Downstream does not require webapp anymore
2020-03-09 19:54:17 +01:00
Ilja Neumann 565c6ee91d Add env-vars 2020-03-09 19:35:26 +01:00
Ilja Neumann 1416fe137e Update args 2020-03-09 19:35:26 +01:00
Alex Unger 0feb2f15a4 Merge pull request #48 from owncloud/feat/tracing
Tracing Middleware
2020-03-09 19:03:02 +01:00
David Christofas 4647168160 clean up and add comments 2020-03-09 17:03:33 +01:00
A.Unger d214f4c724 update ocis-pkg 2020-03-09 16:39:34 +01:00
Alex Unger 5c659fd4b0 Merge pull request #36 from owncloud/fix/tracing
Report trace on a single service basis
2020-03-09 16:09:24 +01:00
David Christofas 975387822b add config for filesystem storage 2020-03-09 16:01:20 +01:00
A.Unger 990bd70a30 gopls pls... 2020-03-09 15:49:03 +01:00
A.Unger 855a3e006e create span regardless of a context or not 2020-03-09 15:35:02 +01:00
A.Unger ebb1ccd97d Merge branch 'master' into feat/tracing 2020-03-09 15:17:21 +01:00
A.Unger 63fd73ccda locl goverage 2020-03-09 15:15:54 +01:00
A.Unger d6339c4326 remove defensive code 2020-03-09 15:14:51 +01:00
A.Unger 568667318a use tracing middleware from ocis-pkg 2020-03-09 15:14:25 +01:00
A.Unger e33450cf08 use ocis-pkg edge 2020-03-09 15:13:53 +01:00
Jörn Friedrich Dreyer 7e0d3cab34 Merge pull request #35 from owncloud/feat/tracing-middleware
Tracing Middleware
2020-03-09 14:55:48 +01:00
A.Unger 37edb13e98 add tools.go 2020-03-09 14:39:26 +01:00
A.Unger eb671775b0 tidy modules 2020-03-09 14:36:17 +01:00
A.Unger d896336869 add changelog 2020-03-09 14:35:55 +01:00
A.Unger 2442046361 add tracing middleware 2020-03-09 14:33:55 +01:00
Michael Barz deb9d0a754 Automated changelog update [skip ci] 2020-03-09 12:02:40 +00:00
Michael Barz 4d6befb373 Merge pull request #4 from owncloud/changelog-formatting
Fix Formatting of Changelog, docker images
2020-03-09 12:58:17 +01:00
Michael Barz 06b52688e9 Fix Formatting of Changelog, docker images 2020-03-09 12:51:02 +01:00
Michael Barz 30746ab36a Typo in CHANGELOG.tmpl 2020-03-09 12:42:56 +01:00
Michael Barz d60177a094 Update manifest.tmpl 2020-03-09 12:05:31 +01:00
Michael Barz 2460db2510 Update README.md 2020-03-09 12:04:02 +01:00
Michael Barz 225680bd46 Automated changelog update [skip ci] 2020-03-09 11:00:11 +00:00
Michael Barz 9f9777008c Merge pull request #2 from owncloud/initial-changelog
Fix Formatting
2020-03-09 11:58:04 +01:00
Michael Barz 848433a231 Fix formatting 2020-03-09 11:54:11 +01:00
Michael Barz 1274efba21 Fix Formatting 2020-03-09 11:51:09 +01:00
Michael Barz 1c32865f64 Improve formatting 2020-03-09 11:17:57 +01:00
A.Unger 2dcddd2286 ignore not okay context decoding 2020-03-06 17:25:18 +01:00
A.Unger 6c8e3ffc77 update opentracing-go dep 2020-03-06 17:25:18 +01:00
A.Unger 868db44531 add todo comment: update micro/cli to support StringSlice flags destination 2020-03-06 17:25:18 +01:00
A.Unger 8324842805 apply tracing middleware only when tracing is enabled 2020-03-06 17:25:18 +01:00
A.Unger 28b9da028a add traces to konnectd index handler 2020-03-06 17:25:18 +01:00
A.Unger 36502678b4 extract span baggage from request 2020-03-06 17:25:18 +01:00
Jörn Friedrich Dreyer 2aba428eb1 add apachevhost option, fix logging defaults
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-06 16:47:26 +01:00
Jörn Friedrich Dreyer 37972e9a5f Automated changelog update [skip ci] 2020-03-06 11:28:25 +00:00
Jörn Friedrich Dreyer e70e0c9176 update reva to v0.0.2-0.20200212114015-0dbce24f7e8b (#91)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-06 12:17:28 +01:00
David Christofas f55199f01b implement prototype filesystem storage 2020-03-05 17:13:19 +01:00
Jörn Friedrich Dreyer a12b1a70e8 Merge pull request #131 from owncloud/refs-patch-1
Add missing step
2020-03-05 15:22:10 +01:00
David Christofas 0978653f90 rename cache to storage 2020-03-05 15:04:40 +01:00
Alex Unger 9653f6fe1b add missing step 2020-03-05 13:35:16 +01:00
A.Unger b2a76bfe47 update ocis-pkg -> v2.0.2 2020-03-04 21:13:07 +01:00
A.Unger 8ba2488fb3 update ocis-pkg 2020-03-04 21:13:07 +01:00
A.Unger 94d83b4f38 add structured logging on url parsing failure 2020-03-04 21:13:07 +01:00
A.Unger e0ca0fbd75 add defensive code on policy checks 2020-03-04 21:13:07 +01:00
A.Unger ea5dfc8f4f move MultiHostReverseProxy logic away from the server command 2020-03-04 21:13:07 +01:00
A.Unger 9a2974784a update provided default config 2020-03-04 21:13:07 +01:00
A.Unger de2d9bc0d1 use updated config structure 2020-03-04 21:13:07 +01:00
A.Unger 1f04e6857a update config 2020-03-04 21:13:07 +01:00
A.Unger b8cff1f556 allow for settable handler option 2020-03-04 21:13:07 +01:00
A.Unger 062cb6ed36 add policy to config struct 2020-03-04 21:13:07 +01:00
A.Unger cdbb79a401 implement MultiHostReverseProxy 2020-03-04 21:13:07 +01:00
A.Unger 6bb4ffe677 update proxy config layout 2020-03-04 21:13:07 +01:00
A.Unger 98ac2967f9 change error message wording 2020-03-04 21:13:07 +01:00
David Christofas 34dcaf9ffe implement file sources
If the file is not cached we have to get it from somewhere. For that I
implemented a webdav file source which gets the file from reva.
2020-03-04 16:55:19 +01:00
Alex Unger d965202704 Merge pull request #129 from owncloud/update/deps-20-03-2020
Update konnectd to latest master
2020-03-04 12:59:42 +01:00
A.Unger 0e2ac292ff update konnectd to latest master 2020-03-04 12:44:43 +01:00
Alex Unger f3e49bd7e0 Automated changelog update [skip ci] 2020-03-04 10:11:42 +00:00
Alex Unger bbc82b9fc5 Merge pull request #34 from owncloud/release/2.0.2
Draft release v2.0.2
2020-03-04 11:10:08 +01:00
Alex Unger fd93f0507d Merge branch 'master' into release/2.0.2 2020-03-04 11:06:13 +01:00
A.Unger 293bc1baf1 v2.0.2 2020-03-04 11:05:42 +01:00
Alex Unger 1aba98b998 Automated changelog update [skip ci] 2020-03-04 10:04:19 +00:00
Alex Unger f12df3c5f0 Merge pull request #33 from owncloud/feature/add-handler-option
Add handler option to http service
2020-03-04 11:02:20 +01:00
A.Unger a2ecd26514 add changelog 2020-03-04 10:48:57 +01:00
A.Unger dc5daab755 add handler option to http service 2020-03-04 10:46:31 +01:00
Ilja Neumann 937016f633 Update konnect to v0.30.0-alpha1 2020-03-03 19:01:52 +01:00
David Christofas a98df0b11f first prototype of the thumbnail service
Currently uses in memory caching and loads the file from the local
filesystem.
2020-03-03 16:40:09 +01:00
David Christofas 883778d883 create extension from template 2020-03-03 15:12:16 +01:00
Michael Barz 3f7d62de0e Initial commit 2020-03-03 15:06:23 +01:00
Michael Barz 0b574786e1 Automated changelog update [skip ci] 2020-03-03 12:29:07 +00:00
Michael Barz 6b79a48dbd Merge pull request #109 from owncloud/fix-changelog
Fix Changelog template
2020-03-03 13:19:24 +01:00
Jörn Friedrich Dreyer bfb333474a Automated changelog update [skip ci] 2020-03-03 09:11:19 +00:00
Jörn Friedrich Dreyer c60334180f Merge pull request #48 from butonic/update-to-phoenix-0.5.0
Update to phoenix v0.5.0
2020-03-03 10:07:34 +01:00
Jörn Friedrich Dreyer 5a49176ed8 Update to phoenix v0.5.0
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-03 09:53:37 +01:00
Jörn Friedrich Dreyer 783d767f2a Automated changelog update [skip ci] 2020-03-03 08:51:53 +00:00
Jörn Friedrich Dreyer 9598bd2192 Merge pull request #49 from owncloud/fix-docs
Centralized docs, fix changelog
2020-03-03 09:46:58 +01:00
Alex Unger 18d59e4f02 Automated changelog update [skip ci] 2020-03-03 08:42:04 +00:00
Alex Unger b66b112749 Merge pull request #9 from owncloud/docs-edit
Add edit docs link and change base image to owncloud/alpine:latest
2020-03-03 09:38:00 +01:00
Michael Barz 14302264da Centralized docs, fix changelog 2020-03-02 23:47:16 +01:00
Michael Barz 4ae4099c80 Fix Changelog template 2020-03-02 22:05:37 +01:00
Michael Barz 515ad1cfe0 Add edit docs link 2020-03-02 21:36:28 +01:00
Alex Unger d09f49e17d Automated changelog update [skip ci] 2020-03-02 14:59:37 +00:00
Alex Unger fe56e23969 Merge pull request #45 from owncloud/fix/config-reading
Override default values from config file
2020-03-02 15:54:50 +01:00
A.Unger f22536e997 add changelog file 2020-03-02 12:22:16 +01:00
A.Unger 6a247ebe0e override default config values when config file is present 2020-03-02 12:13:54 +01:00
A.Unger d5f893d495 run tidy 2020-03-02 12:13:20 +01:00
Alex Unger 69df4b20cc Merge pull request #44 from owncloud/remove-arg-usage
Remove arg usage as konnnect specific args are not supported anymore
2020-03-02 09:00:15 +01:00
Ilja Neumann b523c7f900 Remove arg usage in help as konnnect specific args are not supported anymore. 2020-02-28 20:14:54 +01:00
Michael Barz efc1e865bb Automated changelog update [skip ci] 2020-02-28 18:31:52 +00:00
Michael Barz 3014653953 Merge pull request #3 from owncloud/release-0.1.0
Release 0.1.0
2020-02-28 19:25:47 +01:00
Michael Barz 9bfb89c326 Merge pull request #32 from owncloud/IljaN-patch-1
Better wording in readme
2020-02-28 19:00:01 +01:00
Michael Barz 340a96c53d Bump version 2020-02-28 18:55:43 +01:00
Ilja Neumann de32cefc81 Better wording 2020-02-28 18:50:18 +01:00
Michael Barz f3946459ec Automated changelog update [skip ci] 2020-02-28 17:43:30 +00:00
Michael Barz d784b348df Merge pull request #1 from owncloud/start-glauth
actually start glauth server
2020-02-28 18:39:01 +01:00
Jörn Friedrich Dreyer 30d6ec24ba update glauth to fix logs and provisioning api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-28 17:05:25 +01:00
Alex Unger bef3293bbe Merge pull request #125 from owncloud/add-phoenix-to-bridge-docs
Add how to run and configure phoenix in the bridge setup
2020-02-28 15:46:43 +01:00
Jörn Friedrich Dreyer 2ea2bbc97b Add how to run and configure phoenix in the bridge setup
This documents how to run and configure phoenix in a bridge deployment
2020-02-28 15:31:53 +01:00
Ilja Neumann ad22fadb8b Update konnect to v0.30.0-alpha1 2020-02-28 11:50:08 +01:00
Jörn Friedrich Dreyer bc177d9817 Merge pull request #123 from butonic/update-docs-with-bridge
update docs and add bridge status
2020-02-28 10:26:23 +01:00
Jörn Friedrich Dreyer 3640563c9b fix deps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-28 10:16:43 +01:00
Jörn Friedrich Dreyer 35922739b5 update changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-28 10:13:54 +01:00
Jörn Friedrich Dreyer ba81e16361 tidy deps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-28 09:58:53 +01:00
Jörn Friedrich Dreyer 5152815992 fix flagset
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-28 09:57:42 +01:00
Jörn Friedrich Dreyer d06a0de75f add cert and key config options
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-28 09:57:42 +01:00
Jörn Friedrich Dreyer e357c3a931 proper server shutdown
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-28 09:57:42 +01:00
Jörn Friedrich Dreyer 047380eac6 use new options, wrap logger
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-28 09:57:42 +01:00
Jörn Friedrich Dreyer 460cde921d actually start glauth server
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-28 09:57:42 +01:00
Michael Barz 55ee2db052 Automated changelog update [skip ci] 2020-02-28 06:10:45 +00:00
Michael Barz 112c788708 Fix docs, changelog (#39) 2020-02-28 07:06:05 +01:00
Jörn Friedrich Dreyer 0ba3582a49 update docs and add bridge status
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-27 22:05:20 +01:00
Michael Barz 488a95735f Automated changelog update [skip ci] 2020-02-27 17:27:43 +00:00
Michael Barz 87f22a8741 Fix docs formatting 2020-02-27 17:12:38 +01:00
Ilja Neumann 250d6ecfbe Call urfave before hook for konnectd command 2020-02-27 11:01:52 +01:00
Ilja Neumann 79a87b9765 Add option to disable TLS #37 2020-02-26 15:37:10 +01:00
Robert Kaussow 5abc990c7f Merge pull request #105 from owncloud/add-edit-link
add edit link
2020-02-26 15:06:59 +01:00
Jörn Friedrich Dreyer fb2e6528b3 add edit link
as per https://github.com/owncloud/owncloud.github.io/issues/2#issuecomment-590949444

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-26 14:55:07 +01:00
Alex Unger 45e4e0fb12 Merge pull request #3 from owncloud/feature/proxy-v1
Functional Reverse Proxy with oCIS and oC10
2020-02-26 10:08:31 +01:00
A.Unger 01a805c89d rename location -> backend 2020-02-26 09:36:21 +01:00
Michael Barz b1da8f1b96 Automated changelog update [skip ci] 2020-02-25 12:44:43 +00:00
Michael Barz 2083ea4c32 align docs, changelog, releases (#104) 2020-02-25 13:11:01 +01:00
Artur Neumann 2bd501b42e Merge pull request #103 from owncloud/doNotRunLocalStorageTests
[Tests-only] Do not run local storage tests
2020-02-25 15:40:44 +05:45
Michael Barz bed54f13b7 Automated changelog update [skip ci] 2020-02-24 14:18:52 +00:00
Michael Barz 78029ff8a3 Align docs, changelog, release 2020-02-24 15:15:27 +01:00
Michael Barz e82476845c Automated changelog update [skip ci] 2020-02-24 13:52:53 +00:00
Michael Barz 0fa10141d6 Align CI, Docs and Changelog 2020-02-24 14:48:22 +01:00
Ilja Neumann 761757e28a Initial documentation #30 2020-02-24 14:48:22 +01:00
A.Unger 97215603b6 fixed wrong extension 2020-02-24 14:24:59 +01:00
A.Unger 42b5399aa3 provided an example config file 2020-02-24 14:18:03 +01:00
A.Unger 23f977f28e added json tag on routes 2020-02-24 14:16:54 +01:00
A.Unger 6b51e70ddc use ocis-pkg logger 2020-02-24 13:37:39 +01:00
A.Unger 2690898b1d use options logger instead of creating a new one 2020-02-24 13:22:13 +01:00
A.Unger 36aa719b35 added config options 2020-02-24 13:21:02 +01:00
A.Unger 4267103bd5 moved init code away from main routine 2020-02-24 13:20:39 +01:00
A.Unger ee23aee6ee added necessary basic routes for the proxy to work nicely with ocis single binary 2020-02-24 11:21:31 +01:00
A.Unger 60bd1d8af7 added hardcoded routes for the reverse proxy to bypass authentication and phoenix 2020-02-24 11:02:52 +01:00
Artur Neumann 05bafd2c7e do not run local storage tests 2020-02-24 14:49:35 +05:45
Michael Barz d6e70ea441 Change docs title 2020-02-23 18:14:41 +01:00
Jörn Friedrich Dreyer 59bd9a93d2 Initial Commit
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-23 16:13:39 +01:00
Ilja Neumann e8420f55da Add configuration for reverse-proxy #32 2020-02-21 15:16:28 +01:00
Thomas Müller 178b6ccde3 Initial commit 2020-02-21 11:59:19 +01:00
Alex Unger 00b3a76c02 Merge pull request #31 from owncloud/tidy-deps
Tidy dependencies
2020-02-20 16:19:40 +01:00
Ilja Neumann ed1dd4e7a4 Tidy dependencies 2020-02-20 15:53:59 +01:00
Ilja Neumann 8840833628 Add fileb0x to tools so go mod tidy doesn't remove it 2020-02-20 15:53:26 +01:00
Alex Unger 8453a1380a Automated changelog update [skip ci] 2020-02-20 11:03:14 +00:00
Alex Unger 6cd458c36b Merge pull request #29 from owncloud/set-csp-nonce
Set CSP-Nonce
2020-02-20 11:55:52 +01:00
Ilja Neumann 16cbca8ad1 Set CSP-Nonce #17
As we overwrite kopano-index handler to serve index from vfs, we need to do this manually.
2020-02-20 11:48:27 +01:00
Michael Barz c93234b92a Set weight for menu in docs 2020-02-19 09:20:39 +01:00
Michael Barz 3839c43757 Automated changelog update [skip ci] 2020-02-18 21:44:12 +00:00
Michael Barz 0be3dbc9f5 Merge pull request #118 from owncloud/centralized-docs
Centralize docs, align changelog and release process
2020-02-18 22:35:10 +01:00
Michael Barz 783b27be49 Centralize docs, align changelog and release process 2020-02-18 22:21:34 +01:00
Alex Unger 9c7a884c60 Merge pull request #111 from owncloud/update/konnectd-and-phoenix-extention
Update ocis-konnectd and ocis-phoenix
2020-02-18 09:54:01 +01:00
Thomas Müller e3e9ab6adc Update ocis-graph 2020-02-18 09:45:40 +01:00
Thomas Müller 445704d7ae Update ocis-konnectd and ocis-phoenix 2020-02-18 09:45:40 +01:00
Ilja Neumann 104a3fcf99 Reuse existing generated dev-certs #18 2020-02-18 09:43:22 +01:00
Alex Unger 646be35501 Merge pull request #116 from owncloud/fix/runtime
Fix ocis runtime
2020-02-17 17:11:56 +01:00
A.Unger 0de18a4d3e spawn as a separate goroutine 2020-02-17 14:57:50 +01:00
A.Unger 4a9fe6ec5f rename default services 2020-02-17 14:43:56 +01:00
A.Unger e0cfee48f4 embedded services as part of the Runtime struct 2020-02-17 14:22:52 +01:00
A.Unger e544840d7d magical fix 2020-02-17 14:17:05 +01:00
Thomas Müller 1724172592 Merge pull request #26 from owncloud/bugfix/default-value-for-GRAPH_OIDC_ENDPOINT
Set a default value for GRAPH_OIDC_ENDPOINT
2020-02-17 12:59:56 +01:00
Thomas Müller 80fd871a80 Set a default value for GRAPH_OIDC_ENDPOINT 2020-02-17 11:56:30 +01:00
Thomas Müller 51db6fb917 Adding more clients: graph explorer, desktop, ios and android 2020-02-14 15:18:17 +01:00
Jörn Friedrich Dreyer 06f50c42c2 Update flagset.go (#42) 2020-02-13 21:44:18 +01:00
Ilja Neumann a37a38c860 Integrate ocis-konnectd (#110)
* Integrate ocis-konnectd
2020-02-13 21:43:20 +01:00
Ilja NeumannandJörn Friedrich Dreyer 105edd6195 Generate configs from assets (#16)
* Generate config files required for konnect from assets

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* Change identifier-registration and certs to localhost

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-13 21:33:06 +01:00
Jörn Friedrich Dreyer 5825be3637 Merge pull request #41 from owncloud/set-konnect-defaults
Set ocis-konnect defaults
2020-02-13 21:26:43 +01:00
Thomas MüllerandJörn Friedrich Dreyer 584d47daa8 Do not start openid connect provider - OCIS will use konnectd by def… (#61)
* Do not start openid connect provider - OCIS will use konnectd by default

* default to konnectd as oidc

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-13 21:25:52 +01:00
Ilja Neumann 575ed20626 Set ocis-konnect defaults 2020-02-13 21:17:30 +01:00
Alex Unger 5a7f2d4c10 Merge pull request #7 from owncloud/oidc-standard-claims
Oidc Standard Claims as Account Data
2020-02-13 15:26:47 +01:00
A.Unger ed8a8af28b added identities history field 2020-02-13 15:09:49 +01:00
Artur Neumann f1e6fb3c54 run redis server for api tests (#96) 2020-02-13 14:34:11 +01:00
Jörn Friedrich Dreyer 1be93190bb cleanup readme (#93)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-13 08:57:39 +01:00
Jörn Friedrich Dreyer 955da94e4b Automated changelog update [skip ci] 2020-02-12 20:28:21 +00:00
Jörn Friedrich Dreyer 8b987e24b6 storage providers now default to exposing data servers (#90)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-12 21:17:21 +01:00
A.Unger bdfe2ae01a cleanup, remove unused var 2020-02-12 14:30:41 +01:00
A.Unger ec16d2bc23 add proto step to makefile 2020-02-12 14:29:00 +01:00
A.Unger 2ba30acdb4 Merge branch 'master' into oidc-standard-claims 2020-02-12 14:14:18 +01:00
A.Unger d858fb3c77 better better logging 2020-02-12 14:11:25 +01:00
Michael Barz eb426858cc Merge pull request #8 from owncloud/fix-docs
fix docs formatting and push to docs branch
2020-02-12 13:50:52 +01:00
Robert Kaussow 42a5ba79b4 ensure hugo content path exists 2020-02-12 13:46:04 +01:00
A.Unger ba8e60a714 propper logging 2020-02-12 13:30:20 +01:00
A.Unger 8f43899476 upgrade go_micro protoc plugin to v2; as well as ocis-pkg/v2 2020-02-12 13:16:31 +01:00
Robert Kaussow 94f19c3a7c fix docs formatting and push to docs branch 2020-02-12 12:55:47 +01:00
Artur Neumann e5ec269522 Merge pull request #80 from owncloud/testDocu
[Tests-only] documentation about running oC10 API tests
2020-02-12 17:07:15 +05:45
A.Unger b2b2dc5c0f run protoc on address 2020-02-12 12:09:37 +01:00
A.Unger 632dbe4158 added address claims 2020-02-12 12:09:30 +01:00
Artur Neumann 0120b80706 documentation about running oC10 API tests 2020-02-12 16:53:46 +05:45
Jörn Friedrich Dreyer 55250add45 Automated changelog update [skip ci] 2020-02-12 10:57:30 +00:00
Jörn Friedrich Dreyer 692acaee2c expose owncloud storage driver config in flagset (#88)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-12 11:48:54 +01:00
Artur Neumann 2dddee76d3 Automated changelog update [skip ci] 2020-02-12 09:46:01 +00:00
A.Unger 6d534a8f2a check protoc compilation 2020-02-12 10:41:32 +01:00
A.Unger 0817cd92e4 wrong bool field 2020-02-12 10:40:34 +01:00
A.Unger ee15a5a047 added standard claims to proto 2020-02-12 10:39:10 +01:00
Artur Neumann 3c387e6e49 fix changelog entry (#86) 2020-02-12 10:37:29 +01:00
Alex Unger 1c2c1616b7 Automated changelog update [skip ci] 2020-02-12 09:20:32 +00:00
Alex Unger c7b247088c Merge pull request #6 from owncloud/release-template
changelog template, centralized docs repo
2020-02-12 10:16:51 +01:00
Robert Kaussow ec43fd0536 remove package install command 2020-02-12 09:44:35 +01:00
Alex Unger 350dd52d5f Merge pull request #15 from owncloud/update-konnect
Update konnect to IljaN/konnect v0.29.0-alpha2
2020-02-12 09:41:01 +01:00
Michael Barz 1fa69f3469 Code improvements 2020-02-11 23:33:45 +01:00
Ilja Neumann b9cab5773d Update konnect to IljaN/konnect v0.29.0-alpha2 2020-02-11 17:47:34 +01:00
Robert Kaussow c2f63ddea7 change used docker images 2020-02-11 16:32:37 +01:00
David Christofas ac3381e277 set correct flag type (#76)
merging because the failing tests are unrelated
2020-02-11 16:15:16 +01:00
Robert Kaussow 9c19a19e7a switch to owncloud alpine image 2020-02-11 15:50:05 +01:00
Robert Kaussow 27803c1484 switch alpine base image 2020-02-11 15:37:37 +01:00
Robert Kaussow 274dfae24b use makefile to testbuild docs 2020-02-11 15:26:29 +01:00
Jörn Friedrich Dreyer 4f664464e0 Merge pull request #107 from butonic/update-deps
update micro deps to v2
2020-02-11 11:14:26 +01:00
Jörn Friedrich Dreyer c2c12fd655 update micro deps to v2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-11 10:33:18 +01:00
Michael Barz 5c99f9a47c updape changelog template, new docs structure 2020-02-10 16:50:16 +01:00
Alex Unger 19a21306fb Merge pull request #40 from butonic/update-ocis-pkg
update ocis-pkg to v2.0.1
2020-02-10 12:32:21 +01:00
Alex Unger 6c4d498c38 update cli and ocis-pkg (#12) 2020-02-10 12:31:50 +01:00
Jörn Friedrich Dreyer cbd696c538 update ocis-pkg to v2.0.1 and micro/cli to v2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-10 12:25:06 +01:00
Jörn Friedrich Dreyer 4eabdad540 Revert "update ocis-pkg to v2.0.1 and micro/cli to v2"
This reverts commit 83c820e6a7.
2020-02-10 12:22:42 +01:00
Jörn Friedrich Dreyer 83c820e6a7 update ocis-pkg to v2.0.1 and micro/cli to v2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-10 12:17:03 +01:00
Jörn Friedrich Dreyer 017eeb40dc Merge pull request #6 from owncloud/update-ocis-pkg
update ocis-pkg to v2.0.1 and micro/cli to v2
2020-02-10 12:10:49 +01:00
Alex Unger 5376510229 update cli and ocis-pkg (#25) 2020-02-10 12:06:52 +01:00
Jörn Friedrich Dreyer 7140a4dfb1 update ocis-pkg to v2.0.1 and micro/cli to v2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-10 12:04:23 +01:00
Alex Unger 05b45e4802 update cli and ocis-pkg (#14) 2020-02-10 11:51:41 +01:00
Alex Unger 2b2e7f05c5 Merge pull request #82 from butonic/update-ocis-pkg
update ocis-pkg to v2.0.1
2020-02-10 11:50:47 +01:00
Jörn Friedrich Dreyer 6ff79110d3 update ocis-pkg to v2.0.1
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-10 11:39:01 +01:00
Jörn Friedrich Dreyer 06ef8d528b Merge pull request #103 from butonic/update-docs
update docs
2020-02-10 10:13:15 +01:00
Jörn Friedrich Dreyer 7f09c474eb update docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-10 09:08:09 +01:00
Michael Barz 0408745ca3 Automated changelog update [skip ci] 2020-02-07 15:34:45 +00:00
Michael Barz de300aa147 Merge pull request #5 from owncloud/align-repos
Update the Changelog and Release process for aligment
2020-02-07 16:31:26 +01:00
Michael Barz 69d898dea4 Checkout the source branch in changelog pipeline 2020-02-07 15:42:54 +01:00
A.Unger 5e2351b08c lock tools 2020-02-07 15:25:10 +01:00
Michael Barz bd69d2a165 Update packages 2020-02-07 15:16:23 +01:00
A.Unger 8281e2747b stick to a single emoji 2020-02-07 14:14:26 +01:00
A.Unger b17b659c80 reserve port range 2020-02-07 14:08:11 +01:00
Alex Unger 800a64d45f Automated changelog update [skip ci] 2020-02-07 13:06:09 +00:00
Alex Unger 86eb298340 Merge pull request #12 from owncloud/bugfix/upgrade-micro/cli
upgrade micro libraries
2020-02-07 14:02:36 +01:00
David Christofas 4486630cdf Merge branch 'master' into bugfix/upgrade-micro/cli 2020-02-07 12:44:14 +01:00
Michael Barz b43cc2d53d Update the Changelog and Release process for aligment 2020-02-07 11:54:14 +01:00
Alex Unger 2dfdab8a91 Automated changelog update [skip ci] 2020-02-07 10:04:35 +00:00
Alex Unger 7859990ef1 Merge pull request #4 from owncloud/tooling
Tooling around the repo
2020-02-07 11:01:24 +01:00
A.Unger ce0ca295cd reword 2020-02-07 10:57:04 +01:00
David Christofas a9d7680112 upgrade micro libraries 2020-02-07 10:57:02 +01:00
A.Unger a3b7d2a97a added docker folder 2020-02-07 10:51:39 +01:00
A.Unger bdc473e27a make linter happy 2020-02-07 10:45:42 +01:00
A.Unger 3b877f2ff5 added github folder 2020-02-07 10:41:45 +01:00
A.Unger bf28935fb9 added license 2020-02-07 10:36:21 +01:00
A.Unger bc29887f56 added changelog folder 2020-02-07 10:35:22 +01:00
A.Unger e29ee67c43 added dockerignore 2020-02-07 10:34:13 +01:00
A.Unger a8cfd5cff4 added readme 2020-02-07 10:33:40 +01:00
A.Unger 0916653fc4 added drone.star 2020-02-07 10:32:21 +01:00
A.Unger f6780074d5 added docs 2020-02-07 10:21:00 +01:00
A.Unger a6835cd904 added license 2020-02-07 10:20:46 +01:00
A.Unger 29677fcf33 added codacy ignores 2020-02-07 10:03:06 +01:00
A.Unger 1716beaa62 server command verbose 2020-02-07 09:54:43 +01:00
A.Unger 7d9773c075 added editorconfig 2020-02-06 15:39:24 +01:00
Ilja Neumann dd1c848408 - Generate certs if none configured (#10)
- Use devldap ldap-defaults
2020-02-05 16:26:17 +01:00
Alex Unger 76f121e498 Automated changelog update [skip ci] 2020-02-05 15:17:23 +00:00
Alex Unger b5f83ee2d3 Merge pull request #29 from owncloud/fix-changelog
add reference to the pull request
2020-02-05 16:15:52 +01:00
David Christofas a262250719 add reference to the pull request 2020-02-05 16:09:58 +01:00
Alex Unger 17b21ba360 Merge pull request #28 from owncloud/release/2.0.0
Prepare v2.0.0
2020-02-05 16:04:05 +01:00
A.Unger 1b2e7c956d update changelog 2020-02-05 16:00:07 +01:00
Alex Unger 9b220be862 Merge pull request #27 from owncloud/bugfix/correct-imports
change import paths to ocis-pkg/v2
2020-02-05 15:59:00 +01:00
David Christofas 91ba6980e1 change import paths to ocis-pkg/v2 2020-02-05 15:42:10 +01:00
Alex Unger 2df078f296 Automated changelog update [skip ci] 2020-02-05 14:23:30 +00:00
Alex Unger 9cea7f1cc1 Merge pull request #26 from owncloud/release/2.0.0
Prepare changelog for v2.0.0
2020-02-05 15:21:58 +01:00
A.Unger 1109a4a9bd rename... 2020-02-05 15:19:35 +01:00
A.Unger cfa1879967 v2.0.0 2020-02-05 15:16:06 +01:00
Artur Neumann b3d01c1481 Merge pull request #77 from butonic/allow_different_namespaces
allow different namespaces
2020-02-05 16:11:35 +05:45
Jörn Friedrich Dreyer a3a4232387 allow different namespaces
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-05 11:16:26 +01:00
David Christofas 8285d0f746 Merge pull request #25 from owncloud/bugfix/module-version
add module version to module path
2020-02-04 17:06:48 +01:00
David Christofas 47a6986cdd fix import path 2020-02-04 16:54:31 +01:00
David Christofas fbad18240e add module version to module path
The module version must be in the path. See https://github.com/golang/go/wiki/Modules#semantic-import-versioning for more information.
2020-02-04 16:35:25 +01:00
Alex Unger 0392861c9c Merge pull request #24 from owncloud/release/2.0.0
v2.0.0
2020-02-04 15:58:38 +01:00
A.Unger a97bfbc9e4 update service 2020-02-04 15:31:57 +01:00
A.Unger 8ade12d471 update store filesystem implementation 2020-02-04 15:31:46 +01:00
A.Unger b2054248d0 updated the account interface to return errors 2020-02-04 15:30:41 +01:00
A.Unger 0d8d26b425 wire list identities 2020-02-04 15:19:01 +01:00
A.Unger 34ebec7ea9 prepare 2.0.0 2020-02-04 15:12:48 +01:00
A.Unger a1de935942 use proto record types on interface 2020-02-04 15:08:59 +01:00
David Christofas 09419d3134 Automated changelog update [skip ci] 2020-02-04 14:05:23 +00:00
David Christofas 8f9564d39e Merge pull request #22 from owncloud/bugfix/upgrade-micro/cli
Upgrade micro/cli to v2
2020-02-04 15:03:57 +01:00
A.Unger af4148923e use flags to configure the server 2020-02-04 12:42:20 +01:00
A.Unger 50336301c4 use flags to configure the server 2020-02-04 12:42:16 +01:00
A.Unger 9dda684cf2 update config 2020-02-04 12:39:29 +01:00
A.Unger 582170605f added options to grpc init 2020-02-04 12:37:23 +01:00
Alex Unger ed8b266bf8 Merge pull request #1 from owncloud/experiment/account-interface
Better interfaces
2020-02-04 12:20:39 +01:00
A.Unger 517ff78d7f less confusing error message 2020-02-04 12:18:18 +01:00
A.Unger dade720bf5 fatal on unknown driver; named logger 2020-02-04 12:17:41 +01:00
David Christofas 694fea3943 clean up and add a changelog snippet 2020-02-04 12:05:17 +01:00
A.Unger ac20460e7c leftover print 2020-02-04 11:56:42 +01:00
A.Unger dbd98ac203 refactor the store 2020-02-04 11:55:57 +01:00
A.Unger 32c5bb871c read manager from the config definition 2020-02-04 11:55:48 +01:00
A.Unger cb3516a706 injected config down the tree 2020-02-04 11:55:25 +01:00
A.Unger a43512834e manager configurable 2020-02-04 11:55:04 +01:00
A.Unger 79aaba63fc added flags to server command 2020-02-04 11:54:45 +01:00
A.Unger 2ff87de71f toss config struct around 2020-02-04 10:16:12 +01:00
A.Unger 7431297a1c use micro cli v2 2020-02-04 10:09:38 +01:00
Phil Davis 7e3b59d702 Merge pull request #73 from owncloud/runLDAPAsService
[Tests-only] run LDAP as service in CI
2020-02-04 11:34:20 +05:45
A.Unger 35d9deb38a custom interface; strategy pattern; service configuration; refactor 2020-02-03 22:54:33 +01:00
A.Unger bdc66633dd rename -> account 2020-02-03 20:05:22 +01:00
A.Unger eef2de244f first draft of an accounts interface 2020-02-03 19:47:05 +01:00
A.Unger 4b595b4b07 config barebones 2020-02-03 19:10:17 +01:00
David Christofas 0512005e66 put message to in-memory buffer on write 2020-02-03 17:09:33 +01:00
David Christofas c80ea9640c remove unused method 2020-02-03 17:07:12 +01:00
David Christofas 02e95f0d6a Merge branch 'master' into bugfix/upgrade-micro/cli 2020-02-03 17:06:34 +01:00
David Christofas 2b6dbc6f6b implement new micro logging interface 2020-02-03 16:34:10 +01:00
A.Unger c2cd4e5557 less confusing naming 2020-02-03 16:18:57 +01:00
A.Unger 7232651112 small cleanup 2020-02-03 14:29:00 +01:00
A.Unger 161fc4c029 make linter happy 2020-02-03 14:19:01 +01:00
A.Unger c34eb4ca95 format comment 2020-02-03 14:18:33 +01:00
A.Unger be26b67a0c list keys working as expected, datastructure not pretty 2020-02-03 14:16:30 +01:00
A.Unger f5ae339125 log on missing key 2020-02-03 12:56:17 +01:00
Artur Neumann 5a87e5df61 run LDAP as service in CI 2020-02-03 13:41:07 +05:45
A.Unger b574230285 move store initialization to root and run only once 2020-01-31 16:27:13 +01:00
A.Unger 11029b5e17 remove trash file 2020-01-31 15:20:07 +01:00
A.Unger 85c21a053f bits and bobs 2020-01-31 15:10:34 +01:00
A.Unger 949b67bec6 defensive coce 2020-01-31 14:41:29 +01:00
A.Unger 6b4c3f2098 working prototype 2020-01-31 14:35:50 +01:00
A.Unger 587a6a1a02 minor refactor 2020-01-31 13:25:51 +01:00
A.Unger 351694d22d tooling 2020-01-31 13:09:07 +01:00
A.Unger 29f4ba30cb Get placeholder 2020-01-31 11:36:22 +01:00
A.Unger 673c2c0ebd path management and protobuf redesign 2020-01-31 11:05:47 +01:00
A.Unger 01be15e8fc move code around 2020-01-31 10:37:23 +01:00
A.Unger 16401c1ffb splish-splash 2020-01-31 10:36:58 +01:00
A.Unger b99eff460f store json on mountPath 2020-01-31 10:34:01 +01:00
A.Unger d02be70d52 write op working, sort of. encodes b64 2020-01-31 09:36:17 +01:00
A.Unger 31023b25b8 use go-micro/v2, render file system store manager 2020-01-30 16:28:29 +01:00
A.Unger 755d3e554d yet again restructure the whole damn thing 2020-01-30 16:16:11 +01:00
A.Unger d6323ea880 rename manager -> store 2020-01-30 16:13:25 +01:00
A.Unger c096d888ef fix linter 2020-01-30 16:11:59 +01:00
A.Unger 92a2c65bba working mvp + manager 2020-01-30 16:11:34 +01:00
A.Unger 34191e887c redesign api 2020-01-30 16:08:04 +01:00
Thomas Müller 6dbdc302ca Feature/me drive root elements (#22)
* Add support for /me/drive/root/children

* Add chis StripSlashes middleware

* Configure REVA gateway endpoint

* Explicit authenticate on the gateway

* Fill more drive item attributes
2020-01-30 16:04:29 +01:00
A.Unger 500e303cb5 first commit 2020-01-30 15:55:40 +01:00
Michael Barz 2ca5030b08 Automated changelog update [skip ci] 2020-01-30 13:53:59 +00:00
Michael Barz 9cfa113ec6 Config for update-docs probot 2020-01-30 14:51:26 +01:00
Michael Barz d8d263c7f0 Update config.yml 2020-01-30 14:49:17 +01:00
Michael Barz 50f5056f7d Config for update-docs probot 2020-01-30 14:48:48 +01:00
Michael Barz 21dd5313b0 Config forn update-docs probot 2020-01-30 14:43:18 +01:00
Michael Barz 50048d0ba5 Config for update-docs probot 2020-01-30 14:42:02 +01:00
Michael Barz 5f489ab1ec Config for update-docs probot 2020-01-30 14:40:31 +01:00
Michael Barz d0630bd091 Config for update-docs probot 2020-01-30 14:39:37 +01:00
Michael Barz 4f4ab27200 Config for update-docs probot 2020-01-30 14:37:38 +01:00
Artur Neumann 0ec1c8cb3b Merge pull request #59 from owncloud/runOc10APITests
run API tests from oC 10 in CI
2020-01-30 18:16:16 +05:45
David Christofas 15294bd48f updgrade the micro/cli dependency 2020-01-30 13:22:31 +01:00
Artur Neumann 6515f836db run API tests from oC 10 in CI 2020-01-30 18:07:23 +05:45
Thomas Müller 23613e40d8 Merge pull request #68 from butonic/change-default-namespace
change default ocdav namespace
2020-01-30 11:57:07 +01:00
Jörn Friedrich Dreyer fbf131c6b2 change default ocdav namespace
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-30 11:17:00 +01:00
Ilja NeumannandThomas Müller bbf086fed7 Integrate ocis-devldap
Co-authored-by: Thomas Müller <thomas.mueller@tmit.eu>
2020-01-30 10:19:10 +01:00
Thomas Müller 47263a006c Upgrade micro/cli to v2 2020-01-29 17:40:54 +01:00
Jörn Friedrich Dreyer d576387efe Automated changelog update [skip ci] 2020-01-28 19:30:46 +00:00
Jörn Friedrich Dreyer fb0af32920 Merge pull request #53 from owncloud/micro/cli-upgrade
updgrade the micro/cli dependency
2020-01-28 20:25:17 +01:00
Thomas Müller b347f6fc52 Merge pull request #6 from owncloud/konnectd-embedd
Konnectd embedd
2020-01-28 17:05:06 +01:00
Ilja Neumann 89af83ea46 Integreate konnectd library #8 2020-01-28 16:19:32 +01:00
Michael Barz 55d307e118 Config for update-docs probot 2020-01-28 15:22:58 +01:00
Michael Barz 74eb5392dc Config for update-docs probot 2020-01-28 15:18:21 +01:00
David Christofas 906a7a541b add missing type comments 2020-01-28 14:58:07 +01:00
David Christofas 11816f75ab updgrade the micro/cli dependency 2020-01-28 14:41:18 +01:00
Thomas Müller b04999d1a6 Merge pull request #36 from owncloud/bugfix/add-logging-if-server-not-started
In case the http server cannot be started the error is logged
2020-01-28 14:01:33 +01:00
Thomas Müller 80a8f703bb Merge pull request #96 from owncloud/feature/add-graph-explorer
Adding ocis-graph-explorer to ocis
2020-01-28 12:35:21 +01:00
Thomas Müller c602abfa73 Adding ocis-graph-explorer to ocis 2020-01-28 11:55:12 +01:00
Thomas Müller 78e556279e Merge pull request #4 from owncloud/feature/graph-1.7.10.3
Use graph.explorer 1.7.10.3
2020-01-28 11:49:49 +01:00
Thomas Müller e4a2221a93 Use graph.explorer 1.7.10.3 2020-01-28 11:42:54 +01:00
Thomas Müller 5390ca28ef In case the http server cannot be started the error is logged 2020-01-28 11:40:12 +01:00
Thomas Müller bf345cff03 Merge pull request #3 from owncloud/bugfix/integrate-with-konnect
Integrate ocis-graph-explorer with ocis-konnect
2020-01-28 10:00:21 +01:00
Thomas Müller 950fb7e8b2 Integrate ocis-graph-explorer with ocis-konnect 2020-01-27 22:02:52 +01:00
Michael Barz 64dd8a8b17 Remove unused assets and fix generate target 2020-01-27 15:09:20 +01:00
Michael Barz 731e6f39ce Remove frontend parts from CI 2020-01-27 14:19:19 +01:00
Artur Neumann 92cfad0e26 fix default port in documentation 2020-01-27 16:46:10 +05:45
Thomas Boerger 3661ce2158 Merge pull request #35 from owncloud/fix/command-parsing-hack
Update to urfave cli v2
2020-01-27 09:11:02 +01:00
A.Unger 5c0a0263a7 update docs 2020-01-27 09:07:42 +01:00
A.Unger 1b73f3e7be rename flag to singular 2020-01-27 09:06:32 +01:00
A.Unger 8fc3593a75 Update micro alongside micro to v2, remove cli flags parsing monkeypatch for web-config-apps 2020-01-27 08:58:58 +01:00
Thomas Müller a1fd96f11d Merge pull request #1 from owncloud/add-client-id-flag
add client-id flag
2020-01-24 10:21:26 +01:00
Jörn Friedrich Dreyer bc43bfe578 add client-id flag
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-24 10:07:10 +01:00
Thomas Müller 3b2e1da63f Initial version 2020-01-23 12:16:37 +01:00
Thomas Müller 0a2ab4baa5 Merge pull request #7 from butonic/add-github-folder
add .github folder
2020-01-23 09:15:40 +01:00
Alex Unger f1cb4d3701 fix: remove flagset options (#34)
fix: remove flagset options
2020-01-22 16:32:54 +01:00
David Christofas 0fabe3b0c4 fix: remove flagset options
Flagsets are not necessary for initializing the web server/service.
Passing them will cause micro to call the flagset function again which
then overrides the given value with the default value.

Fixes #33
2020-01-22 16:14:07 +01:00
Jörn Friedrich Dreyer 3455e99688 Add env vars used by ocis to enable the data services 2020-01-22 11:29:07 +01:00
Jörn Friedrich Dreyer 363d550f0a Merge pull request #19 from butonic/fix-desktop-oidc
Fix desktop oidc
2020-01-21 15:50:57 +01:00
Jörn Friedrich Dreyer c3afb798d6 Fix desktop oidc
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-21 15:48:08 +01:00
Alex Unger 85620765f3 Automated changelog update [skip ci] 2020-01-20 15:48:07 +00:00
Alex Unger 2a6bd47bec Changelog for 1.3.0 (#20)
Changelog for 1.3.0
2020-01-20 16:45:50 +01:00
A.Unger 7f9c8e4cf6 changelog files with 80 lines width 2020-01-20 16:39:45 +01:00
A.Unger e8b4d4a366 re-enable editorconfig 2020-01-20 16:34:59 +01:00
A.Unger 91e2402e1c generate changelog 2020-01-20 16:05:13 +01:00
A.Unger a2a12063ef update description 2020-01-20 16:04:11 +01:00
A.Unger c1ac8777db changelog for 1.3.0 2020-01-20 15:56:14 +01:00
Alex Unger 5e5def3f7e Support for TLS on http services (#18)
Support for TLS on http services
2020-01-20 14:33:57 +01:00
A.Unger 1a7ad9f61b remove secure flag 2020-01-20 12:55:58 +01:00
A.Unger 5dc789f3e1 added transport method to logger 2020-01-20 12:11:01 +01:00
A.Unger eacf64eb1c options support for tlsconfig and secure 2020-01-20 10:08:55 +01:00
Alex Unger b571b63118 Merge pull request #91 from butonic/update-ocis-reva
update ocis-reva & ocis-phoenix
2020-01-17 16:06:26 +01:00
Jörn Friedrich Dreyer f953d7572a update ocis-reva & ocis-phoenix
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-17 15:59:41 +01:00
Alex Unger bebce0e7bb files must be loaded before draw io (#31)
files must be loaded before draw io
2020-01-17 15:46:48 +01:00
Jörn Friedrich Dreyer 8a9fc2f33c files must be loaded before draw io
related: https://github.com/owncloud/phoenix/issues/2891
2020-01-17 14:46:33 +01:00
Jörn Friedrich Dreyer 1df7dd4215 fix default ldap filters and port
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-17 13:37:40 +01:00
Jörn Friedrich Dreyer b5ad7c889c Merge pull request #89 from butonic/update-reva
introduce dedicated reva commands
2020-01-17 10:31:23 +01:00
Jörn Friedrich Dreyer fa1b262bc1 introduce dedicated reva commands
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-17 10:25:46 +01:00
Jörn Friedrich Dreyer bab3638b2a Merge pull request #29 from butonic/change-default-port-for-oidc-to-reva
change default port for oidc to reva idp
2020-01-17 10:18:07 +01:00
Jörn Friedrich Dreyer 9a63eaa117 Merge pull request #8 from butonic/separate-services
fix default storage config
2020-01-17 10:13:31 +01:00
Jörn Friedrich Dreyer 46ab6037b7 fix default storage config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-17 10:12:12 +01:00
Jörn Friedrich Dreyer 756cbb4479 Merge pull request #4 from butonic/separate-services
separate reva services
2020-01-17 10:11:14 +01:00
Jörn Friedrich Dreyer 85fc6ee2ec Merge branch 'master' into change-default-port-for-oidc-to-reva 2020-01-17 10:10:44 +01:00
Jörn Friedrich Dreyer c8997d82d3 Merge pull request #30 from owncloud/butonic-patch-1
add default apps
2020-01-17 09:47:15 +01:00
Jörn Friedrich Dreyer 0ad66e074d add default apps
files,pdf-viewer,markdown-editor,media-viewer work
draw-io seems broken
2020-01-17 09:33:16 +01:00
Jörn Friedrich Dreyer de59eb3111 change default port for oidc to reva idp
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-16 22:45:53 +01:00
Jörn Friedrich Dreyer 4d203ba5e9 add .github folder
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-16 21:57:15 +01:00
Jörn Friedrich Dreyer 25a68c9321 separate reva services
update config

add desktop client with all localhost ports

split flagsets

add user docs

update readme

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-16 21:53:43 +01:00
Jörn Friedrich Dreyer 309eeb96b8 Merge pull request #88 from owncloud/feature/apps-as-cli-flag
Make Phoenix's command parse a list of available apps
2020-01-16 16:19:35 +01:00
Jörn Friedrich Dreyer 8ce2f00867 Merge pull request #28 from owncloud/feature/apps-as-cli-flag
Flag web-config-apps as string instead of string slice
2020-01-16 16:19:03 +01:00
A.Unger 761e114666 use ocis-pkg@master until a new release is out 2020-01-15 15:58:56 +01:00
A.Unger 534c8a715a move string flag parsing functionality over to ocis-pkg 2020-01-15 14:21:56 +01:00
A.Unger 9e73dfe46a use ocis-pkg 2020-01-15 14:20:21 +01:00
Jörn Friedrich Dreyer 3dd614fdcd Merge pull request #16 from owncloud/feature/conversions-package
Add conversions package
2020-01-15 12:24:37 +01:00
A.Unger 47d5cbe498 rename apps -> parts 2020-01-15 12:08:32 +01:00
A.Unger bfae049984 added conversions package 2020-01-15 12:05:55 +01:00
A.Unger 9b936b5271 use ParseAppsFlag from Phoenix flagset to deal with the list of apps 2020-01-15 11:27:35 +01:00
A.Unger 4103c43f11 remove apps hardcoded values 2020-01-15 11:26:55 +01:00
A.Unger e3e2e4127d added utils to flagset 2020-01-15 11:24:26 +01:00
A.Unger a628356fe8 update usage for web-config-apps flag 2020-01-15 11:10:45 +01:00
A.Unger 34ad7697e6 update docs 2020-01-15 11:08:13 +01:00
A.Unger 4aa049ec5e remove unused variable 2020-01-15 11:05:18 +01:00
A.Unger aa74f44b08 StringSlice flag to String, rename EnvVar to PHOENIX_WEB_CONFIG_APPS 2020-01-15 10:47:21 +01:00
Thomas Müller 9dcf700d16 Merge pull request #87 from owncloud/feature/update-phoenix
Update ocis-phoenix v0.2.7-alpha1
2020-01-14 17:16:45 +01:00
Thomas Müller 5ed3e60e8c Update ocis-phoenix v0.2.7-alpha1 2020-01-14 17:06:57 +01:00
Jörn Friedrich Dreyer 8b3ea40824 Merge pull request #27 from owncloud/feature/build-with-phoenix-v0.2.7-alpha1
Update to v0.2.7-alpha1
2020-01-14 16:28:28 +01:00
Thomas Müller 1b82c81dcf Update to v0.2.7-alpha1 2020-01-14 16:00:12 +01:00
Alex Unger e5b1148ab0 Update hello (#85)
Update hello
2020-01-14 10:44:32 +01:00
Jörn Friedrich Dreyer 3cce33fab5 Update hello
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-14 10:35:37 +01:00
Jörn Friedrich Dreyer e2fafd1b60 Merge pull request #84 from owncloud/maintenance/update-ocis-hello
Update ocis-hello
2020-01-14 10:02:29 +01:00
A.Unger 8a158899ee update ocis-hello 2020-01-14 09:51:43 +01:00
Jörn Friedrich Dreyer 1c33cb4214 Merge pull request #82 from butonic/reva-based-simple-ocis
Reva based simple ocis
2020-01-13 16:54:28 +01:00
Jörn Friedrich Dreyer ab1f1a6dbc Reva based simple ocis
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-13 16:48:28 +01:00
Jörn Friedrich Dreyer 21e730fd76 Merge pull request #25 from butonic/fix-external-apps-config
Fix external_apps config
2020-01-13 09:04:57 +01:00
Jörn Friedrich Dreyer ec66aaf029 Fix external_apps config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-11 21:15:03 +01:00
Jörn Friedrich Dreyer 1be1a23e8d Merge pull request #80 from butonic/configure-phoenix
configure phoenix apps
2020-01-10 16:47:41 +01:00
Jörn Friedrich Dreyer 3b24c1a9bd configure phoenix apps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-10 15:52:10 +01:00
Alex Unger d4a7cec319 Simple Ocis Binary (#79)
Simple Ocis Binary
2020-01-10 12:58:51 +01:00
A.Unger 00cf134ae6 added comment to unexported variable 2020-01-10 12:02:11 +01:00
A.Unger 813ae5eb63 simplify runtime builder 2020-01-10 11:59:19 +01:00
A.Unger 1aefa43f86 rename WithTracing -> Start (better api) 2020-01-10 11:51:03 +01:00
A.Unger e43478c2ca use tracing package in server command 2020-01-10 11:49:25 +01:00
A.Unger d47d174b7b use tracing package 2020-01-10 11:48:09 +01:00
A.Unger 0956bf6e54 rename simple -> server_simple 2020-01-10 11:16:17 +01:00
A.Unger 0ea97f4f89 update building docs 2020-01-10 11:07:25 +01:00
A.Unger 01488d8b79 bump deps 2020-01-10 10:26:03 +01:00
Thomas Müller 819c7bec7b Merge pull request #23 from owncloud/feature/22
Fixes #22 - update to phoenix 0.2.6
2020-01-09 16:27:33 +01:00
Alex Unger 76bed6e6b9 Dynamically render config.json (#24)
Dynamically render config.json
2020-01-09 16:02:08 +01:00
Jörn Friedrich Dreyer 07e0a20d0d dynamically render config.json
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-09 15:50:27 +01:00
A.Unger b6293d052c cleanup runtime services 2020-01-09 14:36:36 +01:00
A.Unger e0c2aa76cd cleanup root command and use registry to load commands 2020-01-09 14:34:57 +01:00
A.Unger 42034052f5 self register health 2020-01-09 14:34:37 +01:00
A.Unger d872c3ddb2 include on simple build tag 2020-01-09 14:34:08 +01:00
A.Unger 90be73044e exclude from simple build tags 2020-01-09 14:33:44 +01:00
Thomas Müller 95d647b09b Fixes #22 - update to phoenix 0.2.6 2020-01-09 14:05:19 +01:00
Alex Unger 6cc46af428 update reva and dependencies (#3)
update reva and dependencies
2020-01-07 09:42:02 +01:00
Jörn Friedrich Dreyer 4da25c6ac7 Merge pull request #78 from butonic/update-ocis-extensions
update ocis extensions
2020-01-07 09:40:24 +01:00
Jörn Friedrich Dreyer 95b5dd44e8 update ocis oxtensions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-06 16:31:51 +01:00
Jörn Friedrich Dreyer 67f8d19534 update reva and dependencies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-06 10:40:58 +01:00
Alex Unger 046fec2033 Add Namespace Flag to Service (#5)
* added namespace option

* added namespace to config struct

* use config value

* add http-namespace flag

* update docs
2019-12-27 19:59:17 +01:00
Alex Unger c5c77e2412 Add http-namespace Flag (#9)
* add namespace config

* add namespace option

* add namespace flag

* update docs

* oops :D
2019-12-27 19:58:41 +01:00
Alex Unger 91e17d0cde Add Namespace flag (#21)
* added http-namespace to the flagset

* update description

* added namespace option to the options list

* added namespace as a config parameter

* updated docs

* fix default value override
2019-12-27 13:09:27 +01:00
Jörn Friedrich Dreyer 20455a2e90 Merge pull request #9 from owncloud/feature/namespacing
Add http-namespace
2019-12-24 12:37:58 +01:00
A.Unger 050784273b use correct value 2019-12-24 11:59:46 +01:00
Alex Unger 984f99d54c Update Phoenix namespace flag (#21)
Update Phoenix namespace flag
2019-12-24 11:56:37 +01:00
A.Unger 10845d532f use namespace option 2019-12-24 11:52:48 +01:00
A.Unger 003a124071 added namespace to http functional options 2019-12-24 11:51:38 +01:00
A.Unger 2040b4d172 updated docs 2019-12-24 11:49:09 +01:00
A.Unger cd8ca3b63d added http-namespace to the flagset 2019-12-24 11:47:52 +01:00
A.Unger 23ab0db581 added namespace flag to HTTP struct 2019-12-24 11:46:56 +01:00
A.Unger 4155720666 update refs to config.Phoenix.Namespace 2019-12-24 11:43:18 +01:00
A.Unger 69e594ace5 move namespace option under HTTP 2019-12-24 11:41:42 +01:00
Jörn Friedrich Dreyer aabd71f6d1 Merge pull request #2 from butonic/add-reva-config
allow passing in an arbitrary reva config map
2019-12-20 08:05:20 +01:00
Jörn Friedrich Dreyer 23c68fce67 allow passing in an arbitrary reva configs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2019-12-19 22:29:10 +01:00
Alex Unger 6ab21e9355 add ocis-reva (#73)
add ocis-reva
2019-12-19 12:41:43 +01:00
Jörn Friedrich Dreyer 4f860675bc add ocis-reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2019-12-19 12:33:20 +01:00
Jörn Friedrich Dreyer 5d7da45d3f Merge pull request #71 from refs/feature/integrate-micro-runtime
Embed Micro Runtime
2019-12-18 15:40:17 +01:00
Jörn Friedrich Dreyer 646c67fd20 Merge pull request #18 from owncloud/feature/update-namespace
Use values from config on namespace flag
2019-12-18 14:02:42 +01:00
A.Unger 5708f07a37 use value from config 2019-12-18 13:11:33 +01:00
Thomas Müller 0bdd558c52 Merge pull request #17 from owncloud/feature/update-namespace
Http Namespace Flag
2019-12-18 13:11:00 +01:00
A.Unger b922327074 use http namespace 2019-12-18 12:58:02 +01:00
A.Unger 276aa69451 hardcode web 2019-12-18 12:51:28 +01:00
A.Unger d6a80470f2 added namespace option 2019-12-18 12:51:09 +01:00
A.Unger da729b6319 added http-namespace flag 2019-12-18 12:50:00 +01:00
A.Unger 1e2708fbb7 set owncloud namespace on micro tooling 2019-12-18 11:31:54 +01:00
Jörn Friedrich Dreyer 6702be7f90 wip
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2019-12-17 17:05:03 +01:00
A.Unger 18cd1d9351 use type constructor 2019-12-17 15:20:56 +01:00
A.Unger 944446a3b7 use console instead of sjh 2019-12-17 15:10:29 +01:00
A.Unger 3c1a837784 move getting started section from README -> docs 2019-12-17 15:09:24 +01:00
A.Unger c1af1196d6 remove handler management 2019-12-17 15:03:25 +01:00
A.Unger c17568a319 remove handlers 2019-12-17 15:02:25 +01:00
A.Unger 845e6da40f get rid of some noise 2019-12-17 14:58:42 +01:00
A.Unger bdbe2a8ed0 update readme with usage 2019-12-17 14:47:20 +01:00
A.Unger d0842cdd5f consistency accross commands declaration 2019-12-17 14:40:39 +01:00
A.Unger dfb3f6e15f rename micro-runtime -> micro + change category 2019-12-17 14:40:39 +01:00
A.Unger 819e8dc82d init micro runtime separately 2019-12-17 14:40:39 +01:00
Alex Unger 93e17ea4f7 Merge branch 'master' into feature/integrate-micro-runtime 2019-12-17 13:08:53 +01:00
Thomas Müller 0ec017af58 Merge pull request #72 from janrenz/patch-1
Fixed Link to readme, hosted on GitHub
2019-12-17 12:47:39 +01:00
Jan Renz 4112405a72 Fixed Link to readme, hosted on GitHUb 2019-12-17 12:08:28 +01:00
A.Unger 82feb6ea43 block with a range instead of a select without default 2019-12-17 11:59:28 +01:00
A.Unger 32f9884a58 added command categories (extensions, fullstack) + reduce complexity metrics hopefully 2019-12-17 11:43:58 +01:00
A.Unger 7ca44bce13 added phoenix, graph, ocs and webdav to startup 2019-12-17 11:06:46 +01:00
A.Unger c5f7c68d87 added micro runtime default services 2019-12-17 10:49:04 +01:00
A.Unger af32874919 integrated micro runtime 2019-12-17 10:35:33 +01:00
A.Unger 70c496d830 remove micro gateway service definition 2019-12-17 10:01:04 +01:00
Thomas Müller eab9424985 Merge pull request #14 from owncloud/fix/static-assets
fix serving static issues
2019-12-17 09:40:55 +01:00
Jörn Friedrich Dreyer a0ebc35b80 Merge pull request #18 from owncloud/feature/integrate-oidc
Feature/integrate oidc
2019-12-17 09:37:18 +01:00
Thomas Müller d2b35e5875 Integrate OpenID Connect middleware 2019-12-17 09:09:34 +01:00
Jörn Friedrich Dreyer 654e889231 Automated changelog update [skip ci] 2019-12-16 11:11:47 +00:00
Jörn Friedrich Dreyer ef1320072c Merge pull request #15 from owncloud/oidc-middleware
fix and simplify oidc middleware
2019-12-16 12:07:18 +01:00
Jörn Friedrich Dreyer 1000a04b91 simplify oidc middleware
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2019-12-16 11:59:37 +01:00
Jörn Friedrich Dreyer 25785a920a fix serving static issues
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2019-12-13 16:41:14 +01:00
Alex Unger 4be207750e Working OCIS binary (#70)
Working OCIS binary
2019-12-13 16:38:54 +01:00
A.Unger b1d041fcb1 remove err printing 2019-12-13 16:27:56 +01:00
A.Unger 88821244cb added info flag 2019-12-13 13:09:49 +01:00
A.Unger f46a49826a use the right port on webdav service 2019-12-13 10:37:06 +01:00
A.Unger ded7b7249c use the right port on ocs service 2019-12-13 10:36:28 +01:00
A.Unger 58eaf3750f use the right port on konnectd service 2019-12-13 10:36:13 +01:00
A.Unger fa77e943cd use the right port on graph service 2019-12-13 10:35:55 +01:00
A.Unger ff60245e83 enable phoenix on the reserved port 2019-12-13 10:35:23 +01:00
A.Unger f74995a626 enable konnectd + ocs 2019-12-13 10:31:15 +01:00
A.Unger 1ee963dcdd remove dead code 2019-12-13 10:17:22 +01:00
A.Unger 2903a9e3d4 comment out api initialization 2019-12-13 10:16:04 +01:00
A.Unger e3ff508e02 updated dependencies 2019-12-13 10:15:46 +01:00
A.Unger d0d19d982b added a reference example of a gateway service 2019-12-13 10:15:37 +01:00
A.Unger fd1eabf43b adapt WebDavHandler to match its interface definition 2019-12-13 10:15:03 +01:00
Thomas Boerger 2221c66aba Merge pull request #4 from refs/fix/cmd-flags
cmd flags as a dependency
2019-12-12 14:16:59 +01:00
Thomas Boerger cb8571fc33 Merge pull request #8 from owncloud/fix/cmd-flags
cmd flags as a dependency
2019-12-12 14:16:41 +01:00
Thomas Boerger 6e342276dd Merge pull request #16 from owncloud/fix/cmd-flags
cmd flags as a dependency
2019-12-12 14:16:11 +01:00
Thomas Boerger 1b97549788 Merge pull request #8 from owncloud/fix/cmd-flags
cmd flags as a dependency
2019-12-12 14:15:47 +01:00
A.Unger fa0b2c2c2f inject cmd flags 2019-12-12 11:14:04 +01:00
A.Unger 1a00d102c4 inject cmd flags 2019-12-12 11:09:45 +01:00
A.Unger a70d8f6010 inject cmd flags 2019-12-12 11:01:55 +01:00
A.Unger 988d3e37c7 inject root and server flags to constructor 2019-12-12 10:55:57 +01:00
A.Unger b69a749e25 use flags from options instead of config 2019-12-12 10:55:26 +01:00
A.Unger 67795f4cc9 added flag options 2019-12-12 10:55:09 +01:00
A.Unger d4728c6d01 provide configuration for the extension on runtime 2019-12-12 10:06:26 +01:00
A.Unger 36db307333 update modules 2019-12-12 10:05:30 +01:00
A.Unger 0695c25089 prevent from registering broken services 2019-12-12 09:53:43 +01:00
Alex Unger f66b9c3624 Sync with ocis-hello flags handling (#20)
Sync with ocis-hello flags handling
2019-12-11 16:18:16 +01:00
A.Unger 2ba2c68a0b sync with ocis-hello flags handling 2019-12-11 16:08:24 +01:00
Thomas Müller d448ca547c Automated changelog update [skip ci] 2019-12-11 14:42:29 +00:00
Thomas Müller ab52855478 Merge pull request #12 from owncloud/oidc-middleware
introduce oidc middleware
2019-12-11 15:38:57 +01:00
Jörn Friedrich Dreyer d9e0380d80 introduce oidc middleware
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2019-12-11 15:32:22 +01:00
Thomas Boerger 036f94467d Merge pull request #13 from owncloud/refs-patch-1
Grant access to protected branches to oc employees
2019-12-11 14:47:26 +01:00
Thomas Boerger e50cbfd7be Merge pull request #7 from owncloud/refs-patch-1
Grant access to protected branches to oc employees
2019-12-11 14:46:21 +01:00
Thomas Boerger 307fdc810c Merge pull request #19 from owncloud/refs-patch-1
Grant access to protected branches to oc employees
2019-12-11 14:46:02 +01:00
Thomas Boerger ba88db2b15 Merge pull request #7 from owncloud/refs-patch-1
Grant access to protected branches to oc employees
2019-12-11 14:45:17 +01:00
Thomas Boerger c8154574ce Merge pull request #3 from owncloud/refs-patch-1
Grant access to protected branches to oc employees
2019-12-11 14:44:59 +01:00
Thomas Boerger b3ce0c1c2f Merge pull request #15 from owncloud/refs-patch-1
Grant access to protected branches to oc employees
2019-12-11 14:44:46 +01:00
Thomas Boerger 7fd9b8ac14 Merge pull request #67 from owncloud/fix/gh-branch-protection
Grant access to protected branches to oc employees
2019-12-11 14:44:25 +01:00
Alex Unger c967eddb27 Grant access to protected branches to oc employees 2019-12-11 13:38:54 +01:00
Alex Unger 44c6448fe4 Grant access to protected branches to oc employees 2019-12-11 13:38:04 +01:00
Alex Unger 0f5e7f9e55 Grant access to protected branches to oc employees 2019-12-11 13:36:59 +01:00
Alex Unger b56c589f44 Grant access to protected branches to oc employees 2019-12-11 13:36:33 +01:00
Alex Unger 0046de15e2 Grant access to protected branches to oc employees 2019-12-11 13:36:03 +01:00
Alex Unger daea235475 Grant access to protected branches to oc employees 2019-12-11 13:35:26 +01:00
A.Unger 5ab710b28c grant access to protected branches to oc employees 2019-12-11 13:33:25 +01:00
Thomas Müller 901c02afce Merge pull request #17 from owncloud/feature/groups
Feature/groups
2019-12-11 10:12:44 +01:00
Thomas Boerger 1612e4a841 Use new package structuring, embed existing extensions 2019-12-10 15:24:01 +01:00
Thomas Müller 1d0e201379 Render proper list responses for users and groups 2019-12-10 12:41:26 +01:00
Thomas Müller 37940d58c7 Adding /v1.0/groups 2019-12-10 12:41:26 +01:00
Thomas Müller fc7e3d748b Merge pull request #16 from owncloud/feature/configure-ldap
Add LDAP config to flagset
2019-12-10 12:40:50 +01:00
Thomas Müller 96929276e0 Add LDAP config to flagset 2019-12-10 11:18:02 +01:00
Thomas Boerger af2e98f1e6 Drop nodejs references from readme 2019-12-10 10:02:27 +01:00
Thomas Boerger 3f4c51b962 Drop nodejs references from readme 2019-12-10 10:02:03 +01:00
Thomas Boerger 1d02209be7 Drop node references from readme 2019-12-10 10:01:37 +01:00
Thomas Boerger 0f2829ca1b Fix formatting 2019-12-10 09:45:49 +01:00
Thomas Boerger 66337bb4da Initial commit 2019-12-10 09:38:51 +01:00
Thomas Müller b8e4604416 Merge pull request #15 from owncloud/feature/use-proper-error-object
Introduce ErrorCode enum for error handling
2019-12-09 22:00:17 +01:00
Thomas Müller 7c538b21c3 Introduce ErrorCode enum for error handling 2019-12-09 20:36:47 +01:00
Thomas Boerger c73b270f87 Merge pull request #14 from owncloud/restructure
Restructure project similar to hello and graph
2019-12-09 16:26:23 +01:00
Thomas Boerger eed82050c8 Merge pull request #14 from owncloud/http-root
Add custom http root
2019-12-09 16:26:14 +01:00
Thomas Boerger 690e80aaec Add back http-root 2019-12-09 16:13:26 +01:00
Thomas Boerger 3b82714a78 Add effort labels 2019-12-09 16:13:26 +01:00
Thomas Boerger 1aa4e64764 add logger to assets 2019-12-09 16:12:53 +01:00
Thomas Boerger 3498580b7b Restructure project similar to hello and graph 2019-12-09 16:12:53 +01:00
Thomas Boerger 385a99d3a3 Add custom http root
Now we are able to let this service run on a different root path.
2019-12-09 16:11:26 +01:00
Thomas Boerger 62230d2d23 Merge pull request #6 from owncloud/http-root
Add custom http root
2019-12-09 16:07:51 +01:00
Thomas Boerger 1a87c7e109 Merge pull request #6 from owncloud/http-root
Add custom http root
2019-12-09 16:07:47 +01:00
Thomas Müller 8491cf288e Merge pull request #8 from owncloud/feature/read-more-ldap-attributes
Read more LDAP attributes to fill the user model
2019-12-09 15:55:12 +01:00
Thomas Boerger c100102253 Add custom http root
Now we are able to let this service run on a different root path.
2019-12-09 14:48:37 +01:00
Thomas Boerger 4e4e873b80 Add custom http root
Now we are able to let this service run on a different root path.
2019-12-09 14:48:22 +01:00
Thomas Boerger 46095a5a39 Automated changelog update [skip ci] 2019-12-09 13:45:11 +00:00
Thomas Boerger 8264882910 Merge pull request #11 from owncloud/changelog-1.2.0
Prepare changelog for 1.2.0
2019-12-09 14:41:35 +01:00
Thomas Boerger 2417fb935c Automated changelog update [skip ci] 2019-12-09 13:39:35 +00:00
Thomas Boerger 99c8da7fbb Prepare changelog for 1.2.0 2019-12-09 14:37:20 +01:00
Thomas Boerger 29bdcd6d6e Merge pull request #10 from owncloud/static-root-path
Add root path to static middleware
2019-12-09 14:35:57 +01:00
Thomas Boerger 7b9cdadbdd Add root path to static middleware 2019-12-09 14:28:15 +01:00
Thomas Boerger 535a6ef579 Add effort labels 2019-12-09 14:27:31 +01:00
Thomas Müller c31ddc2417 A bit more structure to the code base ... 2019-12-09 14:08:19 +01:00
Thomas Müller edcc7f43a9 Read more attributes from LDAP and implement /v1.0/users/{userID} 2019-12-09 12:24:50 +01:00
Thomas Boerger 34dcbeee14 Add effort labels 2019-12-09 11:56:06 +01:00
Thomas Boerger b5a28fe5ed Add descriptions to labels 2019-12-09 11:55:38 +01:00
Thomas Boerger 7d102589ba Add effort labels 2019-12-09 11:55:27 +01:00
Thomas Boerger 6b6b1d8b66 Add descriptions to labels 2019-12-09 11:54:55 +01:00
Jörn Friedrich Dreyer 2bed27443e add effort labels 2019-12-09 11:43:36 +01:00
Jörn Friedrich Dreyer a4bc4bd839 add effort labels 2019-12-09 11:42:42 +01:00
Jörn Friedrich Dreyer f9f58f9a32 add effort labels 2019-12-09 11:42:08 +01:00
Jörn Friedrich Dreyer 74f3709320 order effort labels correctly 2019-12-09 11:39:43 +01:00
Jörn Friedrich Dreyer 3c9082dad0 enable wiki 2019-12-09 11:36:42 +01:00
Jörn Friedrich Dreyer 3bf6ffdd44 add effort labels 2019-12-09 11:35:58 +01:00
Thomas Boerger 2b826cb4fc Merge pull request #13 from owncloud/fix-go-requirement
Require a minimum of Go 1.13
2019-12-06 16:17:28 +01:00
Thomas Boerger 1705a86b55 Merge pull request #5 from owncloud/restructure
Restructure project similar to hello and graph
2019-12-06 16:17:13 +01:00
Thomas Boerger 7ef6012e2f Merge pull request #5 from owncloud/restructure
Restructure project similar to hello and graph
2019-12-06 16:17:05 +01:00
Thomas Boerger 1779928633 Merge pull request #7 from owncloud/fix-go-requirement
Require a minimum of Go 1.13
2019-12-06 15:06:14 +01:00
Thomas Boerger 89ab7bf914 Restructure project similar to hello and graph 2019-12-06 15:03:44 +01:00
Thomas Boerger acd6d6e7f5 Restructure project similar to hello and graph 2019-12-06 15:03:43 +01:00
Thomas Boerger 807b19504e Require a minimum of Go 1.13
Some dependencies of the ocis extensions require crypto/ed25519 which
doesn't seem to be available in Go 1.12.
2019-12-06 14:59:15 +01:00
Thomas Boerger bf74e2233e Require a minimum of Go 1.13
Some dependencies of the ocis extensions require crypto/ed25519 which
doesn't seem to be available in Go 1.12.
2019-12-06 14:59:13 +01:00
Thomas Boerger 0815b3c56a Merge pull request #5 from owncloud/go-build-fix
Only execute go build -i on darwin
2019-12-06 14:47:28 +01:00
Thomas Müller e16a52e980 Merge pull request #11 from owncloud/go-build-fix
Only execute go build -i on darwin
2019-12-06 14:43:44 +01:00
Thomas Boerger 86a14a1995 Merge branch 'master' into go-build-fix 2019-12-06 14:41:22 +01:00
Thomas Boerger 9d83660712 Only execute go build -i on darwin
As some linux systems don't like the -i flag for go build we are
generally disabling that by default, you can always enable it by
overwriting GOBUILD.
2019-12-06 14:35:35 +01:00
Thomas Boerger 43187a3bf5 Only execute go build -i on darwin
As some linux systems don't like the -i flag for go build we are
generally disabling that by default, you can always enable it by
overwriting GOBUILD.
2019-12-06 14:35:24 +01:00
Thomas Müller 055c99d3f2 Merge pull request #10 from owncloud/additions
Fix typo, add config to graph service
2019-12-06 14:09:12 +01:00
Thomas Boerger 070e9780b0 Add config to graph service 2019-12-06 14:03:33 +01:00
Thomas Boerger 5985302439 Fix typo within readme 2019-12-06 13:32:48 +01:00
Thomas Boerger 1382676582 Merge pull request #9 from owncloud/restructure
Restructure based on hello reference
2019-12-06 13:26:40 +01:00
Thomas Boerger dfa78aff7c Restructure based on hello reference 2019-12-06 13:18:26 +01:00
Thomas Boerger d1816546e1 Automated changelog update [skip ci] 2019-12-06 08:59:14 +00:00
Thomas Boerger 2461317331 Merge pull request #4 from owncloud/changelog-1.1.0
Prepare changelog for 1.1.0
2019-12-06 09:55:46 +01:00
Thomas Boerger 123269ed17 Prepare changelog for 1.1.0 2019-12-06 09:51:11 +01:00
Thomas Boerger 38eddc3179 Automated changelog update [skip ci] 2019-12-06 08:48:39 +00:00
Thomas Boerger 59ad8ca5d9 Merge pull request #3 from owncloud/log-level-handling
Better log level handling within micro
2019-12-06 09:45:06 +01:00
Thomas Boerger ecf44c15e0 Better log level handling within micro
Currently every log message from the micro internals are logged with the info
level, we really need to respect the proper defined log level within our log
wrapper package.
2019-12-06 09:33:03 +01:00
Thomas Müller ac202d5458 Merge pull request #5 from owncloud/bugfix/fix-dron-2
Cleaning up .drone.star
2019-12-06 09:22:47 +01:00
Thomas Müller 5cbc7fc2bc Cleanup drone pipelines 2019-12-06 09:08:40 +01:00
Thomas Boerger de28802282 Merge pull request #4 from owncloud/feature/graph-me
Add simple route for /me
2019-12-05 18:14:35 +01:00
Thomas Boerger 298f03b964 Merge branch 'master' into feature/graph-me 2019-12-05 18:11:23 +01:00
Thomas Müller 445400f1df Read users from ldap 2019-12-05 17:27:47 +01:00
Thomas Müller cae6870dd8 Add simple route for /users 2019-12-05 16:13:39 +01:00
Thomas Müller 6b4dd6ab2a Add simple route for /me 2019-12-05 15:19:33 +01:00
Thomas Müller 235e9f5a9b Merge pull request #2 from owncloud/bugfix/drone
Fix drone pipelines
2019-12-05 15:19:03 +01:00
Thomas Boerger 1c6919d5fc Ignore the changelog on codacy 2019-12-05 14:38:19 +01:00
Thomas Boerger 90079ef583 Add some basic description to readme 2019-12-05 14:38:07 +01:00
Thomas Boerger 52639b83b6 Add more config options to clone plugin 2019-12-05 14:27:35 +01:00
Thomas Boerger afed22cfd6 Fix changelog update 2019-12-05 14:19:42 +01:00
Thomas Boerger 97dd10842e Prepare changelog for v1.0.0 2019-12-05 14:07:20 +01:00
Thomas Boerger 06f8b78a70 Fix copy and paste error within naming 2019-12-05 13:22:00 +01:00
Thomas Boerger be4c6b8a44 Use our golang image for changelog generate 2019-12-05 11:59:38 +01:00
Thomas Boerger 891190f17d Fix drone pipeline dependency 2019-12-05 11:56:30 +01:00
Thomas Boerger f32c1f050f Set right codacy url within readme 2019-12-05 11:55:34 +01:00
Thomas Boerger 63fa90a673 Initial commit 2019-12-05 11:50:00 +01:00
Thomas Müller b30fcde437 Disable static check and lint for now 2019-12-05 09:47:42 +01:00
Thomas Müller c0f93d4833 Make vet happy ;-) 2019-12-05 09:40:10 +01:00
Thomas Müller 8878752f1e Fix drone pipelines 2019-12-04 17:27:27 +01:00
Thomas Müller e7db881073 Merge pull request #1 from owncloud/bugfix/project-description
Fix project description
2019-12-04 17:24:08 +01:00
Thomas Müller 07090f0262 Fix project description 2019-12-04 17:19:24 +01:00
Thomas Müller d9e7f1a986 init 2019-12-04 17:15:11 +01:00
Thomas Boerger 5c15745a3a Simplify readme for changelogs 2019-11-06 10:13:44 +01:00
Thomas Boerger dcac6a2735 Simplify readme for changelogs 2019-11-06 10:13:43 +01:00
Thomas Boerger d6869ac9c9 Simplify readme for changelogs 2019-11-06 10:13:42 +01:00
Thomas Boerger a16506b8bb Simplify readme for changelogs 2019-11-06 10:13:41 +01:00
Thomas Boerger 092a1e91d6 Drop fossa, add documentation link to readme 2019-11-06 10:13:17 +01:00
Thomas Boerger 05ea6752ed Drop fossa, add documentation link to readme 2019-11-06 10:13:16 +01:00
Thomas Boerger 1a072f8d6d Drop fossa, add documentation link to readme 2019-11-06 10:13:15 +01:00
Thomas Boerger 349ae00f65 Drop fossa, add documentation link to readme 2019-11-06 10:13:14 +01:00
Thomas Boerger e3eabde117 Switch to pure starlark drone config 2019-11-06 10:12:23 +01:00
Thomas Boerger 4b86b46035 Switch to pure starlark drone config 2019-11-06 10:12:21 +01:00
Thomas Boerger 073cae09c5 Switch to pure starlark drone config 2019-11-06 10:12:20 +01:00
Thomas Boerger c0d61df192 Switch to pure starlark drone config 2019-11-06 10:12:18 +01:00
Thomas Boerger 52e747e148 Ignore configs except the examples 2019-11-06 10:11:08 +01:00
Thomas Boerger 4985d0d98b Ignore configs except the examples 2019-11-06 10:11:07 +01:00
Thomas Boerger bd3f7afcae Ignore configs except the examples 2019-11-06 10:11:06 +01:00
Thomas Boerger 2ce8986765 Ignore configs except the examples 2019-11-06 10:11:05 +01:00
Thomas Boerger ec23d131b6 Restructure styles within docs 2019-11-06 10:08:50 +01:00
Thomas Boerger f088ffdcdf Restructure styles within docs 2019-11-06 10:08:14 +01:00
Thomas Boerger 3635bf730f Restructure styles within docs 2019-11-06 10:07:53 +01:00
Thomas Boerger bf3b6d3fa8 Restructure styles within docs 2019-11-06 10:07:47 +01:00
Thomas Boerger 4ec0f5ce41 Fix docker labels, use better base images 2019-11-06 10:07:10 +01:00
Thomas Boerger 4bc3285b5c Fix docker labels, use better base images 2019-11-06 10:06:58 +01:00
Thomas Boerger 770f693459 Fix docker labels, use better base images 2019-11-06 10:06:52 +01:00
Thomas Boerger d3fb71643f Fix docker labels, use better base images 2019-11-06 10:06:47 +01:00
Thomas Boerger 57f6d21945 Merge pull request #13 from madsi1m/patch-1
Update to 0.2.5
2019-11-06 08:29:56 +01:00
madsi1m 053b60b73c Update to 0.2.5 2019-11-06 11:34:48 +11:00
Thomas Boerger b90c399570 Merge pull request #4 from owncloud/version-fix
Raise minimal Go version to v1.12
2019-10-04 22:15:53 +02:00
Thomas Boerger fc7ed7b24d Merge pull request #12 from owncloud/version-fix
Raise minimal Go version to v1.12
2019-10-04 22:15:49 +02:00
Thomas Boerger 5dc2003579 Merge pull request #4 from owncloud/version-fix
Raise minimal Go version to v1.12
2019-10-04 22:15:44 +02:00
Thomas Boerger 05d6e19dc9 Merge pull request #40 from owncloud/version-fix
Raise minimal Go version to v1.12
2019-10-04 22:15:35 +02:00
Thomas Boerger 5c79d83335 Raise minimal Go version to v1.12 2019-10-04 22:03:04 +02:00
Thomas Boerger a16b97a553 Raise minimal Go version to v1.12 2019-10-04 22:02:54 +02:00
Thomas Boerger f0da39d6c2 Raise minimal Go version to v1.12 2019-10-04 22:02:44 +02:00
Thomas Boerger e2356e1fe5 Raise minimal Go version to v1.12 2019-10-04 22:02:22 +02:00
Thomas Boerger 70b9a2f338 Add employees to teams 2019-10-01 10:59:34 +02:00
Thomas Boerger 5428d8930d Add employees to teams 2019-10-01 10:58:59 +02:00
Thomas Boerger e0348c0073 Add employees to teams 2019-10-01 10:58:27 +02:00
Thomas Boerger 44e52d0de1 Rename internal developers to employees 2019-10-01 10:56:20 +02:00
Thomas Boerger 87642c844a Fix internal developers permission 2019-10-01 10:52:29 +02:00
Thomas Boerger 19dd1db795 Assign internal developers to repo 2019-10-01 10:51:06 +02:00
Thomas Boerger fd8714452f Merge pull request #11 from owncloud/updates
Update phoenix to 0.2.3
2019-09-20 09:33:09 +02:00
Thomas Boerger c2a3825ea5 Update phoenix to 0.2.3 2019-09-20 09:23:22 +02:00
Thomas Boerger c25c0324ee Add test file dummies 2019-09-20 09:23:05 +02:00
Thomas Boerger f17ec4bba7 Merge pull request #6 from fossabot/master
Add license scan report and status
2019-09-18 11:07:32 +02:00
Thomas Boerger 3e03fca45f Merge pull request #10 from fossabot/master
Add license scan report and status
2019-09-18 11:07:29 +02:00
Thomas Boerger ce46163b26 Merge pull request #3 from fossabot/master
Add license scan report and status
2019-09-18 11:07:25 +02:00
Thomas Boerger f909ee81d4 Merge pull request #3 from fossabot/master
Add license scan report and status
2019-09-18 11:07:22 +02:00
Thomas Boerger f84b84e974 Remove duplicated licenses info from readme 2019-09-18 09:52:37 +02:00
Thomas Boerger 6d4fe49882 Remove duplicated licenses info from readme 2019-09-18 09:52:22 +02:00
Thomas Boerger c93d38d693 Remove duplicated licenses info from readme 2019-09-18 09:52:07 +02:00
Thomas Boerger 6df72bdae2 Remove duplicated licenses info from readme 2019-09-18 09:51:49 +02:00
fossabot 2265cb36e3 Add license scan report and status
Signed-off-by: fossabot <badges@fossa.io>
2019-09-18 00:20:06 -07:00
fossabot 66a5bb8b37 Add license scan report and status
Signed-off-by: fossabot <badges@fossa.io>
2019-09-18 00:20:05 -07:00
fossabot 5dce9978a3 Add license scan report and status
Signed-off-by: fossabot <badges@fossa.io>
2019-09-18 00:20:05 -07:00
fossabot 15befabcb3 Add license scan report and status
Signed-off-by: fossabot <badges@fossa.io>
2019-09-18 00:20:01 -07:00
Thomas Boerger f8343dd870 Rename phoenix folder into assets 2019-09-16 14:05:36 +02:00
Thomas Boerger c73f1cd325 Start to publish documentation 2019-09-16 11:57:08 +02:00
Thomas Boerger 1b0c737d3b Add example configs 2019-09-16 11:03:18 +02:00
Thomas Boerger a615b1dae0 Add example configs 2019-09-16 11:03:17 +02:00
Thomas Boerger c9bde797bd Add example configs 2019-09-16 11:03:16 +02:00
Thomas Boerger 3bad757021 Add simple text to about docs section 2019-09-16 10:37:34 +02:00
Thomas Boerger 109bdfa569 Add simple text to about docs section 2019-09-16 10:37:30 +02:00
Thomas Boerger 657353b9bc Add simple text to about docs section 2019-09-16 10:37:26 +02:00
Thomas Boerger dd5115dea0 Apply standard format, add dummy server 2019-09-16 10:11:09 +02:00
Thomas Boerger f736c02c23 Apply standard format, add dummy server 2019-09-16 10:11:08 +02:00
Thomas Boerger aff767c4d3 Generate and publish documentation within drone 2019-09-16 09:13:03 +02:00
Thomas Boerger 3e3717d7b1 Add inital documentation 2019-09-16 09:10:57 +02:00
Thomas Boerger a8ce4461a7 Ignore config.json within config dir 2019-09-13 15:08:24 +02:00
Thomas Boerger e1e5cad606 Merge pull request #8 from owncloud/socket-listener
Optionally listen to unix sockets instead of port binding
2019-09-13 15:01:37 +02:00
Thomas Boerger 85b9383aa5 Merge branch 'master' into socket-listener 2019-09-13 14:48:55 +02:00
Thomas Boerger 7b508d788c Merge pull request #9 from owncloud/ignore-assets
Drop and ignore generated assets
2019-09-13 14:48:42 +02:00
Thomas Boerger def3c32bca Drop and ignore generated assets
We are embedding the assets as part of our build pipeline, and even
without that the embedded assets are generated by our `make generate`
task anyway, so let's remove thise huge amount of files from the
repository and generate it on build time.
2019-09-13 14:41:16 +02:00
Thomas Boerger ae50f7dcd3 Optionally listen to unix sockets instead of port binding 2019-09-13 14:39:31 +02:00
Thomas Boerger 7eda1b62b0 Add missing dot to comment 2019-09-13 13:22:45 +02:00
Thomas Boerger 0aa03ce88c Always load assets from phoenix dir on development 2019-09-13 13:22:21 +02:00
Thomas Boerger 345a290443 Merge pull request #7 from owncloud/initial-phoenix
Embed phoenix and serve it
2019-09-11 13:13:54 +02:00
Thomas Boerger 39de6f69e4 Drop all config attributes, just serve a config.json 2019-09-11 13:08:33 +02:00
Thomas Boerger ebfc405449 Upgrade phoenix to 0.2.1 2019-09-06 14:53:11 +02:00
Thomas Boerger ca209f23bd Replace gorunpkg with go run commands 2019-09-06 13:48:14 +02:00
Thomas Boerger 185704bca9 Implement healthcheck command 2019-09-06 13:41:02 +02:00
Thomas Boerger b6d43661a8 Embed phoenix and serve it
So far Phoenix have been embedded into the binary and we can customize
the required config based on flags, env variables and optionally via
config file. For now I'm embedding the whole Phonix content, optherwise
the all-in-one binary `ocis` will get pretty complicated until we add
the generate commands to that repo as well and provide a mechanism to
inject the embedding.
2019-09-06 13:40:18 +02:00
Thomas Boerger e675cbb519 Fix typo within readme headline 2019-09-05 15:24:56 +02:00
Thomas Boerger 1405272e98 Fix typo within readme headline 2019-09-05 15:24:55 +02:00
Thomas Boerger 9735e70758 Fix typo within readme headline 2019-09-05 15:24:54 +02:00
Thomas Boerger 18bf7dc120 Fix typo within readme headline 2019-09-05 15:24:54 +02:00
Thomas Boerger d76ff004de Add clanes dependency to go modules 2019-09-05 15:24:16 +02:00
Thomas Boerger 89bf9f0fec Add make task for changelog generator 2019-09-05 15:23:53 +02:00
Thomas Boerger fc0dec8c54 Add make task for changelog generator 2019-09-05 15:23:52 +02:00
Thomas Boerger 775a1884b6 Disable dismissal restrictions 2019-09-05 14:21:34 +02:00
Thomas Boerger 17e457beb8 Disable dismissal restrictions 2019-09-05 14:21:33 +02:00
Thomas Boerger 08e401cf5e Disable dismissal restrictions 2019-09-05 14:21:33 +02:00
Thomas Boerger e342d5726c Disable dismissal restrictions 2019-09-05 14:21:32 +02:00
Thomas Boerger 53ee557202 Check if gh settings are working now correctly 2019-09-05 14:17:43 +02:00
Thomas Boerger 83d948b0f9 Check if gh settings are working now correctly 2019-09-05 14:17:41 +02:00
Thomas Boerger 87c7e9af2e Check if gh settings are working now correctly 2019-09-05 14:17:41 +02:00
Thomas Boerger 47880cce29 Check if gh settings are working now correctly 2019-09-05 14:17:39 +02:00
Thomas Boerger 90a7536857 Only configure admins within settings 2019-09-05 14:02:45 +02:00
Thomas Boerger 7f7bd24649 Only configure admins within settings 2019-09-05 14:02:44 +02:00
Thomas Boerger 493c8d21c9 Only configure admins within settings 2019-09-05 14:02:44 +02:00
Thomas Boerger eb4674377e Only configure admins within settings 2019-09-05 14:02:42 +02:00
Thomas Boerger a697bdd0bc Lint available yaml files 2019-09-05 13:58:18 +02:00
Thomas Boerger 86c67bb3ab Lint available yaml files 2019-09-05 13:58:14 +02:00
Thomas Boerger 47d8c18e69 Lint available yaml files 2019-09-05 13:58:12 +02:00
Thomas Boerger 6af9f3a6f4 Lint available yaml files 2019-09-05 13:58:09 +02:00
Thomas Boerger a1f37f6332 Also rename to ocis within dotfiles 2019-09-05 13:38:21 +02:00
Thomas Boerger 4fb983629d Also rename to ocis within dotfiles 2019-09-05 13:38:20 +02:00
Thomas Boerger 40b869a719 Also rename to ocis within dotfiles 2019-09-05 13:38:19 +02:00
Thomas Boerger 7764f1f3ca Also rename to ocis within dotfiles 2019-09-05 13:38:19 +02:00
Thomas Boerger 7d04edb785 Merge pull request #5 from owncloud/repo-rename
Update files for new ocis naming
2019-09-05 13:32:55 +02:00
Thomas Boerger e807f497bf Update files for new ocis naming 2019-09-05 12:15:54 +02:00
Thomas Boerger 0d7ed8b013 Merge pull request #2 from owncloud/repo-rename
Update files for new ocis naming
2019-09-05 12:11:59 +02:00
Thomas Boerger 4d74712e7d Merge pull request #2 from owncloud/repo-rename
Update files for new ocis naming
2019-09-05 12:11:56 +02:00
Thomas Boerger daaf1e6ddb Merge pull request #6 from owncloud/repo-rename
Update files for new ocis naming
2019-09-05 12:11:44 +02:00
Thomas Boerger 7204bd7f44 Update files for new ocis naming 2019-09-05 12:06:11 +02:00
Thomas Boerger 9a2cc35ecf Update files for new ocis naming 2019-09-05 12:06:09 +02:00
Thomas Boerger 6311fa375b Update files for new ocis naming 2019-09-05 12:06:07 +02:00
Thomas Boerger b00040ebbc Initial commit 2019-09-05 11:41:41 +02:00
Thomas Boerger 37a9b0ea0b Initial commit 2019-09-05 11:41:41 +02:00
Thomas Boerger a428f13eeb Fix github settings repo name 2019-09-05 11:38:27 +02:00
Thomas Boerger 8ff36374f3 Merge pull request #4 from owncloud/changelog-make
Add make task to generate changelog
2019-09-05 10:46:58 +02:00
Thomas Boerger 251350ed1d Merge pull request #3 from owncloud/changelog-make
Add make task to generate changelog
2019-09-05 10:46:55 +02:00
Thomas Boerger ee0eb5d7bb Merge pull request #5 from owncloud/github-settings
Enable github settings config
2019-09-05 10:46:37 +02:00
Thomas Boerger 70fe47c879 Merge pull request #4 from owncloud/github-settings
Enable github settings config
2019-09-05 10:46:34 +02:00
Thomas Boerger 9e34812a30 Enable github settings config 2019-09-05 10:39:47 +02:00
Thomas Boerger 83c35a41dc Add dummy files for issue and pr templates 2019-09-05 10:39:46 +02:00
Thomas Boerger a851a19f4b Enable github settings config 2019-09-05 10:37:50 +02:00
Thomas Boerger 7cc7aeb57f Add dummy files for issue and pr templates 2019-09-05 10:30:58 +02:00
Thomas Boerger a213fd056a Add make task to generate changelog 2019-09-05 10:28:59 +02:00
Thomas Boerger 93893133c3 Add make task to generate changelog 2019-09-05 10:28:53 +02:00
Thomas Boerger 79f9d1da4e Fix title and body for github releases 2019-09-05 10:27:59 +02:00
Thomas Boerger b4a66e6479 Fix title and body for github releases 2019-09-05 10:27:57 +02:00
Thomas Boerger 64541a7e46 Overwrite github release title 2019-09-05 09:55:07 +02:00
Thomas Boerger 923ee14342 Overwrite github release title 2019-09-05 09:55:06 +02:00
Thomas Boerger 01017e22ba Add chngelog generator basics 2019-09-04 16:38:17 +02:00
Thomas Boerger ae571a092d Add title and body to github releases 2019-09-04 16:38:17 +02:00
Thomas Boerger 552ab115cf Add chngelog generator basics 2019-09-04 16:38:16 +02:00
Thomas Boerger a05402b612 Add title and body to github releases 2019-09-04 16:38:15 +02:00
Thomas Boerger 217f7c6c3a Add bra config to automatically restart server on code change 2019-09-04 11:02:46 +02:00
Thomas Boerger 5d66ac741f Add bra config to automatically restart server on code change 2019-09-04 11:02:34 +02:00
Thomas Boerger ba353b5ee5 Merge pull request #1 from owncloud/initial-structure
Add initial project structure
2019-09-04 10:41:24 +02:00
Thomas Boerger 6dbfb09f4b Add initial project structure
With this commit I have prepared a full basic project structure, so far it doesn't embed phoenix itself and also no kit parts. It includes the whole Drone pipeline to continously publish binaries on push and on tag to our download mirrors (will be available at https://download.owncloud.com/reva/phoenix) and also publishes Docker images at owncloud/reva-phonix. For the Docker image auto_tag is enabled, which means latest is always based on the master branch and tags are automatically converted to minor, major and patch release tags.
2019-09-04 10:33:03 +02:00
Thomas Boerger 66facde60a Rename service package to command 2019-09-04 10:18:30 +02:00
Thomas Boerger 07a356c649 Add trailing slash to download mirror url 2019-09-04 09:55:35 +02:00
Thomas Boerger 2fc69dc88d Merge pull request #2 from owncloud/codacy-happy
Make markdown linter happy
2019-09-04 09:41:59 +02:00
Thomas Boerger 92cea49f60 Make markdown linter happy 2019-09-04 09:36:48 +02:00
Thomas Boerger 261fa57b29 Merge pull request #1 from owncloud/initial-structure
Add initial project structure
2019-09-04 09:26:39 +02:00
Thomas Boerger e2991f63f3 Create directories before release task 2019-09-03 18:31:32 +02:00
Thomas Boerger 44f44f8857 Add dryrun to docker step to test docker image build on PRs 2019-09-03 18:30:50 +02:00
Thomas Boerger 94ad1585f6 Fix typo and replace tabs within starlark script 2019-09-03 18:25:16 +02:00
Thomas Boerger 6a4066d603 Add initial project structure
With this commit I have prepared a full basic project structure, so far
it doesn't embed phoenix itself and also no kit parts. It includes the
whole Drone pipeline to continously publish binaries on push and on tag
to our download mirrors (will be available at
    https://download.owncloud.com/reva/phoenix) and also publishes
Docker images at owncloud/reva-phonix. For the Docker image auto_tag is
enabled, which means latest is always based on the master branch and
tags are automatically converted to minor, major and patch release tags.
2019-09-03 18:10:34 +02:00
Thomas Boerger 7c798e571b Drop built binary from repo 2019-09-02 16:08:48 +02:00
Robert Kaussow ca30dd04da fix typos 2019-08-21 16:54:55 +02:00
Robert Kaussow bf0782872a initial commit 2019-08-21 16:54:18 +02:00
Robert Kaussow 4ce3aebb08 add dummy output 2019-08-21 16:53:11 +02:00
Robert Kaussow 3e408052ed add basic gitignore 2019-08-21 16:52:47 +02:00
Robert Kaussow 6ad779051c add service package 2019-08-21 16:41:17 +02:00
Robert Kaussow f7b3b4dcbb rename package 2019-08-21 16:00:25 +02:00
Robert Kaussow 6aebb11b75 initial commit 2019-08-21 15:57:24 +02:00
Robert Kaussow 432c57c406 Initial commit 2019-08-21 15:38:36 +02:00
Robert Kaussow ab8c287b29 fix readme title 2019-08-15 13:35:07 +02:00
Robert Kaussow 96ff6c5916 add repo naming schema 2019-08-15 13:33:38 +02:00
Robert Kaussow 9dc39ac5f6 add basic information 2019-08-15 12:41:17 +02:00
Robert Kaussow 94f19e653e Initial commit 2019-08-15 11:15:20 +02:00
1737 changed files with 188619 additions and 78172 deletions

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# Ignore everything
*
# But not these files:
!.gitignore
!*.mod
!README.md
!Variables.mk
!variables.env
*tmp.mod
+14
View File
@@ -0,0 +1,14 @@
# Project Development Dependencies.
This directory stores Go modules with pinned buildable packages that are used within this repository, managed by https://github.com/bwplotka/bingo.
* Run `bingo get` to install all tools having each own module file in this directory.
* Run `bingo get <tool>` to install <tool> that have own module file in this directory.
* For Makefile: Make sure to put `include .bingo/Variables.mk` in your Makefile, then use $(<upper case tool name>) variable where <tool> is the .bingo/<tool>.mod.
* For shell: Run `source .bingo/variables.env` to source all environment variable for each tool.
* For go: Import `.bingo/variables.go` to for variable names.
* See https://github.com/bwplotka/bingo or -h on how to add, remove or change binaries dependencies.
## Requirements
* Go 1.14+
+114
View File
@@ -0,0 +1,114 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.3.1. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
GOPATH ?= $(shell go env GOPATH)
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
GO ?= $(shell which go)
# Bellow generated variables ensure that every time a tool under each variable is invoked, the correct version
# will be used; reinstalling only if needed.
# For example for bingo variable:
#
# In your main Makefile (for non array binaries):
#
#include .bingo/Variables.mk # Assuming -dir was set to .bingo .
#
#command: $(BINGO)
# @echo "Running bingo"
# @$(BINGO) <flags/args..>
#
BINGO := $(GOBIN)/bingo-v0.3.1
$(BINGO): $(BINGO_DIR)/bingo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/bingo-v0.3.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.3.1 "github.com/bwplotka/bingo"
BUF := $(GOBIN)/buf-v0.37.1
$(BUF): $(BINGO_DIR)/buf.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/buf-v0.37.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buf.mod -o=$(GOBIN)/buf-v0.37.1 "github.com/bufbuild/buf/cmd/buf"
CALENS := $(GOBIN)/calens-v0.2.0
$(CALENS): $(BINGO_DIR)/calens.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/calens-v0.2.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=calens.mod -o=$(GOBIN)/calens-v0.2.0 "github.com/restic/calens"
FILEB0X := $(GOBIN)/fileb0x-v1.1.4
$(FILEB0X): $(BINGO_DIR)/fileb0x.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/fileb0x-v1.1.4"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=fileb0x.mod -o=$(GOBIN)/fileb0x-v1.1.4 "github.com/UnnoTed/fileb0x"
FLAEX := $(GOBIN)/flaex-v0.2.0
$(FLAEX): $(BINGO_DIR)/flaex.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/flaex-v0.2.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=flaex.mod -o=$(GOBIN)/flaex-v0.2.0 "github.com/owncloud/flaex"
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.37.1
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/golangci-lint-v1.37.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.37.1 "github.com/golangci/golangci-lint/cmd/golangci-lint"
GOVERAGE := $(GOBIN)/goverage-v0.0.0-20180129164344-eec3514a20b5
$(GOVERAGE): $(BINGO_DIR)/goverage.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/goverage-v0.0.0-20180129164344-eec3514a20b5"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=goverage.mod -o=$(GOBIN)/goverage-v0.0.0-20180129164344-eec3514a20b5 "github.com/haya14busa/goverage"
GOX := $(GOBIN)/gox-v1.0.1
$(GOX): $(BINGO_DIR)/gox.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/gox-v1.0.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=gox.mod -o=$(GOBIN)/gox-v1.0.1 "github.com/mitchellh/gox"
HUGO := $(GOBIN)/hugo-v0.80.0
$(HUGO): $(BINGO_DIR)/hugo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/hugo-v0.80.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=hugo.mod -o=$(GOBIN)/hugo-v0.80.0 "github.com/gohugoio/hugo"
MUTAGEN := $(GOBIN)/mutagen-v0.11.8
$(MUTAGEN): $(BINGO_DIR)/mutagen.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/mutagen-v0.11.8"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=mutagen.mod -o=$(GOBIN)/mutagen-v0.11.8 "github.com/mutagen-io/mutagen/cmd/mutagen"
PROTOC_GEN_DOC := $(GOBIN)/protoc-gen-doc-v1.4.1
$(PROTOC_GEN_DOC): $(BINGO_DIR)/protoc-gen-doc.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-doc-v1.4.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-doc.mod -o=$(GOBIN)/protoc-gen-doc-v1.4.1 "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc"
PROTOC_GEN_GO := $(GOBIN)/protoc-gen-go-v1.25.0
$(PROTOC_GEN_GO): $(BINGO_DIR)/protoc-gen-go.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-go-v1.25.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-go.mod -o=$(GOBIN)/protoc-gen-go-v1.25.0 "google.golang.org/protobuf/cmd/protoc-gen-go"
PROTOC_GEN_MICRO := $(GOBIN)/protoc-gen-micro-v3.0.0-20210217182006-0f0ace1a44a9
$(PROTOC_GEN_MICRO): $(BINGO_DIR)/protoc-gen-micro.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-micro-v3.0.0-20210217182006-0f0ace1a44a9"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-micro.mod -o=$(GOBIN)/protoc-gen-micro-v3.0.0-20210217182006-0f0ace1a44a9 "github.com/asim/go-micro/cmd/protoc-gen-micro/v3"
PROTOC_GEN_MICROWEB := $(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4
$(PROTOC_GEN_MICROWEB): $(BINGO_DIR)/protoc-gen-microweb.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-microweb.mod -o=$(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4 "github.com/owncloud/protoc-gen-microweb"
PROTOC_GEN_OPENAPIV2 := $(GOBIN)/protoc-gen-openapiv2-v2.2.0
$(PROTOC_GEN_OPENAPIV2): $(BINGO_DIR)/protoc-gen-openapiv2.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-openapiv2-v2.2.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-openapiv2.mod -o=$(GOBIN)/protoc-gen-openapiv2-v2.2.0 "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
REFLEX := $(GOBIN)/reflex-v0.3.0
$(REFLEX): $(BINGO_DIR)/reflex.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/reflex-v0.3.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=reflex.mod -o=$(GOBIN)/reflex-v0.3.0 "github.com/cespare/reflex"
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/bwplotka/bingo v0.3.1
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/bufbuild/buf v0.37.1 // cmd/buf
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/restic/calens v0.2.0
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/UnnoTed/fileb0x v1.1.4
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/owncloud/flaex v0.2.0
Executable
+1
View File
@@ -0,0 +1 @@
module _ // Fake go.mod auto-created by 'bingo' for go -moddir compatibility with non-Go projects. Commit this file, together with other .mod files.
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/golangci/golangci-lint v1.37.1 // cmd/golangci-lint
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/haya14busa/goverage v0.0.0-20180129164344-eec3514a20b5
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/mitchellh/gox v1.0.1
+7
View File
@@ -0,0 +1,7 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
replace github.com/markbates/inflect => github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6
require github.com/gohugoio/hugo v0.80.0
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/mutagen-io/mutagen v0.11.8 // cmd/mutagen
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/pseudomuto/protoc-gen-doc v1.4.1 // cmd/protoc-gen-doc
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require google.golang.org/protobuf v1.25.0 // cmd/protoc-gen-go
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/asim/go-micro/cmd/protoc-gen-micro/v3 v3.0.0-20210217182006-0f0ace1a44a9
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/owncloud/protoc-gen-microweb v0.0.0-20210224131655-d9b1137a84d4
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/grpc-ecosystem/grpc-gateway/v2 v2.2.0 // protoc-gen-openapiv2
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/cespare/reflex v0.3.0
+41
View File
@@ -0,0 +1,41 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.3.1. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
# Those variables will work only until 'bingo get' was invoked, or if tools were installed via Makefile's Variables.mk.
GOBIN=${GOBIN:=$(go env GOBIN)}
if [ -z "$GOBIN" ]; then
GOBIN="$(go env GOPATH)/bin"
fi
BINGO="${GOBIN}/bingo-v0.3.1"
BUF="${GOBIN}/buf-v0.37.1"
CALENS="${GOBIN}/calens-v0.2.0"
FILEB0X="${GOBIN}/fileb0x-v1.1.4"
FLAEX="${GOBIN}/flaex-v0.2.0"
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.37.1"
GOVERAGE="${GOBIN}/goverage-v0.0.0-20180129164344-eec3514a20b5"
GOX="${GOBIN}/gox-v1.0.1"
HUGO="${GOBIN}/hugo-v0.80.0"
MUTAGEN="${GOBIN}/mutagen-v0.11.8"
PROTOC_GEN_DOC="${GOBIN}/protoc-gen-doc-v1.4.1"
PROTOC_GEN_GO="${GOBIN}/protoc-gen-go-v1.25.0"
PROTOC_GEN_MICRO="${GOBIN}/protoc-gen-micro-v3.0.0-20210217182006-0f0ace1a44a9"
PROTOC_GEN_MICROWEB="${GOBIN}/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4"
PROTOC_GEN_OPENAPIV2="${GOBIN}/protoc-gen-openapiv2-v2.2.0"
REFLEX="${GOBIN}/reflex-v0.3.0"
+19
View File
@@ -0,0 +1,19 @@
---
exclude_paths:
- '.github/**'
- 'CHANGELOG.md'
- '**/CHANGELOG.md'
- 'changelog/**'
- '**/changelog/**'
- 'docs/**'
- '**/docs/**'
- '**/pkg/proto/**'
- 'idp/ui_config/**'
- 'idp/scripts/**'
- 'settings/rollup.config.js'
- 'accounts/rollup.config.js'
- 'ocis/docker/eos-ocis/Dockerfile'
- 'ocis/docker/eos-ocis-dev/Dockerfile'
- 'deployments/**'
...
+7
View File
@@ -0,0 +1,7 @@
# The test runner source for API tests
CORE_COMMITID=90edbb40800b36fadc4aba6216a3fd16b559f1e3
CORE_BRANCH=master
# The test runner source for UI tests
WEB_COMMITID=da869f4cb36ea0a28ead87e57a61d7bbb639aab0
WEB_BRANCH=master
+1678
View File
File diff suppressed because it is too large. Load diff
+27
View File
@@ -0,0 +1,27 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
[Makefile]
indent_style = tab
indent_size = 4
[*.go]
indent_style = tab
indent_size = 4
[*.starlark]
indent_style = space
indent_size = 2
[*.yml]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = true
+2
View File
@@ -0,0 +1,2 @@
/onlyoffice/ @LukasHirt
.drone.star @wkloucek @micbar @phil-davis @individual-it
+45
View File
@@ -0,0 +1,45 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: Type:Bug
assignees: ''
---
## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce
Steps to reproduce the behavior:
1.
2.
3.
## Expected behavior
A clear and concise description of what you expected to happen.
## Actual behavior
A clear and concise description of what happened.
## Setup
Please describe how you started the server and provide a list of relevant environment variables.
<details>
<p>
```console
OCIS_VERSION=vX.X.X
BRANCH=vX.X.X
STORAGE_FRONTEND_UPLOAD_DISABLE_TUS=false
```
</p>
</details>
## Additional context
Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for improving oCIS
title: ''
labels: Category:Feature, Topic:needs-triage
assignees: ''
---
## Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Describe the solution you'd like
A clear and concise description of what you want to happen.
## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
## Additional context
Add any other context or screenshots about the feature request here.
+12
View File
@@ -0,0 +1,12 @@
# Configuration for update-docs - https://github.com/behaviorbot/update-docs
# Comment to be posted to on PRs that don't update documentation
updateDocsComment: >
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a [changelog](https://github.com/owncloud/ocis/blob/master/changelog/README.md) item based on your changes.
updateDocsWhiteList:
- Tests-only
- tests-only
- Tests-Only
updateDocsTargetFiles:
- changelog/unreleased/
+32
View File
@@ -0,0 +1,32 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/ocis"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
directory: "/accounts"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
directory: "/settings"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
directory: "/onlyoffice"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
directory: "/idp"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
File renamed without changes.
+57
View File
@@ -0,0 +1,57 @@
<!--
Thanks for submitting a change to ownCloud!
This is the bug tracker for the oCIS component. Find other components at https://github.com/owncloud/core/blob/master/.github/CONTRIBUTING.md#guidelines
For fixing potential security issues please see https://owncloud.org/security/
To make it possible for us to get your change reviewed and merged please carefully fill out the requested information below.
Please note that any kind of change needs first be submitted to the master branch which holds the next version of oCIS.
Please set the following labels:
- Set label "Status:Needs-Review" for review or "Status:In-Progress" if the PR still has open tasks.
- Assignment: assign to self
- Reviewers: pick at least one
-->
## Description
<!--- Describe your changes in detail -->
## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->
- Fixes <issue_link>
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
- test environment:
- test case 1:
- test case 2:
- ...
## Screenshots (if appropriate):
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Technical debt
- [ ] Tests only (no source changes)
## Checklist:
<!-- Tick the checkboxes when done. -->
<!-- Raise documentation ticket in owncloud.github.io/ -->
- [ ] Code changes
- [ ] Unit tests added
- [ ] Acceptance tests added
- [ ] Documentation ticket raised: <link>
+52
View File
@@ -0,0 +1,52 @@
---
_extends: gh-labels
repository:
name: ocis
description: ':atom_symbol: ownCloud Infinite Scale Stack'
homepage: https://owncloud.github.io/ocis/
topics: reva, ocis
private: false
has_issues: true
has_projects: false
has_wiki: true
has_downloads: false
default_branch: master
allow_squash_merge: true
allow_merge_commit: true
allow_rebase_merge: true
labels:
- name: OCIS-Fastlane
color: "#deadbf"
description: Something isn't working
teams:
- name: ci
permission: admin
- name: employees
permission: push
branches:
- name: master
protection:
required_pull_request_reviews:
required_approving_review_count: 1
dismiss_stale_reviews: false
require_code_owner_reviews: false
dismissal_restrictions: {}
required_status_checks:
strict: false
contexts:
- continuous-integration/drone/pr
enforce_admins: false
restrictions:
users: []
teams:
- ci
- employees
...
+18
View File
@@ -0,0 +1,18 @@
only: issues
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 10
# Issues with these labels will never be considered stale
exemptLabels:
- "Type:Bug"
- "Type:Technical-Debt"
# Label to use when marking an issue as stale
staleLabel: "Status:Stale"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 10 days if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+27
View File
@@ -0,0 +1,27 @@
*/coverage.out
*/checkstyle.xml
ocis/config/identifier-registration.yaml
*/bin
dist/
/hugo
*.key
*crt
node_modules/
*/assets
.idea
yarn-error.log
# Konnectd
idp/assets/identifier
# Composer - used for API acceptance tests
composer.lock
vendor
vendor-bin/**/vendor
vendor-bin/**/composer.lock
# drone CI is in .drone.star, do not let someone accidentally commit a local .drone.yml
.drone.yml
+7
View File
@@ -0,0 +1,7 @@
.PHONY: config-docs-generate
config-docs-generate: $(FLAEX)
@echo "$(NAME): generating config docs"
@$(FLAEX) >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: grpc-docs-generate
grpc-docs-generate: ../docs/extensions/${NAME}/grpc.md
+6
View File
@@ -0,0 +1,6 @@
.PHONY: generate
generate: ci-node-generate ci-go-generate
.PHONY: embed.yml
embed.yml: $(FILEB0X)
@cd pkg/assets/ && echo -n "$(NAME): embed.go - " && $(FILEB0X) embed.yml
+108
View File
@@ -0,0 +1,108 @@
IMPORT := github.com/owncloud/ocis/$(NAME)
BIN := bin
DIST := dist
ifeq ($(OS), Windows_NT)
EXECUTABLE := $(NAME).exe
UNAME := Windows
else
EXECUTABLE := $(NAME)
UNAME := $(shell uname -s)
endif
ifeq ($(UNAME), Darwin)
GOBUILD ?= go build -i
else
GOBUILD ?= go build
endif
PACKAGES ?= $(shell go list ./...)
SOURCES ?= $(shell find . -name "*.go" -type f -not -path "./node_modules/*")
GENERATE ?= $(PACKAGES)
TAGS ?=
ifndef OUTPUT
ifneq ($(DRONE_TAG),)
OUTPUT ?= $(subst v,,$(DRONE_TAG))
else
OUTPUT ?= testing
endif
endif
ifndef VERSION
ifneq ($(DRONE_TAG),)
VERSION ?= $(subst v,,$(DRONE_TAG))
else
VERSION ?= $(shell git rev-parse --short HEAD)
endif
endif
ifndef DATE
DATE := $(shell date -u '+%Y%m%d')
endif
LDFLAGS += -s -w -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
DEBUG_LDFLAGS += -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
GCFLAGS += all=-N -l
.PHONY: all
all: build
.PHONY: sync
sync:
go mod download
.PHONY: clean
clean:
@echo "$(NAME): clean"
go clean -i ./...
rm -rf $(BIN) $(DIST)
.PHONY: go-mod-tidy
go-mod-tidy:
@echo "$(NAME): go-mod-tidy"
@go mod tidy
.PHONY: fmt
fmt:
gofmt -s -w $(SOURCES)
.PHONY: golangci-lint
golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E golint -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME)
.PHONY: ci-golangci-lint
ci-golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E golint -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME) --timeout 10m0s --issues-exit-code 0 --out-format checkstyle > checkstyle.xml
.PHONY: test
test: $(GOVERAGE)
@echo
@echo
@echo "$(NAME): test"
@echo
@$(GOVERAGE) -v -coverprofile coverage.out $(PACKAGES)
.PHONY: go-coverage
go-coverage:
@echo "$(NAME): go-coverage"
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
@go tool cover -func coverage.out | tail -1 | grep -Eo "[0-9]+\.[0-9]+"
.PHONY: install
install: $(SOURCES)
go install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' ./cmd/$(NAME)
.PHONY: build
build: $(BIN)/$(EXECUTABLE) $(BIN)/$(EXECUTABLE)-debug
$(BIN)/$(EXECUTABLE): $(SOURCES)
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $@ ./cmd/$(NAME)
$(BIN)/$(EXECUTABLE)-debug: $(SOURCES)
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(DEBUG_LDFLAGS)' -gcflags '$(GCFLAGS)' -o $@ ./cmd/$(NAME)
.PHONY: watch
watch: $(REFLEX)
$(REFLEX) -c reflex.conf
+60
View File
@@ -0,0 +1,60 @@
.PHONY: protoc-gen-openapiv2
protoc-gen-openapiv2:
GO111MODULE=off go get -v github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2
.PHONY: $(PROTO_SRC)/${NAME}.pb.go
$(PROTO_SRC)/${NAME}.pb.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_GO)
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.go"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-go=$(PROTOC_GEN_GO) \
--go_out=. \
$(PROTO_SRC)/${NAME}.proto
.PHONY: $(PROTO_SRC)/${NAME}.pb.micro.go
$(PROTO_SRC)/${NAME}.pb.micro.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICRO)
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.micro.go"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-micro=$(PROTOC_GEN_MICRO) \
--micro_out=. \
$(PROTO_SRC)/${NAME}.proto
.PHONY: $(PROTO_SRC)/${NAME}.pb.web.go
$(PROTO_SRC)/${NAME}.pb.web.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICROWEB)
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.web.go"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-microweb=$(PROTOC_GEN_MICROWEB) \
--microweb_out=. \
$(PROTO_SRC)/${NAME}.proto
.PHONY: $(PROTO_SRC)/${NAME}.swagger.json
$(PROTO_SRC)/${NAME}.swagger.json: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_OPENAPIV2)
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.swagger.json"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-openapiv2=$(PROTOC_GEN_OPENAPIV2) \
--openapiv2_out=$(PROTO_SRC)/ \
$(PROTO_SRC)/${NAME}.proto
.PHONY: ../docs/extensions/${NAME}/grpc.md
../docs/extensions/${NAME}/grpc.md: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_DOC)
@echo "$(NAME): generating ../docs/extensions/${NAME}/grpc.md"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-doc=$(PROTOC_GEN_DOC) \
--doc_opt=./templates/GRPC.tmpl,grpc.md \
--doc_out=../docs/extensions/${NAME} \
$(PROTO_SRC)/${NAME}.proto
+33
View File
@@ -0,0 +1,33 @@
.PHONY: changelog
changelog: $(CALENS) ## generate changelog
$(CALENS) -i ../changelog -t ../changelog/CHANGELOG.tmpl >| ../CHANGELOG.md
.PHONY: release
release: release-dirs release-linux release-windows release-darwin release-copy release-check
.PHONY: release-dirs
release-dirs:
mkdir -p $(DIST)/binaries $(DIST)/release
.PHONY: release-linux
release-linux: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-windows
release-windows: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'windows' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-darwin
release-darwin: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -os 'darwin' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-copy
release-copy:
$(foreach file,$(wildcard $(DIST)/binaries/$(EXECUTABLE)-*),cp $(file) $(DIST)/release/$(notdir $(file));)
.PHONY: release-check
release-check:
cd $(DIST)/release; $(foreach file,$(wildcard $(DIST)/release/$(EXECUTABLE)-*),sha256sum $(notdir $(file)) > $(notdir $(file)).sha256;)
.PHONY: release-finish
release-finish: release-copy release-check
+2505
View File
File diff suppressed because it is too large. Load diff
+32
View File
@@ -0,0 +1,32 @@
FROM webhippie/golang:1.15 as build
COPY ./ /ocis/
ENV CGO_ENABLED=0
ENV GOOS=linux
RUN apk update && \
apk upgrade --ignore musl-dev && \
apk add make gcc bash && \
rm -rf /var/cache/apk/*
WORKDIR /ocis/ocis
RUN make clean generate build
FROM alpine:3
RUN apk update && \
apk upgrade && \
apk add ca-certificates mailcap && \
rm -rf /var/cache/apk/* && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.name="ownCloud Infinite Scale" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"
ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]
COPY --from=build /ocis/ocis/bin/ocis /usr/bin/ocis
+202
View File
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2020 ownCloud GmbH
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+153
View File
@@ -0,0 +1,153 @@
SHELL := bash
# define standard colors
BLACK := $(shell tput -Txterm setaf 0)
RED := $(shell tput -Txterm setaf 1)
GREEN := $(shell tput -Txterm setaf 2)
YELLOW := $(shell tput -Txterm setaf 3)
LIGHTPURPLE := $(shell tput -Txterm setaf 4)
PURPLE := $(shell tput -Txterm setaf 5)
BLUE := $(shell tput -Txterm setaf 6)
WHITE := $(shell tput -Txterm setaf 7)
RESET := $(shell tput -Txterm sgr0)
# if you add a module here please also add it to the .drone.star file
OCIS_MODULES = \
accounts \
glauth \
graph \
graph-explorer \
idp \
ocis \
ocis-pkg \
ocs \
onlyoffice \
proxy \
settings \
storage \
store \
thumbnails \
web \
webdav
include .bingo/Variables.mk
.PHONY: help
help:
@echo "Please use 'make <target>' where <target> is one of the following:"
@echo
@echo -e "${GREEN}Testing with test suite natively installed:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/testing/#testing-with-test-suite-natively-installed${RESET}\n"
@echo -e "\tmake test-acceptance-api\t${BLUE}run API acceptance tests${RESET}"
@echo -e "\tmake clean-tests\t\t${BLUE}delete API tests framework dependencies${RESET}"
@echo
@echo -e "${BLACK}---------------------------------------------------------${RESET}"
@echo
@echo -e "${RED}You also should have a look at other available Makefiles:${RESET}"
@echo
@echo -e "${GREEN}oCIS:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/building/${RESET}\n"
@echo -e "\tsee ./ocis/Makefile"
@echo -e "\tor run ${YELLOW}make -C ocis help${RESET}"
@echo
@echo -e "${GREEN}Documentation:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/building-docs/${RESET}\n"
@echo -e "\tsee ./docs/Makefile"
@echo -e "\tor run ${YELLOW}make -C docs help${RESET}"
@echo
@echo -e "${GREEN}Testing with test suite in docker:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/testing/#testing-with-test-suite-in-docker${RESET}\n"
@echo -e "\tsee ./tests/acceptance/docker/Makefile"
@echo -e "\tor run ${YELLOW}make -C tests/acceptance/docker help${RESET}"
@echo
.PHONY: clean-tests
clean-tests:
@rm -Rf vendor-bin/**/vendor vendor-bin/**/composer.lock tests/acceptance/output
BEHAT_BIN=vendor-bin/behat/vendor/bin/behat
.PHONY: test-acceptance-api
test-acceptance-api: vendor-bin/behat/vendor
BEHAT_BIN=$(BEHAT_BIN) $(PATH_TO_CORE)/tests/acceptance/run.sh --remote --type api
vendor/bamarni/composer-bin-plugin: composer.lock
composer install
vendor-bin/behat/vendor: vendor/bamarni/composer-bin-plugin vendor-bin/behat/composer.lock
composer bin behat install --no-progress
vendor-bin/behat/composer.lock: vendor-bin/behat/composer.json
@echo behat composer.lock is not up to date.
composer.lock: composer.json
@echo composer.lock is not up to date.
.PHONY: generate
generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod generate; \
done
.PHONY: vet
vet:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod vet; \
done
.PHONY: clean
clean:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod clean; \
done
.PHONY: docs-generate
docs-generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod docs-generate; \
done
.PHONY: ci-go-generate
ci-go-generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod ci-go-generate; \
done
.PHONY: ci-node-generate
ci-node-generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod ci-node-generate; \
done
.PHONY: go-mod-tidy
go-mod-tidy:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod go-mod-tidy; \
done
.PHONY: test
test:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod test; \
done
.PHONY: go-coverage
go-coverage:
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
@for mod in $(OCIS_MODULES); do \
echo -n "% coverage $$mod: "; $(MAKE) --no-print-directory -C $$mod go-coverage; \
done
.PHONY: bingo-update
bingo-update: $(BINGO)
$(BINGO) get -u
CHANGELOG_VERSION =
.PHONY: changelog
changelog: $(CALENS)
ifndef CHANGELOG_VERSION
$(error CHANGELOG_VERSION is undefined)
endif
$(CALENS) --version $(CHANGELOG_VERSION) -o ocis/dist/CHANGELOG.md
+37
View File
@@ -0,0 +1,37 @@
# ownCloud Infinite Scale
[![Rocket chat](https://img.shields.io/badge/Chat%20on%20Rocket.Chat-blue?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSItDnaQIpKhOlkQFemoVShChVArtOpgcv2EJg1Jiouj4Fpw8GOx6uDirKuDqyAIfoA4OTopukiJ/0sKLWI8OO7Hu3uPu3eA0Kwy1eyZAFTNMtLJhJjNrYqBVwQxghDiiMjM1OckKQXP8XUPH1/vYjzL+9yfI5QvmAzwicSzTDcs4g3imU1L57xPHGZlOU98Tjxu0AWJH7muuPzGueSwwDPDRiY9TxwmFktdrHQxKxsq8TRxNK9qlC9kXc5z3uKsVuusfU/+wmBBW1nmOs1hJLGIJUgQoaCOCqqwEKNVI8VEmvYTHv6I45fIpZCrAkaOBdSgQnb84H/wu1uzODXpJgUTQO+LbX+MAoFdoNWw7e9j226dAP5n4Err+GtNIP5JeqOjRY+AgW3g4rqjKXvA5Q4w9KTLhuxIfppCsQi8n9E35YDBW6B/ze2tvY/TByBDXaVugINDYKxE2ese7+7r7u3fM+3+fgDAvHLGj7r9AwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+QMHg05Mvq8cfAAAAAGYktHRAD/AP8A/6C9p5MAAAcbSURBVGje7VlpTFRXGLU0NmmNpuma9IciCCKCQDTuxqQWkrrTNJAal6Y2ECyoURONRBPXuBujVpsYiys1qUH7w8QVjQnVP9Zqq3Y2FgcQmIEBBpgZmPl6vvveLG94D2ZAFhNvcsIwb5nv3G87994hQ970oY+OjgaygR3AWmAyMPRNIjAV+A8gGQ3AKX1U1Nf60aNTgVn4nIDvPgLeGYwE3gd+ATwBJBhuQ2xshyEuzmWIiWnQRUY+0o0adRBkUvQxMRGDicAHwLkg4xUwTJtG5RkZVDZnDunHjKmCV3JB4r3BQyIq6jgM83RFQhCZNIlMqamkj41txzO/47tcYBWwApgHJAGfABH96YGxMMbMxnVHoAsweRdgBf4GfgW+A77AxPRt3ugjIzONycmO+qIiMqal9YxAVBThPYQcIYSX9H90dDvwFNjIRPqWQFKSo+3RI7Jev84xHjaBMuRHdX4+mVesoNJZs0gfFyeRkIiwd2qAQmA1sBhIAT4F3n0dIRSLH9LVbd9OzpqaHnvBMGMG6ZOSQrmXPVMve+cikANwme55UYDb1xri413VO3aQITm5N7nQ0/x5BXBR+Bb4sEdeQJ2vN0ycKNxuGDeuV3kggM96GbqA78V3UmipwQHcAzK4vIdTRvNQ16UyGhtLtbt2hRZKsnGGsWOpFL3iZXo6Va9aRbVbt5LlwAGyHj0qwJ9rt2yhqpwcqli8mExTp4pnfCQ7v7tVzpmEUGZ/GmD2GmReupScZjOV4ce0ZloYDS9VLFpEdbt3k/3GDXKZTORuaiLq6CCt4cE1vsdpNJIdBaNu506qWLBAvEun7hmWON902VdwMQoo8j5ku3CB2hsbqSw7W3XGjRMmUHVuLtlv3aKOhgbq1fB4qKO+XpBh7xgTE9U8wr0lq8uKhYs/i9hPSKCWBw+kchpYUXhmUF7Ny5ZRy7175HE66XUPj8NB9uJiMi9Z4v9NPwkb8H1IBCznz5ORNY/3YTQmnhnr4cO9n/EQBnvEsn+/sCWIRCUwW4vAJu+NprlzFTNvTEmhxkuXRPz21/C0t4tQNnIUKEkUs9ZSI/AlYFfczB6JjyfbuXMiVvt9uN3UcPo0GbxdXbKrA/hJjcAIoESRPAidmk2b+iTeQ/ZEWxu9Wr9e0ld+2x7w4kqNxInA2S+dPp0cz5/TQA/H06dkmjIl0AstQGqw8RFy4xA3cU1+tWGDcKNWorF7azZuJFtBQefkxnMt9++LhlaHpuh48qTTO9orK8l67JjwctPly+RubdXMh+o1a6Q+4fdCfjCB4bJrfDc1FhaqvxAhVbN5s9TQWBrgLxvqcbl897TcvUsmrC+88oFXcs4XL/z8bDaqWrnSJzGwdKX6Eyc0vWA7cyY4mQuMgesMfPEZ8MynLJE4bITacBoMZJo82R+X+MsywlVW5ruHPaMbOZICPVp/8qTvemtJiSgQXqP4esX8+Zpl2n7zpiAZQOAPxc6JrM3/DYUASwY2WEFg5kxyVVT4CcBDgQS4uzacOuUn8PAhGcaPVxKALHFDAagSgFTpjgCH0F+KELp4UTMmWf9A/EkhhBdb9u1TaCA2kEl5VSnrHSbuCyG7XcS1NwyZjO3s2V6FEC/EyxVJjPKlJczczc3UdOWKMLzp6lVhULDGaXv8mKxHjojQYfHWqRBYLGTDJHHXtd++rVmuRRKvXh2cxJsDjR8GHFfsC3EZRZg4nj0b+DKKCiZyTllGvwre2MqQ48qlaGRIRhZZA9rI1q0LbmQlWo1sKHBSISWg0zn+tPpBn0sJJL6KlMjpSpXGKfZJWcxhjcw9gWOx32YePYWTWkXM3QI+7m6FthxoVshpLGLsd+70i/Gc3JY9exRlVsZLYGYoS0wOpW3y9odUlVDqeD3Q1/HOqzxzZqbagoa3YZaGs0sxCigNJMD7Rq/fao+Y8eZr16gqK0taxHReUtYBP2BFGBEOgZEKAnip5dAhTZdz13bq9aKTdpUrfI11EN/LRtdu20bl8+aJRNVY1LO8WRiW8TKB2Yo8wHq4qaios/G1tVSdlycMYMnLcqAqO5tq8vPJsnevCDsGxzTLC57lioULJXmMDi6MVpbIwFrPW/7jerrduDewEvE+jlOnU2qi8nJhkG8PVGVjS4HQNrbagNtAOvennho/Pjh8uJV75TKHAYcMz7bG7IULt7xgL5Q3fkf09ripQNEHEhOlPSCrlVqKi8VCh3uDivFtgZWrC7jkxGTxeAb4Ue4/vTtYNEDdydvfjuBGVrl8OZWnpUkaXj0E/gQWyDOYB2wHDssa6xhwENgqn4bOBxLFoWG4ydnN7LMesmhtJWqEC8/mb3xUO9AHfXy+VR1m3D6X9/aHD4aTSj4xOQr8I/aHOh+5eoVUrVwl1nCzG2znxbwz8bncA7JkOcGxu0/eucuUY3fYkLfj7Xg7Bs34HwoINZEQp4aVAAAAAElFTkSuQmCC)](https://talk.owncloud.com/channel/infinitescale)
[![Build Status](https://drone.owncloud.com/api/badges/owncloud/ocis/status.svg)](https://drone.owncloud.com/owncloud/ocis)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=security_rating)](https://sonarcloud.io/dashboard?id=owncloud_ocis)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=coverage)](https://sonarcloud.io/dashboard?id=owncloud_ocis)
[![Go Report](https://goreportcard.com/badge/github.com/owncloud/ocis)](https://goreportcard.com/report/github.com/owncloud/ocis)
[![Go Doc](https://godoc.org/github.com/owncloud/ocis?status.svg)](http://godoc.org/github.com/owncloud/ocis)
[![oCIS docker image](https://img.shields.io/docker/v/owncloud/ocis?label=oCIS%20docker%20image&logo=docker&sort=semver)](https://hub.docker.com/r/owncloud/ocis)
**ownCloud Infinite Scale is currently in a technical preview state. It will be subject to a lot of changes and is not yet ready for general production deployments.**
## Run ownCloud Infinite Scale
Please see [Getting Started](https://owncloud.github.io/ocis/getting-started/)
## Development
Please see [Development - Getting Started](https://owncloud.github.io/ocis/development/getting-started/)
## Security
If you find a security issue please contact [security@owncloud.com](mailto:security@owncloud.com) first
## Contributing
Fork -> Patch -> Push -> Pull Request
## License
Apache-2.0
## Copyright
```console
Copyright (c) 2020 ownCloud GmbH <https://owncloud.com>
```
-46
View File
@@ -1,46 +0,0 @@
---
title: ownCloud
---
{{< toc >}}
## Admin Documentation
Before you start reading, if you are interested in:
- learning ocis from an admin perspective,
- different deployment scenarios,
- deployment examples,
- detailed settings and more
we would recommend to continue with the [ownCloud Admin Documentation for Infinite Scale](https://doc.owncloud.com/ocis/latest/).
## Developer Documentation
Welcome to our developer documentation. Here you find documentation with focus for *developers*:
- [oCIS]({{< ref "./ocis" >}}) server
- oCIS Services
- Clients like:
- [ownCloud Web](https://github.com/owncloud/web) - the new web frontend for oCIS and ownCloud
- [ownCloud Android app](https://github.com/owncloud/android)
- [ownCloud iOS app](https://github.com/owncloud/ios-app)
- [ownCloud Desktop Syncing Client](https://github.com/owncloud/client)
- Integrations
## We love open source
The oCIS server is Apache v2 licensed.
The lower storage layer of oCIS is defined by the CS3 APIs and implemented in the REVA project. Our goal is to develop the CS3 APIs to an open standard and collaborate on the open source REVA reference implementation for CS3 APIs.
You can also find all client sources on [GitHub](https://github.com/owncloud/).
## Join the oCIS Community
The [server repository](https://github.com/owncloud/ocis) on [GitHub](https://www.github.com) is a good entry point to the oCIS project. In addition to that there are also ownCloud projects for clients for [iOS](https://github.com/owncloud/ios-app), [Android](https://github.com/owncloud/android), the major [Desktop](https://github.com/owncloud/desktop) platforms and [ownCloud Web](https://github.com/owncloud/web).
To chat about development, join our public chat on [matrix: ownCloud Infinite Scale](https://matrix.to/#/#ocis:matrix.org).
If you want to help and improve ownCloud or oCIS, start coding or open issues on GitHub in the related repository.
We are very happy to hear your feedback and ideas!
+2
View File
@@ -0,0 +1,2 @@
*
!bin/
+17
View File
@@ -0,0 +1,17 @@
{
"env": {
"browser": true,
"es6": true,
"amd": true
},
"extends": [
"standard",
"plugin:vue/essential"
],
"parserOptions": {
"sourceType": "module"
},
"rules": {
}
}
+202
View File
@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+56
View File
@@ -0,0 +1,56 @@
SHELL := bash
NAME := accounts
.PHONY: test-acceptance-webui
test-acceptance-webui:
./ui/tests/run-acceptance-test.sh $(FEATURE_PATH)
############ tooling ############
include ../.bingo/Variables.mk
############ go tooling ############
include ../.make/go.mk
############ release ############
include ../.make/release.mk
############ docs generate ############
include ../.make/docs.mk
.PHONY: docs-generate
docs-generate: config-docs-generate \
grpc-docs-generate
############ generate ############
include ../.make/generate.mk
.PHONY: ci-go-generate
ci-go-generate: protobuf # CI runs ci-node-generate automatically before this target
@go generate $(GENERATE)
.PHONY: ci-node-generate
ci-node-generate: yarn-build
.PHONY: yarn-build
yarn-build: node_modules
yarn lint
yarn test
yarn build
.PHONY: node_modules
node_modules:
yarn install --frozen-lockfile
############ protobuf ############
include ../.make/protobuf.mk
PROTO_VERSION := v0
PROTO_SRC := pkg/proto/$(PROTO_VERSION)
.PHONY: protobuf
protobuf: $(PROTO_SRC)/${NAME}.pb.go \
$(PROTO_SRC)/${NAME}.pb.micro.go \
$(PROTO_SRC)/${NAME}.pb.web.go \
$(PROTO_SRC)/${NAME}.swagger.json \
../docs/extensions/${NAME}/grpc.md
+25
View File
@@ -0,0 +1,25 @@
module.exports = function (api) {
api.cache(true)
const presets = [
[
'@babel/preset-env',
{
useBuiltIns: 'usage',
corejs: '3'
}
]
]
const plugins = [
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-transform-runtime',
'@babel/plugin-proposal-export-default-from'
]
return {
presets,
plugins
}
}
+13
View File
@@ -0,0 +1,13 @@
package main
import (
"os"
"github.com/owncloud/ocis/accounts/pkg/command"
)
func main() {
if err := command.Execute(); err != nil {
os.Exit(1)
}
}
+19
View File
@@ -0,0 +1,19 @@
FROM amd64/alpine:latest
RUN apk update && \
apk upgrade && \
apk add ca-certificates mailcap && \
rm -rf /var/cache/apk/* && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.name="oCIS Accounts" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"
EXPOSE 9180
ENTRYPOINT ["/usr/bin/ocis-accounts"]
CMD ["server"]
COPY bin/ocis-accounts /usr/bin/ocis-accounts
+19
View File
@@ -0,0 +1,19 @@
FROM arm32v6/alpine:latest
RUN apk update && \
apk upgrade && \
apk add ca-certificates mailcap && \
rm -rf /var/cache/apk/* && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.name="oCIS Accounts" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"
EXPOSE 9180
ENTRYPOINT ["/usr/bin/ocis-accounts"]
CMD ["server"]
COPY bin/ocis-accounts /usr/bin/ocis-accounts
+19
View File
@@ -0,0 +1,19 @@
FROM arm64v8/alpine:latest
RUN apk update && \
apk upgrade && \
apk add ca-certificates mailcap && \
rm -rf /var/cache/apk/* && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.name="oCIS Accounts" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"
EXPOSE 9180
ENTRYPOINT ["/usr/bin/ocis-accounts"]
CMD ["server"]
COPY bin/ocis-accounts /usr/bin/ocis-accounts
+22
View File
@@ -0,0 +1,22 @@
image: owncloud/ocis-accounts:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
{{/if}}
manifests:
- image: owncloud/ocis-accounts:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
platform:
architecture: amd64
os: linux
- image: owncloud/ocis-accounts:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
platform:
architecture: arm64
variant: v8
os: linux
- image: owncloud/ocis-accounts:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm
platform:
architecture: arm
variant: v6
os: linux
+49
View File
@@ -0,0 +1,49 @@
module github.com/owncloud/ocis/accounts
go 1.15
require (
contrib.go.opencensus.io/exporter/jaeger v0.2.1
contrib.go.opencensus.io/exporter/ocagent v0.6.0
contrib.go.opencensus.io/exporter/zipkin v0.1.1
github.com/asim/go-micro/plugins/client/grpc/v3 v3.0.0-20210217182006-0f0ace1a44a9
github.com/asim/go-micro/v3 v3.5.1-0.20210217182006-0f0ace1a44a9
github.com/cs3org/go-cs3apis v0.0.0-20210209082852-35ace33082f5
github.com/cs3org/reva v1.6.1-0.20210223065028-53f39499762e
github.com/go-chi/chi v4.1.2+incompatible
github.com/go-chi/render v1.0.1
github.com/gofrs/uuid v3.3.0+incompatible
github.com/golang/protobuf v1.4.3
github.com/grpc-ecosystem/grpc-gateway/v2 v2.2.0
github.com/mattn/go-runewidth v0.0.10 // indirect
github.com/mennanov/fieldmask-utils v0.3.3
github.com/micro/cli/v2 v2.1.2
github.com/oklog/run v1.1.0
github.com/olekukonko/tablewriter v0.0.4
github.com/openzipkin/zipkin-go v0.2.2
github.com/owncloud/ocis/ocis-pkg v0.0.0-20210216094451-dc73176dc62d
github.com/owncloud/ocis/settings v0.0.0-20210216094451-dc73176dc62d
github.com/prometheus/client_golang v1.7.1
github.com/rivo/uniseg v0.2.0 // indirect
github.com/rs/zerolog v1.20.0
github.com/spf13/viper v1.7.0
github.com/stretchr/testify v1.7.0
go.opencensus.io v0.22.6
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
golang.org/x/net v0.0.0-20210119194325-5f4716e94777
golang.org/x/text v0.3.5 // indirect
google.golang.org/genproto v0.0.0-20210207032614-bba0dbe2a9ea
google.golang.org/grpc v1.35.0
google.golang.org/protobuf v1.25.0
gopkg.in/yaml.v2 v2.4.0 // indirect
)
replace (
github.com/owncloud/ocis/ocis-pkg => ../ocis-pkg
github.com/owncloud/ocis/settings => ../settings
// taken from https://github.com/asim/go-micro/blob/master/plugins/registry/etcd/go.mod#L14-L16
go.etcd.io/etcd/api/v3 => go.etcd.io/etcd/api/v3 v3.0.0-20210204162551-dae29bb719dd
go.etcd.io/etcd/pkg/v3 => go.etcd.io/etcd/pkg/v3 v3.0.0-20210204162551-dae29bb719dd
// latest version compatible with etcd
google.golang.org/grpc => google.golang.org/grpc v1.29.1
)
+1980
View File
File diff suppressed because it is too large. Load diff
+11
View File
@@ -0,0 +1,11 @@
const path = require('path')
const WEB_PATH = process.env.WEB_PATH
const config = require(path.join(WEB_PATH, 'nightwatch.conf.js'))
config.page_objects_path = [WEB_PATH + '/tests/acceptance/pageObjects', 'ui/tests/acceptance/pageobjects']
config.custom_commands_path = WEB_PATH + '/tests/acceptance/customCommands'
module.exports = {
...config
}
+84
View File
@@ -0,0 +1,84 @@
{
"private": true,
"name": "ocis-accounts",
"version": "0.0.0",
"description": "",
"homepage": "https://github.com/owncloud/ocis-accounts#readme",
"license": "Apache-2.0",
"author": "ownCloud GmbH <devops@owncloud.com>",
"repository": "https://github.com/owncloud/ocis-accounts.git",
"bugs": {
"url": "https://github.com/owncloud/ocis/accounts/issues",
"email": "support@owncloud.com"
},
"scripts": {
"lint": "eslint ui/**/*.vue ui/**/*.js --color --global requirejs --global require",
"build": "rollup -c",
"watch": "rollup -c -w",
"test": "echo 'Not implemented'",
"generate-api": "node node_modules/swagger-vue-generator/bin/generate-api.js --package-version v0 --source pkg/proto/v0/accounts.swagger.json --moduleName accounts --destination ui/client/accounts/index.js",
"acceptance-tests": "cucumber-js --retry 1 --require-module @babel/register --require-module @babel/polyfill --require ${TEST_INFRA_DIRECTORY}/acceptance/setup.js --require ui/tests/acceptance/stepDefinitions --require ${TEST_INFRA_DIRECTORY}/acceptance/stepDefinitions --format node_modules/cucumber-pretty -t \"${TEST_TAGS:-not @skip and not @skipOnOC10}\""
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-export-default-from": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.8.0",
"@babel/polyfill": "^7.10.1",
"@babel/preset-env": "^7.7.7",
"@babel/register": "7.12.13",
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-json": "^4.0.1",
"@rollup/plugin-replace": "^2.3.0",
"archiver": "^5.2.0",
"axios": "^0.21.1",
"core-js": "3",
"cross-env": "^7.0.3",
"cucumber": "^6.0.5",
"cucumber-pretty": ">=6.0.0",
"debounce": "^1.2.0",
"easygettext": "^2.7.0",
"eslint": "6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^7.6.0",
"fs-extra": "^9.0.1",
"join-path": "^1.1.1",
"ldapjs": "^2.2.3",
"nightwatch": "^1.3.6",
"nightwatch-api": "^3.0.1",
"nightwatch-vrt": "^0.2.10",
"node-fetch": "^2.6.1",
"qs": "^6.9.1",
"rimraf": "^3.0.0",
"rollup": "^2.39.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-filesize": "^9.1.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.3",
"rollup-plugin-vue": "^5.1.4",
"swagger-vue-generator": "^1.0.6",
"url-search-params-polyfill": "^8.1.0",
"vue-template-compiler": "^2.6.11",
"vuex": "^3.5.1",
"xml-js": "^1.6.11"
},
"browserslist": [
"> 1%",
"not dead"
],
"peerDependencies": {
"owncloud-design-system": "^1.7.0"
},
"dependencies": {
"validator": "^13.1.1"
}
}
+66
View File
@@ -0,0 +1,66 @@
package assets
import (
"net/http"
"os"
"path"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log"
// Fake the import to make the dep tree happy.
_ "golang.org/x/net/context"
// Fake the import to make the dep tree happy.
_ "golang.org/x/net/webdav"
)
//go:generate make -C ../.. embed.yml
// assets gets initialized by New and provides the handler.
type assets struct {
logger log.Logger
config *config.Config
}
// Open just implements the HTTP filesystem interface.
func (a assets) Open(original string) (http.File, error) {
if a.config.Asset.Path != "" {
if stat, err := os.Stat(a.config.Asset.Path); err == nil && stat.IsDir() {
custom := path.Join(
a.config.Asset.Path,
original,
)
if _, err := os.Stat(custom); !os.IsNotExist(err) {
f, err := os.Open(custom)
if err != nil {
return nil, err
}
return f, nil
}
} else {
a.logger.Warn().
Str("path", a.config.Asset.Path).
Msg("Assets directory doesn't exist")
}
}
return FS.OpenFile(
CTX,
original,
os.O_RDONLY,
0644,
)
}
// New returns a new http filesystem to serve assets.
func New(opts ...Option) http.FileSystem {
options := newOptions(opts...)
return assets{
config: options.Config,
}
}
+173
View File
@@ -0,0 +1,173 @@
// Code generated by fileb0x at "2021-03-04 20:39:03.472300386 +0100 CET m=+0.014524045" from config file "embed.yml" DO NOT EDIT.
// modification hash(2da0b5efdd6831d3c6c6fe0c3348f8e9.8058aec596c5fb73022d09bb97af796e)
package assets
import (
"bytes"
"compress/gzip"
"context"
"io"
"net/http"
"os"
"path"
"golang.org/x/net/webdav"
)
var (
// CTX is a context for webdav vfs
CTX = context.Background()
// FS is a virtual memory file system
FS = webdav.NewMemFS()
// Handler is used to server files through a http handler
Handler *webdav.Handler
// HTTP is the http file system
HTTP http.FileSystem = new(HTTPFS)
)
// HTTPFS implements http.FileSystem
type HTTPFS struct {
// Prefix allows to limit the path of all requests. F.e. a prefix "css" would allow only calls to /css/*
Prefix string
}
// FileAccountsJs is "accounts.js"
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xfd\xe9\x92\x1b\xb7\xf6\x20\x88\x7f\xfe\xf7\x53\x90\x79\xed\xfc\x01\xe6\x29\x16\x59\x5a\x6c\x27\x05\xf1\x6a\x97\x6c\x6d\xd6\x62\x5b\xa6\x78\x2b\xb2\x92\x20\x2b\x25\x12\xa0\x91\x60\x2d\x26\xb3\x23\xfe\xfd\x36\xf3\x71\x3e\xcc\x0b\xcc\x13\x74\xbf\xd1\x04\x0e\x80\xdc\x98\x94\x7c\xbb\x7f\x3d\x11\x13\x52\x14\x33\x91\x58\x0f\x80\xb3\xe3\x60\xc6\xe7\xa9\xe0\x84\xcc\x37\x22\xd1\xa9\x14\x84\x6e\x83\x4d\xc6\x3b\x99\x56\x69\xa2\x83\xd1\x45\xac\x3a\x9a\x05\x1b\x61\x33\xce\x82\x2e\xd3\xd7\x6b\x2e\xe7\x9d\xc5\x52\x9e\xc5\xcb\x77\xe7\x69\x36\x2e\x1f\xa3\xb6\x9c\x97\xa9\x98\xc9\xcb\xb1\xfd\x69\xcd\x61\x2b\x70\xf5\xb4\xe6\xc8\xf8\x72\x3e\x36\x7f\xa2\x6d\x3e\xf2\x9d\xed\x70\xa2\x81\xd3\xad\xe2\x7a\xa3\x44\x47\x13\xce\xb6\xfc\x6a\x2d\x95\xce\xa2\x6d\x9e\x03\xef\xbb\x37\x5a\x3e\xe6\xd5\xc1\x6a\xba\x35\x03\xe4\x6c\x3f\xe5\xd5\xd9\x27\x9e\xe8\xfe\x5a\x49\x2d\x4d\x1f\x40\x30\xde\x3f\x8f\xb3\x57\x97\xe2\xb5\x92\x6b\xae\xf4\x35\x28\x16\xf8\x82\x01\xf3\x3d\x7d\x7b\xbd\x3a\x93\xcb\xb1\xfd\x89\xb6\x39\x48\xa6\xfa\xa9\xe6\x2a\xd6\x52\xed\x76\xc1\x3f\xff\xe9\x5f\x02\x48\x99\xea\xc7\xd9\xb5\x48\x9e\x55\xbf\xd7\x52\x02\x88\x99\xea\x6b\xf9\x56\xab\x54\x2c\xde\xc5\x0b\xcc\x52\x79\x0f\x4a\x70\x64\x06\x1c\x20\x0a\x80\xb8\x31\x58\x60\xfa\x5e\x63\x9e\xed\x45\xbc\xdc\xf0\x48\x00\x17\x9b\x15\x57\xf1\xd9\x92\x47\xdd\x01\x24\x52\xcc\xd3\xc5\xa6\x78\xbf\x54\xa9\x76\xcf\x39\x05\x3d\xe1\xd3\x5c\xab\xeb\x6d\x46\xb6\x39\x04\x01\xcd\x93\x58\x27\xe7\x06\x66\x59\x05\x82\xb5\x2e\x98\x32\x4c\xe4\x79\xd1\xc7\xc4\x66\x00\x65\x01\x2d\x19\x0f\x43\x5e\x82\xb9\x93\x8a\x4c\xc7\x22\x31\x90\x9c\x8f\x79\x34\x87\xd4\x4f\x45\xa2\x78\xac\x39\x91\x65\x66\x0a\x31\x13\xfc\xb2\x73\x45\xd4\x6e\x37\x99\xd2\x91\x6b\x34\xed\x9f\xa6\xe2\x42\x7e\xe6\x7b\xbd\x32\x4d\x2a\x16\x64\x9b\x6c\xcd\xc5\x8c\xcf\xde\xea\x58\xe9\xc0\x97\x2b\x72\x4b\x48\xe9\x36\x9d\x93\x80\x5f\xf1\x64\xa3\x53\xb1\x08\x18\x63\x8a\xea\x73\x25\x2f\x3b\xa6\xc9\x47\x4a\x49\x45\x82\x27\x5c\xd8\x69\xea\xa4\x59\x27\x5e\x2a\x1e\xcf\xae\x3b\x6a\x23\x84\x29\x42\x47\xa6\x8a\x44\xae\xd6\x4b\xae\xf9\xcc\x56\x81\xd5\x62\x3d\xe6\x5d\xba\x2a\x53\xdf\x85\x53\x42\xf3\xb9\x54\x44\xf4\x57\x5c\x9f\xcb\x19\x93\x20\xfa\xb1\x5a\xb0\x74\x34\xb2\xdd\x8f\x99\xe8\xcf\xf8\x92\x2f\x62\xcd\x4d\x03\xb1\x4d\xce\xd8\x25\x89\x41\x60\x9b\x19\xb6\x92\x31\xc6\x96\x34\x91\x42\xa7\x62\xc3\x7d\x03\x59\x9e\x9b\x1e\x08\x7e\xa5\x4d\x07\x7c\x3b\x54\xf4\x33\x2e\x34\x13\xfd\x53\xf7\x1b\xab\xc5\x88\x2f\x33\xde\xa9\x75\xb8\xc8\x8f\xe3\x68\xc0\xb1\x02\x23\xc5\x2a\x03\xb7\x43\x18\x89\xfe\x2c\xcd\xd6\x66\xc9\x3c\xba\x4a\xf8\x1a\x21\x8d\x5f\x68\x6e\x1a\x0a\x6c\x0f\xab\xad\x84\xa1\xe8\xc7\x67\x6a\xb3\xd6\xc4\x7f\xb5\x75\xd1\x91\x62\x95\xc9\x41\x34\x95\xb0\x8d\x9b\x66\x84\xbb\x90\x6a\x15\x2f\x4d\x6d\x49\x1f\x17\x8b\xe9\xb1\x32\xc0\x93\x82\x8f\x2b\xbd\x8b\xca\x61\x7c\x48\xf9\x72\x16\x40\x82\x10\x6f\x81\x9e\xdb\x36\xf8\x1d\x4c\x3d\x91\xad\x2e\xcf\x4b\x08\xd9\xd6\xc2\x90\x34\x41\xe0\x26\xd4\xe5\x74\xd3\x9a\xd8\xf1\xe7\x39\xd1\x20\x20\xa6\x90\x96\x5b\xc5\x0f\x67\x6b\xf6\x9c\xeb\x80\xa9\x3b\xf2\x63\x83\x58\x2d\x22\xdd\x4f\xe2\xe5\x92\x98\x8c\x79\xb9\x21\x6b\xd9\x5d\x8b\x98\x3b\xcf\x73\xdd\xbf\x54\xf1\x9a\x25\x08\xb5\x25\xab\x22\xd4\x39\xa1\xdb\xb2\x03\xb3\xda\xdb\xda\xbc\x99\x22\xe7\xa6\xc8\xf9\x44\x4e\x59\x85\x6a\xf8\xfd\x7e\x9e\x66\x39\x56\xbc\xf2\xfb\x76\xc1\xf5\x6b\xbf\x63\x5f\xcd\x61\xc1\x56\x61\xb8\x22\x2b\xf2\x8a\x4c\xa6\x94\xd2\xd1\x22\x0c\x17\x5d\x66\xf0\x80\xb0\x43\x59\x80\xa4\x61\x48\xce\xd9\x82\x62\x4d\xd7\x6c\x5d\xee\x79\x36\xaf\x3c\xd7\x31\xc3\x39\x2d\x07\x72\x61\x80\x30\xb1\xcb\x1c\x3c\x00\xfc\x1a\x9a\xf6\xe7\x52\x3d\x8a\x93\xf3\x0a\x29\xe0\x74\x6b\xd1\x67\x8d\x3a\x54\x46\xe5\x71\x0a\xe1\xa0\x69\x4e\xf1\x7f\xd1\xdc\x99\x25\x44\x88\x5e\x46\xd5\xdc\xac\x8e\x53\x8a\x02\x71\x09\x32\x83\x4e\xaa\x44\x49\x41\x4c\xb7\xdd\x22\xa7\x32\x25\x21\x86\xcc\x56\x8f\xab\x7c\x22\xa7\xa0\x21\xb5\x0b\xdd\x0e\xae\x5b\xae\x73\x3b\xad\x76\x91\xce\xd9\xb2\x8f\x8b\xb6\xc0\x71\x61\x18\x48\x04\x5b\x49\xb2\xe6\x05\xe8\xe7\x10\x9c\x9e\xc6\x97\x71\xaa\x03\x3a\xe6\x7d\xc5\x33\xb9\xbc\xe0\x64\xde\x77\xa9\xb4\xaf\xcf\xb9\xa8\x53\x50\xe5\xb0\x09\x68\xec\x65\x4e\xa1\xf9\xd9\x81\xdf\x7f\xa7\x51\xa5\xe6\xb6\x1a\x5d\x97\x99\x86\x98\x2c\xf7\x2b\xb4\x03\x69\xa9\x37\xcf\x88\xdb\x4f\x08\x33\x03\x48\x93\xea\x0b\x30\x35\x56\xb6\xb5\x18\x62\x1a\xc5\x84\x56\xe8\xd2\x65\x39\x83\x82\xe9\x82\x60\x4f\xb8\xdb\xb7\x53\x03\xeb\x0b\x99\xce\x3a\x03\x83\xa0\x10\x9b\xf0\x02\x11\x33\xb1\x59\x2e\xa1\x44\x02\xbc\x8a\x26\xcb\xda\xfa\xb6\x2b\x61\x48\x78\x81\x0e\x3c\x5e\xe3\x88\x0f\x6c\x0b\x60\x7b\xd3\x56\x21\x75\xa3\x59\x8e\x78\x13\xa3\xd8\x1a\xcc\x72\x7a\x77\xbd\xe6\x8e\x42\xbd\x3b\xe7\x1d\xdf\x7c\x67\x26\x79\xd6\x11\x52\x77\xd6\x4a\x5e\xa4\x33\xde\x89\x3b\xff\x81\x85\xff\xa3\x63\xeb\x0a\x0a\x68\x2d\x73\x4b\x2b\x37\x44\x40\x39\x00\xdb\x46\x75\xdd\x19\x9c\x6f\xd7\x9d\x2b\x78\xa0\x5b\x0a\x97\x63\x13\x62\xcb\x91\x65\x02\xf0\xab\x5f\xa2\x72\x2c\x2d\x92\x26\x7c\xa2\xcd\x4a\xd9\x2c\xf5\xcb\x78\xc5\xa7\x4c\xda\x85\x01\xbc\x6f\x56\x1c\xd3\xf8\xf3\x5c\xLine truncated
func init() {
err := CTX.Err()
if err != nil {
panic(err)
}
var f webdav.File
var rb *bytes.Reader
var r *gzip.Reader
rb = bytes.NewReader(FileAccountsJs)
r, err = gzip.NewReader(rb)
if err != nil {
panic(err)
}
err = r.Close()
if err != nil {
panic(err)
}
f, err = FS.OpenFile(CTX, "accounts.js", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = io.Copy(f, r)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
Handler = &webdav.Handler{
FileSystem: FS,
LockSystem: webdav.NewMemLS(),
}
}
// Open a file
func (hfs *HTTPFS) Open(path string) (http.File, error) {
path = hfs.Prefix + path
f, err := FS.OpenFile(CTX, path, os.O_RDONLY, 0644)
if err != nil {
return nil, err
}
return f, nil
}
// ReadFile is adapTed from ioutil
func ReadFile(path string) ([]byte, error) {
f, err := FS.OpenFile(CTX, path, os.O_RDONLY, 0644)
if err != nil {
return nil, err
}
buf := bytes.NewBuffer(make([]byte, 0, bytes.MinRead))
// If the buffer overflows, we will get bytes.ErrTooLarge.
// Return that as an error. Any other panic remains.
defer func() {
e := recover()
if e == nil {
return
}
if panicErr, ok := e.(error); ok && panicErr == bytes.ErrTooLarge {
err = panicErr
} else {
panic(e)
}
}()
_, err = buf.ReadFrom(f)
return buf.Bytes(), err
}
// WriteFile is adapTed from ioutil
func WriteFile(filename string, data []byte, perm os.FileMode) error {
f, err := FS.OpenFile(CTX, filename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
if err != nil {
return err
}
n, err := f.Write(data)
if err == nil && n < len(data) {
err = io.ErrShortWrite
}
if err1 := f.Close(); err == nil {
err = err1
}
return err
}
// WalkDirs looks for files in the given dir and returns a list of files in it
// usage for all files in the b0x: WalkDirs("", false)
func WalkDirs(name string, includeDirsInList bool, files ...string) ([]string, error) {
f, err := FS.OpenFile(CTX, name, os.O_RDONLY, 0)
if err != nil {
return nil, err
}
fileInfos, err := f.Readdir(0)
if err != nil {
return nil, err
}
err = f.Close()
if err != nil {
return nil, err
}
for _, info := range fileInfos {
filename := path.Join(name, info.Name())
if includeDirsInList || !info.IsDir() {
files = append(files, filename)
}
if info.IsDir() {
files, err = WalkDirs(filename, includeDirsInList, files...)
if err != nil {
return nil, err
}
}
}
return files, nil
}
+17
View File
@@ -0,0 +1,17 @@
---
pkg: "assets"
dest: "."
output: "embed.go"
fmt: true
noprefix: true
compression:
compress: true
custom:
- files:
- "../../assets/"
base: "../../assets/"
prefix: ""
...
+40
View File
@@ -0,0 +1,40 @@
package assets
import (
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log"
)
// Option defines a single option function.
type Option func(o *Options)
// Options defines the available options for this package.
type Options struct {
Logger log.Logger
Config *config.Config
}
// newOptions initializes the available default options.
func newOptions(opts ...Option) Options {
opt := Options{}
for _, o := range opts {
o(&opt)
}
return opt
}
// Logger provides a function to set the logger option.
func Logger(val log.Logger) Option {
return func(o *Options) {
o.Logger = val
}
}
// Config provides a function to set the config option.
func Config(val *config.Config) Option {
return func(o *Options) {
o.Config = val
}
}
+57
View File
@@ -0,0 +1,57 @@
package command
import (
"fmt"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
)
// AddAccount command creates a new account
func AddAccount(cfg *config.Config) *cli.Command {
a := &accounts.Account{
PasswordProfile: &accounts.PasswordProfile{},
}
return &cli.Command{
Name: "add",
Usage: "Create a new account",
Aliases: []string{"create", "a"},
Flags: flagset.AddAccountWithConfig(cfg, a),
Before: func(c *cli.Context) error {
// Write value of username to the flags beneath, as preferred name
// and on-premises-sam-account-name is probably confusing for users.
if username := c.String("username"); username != "" {
if !c.IsSet("on-premises-sam-account-name") {
if err := c.Set("on-premises-sam-account-name", username); err != nil {
return err
}
}
if !c.IsSet("preferred-name") {
if err := c.Set("preferred-name", username); err != nil {
return err
}
}
}
return nil
},
Action: func(c *cli.Context) error {
accSvcID := cfg.GRPC.Namespace + "." + cfg.Server.Name
accSvc := accounts.NewAccountsService(accSvcID, grpc.NewClient())
_, err := accSvc.CreateAccount(c.Context, &accounts.CreateAccountRequest{
Account: a,
})
if err != nil {
fmt.Println(fmt.Errorf("could not create account %w", err))
return err
}
return nil
}}
}
+77
View File
@@ -0,0 +1,77 @@
package command
import (
"fmt"
"os"
"strconv"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
)
// InspectAccount command shows detailed information about a specific account.
func InspectAccount(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "inspect",
Usage: "Show detailed data on an existing account",
ArgsUsage: "id",
Flags: flagset.InspectAccountWithConfig(cfg),
Action: func(c *cli.Context) error {
accServiceID := cfg.GRPC.Namespace + "." + cfg.Server.Name
if c.NArg() != 1 {
fmt.Println("Please provide a user-id")
os.Exit(1)
}
uid := c.Args().First()
accSvc := accounts.NewAccountsService(accServiceID, grpc.NewClient())
acc, err := accSvc.GetAccount(c.Context, &accounts.GetAccountRequest{
Id: uid,
})
if err != nil {
fmt.Println(fmt.Errorf("could not view account %w", err))
return err
}
buildAccountInspectTable(acc).Render()
return nil
}}
}
func buildAccountInspectTable(acc *accounts.Account) *tw.Table {
table := tw.NewWriter(os.Stdout)
table.SetAutoMergeCells(true)
table.AppendBulk([][]string{
{"ID", acc.Id},
{"Mail", acc.Mail},
{"DisplayName", acc.DisplayName},
{"PreferredName", acc.PreferredName},
{"AccountEnabled", strconv.FormatBool(acc.AccountEnabled)},
{"CreationType", acc.CreationType},
{"CreatedDateTime", acc.CreatedDateTime.String()},
{"Description", acc.Description},
{"ExternalUserState", acc.ExternalUserState},
{"UidNumber", fmt.Sprintf("%+d", acc.UidNumber)},
{"GidNumber", fmt.Sprintf("%+d", acc.GidNumber)},
{"IsResourceAccount", strconv.FormatBool(acc.IsResourceAccount)},
{"OnPremisesDistinguishedName", acc.OnPremisesDistinguishedName},
{"OnPremisesDomainName", acc.OnPremisesDomainName},
{"OnPremisesImmutableId", acc.OnPremisesImmutableId},
{"OnPremisesSamAccountName", acc.OnPremisesSamAccountName},
{"OnPremisesSecurityIdentifier", acc.OnPremisesSecurityIdentifier},
{"OnPremisesUserPrincipalName", acc.OnPremisesUserPrincipalName},
{"RefreshTokenValidFromDateTime", acc.RefreshTokensValidFromDateTime.String()},
})
// Merged cell with group memberships
for k := range acc.MemberOf {
table.Append([]string{"MemberOf", acc.MemberOf[k].DisplayName})
}
return table
}
+51
View File
@@ -0,0 +1,51 @@
package command
import (
"fmt"
"os"
"strconv"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
)
// ListAccounts command lists all accounts
func ListAccounts(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "list",
Usage: "List existing accounts",
Aliases: []string{"ls"},
Flags: flagset.ListAccountsWithConfig(cfg),
Action: func(c *cli.Context) error {
accSvcID := cfg.GRPC.Namespace + "." + cfg.Server.Name
accSvc := accounts.NewAccountsService(accSvcID, grpc.NewClient())
resp, err := accSvc.ListAccounts(c.Context, &accounts.ListAccountsRequest{})
if err != nil {
fmt.Println(fmt.Errorf("could not list accounts %w", err))
return err
}
buildAccountsListTable(resp.Accounts).Render()
return nil
}}
}
// buildAccountsListTable creates an ascii table for printing on the cli
func buildAccountsListTable(accs []*accounts.Account) *tw.Table {
table := tw.NewWriter(os.Stdout)
table.SetHeader([]string{"Id", "DisplayName", "Mail", "AccountEnabled"})
table.SetAutoFormatHeaders(false)
for _, acc := range accs {
table.Append([]string{
acc.Id,
acc.DisplayName,
acc.Mail,
strconv.FormatBool(acc.AccountEnabled)})
}
return table
}
+34
View File
@@ -0,0 +1,34 @@
package command
import (
"context"
"fmt"
"github.com/asim/go-micro/plugins/client/grpc/v3"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
index "github.com/owncloud/ocis/accounts/pkg/proto/v0"
)
// RebuildIndex rebuilds the entire configured index.
func RebuildIndex(cdf *config.Config) *cli.Command {
return &cli.Command{
Name: "rebuildIndex",
Usage: "Rebuilds the service's index, i.e. deleting and then re-adding all existing documents",
Aliases: []string{"rebuild", "ri"},
Action: func(ctx *cli.Context) error {
idxSvcID := "com.owncloud.api.accounts"
idxSvc := index.NewIndexService(idxSvcID, grpc.NewClient())
_, err := idxSvc.RebuildIndex(context.Background(), &index.RebuildIndexRequest{})
if err != nil {
fmt.Println(merrors.FromError(err).Detail)
return err
}
fmt.Println("index rebuilt successfully")
return nil
},
}
}
+40
View File
@@ -0,0 +1,40 @@
package command
import (
"fmt"
"os"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
)
// RemoveAccount command deletes an existing account.
func RemoveAccount(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "remove",
Usage: "Removes an existing account",
ArgsUsage: "id",
Aliases: []string{"rm"},
Flags: flagset.RemoveAccountWithConfig(cfg),
Action: func(c *cli.Context) error {
accServiceID := cfg.GRPC.Namespace + "." + cfg.Server.Name
if c.NArg() != 1 {
fmt.Println("Please provide a user-id")
os.Exit(1)
}
uid := c.Args().First()
accSvc := accounts.NewAccountsService(accServiceID, grpc.NewClient())
_, err := accSvc.DeleteAccount(c.Context, &accounts.DeleteAccountRequest{Id: uid})
if err != nil {
fmt.Println(fmt.Errorf("could not delete account %w", err))
return err
}
return nil
}}
}
+120
View File
@@ -0,0 +1,120 @@
package command
import (
"os"
"strings"
"github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/version"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/spf13/viper"
)
var (
defaultConfigPaths = []string{"/etc/ocis", "$HOME/.ocis", "./config"}
defaultFilename = "accounts"
)
// Execute is the entry point for the ocis-accounts command.
func Execute() error {
cfg := config.New()
app := &cli.App{
Name: "ocis-accounts",
Version: version.String,
Usage: "Provide accounts and groups for oCIS",
Compiled: version.Compiled(),
Authors: []*cli.Author{
{
Name: "ownCloud GmbH",
Email: "support@owncloud.com",
},
},
Flags: flagset.RootWithConfig(cfg),
Before: func(c *cli.Context) error {
cfg.Server.Version = version.String
return ParseConfig(c, cfg)
},
Commands: []*cli.Command{
Server(cfg),
AddAccount(cfg),
UpdateAccount(cfg),
ListAccounts(cfg),
InspectAccount(cfg),
RemoveAccount(cfg),
PrintVersion(cfg),
RebuildIndex(cfg),
},
}
cli.HelpFlag = &cli.BoolFlag{
Name: "help,h",
Usage: "Show the help",
}
cli.VersionFlag = &cli.BoolFlag{
Name: "version,v",
Usage: "Print the version",
}
return app.Run(os.Args)
}
// NewLogger initializes a service-specific logger instance.
func NewLogger(cfg *config.Config) log.Logger {
return log.NewLogger(
log.Name("accounts"),
log.Level(cfg.Log.Level),
log.Pretty(cfg.Log.Pretty),
log.Color(cfg.Log.Color),
)
}
// ParseConfig loads accounts configuration from Viper known paths.
func ParseConfig(c *cli.Context, cfg *config.Config) error {
logger := NewLogger(cfg)
viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_"))
viper.SetEnvPrefix("ACCOUNTS")
viper.AutomaticEnv()
if c.IsSet("config-file") {
viper.SetConfigFile(c.String("config-file"))
} else {
viper.SetConfigName(defaultFilename)
for _, v := range defaultConfigPaths {
viper.AddConfigPath(v)
}
}
if err := viper.ReadInConfig(); err != nil {
switch err.(type) {
case viper.ConfigFileNotFoundError:
logger.Debug().
Msg("no config found on preconfigured location")
case viper.UnsupportedConfigError:
logger.Fatal().
Err(err).
Msg("Unsupported config type")
default:
logger.Fatal().
Err(err).
Msg("Failed to read config")
}
}
if err := viper.Unmarshal(&cfg); err != nil {
logger.Fatal().
Err(err).
Msg("Failed to parse config")
}
return nil
}
+191
View File
@@ -0,0 +1,191 @@
package command
import (
"context"
"os"
"os/signal"
"strings"
"time"
"contrib.go.opencensus.io/exporter/jaeger"
"contrib.go.opencensus.io/exporter/ocagent"
"contrib.go.opencensus.io/exporter/zipkin"
"github.com/micro/cli/v2"
"github.com/oklog/run"
openzipkin "github.com/openzipkin/zipkin-go"
zipkinhttp "github.com/openzipkin/zipkin-go/reporter/http"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/owncloud/ocis/accounts/pkg/metrics"
"github.com/owncloud/ocis/accounts/pkg/server/grpc"
"github.com/owncloud/ocis/accounts/pkg/server/http"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"go.opencensus.io/stats/view"
"go.opencensus.io/trace"
)
// Server is the entry point for the server command.
func Server(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "server",
Usage: "Start ocis accounts service",
Description: "uses an LDAP server as the storage backend",
Flags: flagset.ServerWithConfig(cfg),
Before: func(ctx *cli.Context) error {
if cfg.HTTP.Root != "/" {
cfg.HTTP.Root = strings.TrimSuffix(cfg.HTTP.Root, "/")
}
// When running on single binary mode the before hook from the root command won't get called. We manually
// call this before hook from ocis command, so the configuration can be loaded.
return ParseConfig(ctx, cfg)
},
Action: func(c *cli.Context) error {
logger := NewLogger(cfg)
if cfg.Tracing.Enabled {
switch t := cfg.Tracing.Type; t {
case "agent":
exporter, err := ocagent.NewExporter(
ocagent.WithReconnectionPeriod(5*time.Second),
ocagent.WithAddress(cfg.Tracing.Endpoint),
ocagent.WithServiceName(cfg.Tracing.Service),
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create agent tracing")
return err
}
trace.RegisterExporter(exporter)
view.RegisterExporter(exporter)
case "jaeger":
exporter, err := jaeger.NewExporter(
jaeger.Options{
AgentEndpoint: cfg.Tracing.Endpoint,
CollectorEndpoint: cfg.Tracing.Collector,
Process: jaeger.Process{
ServiceName: cfg.Tracing.Service,
},
},
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create jaeger tracing")
return err
}
trace.RegisterExporter(exporter)
case "zipkin":
endpoint, err := openzipkin.NewEndpoint(
cfg.Tracing.Service,
cfg.Tracing.Endpoint,
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create zipkin tracing")
return err
}
exporter := zipkin.NewExporter(
zipkinhttp.NewReporter(
cfg.Tracing.Collector,
),
endpoint,
)
trace.RegisterExporter(exporter)
default:
logger.Warn().
Str("type", t).
Msg("Unknown tracing backend")
}
trace.ApplyConfig(
trace.Config{
DefaultSampler: trace.AlwaysSample(),
},
)
} else {
logger.Debug().
Msg("Tracing is not enabled")
}
var (
gr = run.Group{}
ctx, cancel = context.WithCancel(context.Background())
mtrcs = metrics.New()
)
defer cancel()
mtrcs.BuildInfo.WithLabelValues(cfg.Server.Version).Set(1)
handler, err := svc.New(svc.Logger(logger), svc.Config(cfg))
if err != nil {
logger.Fatal().Err(err).Msg("could not initialize service handler")
}
{
server := http.Server(
http.Logger(logger),
http.Name(cfg.Server.Name),
http.Context(ctx),
http.Config(cfg),
http.Metrics(mtrcs),
http.Flags(flagset.RootWithConfig(config.New())),
http.Flags(flagset.ServerWithConfig(config.New())),
http.Handler(handler),
)
gr.Add(server.Run, func(_ error) {
logger.Info().
Str("server", "http").
Msg("Shutting down server")
cancel()
})
}
{
server := grpc.Server(
grpc.Logger(logger),
grpc.Name(cfg.Server.Name),
grpc.Context(ctx),
grpc.Config(cfg),
grpc.Metrics(mtrcs),
grpc.Handler(handler),
)
gr.Add(func() error {
return server.Run()
}, func(_ error) {
logger.Info().
Str("server", "grpc").
Msg("Shutting down server")
cancel()
})
}
{
stop := make(chan os.Signal, 1)
gr.Add(func() error {
signal.Notify(stop, os.Interrupt)
<-stop
return nil
}, func(err error) {
close(stop)
cancel()
})
}
return gr.Run()
},
}
}
+88
View File
@@ -0,0 +1,88 @@
package command
import (
"errors"
"fmt"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"google.golang.org/genproto/protobuf/field_mask"
)
// UpdateAccount command for modifying accounts including password policies
func UpdateAccount(cfg *config.Config) *cli.Command {
a := &accounts.Account{
PasswordProfile: &accounts.PasswordProfile{},
}
return &cli.Command{
Name: "update",
Usage: "Make changes to an existing account",
ArgsUsage: "id",
Flags: flagset.UpdateAccountWithConfig(cfg, a),
Before: func(c *cli.Context) error {
if len(c.StringSlice("password_policies")) > 0 {
// StringSliceFlag doesn't support Destination
a.PasswordProfile.PasswordPolicies = c.StringSlice("password_policies")
}
if c.NArg() != 1 {
return errors.New("missing account-id")
}
if c.NumFlags() == 0 {
return errors.New("missing attribute-flags for update")
}
return nil
},
Action: func(c *cli.Context) error {
a.Id = c.Args().First()
accSvcID := cfg.GRPC.Namespace + "." + cfg.Server.Name
accSvc := accounts.NewAccountsService(accSvcID, grpc.NewClient())
_, err := accSvc.UpdateAccount(c.Context, &accounts.UpdateAccountRequest{
Account: a,
UpdateMask: buildAccUpdateMask(c.FlagNames()),
})
if err != nil {
fmt.Println(fmt.Errorf("could not update account %w", err))
return err
}
return nil
}}
}
// buildAccUpdateMask by mapping passed update flags to account fieldNames.
//
// The UpdateMask is passed with the update-request to the server so that
// only the modified values are transferred.
func buildAccUpdateMask(setFlags []string) *field_mask.FieldMask {
var flagToPath = map[string]string{
"enabled": "AccountEnabled",
"displayname": "DisplayName",
"preferred-name": "PreferredName",
"uidnumber": "UidNumber",
"gidnumber": "GidNumber",
"mail": "Mail",
"description": "Description",
"password": "PasswordProfile.Password",
"password-policies": "PasswordProfile.PasswordPolicies",
"force-password-change": "PasswordProfile.ForceChangePasswordNextSignIn",
"force-password-change-mfa": "PasswordProfile.ForceChangePasswordNextSignInWithMfa",
"on-premises-sam-account-name": "OnPremisesSamAccountName",
}
updatedPaths := make([]string, 0)
for _, v := range setFlags {
if _, ok := flagToPath[v]; ok {
updatedPaths = append(updatedPaths, flagToPath[v])
}
}
return &field_mask.FieldMask{Paths: updatedPaths}
}
+46
View File
@@ -0,0 +1,46 @@
package command
import (
"fmt"
"os"
"github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
)
// PrintVersion prints the service versions of all running instances.
func PrintVersion(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "version",
Usage: "Print the versions of the running instances",
Flags: flagset.ListAccountsWithConfig(cfg),
Action: func(c *cli.Context) error {
reg := registry.GetRegistry()
services, err := reg.GetService(cfg.GRPC.Namespace + "." + cfg.Server.Name)
if err != nil {
fmt.Println(fmt.Errorf("could not get accounts services from the registry: %v", err))
return err
}
if len(services) == 0 {
fmt.Println("No running accounts service found.")
return nil
}
table := tw.NewWriter(os.Stdout)
table.SetHeader([]string{"Version", "Address", "Id"})
table.SetAutoFormatHeaders(false)
for _, s := range services {
for _, n := range s.Nodes {
table.Append([]string{s.Version, n.Address, n.Id})
}
}
table.Render()
return nil
},
}
}
+129
View File
@@ -0,0 +1,129 @@
// Package config should be moved to internal
package config
// LDAP defines the available ldap configuration.
type LDAP struct {
Hostname string
Port int
BaseDN string
UserFilter string
GroupFilter string
BindDN string
BindPassword string
IDP string
Schema LDAPSchema
}
// LDAPSchema defines the available ldap schema configuration.
type LDAPSchema struct {
AccountID string
Identities string
Username string
DisplayName string
Mail string
Groups string
}
// HTTP defines the available http configuration.
type HTTP struct {
Addr string
Namespace string
Root string
CacheTTL int
}
// GRPC defines the available grpc configuration.
type GRPC struct {
Addr string
Namespace string
}
// Server configures a server.
type Server struct {
Version string
Name string
HashDifficulty int
}
// Asset defines the available asset configuration.
type Asset struct {
Path string
}
// TokenManager is the config for using the reva token manager
type TokenManager struct {
JWTSecret string
}
// Log defines the available logging configuration.
type Log struct {
Level string
Pretty bool
Color bool
}
// Repo defines which storage implementation is to be used.
type Repo struct {
Disk Disk
CS3 CS3
}
// Disk is the local disk implementation of the storage.
type Disk struct {
Path string
}
// CS3 is the cs3 implementation of the storage.
type CS3 struct {
ProviderAddr string
DataURL string
DataPrefix string
JWTSecret string
}
// ServiceUser defines the user required for EOS.
type ServiceUser struct {
UUID string
Username string
UID int64
GID int64
}
// Index defines config for indexes.
type Index struct {
UID, GID Bound
}
// Bound defines a lower and upper bound.
type Bound struct {
Lower, Upper int64
}
// Tracing defines the available tracing configuration.
type Tracing struct {
Enabled bool
Type string
Endpoint string
Collector string
Service string
}
// Config merges all Account config parameters.
type Config struct {
LDAP LDAP
HTTP HTTP
GRPC GRPC
Server Server
Asset Asset
Log Log
TokenManager TokenManager
Repo Repo
Index Index
ServiceUser ServiceUser
Tracing Tracing
}
// New returns a new config.
func New() *Config {
return &Config{}
}
+467
View File
@@ -0,0 +1,467 @@
package flagset
import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
)
// RootWithConfig applies cfg to the root flagset
func RootWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "log-level",
Value: "info",
Usage: "Set logging level",
EnvVars: []string{"ACCOUNTS_LOG_LEVEL"},
Destination: &cfg.Log.Level,
},
&cli.BoolFlag{
Value: true,
Name: "log-pretty",
Usage: "Enable pretty logging",
EnvVars: []string{"ACCOUNTS_LOG_PRETTY"},
Destination: &cfg.Log.Pretty,
},
&cli.BoolFlag{
Value: true,
Name: "log-color",
Usage: "Enable colored logging",
EnvVars: []string{"ACCOUNTS_LOG_COLOR"},
Destination: &cfg.Log.Color,
},
}
}
// ServerWithConfig applies cfg to the root flagset
func ServerWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.BoolFlag{
Name: "tracing-enabled",
Usage: "Enable sending traces",
EnvVars: []string{"ACCOUNTS_TRACING_ENABLED"},
Destination: &cfg.Tracing.Enabled,
},
&cli.StringFlag{
Name: "tracing-type",
Value: "jaeger",
Usage: "Tracing backend type",
EnvVars: []string{"ACCOUNTS_TRACING_TYPE"},
Destination: &cfg.Tracing.Type,
},
&cli.StringFlag{
Name: "tracing-endpoint",
Value: "",
Usage: "Endpoint for the agent",
EnvVars: []string{"ACCOUNTS_TRACING_ENDPOINT"},
Destination: &cfg.Tracing.Endpoint,
},
&cli.StringFlag{
Name: "tracing-collector",
Value: "",
Usage: "Endpoint for the collector",
EnvVars: []string{"ACCOUNTS_TRACING_COLLECTOR"},
Destination: &cfg.Tracing.Collector,
},
&cli.StringFlag{
Name: "tracing-service",
Value: "accounts",
Usage: "Service name for tracing",
EnvVars: []string{"ACCOUNTS_TRACING_SERVICE"},
Destination: &cfg.Tracing.Service,
},
&cli.StringFlag{
Name: "http-namespace",
Value: "com.owncloud.web",
Usage: "Set the base namespace for the http namespace",
EnvVars: []string{"ACCOUNTS_HTTP_NAMESPACE"},
Destination: &cfg.HTTP.Namespace,
},
&cli.StringFlag{
Name: "http-addr",
Value: "0.0.0.0:9181",
Usage: "Address to bind http server",
EnvVars: []string{"ACCOUNTS_HTTP_ADDR"},
Destination: &cfg.HTTP.Addr,
},
&cli.StringFlag{
Name: "http-root",
Value: "/",
Usage: "Root path of http server",
EnvVars: []string{"ACCOUNTS_HTTP_ROOT"},
Destination: &cfg.HTTP.Root,
},
&cli.IntFlag{
Name: "http-cache-ttl",
Value: 604800, // 7 days
Usage: "Set the static assets caching duration in seconds",
EnvVars: []string{"ACCOUNTS_CACHE_TTL"},
Destination: &cfg.HTTP.CacheTTL,
},
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "grpc-addr",
Value: "0.0.0.0:9180",
Usage: "Address to bind grpc server",
EnvVars: []string{"ACCOUNTS_GRPC_ADDR"},
Destination: &cfg.GRPC.Addr,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
},
&cli.IntFlag{
Name: "accounts-hash-difficulty",
Value: 11,
Usage: "accounts password hash difficulty",
EnvVars: []string{"ACCOUNTS_HASH_DIFFICULTY"},
Destination: &cfg.Server.HashDifficulty,
},
&cli.StringFlag{
Name: "asset-path",
Value: "",
Usage: "Path to custom assets",
EnvVars: []string{"ACCOUNTS_ASSET_PATH"},
Destination: &cfg.Asset.Path,
},
&cli.StringFlag{
Name: "jwt-secret",
Value: "Pive-Fumkiu4",
Usage: "Used to create JWT to talk to reva, should equal reva's jwt-secret",
EnvVars: []string{"ACCOUNTS_JWT_SECRET", "OCIS_JWT_SECRET"},
Destination: &cfg.TokenManager.JWTSecret,
},
&cli.StringFlag{
Name: "storage-disk-path",
Value: "",
Usage: "Path on the local disk, e.g. /var/tmp/ocis/accounts",
EnvVars: []string{"ACCOUNTS_STORAGE_DISK_PATH"},
Destination: &cfg.Repo.Disk.Path,
},
&cli.StringFlag{
Name: "storage-cs3-provider-addr",
Value: "localhost:9215",
Usage: "bind address for the metadata storage provider",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR"},
Destination: &cfg.Repo.CS3.ProviderAddr,
},
&cli.StringFlag{
Name: "storage-cs3-data-url",
Value: "http://localhost:9216",
Usage: "http endpoint of the metadata storage",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_DATA_URL"},
Destination: &cfg.Repo.CS3.DataURL,
},
&cli.StringFlag{
Name: "storage-cs3-data-prefix",
Value: "data",
Usage: "path prefix for the http endpoint of the metadata storage, without leading slash",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_DATA_PREFIX"},
Destination: &cfg.Repo.CS3.DataPrefix,
},
&cli.StringFlag{
Name: "storage-cs3-jwt-secret",
Value: "Pive-Fumkiu4",
Usage: "Used to create JWT to talk to reva, should equal reva's jwt-secret",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_JWT_SECRET", "OCIS_JWT_SECRET"},
Destination: &cfg.Repo.CS3.JWTSecret,
},
&cli.StringFlag{
Name: "service-user-uuid",
Value: "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad",
Usage: "uuid of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_UUID"},
Destination: &cfg.ServiceUser.UUID,
},
&cli.StringFlag{
Name: "service-user-username",
Value: "",
Usage: "username of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_USERNAME"},
Destination: &cfg.ServiceUser.Username,
},
&cli.Int64Flag{
Name: "service-user-uid",
Value: 0,
Usage: "uid of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_UID"},
Destination: &cfg.ServiceUser.UID,
},
&cli.Int64Flag{
Name: "service-user-gid",
Value: 0,
Usage: "gid of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_GID"},
Destination: &cfg.ServiceUser.GID,
},
&cli.Int64Flag{
Name: "uid-index-lower-bound",
Value: 0,
Usage: "define a starting point for the account UID",
EnvVars: []string{"ACCOUNTS_UID_INDEX_LOWER_BOUND"},
Destination: &cfg.Index.UID.Lower,
},
&cli.Int64Flag{
Name: "gid-index-lower-bound",
Value: 1000,
Usage: "define a starting point for the account GID",
EnvVars: []string{"ACCOUNTS_GID_INDEX_LOWER_BOUND"},
Destination: &cfg.Index.GID.Lower,
},
&cli.Int64Flag{
Name: "uid-index-upper-bound",
Value: 0,
Usage: "define an ending point for the account UID",
EnvVars: []string{"ACCOUNTS_UID_INDEX_UPPER_BOUND"},
Destination: &cfg.Index.UID.Upper,
},
&cli.Int64Flag{
Name: "gid-index-upper-bound",
Value: 1000,
Usage: "define an ending point for the account GID",
EnvVars: []string{"ACCOUNTS_GID_INDEX_UPPER_BOUND"},
Destination: &cfg.Index.GID.Upper,
},
}
}
// UpdateAccountWithConfig applies update command flags to cfg
func UpdateAccountWithConfig(cfg *config.Config, a *accounts.Account) []cli.Flag {
if a.PasswordProfile == nil {
a.PasswordProfile = &accounts.PasswordProfile{}
}
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
},
&cli.BoolFlag{
Name: "enabled",
Usage: "Enable the account",
Destination: &a.AccountEnabled,
},
&cli.StringFlag{
Name: "displayname",
Usage: "Set the displayname for the account",
Destination: &a.DisplayName,
},
&cli.StringFlag{
Name: "preferred-name",
Usage: "Set the preferred-name for the account",
Destination: &a.PreferredName,
},
&cli.StringFlag{
Name: "on-premises-sam-account-name",
Usage: "Set the on-premises-sam-account-name",
Destination: &a.OnPremisesSamAccountName,
},
&cli.Int64Flag{
Name: "uidnumber",
Usage: "Set the uidnumber for the account",
Destination: &a.UidNumber,
},
&cli.Int64Flag{
Name: "gidnumber",
Usage: "Set the gidnumber for the account",
Destination: &a.GidNumber,
},
&cli.StringFlag{
Name: "mail",
Usage: "Set the mail for the account",
Destination: &a.Mail,
},
&cli.StringFlag{
Name: "description",
Usage: "Set the description for the account",
Destination: &a.Description,
},
&cli.StringFlag{
Name: "password",
Usage: "Set the password for the account",
Destination: &a.PasswordProfile.Password,
// TODO read password from ENV?
},
&cli.StringSliceFlag{
Name: "password-policies",
Usage: "Possible policies: DisableStrongPassword, DisablePasswordExpiration",
},
&cli.BoolFlag{
Name: "force-password-change",
Usage: "Force password change on next sign-in",
Destination: &a.PasswordProfile.ForceChangePasswordNextSignIn,
},
&cli.BoolFlag{
Name: "force-password-change-mfa",
Usage: "Force password change on next sign-in with mfa",
Destination: &a.PasswordProfile.ForceChangePasswordNextSignInWithMfa,
},
}
}
// AddAccountWithConfig applies create command flags to cfg
func AddAccountWithConfig(cfg *config.Config, a *accounts.Account) []cli.Flag {
if a.PasswordProfile == nil {
a.PasswordProfile = &accounts.PasswordProfile{}
}
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
},
&cli.BoolFlag{
Name: "enabled",
Usage: "Enable the account",
Destination: &a.AccountEnabled,
},
&cli.StringFlag{
Name: "displayname",
Usage: "Set the displayname for the account",
Destination: &a.DisplayName,
},
&cli.StringFlag{
Name: "username",
Usage: "Username will be written to preferred-name and on_premises_sam_account_name",
},
&cli.StringFlag{
Name: "preferred-name",
Usage: "Set the preferred-name for the account",
Destination: &a.PreferredName,
},
&cli.StringFlag{
Name: "on-premises-sam-account-name",
Usage: "Set the on-premises-sam-account-name",
Destination: &a.OnPremisesSamAccountName,
},
&cli.Int64Flag{
Name: "uidnumber",
Usage: "Set the uidnumber for the account",
Destination: &a.UidNumber,
},
&cli.Int64Flag{
Name: "gidnumber",
Usage: "Set the gidnumber for the account",
Destination: &a.GidNumber,
},
&cli.StringFlag{
Name: "mail",
Usage: "Set the mail for the account",
Destination: &a.Mail,
},
&cli.StringFlag{
Name: "description",
Usage: "Set the description for the account",
Destination: &a.Description,
},
&cli.StringFlag{
Name: "password",
Usage: "Set the password for the account",
Destination: &a.PasswordProfile.Password,
// TODO read password from ENV?
},
&cli.StringSliceFlag{
Name: "password-policies",
Usage: "Possible policies: DisableStrongPassword, DisablePasswordExpiration",
},
&cli.BoolFlag{
Name: "force-password-change",
Usage: "Force password change on next sign-in",
Destination: &a.PasswordProfile.ForceChangePasswordNextSignIn,
},
&cli.BoolFlag{
Name: "force-password-change-mfa",
Usage: "Force password change on next sign-in with mfa",
Destination: &a.PasswordProfile.ForceChangePasswordNextSignInWithMfa,
},
}
}
// ListAccountsWithConfig applies list command flags to cfg
func ListAccountsWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
},
}
}
// RemoveAccountWithConfig applies remove command flags to cfg
func RemoveAccountWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
},
}
}
// InspectAccountWithConfig applies inspect command flags to cfg
func InspectAccountWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
},
}
}
+33
View File
@@ -0,0 +1,33 @@
package metrics
import "github.com/prometheus/client_golang/prometheus"
var (
// Namespace defines the namespace for the defines metrics.
Namespace = "ocis"
// Subsystem defines the subsystem for the defines metrics.
Subsystem = "accounts"
)
// Metrics defines the available metrics of this service.
type Metrics struct {
// Counter *prometheus.CounterVec
BuildInfo *prometheus.GaugeVec
}
// New initializes the available metrics.
func New() *Metrics {
m := &Metrics{
BuildInfo: prometheus.NewGaugeVec(prometheus.GaugeOpts{
Namespace: Namespace,
Subsystem: Subsystem,
Name: "build_info",
Help: "Build information",
}, []string{"version"}),
}
_ = prometheus.Register(m.BuildInfo)
// TODO: implement metrics
return m
}
+89
View File
@@ -0,0 +1,89 @@
package proto
import (
context "context"
client "github.com/asim/go-micro/v3/client"
empty "github.com/golang/protobuf/ptypes/empty"
)
// MockAccountsService can be used to write tests
/*
To creata a mock overwrite the functions of an instance like this:
```go
func mockAccSvc(retErr bool) proto.AccountsService {
if retErr {
return &proto.MockAccountsService{
ListFunc: func(ctx context.Context, in *proto.ListAccountsRequest, opts ...client.CallOption) (out *proto.ListAccountsResponse, err error) {
return nil, fmt.Errorf("error returned by mockAccountsService LIST")
},
}
}
return &proto.MockAccountsService{
ListFunc: func(ctx context.Context, in *proto.ListAccountsRequest, opts ...client.CallOption) (out *proto.ListAccountsResponse, err error) {
return &proto.ListAccountsResponse{
Accounts: []*proto.Account{
{
Id: "yay",
},
},
}, nil
},
}
}
```
*/
type MockAccountsService struct {
ListFunc func(ctx context.Context, in *ListAccountsRequest, opts ...client.CallOption) (*ListAccountsResponse, error)
GetFunc func(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*Account, error)
CreateFunc func(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*Account, error)
UpdateFunc func(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*Account, error)
DeleteFunc func(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*empty.Empty, error)
}
// ListAccounts will panic if the function has been called, but not mocked
func (m MockAccountsService) ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...client.CallOption) (*ListAccountsResponse, error) {
if m.ListFunc != nil {
return m.ListFunc(ctx, in, opts...)
}
panic("ListFunc was called in test but not mocked")
}
// GetAccount will panic if the function has been called, but not mocked
func (m MockAccountsService) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*Account, error) {
if m.GetFunc != nil {
return m.GetFunc(ctx, in, opts...)
}
panic("GetFunc was called in test but not mocked")
}
// CreateAccount will panic if the function has been called, but not mocked
func (m MockAccountsService) CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*Account, error) {
if m.CreateFunc != nil {
return m.CreateFunc(ctx, in, opts...)
}
panic("CreateFunc was called in test but not mocked")
}
// UpdateAccount will panic if the function has been called, but not mocked
func (m MockAccountsService) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*Account, error) {
if m.UpdateFunc != nil {
return m.UpdateFunc(ctx, in, opts...)
}
panic("UpdateFunc was called in test but not mocked")
}
// DeleteAccount will panic if the function has been called, but not mocked
func (m MockAccountsService) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*empty.Empty, error) {
if m.DeleteFunc != nil {
return m.DeleteFunc(ctx, in, opts...)
}
panic("DeleteFunc was called in test but not mocked")
}
File diff suppressed because it is too large. Load diff
+628
View File
@@ -0,0 +1,628 @@
// Code generated by protoc-gen-micro. DO NOT EDIT.
// source: accounts.proto
package proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
_ "github.com/golang/protobuf/ptypes/timestamp"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
_ "google.golang.org/genproto/googleapis/api/annotations"
_ "google.golang.org/genproto/protobuf/field_mask"
math "math"
)
import (
context "context"
api "github.com/asim/go-micro/v3/api"
client "github.com/asim/go-micro/v3/client"
server "github.com/asim/go-micro/v3/server"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Reference imports to suppress errors if they are not otherwise used.
var _ api.Endpoint
var _ context.Context
var _ client.Option
var _ server.Option
// Api Endpoints for AccountsService service
func NewAccountsServiceEndpoints() []*api.Endpoint {
return []*api.Endpoint{
&api.Endpoint{
Name: "AccountsService.ListAccounts",
Path: []string{"/api/v0/accounts/accounts-list"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "AccountsService.GetAccount",
Path: []string{"/api/v0/accounts/accounts-get"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "AccountsService.CreateAccount",
Path: []string{"/api/v0/accounts/accounts-create"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "AccountsService.UpdateAccount",
Path: []string{"/api/v0/accounts/accounts-update"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "AccountsService.DeleteAccount",
Path: []string{"/api/v0/accounts/accounts-delete"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
}
}
// Client API for AccountsService service
type AccountsService interface {
// Lists accounts
ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...client.CallOption) (*ListAccountsResponse, error)
// Gets an account
GetAccount(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*Account, error)
// Creates an account
CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*Account, error)
// Updates an account
UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*Account, error)
// Deletes an account
DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*empty.Empty, error)
}
type accountsService struct {
c client.Client
name string
}
func NewAccountsService(name string, c client.Client) AccountsService {
return &accountsService{
c: c,
name: name,
}
}
func (c *accountsService) ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...client.CallOption) (*ListAccountsResponse, error) {
req := c.c.NewRequest(c.name, "AccountsService.ListAccounts", in)
out := new(ListAccountsResponse)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *accountsService) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...client.CallOption) (*Account, error) {
req := c.c.NewRequest(c.name, "AccountsService.GetAccount", in)
out := new(Account)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *accountsService) CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...client.CallOption) (*Account, error) {
req := c.c.NewRequest(c.name, "AccountsService.CreateAccount", in)
out := new(Account)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *accountsService) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*Account, error) {
req := c.c.NewRequest(c.name, "AccountsService.UpdateAccount", in)
out := new(Account)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *accountsService) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*empty.Empty, error) {
req := c.c.NewRequest(c.name, "AccountsService.DeleteAccount", in)
out := new(empty.Empty)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for AccountsService service
type AccountsServiceHandler interface {
// Lists accounts
ListAccounts(context.Context, *ListAccountsRequest, *ListAccountsResponse) error
// Gets an account
GetAccount(context.Context, *GetAccountRequest, *Account) error
// Creates an account
CreateAccount(context.Context, *CreateAccountRequest, *Account) error
// Updates an account
UpdateAccount(context.Context, *UpdateAccountRequest, *Account) error
// Deletes an account
DeleteAccount(context.Context, *DeleteAccountRequest, *empty.Empty) error
}
func RegisterAccountsServiceHandler(s server.Server, hdlr AccountsServiceHandler, opts ...server.HandlerOption) error {
type accountsService interface {
ListAccounts(ctx context.Context, in *ListAccountsRequest, out *ListAccountsResponse) error
GetAccount(ctx context.Context, in *GetAccountRequest, out *Account) error
CreateAccount(ctx context.Context, in *CreateAccountRequest, out *Account) error
UpdateAccount(ctx context.Context, in *UpdateAccountRequest, out *Account) error
DeleteAccount(ctx context.Context, in *DeleteAccountRequest, out *empty.Empty) error
}
type AccountsService struct {
accountsService
}
h := &accountsServiceHandler{hdlr}
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "AccountsService.ListAccounts",
Path: []string{"/api/v0/accounts/accounts-list"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "AccountsService.GetAccount",
Path: []string{"/api/v0/accounts/accounts-get"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "AccountsService.CreateAccount",
Path: []string{"/api/v0/accounts/accounts-create"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "AccountsService.UpdateAccount",
Path: []string{"/api/v0/accounts/accounts-update"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "AccountsService.DeleteAccount",
Path: []string{"/api/v0/accounts/accounts-delete"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
return s.Handle(s.NewHandler(&AccountsService{h}, opts...))
}
type accountsServiceHandler struct {
AccountsServiceHandler
}
func (h *accountsServiceHandler) ListAccounts(ctx context.Context, in *ListAccountsRequest, out *ListAccountsResponse) error {
return h.AccountsServiceHandler.ListAccounts(ctx, in, out)
}
func (h *accountsServiceHandler) GetAccount(ctx context.Context, in *GetAccountRequest, out *Account) error {
return h.AccountsServiceHandler.GetAccount(ctx, in, out)
}
func (h *accountsServiceHandler) CreateAccount(ctx context.Context, in *CreateAccountRequest, out *Account) error {
return h.AccountsServiceHandler.CreateAccount(ctx, in, out)
}
func (h *accountsServiceHandler) UpdateAccount(ctx context.Context, in *UpdateAccountRequest, out *Account) error {
return h.AccountsServiceHandler.UpdateAccount(ctx, in, out)
}
func (h *accountsServiceHandler) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, out *empty.Empty) error {
return h.AccountsServiceHandler.DeleteAccount(ctx, in, out)
}
// Api Endpoints for GroupsService service
func NewGroupsServiceEndpoints() []*api.Endpoint {
return []*api.Endpoint{
&api.Endpoint{
Name: "GroupsService.ListGroups",
Path: []string{"/api/v0/accounts/groups-list"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "GroupsService.GetGroup",
Path: []string{"/api/v0/accounts/groups-get"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "GroupsService.CreateGroup",
Path: []string{"/api/v0/accounts/groups-create"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "GroupsService.UpdateGroup",
Path: []string{"/api/v0/accounts/groups-update"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "GroupsService.DeleteGroup",
Path: []string{"/api/v0/accounts/groups-delete"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "GroupsService.AddMember",
Path: []string{"/api/v0/groups/{group_id=*}/members/$ref"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "GroupsService.RemoveMember",
Path: []string{"/api/v0/groups/{group_id=*}/members/{account_id}/$ref"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
Name: "GroupsService.ListMembers",
Path: []string{"/api/v0/groups/{id=*}/members/$ref"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
}
}
// Client API for GroupsService service
type GroupsService interface {
// Lists groups
ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...client.CallOption) (*ListGroupsResponse, error)
// Gets an groups
GetGroup(ctx context.Context, in *GetGroupRequest, opts ...client.CallOption) (*Group, error)
// Creates a group
CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...client.CallOption) (*Group, error)
// Updates a group
UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...client.CallOption) (*Group, error)
// Deletes a group
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...client.CallOption) (*empty.Empty, error)
// group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http
AddMember(ctx context.Context, in *AddMemberRequest, opts ...client.CallOption) (*Group, error)
// group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0
RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...client.CallOption) (*Group, error)
// group:listmembers https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0
ListMembers(ctx context.Context, in *ListMembersRequest, opts ...client.CallOption) (*ListMembersResponse, error)
}
type groupsService struct {
c client.Client
name string
}
func NewGroupsService(name string, c client.Client) GroupsService {
return &groupsService{
c: c,
name: name,
}
}
func (c *groupsService) ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...client.CallOption) (*ListGroupsResponse, error) {
req := c.c.NewRequest(c.name, "GroupsService.ListGroups", in)
out := new(ListGroupsResponse)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *groupsService) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...client.CallOption) (*Group, error) {
req := c.c.NewRequest(c.name, "GroupsService.GetGroup", in)
out := new(Group)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *groupsService) CreateGroup(ctx context.Context, in *CreateGroupRequest, opts ...client.CallOption) (*Group, error) {
req := c.c.NewRequest(c.name, "GroupsService.CreateGroup", in)
out := new(Group)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *groupsService) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...client.CallOption) (*Group, error) {
req := c.c.NewRequest(c.name, "GroupsService.UpdateGroup", in)
out := new(Group)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *groupsService) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...client.CallOption) (*empty.Empty, error) {
req := c.c.NewRequest(c.name, "GroupsService.DeleteGroup", in)
out := new(empty.Empty)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *groupsService) AddMember(ctx context.Context, in *AddMemberRequest, opts ...client.CallOption) (*Group, error) {
req := c.c.NewRequest(c.name, "GroupsService.AddMember", in)
out := new(Group)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *groupsService) RemoveMember(ctx context.Context, in *RemoveMemberRequest, opts ...client.CallOption) (*Group, error) {
req := c.c.NewRequest(c.name, "GroupsService.RemoveMember", in)
out := new(Group)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *groupsService) ListMembers(ctx context.Context, in *ListMembersRequest, opts ...client.CallOption) (*ListMembersResponse, error) {
req := c.c.NewRequest(c.name, "GroupsService.ListMembers", in)
out := new(ListMembersResponse)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for GroupsService service
type GroupsServiceHandler interface {
// Lists groups
ListGroups(context.Context, *ListGroupsRequest, *ListGroupsResponse) error
// Gets an groups
GetGroup(context.Context, *GetGroupRequest, *Group) error
// Creates a group
CreateGroup(context.Context, *CreateGroupRequest, *Group) error
// Updates a group
UpdateGroup(context.Context, *UpdateGroupRequest, *Group) error
// Deletes a group
DeleteGroup(context.Context, *DeleteGroupRequest, *empty.Empty) error
// group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http
AddMember(context.Context, *AddMemberRequest, *Group) error
// group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0
RemoveMember(context.Context, *RemoveMemberRequest, *Group) error
// group:listmembers https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0
ListMembers(context.Context, *ListMembersRequest, *ListMembersResponse) error
}
func RegisterGroupsServiceHandler(s server.Server, hdlr GroupsServiceHandler, opts ...server.HandlerOption) error {
type groupsService interface {
ListGroups(ctx context.Context, in *ListGroupsRequest, out *ListGroupsResponse) error
GetGroup(ctx context.Context, in *GetGroupRequest, out *Group) error
CreateGroup(ctx context.Context, in *CreateGroupRequest, out *Group) error
UpdateGroup(ctx context.Context, in *UpdateGroupRequest, out *Group) error
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, out *empty.Empty) error
AddMember(ctx context.Context, in *AddMemberRequest, out *Group) error
RemoveMember(ctx context.Context, in *RemoveMemberRequest, out *Group) error
ListMembers(ctx context.Context, in *ListMembersRequest, out *ListMembersResponse) error
}
type GroupsService struct {
groupsService
}
h := &groupsServiceHandler{hdlr}
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "GroupsService.ListGroups",
Path: []string{"/api/v0/accounts/groups-list"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "GroupsService.GetGroup",
Path: []string{"/api/v0/accounts/groups-get"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "GroupsService.CreateGroup",
Path: []string{"/api/v0/accounts/groups-create"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "GroupsService.UpdateGroup",
Path: []string{"/api/v0/accounts/groups-update"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "GroupsService.DeleteGroup",
Path: []string{"/api/v0/accounts/groups-delete"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "GroupsService.AddMember",
Path: []string{"/api/v0/groups/{group_id=*}/members/$ref"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "GroupsService.RemoveMember",
Path: []string{"/api/v0/groups/{group_id=*}/members/{account_id}/$ref"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "GroupsService.ListMembers",
Path: []string{"/api/v0/groups/{id=*}/members/$ref"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
return s.Handle(s.NewHandler(&GroupsService{h}, opts...))
}
type groupsServiceHandler struct {
GroupsServiceHandler
}
func (h *groupsServiceHandler) ListGroups(ctx context.Context, in *ListGroupsRequest, out *ListGroupsResponse) error {
return h.GroupsServiceHandler.ListGroups(ctx, in, out)
}
func (h *groupsServiceHandler) GetGroup(ctx context.Context, in *GetGroupRequest, out *Group) error {
return h.GroupsServiceHandler.GetGroup(ctx, in, out)
}
func (h *groupsServiceHandler) CreateGroup(ctx context.Context, in *CreateGroupRequest, out *Group) error {
return h.GroupsServiceHandler.CreateGroup(ctx, in, out)
}
func (h *groupsServiceHandler) UpdateGroup(ctx context.Context, in *UpdateGroupRequest, out *Group) error {
return h.GroupsServiceHandler.UpdateGroup(ctx, in, out)
}
func (h *groupsServiceHandler) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, out *empty.Empty) error {
return h.GroupsServiceHandler.DeleteGroup(ctx, in, out)
}
func (h *groupsServiceHandler) AddMember(ctx context.Context, in *AddMemberRequest, out *Group) error {
return h.GroupsServiceHandler.AddMember(ctx, in, out)
}
func (h *groupsServiceHandler) RemoveMember(ctx context.Context, in *RemoveMemberRequest, out *Group) error {
return h.GroupsServiceHandler.RemoveMember(ctx, in, out)
}
func (h *groupsServiceHandler) ListMembers(ctx context.Context, in *ListMembersRequest, out *ListMembersResponse) error {
return h.GroupsServiceHandler.ListMembers(ctx, in, out)
}
// Api Endpoints for IndexService service
func NewIndexServiceEndpoints() []*api.Endpoint {
return []*api.Endpoint{
&api.Endpoint{
Name: "IndexService.RebuildIndex",
Path: []string{"/api/v0/index/rebuild"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
}
}
// Client API for IndexService service
type IndexService interface {
RebuildIndex(ctx context.Context, in *RebuildIndexRequest, opts ...client.CallOption) (*RebuildIndexResponse, error)
}
type indexService struct {
c client.Client
name string
}
func NewIndexService(name string, c client.Client) IndexService {
return &indexService{
c: c,
name: name,
}
}
func (c *indexService) RebuildIndex(ctx context.Context, in *RebuildIndexRequest, opts ...client.CallOption) (*RebuildIndexResponse, error) {
req := c.c.NewRequest(c.name, "IndexService.RebuildIndex", in)
out := new(RebuildIndexResponse)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for IndexService service
type IndexServiceHandler interface {
RebuildIndex(context.Context, *RebuildIndexRequest, *RebuildIndexResponse) error
}
func RegisterIndexServiceHandler(s server.Server, hdlr IndexServiceHandler, opts ...server.HandlerOption) error {
type indexService interface {
RebuildIndex(ctx context.Context, in *RebuildIndexRequest, out *RebuildIndexResponse) error
}
type IndexService struct {
indexService
}
h := &indexServiceHandler{hdlr}
opts = append(opts, api.WithEndpoint(&api.Endpoint{
Name: "IndexService.RebuildIndex",
Path: []string{"/api/v0/index/rebuild"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
}))
return s.Handle(s.NewHandler(&IndexService{h}, opts...))
}
type indexServiceHandler struct {
IndexServiceHandler
}
func (h *indexServiceHandler) RebuildIndex(ctx context.Context, in *RebuildIndexRequest, out *RebuildIndexResponse) error {
return h.IndexServiceHandler.RebuildIndex(ctx, in, out)
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+697
View File
@@ -0,0 +1,697 @@
syntax = "proto3";
option go_package = "pkg/proto/v0;proto";
package accounts;
import "google/api/field_behavior.proto";
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "ownCloud Infinite Scale accounts";
version: "1.0.0";
contact: {
name: "ownCloud GmbH";
url: "https://github.com/owncloud/ocis";
email: "support@owncloud.com";
};
license: {
name: "Apache-2.0";
url: "https://github.com/owncloud/ocis/blob/master/LICENSE";
};
};
schemes: HTTP;
schemes: HTTPS;
consumes: "application/json";
produces: "application/json";
external_docs: {
description: "Developer Manual";
url: "https://owncloud.github.io/extensions/accounts/";
};
};
// Follow recommended Methods for rpc APIs https://cloud.google.com/apis/design/resources?hl=de#methods
// https://cloud.google.com/apis/design/standard_methods?hl=de#list
// https://cloud.google.com/apis/design/naming_convention?hl=de
service AccountsService {
// Lists accounts
rpc ListAccounts(ListAccountsRequest) returns (ListAccountsResponse) {
// List method maps to HTTP GET
option (google.api.http) = {
post: "/api/v0/accounts/accounts-list",
body: "*"
};
}
// Gets an account
rpc GetAccount(GetAccountRequest) returns (Account) {
option (google.api.http) = {
post: "/api/v0/accounts/accounts-get",
body: "*"
};
}
// Creates an account
rpc CreateAccount(CreateAccountRequest) returns (Account) {
// Create maps to HTTP POST. URL path as the collection name.
// HTTP request body contains the resource
option (google.api.http) = {
post: "/api/v0/accounts/accounts-create"
body: "*"
};
}
// Updates an account
rpc UpdateAccount(UpdateAccountRequest) returns (Account) {
// Update maps to HTTP PATCH. Resource name is mapped to a URL path.
// Resource is contained in the HTTP request body
option (google.api.http) = {
post: "/api/v0/accounts/accounts-update"
body: "*"
};
};
// Deletes an account
rpc DeleteAccount(DeleteAccountRequest) returns (google.protobuf.Empty) {
// Delete maps to HTTP DELETE. Resource name maps to the URL path.
// There is no request body
option (google.api.http) = {
post: "/api/v0/accounts/accounts-delete",
body: "*"
};
}
}
service GroupsService {
// Lists groups
rpc ListGroups(ListGroupsRequest) returns (ListGroupsResponse) {
// List method maps to HTTP GET
option (google.api.http) = {
post: "/api/v0/accounts/groups-list",
body: "*"
};
}
// Gets an groups
rpc GetGroup(GetGroupRequest) returns (Group) {
option (google.api.http) = {
post: "/api/v0/accounts/groups-get",
body: "*"
};
}
// Creates a group
rpc CreateGroup(CreateGroupRequest) returns (Group) {
// Create maps to HTTP POST. URL path as the collection name.
// HTTP request body contains the resource
option (google.api.http) = {
post: "/api/v0/accounts/groups-create"
body: "*"
};
}
// Updates a group
rpc UpdateGroup(UpdateGroupRequest) returns (Group) {
// Update maps to HTTP PATCH. Resource name is mapped to a URL path.
// Resource is contained in the HTTP request body
option (google.api.http) = {
post: "/api/v0/accounts/groups-update"
body: "*"
};
};
// Deletes a group
rpc DeleteGroup(DeleteGroupRequest) returns (google.protobuf.Empty) {
// Delete maps to HTTP DELETE. Resource name maps to the URL path.
// There is no request body
option (google.api.http) = {
post: "/api/v0/accounts/groups-delete",
body: "*"
};
}
// additional group methods: https://docs.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#methods
// references are accessed using $ref, see http://docs.oasis-open.org/odata/odata/v4.0/cs01/part2-url-conventions/odata-v4.0-cs01-part2-url-conventions.html#_Toc365046422
// or the stack overflow question https://stackoverflow.com/questions/49362894/why-is-the-microsoft-graph-api-using-ref-in-the-uri
// group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http
rpc AddMember(AddMemberRequest) returns (Group) {
// All request parameters go into body.
option (google.api.http) = {
post: "/api/v0/groups/{group_id=*}/members/$ref"
body: "*"
};
}
// group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0
rpc RemoveMember(RemoveMemberRequest) returns (Group) {
// All request parameters go into body.
option (google.api.http) = {
// URLs are broken
post: "/api/v0/groups/{group_id=*}/members/{account_id}/$ref"
body: "*"
};
}
// group:listmembers https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0
rpc ListMembers(ListMembersRequest) returns (ListMembersResponse) {
// All request parameters go into body.
option (google.api.http) = {
// URLs are broken
post: "/api/v0/groups/{id=*}/members/$ref"
body: "*"
};
}
}
service IndexService {
rpc RebuildIndex(RebuildIndexRequest) returns (RebuildIndexResponse) {
// All request parameters go into body.
option (google.api.http) = {
// URLs are broken
post: "/api/v0/index/rebuild"
body: "*"
};
}
}
message RebuildIndexRequest {
}
message RebuildIndexResponse {
}
message ListAccountsRequest {
// Optional. The maximum number of accounts to return in the response
int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL];
// Optional. A pagination token returned from a previous call to `Get`
// that indicates from where search should continue
string page_token = 2 [(google.api.field_behavior) = OPTIONAL];
// Optional. Used to specify a subset of fields that should be
// returned by a get operation or modified by an update operation.
google.protobuf.FieldMask field_mask = 3;
// Optional. Search criteria used to select the accounts to return.
// If no search criteria is specified then all accounts will be
// returned
//
// TODO update query language
// Query expressions can be used to restrict results based upon
// the account properties where the operators `=`, `NOT`, `AND` and `OR`
// can be used along with the suffix wildcard symbol `*`.
//
// The string properties in a query expression should use escaped quotes
// for values that include whitespace to prevent unexpected behavior.
//
// Some example queries are:
//
// * Query `display_name=Th*` returns accounts whose display_name
// starts with "Th"
// * Query `email=foo@example.com` returns accounts with
// `email` set to `foo@example.com`
// * Query `display_name=\\"Test String\\"` returns accounts with
// display names that include both "Test" and "String"
string query = 4 [(google.api.field_behavior) = OPTIONAL];
}
message ListAccountsResponse {
// The field name should match the noun "accounts" in the method name. There
// will be a maximum number of items returned based on the page_size field
// in the request
repeated Account accounts = 1;
// Token to retrieve the next page of results, or empty if there are no
// more results in the list
string next_page_token = 2;
}
message GetAccountRequest {
string id = 1;
}
message CreateAccountRequest {
// The account resource to create
Account account = 1;
}
message UpdateAccountRequest {
// The account resource which replaces the resource on the server
Account account = 1;
// The update mask applies to the resource. For the `FieldMask` definition,
// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
google.protobuf.FieldMask update_mask = 2;
}
message DeleteAccountRequest {
string id = 1;
}
// Account follows the properties of the ms graph api user resuorce.
// See https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties
message Account {
// Note that field numbers in the range 1 through 15 take one byte to encode, including the field number and the field's type
// The unique identifier for the user. Key. Not nullable. Non reassignable. Read-only.
string id = 1;
// *true* if the account is enabled; otherwise, *false*. This property is required when a user is created. Supports $filter.
bool account_enabled = 2;
// A resource account is also known as a /disabled user object/ in Azure AD, and can be used to represent resources in general.
// In Exchange it might be used to represent conference rooms, for example, and allow them to have a phone number.
// You could give printers or machines with a sync client resource accounts as well.
// A resource account can be homed in Microsoft 365 or on premises using Skype for Business Server 2019.
// *true* if the user is a resource account; otherwise, *false*. Null value should be considered false.
bool is_resource_account = 3;
// Indicates whether the account was created as
// - a regular school or work account ("" / emptystring),
// - a local account, fully managed by oCIS (LocalAccount), includes synced accounts or
// - an external account (Invitation),
// - self-service sign-up using email verification (EmailVerified). Read-only.
string creation_type = 4;
// Represents the identities that can be used to sign in to this account.
// An identity can be provided by oCIS (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and is tied to an account.
// May contain multiple items with the same signInType value. Supports $filter.
repeated Identities identities = 5;
// posixaccount properties
// The name displayed in the address book for the account.
// This is usually the combination of the user's first name, middle initial and last name.
// This property is required when a user is created and it cannot be cleared during updates.
// Supports $filter and $orderby.
// posixaccount MUST cn
string display_name = 6;
// The username
// posixaccount MUST uid
string preferred_name = 7;
// TODO rename to on_premise_? or move to extension? see https://docs.microsoft.com/en-us/graph/extensibility-open-users
// used for exposing the user using ldap
// posixaccount MUST uidnumber
int64 uid_number = 8;
// used for exposing the user using ldap
// posixaccount MUST gidnumber
int64 gid_number = 9;
// posixaccount MUST homedirectory
// constructed dynamically in glauth
// posixaccount MAY loginshell
// posixaccount MAY gecos
// For the GECOS field:
// - User's full name (or application name, if the account is for a program) -> displayname (description)
// - Building and room number or contact person -> -
// - Office telephone number -> -
// - Any other contact information (pager number, fax, etc.) -> mail
// eg "Albert Einstein (Beware! I'm doing science!),,,einstein@example.com" as the gecos
// The SMTP address for the user, for example, "jeff@contoso.onmicrosoft.com". Read-Only. Supports $filter.
// inetorgperson MAY mail
string mail = 10;
// A description, useful for resource accounts
// posixaccount MAY description
string description = 11;
// Specifies the password profile for the user.
// The profile contains the user’s password. This property is required when a user is created.
// The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property.
// By default, a strong password is required.
// posixaccount MAY authPassword
PasswordProfile password_profile = 12;
// The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable.
// should we only respond with repeated strings of ids? no clients should a proper filter mask!
repeated Group memberOf = 13;
// Field numbers in the range 16 through 2047 take two bytes. So you should reserve the field numbers 1 through 15 for very frequently occurring message elements. Remember to leave some room for frequently occurring elements that might be added in the future.
// The created date of the account object.
google.protobuf.Timestamp created_date_time = 16;
// The date and time the user was deleted. Returned only on $select.
google.protobuf.Timestamp deleted_date_time = 17;
// properties for sync
// *true* if this object is synced from an on-premises directory;
// *false* if this object was originally synced from an on-premises directory but is no longer synced;
// null if this object has never been synced from an on-premises directory (default). Read-only
bool on_premises_sync_enabled = 20;
// This property is used to associate an on-premises LDAP user to the oCIS account object.
// This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
// Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
string on_premises_immutable_id = 21;
// Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only.
string on_premises_security_identifier = 22;
// Contains the on-premises LDAP `distinguished name` or `DN`.
// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
string on_premises_distinguished_name = 23;
// Contains the on-premises `samAccountName` synchronized from the on-premises directory.
// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
string on_premises_sam_account_name = 24;
// Contains the on-premises `domainFQDN`, also called `dnsDomainName` synchronized from the on-premises directory
// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
string on_premises_domain_name = 25;
// Contains the on-premises userPrincipalName synchronized from the on-premises directory.
// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
string on_premises_user_principal_name = 26;
// Contains extensionAttributes 1-15 for the user. Note that the individual extension attributes are neither selectable nor filterable.
// For an onPremisesSyncEnabled user, this set of properties is mastered on-premises and is read-only.
// For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set during creation or update.
//onPremisesExtensionAttributes onPremisesExtensionAttributes = 27
// Indicates the last time at which the object was synced with the on-premises directory; Read-only.
google.protobuf.Timestamp on_premises_last_sync_date_time = 28;
// Errors when using synchronization during provisioning.
repeated OnPremisesProvisioningError on_premises_provisioning_errors = 29;
// TODO do we need to sync uidnumber and gidnumber from the external ldap? we may assign different numbers so eos has a non colliding namespace.
// we can sync them to the (uid|gid)_number fileds but what if they changed in the external ldap and now collide?
// move those properties to a posixaccount message so we can exchange that part with an external (readonly or writeable) ldap server?
// For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status.
// For invited users, the state can be `PendingAcceptance` or `Accepted`, or "" / emptystring for all other users.
// Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'.
string external_user_state = 40;
// Shows the timestamp for the latest change to the externalUserState property. Returned only on $select.
google.protobuf.Timestamp external_user_state_change_date_time = 41;
// Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get
// an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph).
// If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint.
// Returned only on $select. Read-only. Use invalidateAllRefreshTokens to reset.
google.protobuf.Timestamp refresh_tokens_valid_from_date_time = 60;
// Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get
// an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph).
// If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint.
// Read-only. Use revokeSignInSessions to reset.
google.protobuf.Timestamp sign_in_sessions_valid_from_date_time = 61;
}
// Identities Represents an identity used to sign in to a user account.
// An identity can be provided by oCIS, by organizations, or by social identity providers such as Facebook, Google, or Microsoft, that are tied to a user account.
// This enables the user to sign in to the user account with any of those associated identities.
// They are also used to keep a history of old usernames.
message Identities {
// Specifies the user sign-in types in your directory, such as `emailAddress`, `userName` or `federated`.
// Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer.
// Additional validation is enforced on *issuer_assigned_id* when the sign-in type is set to `emailAddress` or `userName`.
// This property can also be set to any custom string.
string sign_in_type = 1;
// Specifies the issuer of the identity, for example facebook.com.
// For local accounts (where signInType is not federated), this property is
// the local B2C tenant default domain name, for example contoso.onmicrosoft.com.
// For external users from other Azure AD organization, this will be the domain of
// the federated organization, for example contoso.com.
// Supports $filter. 512 character limit.
string issuer = 2;
// Specifies the unique identifier assigned to the user by the issuer. The combination of *issuer* and *issuerAssignedId* must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).
// When *signInType* is set to:
// * `emailAddress`, (or starts with `emailAddress` like `emailAddress1`) *issuerAssignedId* must be a valid email address
// * `userName`, issuer_assigned_id must be a valid local part of an email address
// Supports $filter. 512 character limit.
string issuer_assigned_id = 3;
}
message PasswordProfile {
// The password for the user. This property is required when a user is created.
// It can be updated, but the user will be required to change the password on the next login.
// The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required.
string password = 1;
// The time when this account last changed their password.
google.protobuf.Timestamp last_password_change_date_time = 2;
// Specifies password policies for the user.
//This value is an enumeration with one possible value being “DisableStrongPassword”, which allows weaker passwords than the default policy to be specified.
// “DisablePasswordExpiration” can also be specified.
repeated string password_policies = 3;
// *true* if the user must change her password on the next login; otherwise false.
bool force_change_password_next_sign_in = 4;
// If *true*, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.
bool force_change_password_next_sign_in_with_mfa = 5;
}
message ListGroupsRequest {
// Optional. The maximum number of groups to return in the response
int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL];
// Optional. A pagination token returned from a previous call to `Get`
// that indicates from where search should continue
string page_token = 2 [(google.api.field_behavior) = OPTIONAL];
// Optional. Used to specify a subset of fields that should be
// returned by a get operation or modified by an update operation.
google.protobuf.FieldMask field_mask = 3;
// Optional. Search criteria used to select the groups to return.
// If no search criteria is specified then all groups will be
// returned
//
// TODO update query language
// Query expressions can be used to restrict results based upon
// the account properties where the operators `=`, `NOT`, `AND` and `OR`
// can be used along with the suffix wildcard symbol `*`.
//
// The string properties in a query expression should use escaped quotes
// for values that include whitespace to prevent unexpected behavior.
//
// Some example queries are:
//
// * Query `display_name=Th*` returns accounts whose display_name
// starts with "Th"
// * Query `display_name=\\"Test String\\"` returns groups with
// display names that include both "Test" and "String"
string query = 4 [(google.api.field_behavior) = OPTIONAL];
}
message ListGroupsResponse {
// The field name should match the noun "group" in the method name. There
// will be a maximum number of items returned based on the page_size field
// in the request
repeated Group groups = 1;
// Token to retrieve the next page of results, or empty if there are no
// more results in the list
string next_page_token = 2;
}
message GetGroupRequest {
string id = 1;
}
message CreateGroupRequest {
// The account resource to create
Group group = 1;
}
message UpdateGroupRequest {
// The group resource which replaces the resource on the server
Group group = 1;
// The update mask applies to the resource. For the `FieldMask` definition,
// see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
google.protobuf.FieldMask update_mask = 2;
}
message DeleteGroupRequest {
string id = 1;
}
message AddMemberRequest {
// The id of the group to add a member to
string group_id = 1;
// The account id to add
string account_id = 2;
}
message RemoveMemberRequest {
// The id of the group to remove a member from
string group_id = 1;
// The account id to remove
string account_id = 2;
}
message ListMembersRequest {
int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL];
// Optional. A pagination token returned from a previous call to `Get`
// that indicates from where search should continue
string page_token = 2 [(google.api.field_behavior) = OPTIONAL];
// Optional. Used to specify a subset of fields that should be
// returned by a get operation or modified by an update operation.
google.protobuf.FieldMask field_mask = 3;
// Optional. Search criteria used to select the groups to return.
// If no search criteria is specified then all groups will be
// returned
//
// TODO update query language
// Query expressions can be used to restrict results based upon
// the account properties where the operators `=`, `NOT`, `AND` and `OR`
// can be used along with the suffix wildcard symbol `*`.
//
// The string properties in a query expression should use escaped quotes
// for values that include whitespace to prevent unexpected behavior.
//
// Some example queries are:
//
// * Query `display_name=Th*` returns accounts whose display_name
// starts with "Th"
// * Query `display_name=\\"Test String\\"` returns groups with
// display names that include both "Test" and "String"
string query = 4 [(google.api.field_behavior) = OPTIONAL];
// The id of the group to list members from
string id = 5;
}
message ListMembersResponse {
// The field name should match the noun "members" in the method name. There
// will be a maximum number of items returned based on the page_size field
// in the request
repeated Account members = 1;
// Token to retrieve the next page of results, or empty if there are no
// more results in the list
string next_page_token = 2;
}
message Group {
// The unique identifier for the group.
// Returned by default. Inherited from directoryObject. Key. Not nullable. Read-only.
string id = 1;
// groupofnames
// The display name for the group. This property is required when a group is created and cannot be cleared during updates.
// Returned by default. Supports $filter and $orderby.
// groupofnames MUST cn
string display_name = 2;
// groupofnames MUST/MAY member
// Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable.
// TODO accounts (users) only for now, we can add groups with the dedicated message using oneof construct later
repeated Account members = 3;
// groupofnames MAY businessCategory
// groupofnames MAY o
// groupofnames MAY ou
// groupofnames MAY owner, SINGLE-VALUE but there might be multiple owners
repeated Account owners = 4;
// An optional description for the group. Returned by default.
// groupofnames MAY description
string description = 5;
// groupofnames MAY seeAlso
// posixgroup
// used for exposing the user using ldap
// posixgroup MUST gidnumber
int64 gid_number = 6;
// posixgroup MAY authPassword
// posixgroup MAY userPassword
// posixgroup MAY memberUid -> groupofnames member
// posixgroup MAY description -> groupofnames
// Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created
// Returned by default. Read-only.
google.protobuf.Timestamp created_date_time = 7;
// For some Azure Active Directory objects (user, group, application), if the object is deleted, it is first logically deleted, and this property is updated with the date and time when the object was deleted. Otherwise this property is null. If the object is restored, this property is updated to null.
// Returned by default. Read-only.
google.protobuf.Timestamp deleted_date_time = 8;
// Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created.
// Returned by default. Read-only.
google.protobuf.Timestamp expiration_date_time = 9;
// True if the group is not displayed in certain parts of the Outlook user interface:
// in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. Default value is false.
// Returned only on $select.
bool hide_from_address_lists = 10;
// Specifies the visibility of an Office 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.
// Visibility can be set only when a group is created; it is not editable.
// Returned by default.
string visibility = 11;
// Field numbers in the range 16 through 2047 take two bytes. So you should reserve the field numbers 1 through 15 for very frequently occurring message elements. Remember to leave some room for frequently occurring elements that might be added in the future.
// properties for sync
// *true* if this group is synced from an on-premises directory;
// *false* if this group was originally synced from an on-premises directory but is no longer synced;
// null if this object has never been synced from an on-premises directory (default).
// Returned by default. Read-only. Supports $filter.
bool on_premises_sync_enabled = 20;
// This property is used to associate an on-premises LDAP user to the oCIS account object.
// This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
// Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
string on_premises_immutable_id = 21;
// Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Read-only.
string on_premises_security_identifier = 22;
// Contains the on-premises LDAP `distinguished name` or `DN`.
// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Read-only.
string on_premises_distinguished_name = 23;
// Contains the on-premises `samAccountName` synchronized from the on-premises directory.
// The property is only populated for customers who are synchronizing their on-premises directory to ocis-accounts. Returned by default. Read-only.
string on_premises_sam_account_name = 24;
// Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.
// Returned by default. Read-only.
string on_premises_domain_name = 25;
// Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.
// Returned by default. Read-only.
string on_premises_net_bios_name = 26;
// Indicates the last time at which the group was synced with the on-premises directory.
// Returned by default. Read-only. Supports $filter.
string on_premises_last_sync_date_time = 27;
// Errors when using synchronization during provisioning.
repeated OnPremisesProvisioningError on_premises_provisioning_errors = 28;
}
message OnPremisesProvisioningError {
// Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property.
string category = 1;
// The date and time at which the error occurred.
google.protobuf.Timestamp occurred_date_time = 2;
// Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress
string property_causing_error = 3;
// Value of the property causing the error.
string value = 4;
}
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
checks = ["all", "-ST1003", "-ST1000", "-SA1019"]
+85
View File
@@ -0,0 +1,85 @@
package grpc
import (
"context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/metrics"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"github.com/owncloud/ocis/ocis-pkg/log"
)
// Option defines a single option function.
type Option func(o *Options)
// Options defines the available options for this package.
type Options struct {
Name string
Logger log.Logger
Context context.Context
Config *config.Config
Metrics *metrics.Metrics
Flags []cli.Flag
Handler *svc.Service
}
// newOptions initializes the available default options.
func newOptions(opts ...Option) Options {
opt := Options{}
for _, o := range opts {
o(&opt)
}
return opt
}
// Name provides a name for the service.
func Name(val string) Option {
return func(o *Options) {
o.Name = val
}
}
// Logger provides a function to set the logger option.
func Logger(val log.Logger) Option {
return func(o *Options) {
o.Logger = val
}
}
// Context provides a function to set the context option.
func Context(val context.Context) Option {
return func(o *Options) {
o.Context = val
}
}
// Config provides a function to set the config option.
func Config(val *config.Config) Option {
return func(o *Options) {
o.Config = val
}
}
// Metrics provides a function to set the metrics option.
func Metrics(val *metrics.Metrics) Option {
return func(o *Options) {
o.Metrics = val
}
}
// Flags provides a function to set the flags option.
func Flags(val []cli.Flag) Option {
return func(o *Options) {
o.Flags = append(o.Flags, val...)
}
}
// Handler provides a function to set the handler option.
func Handler(val *svc.Service) Option {
return func(o *Options) {
o.Handler = val
}
}
+35
View File
@@ -0,0 +1,35 @@
package grpc
import (
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/ocis-pkg/service/grpc"
)
// Server initializes a new go-micro service ready to run
func Server(opts ...Option) grpc.Service {
options := newOptions(opts...)
handler := options.Handler
service := grpc.NewService(
grpc.Name(options.Config.Server.Name),
grpc.Context(options.Context),
grpc.Address(options.Config.GRPC.Addr),
grpc.Namespace(options.Config.GRPC.Namespace),
grpc.Logger(options.Logger),
grpc.Flags(options.Flags...),
grpc.Version(options.Config.Server.Version),
)
if err := proto.RegisterAccountsServiceHandler(service.Server(), handler); err != nil {
options.Logger.Fatal().Err(err).Msg("could not register service handler")
}
if err := proto.RegisterGroupsServiceHandler(service.Server(), handler); err != nil {
options.Logger.Fatal().Err(err).Msg("could not register groups handler")
}
if err := proto.RegisterIndexServiceHandler(service.Server(), handler); err != nil {
options.Logger.Fatal().Err(err).Msg("could not register index handler")
}
service.Init()
return service
}
+85
View File
@@ -0,0 +1,85 @@
package http
import (
"context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/metrics"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"github.com/owncloud/ocis/ocis-pkg/log"
)
// Option defines a single option function.
type Option func(o *Options)
// Options defines the available options for this package.
type Options struct {
Name string
Logger log.Logger
Context context.Context
Config *config.Config
Metrics *metrics.Metrics
Flags []cli.Flag
Handler *svc.Service
}
// newOptions initializes the available default options.
func newOptions(opts ...Option) Options {
opt := Options{}
for _, o := range opts {
o(&opt)
}
return opt
}
// Name provides a name for the service.
func Name(val string) Option {
return func(o *Options) {
o.Name = val
}
}
// Logger provides a function to set the logger option.
func Logger(val log.Logger) Option {
return func(o *Options) {
o.Logger = val
}
}
// Context provides a function to set the context option.
func Context(val context.Context) Option {
return func(o *Options) {
o.Context = val
}
}
// Config provides a function to set the config option.
func Config(val *config.Config) Option {
return func(o *Options) {
o.Config = val
}
}
// Metrics provides a function to set the metrics option.
func Metrics(val *metrics.Metrics) Option {
return func(o *Options) {
o.Metrics = val
}
}
// Flags provides a function to set the flags option.
func Flags(val []cli.Flag) Option {
return func(o *Options) {
o.Flags = append(o.Flags, val...)
}
}
// Handler provides a function to set the handler option.
func Handler(val *svc.Service) Option {
return func(o *Options) {
o.Handler = val
}
}
+71
View File
@@ -0,0 +1,71 @@
package http
import (
"github.com/asim/go-micro/v3"
"github.com/go-chi/chi"
"github.com/owncloud/ocis/accounts/pkg/assets"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/accounts/pkg/version"
"github.com/owncloud/ocis/ocis-pkg/account"
"github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/service/http"
)
// Server initializes the http service and server.
func Server(opts ...Option) http.Service {
options := newOptions(opts...)
handler := options.Handler
service := http.NewService(
http.Logger(options.Logger),
http.Name(options.Name),
http.Version(options.Config.Server.Version),
http.Address(options.Config.HTTP.Addr),
http.Namespace(options.Config.HTTP.Namespace),
http.Context(options.Context),
http.Flags(options.Flags...),
)
mux := chi.NewMux()
mux.Use(middleware.RealIP)
mux.Use(middleware.RequestID)
mux.Use(middleware.NoCache)
mux.Use(middleware.Cors)
mux.Use(middleware.Secure)
mux.Use(middleware.ExtractAccountUUID(
account.Logger(options.Logger),
account.JWTSecret(options.Config.TokenManager.JWTSecret)),
)
mux.Use(middleware.Version(
options.Name,
version.String,
))
mux.Use(middleware.Logger(
options.Logger,
))
mux.Use(middleware.Static(
options.Config.HTTP.Root,
assets.New(
assets.Logger(options.Logger),
assets.Config(options.Config),
),
options.Config.HTTP.CacheTTL,
))
mux.Route(options.Config.HTTP.Root, func(r chi.Router) {
proto.RegisterAccountsServiceWeb(r, handler)
proto.RegisterGroupsServiceWeb(r, handler)
})
err := micro.RegisterHandler(service.Server(), mux)
if err != nil {
options.Logger.Fatal().Err(err).Msg("failed to register the handler")
}
service.Init()
return service
}
+847
View File
@@ -0,0 +1,847 @@
package service
import (
"bytes"
"context"
"crypto/sha256"
"encoding/hex"
"fmt"
"io"
"path"
"regexp"
"strconv"
"time"
"github.com/owncloud/ocis/ocis-pkg/sync"
"golang.org/x/crypto/bcrypt"
"github.com/owncloud/ocis/ocis-pkg/log"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/asim/go-micro/v3/metadata"
"github.com/gofrs/uuid"
"github.com/golang/protobuf/ptypes/empty"
fieldmask_utils "github.com/mennanov/fieldmask-utils"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/accounts/pkg/storage"
"github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/roles"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
settings_svc "github.com/owncloud/ocis/settings/pkg/service/v0"
"github.com/rs/zerolog"
"google.golang.org/genproto/protobuf/field_mask"
p "google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/timestamppb"
)
// passwordValidCache caches basic auth password validations
var passwordValidCache = sync.NewCache(1024)
// passwordValidCacheExpiration defines the entry lifetime
const passwordValidCacheExpiration = 10 * time.Minute
// an auth request is currently hardcoded and has to match this regex
// login eq \"teddy\" and password eq \"F&1!b90t111!\"
var authQuery = regexp.MustCompile(`^login eq '(.*)' and password eq '(.*)'$`) // TODO how is ' escaped in the password?
func (s Service) expandMemberOf(a *proto.Account) {
if a == nil {
return
}
expanded := []*proto.Group{}
for i := range a.MemberOf {
g := &proto.Group{}
// TODO resolve by name, when a create or update is issued they may not have an id? fall back to searching the group id in the index?
if err := s.repo.LoadGroup(context.Background(), a.MemberOf[i].Id, g); err == nil {
g.Members = nil // always hide members when expanding
expanded = append(expanded, g)
} else {
// log errors but continue execution for now
s.log.Error().Err(err).Str("id", a.MemberOf[i].Id).Msg("could not load group")
}
}
a.MemberOf = expanded
}
func (s Service) hasAccountManagementPermissions(ctx context.Context) bool {
// get roles from context
roleIDs, ok := roles.ReadRoleIDsFromContext(ctx)
if !ok {
/**
* FIXME: with this we are skipping permission checks on all requests that are coming in without roleIDs in the
* metadata context. This is a huge security impairment, as that's the case not only for grpc requests but also
* for unauthenticated http requests and http requests coming in without hitting the ocis-proxy first.
*/
// TODO add system role for internal requests.
// - at least the proxy needs to look up account info
// - glauth needs to make bind requests
// tracked as OCIS-454
return true
}
// check if permission is present in roles of the authenticated account
return s.RoleManager.FindPermissionByID(ctx, roleIDs, AccountManagementPermissionID) != nil
}
func (s Service) hasSelfManagementPermissions(ctx context.Context) bool {
// get roles from context
roleIDs, ok := roles.ReadRoleIDsFromContext(ctx)
if !ok {
return false
}
// check if permission is present in roles of the authenticated account
return s.RoleManager.FindPermissionByID(ctx, roleIDs, SelfManagementPermissionID) != nil
}
// serviceUserToIndex temporarily adds a service user to the index, which is supposed to be removed before the lock on the handler function is released
func (s Service) serviceUserToIndex() (teardownServiceUser func()) {
if s.Config.ServiceUser.Username != "" && s.Config.ServiceUser.UUID != "" {
_, err := s.index.Add(s.getInMemoryServiceUser())
if err != nil {
s.log.Logger.Err(err).Msg("service user was configured but failed to be added to the index")
} else {
return func() {
_ = s.index.Delete(s.getInMemoryServiceUser())
}
}
}
return func() {}
}
func (s Service) getInMemoryServiceUser() proto.Account {
return proto.Account{
AccountEnabled: true,
Id: s.Config.ServiceUser.UUID,
PreferredName: s.Config.ServiceUser.Username,
OnPremisesSamAccountName: s.Config.ServiceUser.Username,
DisplayName: s.Config.ServiceUser.Username,
UidNumber: s.Config.ServiceUser.UID,
GidNumber: s.Config.ServiceUser.GID,
}
}
// ListAccounts implements the AccountsServiceHandler interface
// the query contains account properties
func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest, out *proto.ListAccountsResponse) (err error) {
hasSelf := s.hasSelfManagementPermissions(ctx)
hasManagement := s.hasAccountManagementPermissions(ctx)
if !hasSelf && !hasManagement {
return merrors.Forbidden(s.id, "no permission for ListAccounts")
}
onlySelf := hasSelf && !hasManagement
teardownServiceUser := s.serviceUserToIndex()
defer teardownServiceUser()
match, authRequest := getAuthQueryMatch(in.Query)
if authRequest {
password := match[2]
if len(password) == 0 {
return merrors.Unauthorized(s.id, "account not found or invalid credentials")
}
ids, err := s.index.FindBy(&proto.Account{}, "OnPremisesSamAccountName", match[1])
if err != nil || len(ids) > 1 {
return merrors.Unauthorized(s.id, "account not found or invalid credentials")
}
if len(ids) == 0 {
ids, err = s.index.FindBy(&proto.Account{}, "Mail", match[1])
if err != nil || len(ids) != 1 {
return merrors.Unauthorized(s.id, "account not found or invalid credentials")
}
}
a := &proto.Account{}
err = s.repo.LoadAccount(ctx, ids[0], a)
if err != nil || a.PasswordProfile == nil || len(a.PasswordProfile.Password) == 0 {
return merrors.Unauthorized(s.id, "account not found or invalid credentials")
}
// isPasswordValid uses bcrypt.CompareHashAndPassword which is slow by design.
// if every request that matches authQuery regex needs to do this step over and over again,
// this is secure but also slow. In this implementation we keep it same secure but increase the speed.
//
// flow:
// - request comes in
// - it creates a sha256 based on found account PasswordProfile.LastPasswordChangeDateTime and requested password (v)
// - it checks if the cache already contains an entry that matches found account Id // account PasswordProfile.LastPasswordChangeDateTime (k)
// - if no entry exists it runs the bcrypt.CompareHashAndPassword as before and if everything is ok it stores the
// result by the (k) as key and (v) as value. If not it errors
// - if a entry is found it checks if the given value matches (v). If it doesnt match, the cache entry gets removed
// and it errors.
{
var suspicious bool
kh := sha256.New()
mustWrite(kh, []byte(a.Id))
k := hex.EncodeToString(kh.Sum([]byte(a.PasswordProfile.LastPasswordChangeDateTime.String())))
vh := sha256.New()
mustWrite(vh, []byte(a.PasswordProfile.Password))
v := vh.Sum([]byte(password))
e := passwordValidCache.Load(k)
if e == nil {
suspicious = !isPasswordValid(s.log, a.PasswordProfile.Password, password)
} else if !bytes.Equal(e.V.([]byte), v) {
suspicious = true
}
if suspicious {
passwordValidCache.Delete(k)
return merrors.Unauthorized(s.id, "account not found or invalid credentials")
}
if e == nil {
passwordValidCache.Store(k, v, time.Now().Add(passwordValidCacheExpiration))
}
}
a.PasswordProfile.Password = ""
out.Accounts = []*proto.Account{a}
return nil
}
if onlySelf {
// limit list to own account id
if aid, ok := metadata.Get(ctx, middleware.AccountID); ok {
in.Query = "id eq '" + aid + "'"
} else {
return merrors.InternalServerError(s.id, "account id not in context")
}
}
if in.Query == "" {
err = s.repo.LoadAccounts(ctx, &out.Accounts)
if err != nil {
s.log.Err(err).Msg("failed to load all accounts from storage")
return merrors.InternalServerError(s.id, "failed to load all accounts")
}
for i := range out.Accounts {
a := out.Accounts[i]
// TODO add groups only if requested
// if in.FieldMask ...
s.expandMemberOf(a)
if a.PasswordProfile != nil {
a.PasswordProfile.Password = ""
}
}
return nil
}
searchResults, err := s.findAccountsByQuery(ctx, in.Query)
out.Accounts = make([]*proto.Account, 0, len(searchResults))
for _, hit := range searchResults {
a := &proto.Account{}
if hit == s.Config.ServiceUser.UUID {
acc := s.getInMemoryServiceUser()
a = &acc
} else if err = s.repo.LoadAccount(ctx, hit, a); err != nil {
s.log.Error().Err(err).Str("account", hit).Msg("could not load account, skipping")
continue
}
s.debugLogAccount(a).Msg("found account")
// TODO add groups if requested
// if in.FieldMask ...
s.expandMemberOf(a)
// remove password before returning
if a.PasswordProfile != nil {
a.PasswordProfile.Password = ""
}
out.Accounts = append(out.Accounts, a)
}
return
}
func (s Service) findAccountsByQuery(ctx context.Context, query string) ([]string, error) {
return s.index.Query(&proto.Account{}, query)
}
// GetAccount implements the AccountsServiceHandler interface
func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, out *proto.Account) (err error) {
hasSelf := s.hasSelfManagementPermissions(ctx)
hasManagement := s.hasAccountManagementPermissions(ctx)
if !hasSelf && !hasManagement {
return merrors.Forbidden(s.id, "no permission for GetAccount")
}
onlySelf := hasSelf && !hasManagement
var id string
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
}
if onlySelf {
// limit get to own account id
if aid, ok := metadata.Get(ctx, middleware.AccountID); ok {
if id != aid {
return merrors.Forbidden(s.id, "no permission for GetAccount of another user")
}
} else {
return merrors.InternalServerError(s.id, "account id not in context")
}
}
if err = s.repo.LoadAccount(ctx, id, out); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "account not found: %v", err.Error())
}
s.log.Error().Err(err).Str("id", id).Msg("could not load account")
return merrors.InternalServerError(s.id, "could not load account: %v", err.Error())
}
s.debugLogAccount(out).Msg("found account")
// TODO add groups if requested
// if in.FieldMask ...
s.expandMemberOf(out)
// remove password
if out.PasswordProfile != nil {
out.PasswordProfile.Password = ""
}
return
}
// CreateAccount implements the AccountsServiceHandler interface
func (s Service) CreateAccount(ctx context.Context, in *proto.CreateAccountRequest, out *proto.Account) (err error) {
if !s.hasAccountManagementPermissions(ctx) {
return merrors.Forbidden(s.id, "no permission for CreateAccount")
}
var id string
if in.Account == nil {
return merrors.InternalServerError(s.id, "invalid account: empty")
}
p.Merge(out, in.Account)
if out.Id == "" {
out.Id = uuid.Must(uuid.NewV4()).String()
}
if err = validateAccount(s.id, out); err != nil {
return err
}
if id, err = cleanupID(out.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
}
exists, err := s.accountExists(ctx, out.PreferredName, out.Mail, out.Id)
if err != nil {
return merrors.InternalServerError(s.id, "could not check if account exists: %v", err.Error())
}
if exists {
return merrors.Conflict(s.id, "account already exists")
}
if out.PasswordProfile != nil {
if out.PasswordProfile.Password != "" {
// encrypt password
hashed, err := bcrypt.GenerateFromPassword([]byte(in.Account.PasswordProfile.Password), s.Config.Server.HashDifficulty)
if err != nil {
s.log.Error().Err(err).Str("id", id).Msg("could not hash password")
return merrors.InternalServerError(s.id, "could not hash password: %v", err.Error())
}
out.PasswordProfile.Password = string(hashed)
in.Account.PasswordProfile.Password = ""
}
if err := passwordPoliciesValid(out.PasswordProfile.PasswordPolicies); err != nil {
return merrors.BadRequest(s.id, "%s", err)
}
}
// extract group id
// TODO groups should be ignored during create, use groups.AddMember? return error?
// write and index account - note: don't do anything else in between!
if err = s.repo.WriteAccount(ctx, out); err != nil {
s.log.Error().Err(err).Str("id", id).Msg("could not persist new account")
s.debugLogAccount(out).Msg("could not persist new account")
return merrors.InternalServerError(s.id, "could not persist new account: %v", err.Error())
}
indexResults, err := s.index.Add(out)
if err != nil {
s.rollbackCreateAccount(ctx, out)
return merrors.Conflict(s.id, "Account already exists %v", err.Error())
}
s.log.Debug().Interface("account", out).Msg("account after indexing")
for _, r := range indexResults {
if r.Field == "UidNumber" {
id, err := strconv.Atoi(path.Base(r.Value))
if err != nil {
s.rollbackCreateAccount(ctx, out)
return err
}
out.UidNumber = int64(id)
break
}
}
if out.GidNumber == 0 {
out.GidNumber = userDefaultGID
}
r := proto.ListGroupsResponse{}
err = s.ListGroups(ctx, &proto.ListGroupsRequest{}, &r)
if err != nil {
// rollback account creation
return err
}
for _, group := range r.Groups {
if group.GidNumber == out.GidNumber {
out.MemberOf = append(out.MemberOf, group)
}
}
//acc.MemberOf = append(acc.MemberOf, &group)
if err := s.repo.WriteAccount(context.Background(), out); err != nil {
return err
}
if out.PasswordProfile != nil {
out.PasswordProfile.Password = ""
}
// TODO: assign user role to all new users for now, as create Account request does not have any role field
if s.RoleService == nil {
return merrors.InternalServerError(s.id, "could not assign role to account: roleService not configured")
}
if _, err = s.RoleService.AssignRoleToUser(ctx, &settings.AssignRoleToUserRequest{
AccountUuid: out.Id,
RoleId: settings_svc.BundleUUIDRoleUser,
}); err != nil {
return merrors.InternalServerError(s.id, "could not assign role to account: %v", err.Error())
}
return
}
// rollbackCreateAccount tries to rollback changes made by `CreateAccount` if parts of it failed.
func (s Service) rollbackCreateAccount(ctx context.Context, acc *proto.Account) {
err := s.index.Delete(acc)
if err != nil {
s.log.Err(err).Msg("failed to rollback account from indices")
}
err = s.repo.DeleteAccount(ctx, acc.Id)
if err != nil {
s.log.Err(err).Msg("failed to rollback account from repo")
}
}
// UpdateAccount implements the AccountsServiceHandler interface
// read only fields are ignored
// TODO how can we unset specific values? using the update mask
func (s Service) UpdateAccount(ctx context.Context, in *proto.UpdateAccountRequest, out *proto.Account) (err error) {
hasSelf := s.hasSelfManagementPermissions(ctx)
hasManagement := s.hasAccountManagementPermissions(ctx)
if !hasSelf && !hasManagement {
return merrors.Forbidden(s.id, "no permission for UpdateAccount")
}
onlySelf := hasSelf && !hasManagement
var id string
if in.Account == nil {
return merrors.BadRequest(s.id, "account missing")
}
if in.Account.Id == "" {
return merrors.BadRequest(s.id, "account id missing")
}
if id, err = cleanupID(in.Account.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
}
if onlySelf {
// limit update to own account id
if aid, ok := metadata.Get(ctx, middleware.AccountID); ok {
if id != aid {
return merrors.Forbidden(s.id, "no permission to UpdateAccount of another user")
}
} else {
return merrors.InternalServerError(s.id, "account id not in context")
}
}
if err = s.repo.LoadAccount(ctx, id, out); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "account not found: %v", err.Error())
}
s.log.Error().Err(err).Str("id", id).Msg("could not load account")
return merrors.InternalServerError(s.id, "could not load account: %v", err.Error())
}
t := time.Now()
tsnow := &timestamppb.Timestamp{
Seconds: t.Unix(),
Nanos: int32(t.Nanosecond()),
}
var validMask fieldmask_utils.FieldFilterContainer
if onlySelf {
if validMask, err = validateUpdate(in.UpdateMask, selfUpdatableAccountPaths); err != nil {
return merrors.BadRequest(s.id, "%s", err)
}
} else {
if validMask, err = validateUpdate(in.UpdateMask, updatableAccountPaths); err != nil {
return merrors.BadRequest(s.id, "%s", err)
}
}
if _, exists := validMask.Filter("PreferredName"); exists {
if err = validateAccountPreferredName(s.id, in.Account); err != nil {
return err
}
}
if _, exists := validMask.Filter("OnPremisesSamAccountName"); exists {
if err = validateAccountOnPremisesSamAccountName(s.id, in.Account); err != nil {
return err
}
}
if _, exists := validMask.Filter("Mail"); exists {
if in.Account.Mail != "" {
if err = validateAccountEmail(s.id, in.Account); err != nil {
return err
}
}
}
if err := fieldmask_utils.StructToStruct(validMask, in.Account, out); err != nil {
return merrors.InternalServerError(s.id, "%s", err)
}
if in.Account.PasswordProfile != nil {
if out.PasswordProfile == nil {
out.PasswordProfile = &proto.PasswordProfile{}
}
if in.Account.PasswordProfile.Password != "" {
// encrypt password
hashed, err := bcrypt.GenerateFromPassword([]byte(in.Account.PasswordProfile.Password), s.Config.Server.HashDifficulty)
if err != nil {
in.Account.PasswordProfile.Password = ""
s.log.Error().Err(err).Str("id", id).Msg("could not hash password")
return merrors.InternalServerError(s.id, "could not hash password: %v", err.Error())
}
out.PasswordProfile.Password = string(hashed)
in.Account.PasswordProfile.Password = ""
}
if err := passwordPoliciesValid(in.Account.PasswordProfile.PasswordPolicies); err != nil {
return merrors.BadRequest(s.id, "%s", err)
}
// lastPasswordChangeDateTime calculated, see password
out.PasswordProfile.LastPasswordChangeDateTime = tsnow
}
// out.RefreshTokensValidFromDateTime TODO use to invalidate all existing sessions
// out.SignInSessionsValidFromDateTime TODO use to invalidate all existing sessions
// ... TODO on prem for sync
if out.ExternalUserState != in.Account.ExternalUserState {
out.ExternalUserState = in.Account.ExternalUserState
out.ExternalUserStateChangeDateTime = tsnow
}
// We need to reload the old account state to be able to compute the update
old := &proto.Account{}
if err = s.repo.LoadAccount(ctx, id, old); err != nil {
s.log.Error().Err(err).Str("id", out.Id).Msg("could not load old account representation during update, maybe the account got deleted meanwhile?")
return merrors.InternalServerError(s.id, "could not load current account for update: %v", err.Error())
}
if err = s.repo.WriteAccount(ctx, out); err != nil {
s.log.Error().Err(err).Str("id", out.Id).Msg("could not persist updated account")
return merrors.InternalServerError(s.id, "could not persist updated account: %v", err.Error())
}
if err = s.index.Update(old, out); err != nil {
s.log.Error().Err(err).Str("id", id).Msg("could not index new account")
return merrors.InternalServerError(s.id, "could not index updated account: %v", err.Error())
}
// remove password
if out.PasswordProfile != nil {
out.PasswordProfile.Password = ""
}
return
}
// whitelist of all paths/fields which can be updated by users themself
var selfUpdatableAccountPaths = map[string]struct{}{
"DisplayName": {},
"Description": {},
"Mail": {}, // read only?,
"PasswordProfile.Password": {},
}
// whitelist of all paths/fields which can be updated by clients
var updatableAccountPaths = map[string]struct{}{
"AccountEnabled": {},
"IsResourceAccount": {},
"Identities": {},
"DisplayName": {},
"PreferredName": {},
"UidNumber": {},
"GidNumber": {},
"Description": {},
"Mail": {}, // read only?,
"PasswordProfile.Password": {},
"PasswordProfile.PasswordPolicies": {},
"PasswordProfile.ForceChangePasswordNextSignIn": {},
"PasswordProfile.ForceChangePasswordNextSignInWithMfa": {},
"OnPremisesSyncEnabled": {},
"OnPremisesSamAccountName": {},
}
// DeleteAccount implements the AccountsServiceHandler interface
func (s Service) DeleteAccount(ctx context.Context, in *proto.DeleteAccountRequest, out *empty.Empty) (err error) {
if !s.hasAccountManagementPermissions(ctx) {
return merrors.Forbidden(s.id, "no permission for DeleteAccount")
}
var id string
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
}
a := &proto.Account{}
if err = s.repo.LoadAccount(ctx, id, a); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "account not found: %v", err.Error())
}
s.log.Error().Err(err).Str("id", id).Msg("could not load account")
return merrors.InternalServerError(s.id, "could not load account: %v", err.Error())
}
// delete member relationship in groups
for i := range a.MemberOf {
err = s.RemoveMember(ctx, &proto.RemoveMemberRequest{
GroupId: a.MemberOf[i].Id,
AccountId: id,
}, a.MemberOf[i])
if err != nil {
s.log.Error().Err(err).Str("accountid", id).Str("groupid", a.MemberOf[i].Id).Msg("could not remove group member, skipping")
}
}
if err = s.repo.DeleteAccount(ctx, id); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "account not found: %v", err.Error())
}
s.log.Error().Err(err).Str("id", id).Str("accountId", id).Msg("could not remove account")
return merrors.InternalServerError(s.id, "could not remove account: %v", err.Error())
}
if err = s.index.Delete(a); err != nil {
s.log.Error().Err(err).Str("id", id).Str("accountId", id).Msg("could not remove account from index")
return merrors.InternalServerError(s.id, "could not remove account from index: %v", err.Error())
}
s.log.Info().Str("id", id).Msg("deleted account")
return
}
func validateAccount(serviceID string, a *proto.Account) error {
if err := validateAccountPreferredName(serviceID, a); err != nil {
return err
}
if err := validateAccountOnPremisesSamAccountName(serviceID, a); err != nil {
return err
}
if err := validateAccountEmail(serviceID, a); err != nil {
return err
}
return nil
}
func validateAccountPreferredName(serviceID string, a *proto.Account) error {
if !isValidUsername(a.PreferredName) {
return merrors.BadRequest(serviceID, "preferred_name '%s' must be at least the local part of an email", a.PreferredName)
}
return nil
}
func validateAccountOnPremisesSamAccountName(serviceID string, a *proto.Account) error {
if !isValidUsername(a.OnPremisesSamAccountName) {
return merrors.BadRequest(serviceID, "on_premises_sam_account_name '%s' must be at least the local part of an email", a.OnPremisesSamAccountName)
}
return nil
}
func validateAccountEmail(serviceID string, a *proto.Account) error {
if !isValidEmail(a.Mail) {
return merrors.BadRequest(serviceID, "mail '%s' must be a valid email", a.Mail)
}
return nil
}
// We want to allow email addresses as usernames so they show up when using them in ACLs on storages that allow intergration with our glauth LDAP service
// so we are adding a few restrictions from https://stackoverflow.com/questions/6949667/what-are-the-real-rules-for-linux-usernames-on-centos-6-and-rhel-6
// names should not start with numbers
var usernameRegex = regexp.MustCompile("^[a-zA-Z_][a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]*(@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)*$")
func isValidUsername(e string) bool {
if len(e) < 1 && len(e) > 254 {
return false
}
return usernameRegex.MatchString(e)
}
// regex from https://www.w3.org/TR/2016/REC-html51-20161101/sec-forms.html#valid-e-mail-address
var emailRegex = regexp.MustCompile("^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$")
func isValidEmail(e string) bool {
if len(e) < 3 && len(e) > 254 {
return false
}
return emailRegex.MatchString(e)
}
const (
policyDisableStrongPassword = "DisableStrongPassword"
policyDisablePasswordExpiration = "DisablePasswordExpiration"
)
func passwordPoliciesValid(policies []string) error {
for _, v := range policies {
if v != policyDisableStrongPassword && v != policyDisablePasswordExpiration {
return fmt.Errorf("invalid password-policy %s", v)
}
}
return nil
}
// validateUpdate takes a update field-mask and validates it against a whitelist of updatable paths.
// Returns a FieldFilter on success which can be passed to the fieldmask_utils..StructToStruct. An error is returned
// if the mask tries to update no whitelisted fields.
//
// Given an empty or nil mask we assume that the client wants to update all whitelisted fields.
//
func validateUpdate(mask *field_mask.FieldMask, updatablePaths map[string]struct{}) (fieldmask_utils.FieldFilterContainer, error) {
nop := func(s string) string { return s }
// Assume that the client wants to update all updatable path if
// no field-mask is given, so we create a mask with all paths
if mask == nil || len(mask.Paths) == 0 {
paths := make([]string, 0, len(updatablePaths))
for fieldName := range updatablePaths {
paths = append(paths, fieldName)
}
return fieldmask_utils.MaskFromPaths(paths, nop)
}
// Check that only allowed fields are updated
for _, v := range mask.Paths {
if _, ok := updatablePaths[v]; !ok {
return nil, fmt.Errorf("can not update field %s, either unknown or readonly", v)
}
}
return fieldmask_utils.MaskFromPaths(mask.Paths, nop)
}
// debugLogAccount returns a debug-log event with detailed account-info, and filtered password data
func (s Service) debugLogAccount(a *proto.Account) *zerolog.Event {
return s.log.Debug().Fields(map[string]interface{}{
"Id": a.Id,
"Mail": a.Mail,
"DisplayName": a.DisplayName,
"AccountEnabled": a.AccountEnabled,
"IsResourceAccount": a.IsResourceAccount,
"Identities": a.Identities,
"PreferredName": a.PreferredName,
"UidNumber": a.UidNumber,
"GidNumber": a.GidNumber,
"Description": a.Description,
"OnPremisesSyncEnabled": a.OnPremisesSyncEnabled,
"OnPremisesSamAccountName": a.OnPremisesSamAccountName,
"OnPremisesUserPrincipalName": a.OnPremisesUserPrincipalName,
"OnPremisesSecurityIdentifier": a.OnPremisesSecurityIdentifier,
"OnPremisesDistinguishedName": a.OnPremisesDistinguishedName,
"OnPremisesLastSyncDateTime": a.OnPremisesLastSyncDateTime,
"MemberOf": a.MemberOf,
"CreatedDateTime": a.CreatedDateTime,
"DeletedDateTime": a.DeletedDateTime,
})
}
func (s Service) accountExists(ctx context.Context, username, mail, id string) (exists bool, err error) {
var ids []string
ids, err = s.index.FindBy(&proto.Account{}, "preferred_name", username)
if err != nil {
return false, err
}
if len(ids) > 0 {
return true, nil
}
ids, err = s.index.FindBy(&proto.Account{}, "on_premises_sam_account_name", username)
if err != nil {
return false, err
}
if len(ids) > 0 {
return true, nil
}
ids, err = s.index.FindBy(&proto.Account{}, "mail", mail)
if err != nil {
return false, err
}
if len(ids) > 0 {
return true, nil
}
a := &proto.Account{}
err = s.repo.LoadAccount(ctx, id, a)
if err == nil {
return true, nil
}
if !storage.IsNotFoundErr(err) {
return true, err
}
return false, nil
}
func getAuthQueryMatch(query string) (match []string, authRequest bool) {
match = authQuery.FindStringSubmatch(query)
return match, len(match) == 3
}
func isPasswordValid(logger log.Logger, hash string, pwd string) (ok bool) {
defer func() {
if r := recover(); r != nil {
logger.Error().Err(fmt.Errorf("%s", r)).Str("hash", hash).Msg("password lib panicked")
}
}()
return bcrypt.CompareHashAndPassword([]byte(hash), []byte(pwd)) == nil
}
func mustWrite(w io.Writer, val []byte) {
if _, err := w.Write(val); err != nil {
panic(err)
}
}
@@ -0,0 +1,366 @@
package service
import (
"context"
"encoding/json"
"log"
"net/http"
"os"
"testing"
"time"
"github.com/asim/go-micro/v3/client"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/asim/go-micro/v3/metadata"
"github.com/golang/protobuf/ptypes/empty"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
olog "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/roles"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
ssvc "github.com/owncloud/ocis/settings/pkg/service/v0"
"github.com/stretchr/testify/assert"
)
const dataPath = "/var/tmp/ocis-accounts-tests"
var (
roleServiceMock settings.RoleService
s *Service
)
func init() {
cfg := config.New()
cfg.Server.Name = "accounts"
cfg.Repo.Disk.Path = dataPath
logger := olog.NewLogger(olog.Color(true), olog.Pretty(true))
roleServiceMock = buildRoleServiceMock()
roleManager := roles.NewManager(
roles.Logger(logger),
roles.RoleService(roleServiceMock),
roles.CacheTTL(time.Hour),
roles.CacheSize(1024),
)
s, _ = New(
Logger(logger),
Config(cfg),
RoleService(roleServiceMock),
RoleManager(&roleManager),
)
}
func setup() (teardown func()) {
return func() {
if err := os.RemoveAll(dataPath); err != nil {
log.Printf("could not delete data root: %s", dataPath)
} else {
log.Println("data root deleted")
}
}
}
// TestPermissionsListAccounts checks permission handling on ListAccounts
func TestPermissionsListAccounts(t *testing.T) {
var scenarios = []struct {
name string
roleIDs []string
query string
permissionError error
}{
// TODO: remove this test when https://github.com/owncloud/ocis/accounts/pull/111 is merged
// replace with two tests:
// 1: "ListAccounts fails with 403 when roleIDs don't exist in context"
// 2: "ListAccounts fails with 403 when ('no admin role in context' AND 'empty query')"
{
"ListAccounts succeeds when no roleIDs in context",
nil,
"",
nil,
},
{
"ListAccounts fails when no admin roleID in context",
[]string{ssvc.BundleUUIDRoleUser, ssvc.BundleUUIDRoleGuest},
"",
merrors.Forbidden(s.id, "no permission for ListAccounts"),
},
{
"ListAccounts succeeds when admin roleID in context",
[]string{ssvc.BundleUUIDRoleAdmin},
"",
nil,
},
}
for _, scenario := range scenarios {
t.Run(scenario.name, func(t *testing.T) {
teardown := setup()
defer teardown()
ctx := buildTestCtx(t, scenario.roleIDs)
request := &proto.ListAccountsRequest{
Query: scenario.query,
}
response := &proto.ListAccountsResponse{}
err := s.ListAccounts(ctx, request, response)
if scenario.permissionError != nil {
assert.Equal(t, scenario.permissionError, err)
} else if err != nil {
// we are only checking permissions here, so just check that the error code is not 403
merr := merrors.FromError(err)
assert.NotEqual(t, http.StatusForbidden, merr.GetCode())
}
})
}
}
// TestPermissionsGetAccount checks permission handling on GetAccount
// TODO: remove this test function entirely, when https://github.com/owncloud/ocis/accounts/pull/111 is merged. GetAccount will not have permission checks for the time being.
func TestPermissionsGetAccount(t *testing.T) {
var scenarios = []struct {
name string
roleIDs []string
permissionError error
}{
{
"GetAccount succeeds when no role IDs in context",
nil,
nil,
},
{
"GetAccount fails when no admin roleID in context",
[]string{ssvc.BundleUUIDRoleUser, ssvc.BundleUUIDRoleGuest},
merrors.Forbidden(s.id, "no permission for GetAccount"),
},
{
"GetAccount succeeds when admin roleID in context",
[]string{ssvc.BundleUUIDRoleAdmin},
nil,
},
}
for _, scenario := range scenarios {
t.Run(scenario.name, func(t *testing.T) {
teardown := setup()
defer teardown()
ctx := buildTestCtx(t, scenario.roleIDs)
request := &proto.GetAccountRequest{}
response := &proto.Account{}
err := s.GetAccount(ctx, request, response)
if scenario.permissionError != nil {
assert.Equal(t, scenario.permissionError, err)
} else if err != nil {
// we are only checking permissions here, so just check that the error code is not 403
merr := merrors.FromError(err)
assert.NotEqual(t, http.StatusForbidden, merr.GetCode())
}
})
}
}
// TestPermissionsCreateAccount checks permission handling on CreateAccount
func TestPermissionsCreateAccount(t *testing.T) {
var scenarios = []struct {
name string
roleIDs []string
permissionError error
}{
// TODO: remove this test when https://github.com/owncloud/ocis/accounts/pull/111 is merged
// replace with two tests:
// 1: "CreateAccount fails with 403 when roleIDs don't exist in context"
// 2: "CreateAccount fails with 403 when no admin role in context"
{
"CreateAccount succeeds when no role IDs in context",
nil,
nil,
},
{
"CreateAccount fails when no admin roleID in context",
[]string{ssvc.BundleUUIDRoleUser, ssvc.BundleUUIDRoleGuest},
merrors.Forbidden(s.id, "no permission for CreateAccount"),
},
{
"CreateAccount succeeds when admin roleID in context",
[]string{ssvc.BundleUUIDRoleAdmin},
nil,
},
}
for _, scenario := range scenarios {
t.Run(scenario.name, func(t *testing.T) {
teardown := setup()
defer teardown()
ctx := buildTestCtx(t, scenario.roleIDs)
request := &proto.CreateAccountRequest{}
response := &proto.Account{}
err := s.CreateAccount(ctx, request, response)
if scenario.permissionError != nil {
assert.Equal(t, scenario.permissionError, err)
} else if err != nil {
// we are only checking permissions here, so just check that the error code is not 403
merr := merrors.FromError(err)
assert.NotEqual(t, http.StatusForbidden, merr.GetCode())
}
})
}
}
// TestPermissionsUpdateAccount checks permission handling on UpdateAccount
func TestPermissionsUpdateAccount(t *testing.T) {
var scenarios = []struct {
name string
roleIDs []string
permissionError error
}{
// TODO: remove this test when https://github.com/owncloud/ocis/accounts/pull/111 is merged
// replace with two tests:
// 1: "UpdateAccount fails with 403 when roleIDs don't exist in context"
// 2: "UpdateAccount fails with 403 when no admin role in context"
{
"UpdateAccount succeeds when no role IDs in context",
nil,
nil,
},
{
"UpdateAccount fails when no admin roleID in context",
[]string{ssvc.BundleUUIDRoleUser, ssvc.BundleUUIDRoleGuest},
merrors.Forbidden(s.id, "no permission for UpdateAccount"),
},
{
"UpdateAccount succeeds when admin roleID in context",
[]string{ssvc.BundleUUIDRoleAdmin},
nil,
},
}
for _, scenario := range scenarios {
t.Run(scenario.name, func(t *testing.T) {
teardown := setup()
defer teardown()
ctx := buildTestCtx(t, scenario.roleIDs)
request := &proto.UpdateAccountRequest{}
response := &proto.Account{}
err := s.UpdateAccount(ctx, request, response)
if scenario.permissionError != nil {
assert.Equal(t, scenario.permissionError, err)
} else if err != nil {
// we are only checking permissions here, so just check that the error code is not 403
merr := merrors.FromError(err)
assert.NotEqual(t, http.StatusForbidden, merr.GetCode())
}
})
}
}
// TestPermissionsDeleteAccount checks permission handling on DeleteAccount
func TestPermissionsDeleteAccount(t *testing.T) {
var scenarios = []struct {
name string
roleIDs []string
permissionError error
}{
// TODO: remove this test when https://github.com/owncloud/ocis/accounts/pull/111 is merged
// replace with two tests:
// 1: "DeleteAccount fails with 403 when roleIDs don't exist in context"
// 2: "DeleteAccount fails with 403 when no admin role in context"
{
"DeleteAccount succeeds when no role IDs in context",
nil,
nil,
},
{
"DeleteAccount fails when no admin roleID in context",
[]string{ssvc.BundleUUIDRoleUser, ssvc.BundleUUIDRoleGuest},
merrors.Forbidden(s.id, "no permission for DeleteAccount"),
},
{
"DeleteAccount succeeds when admin roleID in context",
[]string{ssvc.BundleUUIDRoleAdmin},
nil,
},
}
for _, scenario := range scenarios {
t.Run(scenario.name, func(t *testing.T) {
teardown := setup()
defer teardown()
ctx := buildTestCtx(t, scenario.roleIDs)
request := &proto.DeleteAccountRequest{}
response := &empty.Empty{}
err := s.DeleteAccount(ctx, request, response)
if scenario.permissionError != nil {
assert.Equal(t, scenario.permissionError, err)
} else if err != nil {
// we are only checking permissions here, so just check that the error code is not 403
merr := merrors.FromError(err)
assert.NotEqual(t, http.StatusForbidden, merr.GetCode())
}
})
}
}
func buildTestCtx(t *testing.T, roleIDs []string) context.Context {
ctx := context.Background()
if roleIDs != nil {
roleIDs, err := json.Marshal(roleIDs)
assert.NoError(t, err)
ctx = metadata.Set(ctx, middleware.RoleIDs, string(roleIDs))
}
return ctx
}
func buildRoleServiceMock() settings.RoleService {
defaultRoles := map[string]*settings.Bundle{
ssvc.BundleUUIDRoleAdmin: {
Id: ssvc.BundleUUIDRoleAdmin,
Type: settings.Bundle_TYPE_ROLE,
Resource: &settings.Resource{
Type: settings.Resource_TYPE_SYSTEM,
},
Settings: []*settings.Setting{
{
Id: AccountManagementPermissionID,
},
},
},
ssvc.BundleUUIDRoleUser: {
Id: ssvc.BundleUUIDRoleUser,
Type: settings.Bundle_TYPE_ROLE,
Resource: &settings.Resource{
Type: settings.Resource_TYPE_SYSTEM,
},
Settings: []*settings.Setting{},
},
ssvc.BundleUUIDRoleGuest: {
Id: ssvc.BundleUUIDRoleGuest,
Type: settings.Bundle_TYPE_ROLE,
Resource: &settings.Resource{
Type: settings.Resource_TYPE_SYSTEM,
},
Settings: []*settings.Setting{},
},
}
return settings.MockRoleService{
ListRolesFunc: func(ctx context.Context, req *settings.ListBundlesRequest, opts ...client.CallOption) (res *settings.ListBundlesResponse, err error) {
payload := make([]*settings.Bundle, 0)
for _, roleID := range req.BundleIds {
if defaultRoles[roleID] != nil {
payload = append(payload, defaultRoles[roleID])
}
}
return &settings.ListBundlesResponse{
Bundles: payload,
}, nil
},
AssignRoleToUserFunc: func(ctx context.Context, req *settings.AssignRoleToUserRequest, opts ...client.CallOption) (res *settings.AssignRoleToUserResponse, err error) {
// mock can be empty. function is called during service start. actual role assignments not needed for the tests.
return &settings.AssignRoleToUserResponse{
Assignment: &settings.UserRoleAssignment{},
}, nil
},
}
}
+382
View File
@@ -0,0 +1,382 @@
package service
import (
"context"
"path"
"strconv"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/gofrs/uuid"
"github.com/golang/protobuf/ptypes/empty"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/accounts/pkg/storage"
p "google.golang.org/protobuf/proto"
)
func (s Service) expandMembers(g *proto.Group) {
if g == nil {
return
}
expanded := []*proto.Account{}
for i := range g.Members {
// TODO resolve by name, when a create or update is issued they may not have an id? fall back to searching the group id in the index?
a := &proto.Account{}
if err := s.repo.LoadAccount(context.Background(), g.Members[i].Id, a); err == nil {
expanded = append(expanded, a)
} else {
// log errors but con/var/tmp/ocis-accounts-store-408341811tinue execution for now
s.log.Error().Err(err).Str("id", g.Members[i].Id).Msg("could not load account")
}
}
g.Members = expanded
}
// deflateMembers replaces the users of a group with an instance that only contains the id
func (s Service) deflateMembers(g *proto.Group) {
if g == nil {
return
}
deflated := []*proto.Account{}
for i := range g.Members {
if g.Members[i].Id != "" {
deflated = append(deflated, &proto.Account{Id: g.Members[i].Id})
} else {
// TODO fetch and use an id when group only has a name but no id
s.log.Error().Str("id", g.Id).Interface("account", g.Members[i]).Msg("resolving members by name is not implemented yet")
}
}
g.Members = deflated
}
// ListGroups implements the GroupsServiceHandler interface
func (s Service) ListGroups(ctx context.Context, in *proto.ListGroupsRequest, out *proto.ListGroupsResponse) (err error) {
if in.Query == "" {
err = s.repo.LoadGroups(ctx, &out.Groups)
if err != nil {
s.log.Err(err).Msg("failed to load all groups from storage")
return merrors.InternalServerError(s.id, "failed to load all groups")
}
for i := range out.Groups {
a := out.Groups[i]
// TODO add accounts only if requested
// if in.FieldMask ...
s.expandMembers(a)
}
return nil
}
searchResults, err := s.findGroupsByQuery(ctx, in.Query)
out.Groups = make([]*proto.Group, 0, len(searchResults))
for _, hit := range searchResults {
g := &proto.Group{}
if err = s.repo.LoadGroup(ctx, hit, g); err != nil {
s.log.Error().Err(err).Str("group", hit).Msg("could not load group, skipping")
continue
}
s.log.Debug().Interface("group", g).Msg("found group")
// TODO add accounts if requested
// if in.FieldMask ...
s.expandMembers(g)
out.Groups = append(out.Groups, g)
}
return
}
func (s Service) findGroupsByQuery(ctx context.Context, query string) ([]string, error) {
return s.index.Query(&proto.Group{}, query)
}
// GetGroup implements the GroupsServiceHandler interface
func (s Service) GetGroup(c context.Context, in *proto.GetGroupRequest, out *proto.Group) (err error) {
var id string
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up group id: %v", err.Error())
}
if err = s.repo.LoadGroup(c, id, out); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "group not found: %v", err.Error())
}
s.log.Error().Err(err).Str("id", id).Msg("could not load group")
return merrors.InternalServerError(s.id, "could not load group: %v", err.Error())
}
s.log.Debug().Interface("group", out).Msg("found group")
// TODO only add accounts if requested
// if in.FieldMask ...
s.expandMembers(out)
return
}
// CreateGroup implements the GroupsServiceHandler interface
func (s Service) CreateGroup(c context.Context, in *proto.CreateGroupRequest, out *proto.Group) (err error) {
if in.Group == nil {
return merrors.InternalServerError(s.id, "invalid group: empty")
}
p.Merge(out, in.Group)
if out.Id == "" {
out.Id = uuid.Must(uuid.NewV4()).String()
}
if _, err = cleanupID(out.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
}
s.deflateMembers(out)
if err = s.repo.WriteGroup(c, out); err != nil {
s.log.Error().Err(err).Interface("group", out).Msg("could not persist new group")
return merrors.InternalServerError(s.id, "could not persist new group: %v", err.Error())
}
indexResults, err := s.index.Add(out)
if err != nil {
s.rollbackCreateGroup(c, out)
return merrors.InternalServerError(s.id, "could not index new group: %v", err.Error())
}
for _, r := range indexResults {
if r.Field == "GidNumber" {
gid, err := strconv.Atoi(path.Base(r.Value))
if err != nil {
s.rollbackCreateGroup(c, out)
return err
}
out.GidNumber = int64(gid)
return s.repo.WriteGroup(context.Background(), out)
}
}
return
}
// rollbackCreateGroup tries to rollback changes made by `CreateGroup` if parts of it failed.
func (s Service) rollbackCreateGroup(ctx context.Context, group *proto.Group) {
err := s.index.Delete(group)
if err != nil {
s.log.Err(err).Msg("failed to rollback group from indices")
}
err = s.repo.DeleteGroup(ctx, group.Id)
if err != nil {
s.log.Err(err).Msg("failed to rollback group from repo")
}
}
// UpdateGroup implements the GroupsServiceHandler interface
func (s Service) UpdateGroup(c context.Context, in *proto.UpdateGroupRequest, out *proto.Group) (err error) {
return merrors.InternalServerError(s.id, "not implemented")
}
// DeleteGroup implements the GroupsServiceHandler interface
func (s Service) DeleteGroup(c context.Context, in *proto.DeleteGroupRequest, out *empty.Empty) (err error) {
var id string
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up group id: %v", err.Error())
}
g := &proto.Group{}
if err = s.repo.LoadGroup(c, id, g); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "group not found: %v", err.Error())
}
return merrors.InternalServerError(s.id, "could not load group: %v", err.Error())
}
// delete memberof relationship in users
for i := range g.Members {
err = s.RemoveMember(c, &proto.RemoveMemberRequest{
AccountId: g.Members[i].Id,
GroupId: id,
}, g)
if err != nil {
s.log.Error().Err(err).Str("groupid", id).Str("accountid", g.Members[i].Id).Msg("could not remove account memberof, skipping")
}
}
if err = s.repo.DeleteGroup(c, id); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "group not found: %v", err.Error())
}
return merrors.InternalServerError(s.id, "could not load group: %v", err.Error())
}
if err = s.index.Delete(g); err != nil {
s.log.Error().Err(err).Str("id", id).Msg("could not remove group from index")
return merrors.InternalServerError(s.id, "could not remove group from index: %v", err.Error())
}
s.log.Info().Str("id", id).Msg("deleted group")
return
}
// AddMember implements the GroupsServiceHandler interface
func (s Service) AddMember(c context.Context, in *proto.AddMemberRequest, out *proto.Group) (err error) {
// cleanup ids
var groupID string
if groupID, err = cleanupID(in.GroupId); err != nil {
return merrors.InternalServerError(s.id, "could not clean up group id: %v", err.Error())
}
var accountID string
if accountID, err = cleanupID(in.AccountId); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
}
// load structs
a := &proto.Account{}
if err = s.repo.LoadAccount(c, accountID, a); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "group not found: %v", err.Error())
}
return merrors.InternalServerError(s.id, "could not load group: %v", err.Error())
}
g := &proto.Group{}
if err = s.repo.LoadGroup(c, groupID, g); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "could not load group: %v", err.Error())
}
return merrors.InternalServerError(s.id, "could not load group: %v", err.Error())
}
// check if we need to add the account to the group
alreadyRelated := false
for i := range g.Members {
if g.Members[i].Id == a.Id {
alreadyRelated = true
}
}
aref := &proto.Account{
Id: a.Id,
}
if !alreadyRelated {
g.Members = append(g.Members, aref)
}
// check if we need to add the group to the account
alreadyRelated = false
for i := range a.MemberOf {
if a.MemberOf[i].Id == g.Id {
alreadyRelated = true
break
}
}
// only store the reference to prevent recurision when marshaling json
gref := &proto.Group{
Id: g.Id,
}
if !alreadyRelated {
a.MemberOf = append(a.MemberOf, gref)
}
if err = s.repo.WriteAccount(c, a); err != nil {
return merrors.InternalServerError(s.id, "could not persist account: %v", err.Error())
}
if err = s.repo.WriteGroup(c, g); err != nil {
return merrors.InternalServerError(s.id, "could not persist group: %v", err.Error())
}
// FIXME update index!
// TODO rollback changes when only one of them failed?
// TODO store relation in another file?
// TODO return error if they are already related?
return nil
}
// RemoveMember implements the GroupsServiceHandler interface
func (s Service) RemoveMember(c context.Context, in *proto.RemoveMemberRequest, out *proto.Group) (err error) {
// cleanup ids
var groupID string
if groupID, err = cleanupID(in.GroupId); err != nil {
return merrors.InternalServerError(s.id, "could not clean up group id: %v", err.Error())
}
var accountID string
if accountID, err = cleanupID(in.AccountId); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
}
// load structs
a := &proto.Account{}
if err = s.repo.LoadAccount(c, accountID, a); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "could not load account: %v", err.Error())
}
s.log.Error().Err(err).Str("id", accountID).Msg("could not load account")
return merrors.InternalServerError(s.id, "could not load account: %v", err.Error())
}
g := &proto.Group{}
if err = s.repo.LoadGroup(c, groupID, g); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "could not load group: %v", err.Error())
}
s.log.Error().Err(err).Str("id", groupID).Msg("could not load group")
return merrors.InternalServerError(s.id, "could not load group: %v", err.Error())
}
//remove the account from the group if it exists
newMembers := []*proto.Account{}
for i := range g.Members {
if g.Members[i].Id != a.Id {
newMembers = append(newMembers, g.Members[i])
}
}
g.Members = newMembers
// remove the group from the account if it exists
newGroups := []*proto.Group{}
for i := range a.MemberOf {
if a.MemberOf[i].Id != g.Id {
newGroups = append(newGroups, a.MemberOf[i])
}
}
a.MemberOf = newGroups
if err = s.repo.WriteAccount(c, a); err != nil {
s.log.Error().Err(err).Interface("account", a).Msg("could not persist account")
return merrors.InternalServerError(s.id, "could not persist account: %v", err.Error())
}
if err = s.repo.WriteGroup(c, g); err != nil {
s.log.Error().Err(err).Interface("group", g).Msg("could not persist group")
return merrors.InternalServerError(s.id, "could not persist group: %v", err.Error())
}
// FIXME update index!
// TODO rollback changes when only one of them failed?
// TODO store relation in another file?
// TODO return error if they are not related?
return nil
}
// ListMembers implements the GroupsServiceHandler interface
func (s Service) ListMembers(c context.Context, in *proto.ListMembersRequest, out *proto.ListMembersResponse) (err error) {
// cleanup ids
var groupID string
if groupID, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up group id: %v", err.Error())
}
g := &proto.Group{}
if err = s.repo.LoadGroup(c, groupID, g); err != nil {
if storage.IsNotFoundErr(err) {
return merrors.NotFound(s.id, "group not found: %v", err.Error())
}
s.log.Error().Err(err).Str("id", groupID).Msg("could not load group")
return merrors.InternalServerError(s.id, "could not load group: %v", err.Error())
}
// TODO only expand accounts if requested
// if in.FieldMask ...
s.expandMembers(g)
out.Members = g.Members
return
}
+108
View File
@@ -0,0 +1,108 @@
package service
import (
"context"
"fmt"
"github.com/owncloud/ocis/accounts/pkg/storage"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/ocis-pkg/indexer"
"github.com/owncloud/ocis/ocis-pkg/indexer/config"
"github.com/owncloud/ocis/ocis-pkg/indexer/option"
)
// RebuildIndex deletes all indices (in memory and on storage) and rebuilds them from scratch.
func (s Service) RebuildIndex(ctx context.Context, request *proto.RebuildIndexRequest, response *proto.RebuildIndexResponse) error {
if err := s.index.Reset(); err != nil {
return fmt.Errorf("failed to delete index containers: %w", err)
}
c, err := configFromSvc(s.Config)
if err != nil {
return err
}
if err := recreateContainers(s.index, c); err != nil {
return fmt.Errorf("failed to recreate index containers: %w", err)
}
if err := reindexDocuments(ctx, s.repo, s.index); err != nil {
return fmt.Errorf("failed to reindex documents: %w", err)
}
return nil
}
// recreateContainers adds all indices to the indexer that we have for this service.
func recreateContainers(idx *indexer.Indexer, cfg *config.Config) error {
// Accounts
if err := idx.AddIndex(&proto.Account{}, "Id", "Id", "accounts", "non_unique", nil, true); err != nil {
return err
}
if err := idx.AddIndex(&proto.Account{}, "DisplayName", "Id", "accounts", "non_unique", nil, true); err != nil {
return err
}
if err := idx.AddIndex(&proto.Account{}, "Mail", "Id", "accounts", "unique", nil, true); err != nil {
return err
}
if err := idx.AddIndex(&proto.Account{}, "OnPremisesSamAccountName", "Id", "accounts", "unique", nil, true); err != nil {
return err
}
if err := idx.AddIndex(&proto.Account{}, "PreferredName", "Id", "accounts", "unique", nil, true); err != nil {
return err
}
if err := idx.AddIndex(&proto.Account{}, "UidNumber", "Id", "accounts", "autoincrement", &option.Bound{
Lower: cfg.Index.UID.Lower,
Upper: cfg.Index.UID.Upper,
}, false); err != nil {
return err
}
// Groups
if err := idx.AddIndex(&proto.Group{}, "OnPremisesSamAccountName", "Id", "groups", "unique", nil, true); err != nil {
return err
}
if err := idx.AddIndex(&proto.Group{}, "DisplayName", "Id", "groups", "non_unique", nil, true); err != nil {
return err
}
if err := idx.AddIndex(&proto.Group{}, "GidNumber", "Id", "groups", "autoincrement", &option.Bound{
Lower: cfg.Index.GID.Lower,
Upper: cfg.Index.GID.Upper,
}, false); err != nil {
return err
}
return nil
}
// reindexDocuments loads all existing documents and adds them to the index.
func reindexDocuments(ctx context.Context, repo storage.Repo, index *indexer.Indexer) error {
accounts := make([]*proto.Account, 0)
if err := repo.LoadAccounts(ctx, &accounts); err != nil {
return err
}
for i := range accounts {
_, err := index.Add(accounts[i])
if err != nil {
return err
}
}
groups := make([]*proto.Group, 0)
if err := repo.LoadGroups(ctx, &groups); err != nil {
return err
}
for i := range groups {
_, err := index.Add(groups[i])
if err != nil {
return err
}
}
return nil
}
+57
View File
@@ -0,0 +1,57 @@
package service
import (
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/roles"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
)
// Option defines a single option function.
type Option func(o *Options)
// Options defines the available options for this package.
type Options struct {
Logger log.Logger
Config *config.Config
RoleService settings.RoleService
RoleManager *roles.Manager
}
func newOptions(opts ...Option) Options {
opt := Options{}
for _, o := range opts {
o(&opt)
}
return opt
}
// Logger provides a function to set the Logger option.
func Logger(val log.Logger) Option {
return func(o *Options) {
o.Logger = val
}
}
// Config provides a function to set the Config option.
func Config(val *config.Config) Option {
return func(o *Options) {
o.Config = val
}
}
// RoleService provides a function to set the RoleService option.
func RoleService(val settings.RoleService) Option {
return func(o *Options) {
o.RoleService = val
}
}
// RoleManager provides a function to set the RoleManager option.
func RoleManager(val *roles.Manager) Option {
return func(o *Options) {
o.RoleManager = val
}
}
+104
View File
@@ -0,0 +1,104 @@
package service
import (
"context"
"github.com/owncloud/ocis/ocis-pkg/service/grpc"
olog "github.com/owncloud/ocis/ocis-pkg/log"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
ssvc "github.com/owncloud/ocis/settings/pkg/service/v0"
)
const (
// AccountManagementPermissionID is the hardcoded setting UUID for the account management permission
AccountManagementPermissionID string = "8e587774-d929-4215-910b-a317b1e80f73"
// AccountManagementPermissionName is the hardcoded setting name for the account management permission
AccountManagementPermissionName string = "account-management"
// GroupManagementPermissionID is the hardcoded setting UUID for the group management permission
GroupManagementPermissionID string = "522adfbe-5908-45b4-b135-41979de73245"
// GroupManagementPermissionName is the hardcoded setting name for the group management permission
GroupManagementPermissionName string = "group-management"
// SelfManagementPermissionID is the hardcoded setting UUID for the self management permission
SelfManagementPermissionID string = "e03070e9-4362-4cc6-a872-1c7cb2eb2b8e"
// SelfManagementPermissionName is the hardcoded setting name for the self management permission
SelfManagementPermissionName string = "self-management"
)
// RegisterPermissions registers permissions for account management and group management with the settings service.
func RegisterPermissions(l *olog.Logger) {
service := settings.NewBundleService("com.owncloud.api.settings", grpc.DefaultClient)
permissionRequests := generateAccountManagementPermissionsRequests()
for i := range permissionRequests {
res, err := service.AddSettingToBundle(context.Background(), &permissionRequests[i])
bundleID := permissionRequests[i].BundleId
if err != nil {
l.Err(err).Str("bundle", bundleID).Str("setting", permissionRequests[i].Setting.Id).Msg("error adding permission to bundle")
} else {
l.Info().Str("bundle", bundleID).Str("setting", res.Setting.Id).Msg("successfully added permission to bundle")
}
}
}
func generateAccountManagementPermissionsRequests() []settings.AddSettingToBundleRequest {
return []settings.AddSettingToBundleRequest{
{
BundleId: ssvc.BundleUUIDRoleAdmin,
Setting: &settings.Setting{
Id: AccountManagementPermissionID,
Name: AccountManagementPermissionName,
DisplayName: "Account Management",
Description: "This permission gives full access to everything that is related to account management.",
Resource: &settings.Resource{
Type: settings.Resource_TYPE_USER,
Id: "all",
},
Value: &settings.Setting_PermissionValue{
PermissionValue: &settings.Permission{
Operation: settings.Permission_OPERATION_READWRITE,
Constraint: settings.Permission_CONSTRAINT_ALL,
},
},
},
},
{
BundleId: ssvc.BundleUUIDRoleAdmin,
Setting: &settings.Setting{
Id: GroupManagementPermissionID,
Name: GroupManagementPermissionName,
DisplayName: "Group Management",
Description: "This permission gives full access to everything that is related to group management.",
Resource: &settings.Resource{
Type: settings.Resource_TYPE_GROUP,
Id: "all",
},
Value: &settings.Setting_PermissionValue{
PermissionValue: &settings.Permission{
Operation: settings.Permission_OPERATION_READWRITE,
Constraint: settings.Permission_CONSTRAINT_ALL,
},
},
},
},
{
BundleId: ssvc.BundleUUIDRoleUser,
Setting: &settings.Setting{
Id: SelfManagementPermissionID,
Name: SelfManagementPermissionName,
DisplayName: "Self Management",
Description: "This permission gives access to self management.",
Resource: &settings.Resource{
Type: settings.Resource_TYPE_USER,
Id: "me",
},
Value: &settings.Setting_PermissionValue{
PermissionValue: &settings.Permission{
Operation: settings.Permission_OPERATION_READWRITE,
Constraint: settings.Permission_CONSTRAINT_OWN,
},
},
},
},
}
}
+442
View File
@@ -0,0 +1,442 @@
package service
import (
"context"
"errors"
"path"
"path/filepath"
"strconv"
"strings"
"time"
"github.com/owncloud/ocis/ocis-pkg/service/grpc"
"github.com/owncloud/ocis/accounts/pkg/storage"
"github.com/owncloud/ocis/ocis-pkg/indexer"
idxcfg "github.com/owncloud/ocis/ocis-pkg/indexer/config"
idxerrs "github.com/owncloud/ocis/ocis-pkg/indexer/errors"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/ocis-pkg/log"
oreg "github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/owncloud/ocis/ocis-pkg/roles"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
)
// userDefaultGID is the default integer representing the "users" group.
const userDefaultGID = 30000
// New returns a new instance of Service
func New(opts ...Option) (s *Service, err error) {
options := newOptions(opts...)
logger := options.Logger
cfg := options.Config
roleService := options.RoleService
if roleService == nil {
roleService = settings.NewRoleService("com.owncloud.api.settings", grpc.DefaultClient)
}
roleManager := options.RoleManager
if roleManager == nil {
m := roles.NewManager(
roles.CacheSize(1024),
roles.CacheTTL(time.Hour*24*7),
roles.Logger(options.Logger),
roles.RoleService(roleService),
)
roleManager = &m
}
s = &Service{
id: cfg.GRPC.Namespace + "." + cfg.Server.Name,
log: logger,
Config: cfg,
RoleService: roleService,
RoleManager: roleManager,
repo: createMetadataStorage(cfg, logger),
}
retries := 20
var current int
r := oreg.GetRegistry()
if cfg.Repo.Disk.Path == "" {
for {
if current >= retries {
panic("metadata service failed to start.")
}
s, err := r.GetService("com.owncloud.storage.metadata")
if err != nil {
logger.Error().Err(err).Msg("error getting metadata service from service registry")
}
if len(s) > 0 {
break
}
logger.Info().Msg("accounts blocked waiting for metadata service to be up and running...")
time.Sleep(2 * time.Second)
current++
}
}
// we want to wait anyway. If it depends on a reva service it could be the case that the entry on the registry
// happens prior to the reva service being up and running
time.Sleep(500 * time.Millisecond)
if s.index, err = s.buildIndex(); err != nil {
return nil, err
}
if err = s.createDefaultAccounts(); err != nil {
return nil, err
}
if err = s.createDefaultGroups(); err != nil {
return nil, err
}
return
}
func (s Service) buildIndex() (*indexer.Indexer, error) {
var indexcfg *idxcfg.Config
indexcfg, err := configFromSvc(s.Config)
if err != nil {
return nil, err
}
idx := indexer.CreateIndexer(indexcfg)
if err := recreateContainers(idx, indexcfg); err != nil {
return nil, err
}
return idx, nil
}
// configFromSvc creates an index config out of a service configuration. This intermediate step exists
// because the index config was mapped after the service config.
func configFromSvc(cfg *config.Config) (*idxcfg.Config, error) {
c := idxcfg.New()
defer func(cfg *config.Config) {
l := log.NewLogger(log.Color(cfg.Log.Color), log.Pretty(cfg.Log.Pretty), log.Level(cfg.Log.Level))
if r := recover(); r != nil {
l.Error().
Str("panic", "recovered from panic while parsing index config from service configuration").
Interface("svc_config", cfg).
Msg("recovered from panic")
}
}(cfg)
if (config.Repo{}) != cfg.Repo {
if (config.Disk{}) != cfg.Repo.Disk {
c.Repo = idxcfg.Repo{
Disk: idxcfg.Disk{
Path: cfg.Repo.Disk.Path,
},
}
}
if (config.CS3{}) != cfg.Repo.CS3 {
c.Repo = idxcfg.Repo{
CS3: idxcfg.CS3{
ProviderAddr: cfg.Repo.CS3.ProviderAddr,
DataURL: cfg.Repo.CS3.DataURL,
DataPrefix: cfg.Repo.CS3.DataPrefix,
JWTSecret: cfg.Repo.CS3.JWTSecret,
},
}
}
if (config.Index{}) != cfg.Index {
c.Index = idxcfg.Index{
UID: idxcfg.Bound{
Lower: cfg.Index.UID.Lower,
},
GID: idxcfg.Bound{
Lower: cfg.Index.GID.Lower,
},
}
}
if (config.ServiceUser{}) != cfg.ServiceUser {
c.ServiceUser = cfg.ServiceUser
}
}
return c, nil
}
func (s Service) createDefaultAccounts() (err error) {
accounts := []proto.Account{
{
Id: "4c510ada-c86b-4815-8820-42cdf82c3d51",
PreferredName: "einstein",
OnPremisesSamAccountName: "einstein",
Mail: "einstein@example.org",
DisplayName: "Albert Einstein",
UidNumber: 20000,
GidNumber: 30000,
PasswordProfile: &proto.PasswordProfile{
Password: "$2a$11$4WNffzgU/WrIRiDnwu8OnOwgOIIUqR/2Ptvp7WJAQCTSgSrylyuvC",
},
AccountEnabled: true,
MemberOf: []*proto.Group{
{Id: "509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"}, // users
{Id: "6040aa17-9c64-4fef-9bd0-77234d71bad0"}, // sailing-lovers
{Id: "dd58e5ec-842e-498b-8800-61f2ec6f911f"}, // violin-haters
{Id: "262982c1-2362-4afa-bfdf-8cbfef64a06e"}, // physics-lovers
},
},
{
Id: "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
PreferredName: "marie",
OnPremisesSamAccountName: "marie",
Mail: "marie@example.org",
DisplayName: "Marie Curie",
UidNumber: 20001,
GidNumber: 30000,
PasswordProfile: &proto.PasswordProfile{
Password: "$2a$11$Wu2XcDnE6G2No8C88FVWluNHyXuQQi0cHzSe82Vni8AdwIO12fphC",
},
AccountEnabled: true,
MemberOf: []*proto.Group{
{Id: "509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"}, // users
{Id: "7b87fd49-286e-4a5f-bafd-c535d5dd997a"}, // radium-lovers
{Id: "cedc21aa-4072-4614-8676-fa9165f598ff"}, // polonium-lovers
{Id: "262982c1-2362-4afa-bfdf-8cbfef64a06e"}, // physics-lovers
},
},
{
Id: "932b4540-8d16-481e-8ef4-588e4b6b151c",
PreferredName: "richard",
OnPremisesSamAccountName: "richard",
Mail: "richard@example.org",
DisplayName: "Richard Feynman",
UidNumber: 20002,
GidNumber: 30000,
PasswordProfile: &proto.PasswordProfile{
Password: "$2a$11$6Lak4zh1xUkpObg2rrOotOTdQYGj2Uu/sowcVLhub.8qYIr.CxzEW",
},
AccountEnabled: true,
MemberOf: []*proto.Group{
{Id: "509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"}, // users
{Id: "a1726108-01f8-4c30-88df-2b1a9d1cba1a"}, // quantum-lovers
{Id: "167cbee2-0518-455a-bfb2-031fe0621e5d"}, // philosophy-haters
{Id: "262982c1-2362-4afa-bfdf-8cbfef64a06e"}, // physics-lovers
},
},
// admin user(s)
{
Id: "058bff95-6708-4fe5-91e4-9ea3d377588b",
PreferredName: "moss",
OnPremisesSamAccountName: "moss",
Mail: "moss@example.org",
DisplayName: "Maurice Moss",
UidNumber: 20003,
GidNumber: 30000,
PasswordProfile: &proto.PasswordProfile{
Password: "$2a$11$jvI6PHuvrimpcCHzL2Q2WOqfm1FGdYAuSYZBDahr/B48fpiFxyDy2",
},
AccountEnabled: true,
MemberOf: []*proto.Group{
{Id: "509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"}, // users
},
},
{
Id: "ddc2004c-0977-11eb-9d3f-a793888cd0f8",
PreferredName: "admin",
OnPremisesSamAccountName: "admin",
Mail: "admin@example.org",
DisplayName: "Admin",
UidNumber: 20004,
GidNumber: 30000,
PasswordProfile: &proto.PasswordProfile{
Password: "$2a$11$En9VIUtqOdDyUl.LuUq2KeuBb5A2n8zE0lkJ2v6IDRSaOamhNq6Uu",
},
AccountEnabled: true,
MemberOf: []*proto.Group{
{Id: "509a9dcd-bb37-4f4f-a01a-19dca27d9cfa"}, // users
},
},
// technical users for kopano and reva
{
Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf",
PreferredName: "idp",
OnPremisesSamAccountName: "idp",
Mail: "idp@example.org",
DisplayName: "Kopano IDP",
UidNumber: 10000,
GidNumber: 15000,
PasswordProfile: &proto.PasswordProfile{
Password: "$2y$12$ywfGLDPsSlBTVZU0g.2GZOPO8Wap3rVOpm8e3192VlytNdGWH7x72",
},
AccountEnabled: true,
MemberOf: []*proto.Group{
{Id: "34f38767-c937-4eb6-b847-1c175829a2a0"}, // sysusers
},
},
{
Id: "bc596f3c-c955-4328-80a0-60d018b4ad57",
PreferredName: "reva",
OnPremisesSamAccountName: "reva",
Mail: "storage@example.org",
DisplayName: "Reva Inter Operability Platform",
UidNumber: 10001,
GidNumber: 15000,
PasswordProfile: &proto.PasswordProfile{
Password: "$2a$11$40xzy3rO8Tq4j2VkFbKz8Ow19BRaqaixEjAR0IbvQXxtOvMtkjwzy",
},
AccountEnabled: true,
MemberOf: []*proto.Group{
{Id: "34f38767-c937-4eb6-b847-1c175829a2a0"}, // sysusers
},
},
}
// this only deals with the metadata service.
for i := range accounts {
a := &proto.Account{}
err := s.repo.LoadAccount(context.Background(), accounts[i].Id, a)
if !storage.IsNotFoundErr(err) {
continue // account already exists -> do not overwrite
}
if err := s.repo.WriteAccount(context.Background(), &accounts[i]); err != nil {
return err
}
results, err := s.index.Add(&accounts[i])
if err != nil {
if idxerrs.IsAlreadyExistsErr(err) {
continue
} else {
return err
}
}
changed := false
for _, r := range results {
if r.Field == "UidNumber" || r.Field == "GidNumber" {
id, err := strconv.ParseInt(path.Base(r.Value), 10, 0)
if err != nil {
return err
}
if r.Field == "UidNumber" {
accounts[i].UidNumber = id
} else {
accounts[i].GidNumber = id
}
changed = true
}
}
if changed {
if err := s.repo.WriteAccount(context.Background(), &accounts[i]); err != nil {
return err
}
}
}
return nil
}
func (s Service) createDefaultGroups() (err error) {
groups := []proto.Group{
{Id: "34f38767-c937-4eb6-b847-1c175829a2a0", GidNumber: 15000, OnPremisesSamAccountName: "sysusers", DisplayName: "Technical users", Description: "A group for technical users. They should not show up in sharing dialogs.", Members: []*proto.Account{
{Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf"}, // idp
{Id: "bc596f3c-c955-4328-80a0-60d018b4ad57"}, // reva
}},
{Id: "509a9dcd-bb37-4f4f-a01a-19dca27d9cfa", GidNumber: 30000, OnPremisesSamAccountName: "users", DisplayName: "Users", Description: "A group every normal user belongs to.", Members: []*proto.Account{
{Id: "4c510ada-c86b-4815-8820-42cdf82c3d51"}, // einstein
{Id: "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"}, // marie
{Id: "932b4540-8d16-481e-8ef4-588e4b6b151c"}, // feynman
}},
{Id: "6040aa17-9c64-4fef-9bd0-77234d71bad0", GidNumber: 30001, OnPremisesSamAccountName: "sailing-lovers", DisplayName: "Sailing lovers", Members: []*proto.Account{
{Id: "4c510ada-c86b-4815-8820-42cdf82c3d51"}, // einstein
}},
{Id: "dd58e5ec-842e-498b-8800-61f2ec6f911f", GidNumber: 30002, OnPremisesSamAccountName: "violin-haters", DisplayName: "Violin haters", Members: []*proto.Account{
{Id: "4c510ada-c86b-4815-8820-42cdf82c3d51"}, // einstein
}},
{Id: "7b87fd49-286e-4a5f-bafd-c535d5dd997a", GidNumber: 30003, OnPremisesSamAccountName: "radium-lovers", DisplayName: "Radium lovers", Members: []*proto.Account{
{Id: "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"}, // marie
}},
{Id: "cedc21aa-4072-4614-8676-fa9165f598ff", GidNumber: 30004, OnPremisesSamAccountName: "polonium-lovers", DisplayName: "Polonium lovers", Members: []*proto.Account{
{Id: "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"}, // marie
}},
{Id: "a1726108-01f8-4c30-88df-2b1a9d1cba1a", GidNumber: 30005, OnPremisesSamAccountName: "quantum-lovers", DisplayName: "Quantum lovers", Members: []*proto.Account{
{Id: "932b4540-8d16-481e-8ef4-588e4b6b151c"}, // feynman
}},
{Id: "167cbee2-0518-455a-bfb2-031fe0621e5d", GidNumber: 30006, OnPremisesSamAccountName: "philosophy-haters", DisplayName: "Philosophy haters", Members: []*proto.Account{
{Id: "932b4540-8d16-481e-8ef4-588e4b6b151c"}, // feynman
}},
{Id: "262982c1-2362-4afa-bfdf-8cbfef64a06e", GidNumber: 30007, OnPremisesSamAccountName: "physics-lovers", DisplayName: "Physics lovers", Members: []*proto.Account{
{Id: "4c510ada-c86b-4815-8820-42cdf82c3d51"}, // einstein
{Id: "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c"}, // marie
{Id: "932b4540-8d16-481e-8ef4-588e4b6b151c"}, // feynman
}},
}
for i := range groups {
g := &proto.Group{}
err := s.repo.LoadGroup(context.Background(), groups[i].Id, g)
if !storage.IsNotFoundErr(err) {
continue // group already exists -> do not overwrite
}
if err := s.repo.WriteGroup(context.Background(), &groups[i]); err != nil {
return err
}
results, err := s.index.Add(&groups[i])
if err != nil {
if idxerrs.IsAlreadyExistsErr(err) {
continue
} else {
return err
}
}
// TODO: can be removed again as soon as we respect the predefined GIDs from the group. Then no autoincrement is happening, therefore we don't need to update groups.
for _, r := range results {
if r.Field == "GidNumber" {
gid, err := strconv.ParseInt(path.Base(r.Value), 10, 0)
if err != nil {
return err
}
groups[i].GidNumber = gid
if err := s.repo.WriteGroup(context.Background(), &groups[i]); err != nil {
return err
}
break
}
}
}
return nil
}
func createMetadataStorage(cfg *config.Config, logger log.Logger) storage.Repo {
// for now we detect the used storage implementation based on which storage is configured
// the config with defaults needs to be checked last
if cfg.Repo.Disk.Path != "" {
return storage.NewDiskRepo(cfg, logger)
}
repo, err := storage.NewCS3Repo(cfg)
if err != nil {
logger.Fatal().Err(err).Msg("cs3 storage was configured but failed to start")
}
return repo
}
// Service implements the AccountsServiceHandler interface
type Service struct {
id string
log log.Logger
Config *config.Config
index *indexer.Indexer
RoleService settings.RoleService
RoleManager *roles.Manager
repo storage.Repo
}
func cleanupID(id string) (string, error) {
id = filepath.Clean(id)
if id == "." || strings.Contains(id, "/") {
return "", errors.New("invalid id " + id)
}
return id, nil
}
+1
View File
@@ -0,0 +1 @@
checks = ["all", "-ST1003", "-ST1000", "-SA1019"]
+76
View File
@@ -0,0 +1,76 @@
package service
import (
"context"
"github.com/golang/protobuf/ptypes/empty"
v0proto "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"go.opencensus.io/trace"
)
// NewTracing returns a service that instruments traces.
func NewTracing(next v0proto.AccountsServiceHandler) v0proto.AccountsServiceHandler {
return tracing{
next: next,
}
}
type tracing struct {
next v0proto.AccountsServiceHandler
}
func (t tracing) ListAccounts(ctx context.Context, req *v0proto.ListAccountsRequest, rsp *v0proto.ListAccountsResponse) error {
ctx, span := trace.StartSpan(ctx, "Accounts.ListAccounts")
defer span.End()
span.Annotate([]trace.Attribute{
trace.Int64Attribute("page_size", int64(req.PageSize)),
trace.StringAttribute("page_token", req.PageToken),
trace.StringAttribute("field_mask", req.FieldMask.String()),
}, "Execute Accounts.ListAccount handler")
return t.next.ListAccounts(ctx, req, rsp)
}
func (t tracing) GetAccount(ctx context.Context, req *v0proto.GetAccountRequest, acc *v0proto.Account) error {
ctx, span := trace.StartSpan(ctx, "Accounts.GetAccount")
defer span.End()
span.Annotate([]trace.Attribute{
trace.StringAttribute("id", req.Id),
}, "Execute Accounts.GetAccount handler")
return t.next.GetAccount(ctx, req, acc)
}
func (t tracing) CreateAccount(ctx context.Context, req *v0proto.CreateAccountRequest, acc *v0proto.Account) error {
ctx, span := trace.StartSpan(ctx, "Accounts.CreateAccount")
defer span.End()
span.Annotate([]trace.Attribute{
trace.StringAttribute("account", req.Account.String()),
}, "Execute Accounts.CreateAccount handler")
return t.next.CreateAccount(ctx, req, acc)
}
func (t tracing) UpdateAccount(ctx context.Context, req *v0proto.UpdateAccountRequest, acc *v0proto.Account) error {
ctx, span := trace.StartSpan(ctx, "Accounts.UpdateAccount")
defer span.End()
span.Annotate([]trace.Attribute{
trace.StringAttribute("account", req.Account.String()),
}, "Execute Accounts.UpdateAccount handler")
return t.next.UpdateAccount(ctx, req, acc)
}
func (t tracing) DeleteAccount(ctx context.Context, req *v0proto.DeleteAccountRequest, e *empty.Empty) error {
ctx, span := trace.StartSpan(ctx, "Accounts.DeleteAccount")
defer span.End()
span.Annotate([]trace.Attribute{
trace.StringAttribute("id", req.Id),
}, "Execute Accounts.DeleteAccout handler")
return t.next.DeleteAccount(ctx, req, e)
}
+392
View File
@@ -0,0 +1,392 @@
package storage
import (
"bytes"
"context"
"encoding/json"
"io"
"io/ioutil"
"net/http"
"path"
"path/filepath"
"strconv"
"strings"
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
"github.com/cs3org/reva/pkg/rgrpc/todo/pool"
"github.com/cs3org/reva/pkg/token"
"github.com/cs3org/reva/pkg/token/manager/jwt"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
olog "github.com/owncloud/ocis/ocis-pkg/log"
"google.golang.org/grpc/metadata"
)
// CS3Repo provides a cs3 implementation of the Repo interface
type CS3Repo struct {
cfg *config.Config
tm token.Manager
storageProvider provider.ProviderAPIClient
dataProvider dataProviderClient // Used to create and download data via http, bypassing reva upload protocol
}
// NewCS3Repo creates a new cs3 repo
func NewCS3Repo(cfg *config.Config) (Repo, error) {
tokenManager, err := jwt.New(map[string]interface{}{
"secret": cfg.TokenManager.JWTSecret,
})
if err != nil {
return nil, err
}
client, err := pool.GetStorageProviderServiceClient(cfg.Repo.CS3.ProviderAddr)
if err != nil {
return nil, err
}
return CS3Repo{
cfg: cfg,
tm: tokenManager,
storageProvider: client,
dataProvider: dataProviderClient{
client: http.Client{
Transport: http.DefaultTransport,
},
},
}, nil
}
// WriteAccount writes an account via cs3 and modifies the provided account (e.g. with a generated id).
func (r CS3Repo) WriteAccount(ctx context.Context, a *proto.Account) (err error) {
t, err := r.authenticate(ctx)
if err != nil {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
if err := r.makeRootDirIfNotExist(ctx, accountsFolder); err != nil {
return err
}
var by []byte
if by, err = json.Marshal(a); err != nil {
return err
}
resp, err := r.dataProvider.put(r.accountURL(a.Id), bytes.NewReader(by), t)
if err != nil {
return err
}
if err = resp.Body.Close(); err != nil {
return err
}
return nil
}
// LoadAccount loads an account via cs3 by id and writes it to the provided account
func (r CS3Repo) LoadAccount(ctx context.Context, id string, a *proto.Account) (err error) {
t, err := r.authenticate(ctx)
if err != nil {
return err
}
return r.loadAccount(id, t, a)
}
// LoadAccounts loads all the accounts from the cs3 api
func (r CS3Repo) LoadAccounts(ctx context.Context, a *[]*proto.Account) (err error) {
t, err := r.authenticate(ctx)
if err != nil {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
res, err := r.storageProvider.ListContainer(ctx, &provider.ListContainerRequest{
Ref: &provider.Reference{
Spec: &provider.Reference_Path{Path: path.Join("/meta", accountsFolder)},
},
})
if err != nil {
return err
}
log := olog.NewLogger(olog.Pretty(r.cfg.Log.Pretty), olog.Color(r.cfg.Log.Color), olog.Level(r.cfg.Log.Level))
for i := range res.Infos {
acc := &proto.Account{}
err := r.loadAccount(filepath.Base(res.Infos[i].Path), t, acc)
if err != nil {
log.Err(err).Msg("could not load account")
continue
}
*a = append(*a, acc)
}
return nil
}
func (r CS3Repo) loadAccount(id string, t string, a *proto.Account) error {
resp, err := r.dataProvider.get(r.accountURL(id), t)
if err != nil {
return err
}
if resp.StatusCode != http.StatusOK {
return &notFoundErr{"account", id}
}
b, err := ioutil.ReadAll(resp.Body)
if err != nil {
return err
}
if err = resp.Body.Close(); err != nil {
return err
}
return json.Unmarshal(b, &a)
}
// DeleteAccount deletes an account via cs3 by id
func (r CS3Repo) DeleteAccount(ctx context.Context, id string) (err error) {
t, err := r.authenticate(ctx)
if err != nil {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
resp, err := r.storageProvider.Delete(ctx, &provider.DeleteRequest{
Ref: &provider.Reference{
Spec: &provider.Reference_Path{Path: path.Join("/meta", accountsFolder, id)},
},
})
if err != nil {
return err
}
// TODO Handle other error codes?
if resp.Status.Code == v1beta11.Code_CODE_NOT_FOUND {
return &notFoundErr{"account", id}
}
return nil
}
// WriteGroup writes a group via cs3 and modifies the provided group (e.g. with a generated id).
func (r CS3Repo) WriteGroup(ctx context.Context, g *proto.Group) (err error) {
t, err := r.authenticate(ctx)
if err != nil {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
if err := r.makeRootDirIfNotExist(ctx, groupsFolder); err != nil {
return err
}
var by []byte
if by, err = json.Marshal(g); err != nil {
return err
}
resp, err := r.dataProvider.put(r.groupURL(g.Id), bytes.NewReader(by), t)
if err != nil {
return err
}
if err = resp.Body.Close(); err != nil {
return err
}
return nil
}
// LoadGroup loads a group via cs3 by id and writes it to the provided group
func (r CS3Repo) LoadGroup(ctx context.Context, id string, g *proto.Group) (err error) {
t, err := r.authenticate(ctx)
if err != nil {
return err
}
return r.loadGroup(id, t, g)
}
// LoadGroups loads all the groups from the cs3 api
func (r CS3Repo) LoadGroups(ctx context.Context, g *[]*proto.Group) (err error) {
t, err := r.authenticate(ctx)
if err != nil {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
res, err := r.storageProvider.ListContainer(ctx, &provider.ListContainerRequest{
Ref: &provider.Reference{
Spec: &provider.Reference_Path{Path: path.Join("/meta", groupsFolder)},
},
})
if err != nil {
return err
}
log := olog.NewLogger(olog.Pretty(r.cfg.Log.Pretty), olog.Color(r.cfg.Log.Color), olog.Level(r.cfg.Log.Level))
for i := range res.Infos {
grp := &proto.Group{}
err := r.loadGroup(filepath.Base(res.Infos[i].Path), t, grp)
if err != nil {
log.Err(err).Msg("could not load account")
continue
}
*g = append(*g, grp)
}
return nil
}
func (r CS3Repo) loadGroup(id string, t string, g *proto.Group) error {
resp, err := r.dataProvider.get(r.groupURL(id), t)
if err != nil {
return err
}
if resp.StatusCode == http.StatusNotFound {
return &notFoundErr{"group", id}
}
b, err := ioutil.ReadAll(resp.Body)
if err != nil {
return err
}
if err = resp.Body.Close(); err != nil {
return err
}
return json.Unmarshal(b, &g)
}
// DeleteGroup deletes a group via cs3 by id
func (r CS3Repo) DeleteGroup(ctx context.Context, id string) (err error) {
t, err := r.authenticate(ctx)
if err != nil {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
resp, err := r.storageProvider.Delete(ctx, &provider.DeleteRequest{
Ref: &provider.Reference{
Spec: &provider.Reference_Path{Path: path.Join("/meta", groupsFolder, id)},
},
})
if err != nil {
return err
}
// TODO Handle other error codes?
if resp.Status.Code == v1beta11.Code_CODE_NOT_FOUND {
return &notFoundErr{"group", id}
}
return err
}
func (r CS3Repo) authenticate(ctx context.Context) (token string, err error) {
return AuthenticateCS3(ctx, r.cfg.ServiceUser, r.tm)
}
// AuthenticateCS3 mints an auth token for communicating with cs3 storage based on a service user from config
func AuthenticateCS3(ctx context.Context, su config.ServiceUser, tm token.Manager) (token string, err error) {
u := &user.User{
Id: &user.UserId{
OpaqueId: su.UUID,
},
Groups: []string{},
Opaque: &types.Opaque{
Map: map[string]*types.OpaqueEntry{
"uid": {
Decoder: "plain",
Value: []byte(strconv.FormatInt(su.UID, 10)),
},
"gid": {
Decoder: "plain",
Value: []byte(strconv.FormatInt(su.GID, 10)),
},
},
},
}
return tm.MintToken(ctx, u)
}
func (r CS3Repo) accountURL(id string) string {
return singleJoiningSlash(r.cfg.Repo.CS3.DataURL, path.Join(r.cfg.Repo.CS3.DataPrefix, accountsFolder, id))
}
func (r CS3Repo) groupURL(id string) string {
return singleJoiningSlash(r.cfg.Repo.CS3.DataURL, path.Join(r.cfg.Repo.CS3.DataPrefix, groupsFolder, id))
}
func (r CS3Repo) makeRootDirIfNotExist(ctx context.Context, folder string) error {
return MakeDirIfNotExist(ctx, r.storageProvider, folder)
}
// MakeDirIfNotExist will create a root node in the metadata storage. Requires an authenticated context.
func MakeDirIfNotExist(ctx context.Context, sp provider.ProviderAPIClient, folder string) error {
var rootPathRef = &provider.Reference{
Spec: &provider.Reference_Path{Path: path.Join("/meta", folder)},
}
resp, err := sp.Stat(ctx, &provider.StatRequest{
Ref: rootPathRef,
})
if err != nil {
return err
}
if resp.Status.Code == v1beta11.Code_CODE_NOT_FOUND {
_, err := sp.CreateContainer(ctx, &provider.CreateContainerRequest{
Ref: rootPathRef,
})
if err != nil {
return err
}
}
return nil
}
// TODO: this is copied from proxy. Find a better solution or move it to ocis-pkg
func singleJoiningSlash(a, b string) string {
aslash := strings.HasSuffix(a, "/")
bslash := strings.HasPrefix(b, "/")
switch {
case aslash && bslash:
return a + b[1:]
case !aslash && !bslash:
return a + "/" + b
}
return a + b
}
type dataProviderClient struct {
client http.Client
}
func (d dataProviderClient) put(url string, body io.Reader, token string) (*http.Response, error) {
req, err := http.NewRequest(http.MethodPut, url, body)
if err != nil {
return nil, err
}
req.Header.Add("x-access-token", token)
return d.client.Do(req)
}
func (d dataProviderClient) get(url string, token string) (*http.Response, error) {
req, err := http.NewRequest(http.MethodGet, url, nil)
if err != nil {
return nil, err
}
req.Header.Add("x-access-token", token)
return d.client.Do(req)
}
+74
View File
@@ -0,0 +1,74 @@
package storage
// Uncomment to test locally, requires started metadata-storage for now
//import (
// "context"
// "github.com/owncloud/ocis/accounts/pkg/config"
// "github.com/owncloud/ocis/accounts/pkg/proto/v0"
// "github.com/stretchr/testify/assert"
// "testing"
//)
//
//var cfg = &config.Config{
// TokenManager: config.TokenManager{
// JWTSecret: "Pive-Fumkiu4",
// },
// Repo: config.Repo{
// CS3: config.CS3{
// ProviderAddr: "0.0.0.0:9215",
// DataURL: "http://localhost:9216",
// DataPrefix: "data",
// },
// },
//}
//
//func TestCS3Repo_WriteAccount(t *testing.T) {
// r, err := NewCS3Repo("hello", cfg)
// assert.NoError(t, err)
//
// err = r.WriteAccount(context.Background(), &proto.Account{
// Id: "fefef-egegweg-gegeg",
// AccountEnabled: true,
// DisplayName: "Mike Jones",
// Mail: "mike@example.com",
// })
//
// assert.NoError(t, err)
//}
//
//func TestCS3Repo_LoadAccount(t *testing.T) {
// r, err := NewCS3Repo("hello", cfg)
// assert.NoError(t, err)
//
// err = r.WriteAccount(context.Background(), &proto.Account{
// Id: "fefef-egegweg-gegeg",
// AccountEnabled: true,
// DisplayName: "Mike Jones",
// Mail: "mike@example.com",
// })
//
// acc := &proto.Account{}
// err = r.LoadAccount(context.Background(), "fefef-egegweg-gegeg", acc)
//
// assert.NoError(t, err)
// assert.Equal(t, "fefef-egegweg-gegeg", acc.Id)
// assert.Equal(t, "Mike Jones", acc.DisplayName)
// assert.Equal(t, "mike@example.com", acc.Mail)
//}
//
//func TestCS3Repo_DeleteAccount(t *testing.T) {
// r, err := NewCS3Repo("hello", cfg)
// assert.NoError(t, err)
//
// err = r.WriteAccount(context.Background(), &proto.Account{
// Id: "delete-me-id",
// AccountEnabled: true,
// DisplayName: "Mike Jones",
// Mail: "mike@example.com",
// })
//
// err = r.DeleteAccount(context.Background(), "delete-me-id")
//
// assert.NoError(t, err)
//}
+201
View File
@@ -0,0 +1,201 @@
package storage
import (
"context"
"encoding/json"
"io/ioutil"
"os"
"path/filepath"
"sync"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
olog "github.com/owncloud/ocis/ocis-pkg/log"
)
var groupLock sync.Mutex
// DiskRepo provides a local filesystem implementation of the Repo interface
type DiskRepo struct {
cfg *config.Config
log olog.Logger
}
// NewDiskRepo creates a new disk repo
func NewDiskRepo(cfg *config.Config, log olog.Logger) DiskRepo {
paths := []string{
filepath.Join(cfg.Repo.Disk.Path, accountsFolder),
filepath.Join(cfg.Repo.Disk.Path, groupsFolder),
}
for i := range paths {
if _, err := os.Stat(paths[i]); err != nil {
if os.IsNotExist(err) {
if err = os.MkdirAll(paths[i], 0700); err != nil {
log.Fatal().Err(err).Msgf("could not create data folder %v", paths[i])
}
}
}
}
return DiskRepo{
cfg: cfg,
log: log,
}
}
// WriteAccount to the local filesystem
func (r DiskRepo) WriteAccount(ctx context.Context, a *proto.Account) (err error) {
// leave only the group id
r.deflateMemberOf(a)
var bytes []byte
if bytes, err = json.Marshal(a); err != nil {
return err
}
path := filepath.Join(r.cfg.Repo.Disk.Path, accountsFolder, a.Id)
return ioutil.WriteFile(path, bytes, 0600)
}
// LoadAccount from the local filesystem
func (r DiskRepo) LoadAccount(ctx context.Context, id string, a *proto.Account) (err error) {
path := filepath.Join(r.cfg.Repo.Disk.Path, accountsFolder, id)
var data []byte
if data, err = ioutil.ReadFile(path); err != nil {
if os.IsNotExist(err) {
err = &notFoundErr{"account", id}
}
return
}
return json.Unmarshal(data, a)
}
// LoadAccounts loads all the accounts from the local filesystem
func (r DiskRepo) LoadAccounts(ctx context.Context, a *[]*proto.Account) (err error) {
root := filepath.Join(r.cfg.Repo.Disk.Path, accountsFolder)
infos, err := ioutil.ReadDir(root)
if err != nil {
return err
}
for i := range infos {
acc := &proto.Account{}
if e := r.LoadAccount(ctx, infos[i].Name(), acc); e != nil {
r.log.Err(e).Msg("could not load account")
continue
}
*a = append(*a, acc)
}
return nil
}
// DeleteAccount from the local filesystem
func (r DiskRepo) DeleteAccount(ctx context.Context, id string) (err error) {
path := filepath.Join(r.cfg.Repo.Disk.Path, accountsFolder, id)
if err = os.Remove(path); err != nil {
if os.IsNotExist(err) {
err = &notFoundErr{"account", id}
}
}
return
}
// WriteGroup to the local filesystem
func (r DiskRepo) WriteGroup(ctx context.Context, g *proto.Group) (err error) {
// leave only the member id
r.deflateMembers(g)
var bytes []byte
if bytes, err = json.Marshal(g); err != nil {
return err
}
path := filepath.Join(r.cfg.Repo.Disk.Path, groupsFolder, g.Id)
groupLock.Lock()
defer groupLock.Unlock()
return ioutil.WriteFile(path, bytes, 0600)
}
// LoadGroup from the local filesystem
func (r DiskRepo) LoadGroup(ctx context.Context, id string, g *proto.Group) (err error) {
path := filepath.Join(r.cfg.Repo.Disk.Path, groupsFolder, id)
groupLock.Lock()
defer groupLock.Unlock()
var data []byte
if data, err = ioutil.ReadFile(path); err != nil {
if os.IsNotExist(err) {
err = &notFoundErr{"group", id}
}
return
}
return json.Unmarshal(data, g)
}
// LoadGroups loads all the groups from the local filesystem
func (r DiskRepo) LoadGroups(ctx context.Context, g *[]*proto.Group) (err error) {
root := filepath.Join(r.cfg.Repo.Disk.Path, groupsFolder)
infos, err := ioutil.ReadDir(root)
if err != nil {
return err
}
for i := range infos {
grp := &proto.Group{}
if e := r.LoadGroup(ctx, infos[i].Name(), grp); e != nil {
r.log.Err(e).Msg("could not load group")
continue
}
*g = append(*g, grp)
}
return nil
}
// DeleteGroup from the local filesystem
func (r DiskRepo) DeleteGroup(ctx context.Context, id string) (err error) {
path := filepath.Join(r.cfg.Repo.Disk.Path, groupsFolder, id)
if err = os.Remove(path); err != nil {
if os.IsNotExist(err) {
err = &notFoundErr{"account", id}
}
}
return
}
// deflateMemberOf replaces the groups of a user with an instance that only contains the id
func (r DiskRepo) deflateMemberOf(a *proto.Account) {
if a == nil {
return
}
var deflated []*proto.Group
for i := range a.MemberOf {
if a.MemberOf[i].Id != "" {
deflated = append(deflated, &proto.Group{Id: a.MemberOf[i].Id})
} else {
// TODO fetch and use an id when group only has a name but no id
r.log.Error().Str("id", a.Id).Interface("group", a.MemberOf[i]).Msg("resolving groups by name is not implemented yet")
}
}
a.MemberOf = deflated
}
// deflateMembers replaces the users of a group with an instance that only contains the id
func (r DiskRepo) deflateMembers(g *proto.Group) {
if g == nil {
return
}
var deflated []*proto.Account
for i := range g.Members {
if g.Members[i].Id != "" {
deflated = append(deflated, &proto.Account{Id: g.Members[i].Id})
} else {
// TODO fetch and use an id when group only has a name but no id
r.log.Error().Str("id", g.Id).Interface("account", g.Members[i]).Msg("resolving members by name is not implemented yet")
}
}
g.Members = deflated
}
Loaded 100 of 1737 files, more files were not shown because too many files have changed in this diff. Show more