Compare commits

...
547 Commits
Author SHA1 Message Date
Michael Barz 69c55662d1 prepare 1.12.0 2021-09-15 10:27:56 +02:00
Benedikt Kulmann b4f6ebe96d Automated changelog update [skip ci] 2021-09-15 07:10:03 +00:00
Benedikt Kulmann 7682a73968 Merge pull request #2501 from owncloud/bump-web-4.2.0
[full-ci] Update deps & bump web to v4.2.0
2021-09-15 09:09:22 +02:00
pwengerter 997d69ae62 Update web to v4.2.0, bump JS deps, update expected failures 2021-09-15 00:35:57 +01:00
David Christofas 0e9e635672 Automated changelog update [skip ci] 2021-09-14 15:02:01 +00:00
David Christofas 05cb9a49fc Merge pull request #2477 from owncloud/update-reva
[full-ci] update reva
2021-09-14 11:01:33 -04:00
David Christofas 194d7af6f3 update reva to v1.13.0 2021-09-14 15:39:36 +02:00
Alex Unger 5283bf8b2b Merge pull request #2494 from owncloud/docs-storage-backend-cephfs 2021-09-14 09:53:23 +02:00
Jörn Friedrich Dreyer 6bf80daf66 explain sharding relationship with deprovisioning 2021-09-14 09:51:23 +02:00
Jörn Friedrich DreyerandAlex Unger 6f9a918818 Apply suggestions from code review
Co-authored-by: Alex Unger <6905948+refs@users.noreply.github.com>
2021-09-14 09:35:05 +02:00
Jörn Friedrich Dreyer c1b5e2f1cd final notes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-13 20:38:52 +00:00
Jörn Friedrich Dreyer 549d1058c5 file layout examples
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-13 20:30:38 +00:00
Jörn Friedrich Dreyer 804612077a flesh out cephfs aspects and future work 2021-09-13 22:04:14 +02:00
Jörn Friedrich Dreyer 13beef2fd4 describe cephfs architecture and tradeoffs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-13 18:20:24 +00:00
Alex Unger 47c2c3ad4f Automated changelog update [skip ci] 2021-09-09 18:50:01 +00:00
Alex Unger ecaee109d7 Merge pull request #2471 from owncloud/spaces-crud 2021-09-09 20:47:03 +02:00
A.Unger dc7dce552d update expected failures 2021-09-09 20:06:13 +02:00
A.Unger e9d760e70b Merge branch 'master' into spaces-crud 2021-09-08 21:45:01 +02:00
A.Unger 802fccfece update reva + otel deps 2021-09-08 20:58:27 +02:00
A.Unger 38031e19e2 update reva + otel deps 2021-09-08 17:12:23 +02:00
Willy Kloucek 33d3d13460 Merge pull request #2475 from owncloud/app_provider_add_icon
add icon to collabora app provider in deployment example
2021-09-08 14:34:22 +02:00
A.Unger d0a7bc4c59 update docs 2021-09-08 14:30:39 +02:00
A.Unger 86b9ada9b5 guard on ParseForm 2021-09-08 11:50:01 +02:00
A.Unger 321697828e defensive code 2021-09-08 11:27:14 +02:00
A.Unger 85cf747b4b docs: spaces POST docs 2021-09-08 11:05:26 +02:00
Willy Kloucek 379262ec8e add icon to collabora app provider in deployment example 2021-09-07 17:12:17 +02:00
A.Unger 81fa19fab2 dep: remove local replace 2021-09-07 16:44:29 +02:00
A.Unger 96a6bebcb8 spaces: enforce create-space permission 2021-09-07 16:30:14 +02:00
Willy Kloucek d07f1752d8 Automated changelog update [skip ci] 2021-09-07 13:11:41 +00:00
Willy Kloucek cac96b7e80 Merge pull request #2474 from owncloud/remove_non_working_route
remove non working proxy route and fix cs3 users example
2021-09-07 15:09:30 +02:00
A.Unger f406c7efd1 lint: comment exported function 2021-09-07 13:34:05 +02:00
A.Unger 81c56685ec spaces: move all to its handler 2021-09-07 13:33:22 +02:00
Willy Kloucek 41ced6621a add changelog 2021-09-07 13:32:24 +02:00
Willy Kloucek 3aa519c9de remove non working proxy route and fix cs3 users example 2021-09-07 13:06:37 +02:00
Phil Davis 7d26172b2c Merge pull request #2473 from owncloud/bumpCommitId-2021-09-07
[tests-only]Bump core commit id
2021-09-07 16:25:03 +05:45
Swikriti Tripathi 16d1846c62 Bump core commit id 2021-09-07 14:41:29 +05:45
Juan Pablo Villafañez 35c27afcb6 Automated changelog update [skip ci] 2021-09-06 14:20:58 +00:00
Juan Pablo Villafañez 2ef33dc608 Set english as default language (#2465)
* Set english as default language

* Add changelog entry

* Adjust acceptance test
2021-09-06 15:20:13 +01:00
A.Unger c42546e9af spaces: WIP CreateStorageSoace 2021-09-06 12:10:23 +02:00
Jörn Friedrich Dreyer bb1b50c8e4 Merge pull request #2411 from owncloud/userprovider-owncloudsql
add userprovider owncloudsql
2021-09-03 18:43:11 +02:00
Jörn Friedrich Dreyer 990dd8de2e add userprovider owncloudsql
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-03 16:38:47 +02:00
Alex Unger 859aab82fc Merge pull request #2457 from owncloud/fix-2453 2021-09-03 16:23:47 +02:00
A.Unger 8ba432e117 Merge branch 'master' into fix-2453 2021-09-03 15:35:52 +02:00
A.Unger 84d6962d15 update reva to latest master 2021-09-03 15:15:32 +02:00
Willy Kloucek dff0ea4f0f Automated changelog update [skip ci] 2021-09-03 12:34:49 +00:00
Willy Kloucek f3ed9f5ff3 Merge pull request #2204 from owncloud/add_reva_app_provider
add app provider and app provider registry
2021-09-03 14:34:16 +02:00
Willy Kloucek a07c1e77a0 Merge pull request #2464 from owncloud/add_developer_access_to_continously_deployed_instances
add developer ssh access to continously deployed instances
2021-09-02 13:47:31 +02:00
Willy Kloucek 4db57dfe3c add developer ssh access to continously deployed instances 2021-09-02 11:33:44 +02:00
Alex Unger ad3c3471e1 Automated changelog update [skip ci] 2021-09-01 16:19:56 +00:00
Alex Unger 45844aee4e Merge pull request #2461 from owncloud/create-space-permission
add create space permission
2021-09-01 18:18:53 +02:00
David Christofas 5340a96169 add create space permission 2021-09-01 17:13:59 +02:00
David Christofas ab0dfb97e9 Automated changelog update [skip ci] 2021-09-01 15:11:27 +00:00
David Christofas 1ab1fb9990 Merge pull request #2459 from owncloud/set-quota-permission
add set space quota permission
2021-09-01 11:10:52 -04:00
David Christofas aeafa46c88 add set space quota permission 2021-09-01 15:25:53 +02:00
A.Unger bee17dbe29 tracing: fix exporter config 2021-09-01 14:36:13 +02:00
A.Unger 1c1f5c9167 tracing: use tracing agent instead of collector 2021-09-01 14:22:54 +02:00
Willy Kloucek acb18756c5 update reva 2021-09-01 12:51:49 +02:00
Willy Kloucek 29e3fbd02f add appprovider frontend route 2021-09-01 12:50:03 +02:00
Willy Kloucek 5cbf3f7a88 add app name 2021-09-01 12:50:03 +02:00
Willy Kloucek 53c5c8d278 add frontend service 2021-09-01 12:50:03 +02:00
Willy Kloucek 1664a10f0f always set config 2021-09-01 12:50:03 +02:00
Willy Kloucek e2a7cf7809 add additional config options from cs3org/reva#1968 2021-09-01 12:50:03 +02:00
Willy Kloucek 439e5729a8 remove additional appprovider 2021-09-01 12:50:03 +02:00
Willy Kloucek ead395c4df add changelog 2021-09-01 12:50:03 +02:00
Willy Kloucek 4210ddcf52 adpat useage of in deployment example 2021-09-01 12:50:03 +02:00
Willy Kloucek a1e1fbbe49 fix startup without active appprovider driver 2021-09-01 12:50:03 +02:00
Willy Kloucek a909141bca adapt to new storage provider settings 2021-09-01 12:50:03 +02:00
Willy Kloucek d41bc5e1b8 fix URL naming 2021-09-01 12:50:03 +02:00
Willy Kloucek df6359807b add reva app provider 2021-09-01 12:50:02 +02:00
Viktor Scharf 7b1a7b20f1 Merge pull request #2455 from owncloud/add-labels
[docs-only] add storage labels
2021-09-01 10:38:11 +02:00
Michael Barz 62d5e8f56e add storage labels 2021-09-01 10:31:31 +02:00
Willy Kloucek 413b88863b Merge pull request #2450 from owncloud/adapt_examples_to_non_root_image
adapt examples to non-root docker image
2021-08-31 12:45:44 +02:00
Pascal Wengerter 32241b5a1c Merge pull request #2420 from owncloud/19082021_js-dependencies
Update accounts, idp, settings JS dependencies
2021-08-31 08:43:49 +01:00
David Christofas d714cdae69 Automated changelog update [skip ci] 2021-08-30 16:47:38 +00:00
David Christofas f064777baa Merge pull request #2451 from owncloud/upgrade_go_micro_3.6.0
upgrade go micro and all modules to v3.6.0
2021-08-30 12:47:06 -04:00
Willy Kloucek 69a26a81f3 Merge pull request #2452 from owncloud/hint_about_service_startup_time
[docs-only] add hint about service startup time
2021-08-30 18:25:56 +02:00
pwengerter b888774675 Bump accounts, idp & settings dependencies, cleanup settings (dev)Deps 2021-08-30 17:23:37 +01:00
Willy Kloucek 1aa382c9f6 add hint about service startup time 2021-08-30 18:03:57 +02:00
Willy Kloucek 1ff029110c add changelog 2021-08-30 17:45:51 +02:00
Willy Kloucek a8e908aebd upgrade go micro and all modules to v3.6.0 2021-08-30 17:43:28 +02:00
Willy Kloucek d6f6e8dc9f adapt examples to non-root docker image 2021-08-30 09:34:29 +02:00
Willy Kloucek a2aca08fa7 Merge pull request #2449 from owncloud/fix_generate
fix `make generate`
2021-08-30 09:25:42 +02:00
Willy Kloucek 95dd76e3d0 fix make generate 2021-08-30 08:40:45 +02:00
Phil Davis c7d4f179c2 Merge pull request #2443 from owncloud/adjust-expectedtofail
[tests-only] [full-ci]Adjust expected to fail for file target issue
2021-08-30 12:20:26 +05:45
Swikriti Tripathi b388954dc7 Adjust expected to fail for file target issue and bump core commit id 2021-08-30 11:13:58 +05:45
Phil Davis 4694889379 Merge pull request #2444 from owncloud/dirkstascheit-patch-1
[docs-only] Update _index.md
2021-08-27 16:06:01 +05:45
Dirk Stascheit 0328ce9134 Update _index.md
updated version numbers from 1.10 to 1.11
2021-08-27 10:21:44 +02:00
Florian Schade 1c94346333 Automated changelog update [skip ci] 2021-08-25 14:43:12 +00:00
Florian Schade d68132fe49 Merge pull request #2431 from owncloud/release-1.11.0
[full-ci] Release 1.11.0
2021-08-25 16:36:24 +02:00
Florian Schade 8d8e3266c0 void 2021-08-25 15:28:02 +02:00
Patrick Maier fa9dd800ed add more items based on reva 1.12 changelog 2021-08-25 15:28:02 +02:00
Patrick Maier 919108fce2 [docs-only] 1.11 Release Notes 2021-08-25 15:28:02 +02:00
Florian Schade 392caa1570 move changelogs 2021-08-25 15:28:02 +02:00
Phil Davis e8fe1f2b70 Merge pull request #2434 from owncloud/bumpCommitId-2021-08-25
[Tests-Only][full-ci]Update core commit id
2021-08-25 17:05:58 +05:45
Jasmine Baral 2c86912b46 Update core commit id 2021-08-25 15:06:10 +05:45
Alex Unger 45bd133a70 Automated changelog update [skip ci] 2021-08-25 07:40:19 +00:00
Alex Unger c996b6462b Merge pull request #2429 from rhafer/chi-v5 2021-08-25 09:36:44 +02:00
Ralf Haferkamp 3a42fdc578 Move to go-chi/chi v5 2021-08-24 17:48:37 +02:00
Ralf Haferkamp 8042db13ad Bump protoc-gen-microweb to the latest commit
To be able to move to chi/v5
2021-08-24 17:47:57 +02:00
Pascal Wengerter ea35cbb6be Automated changelog update [skip ci] 2021-08-24 14:09:23 +00:00
Pascal Wengerter a150e5f6b4 Merge pull request #2433 from owncloud/remove-onlyoffice-service
Remove onlyoffice extension
2021-08-24 15:06:03 +01:00
pwengerter a24fe109cc Remove onlyoffice extension 2021-08-24 14:15:20 +01:00
David Christofas 8e5b975b7f Automated changelog update [skip ci] 2021-08-24 09:17:16 +00:00
David Christofas 33581530f3 Merge pull request #2423 from owncloud/update-reva
update reva to v1.12
2021-08-24 05:11:11 -04:00
David Christofas f902633a6b update reva to v1.12 2021-08-24 10:22:10 +02:00
Florian Schade 291b5fa3f5 Automated changelog update [skip ci] 2021-08-21 05:06:32 +00:00
Florian Schade 892b6962ff Merge pull request #2426 from owncloud/update-web-4.1.0
[full-ci] Bump web to v4.1.0
2021-08-21 06:59:11 +02:00
pwengerter 84f2914a82 Adjust expected failures for new web 4.1.0 release 2021-08-20 19:56:27 +01:00
pwengerter 08d26b2ff1 Bump web to v4.1.0 2021-08-20 17:24:58 +01:00
Ralf Haferkamp 63a6d9c73f Merge pull request #2424 from rhafer/broken-link
[docs-only] Fix another broken link
2021-08-20 15:52:23 +02:00
Ralf Haferkamp f79e7658a6 Fix another broken link 2021-08-20 14:58:56 +02:00
Phil Davis fad056564a Merge pull request #2419 from sakshamgurung/subadmin-related-expected-failures
[tests-only] [full-ci] core id bump
2021-08-20 15:32:32 +05:45
sakshamgurung 2c107a4bfe update expected failures list 2021-08-20 14:28:58 +05:45
Phil Davis 765f94bf6a Merge pull request #2395 from owncloud/adjustExpectedFailuresForReshare
[Tests-Only][full-ci]Adjust Expected Failures
2021-08-19 17:40:38 +05:45
Jasmine Baral ed86c9da84 Adjust Expected Failures 2021-08-19 16:02:31 +05:45
Alex Unger 50c37d9bbd Merge pull request #2372 from owncloud/remake-traces 2021-08-18 16:12:54 +02:00
A.Unger 46f0d6f7e4 remove dead code 2021-08-18 14:06:02 +02:00
Alex UngerandDavid Christofas 06fda516ec Update proxy/pkg/middleware/accesslog.go
Co-authored-by: David Christofas <dchristofas@owncloud.com>
2021-08-18 14:03:19 +02:00
Swikriti Tripathi aeebf76127 Merge pull request #2414 from owncloud/run-tests-from-enforce-token-auth
[full-ci] [tests-only] Remove ocsGETAuth.feature:243 from expected to fail and update commit id
2021-08-18 16:54:14 +05:45
Swikriti Tripathi 65dcb1685a Remove ocsGETAuth.feature:243 from expected to fail and update commit id 2021-08-18 15:57:30 +05:45
A.Unger 0f0d305f6d linter: fix var name 2021-08-18 11:25:44 +02:00
Alex Unger 7dac10b3b7 Merge pull request #2409 from owncloud/adr-traces-2021 2021-08-18 11:16:12 +02:00
A.Unger 1dd4644370 fix requestid 2021-08-18 11:10:50 +02:00
Alex Unger 3947531ae0 Merge pull request #2415 from owncloud/update-adr-0011
[docs-only] move adr 0011 to the accepted state
2021-08-18 10:36:47 +02:00
David Christofas af7e6d1176 move adr 0011 to the accepted state 2021-08-18 10:32:10 +02:00
A.Unger a7d89c7065 Merge branch 'master' into remake-traces 2021-08-18 10:00:55 +02:00
Phil Davis 42e19037e0 Merge pull request #2412 from owncloud/adjust-expected-failures-1250
[full-ci] [tests-only] Sort out expected-failures for share expiration date
2021-08-18 11:29:54 +05:45
Phil Davis 5d7064ab17 Bump core commit id for tests 2021-08-18 09:47:21 +05:45
Phil Davis eee4a80d71 Sort out expected-failures for share expiration dat 2021-08-17 20:19:52 +05:45
David Christofas 3c0ce6180f Automated changelog update [skip ci] 2021-08-17 14:18:53 +00:00
David Christofas 6552bf0c34 Merge pull request #2410 from owncloud/update-reva
[full-ci] IUpdate reva to v1.11.1-0.20210817090727-aaf1fb8b8ead
2021-08-17 10:18:09 -04:00
A.Unger 7d22a4bee1 update go.sum 2021-08-17 15:12:51 +02:00
A.Unger dbf8e6873b deps: update reva to v1.11.1-0.20210817090727-aaf1fb8b8ead 2021-08-17 14:01:34 +02:00
A.Unger 21e6aab85e deps: update reva 2021-08-17 13:52:34 +02:00
A.Unger 50381b2225 remove deprecated config option 2021-08-17 13:31:15 +02:00
A.Unger aac45a46f4 Merge branch 'master' into remake-traces 2021-08-17 13:29:05 +02:00
A.Unger 021086e024 adr: 0012-tracing 2021-08-17 13:24:38 +02:00
Phil Davis e4cab1e781 Merge pull request #2407 from rhafer/changelog
[docs-only] Add missing changelog entry
2021-08-16 21:14:32 +05:45
Ralf Haferkamp 63e6660ca4 Add missing changelog entry 2021-08-16 17:24:19 +02:00
Pascal Wengerter 3782813ea1 Merge pull request #2400 from owncloud/16082021_bump-js-deps
Supersede dependabot bumps
2021-08-16 12:48:06 +01:00
pwengerter cb4b16ce8e Supersede dependabot bumps 2021-08-16 12:10:46 +01:00
David Christofas 72c114c301 Merge pull request #2399 from owncloud/fix-dependabot-path
[docs-only] fix the directory path for dependabot
2021-08-16 05:30:55 -04:00
David Christofas d74818b18f fix the directory path for dependabot
The repository now only holds one go.mod file at the root of the repository.
2021-08-16 10:47:47 +02:00
Michael Barz 6b006fdf0e [tx] updated from transifex 2021-08-16 01:01:39 +00:00
Jörn Friedrich Dreyer 5e5f7ec402 Merge pull request #2397 from owncloud/fix-env-var-1
fix wrongly named env var
2021-08-13 17:02:22 +02:00
Jörn Friedrich Dreyer a68a116c54 fix wrongly named env var 2021-08-13 15:40:13 +02:00
Jörn Friedrich Dreyer 6485391fe9 Merge pull request #2388 from rhafer/cleanup
Fix naming of the user- and groupprovider services
2021-08-13 15:04:09 +02:00
Jörn Friedrich Dreyer fc97f52f06 Merge pull request #2396 from owncloud/update_reva_2021_08_13
pull in owncloudsql fixes from reva
2021-08-13 15:03:03 +02:00
Willy Kloucek 018db1018a update reva 2021-08-13 14:12:33 +02:00
David Christofas 7c5fa2c114 Automated changelog update [skip ci] 2021-08-13 10:26:28 +00:00
David Christofas a2d2671bf3 Merge pull request #2393 from owncloud/update-go-oidc
update github.com/coreos/go-oidc to version 3.0.0
2021-08-13 06:25:46 -04:00
David Christofas 44abfe478d Merge pull request #2394 from owncloud/update-dependencies
update various dependencies
2021-08-13 06:13:05 -04:00
David Christofas 3e3ceeafee update various dependencies 2021-08-13 11:04:56 +02:00
David Christofas ed85fedf1a update github.com/coreos/go-oidc to version 3.0.0 2021-08-13 09:55:17 +02:00
A.Unger e62a9b6a36 Merge branch 'master' into remake-traces 2021-08-13 09:43:31 +02:00
Jörn Friedrich Dreyer dbb228349a Automated changelog update [skip ci] 2021-08-12 20:10:41 +00:00
Jörn Friedrich Dreyer 8bda1d1bb0 Merge pull request #2380 from owncloud/non-root-docker-image
make image not using root user
2021-08-12 22:06:27 +02:00
Jörn Friedrich Dreyer bbac85d4c4 Merge pull request #2391 from owncloud/update-bleve
update bleve to version 2.1.0
2021-08-12 22:04:59 +02:00
David Christofas 1cf4594211 Merge pull request #2389 from owncloud/replace-middlewares
use go-chi middlewares
2021-08-12 17:52:04 +02:00
David Christofas 7bd2d73bb3 update bleve to version 2.1.0 2021-08-12 17:33:12 +02:00
David Christofas 35b206b230 Automated changelog update [skip ci] 2021-08-12 15:25:27 +00:00
David Christofas eacdb8fa2f Merge pull request #2386 from owncloud/switch-jwt-lib
switch jwt library
2021-08-12 17:24:57 +02:00
David Christofas 3bc60510ce use go-chi middlewares
go-chi already delivers the middlewares we need so we don't need to import other libraries for that.
2021-08-12 17:14:41 +02:00
David Christofas b8150f25b8 switch jwt library
The old library github.com/dgrijalva/jwt-go is now unmaintained and was replaced by the community maintained fork github.com/golang-jwt/jwt
2021-08-12 16:53:17 +02:00
Ralf Haferkamp 8817e2bae3 Fix naming of the user- and groupprovider services
The services ared called "storage-userprovider" and "-groupprovider".
The 'ocis help' output was missleading. This also renames the structs
accordingly.
2021-08-12 16:11:07 +02:00
Willy Kloucek 41b26a3eb7 add changelog 2021-08-12 15:11:48 +02:00
Willy Kloucek a8d78c06cd use uid and gid 1000 2021-08-12 15:11:48 +02:00
Willy Kloucek 1468abe4e9 change USER statement to use the UID 2021-08-12 15:11:48 +02:00
Willy Kloucek 305ef58b73 make image not using root user 2021-08-12 15:11:48 +02:00
David Christofas 2927dc45c3 Automated changelog update [skip ci] 2021-08-12 12:08:48 +00:00
David Christofas 2f4d065463 Merge pull request #2385 from owncloud/reva-update-ec4099da
[full-ci] update reva to 756bdced1d22
2021-08-12 14:08:17 +02:00
Jörn Friedrich Dreyer 6c7bbd936a Merge pull request #2379 from owncloud/remove_goverage
remove goverage
2021-08-12 13:08:21 +02:00
Jörn Friedrich Dreyer 55aacdea13 update reva to ec4099da
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-08-12 11:08:10 +00:00
A.Unger 6403e5c7e5 go mod: tidy 2021-08-12 12:19:56 +02:00
A.Unger 85848f1342 Merge branch 'master' into remake-traces 2021-08-12 12:19:32 +02:00
A.Unger 8499187315 add x-request-id to proxy root span 2021-08-12 12:13:52 +02:00
A.Unger 778ad717df config: add reva required config 2021-08-12 11:18:55 +02:00
Jörn Friedrich Dreyer eb0b805b63 Merge pull request #2384 from owncloud/dirkstascheit-patch-1
[docs-only] Update _index.md
2021-08-11 15:34:48 +02:00
Dirk Stascheit a5d2d8b676 Update _index.md
updated ocis package version number to 1.10
2021-08-11 14:10:06 +02:00
Jörn Friedrich Dreyer 648cfd0f43 Merge pull request #2371 from rhafer/kconnnect-to-lico
Move from kc/konnect to libregraph/lico
2021-08-11 13:16:03 +02:00
Willy Kloucek d68b942832 remove goverage 2021-08-11 09:21:59 +02:00
Phil Davis 41196732c9 Merge pull request #2375 from owncloud/bump-commit-ids
[full-ci] [tests-only] Bump commit ids for tests
2021-08-11 11:35:44 +05:45
saw-jan c11137f817 update expected-failure file 2021-08-11 10:06:53 +05:45
Ralf Haferkamp 6dd5be25fc Move from kc/konnect to libregraph/lico
This switches the oidc implementation to libregraph/lico, which for now
is just a rename of kc/konnect. As there is no working lico release yet
(lico 0.34.0 wasn't fully renamed), we point it to the current master.
2021-08-10 16:25:26 +02:00
Phil Davis e4b7c633cd Merge pull request #2377 from rhafer/dangling-links
[docs-only] docs: Fix some dangling links
2021-08-10 19:32:25 +05:45
Ralf Haferkamp a41e4b0ff6 docs: Fix some dangling links 2021-08-10 15:24:33 +02:00
saw-jan 698c094f9b bump commit ids for tests 2021-08-10 15:18:20 +05:45
Willy Kloucek 969fa540a2 Automated changelog update [skip ci] 2021-08-10 09:30:00 +00:00
Willy Kloucek 834a146c05 Merge pull request #2367 from owncloud/release-1.10.0
[full-ci] Release 1.10.0
2021-08-10 11:29:06 +02:00
Florian Schade 727042279f Merge pull request #2359 from owncloud/pmaier1-patch-1-1
[docs-only] oCIS 1.10.0 Release Notes
2021-08-10 09:22:57 +02:00
A.Unger 8a80b990a8 safer code 2021-08-10 00:09:39 +02:00
A.Unger 1ed38e1f3b guard against unconfigured tracer 2021-08-09 23:18:03 +02:00
Phil Davis b98761eaa4 Remove passing more tests from expected-failures 2021-08-09 23:25:55 +05:45
Phil Davis 78cd35db29 Remove passing tests from expected-failures 2021-08-09 22:45:53 +05:45
Florian Schade f2d36f6638 update reva to v1.11.1-0.20210809134415-3fe79c870fb5 2021-08-09 18:19:14 +02:00
A.Unger ad994ded16 more refactoring 2021-08-09 18:15:34 +02:00
A.Unger b13863b717 refactor traceprovider initialization 2021-08-09 18:03:01 +02:00
A.Unger 6fc2b7503d add tracing utils to ocis-pkg 2021-08-09 17:45:31 +02:00
A.Unger 4a817959ef fix middleware chain 2021-08-09 17:37:58 +02:00
A.Unger ac087d0dae replace opencensus everywhere 2021-08-09 17:28:00 +02:00
A.Unger fe530e9a27 prevent having a nil traceprovider 2021-08-09 17:14:36 +02:00
A.Unger 2a60b6b933 replace go.opencensus.io with opentelemetry in thumbnails 2021-08-09 16:15:22 +02:00
A.Unger f5c3b49d12 replace go.opencensus.io with opentelemetry in store 2021-08-09 16:00:51 +02:00
A.Unger 45f29fdc98 replace go.opencensus.io with opentelemetry in idp 2021-08-09 15:58:36 +02:00
A.Unger 500a77f005 Merge branch 'master' into remake-traces 2021-08-09 15:52:19 +02:00
A.Unger 0eb403d658 replace go.opencensus.io with opentelemetry 2021-08-09 15:52:06 +02:00
A.Unger 43a97f6bac remove redundant middleware 2021-08-09 15:47:53 +02:00
Patrick MaierandBenedikt Kulmann 0d13830203 Update docs/ocis/release_notes.md
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2021-08-09 13:31:57 +02:00
Phil Davis 30c7f58eb6 Merge pull request #2370 from owncloud/bump-commit-ids-20210807
[tests-only] [full-ci] Bump commit ids for tests
2021-08-07 10:27:26 +05:45
Phil Davis b74a0a6829 Bump commit ids for tests 2021-08-07 08:53:29 +05:45
A.Unger 2bdd07e41b add test spans 2021-08-06 15:47:46 +02:00
Willy Kloucek dc957c3722 Automated changelog update [skip ci] 2021-08-06 13:23:14 +00:00
Willy Kloucek 283ecc28c9 Merge pull request #2364 from ishank011/user-type
Specify primary user type for all accounts
2021-08-06 15:22:45 +02:00
Florian Schade 3022479052 remove unused web-config.json 2021-08-06 15:22:22 +02:00
Ishank Arora 10b9fee60e Specify primary user type for all accounts 2021-08-06 14:16:34 +02:00
Willy Kloucek ccf0c18f32 Merge pull request #2368 from owncloud/fix-stop-recent-builds-fork
[CI][docs-only] fix stop-recent-builds for forks
2021-08-06 14:14:45 +02:00
Willy Kloucek 8b65d74a44 fix stop-recent-builds for forks 2021-08-06 14:10:17 +02:00
A.Unger 33b1524f15 Merge branch 'master' into remake-traces 2021-08-06 13:52:30 +02:00
A.Unger 8301a7e7a3 propagate trace from ocs to proxy 2021-08-06 13:46:54 +02:00
A.Unger feed3e589b add tracing middleware to ocs middleware chain 2021-08-06 13:33:14 +02:00
A.Unger 9f96321c1c add tracing middleware to proxy middleware chain 2021-08-06 13:32:25 +02:00
A.Unger 9f50776b17 enable traces in proxy 2021-08-06 13:29:40 +02:00
Florian Schade 35979955e6 prepare changelog for release-1.10.0
update sonar project to 1.10.0
2021-08-06 13:12:33 +02:00
A.Unger 93f13388dd add OCIS_TRACING_* flags to all extensions 2021-08-06 11:51:36 +02:00
A.Unger 8e5ef03f9f run go mod tidy 2021-08-06 11:51:25 +02:00
A.Unger 6b1c8d1bf0 add otel dependencies 2021-08-06 11:37:04 +02:00
A.Unger 0e59776d72 remove tracing from ocis/ocis 2021-08-06 11:29:38 +02:00
Willy Kloucek 737cca6600 Merge pull request #2366 from owncloud/fix_docs_sync
[docs-only] fix docs sync after owncloud/owncloud.github.io#29 and bump hugo
2021-08-06 11:02:08 +02:00
Willy Kloucek 84412bd9c1 fix docs sync after https://github.com/owncloud/owncloud.github.io/pull/29 and bump hugo 2021-08-06 10:55:16 +02:00
Patrick Maier 4b35da08c6 Add hint to ONLYOFFICE integration docs 2021-08-06 10:11:41 +02:00
Phil Davis 5c550ecbb4 Merge pull request #2351 from owncloud/remove-owncloud-driver
[tests-only] remove the owncloud storage driver from CI
2021-08-06 09:14:22 +05:45
David Christofas d2cb1fbd7c remove the owncloud storage driver from CI 2021-08-06 08:13:18 +05:45
Florian Schade 23c9a3156c Automated changelog update [skip ci] 2021-08-05 19:18:16 +00:00
Florian Schade 396c24a73c Merge pull request #2355 from owncloud/update-reva-v1.11.0
[full-ci] update reva to v1.11.0
2021-08-05 21:15:23 +02:00
Phil Davis 8a645f6ac6 Remove another passing web test from expected-failures 2021-08-05 22:12:52 +05:45
Ralf Haferkamp 8bd46f2f5f Merge pull request #2357 from rhafer/doc-fixes
[docs-only] Add note about remote setup to quickstart
2021-08-05 17:11:34 +02:00
Pascal Wengerter 459932c701 Merge pull request #2352 from owncloud/04082021_update-js-deps
[full-ci] Update accounts, settings, idp, onlyoffice dependencies
2021-08-05 16:36:06 +02:00
Florian Schade dbca0a6f0b fix expected failures
update changelog
2021-08-05 16:35:39 +02:00
Phil Davis 5c122fb882 Remove passing web tests from expected-failures 2021-08-05 19:45:02 +05:45
Pascal Wengerter 104b56a04c Update accounts, settings, idp, onlyoffice dependencies 2021-08-05 14:45:37 +02:00
Patrick Maier e621fa6a64 corrections 2021-08-05 14:42:15 +02:00
Patrick Maier 1d6f56f737 Update release_notes.md
- Adds oCIS 1.10.0 and Web 4.0.0 Release Notes
- Reworks oCIS 1.9.0 Release Notes to include Web 3.4.1 changes
2021-08-05 14:35:03 +02:00
Phil Davis 57c9c13129 Remove passing tests from expected-failures 2021-08-05 18:13:17 +05:45
Florian Schade da3d25f0f3 merge reva update changelogs 2021-08-05 13:48:48 +02:00
Florian Schade bfc891950e update reva to v1.11.0 2021-08-05 13:48:48 +02:00
Phil Davis d13f3b53e9 Automated changelog update [skip ci] 2021-08-05 11:39:56 +00:00
Phil Davis aab73be154 Merge pull request #2353 from owncloud/update-web-4.0.0
[full-ci] Update web to 4.0.0
2021-08-05 17:24:16 +05:45
Phil Davis ed3a5a7f5f Split web UI test pipelines 2021-08-05 15:34:32 +05:45
Ralf Haferkamp 07d5dd345d Fix documentation links in example deployments 2021-08-05 08:58:51 +02:00
Phil Davis 309374cda5 Adjust expected-failures for different web test scenarios 2021-08-05 10:09:46 +05:45
Pascal Wengerter 92e232ce62 Bump web commit ID to latest 2021-08-04 18:07:50 +02:00
Benedikt Kulmann 2b6b92a134 Update web to 4.0.0 2021-08-04 17:34:11 +02:00
Ralf Haferkamp d27e939ec2 deployment: add missing examples to the list 2021-08-04 17:03:20 +02:00
Ralf Haferkamp 31f80748cc getting_started: add a hint about remote access 2021-08-04 17:03:20 +02:00
Ralf Haferkamp d10f6a3b73 Remove references to collabora and wopi from ocis_hello example 2021-08-04 17:03:20 +02:00
Ralf Haferkamp 22cb67c3a4 doc: Fix some markdown issues
- Fix links in ocis_s3 and ocis_hello
- Fix formatting for bash commands
2021-08-04 17:03:20 +02:00
Phil Davis 69dfdeac0d Merge pull request #2345 from owncloud/bump-core-commit-id
[tests-only] Bump core commit to include more previews tests
2021-08-04 11:44:49 +05:45
Phil Davis 508fa8c7cf Bump core commit id to include more previews tests 2021-08-04 08:56:56 +05:45
Phil Davis c961de1d57 Remove apiBugDemonstration test suite 2021-08-04 08:56:56 +05:45
Jörn Friedrich Dreyer b0fd0b1ef5 Automated changelog update [skip ci] 2021-08-03 20:04:05 +00:00
Jörn Friedrich Dreyer 30e0a09aa5 Merge pull request #2344 from labkode/one-go-mod-rule-them-all
one mod file
2021-08-03 21:59:01 +02:00
Hugo Gonzalez Labrador e1f6a109cc add changelog 2021-08-03 15:00:58 +02:00
Hugo Gonzalez Labrador 9e09bbffc9 one mod file 2021-08-03 14:28:22 +02:00
Phil Davis 499b85e865 Merge pull request #2337 from owncloud/cancelOldBuilds
[Tests-Only] Cancel old builds for same pr
2021-08-03 17:58:22 +05:45
Jasmine Baral 8e729c9eae first commit 2021-08-03 16:58:33 +05:45
Phil Davis cbe1bbf432 Merge pull request #2341 from owncloud/review-local-api-tests
[tests-only][full-ci]remove api bug demonstration scenarios that are covered by exected-to…
2021-08-03 16:28:46 +05:45
Benedikt Kulmann d30670450a Automated changelog update [skip ci] 2021-08-02 14:53:12 +00:00
Benedikt Kulmann 4d9612ae29 Merge pull request #2309 from owncloud/16072021_a11y-fixes
A11y improvements for IDP service & update embed.go
2021-08-02 16:52:44 +02:00
Swikriti Tripathi 73f45deed6 changes made in expected to fail file 2021-08-02 16:31:33 +05:45
Swikriti Tripathi 672350af9e remove api bug demonstration scenarios that are covered by exected-to-fail-file 2021-08-02 13:23:50 +05:45
Michael Barz 3747531774 Automated changelog update [skip ci] 2021-08-02 06:59:13 +00:00
Michael Barz fba3688f2e Merge pull request #2328 from ishank011/ocs-cache-warmup
Add ocs cache warmup config and warn on protobuf ns conflicts
2021-08-02 08:58:33 +02:00
Phil Davis ad0e7fe38d Merge pull request #2334 from owncloud/update_reva_4f819b44e544
[full-ci] update reva to 4f819b44e544
2021-07-30 19:27:28 +05:45
Willy Kloucek 92e7e1b509 update reva 2021-07-30 14:09:02 +02:00
Willy Kloucek 4fdd65ed16 add failing web tests to expected failures 2021-07-30 13:52:11 +02:00
Willy Kloucek 982ac391a6 fix expected failures 2021-07-30 13:52:11 +02:00
Willy Kloucek 54da37850a remove fixed bug demonstrations 2021-07-30 13:52:11 +02:00
Benedikt Kulmann 8703b091a6 Merge pull request #2307 from owncloud/doc/idp-theming
[docs-only] add how to theme idp
2021-07-30 12:03:18 +02:00
Alex Unger a51ab55368 Automated changelog update [skip ci] 2021-07-30 08:36:18 +00:00
Alex Unger 6bc06dad8c Merge pull request #2336 from owncloud/update-glauth 2021-07-30 10:35:41 +02:00
Jörn Friedrich Dreyer afffb3e09c update expected failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-29 22:59:57 +02:00
Jörn Friedrich Dreyer c7c944e07e update glauth to 20210729125545-b9aecdfcac31
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-29 22:22:23 +02:00
Michael Barz 1288314946 Merge pull request #2335 from owncloud/document_transfer_secret
[docs-only] document storage transfer token
2021-07-29 16:38:03 +02:00
Michael Barz 480d57b13d Merge pull request #2306 from owncloud/simplify_traefik_configuration
[deployment examples] simplify traefik configuration
2021-07-29 16:37:54 +02:00
Willy Kloucek 08047e1d83 document storage transfer token 2021-07-29 16:05:25 +02:00
Lukas Hirt 391e451e41 docs: mention different idp pages 2021-07-29 14:32:30 +02:00
Phil Davis 11722a3b4d Merge pull request #2331 from owncloud/bump-commit-id-20210728
[tests-only][full-ci]Bump commit id 20210728
2021-07-29 10:45:06 +05:45
Swikriti Tripathi 27882a29c6 bump core commit id and update expected to fail file 2021-07-29 09:29:36 +05:45
Michael Barz 288e35a390 Merge pull request #2269 from owncloud/private-link-as-route
[docs-only] URL Design ADR
2021-07-28 12:04:02 +02:00
Pascal Wengerter 5c1e1e602e A11y improvements for IDP service & update various web-ish embed.go's 2021-07-27 17:18:39 +02:00
Pascal Wengerter cc8273f048 Merge pull request #2325 from owncloud/dependabot/npm_and_yarn/idp/react-intl-5.20.6
Bump react-intl from 5.13.2 to 5.20.6 in /idp
2021-07-27 17:14:19 +02:00
Michael Barz 2bc7657cd2 add short urls to the proposal 2021-07-27 11:42:15 +02:00
Ishank Arora f7867e42f5 Add ocs cache warmup config and warn on protobuf ns conflicts 2021-07-26 16:45:43 +02:00
Jörn Friedrich Dreyer 5825a9b957 Automated changelog update [skip ci] 2021-07-26 13:21:27 +00:00
Jörn Friedrich Dreyer 968c9b75d8 Merge pull request #2095 from owncloud/oidc-token-basic-auth
forward basic auth to OpenID connect token authentication endpoint
2021-07-26 15:20:57 +02:00
Jörn Friedrich Dreyer c3951d67c8 forward basic auth to OpenID connect token authentication endpoint
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-26 11:12:33 +00:00
Phil Davis d6a3da57c6 Merge pull request #2321 from owncloud/bump-test-commit-id-20210723
[tests-only] [full-ci] Bump core commit id for tests
2021-07-26 14:41:00 +05:45
dependabot[bot] 789b8de6b2 Bump react-intl from 5.13.2 to 5.20.6 in /idp
Bumps [react-intl](https://github.com/formatjs/formatjs) from 5.13.2 to 5.20.6.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/compare/react-intl@5.13.2...react-intl@5.20.6)

---
updated-dependencies:
- dependency-name: react-intl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 06:18:52 +00:00
Phil Davis a168a60724 Adjust expected-failures for issue 2323 2021-07-26 11:30:33 +05:45
Phil Davis 4ec63656dc Adjust expected-failures 2021-07-24 08:54:46 +05:45
Phil Davis 289730a144 Bump core commit id for tests 2021-07-23 19:04:00 +05:45
Jörn Friedrich Dreyer 2800515c94 Automated changelog update [skip ci] 2021-07-23 11:47:49 +00:00
Jörn Friedrich Dreyer dcd8327e61 Merge pull request #2248 from owncloud/claims-policy-selector
add claims and regex policy selector
2021-07-23 13:45:43 +02:00
Jörn Friedrich Dreyer 07bb4a179e clarify cs3 claims
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 09:42:40 +00:00
Jörn Friedrich Dreyer bea986fe26 pass only request instead of context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 09:03:14 +00:00
Willy Kloucek a0dce56480 use cookie to enforce routing for regex and claim selector 2021-07-23 08:38:55 +00:00
Jörn Friedrich Dreyer cb70f4882f add todo for x-access-header handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:33:18 +00:00
Jörn Friedrich Dreyer 0a632df7d2 update proxy config json example files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:33:18 +00:00
Jörn Friedrich Dreyer 5c024b4543 use context from middleware in proxy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer 2583c6a1a7 remove comma
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer b0c742cb2f fix docs typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer b540ccdf10 add regex rule priority, drop request from selector signature, add unit tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer 4385d3dacb add RegexSelector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:22:40 +00:00
Phil Davis 1e4f8334cf Merge pull request #2320 from owncloud/enable-SEND_SCENARIO_LINE_REFERENCES
[tests-only] [full-ci] Enable SEND_SCENARIO_LINE_REFERENCES to send X-Request-Id header in API tests
2021-07-23 13:52:29 +05:45
Jörn Friedrich Dreyer 40c8031441 add claims policy selector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:07:17 +00:00
Phil Davis a6575d9597 Enable SEND_SCENARIO_LINE_REFERENCES to send X-Request-Id header in API tests 2021-07-23 12:10:40 +05:45
Phil Davis 37de2b48fe Merge pull request #2316 from owncloud/bump-commit-id-20210722
[full-ci][tests-only]bump core and web commit id
2021-07-23 12:07:37 +05:45
Swikriti Tripathi bc69390006 remove from expected to fail file 2021-07-23 10:52:55 +05:45
Swikriti Tripathi 499526d8b4 Bump core and web commit id 2021-07-23 10:52:20 +05:45
Jörn Friedrich Dreyer 5de190ba4f Merge pull request #2315 from owncloud/claims-map-instead-of-struct
use claims map instead of struct
2021-07-22 20:20:02 +02:00
Jörn Friedrich Dreyer 2293403d45 use errors.Is()
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-22 16:35:31 +00:00
Jörn Friedrich Dreyer 1f3e963c29 use claims map instead of struct
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-22 09:20:36 +00:00
David Christofas c234c89be2 Merge pull request #2251 from owncloud/motivate-repo-layout
[docs-only] Clarify why we keep separate go.mod files
2021-07-22 11:20:05 +02:00
Jörn Friedrich Dreyer b148faada6 Merge pull request #2294 from owncloud/fix-trashbin-expected-failures
Fix Trashbin Expected Failures
2021-07-21 20:59:43 +02:00
Jörn Friedrich Dreyer 2e41e28637 Automated changelog update [skip ci] 2021-07-21 18:58:31 +00:00
Jörn Friedrich Dreyer 188bb58547 Merge pull request #2314 from owncloud/update-reva-to-57d692feea7b
[full-ci] update REVA to v1.10.1-0.20210721075634-57d692feea7b
2021-07-21 20:57:46 +02:00
Jörn Friedrich Dreyer bb1ce39e23 update changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 14:42:37 +00:00
Jörn Friedrich Dreyer 746ed8b414 remove fixed expected failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 11:12:28 +00:00
Jörn Friedrich Dreyer 5bf5fcf800 delete local test, rely on core tests+expected failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 11:12:28 +00:00
Jörn Friedrich Dreyer cdc2dd0ff3 update REVA to v1.10.1-0.20210721075634-57d692feea7b
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 11:12:28 +00:00
Jörn Friedrich Dreyer 90ca98d60f Automated changelog update [skip ci] 2021-07-21 11:01:16 +00:00
Jörn Friedrich Dreyer f322516862 Merge pull request #2277 from owncloud/spaces-api
graph refactorings
2021-07-21 12:59:11 +02:00
Jörn Friedrich Dreyer 900f8db799 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 09:22:39 +00:00
Jörn Friedrich Dreyer 2a54b647f1 get rid of ldap and oidc, refactor error handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 08:56:04 +00:00
Jörn Friedrich Dreyer 5070941dc4 graph: refactor auth and middlewares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 08:54:19 +00:00
Jörn Friedrich Dreyer 3ae2875fa9 add configurable path component option
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-20 15:30:26 +00:00
Jörn Friedrich Dreyer 71733fe677 Merge branch 'private-link-as-route' of github.com:owncloud/ocis into private-link-as-route 2021-07-20 13:34:26 +00:00
Jörn Friedrich Dreyer 8d78a64070 cleanup configuration.md
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-20 13:34:09 +00:00
Jörn Friedrich DreyerandAlex Unger c41d9122b4 Apply suggestions from code review
Co-authored-by: Alex Unger <6905948+refs@users.noreply.github.com>
2021-07-19 22:53:31 +02:00
Jörn Friedrich Dreyer 02d8d74466 correct id
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-19 15:51:59 +00:00
Phil Davis 1af75187c1 Merge pull request #2311 from owncloud/bump-commit-ids
[full-ci][tests-only] Bump commit ids for tests
2021-07-19 18:23:08 +05:45
Jörn Friedrich Dreyer c0f8b030e4 link open-graph-api issue for drive mount points
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-19 11:53:54 +00:00
A.Unger 74696dbd36 remove redundant line 2021-07-19 13:29:12 +02:00
Jörn Friedrich Dreyer 1bb4dcf782 fix ordering, update context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-19 11:04:22 +00:00
saw-jan 1a65cd8d82 bump commit ids and update expected-failures 2021-07-19 16:41:17 +05:45
A.Unger ebb67470dc ignore error explicitly 2021-07-19 11:15:37 +02:00
A.Unger 7f8e5d0229 adjust expected failures for owncloud storage 2021-07-19 10:42:19 +02:00
A.Unger 6123512367 adjust expected failures 2021-07-19 10:15:26 +02:00
Jörn Friedrich Dreyer ffca30cc4e fix adr numbering, add alternatives to global url format
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-16 20:26:35 +00:00
A.Unger f1f9583cb5 update space_id grammar 2021-07-16 14:08:17 +00:00
A.Unger 0a486b2a88 fix docs/adr 2021-07-16 14:08:17 +00:00
A.Unger b1ab887004 expand positive consequences 2021-07-16 14:08:17 +00:00
A.Unger 68d7080fac remove open tag 2021-07-16 14:08:17 +00:00
A.Unger 83ba6ad5ba adapt to the ADR format 2021-07-16 14:08:17 +00:00
A.Unger 273ea197e8 change ADR scope to global URL instead of private links only 2021-07-16 14:08:17 +00:00
A.Unger 1a8e00b19e update ADR with manual get through webUI 2021-07-16 14:08:17 +00:00
A.Unger adc21d8f0b update ADR 2021-07-16 14:08:17 +00:00
A.Unger 41cabfcdcb add routes adr 2021-07-16 14:08:17 +00:00
Alex Unger 04e5cfa52b Automated changelog update [skip ci] 2021-07-15 11:44:21 +00:00
Alex Unger 6f37b386d5 Merge pull request #2301 from owncloud/proxy-access-log
proxy access log
2021-07-15 13:42:08 +02:00
Lukas Hirt 041176ca2a docs: add how to theme idp 2021-07-15 12:17:03 +02:00
Willy Kloucek 1191d02187 fix doc references 2021-07-15 12:11:36 +02:00
Willy Kloucek a3fb9a4b37 fix s3 example and minio console 2021-07-15 12:00:29 +02:00
Willy Kloucek c58f7094d2 remove idp from the keycloak example 2021-07-15 11:17:58 +02:00
Willy Kloucek e1a2e5c4b1 fix login with ldap example 2021-07-15 11:06:58 +02:00
Willy Kloucek 2bdb522a1d remove owncloud10_with_oc_web 2021-07-15 11:00:49 +02:00
Willy Kloucek bcefff9b8d simplify traefik configuration 2021-07-15 11:00:41 +02:00
Phil Davis afa9afd205 Merge pull request #2304 from owncloud/bump-commit-id-for-tests-20210715
[tests-only] [full-ci] Bump commit id for tests
2021-07-15 13:24:50 +05:45
Phil Davis 90f066b540 Remove passing chunking tests from expected-failures 2021-07-15 11:13:19 +05:45
Phil Davis 7a64f2bcdf Bump commit id for tests 2021-07-15 09:47:51 +05:45
Jörn Friedrich Dreyer 8c7f1f01ff do not try to add the selected policy to the context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 20:45:38 +00:00
Phil Davis 8b271bccc6 Merge pull request #2298 from owncloud/dirkstascheit-patch-1
Update _index.md
2021-07-14 20:26:54 +05:45
Jörn Friedrich Dreyer 85693de589 make go-mod-tidy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 13:40:02 +00:00
Jörn Friedrich Dreyer 1dc7aac6fd proxy access log
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 13:14:27 +00:00
David Christofas 31918dd44a Automated changelog update [skip ci] 2021-07-14 11:12:11 +00:00
David Christofas d6bb6f511e Merge pull request #2295 from ishank011/lw-changes
Scope and lw account changes and update reva to v1.10.0
2021-07-14 13:09:02 +02:00
Phil Davis 91f6242eac Merge pull request #2299 from owncloud/bumpCommitId20210714
[Tests-Only][full-ci] Update the core commit id
2021-07-14 16:21:39 +05:45
Jasmine Baral 96e6d58d38 update the commit id 2021-07-14 15:04:04 +05:45
Dirk Stascheit 4140116635 Update _index.md
updated the version numbers to reflect the oCIS 1.9 release
2021-07-14 10:16:31 +02:00
Florian Schade 33aae8d829 Automated changelog update [skip ci] 2021-07-13 17:11:44 +00:00
Florian Schade a5366585a5 Merge pull request #2296 from owncloud/release-1.9.0
Merge back Release 1.9.0
2021-07-13 19:11:11 +02:00
Michael Barz dc6d4d0569 Merge pull request #2297 from owncloud/allow-cern-team
Update settings.yml
2021-07-13 19:06:04 +02:00
Michael Barz 5f970448fc Update settings.yml 2021-07-13 16:38:54 +02:00
A.Unger e9e62d7fc6 Merge branch 'master' into fix-trashbin-expected-failures 2021-07-13 16:35:24 +02:00
A.Unger 7ab586b2ab proxy is now aware of webdav responses 2021-07-13 15:38:44 +02:00
Ishank Arora d9916b6eed Add changelog 2021-07-13 15:22:05 +02:00
Ishank Arora ccee07a384 Update reva to v1.10 2021-07-13 14:59:07 +02:00
Klaas Freitag 420c703156 Merge pull request #2292 from owncloud/relnotes_1.9.0
[docs-only] Add release notes for 1.9.0
2021-07-13 14:58:16 +02:00
A.Unger bfdcc0180c fix 230, 231 - first draft 2021-07-13 14:33:24 +02:00
A.Unger ac49348b41 fix 215, 216 - first draft 2021-07-13 14:29:26 +02:00
Klaas Freitag e45954c52a Add release notes for 1.9.0 2021-07-13 13:44:48 +02:00
Ishank Arora 29c5cb627a Update scope usage and add Changes for lightweight accounts 2021-07-13 13:03:06 +02:00
Florian Schade 6c6a53a4de prepare changelog 2021-07-13 09:07:34 +02:00
Willy Kloucek 7b1130f34b Automated changelog update [skip ci] 2021-07-13 07:04:22 +00:00
Willy Kloucek cf6f71da89 Merge pull request #2280 from owncloud/update-reva-1.9.1
[full-ci] update reva to v1.9.1
2021-07-13 09:03:31 +02:00
Willy Kloucek 2433cabae4 fix pr refs 2021-07-13 07:34:27 +02:00
Michael Barz 92d60126a0 adapt expected failures 2021-07-13 08:47:55 +05:45
Michael Barz 10a03f8c98 update reva to v1.9.1 2021-07-13 08:33:35 +05:45
Phil Davis ddd261fba7 Automated changelog update [skip ci] 2021-07-13 02:41:15 +00:00
Phil Davis 2ac28854f8 Merge pull request #2289 from owncloud/update-web-3.4.1
[full-ci] update web to v3.4.1
2021-07-13 08:25:37 +05:45
Florian Schade faeec92a09 update web to v3.4.1 2021-07-12 19:57:59 +02:00
Phil Davis bf40bc0590 Merge pull request #2287 from owncloud/update-web-id-20210712
[tests-only] [full-ci] Update web id 20210712
2021-07-12 20:29:05 +05:45
Phil Davis 89af2f010c Update web commit id to include test code fix in web PR 5511 2021-07-12 19:09:55 +05:45
Parajuli Kiran 3897adfaa7 Updated web ocis expected failures 2021-07-12 18:01:52 +05:45
Parajuli Kiran b031b40143 Updated web commit id to the latest upto 20210712 2021-07-12 18:01:52 +05:45
Phil Davis 46fbf66bd0 Merge pull request #2286 from owncloud/update-core-commitid
[Tests-Only] Link issues in expected failure file
2021-07-12 16:41:19 +05:45
Dipak Acharya 78e668c187 [Tests-Only] Link issues in expected failure file 2021-07-12 15:49:54 +05:45
Phil Davis a85905a541 Merge pull request #2281 from owncloud/bump-commit-ids
[tests-only] [full-ci] Bump commit ids for tests
2021-07-12 14:13:11 +05:45
Phil Davis 4e7a4f2bfc Merge pull request #2284 from owncloud/doc_full_ci
[docs-only] document full ci flag
2021-07-12 13:43:44 +05:45
Willy Kloucek 63494c29e1 [docs-only] document full ci flag 2021-07-12 09:28:50 +02:00
saw-jan 9eba1b0e26 bump commit ids and update expected-failures 2021-07-12 13:02:35 +05:45
Phil Davis 39d5e66c91 Merge pull request #2278 from owncloud/bump-commit-ids-20210710
[tests-only] [full-ci] Bump commit ids for tests
2021-07-12 12:50:31 +05:45
Phil Davis c12d4381d5 Merge pull request #2283 from owncloud/update-testing-doc
[docs-only] update testing docs to include STORAGE_DRIVER env var
2021-07-12 12:37:09 +05:45
Phil Davis ccf456aa9a Minor English grammar 2021-07-12 12:33:35 +05:45
Michael Barz 93a317bb54 Automated changelog update [skip ci] 2021-07-12 06:43:44 +00:00
Michael Barz 98563bb8f5 Merge pull request #2230 from owncloud/read-only
[full-ci] read-only storagehome and storageusers
2021-07-12 08:43:10 +02:00
Dipak Acharya bfb0a98778 [docs-only] update testing docs to include STORAGE_DRIVER env var 2021-07-12 12:27:50 +05:45
Dipak Acharya cd30d2d574 Update expected failure files for newly added tests 2021-07-12 11:36:32 +05:45
Phil Davis 115ce78ad9 Bump commit ids for tests 2021-07-10 13:26:16 +05:45
Benedikt Kulmann d59e828895 Automated changelog update [skip ci] 2021-07-10 07:29:10 +00:00
Benedikt Kulmann 534190606e Merge pull request #2276 from owncloud/update-web-3.4.0 2021-07-10 09:25:30 +02:00
Benedikt Kulmann 96738d2f1e Update expected failures 2021-07-09 23:41:16 +02:00
Michael Barz de5aefbe91 read-only storagehome and storageusers 2021-07-09 23:01:20 +02:00
Benedikt Kulmann 5b8e883d4a Update web to 3.4.0 2021-07-09 13:07:32 +02:00
Klaas Freitag caaf7e6088 Merge pull request #2275 from owncloud/doc-howtocontribute2
[docs-only] Add the Contribution Guidelines plus linking to it.
2021-07-09 10:46:58 +02:00
Klaas Freitag 6611f22312 Applied feedback from Phil for better English. 2021-07-09 10:31:27 +02:00
Klaas FreitagandPascal Wengerter 441c19f34d Change oC Talk link to ocis rather than infinitescale.
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-07-09 09:23:03 +02:00
Benedikt Kulmann b0fe255a5d Update web to 3.4.0-rc1 2021-07-09 00:18:29 +02:00
Jörn Friedrich Dreyer 2119d12cbc Merge pull request #2007 from owncloud/spaces-api
initial /me/drives implementation
2021-07-08 23:56:17 +02:00
Jörn Friedrich Dreyer 7a25f2ac5e cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 20:05:50 +00:00
Klaas Freitag a75c3b7777 Add the Contribution Guidelines plus linking to it.
Also fix the copyright year in readme while being over it.
2021-07-08 14:59:24 +02:00
Jörn Friedrich Dreyer 9376e2ef5e no need to filter, remove unnecessary openapi package
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 12:28:43 +00:00
Jörn Friedrich Dreyer d7031c93fe fix sonarcloud issues
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:59:42 +00:00
Jörn Friedrich Dreyer c1bfbd9c24 update deps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 11:42:29 +02:00
Lukas Hirt a38af180fa Merge pull request #2273 from owncloud/LukasHirt-patch-1
Remove LukasHirt from only office codeowners
2021-07-08 10:58:23 +02:00
Lukas HirtandPascal Wengerter 014538a0b4 Update .github/CODEOWNERS
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-07-08 10:12:48 +02:00
Jörn Friedrich Dreyer 034eb417f2 openapi fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:06:42 +02:00
Klaas Freitag 5b04bc853b Fix typo looging -> logging. 2021-07-08 10:06:42 +02:00
Jörn Friedrich Dreyer 53a06bd2da add regex to match all spaces prefixed with user provider id
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:06:42 +02:00
Jörn Friedrich Dreyer c2780440f7 use open-graph-api and add openapi tooling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:06:42 +02:00
Jörn Friedrich Dreyer ada2b96e4b clean up example urls
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:04:01 +02:00
Jörn Friedrich Dreyer 2d51ea3cee add specs n docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:04:01 +02:00
Jörn Friedrich Dreyer 449edd31c8 initial /me/drives implementation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:04:01 +02:00
Lukas Hirt 742b231818 Remove LukasHirt from only office codeowners 2021-07-08 09:41:49 +02:00
Artur Neumann 322cb454c4 Merge pull request #2268 from owncloud/bump20210706
[Tests-Only][full-ci] Run latest core changes in ocis
2021-07-08 09:28:43 +02:00
Alex Unger 53fabd9ffd Automated changelog update [skip ci] 2021-07-07 15:30:15 +00:00
Alex Unger 5114ba259f Merge pull request #2271 from owncloud/spare-port-80 2021-07-07 17:29:47 +02:00
A.Unger 1c060606fe add changelog 2021-07-07 16:43:55 +02:00
A.Unger bd68d1ef72 use correct debug address 2021-07-07 16:41:46 +02:00
Jasmine Baral ba924cb412 run latest core changes in ocis 2021-07-07 16:53:28 +05:45
Jörn Friedrich Dreyer 456e7c9300 Automated changelog update [skip ci] 2021-07-07 08:36:27 +00:00
Jörn Friedrich Dreyer cd4b391cb9 Merge pull request #1705 from owncloud/no-additional-init
ocis already does the cli flag parsing
2021-07-07 10:36:04 +02:00
Jörn Friedrich Dreyer 54e1796717 Merge pull request #2168 from owncloud/extensions-template-adr
[docs-only] draft an adr for extension templates
2021-07-07 10:27:23 +02:00
Phil Davis 5d39a84a49 Merge pull request #2270 from owncloud/always-run-minimal-web-ui-tests-pipeline
[full-ci] [tests-only] Always run minimal web UI test pipeline
2021-07-07 13:20:53 +05:45
Phil Davis d77c83bdbe Always run minimal web UI test pipeline 2021-07-07 11:59:43 +05:45
Phil Davis 7baf67be8f Merge pull request #2262 from owncloud/downloadVersionsTests
[full-ci] bump core commit id to run new versions tests
2021-07-06 19:26:44 +05:45
Artur Neumann 7040f14884 fix expected to fail list 2021-07-06 14:41:32 +02:00
Artur Neumann d940dcc751 bump core commit id to run new versions tests 2021-07-06 14:41:28 +02:00
Phil Davis 8801bd7eff Merge pull request #2264 from owncloud/remove-closed-sharing-issues
[full-ci] [tests-only] Remove closed sharing issues
2021-07-06 18:10:31 +05:45
Parajuli Kiran 2b6960171c updated web expected failures removing some closed sharing issues 2021-07-06 15:58:30 +05:45
Phil Davis 1c05cf7e64 Merge pull request #2265 from owncloud/fullCI
[Tests-Only][full-ci] Fix full-ci issue
2021-07-06 12:35:03 +05:45
Jasmine Baral a05105d934 adjust expected failures 2021-07-06 11:36:42 +05:45
Jasmine Baral f419054936 fix full-ci issue in ocis 2021-07-06 10:13:38 +05:45
Jörn Friedrich Dreyer 90f7b170a9 Merge pull request #2061 from aduffeck/owncloudsql-integration
Integrate the owncloudsql storage driver
2021-07-05 15:50:46 +02:00
André Duffeck f7fdda3ee1 Fix Sql->SQL 2021-07-05 15:01:43 +02:00
André Duffeck 0392dfd18c Incorporate review suggestions 2021-07-05 15:01:43 +02:00
André Duffeck 84e82b2686 Integrate the owncloudsql storage driver 2021-07-05 15:01:43 +02:00
Alex Unger 7eb86e9b07 Automated changelog update [skip ci] 2021-07-05 10:44:55 +00:00
Alex Unger 5ae2cdbad0 Merge pull request #2252 from owncloud/channels-race-condition 2021-07-05 12:44:27 +02:00
A.Unger e30f3a377b add changelog 2021-07-02 16:08:32 +02:00
A.Unger 72630c3291 prevent race condition on starting an already running service 2021-07-02 16:05:04 +02:00
Jörn Friedrich Dreyer e104622a8a Clarify why we keep separate go.mod files
Actually, I don't know if this still holds true. AFAICT we will be releasing an ocis binary that bundles all extensions. So ... will they really be released individually? For bug fix releases a release process for them would be quicker, but then we would also need to build individual docker containers ...
2021-07-02 15:22:56 +02:00
A.Unger 25ca76ebd4 add changelog 2021-07-02 13:33:04 +02:00
A.Unger cb2323e9d6 Merge branch 'master' into no-additional-init 2021-07-02 13:25:30 +02:00
Alex Unger b3bae592d0 Merge pull request #2235 from owncloud/policy-adr 2021-07-02 13:22:03 +02:00
A.Unger 98b0b9c49a Merge branch 'master' into policy-adr 2021-07-02 11:46:26 +02:00
Phil Davis 296b41d4d2 Merge pull request #2234 from owncloud/skip-async-tests
[Tests-Only] update core commitid for tests
2021-07-02 13:47:02 +05:45
Dipak Acharya 1cc028694e Merge pull request #2106 from owncloud/earlyFail
[Tests-Only]Add earlyFail
2021-07-02 12:21:33 +05:45
Phil Davis ad02b40c3c Override earlyFail if PR title contains full-ci 2021-07-02 11:42:48 +05:45
Dipak Acharya 3ffd0a13ef [Tests-Only] update core commitid in CI 2021-07-02 11:16:32 +05:45
Pascal Wengerter 8343c192f2 Merge pull request #2086 from owncloud/dependabot/npm_and_yarn/idp/classnames-2.3.1
Bump classnames from 2.2.6 to 2.3.1 in /idp
2021-07-01 17:17:18 +01:00
Pascal Wengerter e2bf20817c Merge pull request #2244 from owncloud/dependabot/npm_and_yarn/accounts/rollup-2.52.6
Bump rollup from 2.42.4 to 2.52.6 in /accounts
2021-07-01 17:15:32 +01:00
Pascal Wengerter ca07c287c8 Merge pull request #1859 from owncloud/dependabot/npm_and_yarn/onlyoffice/url-search-params-polyfill-8.1.1
Bump url-search-params-polyfill from 8.1.0 to 8.1.1 in /onlyoffice
2021-07-01 17:13:59 +01:00
Pascal Wengerter ddb6a15544 Merge pull request #1860 from owncloud/dependabot/npm_and_yarn/settings/url-search-params-polyfill-8.1.1
Bump url-search-params-polyfill from 8.1.0 to 8.1.1 in /settings
2021-07-01 17:13:26 +01:00
A.Unger 8d1847b9d3 Merge branch 'master' into policy-adr 2021-07-01 17:50:41 +02:00
dependabot[bot] b56cdc17c3 Bump rollup from 2.42.4 to 2.52.6 in /accounts
Bumps [rollup](https://github.com/rollup/rollup) from 2.42.4 to 2.52.6.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.42.4...v2.52.6)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 15:18:02 +00:00
dependabot[bot] 25742be970 Bump url-search-params-polyfill from 8.1.0 to 8.1.1 in /settings
Bumps [url-search-params-polyfill](https://github.com/jerrybendy/url-search-params-polyfill) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/jerrybendy/url-search-params-polyfill/releases)
- [Commits](https://github.com/jerrybendy/url-search-params-polyfill/compare/v8.1.0...v8.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 15:16:20 +00:00
dependabot[bot] ae790df695 Bump url-search-params-polyfill from 8.1.0 to 8.1.1 in /onlyoffice
Bumps [url-search-params-polyfill](https://github.com/jerrybendy/url-search-params-polyfill) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/jerrybendy/url-search-params-polyfill/releases)
- [Commits](https://github.com/jerrybendy/url-search-params-polyfill/compare/v8.1.0...v8.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 15:15:43 +00:00
Alex Unger 53b80920ea Merge pull request #1980 from owncloud/fix-security-alerts 2021-07-01 17:13:23 +02:00
Michael Barz 6dc4e5c43e Merge pull request #2239 from owncloud/update_flaex
fix default values in configuration documentation
2021-07-01 17:12:18 +02:00
Jasmine Baral 3b694547b7 Add earlyFail 2021-07-01 20:53:26 +05:45
Michael Barz debbec1d67 Merge pull request #2006 from owncloud/config-adr
[docs-only] Configuration ADR
2021-07-01 17:07:50 +02:00
A.Unger 2bda4f57fa Merge branch 'master' into config-adr 2021-07-01 17:02:38 +02:00
A.Unger 5512c5f1e1 update headers 2021-07-01 17:02:32 +02:00
Alex Unger 81b35dfe17 Merge branch 'master' into fix-security-alerts 2021-07-01 16:25:36 +02:00
Alex Unger c08c6c09a0 Automated changelog update [skip ci] 2021-07-01 14:17:29 +00:00
Alex Unger 07ecdd608f Merge pull request #2229 from owncloud/runtime-cherrypick 2021-07-01 16:13:22 +02:00
Jasmine Baral 1103af674a Merge pull request #2233 from owncloud/adjustRemainingIssues
[Tests-Only] Adjust expected failures for remaining closed issues
2021-07-01 19:50:03 +05:45
Willy Kloucek 63dc64971f update fleax in order to get https://github.com/owncloud/flaex/pull/10 2021-07-01 16:00:40 +02:00
A.Unger 9e81558fc9 add changelog 2021-07-01 15:26:38 +02:00
A.Unger 02200127fb Merge branch 'master' into runtime-cherrypick 2021-07-01 15:12:22 +02:00
A.Unger 4ce54edc1a use replaceall 2021-07-01 15:11:34 +02:00
Jasmine Baral e2e6a2f489 adjust issues for the remaining closed issues 2021-07-01 16:41:15 +05:45
Phil Davis 2300ab0033 Merge pull request #2238 from owncloud/update-commitid-2021-07-01
[Tests-Only] bump the web commit id for ci tests with expected failure files
2021-07-01 13:36:49 +05:45
Dipak Acharya f1b733f033 [Tests-Only] bump the web commit id for ci tests with expected failure files 2021-07-01 12:40:40 +05:45
A.Unger 48ab84a7f5 use pr link 2021-06-30 16:18:30 +02:00
A.Unger db5900b85a review comments 2021-06-30 15:16:50 +02:00
Jörn Friedrich Dreyer 8a2dcc22b6 fix env vars
pls double check if I got all!
2021-06-30 15:07:09 +02:00
A.Unger e68e48293f policies draft 1 2021-06-30 14:38:16 +02:00
A.Unger ed9359ddd4 provide name to anonymous type 2021-06-30 10:37:47 +02:00
A.Unger 4994d0b132 correct flagset usage 2021-06-30 10:34:44 +02:00
A.Unger 72f6a3613a fix storage subcommands 2021-06-29 15:43:59 +02:00
A.Unger 2e28582c1b cherrypick extensions to start v1 2021-06-29 15:28:19 +02:00
Phil Davis f02f2a3d42 Merge pull request #2228 from owncloud/bump-commit-ids
[full-ci][tests-only] Bump web commit id for tests
2021-06-29 16:43:53 +05:45
Willy Kloucek 7c5a6ee047 Merge pull request #2180 from owncloud/add_hello_and_s3_deployment_example
add hello and s3 deplyoment example
2021-06-29 12:42:22 +02:00
David Christofas 34a207afd5 Merge pull request #2224 from owncloud/dependabot/go_modules/ocis/github.com/spf13/viper-1.8.1
Bump github.com/spf13/viper from 1.8.0 to 1.8.1 in /ocis
2021-06-29 12:38:38 +02:00
saw-jan 3af81700d0 update expected-failures file 2021-06-29 15:06:01 +05:45
saw-jan e1b30284a8 bump web commit id for tests (2021-06-29) 2021-06-29 14:05:28 +05:45
dependabot[bot] cb996434cc Bump github.com/spf13/viper from 1.8.0 to 1.8.1 in /ocis
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-29 07:27:46 +00:00
Phil Davis 458de9f554 Automated changelog update [skip ci] 2021-06-29 07:13:57 +00:00
Phil Davis c5f34a0726 Merge pull request #2227 from owncloud/update_reva_20210629
update reva to v1.9.1-0.20210628143859-9d29c36c0c3f
2021-06-29 12:58:34 +05:45
Michael Barz 23730f3e4a Automated changelog update [skip ci] 2021-06-29 07:12:06 +00:00
Michael Barz ed4fef9c0e Merge pull request #2226 from owncloud/release-1.8.0
Merge back after Release
2021-06-29 09:11:29 +02:00
Phil Davis 5e7967c62c Remove passing trashbinRestore tests from expected-failures 2021-06-29 12:14:52 +05:45
Willy Kloucek 3dfced91e0 update reva to v1.9.1-0.20210628143859-9d29c36c0c3f 2021-06-29 08:19:17 +02:00
Phil Davis 0f2cb27c4a Merge pull request #2211 from owncloud/update-expected-failures-after-#38876
[full-ci] [tests-only] Update expected failures after core #38876
2021-06-29 10:48:22 +05:45
Parajuli Kiran f36cf67bc4 Update core commit id to the latest 2021/06/29
And replace closed issues with current issues
2021-06-29 08:51:21 +05:45
Michael Barz 95a9405449 Merge pull request #2103 from owncloud/flesh-out-migration-docs
[docs-only] flesh out migration docs
2021-06-28 15:49:43 +02:00
Michael Barz 51b87e181d Merge pull request #2220 from owncloud/1.8.0_release_notes
[docs-only] 1.8.0 Release Notes
2021-06-28 15:16:45 +02:00
Patrick Maier 4794f52c72 Point to release tags instead of changelog.md 2021-06-28 09:29:59 +02:00
Patrick Maier 063fd64483 Point to the specific version changelogs 2021-06-28 09:14:44 +02:00
Patrick Maier 96a548619a [docs-only] 1.8.0 Release Notes 2021-06-25 18:16:10 +02:00
Willy Kloucek 2755f04938 add hello and s3 deplyoment example 2021-06-23 19:33:10 +02:00
Jörn Friedrich Dreyer 6f79c13eb5 update share manager migration
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-06-21 20:01:37 +00:00
Willy Kloucek ba438022f0 add argument: integration testing 2021-06-15 08:55:20 +02:00
David Christofas a218627df2 draft an adr for extension templates 2021-06-11 12:44:31 +02:00
dependabot[bot] 9a411f8995 Bump classnames from 2.2.6 to 2.3.1 in /idp
Bumps [classnames](https://github.com/JedWatson/classnames) from 2.2.6 to 2.3.1.
- [Release notes](https://github.com/JedWatson/classnames/releases)
- [Changelog](https://github.com/JedWatson/classnames/blob/master/HISTORY.md)
- [Commits](https://github.com/JedWatson/classnames/compare/v2.2.6...v2.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 18:12:09 +00:00
Jörn Friedrich Dreyer add77b991b hide todos on print, add pagebreaks
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-06-04 13:47:52 +00:00
Jörn Friedrich Dreyer 2fee44581f TODOs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-06-02 21:12:46 +00:00
Jörn Friedrich Dreyer 5ce1841609 more details
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-06-01 15:32:00 +00:00
Jörn Friedrich Dreyer 7c21b381e1 flesh out migration docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-05-31 15:07:48 +00:00
A.Unger c8c6a7b135 add OCIS_URL technical debt 2021-05-03 15:09:17 +02:00
A.Unger 71ac2049a6 first draft of the Configuration adr 2021-05-03 14:19:44 +02:00
A.Unger b820b343df update nightwatch due to CVE-2021-28918 2021-04-28 15:34:16 +02:00
A.Unger 68c6eec432 update nightwatch due to CVE-2021-28918 2021-04-28 15:33:54 +02:00
A.Unger c8749a561b update nightwatch due to CVE-2021-28918 2021-04-28 15:33:04 +02:00
Jörn Friedrich Dreyer 6991dd777d ocis already does the cli flag parsing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-23 12:47:23 +00:00
456 changed files with 13797 additions and 61402 deletions

No files matched your search

+15 -15
View File
@@ -47,11 +47,11 @@ $(FILEB0X): $(BINGO_DIR)/fileb0x.mod
@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.1-0.20210617060845-d4d3f5180596
FLAEX := $(GOBIN)/flaex-v0.2.1-0.20210701123229-9d7dceed124f
$(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.1-0.20210617060845-d4d3f5180596"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=flaex.mod -o=$(GOBIN)/flaex-v0.2.1-0.20210617060845-d4d3f5180596 "github.com/owncloud/flaex"
@echo "(re)installing $(GOBIN)/flaex-v0.2.1-0.20210701123229-9d7dceed124f"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=flaex.mod -o=$(GOBIN)/flaex-v0.2.1-0.20210701123229-9d7dceed124f "github.com/owncloud/flaex"
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.37.1
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
@@ -59,23 +59,17 @@ $(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
@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 := $(GOBIN)/hugo-v0.87.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"
@echo "(re)installing $(GOBIN)/hugo-v0.87.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=hugo.mod -o=$(GOBIN)/hugo-v0.87.0 "github.com/gohugoio/hugo"
MUTAGEN := $(GOBIN)/mutagen-v0.11.8
$(MUTAGEN): $(BINGO_DIR)/mutagen.mod
@@ -83,6 +77,12 @@ $(MUTAGEN): $(BINGO_DIR)/mutagen.mod
@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"
OAPI_CODEGEN := $(GOBIN)/oapi-codegen-v1.6.1
$(OAPI_CODEGEN): $(BINGO_DIR)/oapi-codegen.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)/oapi-codegen-v1.6.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=oapi-codegen.mod -o=$(GOBIN)/oapi-codegen-v1.6.1 "github.com/deepmap/oapi-codegen/cmd/oapi-codegen"
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.
@@ -101,11 +101,11 @@ $(PROTOC_GEN_MICRO): $(BINGO_DIR)/protoc-gen-micro.mod
@echo "(re)installing $(GOBIN)/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-micro.mod -o=$(GOBIN)/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888 "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 := $(GOBIN)/protoc-gen-microweb-v0.0.0-20210824101557-828409dbfbf9
$(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"
@echo "(re)installing $(GOBIN)/protoc-gen-microweb-v0.0.0-20210824101557-828409dbfbf9"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-microweb.mod -o=$(GOBIN)/protoc-gen-microweb-v0.0.0-20210824101557-828409dbfbf9 "github.com/owncloud/protoc-gen-microweb"
PROTOC_GEN_OPENAPIV2 := $(GOBIN)/protoc-gen-openapiv2-v2.3.0
$(PROTOC_GEN_OPENAPIV2): $(BINGO_DIR)/protoc-gen-openapiv2.mod
+1 -1
View File
@@ -2,4 +2,4 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
require github.com/owncloud/flaex v0.2.1-0.20210617060845-d4d3f5180596
require github.com/owncloud/flaex v0.2.1-0.20210701123229-9d7dceed124f
-5
View File
@@ -1,5 +0,0 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
require github.com/haya14busa/goverage v0.0.0-20180129164344-eec3514a20b5
+1 -1
View File
@@ -4,4 +4,4 @@ go 1.16
replace github.com/markbates/inflect => github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6
require github.com/gohugoio/hugo v0.80.0
require github.com/gohugoio/hugo v0.87.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/deepmap/oapi-codegen v1.6.1 // cmd/oapi-codegen
+1 -1
View File
@@ -2,4 +2,4 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
require github.com/owncloud/protoc-gen-microweb v0.0.0-20210224131655-d9b1137a84d4
require github.com/owncloud/protoc-gen-microweb v0.0.0-20210824101557-828409dbfbf9
+5 -5
View File
@@ -18,25 +18,25 @@ CALENS="${GOBIN}/calens-v0.2.0"
FILEB0X="${GOBIN}/fileb0x-v1.1.4"
FLAEX="${GOBIN}/flaex-v0.2.1-0.20210617060845-d4d3f5180596"
FLAEX="${GOBIN}/flaex-v0.2.1-0.20210701123229-9d7dceed124f"
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"
HUGO="${GOBIN}/hugo-v0.87.0"
MUTAGEN="${GOBIN}/mutagen-v0.11.8"
OAPI_CODEGEN="${GOBIN}/oapi-codegen-v1.6.1"
PROTOC_GEN_DOC="${GOBIN}/protoc-gen-doc-v1.4.1"
PROTOC_GEN_GO="${GOBIN}/protoc-gen-go-v1.26.0"
PROTOC_GEN_MICRO="${GOBIN}/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888"
PROTOC_GEN_MICROWEB="${GOBIN}/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4"
PROTOC_GEN_MICROWEB="${GOBIN}/protoc-gen-microweb-v0.0.0-20210824101557-828409dbfbf9"
PROTOC_GEN_OPENAPIV2="${GOBIN}/protoc-gen-openapiv2-v2.3.0"
+2 -2
View File
@@ -1,7 +1,7 @@
# The test runner source for API tests
CORE_COMMITID=cc9e938a4dea28ab941cb2e0b39b38c8c3f52913
CORE_COMMITID=370fd807e464dcc5cb9619a8890107424254dfa6
CORE_BRANCH=master
# The test runner source for UI tests
WEB_COMMITID=22a1ceebfc4d8e233a5caadcae7a1ced06826565
WEB_COMMITID=0e5a4b4990fc0edb69013122df42785774883e79
WEB_BRANCH=master
+190 -20
View File
@@ -9,7 +9,6 @@ config = {
"ocis-pkg",
"ocis",
"ocs",
"onlyoffice",
"proxy",
"settings",
"storage",
@@ -20,22 +19,27 @@ config = {
],
"localApiTests": {
"skip": False,
"earlyFail": True,
},
"apiTests": {
"numberOfParts": 10,
"skip": False,
"skipExceptParts": [],
"earlyFail": True,
},
"uiTests": {
"filterTags": "@ocisSmokeTest",
"skip": False,
"skipExceptParts": [],
"earlyFail": True,
},
"accountsUITests": {
"skip": False,
"earlyFail": True,
},
"settingsUITests": {
"skip": False,
"earlyFail": True,
},
"rocketchat": {
"channel": "ocis-internal",
@@ -120,7 +124,8 @@ def main(ctx):
test_pipelines = \
[buildOcisBinaryForTesting(ctx)] + \
testOcisModules(ctx) + \
testPipelines(ctx)
testPipelines(ctx) + \
checkForRecentBuilds(ctx)
build_release_pipelines = \
dockerReleases(ctx) + \
@@ -185,13 +190,55 @@ def testOcisModules(ctx):
return pipelines + [scan_result_upload]
def checkForRecentBuilds(ctx):
pipelines = []
result = {
"kind": "pipeline",
"type": "docker",
"name": "stop-recent-builds",
"steps": stopRecentBuilds(ctx),
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/tags/**",
"refs/pull/**",
],
},
}
pipelines.append(result)
return pipelines
def stopRecentBuilds(ctx):
return [{
"name": "stop-recent-builds",
"image": "drone/cli:alpine",
"pull": "always",
"environment": {
"DRONE_SERVER": "https://drone.owncloud.com",
"DRONE_TOKEN": {
"from_secret": "drone_token",
},
},
"commands": [
"drone build ls %s --status running > /drone/src/recentBuilds.txt" % ctx.repo.slug,
"drone build info %s ${DRONE_BUILD_NUMBER} > /drone/src/thisBuildInfo.txt" % ctx.repo.slug,
"cd /drone/src && ./tests/acceptance/cancelBuilds.sh",
],
"when": {
"event": [
"pull_request",
],
},
}]
def testPipelines(ctx):
pipelines = []
if "skip" not in config["localApiTests"] or not config["localApiTests"]["skip"]:
pipelines = [
localApiTests(ctx, "owncloud", "apiBugDemonstration"),
localApiTests(ctx, "ocis", "apiBugDemonstration"),
localApiTests(ctx, "owncloud", "apiAccountsHashDifficulty", "default"),
localApiTests(ctx, "ocis", "apiAccountsHashDifficulty", "default"),
]
@@ -382,7 +429,12 @@ def uploadScanResults(ctx):
},
}
def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", accounts_hash_difficulty = 4):
def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
earlyFail = config["localApiTests"]["earlyFail"] if "earlyFail" in config["localApiTests"] else False
if ("full-ci" in ctx.build.title.lower()):
earlyFail = False
return {
"kind": "pipeline",
"type": "docker",
@@ -404,17 +456,19 @@ def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", acco
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
"TEST_OCIS": "true",
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_SUITE": suite,
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
"PATH_TO_CORE": "/srv/app/testrunner",
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
},
"commands": [
"make test-acceptance-api",
],
"volumes": [stepVolumeOC10Tests],
},
],
] + buildGithubCommentForBuildStopped("localApiTests-%s-%s" % (suite, storage), earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
"services": redisForOCStorage(storage),
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
@@ -427,7 +481,12 @@ def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", acco
"volumes": [pipelineVolumeOC10Tests],
}
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "owncloud", accounts_hash_difficulty = 4):
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", accounts_hash_difficulty = 4):
earlyFail = config["apiTests"]["earlyFail"] if "earlyFail" in config["apiTests"] else False
if ("full-ci" in ctx.build.title.lower()):
earlyFail = False
return {
"kind": "pipeline",
"type": "docker",
@@ -449,18 +508,20 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "owncloud"
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
"TEST_OCIS": "true",
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_FILTER_TAGS": "~@skipOnOcis&&~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
"DIVIDE_INTO_NUM_PARTS": number_of_parts,
"RUN_PART": part_number,
"EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-API-on-%s-storage.md" % (storage.upper()),
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
},
"commands": [
"make -C /srv/app/testrunner test-acceptance-api",
],
"volumes": [stepVolumeOC10Tests],
},
],
] + buildGithubCommentForBuildStopped("Core-API-Tests-%s-storage-%s" % (storage, part_number), earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
"services": redisForOCStorage(storage),
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"trigger": {
@@ -479,7 +540,6 @@ def apiTests(ctx):
debugPartsEnabled = (len(debugParts) != 0)
for runPart in range(1, config["apiTests"]["numberOfParts"] + 1):
if (not debugPartsEnabled or (debugPartsEnabled and runPart in debugParts)):
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], "owncloud"))
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], "ocis"))
return pipelines
@@ -488,8 +548,9 @@ def uiTests(ctx):
default = {
"filterTags": "",
"skip": False,
"earlyFail": False,
# only used if 'full-ci' is in build title
"numberOfParts": 10,
"numberOfParts": 20,
"skipExceptParts": [],
}
params = {}
@@ -499,6 +560,10 @@ def uiTests(ctx):
params[item] = config["uiTests"][item] if item in config["uiTests"] else default[item]
filterTags = params["filterTags"]
earlyFail = params["earlyFail"]
if ("full-ci" in ctx.build.title.lower()):
earlyFail = False
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "tag"):
numberOfParts = params["numberOfParts"]
@@ -507,12 +572,17 @@ def uiTests(ctx):
for runPart in range(1, numberOfParts + 1):
if (not debugPartsEnabled or (debugPartsEnabled and runPart in skipExceptParts)):
pipelines.append(uiTestPipeline(ctx, "", runPart, numberOfParts))
return pipelines
else:
return [uiTestPipeline(ctx, filterTags)]
pipelines.append(uiTestPipeline(ctx, "", earlyFail, runPart, numberOfParts))
def uiTestPipeline(ctx, filterTags, runPart = 1, numberOfParts = 1, storage = "ocis", accounts_hash_difficulty = 4):
# For ordinary PRs, always run the "minimal" UI test pipeline
# That has its own expected-failures file, and we always want to know that it is correct,
if (ctx.build.event != "tag"):
pipelines.append(uiTestPipeline(ctx, filterTags, earlyFail, 1, 2, "ocis", "smoke"))
pipelines.append(uiTestPipeline(ctx, filterTags, earlyFail, 2, 2, "ocis", "smoke"))
return pipelines
def uiTestPipeline(ctx, filterTags, earlyFail, runPart = 1, numberOfParts = 1, storage = "ocis", uniqueName = "", accounts_hash_difficulty = 4):
standardFilterTags = "not @skipOnOCIS and not @skip and not @notToImplementOnOCIS and not @federated-server-needed"
if filterTags == "":
finalFilterTags = standardFilterTags
@@ -521,10 +591,21 @@ def uiTestPipeline(ctx, filterTags, runPart = 1, numberOfParts = 1, storage = "o
finalFilterTags = filterTags + " and " + standardFilterTags
expectedFailuresFileFilterTags = "-" + filterTags.lstrip("@")
if uniqueName == "":
uniqueNameString = ""
else:
finalFilterTags = filterTags + " and " + standardFilterTags
uniqueNameString = "-" + uniqueName
if numberOfParts == 1:
pipelineName = "Web-Tests-ocis%s-%s-storage" % (uniqueNameString, storage)
else:
pipelineName = "Web-Tests-ocis%s-%s-storage-%s" % (uniqueNameString, storage, runPart)
return {
"kind": "pipeline",
"type": "docker",
"name": "Web-Tests-ocis-%s-storage-%s" % (storage, runPart),
"name": pipelineName,
"platform": {
"os": "linux",
"arch": "amd64",
@@ -566,7 +647,7 @@ def uiTestPipeline(ctx, filterTags, runPart = 1, numberOfParts = 1, storage = "o
"path": "/uploads",
}],
},
],
] + buildGithubCommentForBuildStopped("Web-Tests-ocis-%s-storage-%s" % (storage, runPart), earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
"services": selenium(),
"volumes": [pipelineVolumeOC10Tests] +
[{
@@ -584,6 +665,11 @@ def uiTestPipeline(ctx, filterTags, runPart = 1, numberOfParts = 1, storage = "o
}
def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
earlyFail = config["accountsUITests"]["earlyFail"] if "earlyFail" in config["accountsUITests"] else False
if ("full-ci" in ctx.build.title.lower()):
earlyFail = False
return {
"kind": "pipeline",
"type": "docker",
@@ -630,7 +716,7 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"path": "/uploads",
}],
},
],
] + buildGithubCommentForBuildStopped("accountsUITests", earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
"services": selenium(),
"volumes": [stepVolumeOC10Tests] +
[{
@@ -648,6 +734,11 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
}
def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
earlyFail = config["settingsUITests"]["earlyFail"] if "earlyFail" in config["settingsUITests"] else False
if ("full-ci" in ctx.build.title.lower()):
earlyFail = False
return {
"kind": "pipeline",
"type": "docker",
@@ -692,7 +783,7 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"path": "/uploads",
}],
},
],
] + buildGithubCommentForBuildStopped("settingsUITests", earlyFail) + githubComment(earlyFail) + stopBuild(earlyFail),
"services": [
{
"name": "redis",
@@ -715,6 +806,83 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
},
}
def stopBuild(earlyFail):
if (earlyFail):
return [{
"name": "stop-build",
"image": "drone/cli:alpine",
"pull": "always",
"environment": {
"DRONE_SERVER": "https://drone.owncloud.com",
"DRONE_TOKEN": {
"from_secret": "drone_token",
},
},
"commands": [
"drone build stop owncloud/ocis ${DRONE_BUILD_NUMBER}",
],
"when": {
"status": [
"failure",
],
"event": [
"pull_request",
],
},
}]
else:
return []
def buildGithubCommentForBuildStopped(alternateSuiteName, earlyFail):
if (earlyFail):
return [{
"name": "build-github-comment-buildStop",
"image": "owncloud/ubuntu:16.04",
"pull": "always",
"commands": [
'echo "<details><summary>:boom: Acceptance tests <strong>%s</strong> failed. The build is cancelled...</summary>\\n\\n" >> /drone/src/comments.file' % alternateSuiteName,
],
"when": {
"status": [
"failure",
],
"event": [
"pull_request",
],
},
}]
else:
return []
def githubComment(earlyFail):
if (earlyFail):
return [{
"name": "github-comment",
"image": "jmccann/drone-github-comment:1",
"pull": "if-not-exists",
"settings": {
"message_file": "/drone/src/comments.file",
},
"environment": {
"GITHUB_TOKEN": {
"from_secret": "github_token",
},
},
"when": {
"status": [
"failure",
],
"event": [
"pull_request",
],
},
}]
else:
return []
def dockerReleases(ctx):
pipelines = []
for arch in config["dockerReleases"]["architectures"]:
@@ -1449,6 +1617,8 @@ def example_deploys(ctx):
"ocis_keycloak/latest.yml",
"ocis_traefik/latest.yml",
"ocis_wopi/latest.yml",
"ocis_hello/latest.yml",
"ocis_s3/latest.yml",
]
released_configs = [
"cs3_users_ocis/released.yml",
+3 -1
View File
@@ -1,2 +1,4 @@
/onlyoffice/ @LukasHirt
accounts/ @kulmann @pascalwengerter @paulcod3
settings/ @kulmann @pascalwengerter @paulcod3
web/ @kulmann @pascalwengerter
.drone.star @wkloucek @micbar @phil-davis @individual-it
+2 -8
View File
@@ -1,9 +1,9 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/ocis"
directory: "/"
schedule:
interval: "weekly"
interval: "daily"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
@@ -18,12 +18,6 @@ updates:
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:
+14
View File
@@ -23,12 +23,26 @@ labels:
- name: OCIS-Fastlane
color: "#deadbf"
description: Planned outside of the sprint
- name: Storage:EOS
color: "#3F7A62"
- name: Storage:S3NG
color: "#3F7A62"
- name: Storage:CephFS
color: "#3F7A62"
- name: Storage:OCIS
color: "#3F7A62"
- name: Storage:POSIX
color: "#3F7A62"
- name: Storage:ownCloudSQL
color: "#3F7A62"
teams:
- name: ci
permission: admin
- name: employees
permission: push
- name: cern
permission: triage
branches:
- name: master
+5 -11
View File
@@ -16,9 +16,7 @@ else
GOBUILD ?= go build
endif
PACKAGES ?= $(shell go list ./...)
SOURCES ?= $(shell find . -name "*.go" -type f -not -path "./node_modules/*")
GENERATE ?= $(PACKAGES)
TAGS ?=
@@ -42,8 +40,9 @@ 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)"
LDFLAGS += -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn -s -w -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
DEBUG_LDFLAGS += -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
GCFLAGS += all=-N -l
.PHONY: all
@@ -77,16 +76,11 @@ 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)
test:
@go test -v -coverprofile coverage.out ./...
.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]+"
+453 -1
View File
@@ -2,7 +2,459 @@
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v1.7.0...master
[unreleased]: https://github.com/owncloud/ocis/compare/v1.11.0...master
## Summary
* Bugfix - Remove non working proxy route and fix cs3 users example: [#2474](https://github.com/owncloud/ocis/pull/2474)
* Bugfix - Set English as default language in the dropdown in the settings page: [#2465](https://github.com/owncloud/ocis/pull/2465)
* Change - Remove OnlyOffice extension: [#2433](https://github.com/owncloud/ocis/pull/2433)
* Change - Update ownCloud Web to v4.2.0: [#2501](https://github.com/owncloud/ocis/pull/2501)
* Enhancement - Add app provider and app provider registry: [#2204](https://github.com/owncloud/ocis/pull/2204)
* Enhancement - Add the create space permission: [#2461](https://github.com/owncloud/ocis/pull/2461)
* Enhancement - Add set space quota permission: [#2459](https://github.com/owncloud/ocis/pull/2459)
* Enhancement - Create a Space using the Graph API: [#2471](https://github.com/owncloud/ocis/pull/2471)
* Enhancement - Update go-chi/chi to version 5.0.3: [#2429](https://github.com/owncloud/ocis/pull/2429)
* Enhancement - Upgrade go micro to v3.6.0: [#2451](https://github.com/owncloud/ocis/pull/2451)
* Enhancement - Update reva to v1.13.0: [#2477](https://github.com/owncloud/ocis/pull/2477)
## Details
* Bugfix - Remove non working proxy route and fix cs3 users example: [#2474](https://github.com/owncloud/ocis/pull/2474)
We removed a non working route from the proxy default configuration and fixed the cs3 users
deployment example since it still used the accounts service. It now only uses the configured
LDAP.
https://github.com/owncloud/ocis/pull/2474
* Bugfix - Set English as default language in the dropdown in the settings page: [#2465](https://github.com/owncloud/ocis/pull/2465)
The language dropdown didn't have a default language selected, and it was showing an empty
value. Now it shows English instead.
https://github.com/owncloud/ocis/pull/2465
* Change - Remove OnlyOffice extension: [#2433](https://github.com/owncloud/ocis/pull/2433)
Tags: OnlyOffice
We've removed the OnlyOffice extension in oCIS. OnlyOffice has their own web extension for
OC10 backend now with [a dedicated
guide](https://owncloud.dev/clients/web/deployments/oc10-app/#onlyoffice). In
oCIS, we will follow up with a guide on how to start a WOPI server providing OnlyOffice soon.
https://github.com/owncloud/ocis/pull/2433
* Change - Update ownCloud Web to v4.2.0: [#2501](https://github.com/owncloud/ocis/pull/2501)
Tags: web
We updated ownCloud Web to v4.2.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2501
https://github.com/owncloud/web/releases/tag/v4.2.0
* Enhancement - Add app provider and app provider registry: [#2204](https://github.com/owncloud/ocis/pull/2204)
We added the app provider and app provider registry. Now the CS3org WOPI server can be
registered and OpenInApp requests can be done.
https://github.com/owncloud/ocis/pull/2204
https://github.com/cs3org/reva/pull/1785
* Enhancement - Add the create space permission: [#2461](https://github.com/owncloud/ocis/pull/2461)
In preparation for the upcoming spaces features a `Create Space` permission was added.
https://github.com/owncloud/ocis/pull/2461
* Enhancement - Add set space quota permission: [#2459](https://github.com/owncloud/ocis/pull/2459)
In preparation for the upcoming spaces features a `SetSpaceQuota` permission was added.
https://github.com/owncloud/ocis/pull/2459
* Enhancement - Create a Space using the Graph API: [#2471](https://github.com/owncloud/ocis/pull/2471)
Spaces can now be created on `POST /drives/{drive-name}`. Only users with the `create-space`
permissions can perform this operation.
Allowed body form values are:
- `quota` (bytes) maximum amount of bytes stored in the space. - `maxQuotaFiles` (integer)
maximum amount of files supported by the space.
https://github.com/owncloud/ocis/pull/2471
* Enhancement - Update go-chi/chi to version 5.0.3: [#2429](https://github.com/owncloud/ocis/pull/2429)
Updated go-chi/chi to the lastest release
https://github.com/owncloud/ocis/pull/2429
* Enhancement - Upgrade go micro to v3.6.0: [#2451](https://github.com/owncloud/ocis/pull/2451)
Go micro and all go micro plugins are now on v3.6.0
https://github.com/owncloud/ocis/pull/2451
* Enhancement - Update reva to v1.13.0: [#2477](https://github.com/owncloud/ocis/pull/2477)
This update includes:
* Bugfix [cs3org/reva#2054](https://github.com/cs3org/reva/pull/2054): Fix the response after deleting a share
* Bugfix [cs3org/reva#2026](https://github.com/cs3org/reva/pull/2026): Fix moving of a shared file
* Bugfix [cs3org/reva#1605](https://github.com/cs3org/reva/pull/1605): Allow to expose full paths in OCS API
* Bugfix [cs3org/reva#2033](https://github.com/cs3org/reva/pull/2033): Fix the storage id of shares
* Bugfix [cs3org/reva#1991](https://github.com/cs3org/reva/pull/1991): Remove share references when declining shares
* Enhancement [cs3org/reva#1994](https://github.com/cs3org/reva/pull/1994): Add owncloudsql driver for the userprovider
* Enhancement [cs3org/reva#2065](https://github.com/cs3org/reva/pull/2065): New sharing role Manager
* Enhancement [cs3org/reva#2015](https://github.com/cs3org/reva/pull/2015): Add spaces to the list of capabilities
* Enhancement [cs3org/reva#2041](https://github.com/cs3org/reva/pull/2041): Create operations for Spaces
* Enhancement [cs3org/reva#2029](https://github.com/cs3org/reva/pull/2029): Tracing agent configuration
https://github.com/owncloud/ocis/pull/2477
# Changelog for [1.11.0] (2021-08-24)
The following sections list the changes for 1.11.0.
[1.11.0]: https://github.com/owncloud/ocis/compare/v1.10.0...v1.11.0
## Summary
* Bugfix - Specify primary user type for all accounts: [#2364](https://github.com/owncloud/ocis/pull/2364)
* Bugfix - Fix naming of the user- and groupprovider services: [#2388](https://github.com/owncloud/ocis/pull/2388)
* Change - Update ownCloud Web to v4.1.0: [#2426](https://github.com/owncloud/ocis/pull/2426)
* Enhancement - Use non root user for the owncloud/ocis docker image: [#2380](https://github.com/owncloud/ocis/pull/2380)
* Enhancement - Replace unmaintained jwt library: [#2386](https://github.com/owncloud/ocis/pull/2386)
* Enhancement - Update bleve to version 2.1.0: [#2391](https://github.com/owncloud/ocis/pull/2391)
* Enhancement - Update github.com/coreos/go-oidc to v3.0.0: [#2393](https://github.com/owncloud/ocis/pull/2393)
* Enhancement - Update reva to v1.12: [#2423](https://github.com/owncloud/ocis/pull/2423)
## Details
* Bugfix - Specify primary user type for all accounts: [#2364](https://github.com/owncloud/ocis/pull/2364)
https://github.com/owncloud/ocis/pull/2364
* Bugfix - Fix naming of the user- and groupprovider services: [#2388](https://github.com/owncloud/ocis/pull/2388)
The services are called "storage-userprovider" and "storage-groupprovider". The 'ocis
help' output was misleading.
https://github.com/owncloud/ocis/pull/2388
* Change - Update ownCloud Web to v4.1.0: [#2426](https://github.com/owncloud/ocis/pull/2426)
Tags: web
We updated ownCloud Web to v4.1.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2426
https://github.com/owncloud/web/releases/tag/v4.1.0
* Enhancement - Use non root user for the owncloud/ocis docker image: [#2380](https://github.com/owncloud/ocis/pull/2380)
The owncloud/ocis docker image now uses a non root user and enables you to set a different user
with the docker `--user` parameter. The default user has the UID 1000 is part of a group with the
GID 1000.
This is a breaking change for existing docker deployments. The permission on the files and
folders in persistent volumes need to be changed to the UID and GID used for oCIS (default
1000:1000 if not changed by the user).
https://github.com/owncloud/ocis/pull/2380
* Enhancement - Replace unmaintained jwt library: [#2386](https://github.com/owncloud/ocis/pull/2386)
The old library [github.com/dgrijalva/jwt-go](https://github.com/dgrijalva/jwt-go)
is unmaintained and was replaced by the community maintained fork
[github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt).
https://github.com/owncloud/ocis/pull/2386
* Enhancement - Update bleve to version 2.1.0: [#2391](https://github.com/owncloud/ocis/pull/2391)
Updated bleve to the current version.
https://github.com/owncloud/ocis/pull/2391
* Enhancement - Update github.com/coreos/go-oidc to v3.0.0: [#2393](https://github.com/owncloud/ocis/pull/2393)
Updated the github.com/coreos/go-oidc library to the version 3.0.0.
https://github.com/owncloud/ocis/pull/2393
* Enhancement - Update reva to v1.12: [#2423](https://github.com/owncloud/ocis/pull/2423)
* Enhancement cs3org/reva#1803: Introduce new webdav spaces endpoint
* Bugfix cs3org/reva#1819: Disable notifications
* Enhancement cs3org/reva#1861: Add support for runtime plugins
* Bugfix cs3org/reva#1913: Logic to restore files to readonly nodes
* Enhancement cs3org/reva#1946: Add share manager that connects to oc10 databases
* Bugfix cs3org/reva#1954: Fix response format of the sharees API
* Bugfix cs3org/reva#1956: Fix trashbin listing with depth 0
* Bugfix cs3org/reva#1957: Fix etag propagation on deletes
* Bugfix cs3org/reva#1960: Return the updated share after updating
* Bugfix cs3org/reva#1965 cs3org/reva#1967: Fix the file target of user and group shares
* Bugfix cs3org/reva#1980: Propagate the etag after restoring a file version
* Enhancement cs3org/reva#1984: Replace OpenCensus with OpenTelemetry
* Bugfix cs3org/reva#1985: Add quota stubs
* Bugfix cs3org/reva#1987: Fix windows build
* Bugfix cs3org/reva#1990: Increase oc10 compatibility of owncloudsql
* Bugfix cs3org/reva#1992: Check if symlink exists instead of spamming the console
* Bugfix cs3org/reva#1993: fix owncloudsql GetMD
https://github.com/owncloud/ocis/pull/2423
# Changelog for [1.10.0] (2021-08-06)
The following sections list the changes for 1.10.0.
[1.10.0]: https://github.com/owncloud/ocis/compare/v1.9.0...v1.10.0
## Summary
* Bugfix - Improve IDP Login Accessibility: [#5376](https://github.com/owncloud/web/issues/5376)
* Bugfix - Forward basic auth to OpenID connect token authentication endpoint: [#2095](https://github.com/owncloud/ocis/issues/2095)
* Bugfix - Log all requests in the proxy access log: [#2301](https://github.com/owncloud/ocis/pull/2301)
* Bugfix - Update glauth to 20210729125545-b9aecdfcac31: [#2336](https://github.com/owncloud/ocis/pull/2336)
* Change - Update ownCloud Web to v4.0.0: [#2353](https://github.com/owncloud/ocis/pull/2353)
* Enhancement - Proxy: Add claims policy selector: [#2248](https://github.com/owncloud/ocis/pull/2248)
* Enhancement - Add ocs cache warmup config and warn on protobuf ns conflicts: [#2328](https://github.com/owncloud/ocis/pull/2328)
* Enhancement - Refactor graph API: [#2277](https://github.com/owncloud/ocis/pull/2277)
* Enhancement - Update REVA: [#2355](https://github.com/owncloud/ocis/pull/2355)
* Enhancement - Use only one go.mod file for project dependencies: [#2344](https://github.com/owncloud/ocis/pull/2344)
## Details
* Bugfix - Improve IDP Login Accessibility: [#5376](https://github.com/owncloud/web/issues/5376)
We have addressed the feedback from the `a11y` audit and improved the IDP login screen
accordingly.
https://github.com/owncloud/web/issues/5376
https://github.com/owncloud/web/issues/5377
* Bugfix - Forward basic auth to OpenID connect token authentication endpoint: [#2095](https://github.com/owncloud/ocis/issues/2095)
When using `PROXY_ENABLE_BASIC_AUTH=true` we now forward request to the idp instead of
trying to authenticate the request ourself.
https://github.com/owncloud/ocis/issues/2095
https://github.com/owncloud/ocis/issues/2094
* Bugfix - Log all requests in the proxy access log: [#2301](https://github.com/owncloud/ocis/pull/2301)
We now use a dedicated middleware to log all requests, regardless of routing selector outcome.
While the log now includes the remote address, the selected routing policy is only logged when
log level is set to debug because the request context cannot be changed in the
`directorSelectionDirector`, as per the `ReverseProxy.Director` documentation.
https://github.com/owncloud/ocis/pull/2301
* Bugfix - Update glauth to 20210729125545-b9aecdfcac31: [#2336](https://github.com/owncloud/ocis/pull/2336)
* Fixes the backend config not being passed correctly in ocis
* Fixes a mutex being copied, leading to concurrent writes
* Fixes UTF8 chars in filters
* Fixes case insensitive strings
https://github.com/owncloud/ocis/pull/2336
https://github.com/glauth/glauth/pull/198
https://github.com/glauth/glauth/pull/194
* Change - Update ownCloud Web to v4.0.0: [#2353](https://github.com/owncloud/ocis/pull/2353)
Tags: web
We updated ownCloud Web to v4.0.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2353
https://github.com/owncloud/web/releases/tag/v4.0.0
* Enhancement - Proxy: Add claims policy selector: [#2248](https://github.com/owncloud/ocis/pull/2248)
Using the proxy config file, it is now possible to let let the IdP determine the routing policy by
sending an `ocis.routing.policy` claim. Its value will be used to determine the set of routes
for the logged in user.
https://github.com/owncloud/ocis/pull/2248
* Enhancement - Add ocs cache warmup config and warn on protobuf ns conflicts: [#2328](https://github.com/owncloud/ocis/pull/2328)
https://github.com/owncloud/ocis/pull/2328
* Enhancement - Refactor graph API: [#2277](https://github.com/owncloud/ocis/pull/2277)
We refactored the `/graph/v1.0/` endpoint which now relies on the internal acces token fer
authentication, getting rid of any LDAP or OIDC code to authenticate requests. This allows
using the graph api when using basic auth or any other auth mechanism provided by the CS3 auth
providers / reva gateway / ocis proxy.
https://github.com/owncloud/ocis/pull/2277
* Enhancement - Update REVA: [#2355](https://github.com/owncloud/ocis/pull/2355)
Update REVA from v1.10.1-0.20210730095301-fcb7a30a44a6 to
v1.11.1-0.20210809134415-3fe79c870fb5 * Fix cs3org/reva#1978: Fix owner type is optional
* Fix cs3org/reva#1965: fix value of file_target in shares * Fix cs3org/reva#1960: fix
updating shares in the memory share manager * Fix cs3org/reva#1956: fix trashbin listing with
depth 0 * Fix cs3org/reva#1957: fix etag propagation on deletes * Enh cs3org/reva#1861: [WIP]
Runtime plugins * Fix cs3org/reva#1954: fix response format of the sharees API * Fix
cs3org/reva#1819: Remove notifications key from ocs response * Enh cs3org/reva#1946: Add a
share manager that connects to oc10 databases * Fix cs3org/reva#1899: Fix chunked uploads for
new versions * Fix cs3org/reva#1906: Fix copy over existing resource * Fix cs3org/reva#1891:
Delete Shared Resources as Receiver * Fix cs3org/reva#1907: Error when creating folder with
existing name * Fix cs3org/reva#1937: Do not overwrite more specific matches when finding
storage providers * Fix cs3org/reva#1939: Fix the share jail permissions in the decomposedfs
* Fix cs3org/reva#1932: Numerous fixes to the owncloudsql storage driver * Fix
cs3org/reva#1912: Fix response when listing versions of another user * Fix
cs3org/reva#1910: Get user groups recursively in the cbox rest user driver * Fix
cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the datagateway * Fix
cs3org/reva#1911: Fix version order in propfind responses * Fix cs3org/reva#1926: Trash Bin
in oCIS Storage Operations * Fix cs3org/reva#1901: Fix response code when folder doesnt exist
on upload * Enh cs3org/reva#1785: Extend app registry with AddProvider method and mimetype
filters * Enh cs3org/reva#1938: Add methods to get and put context values * Enh
cs3org/reva#1798: Add support for a deny-all permission on references * Enh
cs3org/reva#1916: Generate updated protobuf bindings for EOS GRPC * Enh cs3org/reva#1887:
Add "a" and "l" filter for grappa queries * Enh cs3org/reva#1919: Run gofmt before building *
Enh cs3org/reva#1927: Implement RollbackToVersion for eosgrpc (needs a newer EOS MGM) * Enh
cs3org/reva#1944: Implement listing supported mime types in app registry * Enh
cs3org/reva#1870: Be defensive about wrongly quoted etags * Enh cs3org/reva#1940: Reduce
memory usage when uploading with S3ng storage * Enh cs3org/reva#1888: Refactoring of the
webdav code * Enh cs3org/reva#1900: Check for illegal names while uploading or moving files *
Enh cs3org/reva#1925: Refactor listing and statting across providers for virtual views * Fix
cs3org/reva#1883: Pass directories with trailing slashes to eosclient.GenerateToken * Fix
cs3org/reva#1878: Improve the webdav error handling in the trashbin * Fix cs3org/reva#1884:
Do not send body on failed range request * Enh cs3org/reva#1744: Add support for lightweight
user types * Fix cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the
datagateway * Fix cs3org/reva#1899: Bugfix: Fix chunked uploads for new versions * Enh
cs3org/reva#1888: Refactoring of the webdav code * Enh cs3org/reva#1887: Add "a" and "l"
filter for grappa queries
https://github.com/owncloud/ocis/pull/2355
https://github.com/owncloud/ocis/pull/2295
https://github.com/owncloud/ocis/pull/2314
* Enhancement - Use only one go.mod file for project dependencies: [#2344](https://github.com/owncloud/ocis/pull/2344)
We now use one single go.mod file at the root of the repository rather than one per core
extension.
https://github.com/owncloud/ocis/pull/2344
# Changelog for [1.9.0] (2021-07-13)
The following sections list the changes for 1.9.0.
[1.9.0]: https://github.com/owncloud/ocis/compare/v1.8.0...v1.9.0
## Summary
* Bugfix - Panic when service fails to start: [#2252](https://github.com/owncloud/ocis/pull/2252)
* Bugfix - Dont use port 80 as debug for GroupsProvider: [#2271](https://github.com/owncloud/ocis/pull/2271)
* Change - Update ownCloud Web to v3.4.0: [#2276](https://github.com/owncloud/ocis/pull/2276)
* Change - Update WEB to v3.4.1: [#2283](https://github.com/owncloud/ocis/pull/2283)
* Enhancement - Runtime support for cherry picking extensions: [#2229](https://github.com/owncloud/ocis/pull/2229)
* Enhancement - Add readonly mode for storagehome and storageusers: [#2230](https://github.com/owncloud/ocis/pull/2230)
* Enhancement - Remove unnecessary Service.Init(): [#1705](https://github.com/owncloud/ocis/pull/1705)
* Enhancement - Update REVA to v1.9.1-0.20210628143859-9d29c36c0c3f: [#2227](https://github.com/owncloud/ocis/pull/2227)
* Enhancement - Update REVA to v1.9.1: [#2280](https://github.com/owncloud/ocis/pull/2280)
## Details
* Bugfix - Panic when service fails to start: [#2252](https://github.com/owncloud/ocis/pull/2252)
Tags: runtime
When attempting to run a service through the runtime that is currently running and fails to
start, a race condition still redirect os Interrupt signals to a closed channel.
https://github.com/owncloud/ocis/pull/2252
* Bugfix - Dont use port 80 as debug for GroupsProvider: [#2271](https://github.com/owncloud/ocis/pull/2271)
A copy/paste error where the configuration for the groupsprovider's debug address was not
present leaves go-micro to start the debug service in port 80 by default.
https://github.com/owncloud/ocis/pull/2271
* Change - Update ownCloud Web to v3.4.0: [#2276](https://github.com/owncloud/ocis/pull/2276)
Tags: web
We updated ownCloud Web to v3.4.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2276
https://github.com/owncloud/web/releases/tag/v3.4.0
* Change - Update WEB to v3.4.1: [#2283](https://github.com/owncloud/ocis/pull/2283)
* Fix [5501](https://github.com/owncloud/web/pull/5501): loading previews in the right sidebar
* Fix [5493](https://github.com/owncloud/web/pull/5493): view options position
https://github.com/owncloud/ocis/pull/2283
https://github.com/owncloud/web/releases/tag/v3.4.1
* Enhancement - Runtime support for cherry picking extensions: [#2229](https://github.com/owncloud/ocis/pull/2229)
Support for running certain extensions supervised via cli flags. Example usage:
``` > ocis server --extensions="proxy, idp, storage-metadata, accounts" ```
https://github.com/owncloud/ocis/pull/2229
* Enhancement - Add readonly mode for storagehome and storageusers: [#2230](https://github.com/owncloud/ocis/pull/2230)
To enable the readonly mode use `STORAGE_HOME_READ_ONLY=true` and
`STORAGE_USERS_READ_ONLY=true`. Alternative: use `OCIS_STORAGE_READ_ONLY=true`
https://github.com/owncloud/ocis/pull/2230
* Enhancement - Remove unnecessary Service.Init(): [#1705](https://github.com/owncloud/ocis/pull/1705)
As it turns out oCIS already calls this method. Invoking it twice would end in accidentally
resetting values.
https://github.com/owncloud/ocis/pull/1705
* Enhancement - Update REVA to v1.9.1-0.20210628143859-9d29c36c0c3f: [#2227](https://github.com/owncloud/ocis/pull/2227)
https://github.com/owncloud/ocis/pull/2227
* Enhancement - Update REVA to v1.9.1: [#2280](https://github.com/owncloud/ocis/pull/2280)
* Fix cs3org/reva#1843: Correct Dockerfile path for the reva CLI and alpine3.13 as builder
* Fix cs3org/reva#1835: Cleanup owncloudsql driver
* Fix cs3org/reva#1868: Minor fixes to the grpc/http plugin: checksum, url escaping
* Fix cs3org/reva#1885: Fix template in eoshomewrapper to use context user rather than resource
* Fix cs3org/reva#1833: Properly handle name collisions for deletes in the owncloud driver
* Fix cs3org/reva#1874: Use the original file mtime during upload
* Fix cs3org/reva#1854: Add the uid/gid to the url for eos
* Fix cs3org/reva#1848: Fill in missing gid/uid number with nobody
* Fix cs3org/reva#1831: Make the ocm-provider endpoint in the ocmd service unprotected
* Fix cs3org/reva#1808: Use empty array in OCS Notifications endpoints
* Fix cs3org/reva#1825: Raise max grpc message size
* Fix cs3org/reva#1828: Send a proper XML header with error messages
* Chg cs3org/reva#1828: Remove the oidc provider in order to upgrad mattn/go-sqlite3 to v1.14.7
* Enh cs3org/reva#1834: Add API key to Mentix GOCDB connector
* Enh cs3org/reva#1855: Minor optimization in parsing EOS ACLs
* Enh cs3org/reva#1873: Update the EOS image tag to be for revad-eos image
* Enh cs3org/reva#1802: Introduce list spaces
* Enh cs3org/reva#1849: Add readonly interceptor
* Enh cs3org/reva#1875: Simplify resource comparison
* Enh cs3org/reva#1827: Support trashbin sub paths in the recycle API
https://github.com/owncloud/ocis/pull/2280
# Changelog for [1.8.0] (2021-06-28)
The following sections list the changes for 1.8.0.
[1.8.0]: https://github.com/owncloud/ocis/compare/v1.7.0...v1.8.0
## Summary
+263
View File
@@ -0,0 +1,263 @@
First of all, thank you for taking the time to read this and your interest in contributing to ownCloud Infinite Scale!
The following is a set of guidelines for contributing to most of the projects hosted in the [ownCloud Organization](https://github.com/owncloud) on [GitHub](https://www.github.com). These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
For simplicity reasons, this document mostly refers to the ownCloud [Infinite Scale project](https://www.github.com/owncloud/ocis), but it should be easily transferable to other (sub)projects.
#### Table Of Contents
[I don't want to read this whole thing, I just have a question](#i-dont-want-to-read-this-whole-thing-i-just-have-a-question)
[What should I know before I get started](#what-should-i-know-before-i-get-started)
* [ownCloud is hosted on Github](#owncloud-is-hosted-on-github)
* [ownCloud Company, Engineering Partners and Community](#owncloud-company,-engineering-partners-and-community)
* [Licensing and CLA](#licensing-and-cla)
[How Can I Contribute](#how-can-i-contribute)
* [Help spreading the word](#help-spreading-the-word)
* [Reporting Bugs](#reporting-bugs)
* [Suggesting Enhancements](#suggesting-enhancements)
* [Your First Code Contribution](#your-first-code-contribution)
* [Pull Requests](#pull-requests)
* [Documentation Contributions](#documentation-contributions)
* [Internationalization](#internationalization)
* [Deployments: Docker, Ansible and friends](#deployments-docker-ansible-and-friends)
[Styleguides](#styleguides)
* [Git Commit Messages](#git-commit-messages)
* [Golang Styleguide](#golang-styleguide)
* [Web Styleguide](#web-styleguide)
* [Documentation Styleguide](#documentation-styleguide)
[Additional Notes](#additional-notes)
* [Issue and Pull Request Labels](#issue-and-pull-request-labels)
## I don't want to read this whole thing I just have a question
> **Note:** Please don't file an issue to ask a question. You'll get faster results by using the resources below.
For general questions, please refer to [ownCloud's FAQs](https://owncloud.com/faq/) or ask on the [ownCloud Central Server](https://central.owncloud.org/).
We also have a [Rocket Chat Server](https://talk.owncloud.com/channel/ocis) to answer your questions specifically about ownCloud Infinite Scale.
## What should I know before I get started
### ownCloud is hosted on Github
To effectivly contribute to ownCloud Infinite Scale, you need a Github account. You can get that for free at [Github](https://github.com/join). You can find howtos on the internet, for example [here](https://www.wikihow.com/Create-an-Account-on-GitHub).
For other ways of contributing, for example with translations, other systems require you to have an account as well, for example [Transifex](https://www.transifex.com).
The ownCloud project follows the strict Github workflow of development as briefly [described here](https://guides.github.com/introduction/flow/).
### ownCloud Company, Engineering Partners and Community
ownCloud Infinite Scale is largely created by developers who are employed by the [ownCloud company](https://www.owncloud.com), which is located in Germany. It is providing support for ownCloud for customers worldwide. In addition there are engineering partners who also work full time on ownCloud related code, for example in [CERN REVA](https://github.com/cs3org/reva/).
Because of that fact, the pace that the development is moving forward is sometimes high for people who are not willing and/or able to spend a comparable amount of time to contribute. Even though this can be a challenge, it should not scare anybody away. Here is our clear commitment that we feel honored by everybody who is interested in our work and improves it, no matter how big the contribution might be.
We as the full time devs from either organization are doing our best to listen, review and consider all changes that are brought forward following this guideline and make sense for the project.
### Licensing and CLA
We are very happy that there is *no CLA* required for most of the code of ownCloud Infinite Scale.
Currently, only for the following components you need to sign a [Contributors License Agreement](https://en.wikipedia.org/wiki/Contributor_License_Agreement):
* [ownCloud Web](https://github.com/owncloud/web/): [Link to CLA](https://owncloud.com/contribute/join-the-development/contributor-agreement/)
Please make sure to read and understand the details of the CLA before starting to invest time on a component that requires it. If you have any questions or concerns please feel free to raise them with us.
## How Can I Contribute
There are many ways to contribute to open source projects, and all are equally valuable and appreciated.
### Help spreading the word
This way to contribute to the project can not be overestimated: People who talk about their experience with ownCloud Infinite Scale and help others with that are the key to success of the project.
There are too many ways of doing that to line them up here, but examples are answering questions in [ownCloud Central](https://central.owncloud.org/) or on [ownCloud Talk](https://talk.owncloud.com/channel/ocis), writing blog posts etc pp.
There is no formal guideline to this, just do it :-)
### Reporting Bugs
This section guides you through submitting a bug report for ownCloud Infinite Scale. Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behavior :computer: :computer:, and find related reports :mag_right:.
Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](https://github.com/owncloud/ocis/issues/new?Type%3ABug&template=bug_report.md), the information it asks for helps us resolve issues faster.
> **Note:** If you find a **Closed** issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one. If you have permission to reopen the issue, feel free to do so.
#### Before Submitting A Bug Report
* **Make sure you are running a recent version** Usually, developers' interest in old versions of software drops very fast once a new shiny version has been released. So the general recommendation is: Use the latest released version or even the current master to reproduce problems that you might encounter. That helps a lot to attract developers attention.
* **Determine which [repository](https://github.com/owncloud) the problem should be reported in**.
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** with possibly a more granular filter on the repository, to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one **if you have new information**. Please abstain from adding "plus ones", except using the Github emojis. That might indicate how many users are affected.
#### How Do I Submit A (Good) Bug Report
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined [which repository](https://github.com/owncloud) your bug is related to, create an issue on that repository and provide the following information by filling in [the template](https://github.com/owncloud/ocis/issues/new?Type%3ABug&template=bug_report.md).
Explain the problem and include additional details to help maintainers reproduce the problem:
* **Use a clear and descriptive title** for the issue to identify the problem.
* **Describe the exact steps which reproduce the problem** in as many details as possible. Start with describing, from a user perspective, what you tried to achieve, i.e. "I want to share some pictures with Grandma". When listing steps, **don't just say what you did, but explain how you did it**. For example, if you uploaded a file to ownCloud, say which client you used, which way of uploading you chose, if the name was special somehow and how big it was.
* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
* **Explain which behavior you expected to see instead and why.**
* **Include screenshots and animated GIFs** which show you following the described steps and clearly demonstrate the problem. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux.
* **If you report a web browser related problem**, consider to using the browser's Web developer tools (such as the debugger, console or network monitor) to check what happened. Make sure to add screenshots of the utilities if you are short of time to interpret it.
* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below.
Provide more context by answering these questions:
* **Did the problem start happening recently** (e.g. after updating to a new version) or was this always a problem?
* If the problem started happening recently, **can you reproduce the problem in an older version?** What's the most recent version in which the problem doesn't happen? You can find more information about how to set up [test environments](https://owncloud.dev/ocis/development/testing/) in the [developer documentation](https://owncloud.dev/#developer-documentation).
* **Can you reliably reproduce the issue?** If not, provide details about how often the problem happens and under which conditions it normally happens.
Include details about your configuration and environment as asked for in the template.
### Suggesting Enhancements
This section guides you through submitting an enhancement suggestion for ownCloud Infinite Scale, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion :pencil: and find related suggestions :mag_right:.
Before creating enhancement suggestions, please check [this list](#before-submitting-an-enhancement-suggestion) as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please [include as many details as possible](#how-do-i-submit-a-good-enhancement-suggestion). Fill in [the template](https://github.com/owncloud/ocis/.github/blob/master/.github/ISSUE_TEMPLATE/feature_request.md), including the steps that you imagine you would take if the feature you're requesting existed.
#### Before Submitting An Enhancement Suggestion
* **Check if there's already an extension or other component which provides that enhancement, even in a different way.**
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one. Feel free to use the Github emojis to indicate that you are in favour of an enhancement request.
#### How Do I Submit A (Good) Enhancement Suggestion
Enhancement suggestions are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined [which repository](https://github.com/owncloud) your enhancement suggestion is related to, create an issue on that repository and provide the following information:
* **Use a clear and descriptive title** for the issue to identify the suggestion.
* **Provide a step-by-step description of the suggested enhancement** in as many details as possible.
* **Provide specific examples to demonstrate the steps**. Include copy/pasteable snippets which you use in those examples, as [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
* **Explain why this enhancement would be useful** to most ownCloud users.
* **List some other projects or products where this enhancement exists.**
### Your First Code Contribution
Unsure where to begin contributing to ownCloud? You can start by looking through these `Needs-help` issues:
* The [Good first issue](https://github.com/owncloud/ocis/labels/Topic%3Agood-first-issue) label marks good items to start with.
* [Tests needed](https://github.com/owncloud/ocis/labels/Interaction%3ANeeds-tests) - issues which would benefit from a test.
* [Help wanted issues](https://github.com/owncloud/ocis/labels/Interaction%3ANeeds-help) - issues which should be a bit more involved.
It is fine to pick one of the list following personal preference. While not perfect, number of comments is a reasonable proxy for impact a given change will have.
To find out how to set up ownCloud Infinite Scale for local development please refer to the [Developer Documentation](https://owncloud.dev/ocis/development/getting-started/). It contains a lot of information that will come in handy when starting to work on the project.
### Pull Requests
All contributions to ownClouds projects use so called pull requests following the [Github PR workflow](https://guides.github.com/introduction/flow/).
Please follow these steps to have your contribution considered by the maintainers:
* Follow all instructions in [the template](https://github.com/owncloud/ocis/blob/master/.github/pull_request_template.md)
* Follow the [styleguides](#styleguides) where applicable
* After you submit your pull request, verify that all [status checks](https://help.github.com/articles/about-status-checks/) are passing <details><summary>What if the status checks are failing?</summary>If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.</details>
While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.
### Documentation Contributions
ownCloud is very proud of the documentation it has, which is the work of a great team of people. Of course, also the documentation is open to contributions.
See the [Getting Started Guide](https://owncloud.dev/ocis/development/getting-started/) on how to get started. Other useful information is summarized in the [Documentation Readme](https://github.com/owncloud/docs).
### Internationalization
Our projects are getting translated into many languages to allow people from all over the world to use ownCloud in their native language. For translations, ownCloud uses [Transifex](https://www.transifex.com) as a community based collaboration platform for internationalization.
For contributions please refer to the [Transifex Resources](https://www.transifex.com/resources/) to learn how to improve ownClouds translations there.
### Deployments: Docker, Ansible and friends
Depending on the ownCloud component, there is complex deployment tooling to install in various environments. There is for example [ownCloud Ansible](https://github.com/owncloud-ansible) with Ansible resources. Contributions to that are very appreciated and follow the same guidelines as every other code contribution.
## Styleguides
To keep up with a consistent code and tooling landscape, some of the ownCloud modules maintain styleguides for contributions. It is mandatory to follow them in contributions.
### Git Commit Messages
* Use the present tense ("Add feature" not "Added feature")
* Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
* Limit the first line to 72 characters or less
* Reference issues and pull requests liberally after the first line
* When only changing documentation, include `[docs-only]` in the commit title
### Golang Styleguide
Use the built in golang code formatter before submitting the patch. Also, consulting documentation like [Effective Go](https://golang.org/doc/effective_go) or [Practical Go](http://bit.ly/gcsg-2019) helps to improve the code quality.
### Web Styleguide
Refer to related documents in the [ownCloud Web Repository](https://github.com/owncloud/web).
#### Documentation Styleguide
See the [ownCloud Documentation Styleguide](https://github.com/owncloud/docs/blob/master/docs/style-guide.md).
## Additional Notes
### Issue and Pull Request Labels
This section lists the labels we use to help us track and manage issues and pull requests. Most labels are used across all ownCloud repositories, but some are specific.
[GitHub search](https://help.github.com/articles/searching-issues/) makes it easy to use labels for finding groups of issues or pull requests you're interested in. To help you find issues and pull requests, each label can be used in search links for finding open items with that label in the ownCloud repositories.
The labels are loosely grouped by their purpose, but it's not required that every issue has a label from every group or that an issue can't have more than one label from the same group.
The list here contains all the more general categories of issues which are followed by a colon and a specific value. For example severity 1 looks like `Severity:sev1-critical`.
#### Platform
Describes the platform the issue is happening on, ie. iOS or Windows.
#### Estimation
T-Shirt sizes for effort estimation to fix that bug or implement an enhancement. Ranges from XS to XXXL.
#### Priority
P1 to P4 (lowest) to indicate an priority. Mostly a tool for internal project management and support.
#### QA
Flags to indicate the internal QA status in terms of process and priority. Please leave alone unless you're QA ;-)
#### Severity
Severity for the product, mostly impact on user.
#### Type
The issue type, helps to structure the issues in the agile categories (Epic, Story...) but also organizational ones.
#### Topic
A general category of the topic of a ticket.
#### Category
Categorizes the issue to also indicate the type of the issue.
#### Status
The status in the ticket life cycle. Keep an eye on that one, especially for the `Waiting-for-Feedback` tag which might indicate that the reporter is asked for feedback.
#### Interaction
Another label that indicates the type of the issue.
#### Browser
Important for browser dependent web issues. It specifies the browser that shows the error.
#### Early-Adopter
Tags issues that were reported by one of the oCIS early adopters, ie. customers and users who start using ownCloud Infinite Scale before it's general availability.
-1
View File
@@ -24,7 +24,6 @@ OCIS_MODULES = \
ocis \
ocis-pkg \
ocs \
onlyoffice \
proxy \
settings \
storage \
+2 -2
View File
@@ -24,7 +24,7 @@ If you find a security issue please contact [security@owncloud.com](mailto:secur
## Contributing
Fork -> Patch -> Push -> Pull Request
Please refer to our [Contribution Guidelines](CONTRIBUTING.md).
## License
@@ -33,5 +33,5 @@ Apache-2.0
## Copyright
```console
Copyright (c) 2020 ownCloud GmbH <https://owncloud.com>
Copyright (c) 2020-2021 ownCloud GmbH <https://owncloud.com>
```
+1 -1
View File
@@ -32,7 +32,7 @@ include ../.make/generate.mk
.PHONY: ci-go-generate
ci-go-generate: protobuf # CI runs ci-node-generate automatically before this target
@go generate $(GENERATE)
@go generate ./...
.PHONY: ci-node-generate
ci-node-generate: yarn-build
-45
View File
@@ -1,45 +0,0 @@
module github.com/owncloud/ocis/accounts
go 1.16
require (
contrib.go.opencensus.io/exporter/jaeger v0.2.1
contrib.go.opencensus.io/exporter/ocagent v0.7.0
contrib.go.opencensus.io/exporter/zipkin v0.1.2
github.com/asim/go-micro/plugins/client/grpc/v3 v3.0.0-20210408173139-0d57213d3f5c
github.com/asim/go-micro/v3 v3.5.1-0.20210217182006-0f0ace1a44a9
github.com/cs3org/go-cs3apis v0.0.0-20210614143420-5ee2eb1e7887
github.com/cs3org/reva v1.9.0
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.5.2
github.com/grpc-ecosystem/grpc-gateway/v2 v2.2.0
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.5
github.com/openzipkin/zipkin-go v0.2.5
github.com/owncloud/ocis/ocis-pkg v0.0.0-20210216094451-dc73176dc62d
github.com/owncloud/ocis/settings v0.0.0-20210413063522-955bd60edf33
github.com/prometheus/client_golang v1.10.0
github.com/rs/zerolog v1.23.0
github.com/spf13/viper v1.7.1
github.com/stretchr/testify v1.7.0
github.com/thejerf/suture/v4 v4.0.0
go.opencensus.io v0.23.0
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
google.golang.org/genproto v0.0.0-20210207032614-bba0dbe2a9ea
google.golang.org/grpc v1.38.0
google.golang.org/protobuf v1.26.0
)
replace (
github.com/owncloud/ocis/ocis-pkg => ../ocis-pkg
github.com/owncloud/ocis/settings => ../settings
github.com/owncloud/ocis/store => ../store
// 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
)
-2439
View File
File diff suppressed because it is too large. Load diff
+11 -11
View File
@@ -17,10 +17,10 @@
"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}\""
"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 @cucumber/pretty-formatter -t \"${TEST_TAGS:-not @skip and not @skipOnOC10}\""
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/core": "^7.15.5",
"@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",
@@ -28,17 +28,17 @@
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/polyfill": "^7.10.1",
"@babel/preset-env": "^7.13.12",
"@babel/register": "7.13.8",
"@babel/register": "^7.14.5",
"@cucumber/cucumber": "^7.3.1",
"@cucumber/pretty-formatter": "^1.0.0-alpha.1",
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.0.1",
"@rollup/plugin-replace": "^2.3.0",
"archiver": "^5.3.0",
"axios": "^0.21.1",
"core-js": "3",
"axios": "^0.21.4",
"core-js": "^3.17.3",
"cross-env": "^7.0.3",
"cucumber": "^6.0.5",
"cucumber-pretty": ">=6.0.0",
"debounce": "^1.2.1",
"easygettext": "^2.17.0",
"eslint": "7.24.0",
@@ -51,13 +51,13 @@
"fs-extra": "^9.0.1",
"join-path": "^1.1.1",
"ldapjs": "^2.2.3",
"nightwatch": "^1.3.6",
"nightwatch-api": "^3.0.1",
"nightwatch": "1.5.1",
"nightwatch-api": "3.0.2",
"nightwatch-vrt": "^0.2.10",
"node-fetch": "^2.6.1",
"qs": "^6.10.1",
"rimraf": "^3.0.0",
"rollup": "^2.42.4",
"rollup": "^2.55.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-filesize": "^9.1.0",
@@ -76,7 +76,7 @@
"not dead"
],
"peerDependencies": {
"owncloud-design-system": "^7.4.2"
"owncloud-design-system": "^9.3.0"
},
"dependencies": {
"validator": "^13.1.1"
+3 -3
View File
@@ -1,5 +1,5 @@
// Code generated by fileb0x at "2021-06-21 23:19:53.756843 +0200 CEST m=+0.026966814" from config file "embed.yml" DO NOT EDIT.
// modification hash(b80d52cc8a7a822a3b60b232225c03e4.8058aec596c5fb73022d09bb97af796e)
// Code generated by fileb0x at "2021-09-14 19:17:48.311286859 +0100 WEST m=+0.005844360" from config file "embed.yml" DO NOT EDIT.
// modification hash(c4a629d16d7bcba947309c058228ee35.8058aec596c5fb73022d09bb97af796e)
package assets
@@ -36,7 +36,7 @@ type HTTPFS struct {
}
// FileAccountsJs is "accounts.js"
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xfd\xf9\x92\x1b\xb7\x92\x38\x0a\xff\xfd\xcd\x53\x90\x18\xa9\x0c\x98\xe8\x12\x29\x79\x2d\x0a\xe2\xc8\x52\xcb\x96\xad\xcd\x6a\xc9\xcb\x61\xf3\xf4\x41\x17\x41\x76\x49\x24\x40\xa3\xc0\x5e\x4c\xd6\xf7\x3e\xf7\x35\xee\x93\xdd\xc0\x56\x85\x5a\xd8\xd2\x99\x99\xdf\x8d\xb8\x11\x1d\xcd\x02\x90\x48\xec\x89\xcc\x44\x22\x31\x67\x8b\x8c\x33\x08\x17\x5b\x9e\xaa\x4c\x70\x88\x76\x60\x9b\xb3\x5e\xae\x64\x96\x2a\x30\xbe\xa4\xb2\xc7\x08\xd8\x72\x0b\x38\x07\x7d\xa2\x6e\x36\x4c\x2c\x7a\xcb\x95\x38\xa7\xab\x77\x17\x59\x3e\xa9\x3e\x93\x2e\xc8\xab\x8c\xcf\xc5\xd5\xc4\xfe\x74\x42\x58\x04\x0e\x4f\x27\x44\xce\x56\x8b\x89\xfe\x97\xec\x8a\xb1\xaf\x6c\x4f\x41\x86\x76\x92\xa9\xad\xe4\x3d\x16\x45\x2c\x3e\x3b\x63\xf9\x4b\x31\xdf\xae\x58\x14\xbd\x3e\xff\xc0\x52\x15\x6f\xa4\x50\x42\x63\x89\x2f\x68\xfe\xfa\x8a\xbf\x91\x62\xc3\xa4\xba\x89\x53\xba\x5a\x41\x86\xc1\x9c\x2d\xe8\x76\xa5\x00\x9a\xb0\xd8\x7d\x27\xac\x28\xcb\xe0\xba\x8c\x6c\x01\x43\xe4\xc8\x97\x69\xfa\x47\x11\x57\x94\xad\xb5\x2f\x00\xee\x0a\x0c\xaa\x3c\x00\xef\x2e\xe9\x6a\xcb\x92\xfe\xb0\x40\x63\x87\xc0\x65\xfc\xc8\x6e\x72\xc8\x50\xbc\x10\xf2\x98\xa6\x17\xc1\x70\x70\xb4\xd3\x45\x48\x5f\xc4\x92\xa9\xa0\x0d\x4f\x59\x9e\xca\x6c\xa3\x84\x84\x0c\x73\x34\xee\xae\x87\xc2\x1c\x4b\x9d\x73\x22\x93\x1d\xe3\xdb\x35\x93\xf4\x7c\xa5\x2b\x82\x97\x4c\x25\xc1\xd0\xfb\x66\x4d\xf9\xac\x28\x50\x81\x10\x56\x55\x47\x48\xdd\x11\xb6\xbd\x3b\x76\xbd\x11\x52\xe5\xc9\xae\x28\x7c\x53\x18\x54\x58\xc5\x2e\x01\x55\x9f\x85\x0c\x9a\x53\x62\x68\xc5\x60\x4e\x9a\x03\x86\x25\xe1\x8d\x41\xc3\x82\x00\x9f\x15\x10\x3f\x39\x4e\x6e\xd6\xe7\x62\x35\xb1\x3f\xc9\xae\xc0\x94\x88\x38\x53\x4c\x52\x25\xe4\x7e\x0f\xfe\xeb\xbf\x7c\x00\xe0\x8c\x88\x98\xe6\x37\x3c\x7d\x1e\xa6\xd7\x62\x00\x4e\x89\x88\x95\x38\x51\x32\xe3\xcb\x77\x74\x69\x40\x82\x30\xa8\x66\x60\x0e\x19\x56\x98\x97\x5d\xd7\x3d\x02\x1a\xc6\x8d\x3e\xc7\xf5\x11\x48\x05\x5f\x64\xcb\x6d\x19\xbe\x92\x99\x72\xdf\x05\xc2\x6c\xaa\x66\x85\x92\x37\xbb\xdc\xcc\x26\x80\x8a\x94\xaa\xf4\x42\xf7\x5a\x1e\xf4\x61\xad\x0a\x3a\x0f\xe1\x45\x35\x70\x5b\x0b\x80\xa5\xed\x6a\x41\x54\x14\x05\xdd\xdc\xcb\x78\xae\x28\x4f\x75\x4f\xde\x4c\x54\x72\x83\xa9\x1f\x8a\x54\x32\xaa\x18\x14\x15\x30\xc2\x19\xe1\xec\xaa\x77\x06\xe5\x7e\x3f\x9d\x95\x13\x99\xc6\x67\x19\xbf\x14\x1f\x59\xab\x56\x76\xfa\x2e\x3c\x60\x99\x2c\x30\x35\xeb\x4a\x12\x42\xe6\x48\x5d\x48\x71\xd5\xd3\x98\x8f\xa5\x14\x12\x82\x1f\x19\xb7\xa3\xd1\xcb\xf2\x1e\x5d\x49\x46\xe7\x37\x3d\xb9\xe5\x3c\xe3\x4b\x80\xc6\x2e\xe3\x85\x41\x01\x4c\x6e\x40\x08\x11\x0e\x11\xf5\xc5\x5d\x43\x54\x2c\x84\x84\x3c\x5e\x33\x75\x21\xe6\x44\x60\x1e\x53\xb9\x24\x74\x3c\xb6\x75\xcb\x08\x8f\xe7\x6c\xc5\x96\x54\x31\x8d\x36\xb3\xd1\x29\xf9\x08\x33\xbd\xa6\xb2\x05\x4c\x4d\x29\x29\x21\x64\x8d\x52\xc1\x55\xc6\xb7\xcc\x17\x90\x16\x85\xae\x01\x67\xd7\x4a\x57\xc0\x97\x83\x78\x9c\x33\xae\x08\x8f\xcf\xdc\x2f\x95\xcb\x31\x5b\xe5\xac\x57\xab\x70\x09\xef\xbb\x62\xe1\x5a\x20\xc9\x85\xad\xe9\x98\xc7\xf3\x2c\xdf\xe8\x61\x3f\xbe\x4e\xd9\xc6\x92\x05\x9d\x82\x0a\x8d\x0f\xd8\x8a\x84\xc8\xa2\x88\xc7\xf4\x5c\x6e\x37\x0a\xfa\x54\x8b\x0b\x8d\x25\x99\x1b\x9a\x95\x93\x95\x1b\xa0\xb1\xa9\xbe\x90\x6b\xba\xd2\x38\xf2\xd8\x0c\xb3\xad\x0e\x8f\xe7\x82\xb3\xc9\x45\xb2\xc1\xb9\xe9\xb5\x8e\x1e\x70\xf3\xda\xa4\x63\x0d\x9e\xd8\x5c\x45\x51\xb5\xd2\x22\x8d\x22\x68\x5b\xe5\x86\xc2\xa5\xbb\x01\xc9\x6d\x93\x8a\x42\x93\x32\x9c\x21\x4c\xab\x19\xec\xeb\xba\xd3\x4b\xc1\x15\xab\x31\x26\xbe\xe2\x98\xca\x65\xc2\x2c\x49\xd7\x80\x45\xb5\x4e\x6a\xe0\xae\x44\x03\x5d\x14\x05\x8b\xaf\x24\xdd\x90\xad\xe9\x92\x05\x01\xf9\x36\xdf\x30\x3e\x67\xf3\x13\x45\xa5\x02\x78\x13\x44\xfd\x99\xb1\xd5\x1c\xe0\x39\x01\xec\x9a\xa5\x5b\xa5\xe7\x21\xbe\x20\x20\x15\xeb\xcd\x8a\x29\x36\x07\x78\x4d\xc2\xcd\xe9\x06\xa2\x5d\xd5\x84\x65\x2d\x74\xa9\x43\xba\xd0\x73\x9d\xe5\x7c\x4a\x67\xa4\x4d\x86\xd5\x45\x96\x17\xa6\x6a\x57\x01\xf9\x7f\xe3\x97\xe2\xeb\x05\x7e\x4c\xae\xa2\xe8\x0a\x5e\xc1\x0f\x70\x3a\x43\x08\x8d\x1f\x47\xd1\xe3\x3e\x21\x3c\x8a\xa4\xed\x8c\xc7\x98\xa2\x28\x82\xe7\xe4\x31\x32\x98\x4e\xc8\x65\xb5\x98\xc9\x4d\xf0\x5d\x5f\xf2\xe7\xa8\x6a\xc8\xb1\xee\xc6\xa9\x9d\xe2\xd8\x77\xa1\x9f\x58\xb3\x8e\x4d\x4b\xa1\x9d\xa5\x8b\x35\xc2\x1f\xb4\xca\x13\x0b\xa8\x30\xd3\xdb\x8c\xfe\x2b\x8b\x7b\xad\xb3\xa2\x5d\xb0\x01\x0b\x4c\x71\x86\x53\xbb\x30\xcd\xcc\x9d\x8a\x19\x66\x98\xda\xc9\x6b\x6b\xd4\xaf\xe6\xae\x06\xdb\xda\x09\x85\x17\x64\x1b\x9b\x19\x5a\x12\xa0\x28\x02\xc2\xb4\xb5\xda\x40\x16\x65\x7f\x2d\xf4\x96\x4d\xaf\x68\xa6\xf9\x01\x15\x4b\x96\x8b\xd5\x25\x83\x8b\xd8\xc5\xa2\x58\x5d\x30\x5e\xdf\xd1\xb8\x5b\xfe\x98\x99\x5a\x16\x08\x37\x93\x5d\x9f\xf9\x74\x94\x04\x98\xbb\x30\xba\x2a\x13\x86\x33\xb8\x6d\x21\x74\x0d\xe9\xc0\x5b\xa4\xd0\x2d\x23\x43\xe8\xc7\x61\x5f\x87\x84\x59\x06\xdd\x4b\xab\x09\xa7\xc9\xaf\x0a\xc7\x11\x0b\x5d\x7d\x86\x25\xd6\x9f\xba\x00\x07\x29\x88\x98\x08\x5b\x71\x8a\x29\x4a\x28\x44\xc1\x86\xf3\xd1\x70\x23\x8e\xf2\xb3\x72\x27\x9e\xfa\x95\x3f\xf3\xe4\x5b\x19\x3a\x53\xd1\x5f\xc2\xb7\xab\x15\x3e\x40\x1d\x2b\x44\xb1\xad\x45\x14\x55\x64\xbd\x4e\xe7\x88\xc2\xb6\x0e\x5d\xb8\x3c\xf3\xb6\xLine truncated
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xbd\xe9\x76\xdb\xb8\xd2\x28\xfa\xfb\x9e\xa7\x90\x70\x62\x36\xd0\x82\x69\xc9\x49\x67\x77\x53\x41\x74\x32\x38\x43\x77\xa6\x8e\x93\xde\x83\xac\xf6\x86\x25\x48\x62\x2c\x81\x6a\x10\xf2\x10\x89\x0f\x74\x5f\xe3\x3e\xd9\x5d\x18\x09\x52\x94\x93\xfd\x9d\xef\xdc\xb5\xee\x5a\x89\x45\x00\x85\x42\x61\x2a\x14\x0a\x85\xc2\x84\x4d\x53\xce\x20\x9c\xae\xf9\x58\xa6\x19\x87\x68\x03\xd6\x39\x6b\xe5\x52\xa4\x63\x09\xfa\x57\x54\xb4\x18\x01\x6b\x6e\x00\x27\xa0\x4d\xe4\xed\x8a\x65\xd3\xd6\x6c\x91\x5d\xd0\xc5\xa7\x79\x9a\x0f\xca\xcf\xa4\x09\xf2\x3a\xe5\x93\xec\x7a\x60\x7e\x1a\x21\x0c\x02\x8b\xa7\x11\x22\x67\x8b\xe9\x40\xfd\x49\x36\x45\xdf\x11\xdb\x92\x90\xa1\x8d\x60\x72\x2d\x78\x8b\x45\x11\x8b\xcf\xcf\x59\xfe\x36\x9b\xac\x17\x2c\x8a\xde\x5f\x7c\x61\x63\x19\xaf\x44\x26\x33\x85\x25\x9e\xd3\xfc\xfd\x35\xff\x20\xb2\x15\x13\xf2\x36\x1e\xd3\xc5\x02\x32\x0c\x26\x6c\x4a\xd7\x0b\x09\xd0\x80\xc5\xf6\x3b\x61\x85\x2f\x83\xab\x32\xd2\x29\x0c\x91\x23\x57\xa6\x6e\x1f\x49\x6c\x51\x86\x6a\x57\x00\xdc\x14\x18\x94\x79\x00\xde\x5c\xd1\xc5\x9a\x25\xed\x6e\x81\xfa\x16\x81\xcd\x78\xc9\x6e\x73\xc8\x50\x3c\xcd\xc4\x09\x1d\xcf\x83\xee\xe0\x68\xa3\x8a\x10\xae\x88\x19\x93\x41\x1d\x9e\xb3\x7c\x2c\xd2\x95\xcc\x04\x64\x98\xa3\x7e\x33\x1d\x12\x73\x2c\x54\xce\x81\x48\x36\x8c\xaf\x97\x4c\xd0\x8b\x85\x22\x04\xcf\x98\x4c\x82\xae\x77\xd5\x1a\xf2\x51\x51\xa0\x02\x21\x2c\xcb\x86\x10\xaa\x21\x4c\x7d\x37\xec\x66\x95\x09\x99\x27\x9b\xa2\x70\x55\x61\x50\x62\x19\xdb\x04\x54\x7e\x16\x22\xa8\x8e\xc7\xb0\x13\x83\x39\xa9\x77\x18\x16\x84\xd7\x3a\x0d\x67\x04\xb8\xac\x80\xb8\xc1\x71\x7a\xbb\xbc\xc8\x16\x03\xf3\x93\x6c\x0a\x4c\x49\x16\xa7\x92\x09\x2a\x33\xb1\xdd\x82\xff\xf5\xbf\x5c\x00\xe0\x94\x64\x31\xcd\x6f\xf9\xf8\x75\x98\x5e\x89\x01\x38\x27\x59\x2c\xb3\x53\x29\x52\x3e\xfb\x44\x67\x1a\x24\x08\x83\x72\x04\x8e\x21\xc3\x12\x73\xdf\x74\xcd\x3d\xa0\x60\x6c\xef\x73\x5c\xed\x81\x71\xc6\xa7\xe9\x6c\xed\xc3\xd7\x22\x95\xf6\xbb\x40\x98\x0d\xe5\xa8\x90\xe2\x76\x33\xd6\xa3\x09\xa0\x62\x4c\xe5\x78\xae\x5a\x6d\x1c\xb4\x61\x85\x04\x95\x87\xf0\xa2\xec\xb8\xb5\x01\xc0\xc2\x34\x75\x46\x64\x14\x05\xcd\xdc\x4a\x79\x2e\x29\x1f\xab\x96\xbc\x1d\xc8\xe4\x16\x53\xd7\x15\x63\xc1\xa8\x64\x30\x2b\x81\x11\x4e\x09\x67\xd7\xad\x67\x50\x6c\xb7\xc3\x91\x1f\xc8\x34\x3e\x4f\xf9\x55\x76\xc9\x76\xa8\x32\xc3\x77\xea\x00\x7d\x72\x86\xa9\x9e\x57\x82\x10\x32\x41\x72\x2e\xb2\xeb\x96\xc2\x7c\x22\x44\x26\x20\x78\xc9\xb8\xe9\x8d\x56\x9a\xb7\xe8\x42\x30\x3a\xb9\x6d\x89\x35\xe7\x29\x9f\x01\xd4\xb7\x19\xe7\x1a\x05\xd0\xb9\x01\x21\x24\xb3\x88\xa8\x2b\xee\x1c\xa2\x62\x9a\x09\xc8\xe3\x25\x93\xf3\x6c\x42\x32\xcc\x63\x2a\x66\x84\xf6\xfb\x86\xb6\x94\xf0\x78\xc2\x16\x6c\x46\x25\x53\x68\x53\x13\x9d\x93\x4b\x98\xaa\x39\x95\x4e\x61\xae\x4b\xc9\x09\x21\x4b\x34\xce\xb8\x4c\xf9\x9a\xb9\x02\xf2\xa2\x50\x14\x70\x76\x23\x15\x01\xae\x1c\xc4\xe3\x9c\x71\x49\x78\x7c\x6e\x7f\xa9\x98\xf5\xd9\x22\x67\xad\x0a\xc1\x1e\xde\x35\xc5\xd4\xd6\x40\x90\xb9\xa1\xb4\xcf\xe3\x49\x9a\xaf\x54\xb7\x9f\xdc\x8c\xd9\xca\xb0\x05\x95\x82\x0a\x85\x0f\x18\x42\x42\x64\x51\xc4\x63\x7a\x21\xd6\x2b\x09\x5d\xaa\xc1\x85\xfa\x82\x4c\x34\xcf\x1a\x93\x85\xed\xa0\xbe\x26\x3f\x13\x4b\xba\x50\x38\xc6\xb1\xee\x66\x43\x0e\x8f\x27\x19\x67\x83\x79\xb2\xc2\x63\xdd\x6a\x0d\x2d\x60\xc7\xb5\x4e\xc7\x0a\x3c\x31\xb9\x8a\xa2\xac\xa5\x41\x1a\x45\xd0\xd4\xca\x76\x85\x4d\xb7\x1d\x32\x36\x55\x2a\x0a\xc5\xca\x70\x8a\x30\x2d\x47\xb0\xa3\x75\xa3\xa6\x82\x2d\x56\x61\x4c\x1c\xe1\x98\x8a\x59\xc2\x0c\x4b\x57\x80\x45\x39\x4f\x2a\xe0\xb6\x44\x0d\x5d\x14\x05\x8b\xaf\x05\x5d\x91\xb5\x6e\x92\x29\x01\xf9\x3a\x5f\x31\x3e\x61\x93\x53\x49\x85\x04\x78\x15\x44\xfd\x33\x65\x8b\x09\xc0\x13\x02\xd8\x0d\x1b\xaf\xa5\x1a\x87\x78\x4e\xc0\x38\x5b\xae\x16\x4c\xb2\x09\xc0\x4b\x12\x2e\x4e\xb7\x10\x6d\xca\x2a\xcc\x2a\xa1\x2b\x15\x52\x85\x5e\xa8\x2c\x17\x43\x3a\x22\xbb\x6c\x58\xce\xd3\xbc\xd0\xa4\x5d\x07\xec\xff\x83\x9b\x8a\xef\xa7\xf8\x09\xb9\x8e\xa2\x6b\x78\x0d\x6f\xe0\x70\x84\x10\xea\x3f\x89\xa2\x27\x6d\x42\x78\x14\x09\xd3\x18\x4f\x30\x45\x51\x04\x2f\xc8\x13\xa4\x31\x9d\x90\xab\x72\x32\x93\xdb\xe0\xbb\x3a\xe5\x2f\x50\x59\x91\x53\xd5\x8c\x43\x33\xc4\xb1\x6b\x42\x37\xb0\x46\x0d\x8b\x96\x44\x1b\xc3\x17\x2b\x8c\x3f\xa8\x95\x63\x16\x50\x62\xa6\x96\x19\xf5\xcf\x17\xf7\x5e\x65\x45\x9b\x60\x01\xce\x30\xc5\x29\xce\xcd\xc4\xd4\x23\x77\x98\x8d\x30\xc3\xd4\x0c\x5e\x43\x51\xbb\x1c\xbb\x0a\x6c\x6d\x06\x14\x9e\x92\x75\xac\x47\xa8\x67\x40\x51\x04\x32\x5d\xd7\x72\x01\x99\xfa\xf6\x9a\xaa\x25\x9b\x5e\xd3\x54\xc9\x03\x32\x16\x2c\xcf\x16\x57\x0c\x4e\x63\x1b\x8b\x62\x39\x67\xbc\xba\xa2\x71\x3b\xfd\x31\xd3\x54\x16\x08\xd7\x93\x6d\x9b\xb9\x74\x94\x04\x98\x9b\x30\x5a\x92\x09\xc3\x29\x5c\xef\x20\xb4\x15\x69\xc0\x5b\xe4\xd0\x4e\x23\xcd\xe8\xfb\x61\x5b\x87\x8c\x59\x04\xcd\x4b\xcb\x01\xa7\xd8\xaf\x0c\xfb\x11\x67\x8a\x7c\x86\x05\x56\x9f\xaa\x00\x0b\x99\x91\x6c\x90\x19\xc2\x29\xa6\x28\xa1\x10\x05\x0b\xce\xa5\x96\x46\x2c\xe7\x67\x7e\x25\x1e\xba\x99\x3f\x72\xec\x5b\x6a\x3e\x53\xf2\x5f\xc2\xd7\x8b\x05\xde\xc3\x1d\x4b\x44\xb1\xa1\x22\x8a\x4a\xb6\x5e\xe5\x73\x44\x62\x43\x43\x13\x2e\x27\xLine truncated
func init() {
err := CTX.Err()
+1 -1
View File
@@ -40,7 +40,7 @@ func Server(cfg *config.Config) *cli.Command {
},
Action: func(c *cli.Context) error {
logger := NewLogger(cfg)
err := tracing.Configure(cfg, logger)
err := tracing.Configure(cfg)
if err != nil {
return err
}
+12 -4
View File
@@ -28,6 +28,10 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"ACCOUNTS_LOG_COLOR", "OCIS_LOG_COLOR"},
Destination: &cfg.Log.Color,
},
&cli.StringFlag{
Name: "extensions",
Usage: "Run specific extensions during supervised mode",
},
}
}
@@ -43,28 +47,28 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
&cli.BoolFlag{
Name: "tracing-enabled",
Usage: "Enable sending traces",
EnvVars: []string{"ACCOUNTS_TRACING_ENABLED"},
EnvVars: []string{"ACCOUNTS_TRACING_ENABLED", "OCIS_TRACING_ENABLED"},
Destination: &cfg.Tracing.Enabled,
},
&cli.StringFlag{
Name: "tracing-type",
Value: flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger"),
Usage: "Tracing backend type",
EnvVars: []string{"ACCOUNTS_TRACING_TYPE"},
EnvVars: []string{"ACCOUNTS_TRACING_TYPE", "OCIS_TRACING_TYPE"},
Destination: &cfg.Tracing.Type,
},
&cli.StringFlag{
Name: "tracing-endpoint",
Value: flags.OverrideDefaultString(cfg.Tracing.Endpoint, ""),
Usage: "Endpoint for the agent",
EnvVars: []string{"ACCOUNTS_TRACING_ENDPOINT"},
EnvVars: []string{"ACCOUNTS_TRACING_ENDPOINT", "OCIS_TRACING_ENDPOINT"},
Destination: &cfg.Tracing.Endpoint,
},
&cli.StringFlag{
Name: "tracing-collector",
Value: flags.OverrideDefaultString(cfg.Tracing.Collector, ""),
Usage: "Endpoint for the collector",
EnvVars: []string{"ACCOUNTS_TRACING_COLLECTOR"},
EnvVars: []string{"ACCOUNTS_TRACING_COLLECTOR", "OCIS_TRACING_COLLECTOR"},
Destination: &cfg.Tracing.Collector,
},
&cli.StringFlag{
@@ -235,6 +239,10 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"ACCOUNTS_GID_INDEX_UPPER_BOUND"},
Destination: &cfg.Index.GID.Upper,
},
&cli.StringFlag{
Name: "extensions",
Usage: "Run specific extensions during supervised mode",
},
}
}
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"encoding/json"
"net/http"
"github.com/go-chi/chi"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
"github.com/golang/protobuf/jsonpb"
-1
View File
@@ -30,6 +30,5 @@ func Server(opts ...Option) grpc.Service {
options.Logger.Fatal().Err(err).Msg("could not register index handler")
}
service.Init()
return service
}
+5 -4
View File
@@ -2,7 +2,8 @@ package http
import (
"github.com/asim/go-micro/v3"
"github.com/go-chi/chi"
"github.com/go-chi/chi/v5"
chimiddleware "github.com/go-chi/chi/v5/middleware"
"github.com/owncloud/ocis/accounts/pkg/assets"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/accounts/pkg/version"
@@ -28,8 +29,9 @@ func Server(opts ...Option) http.Service {
mux := chi.NewMux()
mux.Use(middleware.RealIP)
mux.Use(middleware.RequestID)
mux.Use(chimiddleware.RealIP)
mux.Use(chimiddleware.RequestID)
mux.Use(middleware.TraceContext)
mux.Use(middleware.NoCache)
mux.Use(middleware.Cors)
mux.Use(middleware.Secure)
@@ -66,6 +68,5 @@ func Server(opts ...Option) http.Service {
options.Logger.Fatal().Err(err).Msg("failed to register the handler")
}
service.Init()
return service
}
+47 -3
View File
@@ -12,10 +12,9 @@ import (
"strconv"
"time"
"github.com/owncloud/ocis/ocis-pkg/sync"
"golang.org/x/crypto/bcrypt"
"go.opentelemetry.io/otel/trace"
"github.com/owncloud/ocis/ocis-pkg/log"
"go.opentelemetry.io/otel/attribute"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/asim/go-micro/v3/metadata"
@@ -24,11 +23,15 @@ import (
fieldmask_utils "github.com/mennanov/fieldmask-utils"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/accounts/pkg/storage"
accTracing "github.com/owncloud/ocis/accounts/pkg/tracing"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/roles"
"github.com/owncloud/ocis/ocis-pkg/sync"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
settings_svc "github.com/owncloud/ocis/settings/pkg/service/v0"
"github.com/rs/zerolog"
"golang.org/x/crypto/bcrypt"
"google.golang.org/genproto/protobuf/field_mask"
p "google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/timestamppb"
@@ -124,6 +127,15 @@ func (s Service) getInMemoryServiceUser() proto.Account {
// 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) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.ListAccounts")
defer span.End()
span.SetAttributes(
attribute.KeyValue{Key: "page_size", Value: attribute.Int64Value(int64(in.PageSize))},
attribute.KeyValue{Key: "page_token", Value: attribute.StringValue(in.PageToken)},
)
hasSelf := s.hasSelfManagementPermissions(ctx)
hasManagement := s.hasAccountManagementPermissions(ctx)
if !hasSelf && !hasManagement {
@@ -269,6 +281,15 @@ func (s Service) findAccountsByQuery(ctx context.Context, query string) ([]strin
// GetAccount implements the AccountsServiceHandler interface
func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, out *proto.Account) (err error) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.GetAccount")
defer span.End()
span.SetAttributes(
attribute.KeyValue{Key: "account_id", Value: attribute.StringValue(in.Id)},
)
hasSelf := s.hasSelfManagementPermissions(ctx)
hasManagement := s.hasAccountManagementPermissions(ctx)
if !hasSelf && !hasManagement {
@@ -317,6 +338,15 @@ func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, ou
// CreateAccount implements the AccountsServiceHandler interface
func (s Service) CreateAccount(ctx context.Context, in *proto.CreateAccountRequest, out *proto.Account) (err error) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.CreateAccount")
defer span.End()
span.SetAttributes(
attribute.KeyValue{Key: "account", Value: attribute.StringValue(in.Account.String())},
)
if !s.hasAccountManagementPermissions(ctx) {
return merrors.Forbidden(s.id, "no permission for CreateAccount")
}
@@ -449,6 +479,15 @@ func (s Service) rollbackCreateAccount(ctx context.Context, acc *proto.Account)
// 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) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.UpdateAccount")
defer span.End()
span.SetAttributes(
attribute.KeyValue{Key: "account", Value: attribute.StringValue(in.Account.String())},
)
hasSelf := s.hasSelfManagementPermissions(ctx)
hasManagement := s.hasAccountManagementPermissions(ctx)
if !hasSelf && !hasManagement {
@@ -615,6 +654,11 @@ var updatableAccountPaths = map[string]struct{}{
// DeleteAccount implements the AccountsServiceHandler interface
func (s Service) DeleteAccount(ctx context.Context, in *proto.DeleteAccountRequest, out *empty.Empty) (err error) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.DeleteAccount")
defer span.End()
if !s.hasAccountManagementPermissions(ctx) {
return merrors.Forbidden(s.id, "no permission for DeleteAccount")
}
-76
View File
@@ -1,76 +0,0 @@
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)
}
+10 -9
View File
@@ -16,6 +16,7 @@ import (
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"
revactx "github.com/cs3org/reva/pkg/ctx"
"github.com/cs3org/reva/pkg/rgrpc/todo/pool"
"github.com/cs3org/reva/pkg/token"
"github.com/cs3org/reva/pkg/token/manager/jwt"
@@ -67,7 +68,7 @@ func (r CS3Repo) WriteAccount(ctx context.Context, a *proto.Account) (err error)
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
if err := r.makeRootDirIfNotExist(ctx, accountsFolder); err != nil {
return err
}
@@ -104,7 +105,7 @@ func (r CS3Repo) LoadAccounts(ctx context.Context, a *[]*proto.Account) (err err
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
res, err := r.storageProvider.ListContainer(ctx, &provider.ListContainerRequest{
Ref: &provider.Reference{
Path: path.Join("/meta", accountsFolder),
@@ -154,7 +155,7 @@ func (r CS3Repo) DeleteAccount(ctx context.Context, id string) (err error) {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
resp, err := r.storageProvider.Delete(ctx, &provider.DeleteRequest{
Ref: &provider.Reference{
@@ -181,7 +182,7 @@ func (r CS3Repo) WriteGroup(ctx context.Context, g *proto.Group) (err error) {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
if err := r.makeRootDirIfNotExist(ctx, groupsFolder); err != nil {
return err
}
@@ -218,7 +219,7 @@ func (r CS3Repo) LoadGroups(ctx context.Context, g *[]*proto.Group) (err error)
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
res, err := r.storageProvider.ListContainer(ctx, &provider.ListContainerRequest{
Ref: &provider.Reference{
Path: path.Join("/meta", groupsFolder),
@@ -268,7 +269,7 @@ func (r CS3Repo) DeleteGroup(ctx context.Context, id string) (err error) {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
resp, err := r.storageProvider.Delete(ctx, &provider.DeleteRequest{
Ref: &provider.Reference{
@@ -302,7 +303,7 @@ func AuthenticateCS3(ctx context.Context, su config.ServiceUser, tm token.Manage
UidNumber: su.UID,
GidNumber: su.GID,
}
s, err := scope.GetOwnerScope()
s, err := scope.AddOwnerScope(nil)
if err != nil {
return
}
@@ -371,7 +372,7 @@ func (d dataProviderClient) put(url string, body io.Reader, token string) (*http
return nil, err
}
req.Header.Add("x-access-token", token)
req.Header.Add(revactx.TokenHeader, token)
return d.client.Do(req)
}
@@ -381,6 +382,6 @@ func (d dataProviderClient) get(url string, token string) (*http.Response, error
return nil, err
}
req.Header.Add("x-access-token", token)
req.Header.Add(revactx.TokenHeader, token)
return d.client.Do(req)
}
+12 -79
View File
@@ -1,90 +1,23 @@
package tracing
import (
"time"
"contrib.go.opencensus.io/exporter/jaeger"
"contrib.go.opencensus.io/exporter/ocagent"
"contrib.go.opencensus.io/exporter/zipkin"
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/ocis-pkg/log"
"go.opencensus.io/stats/view"
"go.opencensus.io/trace"
pkgtrace "github.com/owncloud/ocis/ocis-pkg/tracing"
"go.opentelemetry.io/otel/trace"
)
func Configure(cfg *config.Config, logger log.Logger) error {
var (
// TraceProvider is the global trace provider for the proxy service.
TraceProvider = trace.NewNoopTracerProvider()
)
func Configure(cfg *config.Config) error {
var err error
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")
if TraceProvider, err = pkgtrace.GetTraceProvider(cfg.Tracing.Endpoint, cfg.Tracing.Collector, "accounts", cfg.Tracing.Type); err != nil {
return err
}
trace.ApplyConfig(
trace.Config{
DefaultSampler: trace.AlwaysSample(),
},
)
} else {
logger.Debug().
Msg("Tracing is not enabled")
}
return nil
}
@@ -1,6 +1,6 @@
const assert = require('assert')
const { client } = require('nightwatch-api')
const { Given, When, Then } = require('cucumber')
const { Given, When, Then } = require('@cucumber/cucumber')
When('the user browses to the accounts page', function () {
return client.page.accountsPage().navigateAndWaitUntilMounted()
+541 -178
View File
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,5 @@
Enhancement: Proxy: Add claims policy selector
Using the proxy config file, it is now possible to let let the IdP determine the routing policy by sending an `ocis.routing.policy` claim. Its value will be used to determine the set of routes for the logged in user.
https://github.com/owncloud/ocis/pull/2248
@@ -0,0 +1,7 @@
Bugfix: Improve IDP Login Accessibility
We have addressed the feedback from the `a11y` audit and improved
the IDP login screen accordingly.
https://github.com/owncloud/web/issues/5376
https://github.com/owncloud/web/issues/5377
@@ -0,0 +1,3 @@
Enhancement: Add ocs cache warmup config and warn on protobuf ns conflicts
https://github.com/owncloud/ocis/pull/2328
@@ -0,0 +1,6 @@
Bugfix: forward basic auth to OpenID connect token authentication endpoint
When using `PROXY_ENABLE_BASIC_AUTH=true` we now forward request to the idp instead of trying to authenticate the request ourself.
https://github.com/owncloud/ocis/issues/2095
https://github.com/owncloud/ocis/issues/2094
@@ -0,0 +1,8 @@
Bugfix: log all requests in the proxy access log
We now use a dedicated middleware to log all requests, regardless of routing selector outcome.
While the log now includes the remote address, the selected routing policy is only logged when log level
is set to debug because the request context cannot be changed in the `directorSelectionDirector`, as per
the `ReverseProxy.Director` documentation.
https://github.com/owncloud/ocis/pull/2301
@@ -0,0 +1,5 @@
Enhancement: Refactor graph API
We refactored the `/graph/v1.0/` endpoint which now relies on the internal acces token fer authentication, getting rid of any LDAP or OIDC code to authenticate requests. This allows using the graph api when using basic auth or any other auth mechanism provided by the CS3 auth providers / reva gateway / ocis proxy.
https://github.com/owncloud/ocis/pull/2277
@@ -0,0 +1,10 @@
Bugfix: update glauth to 20210729125545-b9aecdfcac31
* Fixes the backend config not being passed correctly in ocis
* Fixes a mutex being copied, leading to concurrent writes
* Fixes UTF8 chars in filters
* Fixes case insensitive strings
https://github.com/owncloud/ocis/pull/2336
https://github.com/glauth/glauth/pull/198
https://github.com/glauth/glauth/pull/194
@@ -0,0 +1,50 @@
Enhancement: update REVA
Update REVA from v1.10.1-0.20210730095301-fcb7a30a44a6 to v1.11.1-0.20210809134415-3fe79c870fb5
* Fix cs3org/reva#1978: Fix owner type is optional
* Fix cs3org/reva#1965: fix value of file_target in shares
* Fix cs3org/reva#1960: fix updating shares in the memory share manager
* Fix cs3org/reva#1956: fix trashbin listing with depth 0
* Fix cs3org/reva#1957: fix etag propagation on deletes
* Enh cs3org/reva#1861: [WIP] Runtime plugins
* Fix cs3org/reva#1954: fix response format of the sharees API
* Fix cs3org/reva#1819: Remove notifications key from ocs response
* Enh cs3org/reva#1946: Add a share manager that connects to oc10 databases
* Fix cs3org/reva#1899: Fix chunked uploads for new versions
* Fix cs3org/reva#1906: Fix copy over existing resource
* Fix cs3org/reva#1891: Delete Shared Resources as Receiver
* Fix cs3org/reva#1907: Error when creating folder with existing name
* Fix cs3org/reva#1937: Do not overwrite more specific matches when finding storage providers
* Fix cs3org/reva#1939: Fix the share jail permissions in the decomposedfs
* Fix cs3org/reva#1932: Numerous fixes to the owncloudsql storage driver
* Fix cs3org/reva#1912: Fix response when listing versions of another user
* Fix cs3org/reva#1910: Get user groups recursively in the cbox rest user driver
* Fix cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the datagateway
* Fix cs3org/reva#1911: Fix version order in propfind responses
* Fix cs3org/reva#1926: Trash Bin in oCIS Storage Operations
* Fix cs3org/reva#1901: Fix response code when folder doesnt exist on upload
* Enh cs3org/reva#1785: Extend app registry with AddProvider method and mimetype filters
* Enh cs3org/reva#1938: Add methods to get and put context values
* Enh cs3org/reva#1798: Add support for a deny-all permission on references
* Enh cs3org/reva#1916: Generate updated protobuf bindings for EOS GRPC
* Enh cs3org/reva#1887: Add "a" and "l" filter for grappa queries
* Enh cs3org/reva#1919: Run gofmt before building
* Enh cs3org/reva#1927: Implement RollbackToVersion for eosgrpc (needs a newer EOS MGM)
* Enh cs3org/reva#1944: Implement listing supported mime types in app registry
* Enh cs3org/reva#1870: Be defensive about wrongly quoted etags
* Enh cs3org/reva#1940: Reduce memory usage when uploading with S3ng storage
* Enh cs3org/reva#1888: Refactoring of the webdav code
* Enh cs3org/reva#1900: Check for illegal names while uploading or moving files
* Enh cs3org/reva#1925: Refactor listing and statting across providers for virtual views
* Fix cs3org/reva#1883: Pass directories with trailing slashes to eosclient.GenerateToken
* Fix cs3org/reva#1878: Improve the webdav error handling in the trashbin
* Fix cs3org/reva#1884: Do not send body on failed range request
* Enh cs3org/reva#1744: Add support for lightweight user types
* Fix cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the datagateway
* Fix cs3org/reva#1899: Bugfix: Fix chunked uploads for new versions
* Enh cs3org/reva#1888: Refactoring of the webdav code
* Enh cs3org/reva#1887: Add "a" and "l" filter for grappa queries
https://github.com/owncloud/ocis/pull/2355
https://github.com/owncloud/ocis/pull/2295
https://github.com/owncloud/ocis/pull/2314
@@ -0,0 +1,8 @@
Change: Update ownCloud Web to v4.0.0
Tags: web
We updated ownCloud Web to v4.0.0. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/ocis/pull/2353
https://github.com/owncloud/web/releases/tag/v4.0.0
@@ -0,0 +1,6 @@
Enhancement: use only one go.mod file for project dependencies
We now use one single go.mod file at the root of the repository
rather than one per core extension.
https://github.com/owncloud/ocis/pull/2344
@@ -0,0 +1,3 @@
Bugfix: Specify primary user type for all accounts
https://github.com/owncloud/ocis/pull/2364
@@ -0,0 +1,7 @@
Enhancement: Use non root user for the owncloud/ocis docker image
The owncloud/ocis docker image now uses a non root user and enables you to set a different user with the docker `--user` parameter. The default user has the UID 1000 is part of a group with the GID 1000.
This is a breaking change for existing docker deployments. The permission on the files and folders in persistent volumes need to be changed to the UID and GID used for oCIS (default 1000:1000 if not changed by the user).
https://github.com/owncloud/ocis/pull/2380
@@ -0,0 +1,5 @@
Enhancement: Replace unmaintained jwt library
The old library [github.com/dgrijalva/jwt-go](https://github.com/dgrijalva/jwt-go) is unmaintained and was replaced by the community maintained fork [github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt).
https://github.com/owncloud/ocis/pull/2386
@@ -0,0 +1,5 @@
Enhancement: Update bleve to version 2.1.0
Updated bleve to the current version.
https://github.com/owncloud/ocis/pull/2391
@@ -0,0 +1,5 @@
Enhancement: Update github.com/coreos/go-oidc to v3.0.0
Updated the github.com/coreos/go-oidc library to the version 3.0.0.
https://github.com/owncloud/ocis/pull/2393
@@ -0,0 +1,22 @@
Enhancement: Update reva to v1.12
* Enhancement cs3org/reva#1803: Introduce new webdav spaces endpoint
* Bugfix cs3org/reva#1819: Disable notifications
* Enhancement cs3org/reva#1861: Add support for runtime plugins
* Bugfix cs3org/reva#1913: Logic to restore files to readonly nodes
* Enhancement cs3org/reva#1946: Add share manager that connects to oc10 databases
* Bugfix cs3org/reva#1954: Fix response format of the sharees API
* Bugfix cs3org/reva#1956: Fix trashbin listing with depth 0
* Bugfix cs3org/reva#1957: Fix etag propagation on deletes
* Bugfix cs3org/reva#1960: Return the updated share after updating
* Bugfix cs3org/reva#1965 cs3org/reva#1967: Fix the file target of user and group shares
* Bugfix cs3org/reva#1980: Propagate the etag after restoring a file version
* Enhancement cs3org/reva#1984: Replace OpenCensus with OpenTelemetry
* Bugfix cs3org/reva#1985: Add quota stubs
* Bugfix cs3org/reva#1987: Fix windows build
* Bugfix cs3org/reva#1990: Increase oc10 compatibility of owncloudsql
* Bugfix cs3org/reva#1992: Check if symlink exists instead of spamming the console
* Bugfix cs3org/reva#1993: fix owncloudsql GetMD
https://github.com/owncloud/ocis/pull/2423
@@ -0,0 +1,8 @@
Change: Update ownCloud Web to v4.1.0
Tags: web
We updated ownCloud Web to v4.1.0. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/ocis/pull/2426
https://github.com/owncloud/web/releases/tag/v4.1.0
@@ -0,0 +1,5 @@
Bugfix: Fix naming of the user- and groupprovider services
The services are called "storage-userprovider" and "storage-groupprovider". The 'ocis help' output was misleading.
https://github.com/owncloud/ocis/pull/2388
@@ -0,0 +1,6 @@
Enhancement: Add app provider and app provider registry
We added the app provider and app provider registry. Now the CS3org WOPI server can be registered and OpenInApp requests can be done.
https://github.com/owncloud/ocis/pull/2204
https://github.com/cs3org/reva/pull/1785
@@ -0,0 +1,5 @@
Enhancement: add the create space permission
In preparation for the upcoming spaces features a `Create Space` permission was added.
https://github.com/owncloud/ocis/pull/2461
@@ -0,0 +1,9 @@
Change: Remove OnlyOffice extension
Tags: OnlyOffice
We've removed the OnlyOffice extension in oCIS.
OnlyOffice has their own web extension for OC10 backend now with [a dedicated guide](https://owncloud.dev/clients/web/deployments/oc10-app/#onlyoffice).
In oCIS, we will follow up with a guide on how to start a WOPI server providing OnlyOffice soon.
https://github.com/owncloud/ocis/pull/2433
@@ -0,0 +1,9 @@
Change: Remove OnlyOffice extension
Tags: OnlyOffice
We've removed the OnlyOffice extension in oCIS.
OnlyOffice has their own web extension for OC10 backend now with [a dedicated guide](https://owncloud.dev/clients/web/deployments/oc10-app/#onlyoffice).
In oCIS, we will follow up with a guide on how to start a WOPI server providing OnlyOffice soon.
https://github.com/owncloud/ocis/pull/2433
@@ -0,0 +1,5 @@
Bugfix: Remove non working proxy route and fix cs3 users example
We removed a non working route from the proxy default configuration and fixed the cs3 users deployment example since it still used the accounts service. It now only uses the configured LDAP.
https://github.com/owncloud/ocis/pull/2474
@@ -0,0 +1,5 @@
Bugfix: Set English as default language in the dropdown in the settings page
The language dropdown didn't have a default language selected, and it was showing an empty value. Now it shows English instead.
https://github.com/owncloud/ocis/pull/2465
@@ -0,0 +1,5 @@
Enhancement: add set space quota permission
In preparation for the upcoming spaces features a `SetSpaceQuota` permission was added.
https://github.com/owncloud/ocis/pull/2459
@@ -0,0 +1,10 @@
Enhancement: Create a Space using the Graph API
Spaces can now be created on `POST /drives/{drive-name}`. Only users with the `create-space` permissions can perform this operation.
Allowed body form values are:
- `quota` (bytes) maximum amount of bytes stored in the space.
- `maxQuotaFiles` (integer) maximum amount of files supported by the space.
https://github.com/owncloud/ocis/pull/2471
@@ -0,0 +1,5 @@
Enhancement: Update go-chi/chi to version 5.0.3
Updated go-chi/chi to the lastest release
https://github.com/owncloud/ocis/pull/2429
@@ -0,0 +1,5 @@
Enhancement: Upgrade go micro to v3.6.0
Go micro and all go micro plugins are now on v3.6.0
https://github.com/owncloud/ocis/pull/2451
@@ -0,0 +1,16 @@
Enhancement: Update reva to v1.13.0
This update includes:
* Bugfix [cs3org/reva#2054](https://github.com/cs3org/reva/pull/2054): Fix the response after deleting a share
* Bugfix [cs3org/reva#2026](https://github.com/cs3org/reva/pull/2026): Fix moving of a shared file
* Bugfix [cs3org/reva#1605](https://github.com/cs3org/reva/pull/1605): Allow to expose full paths in OCS API
* Bugfix [cs3org/reva#2033](https://github.com/cs3org/reva/pull/2033): Fix the storage id of shares
* Bugfix [cs3org/reva#1991](https://github.com/cs3org/reva/pull/1991): Remove share references when declining shares
* Enhancement [cs3org/reva#1994](https://github.com/cs3org/reva/pull/1994): Add owncloudsql driver for the userprovider
* Enhancement [cs3org/reva#2065](https://github.com/cs3org/reva/pull/2065): New sharing role Manager
* Enhancement [cs3org/reva#2015](https://github.com/cs3org/reva/pull/2015): Add spaces to the list of capabilities
* Enhancement [cs3org/reva#2041](https://github.com/cs3org/reva/pull/2041): Create operations for Spaces
* Enhancement [cs3org/reva#2029](https://github.com/cs3org/reva/pull/2029): Tracing agent configuration
https://github.com/owncloud/ocis/pull/2477
@@ -0,0 +1,8 @@
Change: Update ownCloud Web to v4.2.0
Tags: web
We updated ownCloud Web to v4.2.0. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/ocis/pull/2501
https://github.com/owncloud/web/releases/tag/v4.2.0
@@ -0,0 +1,7 @@
Bugfix: Panic when service fails to start
Tags: runtime
When attempting to run a service through the runtime that is currently running and fails to start, a race condition still redirect os Interrupt signals to a closed channel.
https://github.com/owncloud/ocis/pull/2252
@@ -0,0 +1,9 @@
Enhancement: Runtime support for cherry picking extensions
Support for running certain extensions supervised via cli flags. Example usage:
```
> ocis server --extensions="proxy, idp, storage-metadata, accounts"
```
https://github.com/owncloud/ocis/pull/2229
@@ -0,0 +1,5 @@
Enhancement: Add readonly mode for storagehome and storageusers
To enable the readonly mode use `STORAGE_HOME_READ_ONLY=true` and `STORAGE_USERS_READ_ONLY=true`. Alternative: use `OCIS_STORAGE_READ_ONLY=true`
https://github.com/owncloud/ocis/pull/2230
@@ -0,0 +1,5 @@
Enhancement: Remove unnecessary Service.Init()
As it turns out oCIS already calls this method. Invoking it twice would end in accidentally resetting values.
https://github.com/owncloud/ocis/pull/1705
@@ -0,0 +1,5 @@
Bugfix: Dont use port 80 as debug for GroupsProvider
A copy/paste error where the configuration for the groupsprovider's debug address was not present leaves go-micro to start the debug service in port 80 by default.
https://github.com/owncloud/ocis/pull/2271
@@ -0,0 +1,3 @@
Enhancement: update REVA to v1.9.1-0.20210628143859-9d29c36c0c3f
https://github.com/owncloud/ocis/pull/2227
@@ -0,0 +1,24 @@
Enhancement: update REVA to v1.9.1
* Fix cs3org/reva#1843: Correct Dockerfile path for the reva CLI and alpine3.13 as builder
* Fix cs3org/reva#1835: Cleanup owncloudsql driver
* Fix cs3org/reva#1868: Minor fixes to the grpc/http plugin: checksum, url escaping
* Fix cs3org/reva#1885: Fix template in eoshomewrapper to use context user rather than resource
* Fix cs3org/reva#1833: Properly handle name collisions for deletes in the owncloud driver
* Fix cs3org/reva#1874: Use the original file mtime during upload
* Fix cs3org/reva#1854: Add the uid/gid to the url for eos
* Fix cs3org/reva#1848: Fill in missing gid/uid number with nobody
* Fix cs3org/reva#1831: Make the ocm-provider endpoint in the ocmd service unprotected
* Fix cs3org/reva#1808: Use empty array in OCS Notifications endpoints
* Fix cs3org/reva#1825: Raise max grpc message size
* Fix cs3org/reva#1828: Send a proper XML header with error messages
* Chg cs3org/reva#1828: Remove the oidc provider in order to upgrad mattn/go-sqlite3 to v1.14.7
* Enh cs3org/reva#1834: Add API key to Mentix GOCDB connector
* Enh cs3org/reva#1855: Minor optimization in parsing EOS ACLs
* Enh cs3org/reva#1873: Update the EOS image tag to be for revad-eos image
* Enh cs3org/reva#1802: Introduce list spaces
* Enh cs3org/reva#1849: Add readonly interceptor
* Enh cs3org/reva#1875: Simplify resource comparison
* Enh cs3org/reva#1827: Support trashbin sub paths in the recycle API
https://github.com/owncloud/ocis/pull/2280
@@ -0,0 +1,8 @@
Change: Update ownCloud Web to v3.4.0
Tags: web
We updated ownCloud Web to v3.4.0. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/ocis/pull/2276
https://github.com/owncloud/web/releases/tag/v3.4.0
@@ -0,0 +1,7 @@
Change: update WEB to v3.4.1
* Fix [5501](https://github.com/owncloud/web/pull/5501): loading previews in the right sidebar
* Fix [5493](https://github.com/owncloud/web/pull/5493): view options position
https://github.com/owncloud/ocis/pull/2283
https://github.com/owncloud/web/releases/tag/v3.4.1
@@ -17,6 +17,16 @@
- "*.ocis-cs3-users.latest.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
@@ -17,6 +17,16 @@
- "*.ocis-cs3-users.released.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
@@ -0,0 +1,51 @@
---
- name: continuous-deployment-ocis-s3-latest
server:
server_type: cx21
image: ubuntu-20.04
location: nbg1
initial_ssh_key_names:
- owncloud-ocis@drone.owncloud.com
labels:
owner: wkloucek
for: oCIS-continuous-deployment-examples
rebuild: $REBUILD
rebuild_carry_paths:
- /var/lib/docker/volumes/ocis_certs
domains:
- "*.ocis-s3.latest.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
ref: master
docker_compose_path: deployments/examples/ocis_s3
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: latest
OCIS_DOMAIN: ocis.ocis-s3.latest.owncloud.works
MINIO_DOMAIN: minio.ocis-s3.latest.owncloud.works
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
ref: master
env:
NETWORK_NAME: ocis-net
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-s3.latest.owncloud.works
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
OCIS_URL: ocis.ocis-s3.latest.owncloud.works
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-s3-latest
@@ -17,6 +17,16 @@
- "*.ocis-keycloak.latest.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
@@ -17,6 +17,16 @@
- "*.ocis-keycloak.released.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
@@ -0,0 +1,50 @@
---
- name: continuous-deployment-ocis-hello-latest
server:
server_type: cx21
image: ubuntu-20.04
location: nbg1
initial_ssh_key_names:
- owncloud-ocis@drone.owncloud.com
labels:
owner: wkloucek
for: oCIS-continuous-deployment-examples
rebuild: $REBUILD
rebuild_carry_paths:
- /var/lib/docker/volumes/ocis_certs
domains:
- "*.ocis-hello.latest.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
ref: master
docker_compose_path: deployments/examples/ocis_hello
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: latest
OCIS_DOMAIN: ocis.ocis-hello.latest.owncloud.works
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
ref: master
env:
NETWORK_NAME: ocis-net
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-hello.latest.owncloud.works
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
OCIS_URL: ocis.ocis-hello.latest.owncloud.works
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-hello-latest
@@ -17,6 +17,16 @@
- "*.ocis-traefik.latest.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
@@ -17,6 +17,16 @@
- "*.ocis-traefik.released.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
@@ -17,6 +17,16 @@
- "*.ocis-wopi.latest.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
@@ -17,6 +17,16 @@
- "*.ocis-wopi.released.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- https://github.com/C0rby.keys
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/pascalwengerter.keys
- https://github.com/paulcod3.keys
- https://github.com/refs.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
+2
View File
@@ -19,6 +19,8 @@ OCIS_DOCKER_TAG=
OCIS_DOMAIN=
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
OCIS_JWT_SECRET=
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
OCIS_TRANSFER_SECRET=
### LDAP server settings ###
@@ -13,7 +13,7 @@ objectClass: top
uid: einstein
givenName: Albert
sn: Einstein
cn: Albert Einstein
cn: einstein
displayName: Albert Einstein
description: A German-born theoretical physicist who developed the theory of relativity, one of the two pillars of modern physics (alongside quantum mechanics).
mail: einstein@example.org
@@ -33,7 +33,7 @@ objectClass: top
uid: marie
givenName: Marie
sn: Curie
cn: Marie Curie
cn: marie
displayName: Marie Skłodowska Curie
description: A Polish and naturalized-French physicist and chemist who conducted pioneering research on radioactivity.
mail: marie@example.org
@@ -53,7 +53,7 @@ objectClass: top
uid: richard
givenName: Richard
sn: Feynman
cn: Richard Feynman
cn: richard
displayName: Richard Phillips Feynman
description: An American theoretical physicist, known for his work in the path integral formulation of quantum mechanics, the theory of quantum electrodynamics, the physics of the superfluidity of supercooled liquid helium, as well as his work in particle physics for which he proposed the parton model.
mail: richard@example.org
@@ -0,0 +1,22 @@
#!/bin/sh
set -e
mkdir -p /var/tmp/ocis/.config/
cp /config/proxy-config.json /var/tmp/ocis/.config/proxy-config.json
cp /config/web-config.dist.json /var/tmp/ocis/.config/web-config.json
sed -i 's/ocis.owncloud.test/'${OCIS_DOMAIN:-ocis.owncloud.test}'/g' /var/tmp/ocis/.config/web-config.json
ocis server&
sleep 10
# stop builtin accounts since we use LDAP only
ocis kill accounts
# stop builtin LDAP server since we use external LDAP only
ocis kill glauth
ocis kill proxy
sleep 10
ocis proxy server # workaround for loading proxy configuration
wait # wait for oCIS to exit
@@ -29,7 +29,7 @@
},
{
"type": "regex",
"endpoint": "/ocs/v[12].php/cloud/(users?|groups)",
"endpoint": "/ocs/v[12].php/cloud/user/signing-key",
"backend": "http://localhost:9110"
},
{
@@ -73,14 +73,6 @@
"endpoint": "/graph-explorer/",
"backend": "http://localhost:9135"
},
{
"endpoint": "/api/v0/accounts",
"backend": "http://localhost:9181"
},
{
"endpoint": "/accounts.js",
"backend": "http://localhost:9181"
},
{
"endpoint": "/api/v0/settings",
"backend": "http://localhost:9190"
@@ -88,10 +80,6 @@
{
"endpoint": "/settings.js",
"backend": "http://localhost:9190"
},
{
"endpoint": "/onlyoffice.js",
"backend": "http://localhost:9220"
}
]
}
@@ -0,0 +1,22 @@
{
"server": "https://ocis.owncloud.test",
"theme": "owncloud",
"version": "0.1.0",
"openIdConnect": {
"metadata_url": "https://ocis.owncloud.test/.well-known/openid-configuration",
"authority": "https://ocis.owncloud.test",
"client_id": "web",
"response_type": "code",
"scope": "openid profile email"
},
"apps": ["files"],
"external_apps": [
{
"id": "settings",
"path": "/settings.js"
}
],
"options": {
"hideSearchBar": true
}
}
@@ -3,19 +3,25 @@ version: "3.7"
services:
traefik:
image: traefik:v2.4
image: traefik:v2.5
networks:
ocis-net:
aliases:
- ${OCIS_DOMAIN:-ocis.owncloud.test}
command:
#- "--log.level=DEBUG"
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
# letsencrypt configuration
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
# enable dasbhoard
- "--api.dashboard=true"
# define entrypoints
- "--entryPoints.http.address=:80"
- "--entryPoints.http.http.redirections.entryPoint.to=https"
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
- "--entryPoints.https.address=:443"
# docker provider (get configuration from container labels)
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
- "--providers.docker.exposedByDefault=false"
ports:
@@ -26,17 +32,12 @@ services:
- "certs:/certs"
labels:
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
- "traefik.http.routers.traefik.entrypoints=http"
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$apr1$4vqie50r$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
- "traefik.http.routers.traefik-secure.entrypoints=https"
- "traefik.http.routers.traefik-secure.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
- "traefik.http.routers.traefik-secure.middlewares=traefik-auth"
- "traefik.http.routers.traefik-secure.tls=true"
- "traefik.http.routers.traefik-secure.tls.certresolver=http"
- "traefik.http.routers.traefik-secure.service=api@internal"
- "traefik.http.routers.traefik.entrypoints=https"
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
- "traefik.http.routers.traefik.middlewares=traefik-auth"
- "traefik.http.routers.traefik.tls.certresolver=http"
- "traefik.http.routers.traefik.service=api@internal"
logging:
driver: "local"
restart: always
@@ -47,9 +48,11 @@ services:
ocis-net:
depends_on:
- ldap-server
entrypoint:
- /bin/sh
- /entrypoint-override.sh
environment:
# CS3 users from ldap specific configuration
PROXY_CONFIG_FILE: "/config/proxy-config.json"
IDP_LDAP_FILTER: "(&(objectclass=inetOrgPerson)(objectClass=owncloud))"
IDP_LDAP_URI: ldap://ldap-server:389
IDP_LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
@@ -69,6 +72,10 @@ services:
STORAGE_LDAP_ATTRIBUTEFILTER: '(&(objectclass=owncloud)({{attr}}={{value}}))'
STORAGE_LDAP_FINDFILTER: '(&(objectclass=owncloud)(|(uid={{query}}*)(cn={{query}}*)(displayname={{query}}*)(mail={{query}}*)(description={{query}}*)))'
STORAGE_LDAP_GROUPFILTER: '(&(objectclass=groupOfUniqueNames)(objectclass=owncloud)(ownclouduuid={{.OpaqueId}}*))'
# web ui
WEB_UI_CONFIG: "/var/tmp/ocis/.config/web-config.json"
# proxy
PROXY_CONFIG_FILE: "/var/tmp/ocis/.config/proxy-config.json"
# General oCIS config
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
@@ -76,20 +83,18 @@ services:
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
# change default secrets
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
OCIS_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
volumes:
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
- ./config/ocis/web-config.dist.json:/config/web-config.dist.json
- ./config/ocis/proxy-config.json:/config/proxy-config.json
- ocis-data:/var/tmp/ocis
labels:
- "traefik.enable=true"
- "traefik.http.routers.ocis.entrypoints=http"
- "traefik.http.routers.ocis.entrypoints=https"
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
- "traefik.http.middlewares.ocis-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.ocis.middlewares=ocis-https-redirect"
- "traefik.http.routers.ocis-secure.entrypoints=https"
- "traefik.http.routers.ocis-secure.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
- "traefik.http.routers.ocis-secure.tls=true"
- "traefik.http.routers.ocis-secure.tls.certresolver=http"
- "traefik.http.routers.ocis-secure.service=ocis"
- "traefik.http.routers.ocis.tls.certresolver=http"
- "traefik.http.routers.ocis.service=ocis"
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
logging:
driver: "local"
@@ -125,15 +130,10 @@ services:
PHPLDAPADMIN_HTTPS: "false"
labels:
- "traefik.enable=true"
- "traefik.http.routers.ldap-manager.entrypoints=http"
- "traefik.http.routers.ldap-manager.entrypoints=https"
- "traefik.http.routers.ldap-manager.rule=Host(`${LDAP_MANAGER_DOMAIN:-ldap.owncloud.test}`)"
- "traefik.http.middlewares.ldap-manager-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.ldap-manager.middlewares=ldap-manager-https-redirect"
- "traefik.http.routers.ldap-manager-secure.entrypoints=https"
- "traefik.http.routers.ldap-manager-secure.rule=Host(`${LDAP_MANAGER_DOMAIN:-ldap.owncloud.test}`)"
- "traefik.http.routers.ldap-manager-secure.tls=true"
- "traefik.http.routers.ldap-manager-secure.tls.certresolver=http"
- "traefik.http.routers.ldap-manager-secure.service=ldap-manager"
- "traefik.http.routers.ldap-manager.tls.certresolver=http"
- "traefik.http.routers.ldap-manager.service=ldap-manager"
- "traefik.http.services.ldap-manager.loadbalancer.server.port=80"
logging:
driver: "local"
@@ -17,11 +17,18 @@ TRAEFIK_ACME_MAIL=
OCIS_DOCKER_TAG=
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
OCIS_DOMAIN=
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
IDP_LDAP_BIND_PASSWORD=
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
STORAGE_LDAP_BIND_PASSWORD=
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
OCIS_JWT_SECRET=
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
OCIS_TRANSFER_SECRET=
### oC10 ###
# Domain of ownCloud 10, where you can find the frontend. Defaults to "oc10.owncloud.test"
#OC10_DOMAIN=
### oCIS Hello settings ###
# oCIS Hello version. Defaults to "latest"
OCIS_HELLO_DOCKER_TAG=
# If you want to use debugging and tracing with this stack,
# you need uncomment following line. Please see documentation at
@@ -1,6 +1,6 @@
---
document this deployment example in: docs/ocis/deployment/owncloud10_with_oc_web.md
document this deployment example in: docs/ocis/deployment/ocis_hello.md
---
Please refer to [our documentation](https://owncloud.dev/ocis/deployment/owncloud10_with_oc_web/)
Please refer to [our documentation](https://owncloud.dev/ocis/deployment/ocis_hello/)
for instructions on how to deploy this scenario.
@@ -0,0 +1,33 @@
#!/bin/sh
set -e
mkdir -p /var/tmp/ocis/.config/
cp /config/proxy-config.json /var/tmp/ocis/.config/proxy-config.json
cp /config/web-config.dist.json /var/tmp/ocis/.config/web-config.json
sed -i 's/ocis.owncloud.test/'${OCIS_DOMAIN:-ocis.owncloud.test}'/g' /var/tmp/ocis/.config/web-config.json
ocis server&
sleep 10
echo "##################################################"
echo "change default secrets:"
# IDP
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " IDP user UUID: $IDP_USER_UUID"
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
# REVA
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " Reva user UUID: $REVA_USER_UUID"
ocis accounts update --password $STORAGE_LDAP_BIND_PASSWORD $REVA_USER_UUID
echo "default secrets changed"
echo "##################################################"
ocis kill proxy
sleep 10
ocis proxy server # workaround for loading proxy configuration
wait # wait for oCIS to exit
@@ -0,0 +1,103 @@
{
"HTTP": {
"Namespace": "com.owncloud"
},
"policy_selector": {
"static": {
"policy": "ocis"
}
},
"policies": [
{
"name": "ocis",
"routes": [
{
"endpoint": "/",
"backend": "http://localhost:9100"
},
{
"endpoint": "/.well-known/",
"backend": "http://localhost:9130"
},
{
"endpoint": "/konnect/",
"backend": "http://localhost:9130"
},
{
"endpoint": "/signin/",
"backend": "http://localhost:9130"
},
{
"type": "regex",
"endpoint": "/ocs/v[12].php/cloud/(users?|groups)",
"backend": "http://localhost:9110"
},
{
"endpoint": "/ocs/",
"backend": "http://localhost:9140"
},
{
"type": "query",
"endpoint": "/remote.php/?preview=1",
"backend": "http://localhost:9115"
},
{
"endpoint": "/remote.php/",
"backend": "http://localhost:9140"
},
{
"endpoint": "/dav/",
"backend": "http://localhost:9140"
},
{
"endpoint": "/webdav/",
"backend": "http://localhost:9140"
},
{
"endpoint": "/status.php",
"backend": "http://localhost:9140"
},
{
"endpoint": "/index.php/",
"backend": "http://localhost:9140"
},
{
"endpoint": "/data",
"backend": "http://localhost:9140"
},
{
"endpoint": "/graph/",
"backend": "http://localhost:9120"
},
{
"endpoint": "/graph-explorer/",
"backend": "http://localhost:9135"
},
{
"endpoint": "/api/v0/accounts",
"backend": "http://localhost:9181"
},
{
"endpoint": "/accounts.js",
"backend": "http://localhost:9181"
},
{
"endpoint": "/api/v0/settings",
"backend": "http://localhost:9190"
},
{
"endpoint": "/settings.js",
"backend": "http://localhost:9190"
},
{
"endpoint": "/api/v0/greet",
"backend": "http://ocis-hello:9105"
},
{
"endpoint": "/hello.js",
"backend": "http://ocis-hello:9105"
}
]
}
]
}
@@ -1,17 +1,15 @@
{
"server": "https://172.17.0.1:9200",
"server": "https://ocis.owncloud.test",
"theme": "owncloud",
"version": "0.1.0",
"openIdConnect": {
"metadata_url": "https://172.17.0.1:9200/.well-known/openid-configuration",
"authority": "https://172.17.0.1:9200",
"metadata_url": "https://ocis.owncloud.test/.well-known/openid-configuration",
"authority": "https://ocis.owncloud.test",
"client_id": "web",
"response_type": "code",
"scope": "openid profile email"
},
"apps": [
"files"
],
"apps": ["files"],
"external_apps": [
{
"id": "settings",
@@ -22,8 +20,8 @@
"path": "/accounts.js"
},
{
"id": "wopiserver",
"path": "/wopiserver.js"
"id": "hello",
"path": "/hello.js"
}
],
"options": {
@@ -0,0 +1,98 @@
---
version: "3.7"
services:
traefik:
image: traefik:v2.5
networks:
ocis-net:
aliases:
- ${OCIS_DOMAIN:-ocis.owncloud.test}
command:
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
# letsencrypt configuration
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
# enable dasbhoard
- "--api.dashboard=true"
# define entrypoints
- "--entryPoints.http.address=:80"
- "--entryPoints.http.http.redirections.entryPoint.to=https"
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
- "--entryPoints.https.address=:443"
# docker provider (get configuration from container labels)
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
- "--providers.docker.exposedByDefault=false"
ports:
- "80:80"
- "443:443"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "certs:/certs"
labels:
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$apr1$4vqie50r$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
- "traefik.http.routers.traefik.entrypoints=https"
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
- "traefik.http.routers.traefik.middlewares=traefik-auth"
- "traefik.http.routers.traefik.tls.certresolver=http"
- "traefik.http.routers.traefik.service=api@internal"
logging:
driver: "local"
restart: always
ocis:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
networks:
ocis-net:
entrypoint:
- /bin/sh
- /entrypoint-override.sh
environment:
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_DOMAIN: ${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
PROXY_OIDC_INSECURE: "${INSECURE:-false}" # needed if Traefik is using self generated certificates
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
# change default secrets
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
OCIS_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
# web ui
WEB_UI_CONFIG: "/var/tmp/ocis/.config/web-config.json"
# proxy
PROXY_CONFIG_FILE: "/var/tmp/ocis/.config/proxy-config.json"
volumes:
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
- ./config/ocis/web-config.dist.json:/config/web-config.dist.json
- ./config/ocis/proxy-config.json:/config/proxy-config.json
- ocis-data:/var/tmp/ocis
labels:
- "traefik.enable=true"
- "traefik.http.routers.ocis.entrypoints=https"
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
- "traefik.http.routers.ocis.tls.certresolver=http"
- "traefik.http.routers.ocis.service=ocis"
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
logging:
driver: "local"
restart: always
ocis-hello:
image: owncloud/ocis-hello:${OCIS_HELLO_DOCKER_TAG:-latest}
networks:
ocis-net:
environment:
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
logging:
driver: "local"
restart: always
volumes:
certs:
ocis-data:
networks:
ocis-net:
@@ -0,0 +1,12 @@
---
version: "3.7"
services:
ocis:
environment:
OCIS_TRACING_ENABLED: "true"
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
networks:
ocis-net:
external: true
+2
View File
@@ -25,6 +25,8 @@ IDP_LDAP_BIND_PASSWORD=
STORAGE_LDAP_BIND_PASSWORD=
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
OCIS_JWT_SECRET=
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
OCIS_TRANSFER_SECRET=
### Keycloak ###
# Domain of Keycloak, where you can find the managment and authentication frontend. Defaults to "keycloak.owncloud.test"
@@ -5,14 +5,12 @@ set -e
ocis server&
sleep 10
# stop builtin idp since we use Keycloak as a replacement
ocis kill idp
echo "##################################################"
echo "change default secrets:"
# IDP
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " IDP user UUID: $IDP_USER_UUID"
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
# REVA
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " Reva user UUID: $REVA_USER_UUID"
@@ -25,6 +23,11 @@ echo "##################################################"
echo "delete demo users" # demo users are provided by keycloak
set +e # accounts can only delete once, so it will fail the second time
# IDP
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " IDP user UUID: $IDP_USER_UUID"
ocis accounts remove $IDP_USER_UUID
ocis accounts remove 4c510ada-c86b-4815-8820-42cdf82c3d51
ocis accounts remove ddc2004c-0977-11eb-9d3f-a793888cd0f8
ocis accounts remove 932b4540-8d16-481e-8ef4-588e4b6b151c
@@ -3,20 +3,26 @@ version: "3.7"
services:
traefik:
image: traefik:v2.4
image: traefik:v2.5
networks:
ocis-net:
aliases:
- ${OCIS_DOMAIN:-ocis.owncloud.test}
- ${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}
command:
#- "--log.level=DEBUG"
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
# letsencrypt configuration
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}"
- "--certificatesResolvers.http.acme.storage=/certs/acme.json"
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
# enable dasbhoard
- "--api.dashboard=true"
# define entrypoints
- "--entryPoints.http.address=:80"
- "--entryPoints.http.http.redirections.entryPoint.to=https"
- "--entryPoints.http.http.redirections.entryPoint.scheme=https"
- "--entryPoints.https.address=:443"
# docker provider (get configuration from container labels)
- "--providers.docker.endpoint=unix:///var/run/docker.sock"
- "--providers.docker.exposedByDefault=false"
ports:
@@ -27,17 +33,12 @@ services:
- "certs:/certs"
labels:
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
- "traefik.http.routers.traefik.entrypoints=http"
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$apr1$4vqie50r$YQAmQdtmz5n9rEALhxJ4l.}" # defaults to admin:admin
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
- "traefik.http.routers.traefik-secure.entrypoints=https"
- "traefik.http.routers.traefik-secure.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
- "traefik.http.routers.traefik-secure.middlewares=traefik-auth"
- "traefik.http.routers.traefik-secure.tls=true"
- "traefik.http.routers.traefik-secure.tls.certresolver=http"
- "traefik.http.routers.traefik-secure.service=api@internal"
- "traefik.http.routers.traefik.entrypoints=https"
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)"
- "traefik.http.routers.traefik.middlewares=traefik-auth"
- "traefik.http.routers.traefik.tls.certresolver=http"
- "traefik.http.routers.traefik.service=api@internal"
logging:
driver: "local"
restart: always
@@ -67,20 +68,16 @@ services:
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
OCIS_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
volumes:
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
- ocis-data:/var/tmp/ocis
labels:
- "traefik.enable=true"
- "traefik.http.routers.ocis.entrypoints=http"
- "traefik.http.routers.ocis.entrypoints=https"
- "traefik.http.routers.ocis.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
- "traefik.http.middlewares.ocis-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.ocis.middlewares=ocis-https-redirect"
- "traefik.http.routers.ocis-secure.entrypoints=https"
- "traefik.http.routers.ocis-secure.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`)"
- "traefik.http.routers.ocis-secure.tls=true"
- "traefik.http.routers.ocis-secure.tls.certresolver=http"
- "traefik.http.routers.ocis-secure.service=ocis"
- "traefik.http.routers.ocis.tls.certresolver=http"
- "traefik.http.routers.ocis.service=ocis"
- "traefik.http.services.ocis.loadbalancer.server.port=9200"
logging:
driver: "local"
@@ -122,27 +119,20 @@ services:
KEYCLOAK_IMPORT: /opt/jboss/keycloak/ocis-realm.json
labels:
- "traefik.enable=true"
- "traefik.http.routers.keycloak.entrypoints=http"
- "traefik.http.routers.keycloak.entrypoints=https"
- "traefik.http.routers.keycloak.rule=Host(`${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}`)"
- "traefik.http.middlewares.keycloak-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.keycloak.middlewares=keycloak-https-redirect"
- "traefik.http.routers.keycloak-secure.entrypoints=https"
- "traefik.http.routers.keycloak-secure.rule=Host(`${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}`)"
- "traefik.http.routers.keycloak-secure.tls=true"
- "traefik.http.routers.keycloak-secure.tls.certresolver=http"
- "traefik.http.routers.keycloak-secure.service=keycloak"
- "traefik.http.routers.keycloak.tls.certresolver=http"
- "traefik.http.routers.keycloak.service=keycloak"
- "traefik.http.services.keycloak.loadbalancer.server.port=8080"
- "traefik.http.services.keycloak.loadbalancer.server.scheme=http"
# let /.well-known/openid-configuration be served by Keycloak
- "traefik.http.routers.idp-wellknown-secure.entrypoints=https"
- "traefik.http.routers.idp-wellknown-secure.tls=true"
- "traefik.http.routers.idp-wellknown-secure.tls.certresolver=http"
- "traefik.http.routers.idp-wellknown-secure.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`) && Path(`/.well-known/openid-configuration`)"
- "traefik.http.middlewares.idp-headers.headers.customrequestheaders.X-Forwarded-Host=${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}"
- "traefik.http.middlewares.idp-prefix.addprefix.prefix=/auth/realms/${KEYCLOAK_REALM:-oCIS}"
- "traefik.http.middlewares.idp-override.chain.middlewares=idp-headers,idp-prefix"
- "traefik.http.routers.idp-wellknown-secure.middlewares=idp-override"
- "traefik.http.routers.idp-wellknown-secure.service=keycloak"
- "traefik.http.routers.idp-wellknown.entrypoints=https"
- "traefik.http.routers.idp-wellknown.tls.certresolver=http"
- "traefik.http.routers.idp-wellknown.rule=Host(`${OCIS_DOMAIN:-ocis.owncloud.test}`) && Path(`/.well-known/openid-configuration`)"
- "traefik.http.routers.idp-wellknown.middlewares=idp-override"
- "traefik.http.routers.idp-wellknown.service=keycloak"
depends_on:
- postgres
logging:
+42
View File
@@ -0,0 +1,42 @@
# If you're on a internet facing server please comment out following line.
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
INSECURE=true
### Traefik settings ###
# Serve Treafik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=
# Basic authentication for the dashboard. Defaults to user "admin" and password "admin"
TRAEFIK_BASIC_AUTH_USERS=
# Email address for obtaining LetsEncrypt certificates, needs only be changed if this is a public facing server
TRAEFIK_ACME_MAIL=
### oCIS settings ###
# oCIS version. Defaults to "latest"
OCIS_DOCKER_TAG=
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
OCIS_DOMAIN=
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
IDP_LDAP_BIND_PASSWORD=
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
STORAGE_LDAP_BIND_PASSWORD=
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
OCIS_JWT_SECRET=
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
OCIS_TRANSFER_SECRET=
### MINIO / S3 settings ###
# Domain of MinIO where the Web UI is accessible. Defaults to "minio.owncloud.test".
MINIO_DOMAIN=
# S3 bucket name, where oCIS stores its data in. Defaults to "ocis-bucket".
MINIO_BUCKET=
# S3 bucket access key, which oCIS uses to authenticate. Defaults to "ocis".
MINIO_ACCESS_KEY=
# S3 bucket access key secret, which oCIS uses to authenticate. Defaults to "ocis-secret-key".
MINIO_SECRET_KEY=
# If you want to use debugging and tracing with this stack,
# you need uncomment following line. Please see documentation at
# https://owncloud.dev/ocis/deployment/monitoring-tracing/
#COMPOSE_FILE=docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
+6
View File
@@ -0,0 +1,6 @@
---
document this deployment example in: docs/ocis/deployment/ocis_s3.md
---
Please refer to [our documentation](https://owncloud.dev/ocis/deployment/ocis_s3/)
for instructions on how to deploy this scenario.
Loaded 100 of 456 files, more files were not shown because too many files have changed in this diff. Show more