Compare commits

...
604 Commits
Author SHA1 Message Date
Florian Schade 473d9ca6d5 prepare changelog 2021-05-12 16:29:58 +02:00
Pascal Wengerter a200475b0c Automated changelog update [skip ci] 2021-05-12 14:12:00 +00:00
Pascal Wengerter 8b25351595 Merge pull request #2045 from owncloud/update-web-v3.1.0
Update web to v3.1.0
2021-05-12 15:11:30 +01:00
Pascal Wengerter 1f3e0697cf Bump web commit ID 2021-05-12 14:26:08 +01:00
Pascal Wengerter b499af3fb8 Merge branch 'master' into update-web-v3.1.0 2021-05-12 13:36:29 +01:00
Pascal Wengerter 8c76a866fc Update web v3.1.0 assets bundle & web commit ID in drone.env 2021-05-12 13:33:56 +01:00
Michael Barz d2cc70c2e5 Merge pull request #2047 from owncloud/release_notes
[docs-only] 1.6.0 Release Notes
2021-05-12 09:48:21 +02:00
Patrick Maier 3b623bc2bf [docs-only] 1.6.0 Release Notes 2021-05-11 17:24:07 +02:00
David Christofas b06843b707 Merge pull request #2041 from owncloud/dependabot/go_modules/ocis/github.com/thejerf/suture/v4-4.0.1
Bump github.com/thejerf/suture/v4 from 4.0.0 to 4.0.1 in /ocis
2021-05-11 17:10:06 +02:00
dependabot[bot] 918ce630bf Bump github.com/thejerf/suture/v4 from 4.0.0 to 4.0.1 in /ocis
Bumps [github.com/thejerf/suture/v4](https://github.com/thejerf/suture) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/thejerf/suture/releases)
- [Commits](https://github.com/thejerf/suture/compare/v4.0.0...v4.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 14:25:09 +00:00
David Christofas 85f62eae2b Automated changelog update [skip ci] 2021-05-11 13:40:48 +00:00
David Christofas cd4eca8d7c Merge pull request #2044 from owncloud/update_reva_e2c3841d0dbc
update reva
2021-05-11 15:38:57 +02:00
Phil Davis 32ff8ee9bc Merge pull request #2046 from owncloud/bump-commit-ids
[tests-only] Bump commit ids for test
2021-05-11 18:27:35 +05:45
David Christofas f6ac50244b update invocations of MintToken and DismantleToken 2021-05-11 14:18:43 +02:00
saw-jan 7a286e9b08 bump commit ids for test 2021-05-11 16:58:31 +05:45
Pascal Wengerter 4271dd44df Merge pull request #2042 from owncloud/10052021_thumbnail-assets
Add new assets/binaries for accounts/idp/settings & thumbnail swagger
2021-05-10 20:21:40 +01:00
Benedikt Kulmann 7d4be3145f Update web to v3.1.0-rc1 2021-05-10 15:46:15 +02:00
Willy Kloucek 8b195e95b6 update reva 2021-05-10 11:39:58 +02:00
Pascal Wengerter e68c4c1b6e Add new assets/binaries for accounts/idp/settings & thumbnail swagger 2021-05-10 09:14:24 +01:00
Phil Davis 80c942d6ad Merge pull request #2035 from owncloud/bump-commit-id
[tests-only] Bump commit ids for tests
2021-05-07 20:49:30 +05:45
Phil Davis ea3a4c8f50 Adjust expected failures 2021-05-07 18:30:54 +05:45
Phil Davis aab0048a21 Bump commit ids for tests 2021-05-07 17:53:54 +05:45
Saw-jan Gurung 1d8b02ca3f Merge pull request #2030 from owncloud/update-webUI-suites
[tests-only] Update webUI test suites in drone
2021-05-07 17:41:19 +05:45
saw-jan 19563196e2 update expected-failures file 2021-05-07 16:55:15 +05:45
saw-jan 610839a9e5 update webUI suites 2021-05-07 16:55:15 +05:45
Pascal Wengerter a1684bbeec Merge pull request #1871 from owncloud/dependabot/npm_and_yarn/settings/rollup/plugin-replace-2.4.2
Bump @rollup/plugin-replace from 2.4.1 to 2.4.2 in /settings
2021-05-07 11:51:37 +01:00
Pascal Wengerter 4d09b61973 Merge pull request #1867 from owncloud/dependabot/npm_and_yarn/onlyoffice/rollup/plugin-replace-2.4.2
Bump @rollup/plugin-replace from 2.4.1 to 2.4.2 in /onlyoffice
2021-05-07 11:50:55 +01:00
Pascal Wengerter 7ffd875966 Merge pull request #2020 from owncloud/docs_reference_demo
[docs-only] reference demo instance in docs
2021-05-07 11:49:03 +01:00
Pascal Wengerter 82a04602ba Merge pull request #2002 from owncloud/dependabot/npm_and_yarn/accounts/babel/core-7.14.0
Bump @babel/core from 7.13.10 to 7.14.0 in /accounts
2021-05-07 11:47:36 +01:00
Willy Kloucek d3f6298c8d Merge pull request #2023 from owncloud/starlark_format_linting
starlark format linting
2021-05-06 14:35:31 +02:00
Alex Unger 74e4788c8b Merge pull request #2022 from owncloud/accept-adrs
accept some adrs
2021-05-06 13:58:39 +02:00
Willy Kloucek ba58cf8908 fix pipeline 2021-05-06 13:11:46 +02:00
Willy Kloucek b01eefb91d add ci-format make target 2021-05-06 11:57:06 +02:00
Willy Kloucek c14365eb51 format starlark file 2021-05-06 11:48:44 +02:00
Willy Kloucek 9a7ceee45f add starlark format linting step 2021-05-06 11:48:09 +02:00
Michael Barz 08cdc19fc8 accept some adrs 2021-05-06 11:29:09 +02:00
Michael Barz 4dac701997 fix rocketchat notifications 2021-05-06 11:22:13 +02:00
Klaas FreitagandMichael Barz ccb1ab69c6 [docs-only] Fix headers for the adrs, remove duplicate lines and reword. (#2004)
* Fix headers for the adrs, remove duplicate lines and reword.

* Update docs/ocis/adr/0005-cs3-api-account-management.md

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2021-05-06 11:04:13 +02:00
Willy Kloucek bf9266f77a reference demo instance in docs 2021-05-06 07:56:25 +02:00
Willy Kloucek ec5bdada81 Automated changelog update [skip ci] 2021-05-06 05:36:35 +00:00
Willy Kloucek 385b1d41d9 Merge pull request #2019 from owncloud/samesite
change samesite settings for web
2021-05-06 07:35:43 +02:00
Michael Barz 5ab65b32ca Update settings.yml 2021-05-05 15:13:04 +02:00
PKiran ffadb6e1fb Merge pull request #2017 from owncloud/improve-api-test-docs
[Tests-Only] remove DELETE_USER_DATA_CMD env from api tests running scripts
2021-05-05 17:50:52 +05:45
Willy Kloucek 63cea30af3 change samesite settings for web 2021-05-05 13:20:48 +02:00
Parajuli Kiran b530bfda99 removed DELETE_USER_DATA_CMD env from api tests running scripts 2021-05-05 16:51:32 +05:45
dependabot[bot] 32a101c162 Bump @rollup/plugin-replace from 2.4.1 to 2.4.2 in /settings
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.4.1...replace-v2.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 08:53:28 +00:00
dependabot[bot] 34532d3bb4 Bump @babel/core from 7.13.10 to 7.14.0 in /accounts
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.10 to 7.14.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.0/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 08:47:39 +00:00
Talank a85a37370e Merge pull request #2016 from owncloud/bumpToNewCommit
[Tests-Only]Bumps to latest core and web commit
2021-05-05 14:15:52 +05:45
Artur Neumann cf94773686 Merge pull request #690 from owncloud/enable-settings-ui-tests
[Tests-Only] Add UI tests for settings UI
2021-05-05 13:31:32 +05:45
jasson99 ad452021ff Bumps to latest core commit 2021-05-05 13:00:03 +05:45
Talank 2ea41f2782 Merge pull request #2014 from owncloud/ocis-no-redis
[CI] Remove redis server when running ocis server with ocis storage
2021-05-05 12:59:35 +05:45
Alex Unger ae10670fe7 Merge pull request #2015 from owncloud/add_deplyoment_config
add deployment config for wopi
2021-05-05 08:40:19 +02:00
saw-jan 7f90f861e3 use redis with owncloud storage only 2021-05-05 11:53:17 +05:45
Willy Kloucek 415ea6bcaf add deployment config for wopi 2021-05-05 07:27:10 +02:00
Dipak Acharya e006f10324 Fix command to run ui test for settings in drone 2021-05-05 09:45:52 +05:45
Jan Ackermann d00d1364e8 [tx] updated from transifex 2021-05-05 00:56:23 +00:00
Willy Kloucek 5f7793fb28 Merge pull request #1940 from owncloud/wopi_server
add WOPI server deployment example
2021-05-04 21:44:04 +02:00
Willy Kloucek 1cdb18ff31 add continous deployment 2021-05-04 17:39:59 +02:00
Willy Kloucek d144e3ddce add wait script 2021-05-04 17:39:59 +02:00
Willy Kloucek 3f9707274d fix json formatting 2021-05-04 17:39:59 +02:00
Willy Kloucek 25a5001a91 touch wopi log file to ensure its there 2021-05-04 17:39:59 +02:00
Willy Kloucek 39973d13f0 remove "custom" preset in .env 2021-05-04 17:39:59 +02:00
Willy Kloucek 5977a86eb3 add docs 2021-05-04 17:39:59 +02:00
Willy Kloucek df3b65b5e8 add wopi server example deployment 2021-05-04 17:39:59 +02:00
Benedikt Kulmann b5a8ffe6f6 Automated changelog update [skip ci] 2021-05-04 14:51:19 +00:00
Benedikt Kulmann 63368039a7 Merge pull request #2010 from owncloud/update-reva-to-v1.7.1-0.20210430154404-69bd21f2cc97
Update reva to v1.7.1-0.20210430154404-69bd21f2cc97
2021-05-04 16:50:50 +02:00
Phil Davis ee73e44b21 Remove passing tests from expected-failures 2021-05-04 19:48:41 +05:45
Benedikt Kulmann 56530879ef Update reva to v1.7.1-0.20210430154404-69bd21f2cc97 2021-05-04 15:20:35 +02:00
Dipak Acharya 21db768e6b Fix settings ui tests 2021-05-04 15:51:33 +05:45
Dipak Acharya 58a88b16e2 source env vars for ci 2021-05-04 15:51:33 +05:45
Benedikt Kulmann 99e0972309 fix web branch in settings drone pipeline 2021-05-04 15:51:33 +05:45
Dipak Acharya 0ec8df4e4a [Tests-Only] fix test infra path for settings tests 2021-05-04 15:51:33 +05:45
Benedikt Kulmann e769bbefd7 Streamline settings tests 2021-05-04 15:51:33 +05:45
Dipak Acharya a6df52008e update configuration variables for settings ui test in CI 2021-05-04 15:51:33 +05:45
Michael Barz d5c132b7f9 Add UI tests for settings UI 2021-05-04 15:51:33 +05:45
Phil Davis f9afcbc47a Merge pull request #1990 from owncloud/change-storage-driver
[Tests-Only] Change storage driver from `owncloud` to `ocis` for webUITests pipeline
2021-05-04 15:34:02 +05:45
saw-jan e78c93e016 add extected-failures file 2021-05-04 14:23:31 +05:45
saw-jan 329f5f026d change storage driver from owncloud to ocis 2021-05-04 11:52:16 +05:45
Jan Ackermann 896c46fe9f Automated changelog update [skip ci] 2021-05-03 12:27:33 +00:00
Jan Ackermann c11561bf68 Merge pull request #2003 from owncloud/add-dictionary-js
Added dictionary.js for package settings and accounts
2021-05-03 14:27:02 +02:00
Artur Neumann 6ada273cb0 Merge pull request #1998 from owncloud/bump-core-commit-20200430
[tests-only] Bump core commit id for tests
2021-05-03 14:07:44 +05:45
JanAckermann 115f03df43 add dictionary.js 2021-05-03 10:20:32 +02:00
Klaas Freitag 14ac8e5748 Merge pull request #1827 from owncloud/doc-adr-spaces-api
[docs-only] Add draft of adr for spaces API.
2021-04-30 17:23:44 +02:00
Jörn Friedrich Dreyer 6826e572d5 Merge pull request #1920 from owncloud/document-architecture
[docs-only] add storage architecture overview
2021-04-30 17:18:56 +02:00
Klaas Freitag 3122239d21 More review motivated fixes and cleanups. 2021-04-30 17:14:55 +02:00
Phil Davis ddc320783e Adjust expected-failures for OCIS issue 1999 2021-04-30 20:21:05 +05:45
Klaas Freitag e34b9854a6 Move to the correct directory and fix the sequence number. 2021-04-30 16:35:45 +02:00
Klaas Freitag 7d9afee7c6 More review feedback: Added root driveItem object description. 2021-04-30 16:34:16 +02:00
Klaas Freitag 144e3f8103 Remove eTag from response object as it comes through root item. 2021-04-30 16:34:16 +02:00
Klaas Freitag 774518eb9c Apply feedback from reviews. Most significant: root item in reply. 2021-04-30 16:34:15 +02:00
Klaas FreitagandJörn Friedrich Dreyer f0a1a53a43 Update docs/adr/0005-api-for-spaces.md
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-30 16:34:15 +02:00
Klaas FreitagandJörn Friedrich Dreyer 16325083a0 Update docs/adr/0005-api-for-spaces.md
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-30 16:34:15 +02:00
Klaas FreitagandJörn Friedrich Dreyer de80dd9e39 Update docs/adr/0005-api-for-spaces.md
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-30 16:34:15 +02:00
Klaas FreitagandJörn Friedrich Dreyer 1b4cf20419 Update docs/adr/0005-api-for-spaces.md
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-30 16:34:15 +02:00
Klaas Freitag 10ed8a6903 Add a driveStatus value to the spaces object.
It indicates the status if the user has accepted the space or if
it is mandatory like shares or personal.
2021-04-30 16:34:15 +02:00
Klaas Freitag 95035af06d Consider review feedback: refine some wordings. 2021-04-30 16:34:15 +02:00
Klaas Freitag 7e11c5cbf2 Add draft of adr for spaces API. 2021-04-30 16:34:15 +02:00
Phil Davis 62d87078d1 Bump core commit id for tests 2021-04-30 19:41:49 +05:45
Jörn Friedrich Dreyer 6dfa4b2300 clarify url types
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-30 13:54:30 +00:00
Jan Ackermann 46c60cc852 Automated changelog update [skip ci] 2021-04-30 11:43:28 +00:00
Jan Ackermann 2e1e729693 [tx] updated from transifex 2021-04-30 11:40:48 +00:00
Robert Kaussow cd8f3e1af6 Merge pull request #1996 from owncloud/fix-label
Update settings.yml
2021-04-30 13:05:03 +02:00
Michael Barz 7b7fb647a1 remove dismissal restrictions and add empty apps 2021-04-30 12:22:11 +02:00
Michael Barz 012741d44f Update settings.yml 2021-04-30 11:20:34 +02:00
Willy Kloucek b642b9c6e4 Merge pull request #1992 from owncloud/fix_enforce_admins
fix enforce_admins
2021-04-30 10:47:24 +02:00
Willy Kloucek 73c16be2cf fix enforce_admins 2021-04-30 09:42:24 +02:00
David Christofas 8f43938af5 Merge pull request #1988 from owncloud/thumbnails-txt-files
implement thumbnail support for txt files
2021-04-30 08:48:44 +02:00
Jan Ackermann dd75e1c760 Merge pull request #1991 from owncloud/a11y-account-page-introduce-form-with-h-tag
Added h1 for screenreaders
2021-04-29 19:53:43 +02:00
Jörn Friedrich Dreyer 73232b5534 typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-29 16:11:17 +00:00
Jörn Friedrich Dreyer e4ba643047 Merge branch 'master' into document-architecture 2021-04-29 18:08:53 +02:00
Jörn Friedrich Dreyer dcea5cdb5a add notes about /home and /home/shares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-29 14:58:36 +00:00
JanAckermann 8c00e02093 Added h1 for screenreaders 2021-04-29 16:29:29 +02:00
Phil Davis 4239fb537f Merge pull request #1986 from owncloud/refactor-expected-to-fail
[tests-only] Refactor expected-to-fail file to assign correct issue to failing test
2021-04-29 17:56:24 +05:45
David Christofas 12b4a26385 implement thumbnail support for txt files 2021-04-29 13:48:01 +02:00
Jan Ackermann 1ae3819fe2 Merge pull request #1989 from owncloud/fix-transifex
fix translation push
2021-04-29 13:43:21 +02:00
Jörn Friedrich Dreyer ec3c6495d3 add logical uuids
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-29 10:45:53 +00:00
JanAckermann c3d031db13 add PHONY 2021-04-29 12:45:42 +02:00
Jörn Friedrich Dreyer 10d19e5c7b further migration and namespace thoughts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-29 10:25:31 +00:00
Swikriti Tripathi b75feb5330 Refactor expected-to-fail file to assign correct issue to failing test 2021-04-29 10:43:44 +05:45
Phil Davis 9ddfab8fbd Merge pull request #1984 from owncloud/bump-commit-id-STORAGE_DRIVER
[tests-only] Bump commit id
2021-04-29 10:18:15 +05:45
Phil Davis bc48e56d8e Bump commit id 2021-04-29 09:04:14 +05:45
Jan Ackermann 7405812ad9 Merge pull request #1979 from owncloud/ocis-settings-use-oc-select
Use oc-select in settings
2021-04-28 17:23:51 +02:00
Phil Davis 7d968242bd Merge pull request #1981 from owncloud/bump-commit-id-20210428
[tests-only] Bump core commit id for tests
2021-04-28 20:59:00 +05:45
Jörn Friedrich Dreyer 205b3a72bd migration sideeffects
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-28 14:45:50 +00:00
JanAckermann 778aa25771 bump embed.go 2021-04-28 16:36:50 +02:00
JanAckermann 2dbf0bcbf1 added changelog item 2021-04-28 16:36:50 +02:00
JanAckermann 4e09433c6e refactor settings-multi-choice 2021-04-28 16:36:50 +02:00
JanAckermann e006da5bb9 refactor settings-single-choiche 2021-04-28 16:36:50 +02:00
Phil Davis 80ce64d6e5 Bump core commit id for tests 2021-04-28 20:09:03 +05:45
Pascal Wengerter a33c81cd44 Merge pull request #1952 from owncloud/22042021_accounts-settings-generate-docs
[docs-only] Add release guides for accounts & settings, fix issue link in settings/package.json
2021-04-28 13:02:59 +01:00
Alex Unger 8ec196df84 Merge pull request #1962 from owncloud/ocis-1798 2021-04-28 13:33:46 +02:00
Pascal Wengerter 46db2e8f53 Reduce accounts&settings release guide to abstract asset generation command 2021-04-28 12:09:56 +01:00
Pascal WengerterandPhil Davis 3301d4ac9f Fix GitHub link in settings release guide
Co-authored-by: Phil Davis <phil@jankaritech.com>
2021-04-28 11:56:11 +01:00
Pascal WengerterandPhil Davis 4ced02e790 Fix GitHub link in accounts/settings release guide
Co-authored-by: Phil Davis <phil@jankaritech.com>
2021-04-28 11:55:41 +01:00
A.Unger 1257bc3178 remove DELETE_USER_DATA_CMD commented from drone 2021-04-28 12:48:22 +02:00
Jörn Friedrich Dreyer f7aa2383fa small polish
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-28 09:41:44 +00:00
Alex UngerandJörn Friedrich Dreyer 35f0e00b31 Update changelog/unreleased/ocs-user-deprovisioning.md
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-28 11:17:39 +02:00
David Christofas 215b01544c Merge pull request #1898 from owncloud/thumbnails_public_links
Thumbnails for public links
2021-04-28 09:54:36 +02:00
Alex Unger e54e869c1d Update ocs-user-deprovisioning.md 2021-04-28 09:32:41 +02:00
A.Unger 3f0d2cc28f add STORAGE_USERS_DRIVER as a fallback env var 2021-04-27 22:54:49 +02:00
David Christofas af03099aba make responses OC10 compatible 2021-04-27 22:09:49 +02:00
David Christofas 5d6b801b8c implement thumbnail support for public shares 2021-04-27 22:09:45 +02:00
David Christofas dceb96ff98 prepare for public link thumbnails
- Implement a CS3 image source handler
 - Use checksum instead of etag for unique check
 - Simplify storage layout
2021-04-27 22:09:41 +02:00
Pascal Wengerter 3957ab96e4 Update accounts & settings release docs according to feedback 2021-04-27 17:18:27 +01:00
Pascal WengerterandAlex Unger 95bf02f94f Update docs/extensions/accounts/releasing.md
Co-authored-by: Alex Unger <6905948+refs@users.noreply.github.com>
2021-04-27 17:15:49 +01:00
Pascal Wengerter a97d141ccb Add release guides for accounts & settings, fix issue link in settings/package.json 2021-04-27 17:05:16 +01:00
Phil Davis cc8f0c9b94 Merge pull request #1970 from owncloud/bump-commit-20210426
[Tests-Only]Bump commit IDs on ocis 2021-04-26
2021-04-27 21:13:46 +05:45
Jörn Friedrich Dreyer b64c224882 split up files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-27 15:17:53 +00:00
A.Unger aaddbdaf9a adjust expected failures 2021-04-27 16:54:58 +02:00
talank f4bda0e90b Bump commit IDs on ocis 2021-04-26 2021-04-27 20:09:06 +05:45
A.Unger 9af32ee4b2 Merge branch 'master' into ocis-1798 2021-04-27 16:20:54 +02:00
Phil Davis e436ecc271 Merge pull request #1973 from owncloud/revert-expected-failures-change
[tests-only] Revert "adjust expected failures for ocis"
2021-04-27 20:05:05 +05:45
Phil Davis fd4053f3c9 Revert "adjust expected failures for ocis"
This reverts commit 26ee19d6fe.
2021-04-27 18:46:25 +05:45
A.Unger e6cc66c296 add changelopg 2021-04-27 13:50:10 +02:00
A.Unger 4fb04b8ee3 fix sonarcloud offenses 2021-04-27 13:12:04 +02:00
A.Unger f2c5f06ad5 Merge branch 'master' into ocis-1798 2021-04-26 16:19:02 +02:00
A.Unger 0bc0e2a7a4 adjust expected failures 2021-04-26 16:18:52 +02:00
A.Unger 26ee19d6fe adjust expected failures for ocis 2021-04-26 15:27:34 +02:00
A.Unger 6497743a02 purge recycle bin 2021-04-26 14:27:36 +02:00
A.Unger 332a0a6cce Merge branch 'master' into ocis-1798 2021-04-26 13:46:09 +02:00
A.Unger d976dc35d3 add ugly CI hack: os.Getenv("STORAGE_USERS_DRIVER") != "owncloud" 2021-04-26 13:15:07 +02:00
A.Unger 75be5783c7 configurable jwt-secret and idm_address for ocs 2021-04-26 12:32:02 +02:00
Alex Unger 7186fdf10f Merge pull request #1930 from owncloud/user-adr 2021-04-26 11:27:24 +02:00
Alex Unger bc804b2524 Merge pull request #1933 from owncloud/registry-adr 2021-04-26 11:23:16 +02:00
A.Unger 81b7fad8f5 comment out delete user cmd from coreApiTests 2021-04-26 11:11:47 +02:00
A.Unger 5c4ace63e8 Merge branch 'master' into ocis-1798 2021-04-26 10:55:05 +02:00
A.Unger 2816ec7f8b apply review feedback 2021-04-26 10:15:35 +02:00
Alex UngerandMichael Barz ae71239e9c Update docs/ocis/adr/0005-cs3-api-account-management.md
Co-authored-by: Michael Barz <mbarz@owncloud.com>
2021-04-26 10:06:59 +02:00
A.Unger 1782b27b51 apply revie feedback 2021-04-26 10:03:56 +02:00
Willy Kloucek d0c4882e95 Automated changelog update [skip ci] 2021-04-26 06:34:07 +00:00
Willy Kloucek ad1349aa42 Merge pull request #1963 from owncloud/fix-1616
Stop supervisor if a service fails to start
2021-04-26 08:33:26 +02:00
Willy Kloucek 8913e374f4 Merge pull request #1959 from owncloud/1.5.0_release_notes
[docs-only] oCIS 1.5.0 Release Notes
2021-04-26 08:19:24 +02:00
Willy Kloucek 52fb3a41ec Merge pull request #1964 from owncloud/dirkstascheit-patch-1
[docs-only] Update _index.md
2021-04-26 08:14:03 +02:00
A.Unger b820d93485 delete user home only if reva gateway is configured. This ensures tests passing in CI 2021-04-23 15:45:40 +02:00
A.Unger 420447009b tweak backoff tolerance 2021-04-23 15:19:03 +02:00
Dirk Stascheit f8804b771f Update _index.md
updated the version number from 1.4 to 1.5
2021-04-23 15:10:28 +02:00
A.Unger 5fd121e84c add indirect packages 2021-04-23 14:41:48 +02:00
A.Unger 8da06d32b9 add changelog 2021-04-23 14:15:30 +02:00
A.Unger 11c11b06dc stop supervisor if a service fails to start 2021-04-23 14:13:58 +02:00
A.Unger 2cff4cf0bb rework of PR#755 2021-04-23 13:35:01 +02:00
Michael Barz fd01ee4dd0 Automated changelog update [skip ci] 2021-04-23 05:52:16 +00:00
Michael Barz fc2f9bbe4b Merge pull request #1960 from owncloud/release-1.5.0
Merge back Release 1.5.0
2021-04-23 07:48:00 +02:00
Patrick Maier cffe201d90 Update release_notes.md 2021-04-22 18:45:44 +02:00
Alex Unger 86e9369045 Automated changelog update [skip ci] 2021-04-22 15:12:05 +00:00
Alex Unger fa339639cb Merge pull request #1956 from owncloud/fix-1955 2021-04-22 17:10:53 +02:00
Patrick Maier 51313a424c [docs-only] oCIS 1.5.0 Release Notes 2021-04-22 16:52:45 +02:00
A.Unger fefee56e7a ugly stateful hacks 2021-04-22 16:23:39 +02:00
A.Unger d5dff86f43 update order 2021-04-22 15:58:53 +02:00
A.Unger dfb2bda066 change the order where we ser STORAGE_METADATA_ROOT
add changelog

update root metadata location on ci

Revert "update root metadata location on ci"

This reverts commit a7bcf9d645f9f35ac82ae32df77c0c866be6a608.

update .drone.star with no STORAGE_METADATA_ROOT

Revert "update .drone.star with no STORAGE_METADATA_ROOT"

This reverts commit 857db35c58bfb7c6e59f33b79e79a73886161d82.

Revert "change the order where we ser STORAGE_METADATA_ROOT"

This reverts commit 6f2c209c9aa30c310829ad4528327de94603ba56.

Revert "Revert "update .drone.star with no STORAGE_METADATA_ROOT""

This reverts commit 64bfa3f284380de8cbf4d9652d4e9b6ff9c69629.

Revert "Revert "Revert "update .drone.star with no STORAGE_METADATA_ROOT"""

This reverts commit 947ee03bc6a5a7b76046b7c130c0b3782c6d8eb1.
2021-04-22 15:56:48 +02:00
Talank 05f3b50964 Merge pull request #1873 from owncloud/bump-web-commit-id-2e673fe
[Tests-Only]Bumped commit ids in ocis
2021-04-22 14:30:36 +05:45
talank 0fa0c15304 Bumped commit id of web in ocis 2021-04-22 13:40:57 +05:45
Willy Kloucek bedd4135e1 Merge pull request #1954 from owncloud/fix_docker_release
fix docker release
2021-04-22 09:35:21 +02:00
Willy Kloucek c9344cf279 fix docker release 2021-04-22 08:53:41 +02:00
Phil Davis aaea372b7d Merge pull request #1946 from owncloud/bumpCoreCommitId-2020-04-21
[Tests-Only] Updated core commit id to the latest up to 2020/04/21
2021-04-22 08:13:56 +05:45
Pascal Wengerter 1dc7bfe50a Add embed.go for accounts & settings 2021-04-21 17:33:51 +01:00
Michael Barz 4967543130 prepare release 1.5.0 2021-04-21 17:30:44 +02:00
Pascal Wengerter 8f40ee80f2 Automated changelog update [skip ci] 2021-04-21 14:33:03 +00:00
Pascal Wengerter 7ff08a5cce Merge pull request #1938 from owncloud/release-web-3.0.0
Release web 3.0.0
2021-04-21 15:32:33 +01:00
Pascal Wengerter 38863a4745 Update from 3.0.0rc-2 to official 3.0.0 2021-04-21 14:45:36 +01:00
Benedikt Kulmann 9721f81087 switch from OCIS_SKELETON_DIR to TESTING_DATA_DIR env 2021-04-21 14:45:36 +01:00
Benedikt Kulmann f6befe0532 Update role selector of accounts ui tests 2021-04-21 14:45:36 +01:00
Benedikt Kulmann cc790205ce Update web commit id and ocis expected failures for web 2021-04-21 14:45:36 +01:00
Pascal Wengerter ae25f6f61d Update ODS in settings extension 2021-04-21 14:45:36 +01:00
Pascal Wengerter 378c37b935 Update ODS in accounts extension 2021-04-21 14:45:36 +01:00
Benedikt Kulmann f8f9cbe051 Update web to 3.0.0-rc2 2021-04-21 14:45:36 +01:00
Parajuli Kiran 8dac955b6f Updated core commit id to the latest upto 2020/04/21 2021-04-21 17:48:36 +05:45
A.Unger f78f6ceeae fix typo 2021-04-21 13:02:52 +02:00
Alex Unger a95cf437de Merge pull request #1941 from owncloud/fix_arm64_builds_docker
use binaries from make release for docker builds
2021-04-21 11:40:05 +02:00
Jörn Friedrich Dreyer 781272e327 add frontend endpoint descriptions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-20 15:04:56 +00:00
Willy Kloucek 0e36f04a62 use binaries from make release 2021-04-20 17:00:15 +02:00
Alex Unger dff3f0afd1 Automated changelog update [skip ci] 2021-04-20 14:11:38 +00:00
Alex Unger cff1325b7f Merge pull request #1931 from owncloud/parse-config-when-run 2021-04-20 16:10:56 +02:00
A.Unger 60280a3f28 refactor and cleanup a bit 2021-04-20 14:55:48 +02:00
Willy Kloucek c073329e17 Merge pull request #1937 from owncloud/switch_to_official_redis_image
Switch to official redis image
2021-04-20 12:57:31 +02:00
A.Unger 7446c4de12 Merge branch 'master' into parse-config-when-run 2021-04-20 12:52:56 +02:00
Willy Kloucek 734e5564b6 Merge pull request #1850 from owncloud/read_docs
[docs-only] fix migration docs
2021-04-20 09:03:04 +02:00
Willy Kloucek 8610b2560d cleanup uneeded boilerplate code 2021-04-20 08:56:22 +02:00
Willy Kloucek 63c6a438b6 use official redis 2021-04-20 08:56:12 +02:00
Pascal Wengerter f28ee8ac6e Merge pull request #1932 from owncloud/19042021_fix-broken-docs-links
[docs-only] Fix a bunch of broken links within the docs
2021-04-19 15:11:34 +01:00
A.Unger efa214f6ef service registry adr 2021-04-19 15:57:52 +02:00
Pascal Wengerter 81c57ee70c Fix a bunch of broken links within the docs 2021-04-19 14:34:04 +01:00
A.Unger 610c6fcbec add changelog 2021-04-19 14:55:41 +02:00
Alex Unger 32674c2e4f Merge pull request #1929 from owncloud/remove_ocis_hello_references
remove ocis-hello references
2021-04-19 14:03:27 +02:00
A.Unger 6e4de0abd3 config parsing on run command 2021-04-19 13:32:38 +02:00
Willy Kloucek 771f85ce2b remove ocis-hello references 2021-04-19 13:05:41 +02:00
A.Unger c0a4b1b611 add cs3 api user management adr 2021-04-19 12:40:26 +02:00
Willy Kloucek a349bc3477 Merge pull request #1904 from owncloud/dependabot/npm_and_yarn/accounts/eslint-7.24.0
Bump eslint from 7.22.0 to 7.24.0 in /accounts
2021-04-19 09:21:36 +02:00
Willy Kloucek 6c3ad8cb45 Merge pull request #1924 from owncloud/owncloudci_wait_for
switch to owncloudci/wait-for
2021-04-19 09:11:51 +02:00
Alex Unger 13bb862645 Automated changelog update [skip ci] 2021-04-16 12:47:37 +00:00
Alex Unger 7266fb5f7a Merge pull request #1923 from owncloud/cleanup-dead-code 2021-04-16 14:47:07 +02:00
Willy Kloucek e4b9461ccc switch to owncloudci/wait-for 2021-04-16 14:10:57 +02:00
A.Unger ad006496ef remove unused reference 2021-04-16 13:53:38 +02:00
A.Unger 6bcade2e21 add changelog 2021-04-16 13:27:06 +02:00
A.Unger af64e288e9 remove dead runtime code 2021-04-16 13:22:49 +02:00
Willy Kloucek fb30483d6f Merge pull request #1627 from owncloud/make_reva_ocis_service_user_uuid_configurable
make reva ocis storage driver uuid configurable
2021-04-16 11:57:37 +02:00
Willy Kloucek c3b3c8b5fd make reva ocis storage driver uuid configurable 2021-04-16 10:25:33 +02:00
Artur Neumann 8af42a8d87 Merge pull request #1921 from owncloud/bumpCoreCommitId-2020-04-15
[tests-only] updated core commit to the latest upto 2021/04/15
2021-04-16 11:09:18 +05:45
Parajuli Kiran b9a1f4ee98 updated core commit to the latest upto 2021/04/15 2021-04-15 16:32:44 +05:45
Jörn Friedrich DreyerandPascal Wengerter 10ac4946ef Apply suggestions from code review
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-15 07:55:49 +00:00
Artur Neumann 9926c1cc70 Merge pull request #1918 from owncloud/bumnp-core-commit-id-20210414
[tests-only] Bump core commit id
2021-04-15 08:32:37 +05:45
Jörn Friedrich Dreyer 01160c3941 add storage architecture overview
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-14 15:02:27 +00:00
Phil Davis b26b03165f [tests-only] Bump core commit id 2021-04-14 20:06:05 +05:45
Phil Davis 7ff66dd65b Automated changelog update [skip ci] 2021-04-14 14:20:16 +00:00
Phil Davis 642454f7cc Merge pull request #1919 from owncloud/update-reva
update reva to v1.6.1-0.20210414111318-a4b5148cbfb2
2021-04-14 20:04:46 +05:45
David Christofas 94ec263d89 update reva to v1.6.1-0.20210414111318-a4b5148cbfb2 2021-04-14 15:24:04 +02:00
Alex Unger b34d8253e0 Automated changelog update [skip ci] 2021-04-14 12:26:56 +00:00
Alex Unger 85550a3a35 Merge pull request #1917 from ishank011/registry-json 2021-04-14 14:26:30 +02:00
Alex Unger 20bc2a2b8c Automated changelog update [skip ci] 2021-04-14 12:10:51 +00:00
Alex Unger 58f5e69229 Merge pull request #1916 from ishank011/publicshares 2021-04-14 14:10:20 +02:00
Ishank Arora 0241467958 Add error log for failing to read from json file 2021-04-14 13:34:47 +02:00
Ishank Arora f926b60b1d Add janitor options to json driver 2021-04-14 13:05:14 +02:00
Ishank Arora 3a6fb0e0fc Add changelog 2021-04-14 13:00:02 +02:00
Ishank Arora 8ee5aac82b Add option to read registry rules from json file 2021-04-14 12:57:55 +02:00
Ishank Arora 7ca9e12116 Public share SQL driver config 2021-04-14 12:48:35 +02:00
Willy Kloucek 4100541baf Merge pull request #1915 from owncloud/remove_microbadger
remove microbadger update
2021-04-14 11:12:52 +02:00
Willy Kloucek a6559c8289 remove microbadger update 2021-04-14 09:53:35 +02:00
Alex Unger f98347d841 Merge pull request #1912 from owncloud/add_logtostderr=true
add logtostderr=true to protobuf generation
2021-04-14 09:51:00 +02:00
Willy Kloucek 28679c48ca Merge pull request #1914 from owncloud/replace_legacy_dockerhub_readme
replace legacy sheogorath/readme-to-dockerhub with chko/docker-pushrm
2021-04-14 09:44:36 +02:00
Alex Unger d63a79a0ba Merge pull request #1910 from owncloud/gh-ocis-1825 2021-04-13 19:59:26 +02:00
A.Unger ca0cc93252 update mods yet again 2021-04-13 16:19:11 +02:00
A.Unger 12ef07244c Merge branch 'master' into gh-ocis-1825 2021-04-13 16:15:17 +02:00
A.Unger c170e96b5f update modules? 2021-04-13 16:10:01 +02:00
Alex Unger b4e2c338ec Merge pull request #1911 from ishank011/gh-ocis-1825 2021-04-13 15:57:40 +02:00
Ishank Arora ded4abbd55 Set default user backend to accounts 2021-04-13 15:02:07 +02:00
Willy Kloucek 2bd67c2328 readd description 2021-04-13 14:45:56 +02:00
Willy Kloucek 475b2d14d8 replace legacy sheogorath/readme-to-dockerhub with chko/docker-pushrm 2021-04-13 14:41:44 +02:00
A.Unger 985b83a282 guard against returning admin user groups instead the requested user groups 2021-04-13 14:28:09 +02:00
Ishank Arora ffe3a17b73 Add proxy to go.mod 2021-04-13 14:25:00 +02:00
Ishank Arora 8b3a18ac8c Log if reva client cannot be generated 2021-04-13 14:14:51 +02:00
Ishank Arora 52f9d15b2b Minor fixes 2021-04-13 13:54:15 +02:00
Ishank Arora 9a590b37dc Revert to using user in context 2021-04-13 13:48:01 +02:00
Ishank Arora fff0c7499a Fixes 2021-04-13 13:35:40 +02:00
Ishank Arora 9a2a3bf229 Make accounts backend configurable in ocs 2021-04-13 13:28:19 +02:00
Jörn Friedrich Dreyer 095f596a06 move ports to dedicated file
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-04-13 10:15:47 +00:00
Ishank Arora 1b0b14512c Read UID and GID from the opaque object for CS3 proxy backend 2021-04-13 11:52:22 +02:00
A.Unger c6951d2e05 guard against possible empty groups 2021-04-13 11:48:11 +02:00
Willy Kloucek a4f5e223fa add logtostderr=true 2021-04-13 11:08:03 +02:00
A.Unger f23cf92153 interpret user from the IDP 2021-04-13 10:48:06 +02:00
Willy Kloucek 158015112d Merge pull request #1908 from owncloud/remove_go_micro_smaller_than_v2
remove micro smaller than v2
2021-04-13 10:28:36 +02:00
Willy Kloucek 708133ab08 fixes #1475 2021-04-13 09:29:24 +02:00
Willy Kloucek 955bd60edf Merge pull request #1907 from owncloud/highlight_demo_users
[docs-only] highlight demo users
2021-04-13 08:35:22 +02:00
Willy Kloucek 8a34f2550d unify links 2021-04-13 08:32:48 +02:00
Willy Kloucek a05b463069 highlight demo users 2021-04-12 18:41:16 +02:00
Willy Kloucek 9b95e9b119 Merge pull request #1902 from owncloud/update_ci_deps
update ci deps
2021-04-12 12:57:47 +02:00
Willy Kloucek b789c02166 revert to nodejs:14 2021-04-12 09:23:34 +02:00
Willy Kloucek df6cd1cb16 replace source 2021-04-12 09:11:48 +02:00
Willy Kloucek 5e8d477036 use bash 2021-04-12 08:40:54 +02:00
dependabot[bot] 8c25b5d517 Bump eslint from 7.22.0 to 7.24.0 in /accounts
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.24.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-12 06:01:05 +00:00
A.Unger ed99fb8292 assign user role if user exists but there are no role assignments 2021-04-09 14:15:47 +02:00
Willy Kloucek e41db209de update ci deps 2021-04-09 12:38:24 +02:00
Alex Unger 09f0ba44d4 Merge pull request #1894 from owncloud/add_vscode_debug 2021-04-07 17:26:42 +02:00
Willy Kloucek a0d9f63098 Merge pull request #1897 from owncloud/owncloud.dev
adapt to owncloud.dev
2021-04-07 15:06:28 +02:00
Willy Kloucek e3c7555211 remove json comments 2021-04-07 13:45:09 +02:00
Willy Kloucek 4581e9cdd1 add gitignore 2021-04-07 13:44:20 +02:00
Willy Kloucek 6020a37640 adapt to owncloud.dev 2021-04-07 13:40:12 +02:00
Phil Davis 588509b8e4 Merge pull request #1890 from owncloud/bumpCoreCommitId-2020-03-30
[tests-only] updated core commit to the latest upto 2021/04/06
2021-04-07 13:07:23 +05:45
Phil Davis b13914b022 Merge pull request #1896 from owncloud/dirkstascheit-patch-1
[docs-only] Update getting-started.md
2021-04-07 08:13:56 +05:45
Dirk Stascheit 481f9c045a Update getting-started.md
updated package links from 1.2 to 1.4
2021-04-06 17:06:57 +02:00
Willy Kloucek b2bc4421a1 add vscode debug config 2021-04-06 13:41:31 +02:00
Willy Kloucek d78dcd1986 Automated changelog update [skip ci] 2021-04-06 11:37:19 +00:00
Willy Kloucek 1fdffedc4f Merge pull request #1892 from owncloud/change_default_thumbnails_path
change default path for thumbnails
2021-04-06 13:36:48 +02:00
Willy Kloucek 076d8c0661 Merge pull request #1884 from owncloud/update_1.3_to_1.4
[docs-only] add breaking change to changelog and update strategy
2021-04-06 13:31:02 +02:00
Willy Kloucek 80a158ba4a change default path for thumbnails 2021-04-06 11:20:48 +02:00
Parajuli Kiran b598eb7caa updated line numbers in expected failures file 2021-04-06 11:33:12 +05:45
Parajuli Kiran 9add66609d updated core commit to the latest upto 2021/03/30 2021-04-06 10:15:06 +05:45
Phil Davis 024b5f2283 Automated changelog update [skip ci] 2021-04-03 07:07:32 +00:00
Phil Davis afe16be7d9 Merge pull request #1888 from wnienhaus/fix-unaligned-atomic-operation-on-arm32
move uint64s to beginning of struct to ensure they are 64-bit aligned
2021-04-03 12:48:14 +05:45
Wilko Nienhaus 011c6b76ee move uint64s to beginning of struct to ensure they are 64-bit aligned
See https://golang.org/pkg/sync/atomic/#pkg-note-BUG for reference:
"The first word in (...) an allocated struct (...) can be relied up to
be 64-bit aligned"

This fixes an "unaligned 64-bit atomic operation" panic on 32-bit ARM,
(in my case a Raspberry Pi 4, running 32-bit Raspbian). The panic
happens (at least) during the first login after a service (re)start.
2021-04-02 10:35:29 +03:00
Willy Kloucek f6ad814332 Merge pull request #1882 from labkode/fix-env-var
fix case for envar
2021-04-01 10:57:29 +02:00
Willy Kloucek 1de4d8b271 add breaking change to changelog and update strategy 2021-04-01 10:40:22 +02:00
Hugo Gonzalez Labrador 5982e9fe56 fix case for envar 2021-03-31 16:55:55 +02:00
Willy Kloucek 399c33fe2f Automated changelog update [skip ci] 2021-03-31 10:56:47 +00:00
Willy Kloucek 3f37ddb5a2 Merge pull request #1875 from owncloud/fix_proto
unique proto package names
2021-03-31 12:56:16 +02:00
Alex Unger 0dadf6f6a9 Automated changelog update [skip ci] 2021-03-31 10:38:10 +00:00
Alex Unger c5d9afdc58 Merge pull request #1872 from owncloud/enforce_quota
enforce quota
2021-03-31 12:37:34 +02:00
Florian Schade 29c4a34093 Automated changelog update [skip ci] 2021-03-31 10:26:31 +00:00
Florian Schade 89da2b0ed1 Merge pull request #1880 from owncloud/release-1.4.0
merge back release 1.4.0
2021-03-31 12:26:01 +02:00
Willy Kloucek 9bc0cb49c1 fix go import and makefiles, version bump of build tools 2021-03-31 12:03:42 +02:00
Willy Kloucek 2f831c4fca fix proto package names 2021-03-31 08:02:43 +02:00
Florian Schade 1ba10d97e8 create release changelog folder 2021-03-30 16:32:34 +02:00
Florian Schade fbe825bedc link pr 2021-03-30 16:29:52 +02:00
Florian Schade e26243ddf3 use web 2.1.0 changelog for release notes 2021-03-30 16:29:52 +02:00
Patrick Maier eeafcf8cfd [docs-only] 1.4.0 Release Notes 2021-03-30 16:29:52 +02:00
Florian Schade 14c0371f94 link pr 2021-03-30 16:24:48 +02:00
Florian Schade 686df71eeb use web 2.1.0 changelog for release notes 2021-03-30 16:24:48 +02:00
Patrick Maier 06e2154265 [docs-only] 1.4.0 Release Notes 2021-03-30 16:24:48 +02:00
Florian Schade aa1c03aae2 fix unreleased changelog for jpeg 2021-03-30 11:44:58 +02:00
Willy Kloucek 31a0389fbc enforce quota 2021-03-30 10:55:58 +02:00
Pascal Wengerter 169962b4cf Automated changelog update [skip ci] 2021-03-29 14:01:12 +00:00
Pascal Wengerter 320679ca91 Merge pull request #1870 from owncloud/update-web-2.1.0
Update web to 2.1.0
2021-03-29 14:57:39 +01:00
Pascal Wengerter e27c320fa1 Update web to 2.1.0 2021-03-29 09:32:06 +01:00
Phil Davis 697b7cae27 Automated changelog update [skip ci] 2021-03-29 08:11:19 +00:00
Phil Davis c4cbe32c29 Merge pull request #1861 from owncloud/update-reva
update reva to v1.6.1-0.20210326165326-e8a00d9b2368
2021-03-29 13:55:21 +05:45
Artur Neumann 523e611b7e Merge pull request #1863 from owncloud/dependabot/npm_and_yarn/settings/nightwatch-1.6.0
Bump nightwatch from 1.5.1 to 1.6.0 in /settings
2021-03-29 13:37:11 +05:45
Phil Davis 5723bd28e2 Adjust trashbin expected failures on OCIS 2021-03-29 12:57:36 +05:45
dependabot[bot] 41079a1810 Bump @rollup/plugin-replace from 2.4.1 to 2.4.2 in /onlyoffice
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.4.1...replace-v2.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 06:27:41 +00:00
dependabot[bot] dabff59d27 Bump nightwatch from 1.5.1 to 1.6.0 in /settings
Bumps [nightwatch](https://github.com/nightwatchjs/nightwatch) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/nightwatchjs/nightwatch/releases)
- [Commits](https://github.com/nightwatchjs/nightwatch/compare/v1.5.1...v1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 05:56:47 +00:00
David Christofas bcffed2e00 update reva to v1.6.1-0.20210326165326-e8a00d9b2368 2021-03-29 05:11:23 +05:45
Phil Davis b25ef84017 Merge pull request #1862 from owncloud/bumpCoreCommitId-2020-03-27
[tests-only] bumped core commit id for API tests
2021-03-27 18:07:30 +05:45
Parajuli Kiran 808e93ff4c updated line numbers in expected failures file 2021-03-27 15:11:30 +05:45
Parajuli Kiran dbfb17788c bumped core commit id for api tests 2021-03-27 13:49:52 +05:45
Alex Unger eab96d59a8 Automated changelog update [skip ci] 2021-03-26 12:02:06 +00:00
Alex Unger 95b69a5e5d Merge pull request #1819 from owncloud/refactor-extensions 2021-03-26 13:01:35 +01:00
Alex Unger ed8d85077c Merge pull request #1852 from owncloud/onlyoffice-update-npm-dependencies
update npm dependencies
2021-03-26 11:47:34 +01:00
Alex Unger e829ac8f88 Merge pull request #1849 from owncloud/settings-update-npm-dependencies
update npm dependencies
2021-03-26 11:47:11 +01:00
Alex Unger 8c00a0cf8c Merge pull request #1851 from owncloud/accounts-update-npm-deps
update npm dependencies
2021-03-26 11:47:04 +01:00
A.Unger c5bef3609b add changelog 2021-03-26 11:44:36 +01:00
A.Unger d95d58c66a Merge branch 'master' into refactor-extensions 2021-03-26 11:40:10 +01:00
Phil Davis 00dd4460ae Merge pull request #1855 from owncloud/bumpCoreCommitId-2020-03-25
[tests-only] Bump core commit id 2020 03 25
2021-03-26 08:57:29 +05:45
Phil Davis c208b12eb1 Adjust expected-failures in apiWebdavLocksUnlock suite 2021-03-26 08:07:41 +05:45
Parajuli Kiran c32e342487 updated core commit id with expected failures line numbers 2021-03-26 06:51:16 +05:45
Parajuli Kiran 5fe83f62c7 updated core commit id with expected failures line numbers 2021-03-26 06:51:16 +05:45
David Christofas 4511ca9770 update npm dependencies 2021-03-25 21:34:26 +01:00
David Christofas f39e51e57b update npm dependencies 2021-03-25 21:33:11 +01:00
Jan Ackermann e28bdca121 Merge pull request #1857 from owncloud/l10n-improvements-accounts-settings
Adden l10n to accounts and settings
2021-03-25 19:33:11 +01:00
JanAckermann 316d838f90 Adden l10n to accounts and settings 2021-03-25 17:24:06 +01:00
Jan Ackermann 7a72f52067 [tx] updated from transifex 2021-03-25 15:52:43 +00:00
Jan Ackermann 4bfdd604d1 Merge pull request #1854 from owncloud/ocis-l10n-fix2
fix clean deletes translations.js
2021-03-25 16:48:42 +01:00
JanAckermann fd2668a163 fix clean deletes translations.js 2021-03-25 15:57:10 +01:00
Jan Ackermann df8fb3097b [tx] updated from transifex 2021-03-25 14:39:07 +00:00
Jan Ackermann 0a5c0383c7 Merge pull request #1853 from owncloud/ocis-l10n-fix
added missing push command
2021-03-25 15:35:34 +01:00
JanAckermann 68bf78dc5b added missing push command 2021-03-25 14:43:45 +01:00
David Christofas 8f45adbcf8 update npm dependencies 2021-03-25 14:40:49 +01:00
Jan Ackermann 3017b02219 Merge pull request #1842 from owncloud/ocis-l10n
added l10n
2021-03-25 13:52:55 +01:00
Willy Kloucek 0b3db9a9d9 fix PATH 2021-03-25 12:58:49 +01:00
Willy Kloucek 79ca3116c9 wip 2021-03-25 12:10:52 +01:00
JanAckermann 35463646e4 added l10n 2021-03-25 12:01:37 +01:00
Phil Davis bbcea23e85 Merge pull request #1841 from owncloud/bumpCoreCommitId
[tests-only] updated latest core commit id
2021-03-25 05:22:16 +05:45
Phil Davis abd657e644 Merge pull request #1844 from owncloud/update_alpine_base_image
update alpine base image to 3.13
2021-03-25 05:20:49 +05:45
Phil Davis 26f7464bfb Merge pull request #1843 from owncloud/update_bingo
update bingo to go 1.16 compatible release
2021-03-25 05:20:08 +05:45
Willy Kloucek 5ae42173bb Merge pull request #1835 from owncloud/allow_dynamic_client_registration
[deployment examples]  Keycloak: allow dynamic client registration from any host
2021-03-24 18:17:44 +01:00
Parajuli Kiran c705ca9d21 Updated scenarios line numbers in expected failure files 2021-03-24 21:57:20 +05:45
Parajuli Kiran 31eee73cdf updated latest core commit id 2021-03-24 21:57:20 +05:45
Willy Kloucek edb733baf3 allow dynamic client registration from any host 2021-03-24 16:45:28 +01:00
Willy Kloucek 4e224e6304 properly set up .dockerignore 2021-03-24 16:44:31 +01:00
Willy Kloucek a7f0bac2a0 fix to alpine:3.13 2021-03-24 16:44:31 +01:00
Willy Kloucek 4c769e0d33 update alpine base image to 3.14 2021-03-24 16:44:31 +01:00
Willy Kloucek 0e71d8c8a7 update bingo to go 1.16 compatible release 2021-03-24 16:43:27 +01:00
Willy Kloucek dbe2a2a61e Merge pull request #1845 from owncloud/fix_eos_test
bump go version for eos test
2021-03-24 16:38:52 +01:00
Willy Kloucek be8441aa9a bump go version for eos test 2021-03-24 15:32:41 +01:00
Willy Kloucek 90f5eeaca4 Automated changelog update [skip ci] 2021-03-24 12:24:16 +00:00
Willy Kloucek d18b6d71d6 Merge pull request #1833 from owncloud/update_reva
update Reva and Go
2021-03-24 13:23:33 +01:00
Willy Kloucek 1314aacece switch to owncloudci/golang:1.16 2021-03-24 11:17:25 +01:00
Willy Kloucek bd49b1d5c7 change volume 2021-03-24 10:28:40 +01:00
Willy Kloucek daf18e486c try golang 2021-03-24 10:07:50 +01:00
Willy Kloucek a6da51c43b fix expected failures and add changelog 2021-03-23 14:43:25 +01:00
Willy Kloucek 8f058b5867 edit expected failures 2021-03-23 13:57:53 +01:00
Willy Kloucek 5a5d3af8f2 update go 2021-03-23 13:41:16 +01:00
Willy Kloucek fa040cf56f update reva 2021-03-23 13:41:11 +01:00
Alex Unger 39937cec1b Merge pull request #1817 from owncloud/migration-adr-docs 2021-03-23 12:19:23 +01:00
Phil Davis 3ba9005992 Merge pull request #1832 from owncloud/bump-core-commit-id
[tests-only] bump commit id for api tests
2021-03-23 13:29:54 +05:45
Parajuli Kiran 54164e7491 Updated expected failures for owncloud & ocis storage 2021-03-23 12:30:52 +05:45
Parajuli Kiran 958895a96b Bump commit id for api tests 2021-03-23 12:16:15 +05:45
Pascal Wengerter e9c09cce43 Merge pull request #1834 from owncloud/22032021_fix_extension_ports
[docs-only] Fix typo and update http->https, port numbers
2021-03-22 16:19:09 +00:00
Pascal Wengerter 356aa6b523 Fix further URL and small wording improvements 2021-03-22 16:10:29 +00:00
Pascal Wengerter 3be69e45bd Fix typo and update http->https, port numbers 2021-03-22 14:40:57 +00:00
Willy Kloucek 3b2ce2f12d Automated changelog update [skip ci] 2021-03-22 07:41:49 +00:00
Willy Kloucek 1fa2c5f3a0 Merge pull request #1824 from owncloud/update-build-target
Update Build Targets
2021-03-22 08:41:20 +01:00
Jörn Friedrich Dreyer 63abba7e6a more data details, readd adr
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-19 15:35:30 +00:00
A.Unger 48fe247a03 add changelog 2021-03-19 10:50:30 +01:00
A.Unger 45256a4988 add build-all target 2021-03-19 10:47:11 +01:00
A.Unger 5582519b1e make build-debug as its own target 2021-03-19 10:44:45 +01:00
Jörn Friedrich Dreyer 7a295da3ff add tables, move adr
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-19 09:29:48 +00:00
Jörn Friedrich Dreyer ec0e962c7b Merge pull request #1621 from owncloud/refine-adr
[docs-only] Refine adrs
2021-03-19 10:13:25 +01:00
Jörn Friedrich Dreyer f8d3e514c5 cosmetics
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-19 08:49:12 +00:00
Jörn Friedrich Dreyer 291710deb9 incorporate comments
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-19 08:49:12 +00:00
Jörn Friedrich DreyerandAlex Unger 6c66c755f4 Apply suggestions from code review
Co-authored-by: Alex Unger <6905948+refs@users.noreply.github.com>
2021-03-19 08:49:12 +00:00
Jörn Friedrich Dreyer cd28ac3fbd initial migration docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-19 08:49:12 +00:00
Alex Unger ebba4f1bd6 Merge pull request #1821 from owncloud/doc-warn-firewall 2021-03-19 09:31:50 +01:00
Klaas Freitag 6692c63517 Reworded based on review feedback. 2021-03-19 08:56:13 +01:00
Artur Neumann 617e5a9039 Merge pull request #1823 from owncloud/bump-commit-id-20210318
[tests-only] Bump commit id for tests
2021-03-19 08:54:37 +05:45
Phil Davis 7440c2284b Bump commit id for tests 2021-03-19 03:46:59 +05:45
Alex Unger dc03cce6aa Automated changelog update [skip ci] 2021-03-18 16:39:24 +00:00
Alex Unger d183cdb742 Merge pull request #1822 from owncloud/runtime-hostname-port-configurable 2021-03-18 17:36:33 +01:00
A.Unger 61a15be7a8 update default port to 9250 2021-03-18 15:38:36 +01:00
A.Unger 25ea46324f add changelog + rename OCIS_RUNTIME_HOSTNAME -> OCIS_RUNTIME_HOST 2021-03-18 15:27:45 +01:00
A.Unger 385d6ecc48 make runtime port and host configurable 2021-03-18 15:23:36 +01:00
Klaas Freitag fbfc10b65e Add warning about firewall configuration. 2021-03-18 13:16:28 +01:00
A.Unger 61bd6be0ad refactor webdav tracing config 2021-03-18 12:30:02 +01:00
A.Unger 3ec71d0da2 refactor web tracing config 2021-03-18 12:29:06 +01:00
A.Unger 6af43cc150 refactor thumbnails tracing config 2021-03-18 12:28:01 +01:00
A.Unger 338c8c6942 refactor store tracing config 2021-03-18 12:26:49 +01:00
A.Unger 02bfa9509b refactor proxy tracing config 2021-03-18 12:25:23 +01:00
A.Unger 192e3fbd00 refactor onlyoffice tracing config 2021-03-18 12:24:07 +01:00
A.Unger 8b48a3223f refactor ocs tracing config 2021-03-18 12:23:07 +01:00
A.Unger 3872cb07ed refactor idp tracing config 2021-03-18 12:11:52 +01:00
A.Unger cd41f1c8dc refactor graph-explorer tracing config 2021-03-18 12:10:36 +01:00
A.Unger 1d49a267f2 handle error + refactor graph tracing config 2021-03-18 12:09:00 +01:00
A.Unger 9a53c41552 refactor glauth tracing config 2021-03-18 12:05:08 +01:00
A.Unger f53d00b4ff refactor users tracing config 2021-03-18 11:51:56 +01:00
A.Unger 43675c4f14 refactor storage-users tracing config 2021-03-18 11:50:16 +01:00
A.Unger 938f6e8d73 refactor storage-public-link tracing config 2021-03-18 11:49:09 +01:00
A.Unger 07ecf3199c refactor storage-metadata tracing config 2021-03-18 11:47:51 +01:00
A.Unger 0e3b97ac03 refactor storage-home tracing config 2021-03-18 11:45:23 +01:00
A.Unger c8e7a75d54 refactor sharing tracing config 2021-03-18 11:43:50 +01:00
A.Unger 604cab3e63 refactor groups tracing config 2021-03-18 11:38:43 +01:00
A.Unger 44fe360ef5 refactor gateway tracing config 2021-03-18 11:36:54 +01:00
A.Unger f407686404 refactor a authbasic storage tracing config 2021-03-18 11:04:12 +01:00
A.Unger 9dd2cfa2e9 refactor a authbearer storage tracing config 2021-03-18 10:57:15 +01:00
A.Unger cd1e4419c8 Merge branch 'master' into refactor-extensions 2021-03-18 10:51:23 +01:00
A.Unger 0092c74959 refactor a reva storage tracing config 2021-03-18 10:50:54 +01:00
Phil Davis 29897cafaf Merge pull request #1818 from owncloud/bump-commit-ids-20210318
[tests-only] Bump core and web commit ids
2021-03-18 15:32:43 +05:45
A.Unger 0b448f6e02 refactor accounts tracing and server method 2021-03-18 10:31:30 +01:00
Phil Davis cee8794101 Bump core and web commit ids 2021-03-18 14:30:42 +05:45
Alex Unger 2e37c42d57 Automated changelog update [skip ci] 2021-03-17 21:52:29 +00:00
Alex Unger 4d021ae9bc Merge pull request #1816 from owncloud/file-logging-ocis-1666 2021-03-17 22:51:30 +01:00
A.Unger 192fa11d59 add changelog 2021-03-17 16:57:44 +01:00
A.Unger 8a64b190a2 fix debug lines 2021-03-17 16:05:48 +01:00
A.Unger 9c6e8d7bf3 defensive code 2021-03-17 15:59:05 +01:00
A.Unger fa27def950 suport for proxy 2021-03-17 15:42:24 +01:00
A.Unger c04abb9f47 suport for accounts 2021-03-17 15:41:36 +01:00
A.Unger 094af97b95 suport for webdav 2021-03-17 15:40:23 +01:00
A.Unger 9daf14e124 suport for web 2021-03-17 15:39:24 +01:00
A.Unger ed6bdc77b8 suport for thumbnails 2021-03-17 15:38:37 +01:00
A.Unger 314014ae21 suport for store 2021-03-17 15:37:35 +01:00
A.Unger bf63bc8c7c suport for onlyoffice 2021-03-17 15:36:37 +01:00
A.Unger e15e33d873 suport for ocs 2021-03-17 15:35:32 +01:00
A.Unger 1c7b97ab88 suport for graph-explorer 2021-03-17 15:33:21 +01:00
A.Unger 4f3ebb710c suport for graph 2021-03-17 15:31:51 +01:00
A.Unger abd18e3101 Merge branch 'master' into file-logging-ocis-1666 2021-03-17 15:28:16 +01:00
Alex Unger 05f60af349 Merge pull request #1815 from owncloud/cleanup-runtime
Cleanup from Runtime
2021-03-17 15:27:55 +01:00
A.Unger 8a3e280d83 initial support for file logging 2021-03-17 15:26:43 +01:00
A.Unger 41f4a633f5 add config-file flag to ocis, propagate log config to graph & graph-explorer 2021-03-17 10:58:28 +01:00
Jannik Stehle 732db59bcf Automated changelog update [skip ci] 2021-03-17 08:47:31 +00:00
Jannik Stehle 2fe3ffb637 Merge pull request #1813 from owncloud/issues/login-page-title
Replace special character in login page title with a regular minus
2021-03-17 09:46:34 +01:00
Jannik Stehle bfcab42fc2 Replace special character in login page title with a regular minus 2021-03-17 08:44:44 +01:00
Artur Neumann 0d5ac2e5da Merge pull request #1814 from owncloud/bump-commit-id-20210316
[tests-only] Bump commit ids for tests
2021-03-17 09:04:43 +05:45
Phil Davis 1f27ea4aa2 Bump commit ids for tests 2021-03-17 08:00:40 +05:45
Artur Neumann 14493d958e Merge pull request #1786 from owncloud/bumpCommitId
[Tests-Only] Bump core and web commit id
2021-03-16 09:03:02 +05:45
Jörn Friedrich Dreyer 208f19ce4b Merge pull request #1762 from owncloud/ocis-1715-lighter-runtime
Lighter Runtime
2021-03-15 17:28:51 +01:00
Jörn Friedrich Dreyer 9fa77a27ba fix graph and graph-explorer
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-15 15:17:29 +00:00
Benedikt Kulmann fa7cce9e98 Automated changelog update [skip ci] 2021-03-15 15:13:06 +00:00
Benedikt Kulmann 39a7a6a500 Merge pull request #1811 from owncloud/improve-idp-login-accessibility
Improve idp login acessibility
2021-03-15 16:10:43 +01:00
JanAckermann 2c41d99587 updated changelog item 2021-03-15 15:01:12 +01:00
JanAckermann 808282864f Improve idp login acessibility 2021-03-15 14:39:55 +01:00
HariBhandari07 d5316a61a3 [Tests-Only] Bump core and web commit id 2021-03-15 18:38:04 +05:45
Willy Kloucek f3df994c2d Merge pull request #1805 from owncloud/idp-update-npm-deps
update npm dependencies
2021-03-15 08:30:53 +01:00
A.Unger 5594c142dd fix offense 2021-03-13 21:52:00 +01:00
A.Unger 837b1ba96d upper case share 2021-03-13 14:22:52 +01:00
A.Unger 4af261d6ed Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-13 13:35:46 +01:00
Phil Davis c804ed6065 Merge pull request #1801 from owncloud/fix_build_docs
[docs-only] fix build instructions
2021-03-13 11:26:22 +05:45
Phil Davis 5d15b0c86d Apply suggestions from code review of build.md 2021-03-13 11:15:14 +05:45
A.Unger 04fa140c76 Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-12 22:59:44 +01:00
A.Unger 3fafbc88bd fix typos 2021-03-12 21:26:56 +01:00
David Christofas eeba03c727 update npm dependencies 2021-03-12 17:49:54 +01:00
A.Unger 2d5107fda3 add webdav to new config scheme 2021-03-12 17:14:59 +01:00
A.Unger 26f333dece add web to new config scheme 2021-03-12 17:12:29 +01:00
A.Unger 96447d50b9 add thumbnails to new config scheme 2021-03-12 17:07:57 +01:00
A.Unger dff486a737 add store to new config scheme 2021-03-12 17:03:43 +01:00
A.Unger f77d4eb67a add settings to new config scheme 2021-03-12 17:00:36 +01:00
A.Unger df3d563aac add onlyoffice to new config scheme 2021-03-12 16:54:41 +01:00
A.Unger e132be0db6 add ocs to new config scheme 2021-03-12 16:51:28 +01:00
Benedikt Kulmann fbfa38c484 Automated changelog update [skip ci] 2021-03-12 15:47:08 +00:00
Benedikt Kulmann ee9457c645 Merge pull request #1794 from owncloud/issues/WEB-105
Added labels for username and password input in idp service
2021-03-12 16:46:27 +01:00
A.Unger 49f7266d6e add all storages to new config scheme 2021-03-12 16:45:23 +01:00
Willy Kloucek d922c1266e Merge pull request #1778 from owncloud/fix_ci_go_warnings
[CI-only] suppress `bash: go: command not found` warnings
2021-03-12 15:57:55 +01:00
Jan Ackermann de9b43ed7c Update add-labels-and-aria-labelled-by-on-login.md 2021-03-12 15:23:51 +01:00
A.Unger fb460f794f add storage-metadata to new config scheme 2021-03-12 15:17:06 +01:00
David Christofas 77bf0d4cee Merge pull request #1803 from owncloud/settings-update-npm-dependencies
update npm dependencies
2021-03-12 14:40:34 +01:00
A.Unger eb44997e43 add graph to new config scheme 2021-03-12 14:19:40 +01:00
A.Unger db1b09c873 add glauth to new config scheme 2021-03-12 14:13:06 +01:00
Willy Kloucek 43038e8c4b Merge pull request #1802 from mrkara/fixBrokenLink
[docs-only] Fix broken link on _index.md
2021-03-12 14:11:45 +01:00
A.Unger f0c1d59672 add idp to new config scheme 2021-03-12 14:03:52 +01:00
A.Unger c1f489a258 update config parsing for accounts and proxy 2021-03-12 13:47:52 +01:00
JanAckermann c586443609 Added labels and aria properties for username and password input in idp service 2021-03-12 11:33:43 +01:00
A.Unger 3901680fba example of refactoring settings tracing away 2021-03-12 10:56:20 +01:00
David Christofas f04af83858 update npm dependencies 2021-03-12 10:49:13 +01:00
Muhammet Kara 13b4c871cf Fix broken link on _index.md
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
2021-03-12 12:31:59 +03:00
Willy Kloucek 42acd46b3a fix build instructions 2021-03-12 09:45:28 +01:00
A.Unger b52fe95762 run ParseConfig only when running unsupervised 2021-03-11 20:09:05 +01:00
A.Unger dc4b4b7e46 correctly implement suture v4 interfaces 2021-03-11 15:50:01 +01:00
A.Unger 99ad1cdd25 return ocis log level to warning 2021-03-11 13:05:17 +01:00
A.Unger 1df0d2d95f Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-11 13:00:22 +01:00
Phil Davis b892b5e501 Merge pull request #1795 from mrkara/updateDocsRunCommand
[docs-only] Update development build.md
2021-03-11 16:41:00 +05:45
Muhammet Kara a72059e50b Update development build.md
To fix incorrect usage of the 'help requested' flag

Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
2021-03-11 13:38:25 +03:00
David Christofas f2dcc93e31 Automated changelog update [skip ci] 2021-03-11 09:19:36 +00:00
David Christofas 11dd0ae2d8 Merge pull request #1791 from owncloud/thumbnails-support-gifs
add support for gifs to the thumbnails service
2021-03-11 10:18:39 +01:00
A.Unger 8f67dd3b08 fix sonar smells 2021-03-11 09:38:10 +01:00
Jannik Stehle 84911d12a3 Automated changelog update [skip ci] 2021-03-11 07:38:45 +00:00
Jannik Stehle 8f9e1dd5d8 Merge pull request #1792 from owncloud/issues/web-4322
Add focus to input elements on login page
2021-03-11 08:37:20 +01:00
David Christofas b490e32d7d add support for gifs to the thumbnails service 2021-03-10 17:29:26 +01:00
Jannik Stehle cdeda5c012 Include updated embed.go file for the idp app 2021-03-10 17:23:37 +01:00
A.Unger d3af1eacfb kill and start correctly 2021-03-10 17:02:06 +01:00
A.Unger 4ee52cc9cd copy config, since it is shared 2021-03-10 16:35:11 +01:00
Jannik Stehle 83a7103620 Add focus to input elements on login page 2021-03-10 16:23:05 +01:00
Jörn Friedrich Dreyer 9424caede8 list running services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-10 15:12:50 +00:00
A.Unger b19e739137 increase logging 2021-03-10 16:03:59 +01:00
A.Unger 117829515b supervisor logging 2021-03-10 15:40:43 +01:00
A.Unger a145ddf2b2 Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-10 14:46:13 +01:00
Willy Kloucek 6f9df9830b Automated changelog update [skip ci] 2021-03-10 13:34:27 +00:00
Willy Kloucek a9a02c2ea6 Merge pull request #1788 from owncloud/release-1.3.0
merge back release 1.3.0
2021-03-10 14:31:39 +01:00
Phil Davis a8ea9cc94e Automated changelog update [skip ci] 2021-03-10 13:16:51 +00:00
Phil Davis bcfd6acd87 Merge pull request #1790 from owncloud/clarify-expected-failures
clarify expected failures
2021-03-10 19:00:25 +05:45
Jörn Friedrich Dreyer 40eec3460b clarify expected failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-10 12:15:54 +00:00
A.Unger a473780c9d add accounts to delayed 2021-03-10 12:34:23 +01:00
A.Unger 6054e6b4a1 sequential access to viper config (still broken) + add delayed execution to storage-sharing 2021-03-10 12:26:14 +01:00
David Christofas f4c1c063fa Automated changelog update [skip ci] 2021-03-10 11:20:51 +00:00
David Christofas 17a700f0a2 Merge pull request #1785 from owncloud/fix-jpeg-thumbnails
fix jpeg thumbnails
2021-03-10 12:05:54 +01:00
A.Unger 0d3350497a Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-10 11:45:43 +01:00
A.Unger e8c57394d8 fix debug services shutdown 2021-03-10 11:38:21 +01:00
A.Unger 4e37d4a2f6 update commands when running in supervised mode 2021-03-10 11:10:46 +01:00
David Christofas ff618c076a fix jpeg thumbnails 2021-03-10 10:06:19 +01:00
Michael Barz 097cc1548a Merge pull request #1783 from owncloud/relnotes_1.3
[docs-only] Add Release Notes for oCIS release 1.3.0
2021-03-10 09:53:15 +01:00
Phil Davis 457ff589be Apply suggestions from 1.3.0 release notes review 2021-03-10 05:35:15 +05:45
Phil Davis 4e62350696 Merge pull request #1784 from owncloud/09032021_update_docs
[docs-only] Fix broken sample user password, improve readability
2021-03-10 05:34:28 +05:45
Pascal Wengerter ec8177d75e Fix sample user password & improve readability 2021-03-10 05:29:38 +05:45
A.Unger 25909d5923 fix duplicated key 2021-03-09 23:16:13 +01:00
A.Unger 90aea4f58d tweak proxy scalability 2021-03-09 22:58:18 +01:00
Klaas Freitag 27e3fbcf91 Add changelog for oCIS release 1.3.0 2021-03-09 20:01:44 +01:00
A.Unger 5f9133386d fix run / kill 2021-03-09 19:15:59 +01:00
A.Unger 60a1e3ce19 runtime/service cleanup 2021-03-09 17:36:47 +01:00
A.Unger 9c1a51be01 dead code 2021-03-09 17:33:18 +01:00
A.Unger f8a651bad2 propagate logging config to storages 2021-03-09 17:16:12 +01:00
Jörn Friedrich Dreyer 2bfdab8735 add remaining services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-09 16:03:47 +00:00
A.Unger 29910838c1 rework config 2021-03-09 15:55:45 +01:00
A.Unger 757cb9abe9 wip 2021-03-09 13:10:05 +01:00
Willy Kloucek d1701b3035 conditionally include bingo 2021-03-09 11:01:46 +01:00
A.Unger 9284c232b8 undo log lines 2021-03-09 10:31:58 +01:00
Jörn Friedrich Dreyer 463aa76833 disable tls for the idp
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-08 20:26:40 +00:00
A.Unger 34257672d3 log request path instead 2021-03-08 17:18:09 +01:00
Jörn Friedrich Dreyer bb7cfb5a87 obnoxious proxy logging
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-08 16:13:19 +00:00
Jörn Friedrich Dreyer 97754be003 wait for 5 sec after the proxy is available
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-08 15:41:36 +00:00
Alex Unger 58c5ad2e2f increase logging to debug on CI 2021-03-08 13:54:39 +01:00
A.Unger 8b29f096e8 tweak drone star 2 2021-03-05 16:14:32 +01:00
A.Unger bdff8b84f8 tweak drone star 2021-03-05 16:13:49 +01:00
A.Unger 3b83e9dc93 Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-05 15:41:02 +01:00
A.Unger 6d410e596c drop dead code 2021-03-05 14:50:56 +01:00
A.Unger 074eb8d982 propagate logging using config options 2021-03-05 14:28:38 +01:00
A.Unger 277ccc8b82 patch config parsing 2021-03-05 14:08:40 +01:00
A.Unger bb2431839d prepend storage- 2021-03-04 22:39:21 +01:00
Jörn Friedrich Dreyer e4c5043ef3 make linter happy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-04 15:37:33 +00:00
Jörn Friedrich Dreyer 9669ae3ade precreate folders to json files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-04 15:26:03 +00:00
A.Unger 2a565b80fa Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-04 15:28:42 +01:00
A.Unger f2660dd608 add storage-sharing 2021-03-04 15:28:21 +01:00
A.Unger 01b507c4dc add storage-public-link 2021-03-04 15:25:21 +01:00
A.Unger f62c6577c4 add storage-users 2021-03-04 15:23:11 +01:00
A.Unger 59b76bc5a6 add storage-home 2021-03-04 15:20:59 +01:00
A.Unger 7e834c11d6 add storage-auth-bearer 2021-03-04 15:18:35 +01:00
A.Unger 308467b134 panic? 2021-03-04 15:14:25 +01:00
A.Unger 40ff29403f add storage-groupsprovider 2021-03-04 15:00:02 +01:00
A.Unger 255fc4bc92 leftover comment 2021-03-04 14:58:19 +01:00
A.Unger cea043c2ac add storage-gateway 2021-03-04 14:54:27 +01:00
A.Unger 30ed4233b2 add storage-frontend 2021-03-04 14:45:18 +01:00
A.Unger 66c1498ffa goimports 2021-03-04 14:39:06 +01:00
A.Unger 8aed339867 add webdav 2021-03-04 14:37:37 +01:00
A.Unger e8b1665f63 fix flag parsing 2021-03-04 14:33:16 +01:00
A.Unger 96521d23a9 add thumbnails 2021-03-04 14:08:44 +01:00
A.Unger 3c770dd118 add store 2021-03-04 14:03:06 +01:00
A.Unger e25f5b1c98 add proxy 2021-03-04 13:56:49 +01:00
A.Unger f7917bf760 add onlyoffice 2021-03-04 13:26:49 +01:00
A.Unger d0b71bf560 fix ocs 2021-03-04 13:22:32 +01:00
A.Unger 7eea714633 add idp 2021-03-04 13:10:18 +01:00
A.Unger 08e3eea6b7 add glauth 2021-03-04 13:04:37 +01:00
A.Unger 742b571a5b refactor token db away 2021-03-04 13:00:16 +01:00
A.Unger 81576c029a do not panic 2021-03-04 12:46:47 +01:00
A.Unger 58543a1415 correct usage of suture 2021-03-04 11:51:36 +01:00
A.Unger a2a921454b add accounts 2021-03-04 10:50:06 +01:00
A.Unger b806e4b902 Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-04 10:06:51 +01:00
A.Unger a385dd2011 add more todos 2021-03-03 17:37:04 +01:00
A.Unger 59de8198c6 add storage metadata to the runtime and fix its config parsing when running on supervised mode 2021-03-03 17:36:03 +01:00
A.Unger 22e3d2fd35 fix log config priority 2021-03-03 15:12:26 +01:00
A.Unger 98dd9a970f suture runtime v1 2021-03-03 15:05:21 +01:00
A.Unger a31dd155fd pull suture 2021-03-03 13:51:06 +01:00
Jörn Friedrich Dreyer 93c8a2a04d Refine adrs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-16 09:49:31 +00:00
498 changed files with 29302 additions and 18543 deletions

No files matched your search

+1
View File
@@ -0,0 +1 @@
docs/ocis/adr
+1 -1
View File
@@ -1,6 +1,6 @@
# Project Development Dependencies.
This directory stores Go modules with pinned buildable packages that are used within this repository, managed by https://github.com/bwplotka/bingo.
This is directory which stores Go modules with pinned buildable package that is used within this repository, managed by https://github.com/bwplotka/bingo.
* Run `bingo get` to install all tools having each own module file in this directory.
* Run `bingo get <tool>` to install <tool> that have own module file in this directory.
+24 -17
View File
@@ -1,11 +1,11 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.3.1. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.4.0. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
GOPATH ?= $(shell go env GOPATH)
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
GO ?= $(shell which go)
# Bellow generated variables ensure that every time a tool under each variable is invoked, the correct version
# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
# will be used; reinstalling only if needed.
# For example for bingo variable:
#
@@ -17,17 +17,23 @@ GO ?= $(shell which go)
# @echo "Running bingo"
# @$(BINGO) <flags/args..>
#
BINGO := $(GOBIN)/bingo-v0.3.1
BINGO := $(GOBIN)/bingo-v0.4.0
$(BINGO): $(BINGO_DIR)/bingo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/bingo-v0.3.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.3.1 "github.com/bwplotka/bingo"
@echo "(re)installing $(GOBIN)/bingo-v0.4.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.4.0 "github.com/bwplotka/bingo"
BUF := $(GOBIN)/buf-v0.37.1
BUF := $(GOBIN)/buf-v0.40.0
$(BUF): $(BINGO_DIR)/buf.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/buf-v0.37.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buf.mod -o=$(GOBIN)/buf-v0.37.1 "github.com/bufbuild/buf/cmd/buf"
@echo "(re)installing $(GOBIN)/buf-v0.40.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buf.mod -o=$(GOBIN)/buf-v0.40.0 "github.com/bufbuild/buf/cmd/buf"
BUILDIFIER := $(GOBIN)/buildifier-v0.0.0-20210227132407-f2aed9ee205d
$(BUILDIFIER): $(BINGO_DIR)/buildifier.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)/buildifier-v0.0.0-20210227132407-f2aed9ee205d"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buildifier.mod -o=$(GOBIN)/buildifier-v0.0.0-20210227132407-f2aed9ee205d "github.com/bazelbuild/buildtools/buildifier"
CALENS := $(GOBIN)/calens-v0.2.0
$(CALENS): $(BINGO_DIR)/calens.mod
@@ -83,17 +89,17 @@ $(PROTOC_GEN_DOC): $(BINGO_DIR)/protoc-gen-doc.mod
@echo "(re)installing $(GOBIN)/protoc-gen-doc-v1.4.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-doc.mod -o=$(GOBIN)/protoc-gen-doc-v1.4.1 "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc"
PROTOC_GEN_GO := $(GOBIN)/protoc-gen-go-v1.25.0
PROTOC_GEN_GO := $(GOBIN)/protoc-gen-go-v1.26.0
$(PROTOC_GEN_GO): $(BINGO_DIR)/protoc-gen-go.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-go-v1.25.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-go.mod -o=$(GOBIN)/protoc-gen-go-v1.25.0 "google.golang.org/protobuf/cmd/protoc-gen-go"
@echo "(re)installing $(GOBIN)/protoc-gen-go-v1.26.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-go.mod -o=$(GOBIN)/protoc-gen-go-v1.26.0 "google.golang.org/protobuf/cmd/protoc-gen-go"
PROTOC_GEN_MICRO := $(GOBIN)/protoc-gen-micro-v3.0.0-20210217182006-0f0ace1a44a9
PROTOC_GEN_MICRO := $(GOBIN)/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888
$(PROTOC_GEN_MICRO): $(BINGO_DIR)/protoc-gen-micro.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-micro-v3.0.0-20210217182006-0f0ace1a44a9"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-micro.mod -o=$(GOBIN)/protoc-gen-micro-v3.0.0-20210217182006-0f0ace1a44a9 "github.com/asim/go-micro/cmd/protoc-gen-micro/v3"
@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): $(BINGO_DIR)/protoc-gen-microweb.mod
@@ -101,14 +107,15 @@ $(PROTOC_GEN_MICROWEB): $(BINGO_DIR)/protoc-gen-microweb.mod
@echo "(re)installing $(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-microweb.mod -o=$(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4 "github.com/owncloud/protoc-gen-microweb"
PROTOC_GEN_OPENAPIV2 := $(GOBIN)/protoc-gen-openapiv2-v2.2.0
PROTOC_GEN_OPENAPIV2 := $(GOBIN)/protoc-gen-openapiv2-v2.3.0
$(PROTOC_GEN_OPENAPIV2): $(BINGO_DIR)/protoc-gen-openapiv2.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-openapiv2-v2.2.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-openapiv2.mod -o=$(GOBIN)/protoc-gen-openapiv2-v2.2.0 "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
@echo "(re)installing $(GOBIN)/protoc-gen-openapiv2-v2.3.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-openapiv2.mod -o=$(GOBIN)/protoc-gen-openapiv2-v2.3.0 "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
REFLEX := $(GOBIN)/reflex-v0.3.0
$(REFLEX): $(BINGO_DIR)/reflex.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/reflex-v0.3.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=reflex.mod -o=$(GOBIN)/reflex-v0.3.0 "github.com/cespare/reflex"
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/bwplotka/bingo v0.3.1
require github.com/bwplotka/bingo v0.4.0
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/bufbuild/buf v0.37.1 // cmd/buf
require github.com/bufbuild/buf v0.40.0 // cmd/buf
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
require github.com/bazelbuild/buildtools v0.0.0-20210227132407-f2aed9ee205d // buildifier
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/restic/calens v0.2.0
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/UnnoTed/fileb0x v1.1.4
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/owncloud/flaex v0.2.0
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/golangci/golangci-lint v1.37.1 // cmd/golangci-lint
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/haya14busa/goverage v0.0.0-20180129164344-eec3514a20b5
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/mitchellh/gox v1.0.1
+1 -1
View File
@@ -1,6 +1,6 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
replace github.com/markbates/inflect => github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/mutagen-io/mutagen v0.11.8 // cmd/mutagen
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/pseudomuto/protoc-gen-doc v1.4.1 // cmd/protoc-gen-doc
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require google.golang.org/protobuf v1.25.0 // cmd/protoc-gen-go
require google.golang.org/protobuf v1.26.0 // cmd/protoc-gen-go
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/asim/go-micro/cmd/protoc-gen-micro/v3 v3.0.0-20210217182006-0f0ace1a44a9
require github.com/asim/go-micro/cmd/protoc-gen-micro/v3 v3.0.0-20210329103359-9b41d1bf0888
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/owncloud/protoc-gen-microweb v0.0.0-20210224131655-d9b1137a84d4
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/grpc-ecosystem/grpc-gateway/v2 v2.2.0 // protoc-gen-openapiv2
require github.com/grpc-ecosystem/grpc-gateway/v2 v2.3.0 // protoc-gen-openapiv2
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
go 1.16
require github.com/cespare/reflex v0.3.0
+9 -6
View File
@@ -1,4 +1,4 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.3.1. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.4.0. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
# Those variables will work only until 'bingo get' was invoked, or if tools were installed via Makefile's Variables.mk.
GOBIN=${GOBIN:=$(go env GOBIN)}
@@ -8,9 +8,11 @@ if [ -z "$GOBIN" ]; then
fi
BINGO="${GOBIN}/bingo-v0.3.1"
BINGO="${GOBIN}/bingo-v0.4.0"
BUF="${GOBIN}/buf-v0.37.1"
BUF="${GOBIN}/buf-v0.40.0"
BUILDIFIER="${GOBIN}/buildifier-v0.0.0-20210227132407-f2aed9ee205d"
CALENS="${GOBIN}/calens-v0.2.0"
@@ -30,12 +32,13 @@ MUTAGEN="${GOBIN}/mutagen-v0.11.8"
PROTOC_GEN_DOC="${GOBIN}/protoc-gen-doc-v1.4.1"
PROTOC_GEN_GO="${GOBIN}/protoc-gen-go-v1.25.0"
PROTOC_GEN_GO="${GOBIN}/protoc-gen-go-v1.26.0"
PROTOC_GEN_MICRO="${GOBIN}/protoc-gen-micro-v3.0.0-20210217182006-0f0ace1a44a9"
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_OPENAPIV2="${GOBIN}/protoc-gen-openapiv2-v2.2.0"
PROTOC_GEN_OPENAPIV2="${GOBIN}/protoc-gen-openapiv2-v2.3.0"
REFLEX="${GOBIN}/reflex-v0.3.0"
+7
View File
@@ -0,0 +1,7 @@
.bingo
!.bingo/*.mod
!.bingo/Variables.mk
**/.git
**/bin
docs
**/node_modules
+2 -2
View File
@@ -1,7 +1,7 @@
# The test runner source for API tests
CORE_COMMITID=90edbb40800b36fadc4aba6216a3fd16b559f1e3
CORE_COMMITID=eb3deef4ce524b441e76a5b2861dc8fdf298b826
CORE_BRANCH=master
# The test runner source for UI tests
WEB_COMMITID=da869f4cb36ea0a28ead87e57a61d7bbb639aab0
WEB_COMMITID=90cfa889a64d47a98700469cd8cd81eafeedd277
WEB_BRANCH=master
+1586 -1507
View File
File diff suppressed because it is too large. Load diff
+5 -4
View File
@@ -4,7 +4,7 @@ _extends: gh-labels
repository:
name: ocis
description: ':atom_symbol: ownCloud Infinite Scale Stack'
homepage: https://owncloud.github.io/ocis/
homepage: https://owncloud.dev/ocis/
topics: reva, ocis
private: false
@@ -22,7 +22,7 @@ repository:
labels:
- name: OCIS-Fastlane
color: "#deadbf"
description: Something isn't working
description: Planned outside of the sprint
teams:
- name: ci
@@ -37,16 +37,17 @@ branches:
required_approving_review_count: 1
dismiss_stale_reviews: false
require_code_owner_reviews: false
dismissal_restrictions: {}
required_status_checks:
strict: false
contexts:
- continuous-integration/drone/pr
enforce_admins: false
enforce_admins: null
restrictions:
apps: []
users: []
teams:
- ci
- employees
...
+8
View File
@@ -1,5 +1,6 @@
*/coverage.out
*/checkstyle.xml
*/package-lock.json
ocis/config/identifier-registration.yaml
*/bin
@@ -9,10 +10,14 @@ dist/
*crt
node_modules/
*/assets
ocis/ocis
ocis/cmd/ocis/__debug_bin
ocis/cmd/ocis/config/
.idea
yarn-error.log
yarn.lock
# Konnectd
idp/assets/identifier
@@ -25,3 +30,6 @@ vendor-bin/**/composer.lock
# drone CI is in .drone.star, do not let someone accidentally commit a local .drone.yml
.drone.yml
**/l10n/locale
**/l10n/template.pot
+7 -1
View File
@@ -94,8 +94,14 @@ go-coverage:
install: $(SOURCES)
go install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' ./cmd/$(NAME)
.PHONY: build-all
build-all: build build-debug
.PHONY: build
build: $(BIN)/$(EXECUTABLE) $(BIN)/$(EXECUTABLE)-debug
build: $(BIN)/$(EXECUTABLE)
.PHONY: build-debug
build-debug: $(BIN)/$(EXECUTABLE)-debug
$(BIN)/$(EXECUTABLE): $(SOURCES)
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $@ ./cmd/$(NAME)
+50
View File
@@ -0,0 +1,50 @@
# On OSX the PATH variable isn't exported unless "SHELL" is also set, see: http://stackoverflow.com/a/25506676
SHELL = /bin/bash
NODE_BINDIR = ./node_modules/.bin
export PATH := $(PATH):$(NODE_BINDIR)
INPUT_FILES = ./ui
# Where to write the files generated by this makefile.
OUTPUT_DIR = ./l10n
# Template file
TEMPLATE_FILE = ./l10n/template.pot
# Name of the generated .po files for each available locale.
LOCALE_FILES = $(shell find l10n/locale -name '*.po')
.PHONY: l10n-push
l10n-push:
cd $(OUTPUT_DIR) && tx -d push -s --skip --no-interactive
.PHONY: l10n-pull
l10n-pull:
cd $(OUTPUT_DIR) && tx -d pull -a --skip --minimum-perc=75
.PHONY: l10n-clean
l10n-clean:
rm -f $(TEMPLATE_FILE)
rm -rf $(OUTPUT_DIR)/locale
.PHONY: l10n-read
l10n-read: node_modules $(TEMPLATE_FILE)
.PHONY: l10n-write
l10n-write: node_modules $(OUTPUT_DIR)/translations.json
# Create a main .pot template, then generate .po files for each available language.
# Thanks to Systematic: https://github.com/Polyconseil/systematic/blob/866d5a/mk/main.mk#L167-L183
$(TEMPLATE_FILE):
# Extract gettext strings from each template file and create a POT dictionary template.
# Generate .po files for each available language.
export GETTEXT_SOURCES=`find $(INPUT_FILES) -name '*.vue' -o -name '*.js'`; \
node ./node_modules/easygettext/src/extract-cli.js --attribute v-translate --output $(OUTPUT_DIR)/template.pot $$GETTEXT_SOURCES;
# Generate translations.json file from .pot template.
.PHONY: $(OUTPUT_DIR)/translations.json
$(OUTPUT_DIR)/translations.json:
rm -rf $(OUTPUT_DIR)/translations.json
gettext-compile --output $(OUTPUT_DIR)/translations.json $(LOCALE_FILES);
+8 -5
View File
@@ -11,18 +11,20 @@ $(PROTO_SRC)/${NAME}.pb.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_GO)
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-go=$(PROTOC_GEN_GO) \
--go_out=. \
--go_out=$(PROTO_SRC) \
--go_opt=paths=source_relative \
$(PROTO_SRC)/${NAME}.proto
.PHONY: $(PROTO_SRC)/${NAME}.pb.micro.go
$(PROTO_SRC)/${NAME}.pb.micro.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICRO)
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.micro.go"
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.micro.go"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-micro=$(PROTOC_GEN_MICRO) \
--micro_out=. \
--micro_out=logtostderr=true:$(PROTO_SRC) \
--micro_opt=paths=source_relative \
$(PROTO_SRC)/${NAME}.proto
.PHONY: $(PROTO_SRC)/${NAME}.pb.web.go
@@ -33,7 +35,8 @@ $(PROTO_SRC)/${NAME}.pb.web.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICROWE
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-microweb=$(PROTOC_GEN_MICROWEB) \
--microweb_out=. \
--microweb_out=logtostderr=true:$(PROTO_SRC) \
--microweb_opt=paths=source_relative \
$(PROTO_SRC)/${NAME}.proto
.PHONY: $(PROTO_SRC)/${NAME}.swagger.json
@@ -44,7 +47,7 @@ $(PROTO_SRC)/${NAME}.swagger.json: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_OPEN
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-openapiv2=$(PROTOC_GEN_OPENAPIV2) \
--openapiv2_out=$(PROTO_SRC)/ \
--openapiv2_out=logtostderr=true:$(PROTO_SRC)/ \
$(PROTO_SRC)/${NAME}.proto
.PHONY: ../docs/extensions/${NAME}/grpc.md
+3
View File
@@ -13,6 +13,9 @@ release-dirs:
release-linux: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
release-linux-docker: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-windows
release-windows: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'windows' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
+19
View File
@@ -0,0 +1,19 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "oCIS server",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/ocis/cmd/ocis",
"args": ["server"],
"env": {
"OCIS_LOG_LEVEL": "debug",
"OCIS_LOG_PRETTY": "true",
"OCIS_LOG_COLOR": "true",
"PROXY_ENABLE_BASIC_AUTH": "true"
}
},
]
}
+332 -1
View File
@@ -2,7 +2,338 @@
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v1.2.0...master
[unreleased]: https://github.com/owncloud/ocis/compare/v1.5.0...master
## Summary
* Bugfix - Fix STORAGE_METADATA_ROOT default value override: [#1956](https://github.com/owncloud/ocis/pull/1956)
* Bugfix - Stop the supervisor if a service fails to start: [#1963](https://github.com/owncloud/ocis/pull/1963)
* Change - Update ownCloud Web to v3.1.0: [#2045](https://github.com/owncloud/ocis/pull/2045)
* Enhancement - Added dictionary files: [#2003](https://github.com/owncloud/ocis/pull/2003)
* Enhancement - Introduce login form with h1 tag for screen readers only: [#1991](https://github.com/owncloud/ocis/pull/1991)
* Enhancement - User Deprovisioning for the OCS API: [#1962](https://github.com/owncloud/ocis/pull/1962)
* Enhancement - Support thumbnails for txt files: [#1988](https://github.com/owncloud/ocis/pull/1988)
* Enhancement - Update reva to v1.7.1-0.20210430154404-69bd21f2cc97: [#2010](https://github.com/owncloud/ocis/pull/2010)
* Enhancement - Update reva to v1.7.1-0.20210507160327-e2c3841d0dbc: [#2044](https://github.com/owncloud/ocis/pull/2044)
* Enhancement - Use oc-select: [#1979](https://github.com/owncloud/ocis/pull/1979)
* Enhancement - Set SameSite settings to Strict for Web: [#2019](https://github.com/owncloud/ocis/pull/2019)
## Details
* Bugfix - Fix STORAGE_METADATA_ROOT default value override: [#1956](https://github.com/owncloud/ocis/pull/1956)
The way the value was being set ensured that it was NOT being overridden where it should have
been. This patch ensures the correct loading order of values.
https://github.com/owncloud/ocis/pull/1956
* Bugfix - Stop the supervisor if a service fails to start: [#1963](https://github.com/owncloud/ocis/pull/1963)
Steps to make the supervisor fail:
`PROXY_HTTP_ADDR=0.0.0.0:9144 bin/ocis server`
https://github.com/owncloud/ocis/pull/1963
* Change - Update ownCloud Web to v3.1.0: [#2045](https://github.com/owncloud/ocis/pull/2045)
Tags: web
We updated ownCloud Web to v3.1.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2045
https://github.com/owncloud/web/releases/tag/v3.1.0
* Enhancement - Added dictionary files: [#2003](https://github.com/owncloud/ocis/pull/2003)
Added the dictionary.js file for package settings and accounts which contains strings that
should be synced to transifex but not exist in the UI directly.
https://github.com/owncloud/ocis/pull/2003
* Enhancement - Introduce login form with h1 tag for screen readers only: [#1991](https://github.com/owncloud/ocis/pull/1991)
https://github.com/owncloud/ocis/pull/1991
* Enhancement - User Deprovisioning for the OCS API: [#1962](https://github.com/owncloud/ocis/pull/1962)
Use the CS3 API and Reva to deprovision users completely.
Two new environment variables introduced: ``` OCS_IDM_ADDRESS OCS_STORAGE_USERS_DRIVER
```
`OCS_IDM_ADDRESS` is also an alias for `OCIS_URL`; allows the OCS service to mint jwt tokens
for the authenticated user that will be read by the reva authentication middleware.
`OCS_STORAGE_USERS_DRIVER` determines how a user is deprovisioned. This kind of behavior is
needed since every storage driver deals with deleting differently.
https://github.com/owncloud/ocis/pull/1962
* Enhancement - Support thumbnails for txt files: [#1988](https://github.com/owncloud/ocis/pull/1988)
Implemented support for thumbnails for txt files in the thumbnails service.
https://github.com/owncloud/ocis/pull/1988
* Enhancement - Update reva to v1.7.1-0.20210430154404-69bd21f2cc97: [#2010](https://github.com/owncloud/ocis/pull/2010)
* Fix recycle to different locations (https://github.com/cs3org/reva/pull/1541)
* Fix user share as grantee in json backend (https://github.com/cs3org/reva/pull/1650)
* Introduce named services (https://github.com/cs3org/reva/pull/1509)
* Improve json marshalling of share protobuf messages (https://github.com/cs3org/reva/pull/1655)
* Cache resources from share getter methods in OCS (https://github.com/cs3org/reva/pull/1643)
* Fix public file shares (https://github.com/cs3org/reva/pull/1666)
https://github.com/owncloud/ocis/pull/2010
* Enhancement - Update reva to v1.7.1-0.20210507160327-e2c3841d0dbc: [#2044](https://github.com/owncloud/ocis/pull/2044)
* Add user profile picture to capabilities (https://github.com/cs3org/reva/pull/1694)
* Mint scope-based access tokens for RBAC (https://github.com/cs3org/reva/pull/1669)
* Add cache warmup strategy for OCS resource infos (https://github.com/cs3org/reva/pull/1664)
* Filter shares based on type in OCS (https://github.com/cs3org/reva/pull/1683)
https://github.com/owncloud/ocis/pull/2044
* Enhancement - Use oc-select: [#1979](https://github.com/owncloud/ocis/pull/1979)
Replace oc-drop with oc select in settings
https://github.com/owncloud/ocis/pull/1979
* Enhancement - Set SameSite settings to Strict for Web: [#2019](https://github.com/owncloud/ocis/pull/2019)
Changed SameSite settings to Strict for Web to prevent warnings in Firefox
https://github.com/owncloud/ocis/pull/2019
# Changelog for [1.5.0] (2021-04-21)
The following sections list the changes for 1.5.0.
[1.5.0]: https://github.com/owncloud/ocis/compare/v1.4.0...v1.5.0
## Summary
* Bugfix - Fixes "unaligned 64-bit atomic operation" panic on 32-bit ARM: [#1888](https://github.com/owncloud/ocis/pull/1888)
* Change - Make Protobuf package names unique: [#1875](https://github.com/owncloud/ocis/pull/1875)
* Change - Update ownCloud Web to v3.0.0: [#1938](https://github.com/owncloud/ocis/pull/1938)
* Enhancement - Change default path for thumbnails: [#1892](https://github.com/owncloud/ocis/pull/1892)
* Enhancement - Parse config on supervised mode with run subcommand: [#1931](https://github.com/owncloud/ocis/pull/1931)
* Enhancement - Update ODS in accounts & settings extension: [#1934](https://github.com/owncloud/ocis/pull/1934)
* Enhancement - Add config for public share SQL driver: [#1916](https://github.com/owncloud/ocis/pull/1916)
* Enhancement - Remove dead runtime code: [#1923](https://github.com/owncloud/ocis/pull/1923)
* Enhancement - Add option to reading registry rules from json file: [#1917](https://github.com/owncloud/ocis/pull/1917)
* Enhancement - Update reva to v1.6.1-0.20210414111318-a4b5148cbfb2: [#1872](https://github.com/owncloud/ocis/pull/1872)
## Details
* Bugfix - Fixes "unaligned 64-bit atomic operation" panic on 32-bit ARM: [#1888](https://github.com/owncloud/ocis/pull/1888)
Sync/cache had uint64s that were not 64-bit aligned causing panics on 32-bit systems during
atomic access
https://github.com/owncloud/ocis/issues/1887
https://github.com/owncloud/ocis/pull/1888
* Change - Make Protobuf package names unique: [#1875](https://github.com/owncloud/ocis/pull/1875)
Introduce unique `package` and `go_package` names for our Protobuf definitions
https://github.com/owncloud/ocis/pull/1875
* Change - Update ownCloud Web to v3.0.0: [#1938](https://github.com/owncloud/ocis/pull/1938)
Tags: web
We updated ownCloud Web to v3.0.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/1938
https://github.com/owncloud/web/releases/tag/v3.0.0
* Enhancement - Change default path for thumbnails: [#1892](https://github.com/owncloud/ocis/pull/1892)
Changes the default path for thumbnails from `<os tmp dir>/ocis-thumbnails` to
`/var/tmp/ocis/thumbnails`
https://github.com/owncloud/ocis/issues/1891
https://github.com/owncloud/ocis/pull/1892
* Enhancement - Parse config on supervised mode with run subcommand: [#1931](https://github.com/owncloud/ocis/pull/1931)
Currenntly it is not possible to parse a single config file from an extension when running on
supervised mode.
https://github.com/owncloud/ocis/pull/1931
* Enhancement - Update ODS in accounts & settings extension: [#1934](https://github.com/owncloud/ocis/pull/1934)
The accounts and settings extensions were updated to reflect the latest changes in the
ownCloud design system. In addition, a couple of quick wins in terms of accessibility are
included.
https://github.com/owncloud/ocis/pull/1934
* Enhancement - Add config for public share SQL driver: [#1916](https://github.com/owncloud/ocis/pull/1916)
https://github.com/owncloud/ocis/pull/1916
* Enhancement - Remove dead runtime code: [#1923](https://github.com/owncloud/ocis/pull/1923)
When moving from the old runtime to the new one there were lots of files left behind that are
essentially dead code and should be removed. The original code lives here
github.com/refs/pman/ if someone finds it interesting to read.
https://github.com/owncloud/ocis/pull/1923
* Enhancement - Add option to reading registry rules from json file: [#1917](https://github.com/owncloud/ocis/pull/1917)
https://github.com/owncloud/ocis/pull/1917
* Enhancement - Update reva to v1.6.1-0.20210414111318-a4b5148cbfb2: [#1872](https://github.com/owncloud/ocis/pull/1872)
* enforce quota (https://github.com/cs3org/reva/pull/1557)
* Make additional info attribute configureable (https://github.com/cs3org/reva/pull/1588)
* check ENOTDIR for readlink (https://github.com/cs3org/reva/pull/1597)
* Add wrappers for EOS and EOS Home storage drivers (https://github.com/cs3org/reva/pull/1624)
* eos: fixes for enabling file sharing (https://github.com/cs3org/reva/pull/1619)
* implement checksums in the owncloud storage driver (https://github.com/cs3org/reva/pull/1629)
https://github.com/owncloud/ocis/pull/1872
# Changelog for [1.4.0] (2021-03-30)
The following sections list the changes for 1.4.0.
[1.4.0]: https://github.com/owncloud/ocis/compare/v1.3.0...v1.4.0
## Summary
* Bugfix - Fix thumbnail generation for jpegs: [#1785](https://github.com/owncloud/ocis/pull/1785)
* Change - Update ownCloud Web to v2.1.0: [#1870](https://github.com/owncloud/ocis/pull/1870)
* Enhancement - Add focus to input elements on login page: [#1792](https://github.com/owncloud/ocis/pull/1792)
* Enhancement - Improve accessibility to input elements on login page: [#1794](https://github.com/owncloud/ocis/pull/1794)
* Enhancement - Add new build targets: [#1824](https://github.com/owncloud/ocis/pull/1824)
* Enhancement - Clarify expected failures: [#1790](https://github.com/owncloud/ocis/pull/1790)
* Enhancement - Replace special character in login page title with a regular minus: [#1813](https://github.com/owncloud/ocis/pull/1813)
* Enhancement - File Logging: [#1816](https://github.com/owncloud/ocis/pull/1816)
* Enhancement - Runtime Hostname and Port are now configurable: [#1822](https://github.com/owncloud/ocis/pull/1822)
* Enhancement - Generate thumbnails for .gif files: [#1791](https://github.com/owncloud/ocis/pull/1791)
* Enhancement - Tracing Refactor: [#1819](https://github.com/owncloud/ocis/pull/1819)
* Enhancement - Update reva to v1.6.1-0.20210326165326-e8a00d9b2368: [#1683](https://github.com/owncloud/ocis/pull/1683)
## Details
* Bugfix - Fix thumbnail generation for jpegs: [#1785](https://github.com/owncloud/ocis/pull/1785)
Images with the extension `.jpeg` were not properly supported.
https://github.com/owncloud/ocis/issues/1490
https://github.com/owncloud/ocis/pull/1785
* Change - Update ownCloud Web to v2.1.0: [#1870](https://github.com/owncloud/ocis/pull/1870)
Tags: web
We updated ownCloud Web to v2.1.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/1870
https://github.com/owncloud/web/releases/tag/v2.1.0
* Enhancement - Add focus to input elements on login page: [#1792](https://github.com/owncloud/ocis/pull/1792)
https://github.com/owncloud/web/issues/4322
https://github.com/owncloud/ocis/pull/1792
* Enhancement - Improve accessibility to input elements on login page: [#1794](https://github.com/owncloud/ocis/pull/1794)
https://github.com/owncloud/web/issues/4319
https://github.com/owncloud/ocis/pull/1794
https://github.com/owncloud/ocis/pull/1811
* Enhancement - Add new build targets: [#1824](https://github.com/owncloud/ocis/pull/1824)
Make build target `build` used to build a binary twice, the second occurrence having symbols
for debugging. We split this step in two and added `build-all` and `build-debug` targets.
- `build-all` now behaves as the previous `build` target, it will generate 2 binaries, one for
debug. - `build-debug` will build a single binary for debugging.
https://github.com/owncloud/ocis/pull/1824
* Enhancement - Clarify expected failures: [#1790](https://github.com/owncloud/ocis/pull/1790)
Some features, while covered by the ownCloud 10 acceptance tests, will not be implmented for
now: - blacklisted / ignored files, because ocis does not need to blacklist `.htaccess` files -
`OC-LazyOps` support was [removed from the
clients](https://github.com/owncloud/client/pull/8398). We are thinking about [a state
machine for uploads to properly solve that scenario and also list the state of files in progress
in the web ui](https://github.com/owncloud/ocis/issues/214). The expected failures
files now have a dedicated _Won't fix_ section for these items.
https://github.com/owncloud/ocis/issues/214
https://github.com/owncloud/ocis/pull/1790
https://github.com/owncloud/client/pull/8398
* Enhancement - Replace special character in login page title with a regular minus: [#1813](https://github.com/owncloud/ocis/pull/1813)
https://github.com/owncloud/ocis/pull/1813
* Enhancement - File Logging: [#1816](https://github.com/owncloud/ocis/pull/1816)
When running supervised, support for configuring all logs to a single log file:
`OCIS_LOG_FILE=/Users/foo/bar/ocis.log MICRO_REGISTRY=etcd bin/ocis server`
Supports directing log from single extensions to a log file:
`PROXY_LOG_FILE=/Users/foo/bar/proxy.log MICRO_REGISTRY=etcd bin/ocis proxy`
https://github.com/owncloud/ocis/pull/1816
* Enhancement - Runtime Hostname and Port are now configurable: [#1822](https://github.com/owncloud/ocis/pull/1822)
Without any configuration the ocis runtime will start on `localhost:9250` unless specified
otherwise. Usage:
- `OCIS_RUNTIME_PORT=6061 bin/ocis server` - overrides the oCIS runtime and starts on port
6061 - `OCIS_RUNTIME_PORT=6061 bin/ocis list` - lists running extensions for the runtime on
`localhost:6061`
All subcommands are updated and expected to work with the following environment variables:
``` OCIS_RUNTIME_HOST OCIS_RUNTIME_PORT ```
https://github.com/owncloud/ocis/pull/1822
* Enhancement - Generate thumbnails for .gif files: [#1791](https://github.com/owncloud/ocis/pull/1791)
Added support for gifs to the thumbnails service.
https://github.com/owncloud/ocis/pull/1791
* Enhancement - Tracing Refactor: [#1819](https://github.com/owncloud/ocis/pull/1819)
Centralize tracing handling per extension.
https://github.com/owncloud/ocis/pull/1819
* Enhancement - Update reva to v1.6.1-0.20210326165326-e8a00d9b2368: [#1683](https://github.com/owncloud/ocis/pull/1683)
* quota querying and tree accounting [cs3org/reva#1405](https://github.com/cs3org/reva/pull/1405)
* Fix webdav file versions endpoint bugs [cs3org/reva#1526](https://github.com/cs3org/reva/pull/1526)
* Fix etag changing only once a second [cs3org/reva#1576](https://github.com/cs3org/reva/pull/1576)
* Trashbin API parity [cs3org/reva#1552](https://github.com/cs3org/reva/pull/1552)
* Signature authentication for public links [cs3org/reva#1590](https://github.com/cs3org/reva/pull/1590)
https://github.com/owncloud/ocis/pull/1683
https://github.com/cs3org/reva/pull/1405
https://github.com/owncloud/ocis/pull/1861
# Changelog for [1.3.0] (2021-03-09)
The following sections list the changes for 1.3.0.
[1.3.0]: https://github.com/owncloud/ocis/compare/v1.2.0...v1.3.0
## Summary
+2 -9
View File
@@ -1,19 +1,12 @@
FROM webhippie/golang:1.15 as build
FROM owncloudci/golang:1.16 as build
COPY ./ /ocis/
ENV CGO_ENABLED=0
ENV GOOS=linux
RUN apk update && \
apk upgrade --ignore musl-dev && \
apk add make gcc bash && \
rm -rf /var/cache/apk/*
WORKDIR /ocis/ocis
RUN make clean generate build
FROM alpine:3
FROM alpine:3.13
RUN apk update && \
apk upgrade && \
+48 -4
View File
@@ -12,6 +12,8 @@ WHITE := $(shell tput -Txterm setaf 7)
RESET := $(shell tput -Txterm sgr0)
L10N_MODULES := $(shell find . -path '*.tx*' -name 'config' | sed 's|/[^/]*$$||' | sed 's|/[^/]*$$||' | sed 's|/[^/]*$$||')
# if you add a module here please also add it to the .drone.star file
OCIS_MODULES = \
accounts \
@@ -31,14 +33,16 @@ OCIS_MODULES = \
web \
webdav
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include .bingo/Variables.mk
endif
.PHONY: help
help:
@echo "Please use 'make <target>' where <target> is one of the following:"
@echo
@echo -e "${GREEN}Testing with test suite natively installed:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/testing/#testing-with-test-suite-natively-installed${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/testing/#testing-with-test-suite-natively-installed${RESET}\n"
@echo -e "\tmake test-acceptance-api\t${BLUE}run API acceptance tests${RESET}"
@echo -e "\tmake clean-tests\t\t${BLUE}delete API tests framework dependencies${RESET}"
@echo
@@ -47,17 +51,17 @@ help:
@echo -e "${RED}You also should have a look at other available Makefiles:${RESET}"
@echo
@echo -e "${GREEN}oCIS:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/building/${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/build/${RESET}\n"
@echo -e "\tsee ./ocis/Makefile"
@echo -e "\tor run ${YELLOW}make -C ocis help${RESET}"
@echo
@echo -e "${GREEN}Documentation:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/building-docs/${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/build-docs/${RESET}\n"
@echo -e "\tsee ./docs/Makefile"
@echo -e "\tor run ${YELLOW}make -C docs help${RESET}"
@echo
@echo -e "${GREEN}Testing with test suite in docker:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/testing/#testing-with-test-suite-in-docker${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/testing/#testing-with-test-suite-in-docker${RESET}\n"
@echo -e "\tsee ./tests/acceptance/docker/Makefile"
@echo -e "\tor run ${YELLOW}make -C tests/acceptance/docker help${RESET}"
@echo
@@ -139,6 +143,12 @@ go-coverage:
echo -n "% coverage $$mod: "; $(MAKE) --no-print-directory -C $$mod go-coverage; \
done
.PHONY: protobuf
protobuf:
@for mod in $(OCIS_MODULES); do \
echo -n "% protobuf $$mod: "; $(MAKE) --no-print-directory -C $$mod protobuf; \
done
.PHONY: bingo-update
bingo-update: $(BINGO)
$(BINGO) get -u
@@ -151,3 +161,37 @@ ifndef CHANGELOG_VERSION
$(error CHANGELOG_VERSION is undefined)
endif
$(CALENS) --version $(CHANGELOG_VERSION) -o ocis/dist/CHANGELOG.md
.PHONY: l10n-push
l10n-push:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-push; \
done
.PHONY: l10n-pull
l10n-pull:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-pull; \
done
.PHONY: l10n-clean
l10n-clean:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-clean; \
done
.PHONY: l10n-read
l10n-read:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-read; \
done
.PHONY: l10n-write
l10n-write:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-write; \
done
.PHONY: ci-format
ci-format: $(BUILDIFIER)
$(BUILDIFIER) --mode=fix .drone.star
+2 -2
View File
@@ -12,11 +12,11 @@
## Run ownCloud Infinite Scale
Please see [Getting Started](https://owncloud.github.io/ocis/getting-started/)
Please see [Getting Started](https://owncloud.dev/ocis/getting-started/)
## Development
Please see [Development - Getting Started](https://owncloud.github.io/ocis/development/getting-started/)
Please see [Development - Getting Started](https://owncloud.dev/ocis/development/getting-started/)
## Security
+7 -2
View File
@@ -7,7 +7,9 @@ test-acceptance-webui:
############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif
############ go tooling ############
include ../.make/go.mk
@@ -18,6 +20,9 @@ include ../.make/release.mk
############ docs generate ############
include ../.make/docs.mk
############ l10n ############
include ../.make/l10n.mk
.PHONY: docs-generate
docs-generate: config-docs-generate \
grpc-docs-generate
@@ -43,11 +48,11 @@ node_modules:
yarn install --frozen-lockfile
############ protobuf ############
include ../.make/protobuf.mk
PROTO_VERSION := v0
PROTO_SRC := pkg/proto/$(PROTO_VERSION)
include ../.make/protobuf.mk
.PHONY: protobuf
protobuf: $(PROTO_SRC)/${NAME}.pb.go \
$(PROTO_SRC)/${NAME}.pb.micro.go \
+2 -1
View File
@@ -4,10 +4,11 @@ import (
"os"
"github.com/owncloud/ocis/accounts/pkg/command"
"github.com/owncloud/ocis/accounts/pkg/config"
)
func main() {
if err := command.Execute(); err != nil {
if err := command.Execute(config.New()); err != nil {
os.Exit(1)
}
}
+19 -21
View File
@@ -1,46 +1,44 @@
module github.com/owncloud/ocis/accounts
go 1.15
go 1.16
require (
contrib.go.opencensus.io/exporter/jaeger v0.2.1
contrib.go.opencensus.io/exporter/ocagent v0.6.0
contrib.go.opencensus.io/exporter/zipkin v0.1.1
github.com/asim/go-micro/plugins/client/grpc/v3 v3.0.0-20210217182006-0f0ace1a44a9
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-20210209082852-35ace33082f5
github.com/cs3org/reva v1.6.1-0.20210223065028-53f39499762e
github.com/cs3org/go-cs3apis v0.0.0-20210507060801-f176760d55f4
github.com/cs3org/reva v1.7.1-0.20210507160327-e2c3841d0dbc
github.com/go-chi/chi v4.1.2+incompatible
github.com/go-chi/render v1.0.1
github.com/gofrs/uuid v3.3.0+incompatible
github.com/golang/protobuf v1.4.3
github.com/golang/protobuf v1.5.2
github.com/grpc-ecosystem/grpc-gateway/v2 v2.2.0
github.com/mattn/go-runewidth v0.0.10 // indirect
github.com/mennanov/fieldmask-utils v0.3.3
github.com/micro/cli/v2 v2.1.2
github.com/oklog/run v1.1.0
github.com/olekukonko/tablewriter v0.0.4
github.com/openzipkin/zipkin-go v0.2.2
github.com/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-20210216094451-dc73176dc62d
github.com/prometheus/client_golang v1.7.1
github.com/rivo/uniseg v0.2.0 // indirect
github.com/rs/zerolog v1.20.0
github.com/spf13/viper v1.7.0
github.com/owncloud/ocis/settings v0.0.0-20210413063522-955bd60edf33
github.com/prometheus/client_golang v1.10.0
github.com/rs/zerolog v1.21.0
github.com/spf13/viper v1.7.1
github.com/stretchr/testify v1.7.0
go.opencensus.io v0.22.6
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-20210119194325-5f4716e94777
golang.org/x/text v0.3.5 // indirect
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
google.golang.org/genproto v0.0.0-20210207032614-bba0dbe2a9ea
google.golang.org/grpc v1.35.0
google.golang.org/protobuf v1.25.0
gopkg.in/yaml.v2 v2.4.0 // indirect
google.golang.org/grpc v1.37.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
+330 -87
View File
File diff suppressed because it is too large. Load diff
+10
View File
@@ -0,0 +1,10 @@
[main]
host = https://www.transifex.com
[owncloud.ocis-accounts]
file_filter = locale/<lang>/LC_MESSAGES/app.po
minimum_perc = 0
source_file = template.pot
source_lang = en
type = PO
+1
View File
@@ -0,0 +1 @@
{"ar":{"Account is activated":"تم تفعيل الحساب","Account is blocked":"تم حظر الحساب","Accounts":"حسابات","Activate":"فعل","Activated":"مُفعّلة","Admin":"المسؤول","Block":"حظر","Cancel":"إلغاء","Clear selection":"اختيار واضحة","Confirm":"تأكيد","Create":"إنشاء","Create new account":"إنشاء حساب جديد","Creating":"إنشاء","Delete":"حذف","Display name":"اسم العرض","Email":"البريد الإلكتروني","Email cannot be empty":"لا يمكن للبريد الإلكتروني أن يكون فارغا","Failed to change role.":"فشل في تغيير الدور","Guest":"ضيف","Invalid email address":"عنوان بريد إلكتروني غير صالح","Invalid username":"اسم مستخدم غير صالح","Loading":"تحميل","msg":"ام اس جي","Password":"كلمة المرور","Password cannot be empty":"لا يمكن أن تكون كلمة المرور فارغة","Role":"الدور","Select all users":"تحديد كل المستخدمين","Select role":"تحديد الدور","User":"المستخدم","Username":"اسم المستخدم","Username cannot be empty":"لا يمكن أن يكون إسم المستخدم فارغا","You don't have permissions to manage accounts.":"ليس لديك صلاحيات لإدارة الحسابات"},"de":{"%{ amount } selected user":["%{ amount } ausgewählter Benutzer","%{ amount } ausgewählte Benutzer"],"Account is activated":"Konto ist aktiviert","Account is blocked":"Konto ist geblockt","Accounts":"Konten","Activate":"Aktivieren","Activated":"Aktiviert","Admin":"Administration","Block":"Blockieren","Cancel":"Abbrechen","Clear selection":"Auswahl aufheben","Confirm":"Bestätigen","Create":"Erstellen","Create new account":"Neues Konto erstellen","Creating":"Erstelle","Delete":"Löschen","Delete the selected account?":["Ausgewählten Account löschen?","Ausgewählte Accounts löschen?"],"Display name":"Anzeigename","Email":"E-Mail","Email cannot be empty":"E-Mail darf nicht leer sein","Failed to change role.":"Ändern der Rolle fehlgeschlagen.","Guest":"Gast","Invalid email address":"Ungültige E-Mail-Adresse","Invalid username":"Ungültiger Benutzername","Loading":"Lade","msg":"msg","Password":"Passwort","Password cannot be empty":"Das Passwort darf nicht leer sein","Role":"Rolle","Select %{ account }":" %{ account } auswählen","Select all users":"Alle Benutzer auswählen","Select role":"Rolle auswählen","User":"Benutzer","Username":"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein","You don't have permissions to manage accounts.":"Keine Berechtigungen um Konten zu verwalten"},"fr":{"%{ amount } selected user":["%{ amount } utilisateur sélectionné","%{ amount } utilisateurs sélectionnés"],"Account is activated":"Le compte est activé","Account is blocked":"Le compte est verrouillé","Accounts":"Comptes","Activate":"Activer","Activated":"Activé","Admin":"Administration","Block":"Bloquer","Cancel":"Annuler","Clear selection":"Vider la sélection","Confirm":"Confirmer","Create":"Créer","Create new account":"Créer un compte","Delete":"Supprimer","Delete the selected account?":["Supprimer le compte sélectionné ?","Supprimer les comptes sélectionnés ?"],"Display name":"Nom affiché","Email":"Adresse courriel","Email cannot be empty":"L'email ne peut pas être vide.","Guest":"Invité","Invalid email address":"Adresse mail invalide","Invalid username":"Noms d'utilisateur non valide","Loading":"Chargement","Password":"Mot de passe","Password cannot be empty":"Le mot de passe ne peut être vide","Role":"Rôle ","Select %{ account }":"%{ account } sélectionné","Select all users":"Sélectionner tous les utilisateurs","Select role":"Sélectionnez un rôle","User":"Utilisateur","Username":"Nom d'utilisateur","Username cannot be empty":"Le nom d'utilisateur ne peut pas être vide"},"id":{"%{ amount } selected user":"%{ amount } pengguna yang dipilih","Account is activated":"Akun diaktifkan","Account is blocked":"Akun di blokir","Accounts":"Akun","Activate":"Aktifkan","Activated":"Diaktifkan","Admin":"Admin","Block":"Blokir","Cancel":"Batal","Clear selection":"Bersihkan seleksi","Confirm":"Memastikan","Create":"Buat","Create new account":"Buat akun baru","Creating":"Membuat","Delete":"Hapus","Delete the selected account?":"Hapus akun yang dipilih?","Display name":"Nama tampilan","Email":"Email","Email cannot be empty":"Email tidak boleh kosong","Failed to change role.":"Gagal untuk mengubah peran.","Invalid email address":"Alamat surel tidak benar","Invalid username":"Nama pengguna tidak valid","Loading":"Memuat","msg":"psn","Password":"Kata Sandi","Password cannot be empty":"Kata sandi tidak boleh kosong","Role":"Peran","Select %{ account }":"Pilih %{ account }","Select all users":"Pilih semua pengguna","Select role":"Pilih peran","User":"Pengguna","Username":"Nama pengguna","Username cannot be empty":"Nama pengguna tidaLine truncated
+15 -15
View File
@@ -8,7 +8,7 @@
"author": "ownCloud GmbH <devops@owncloud.com>",
"repository": "https://github.com/owncloud/ocis-accounts.git",
"bugs": {
"url": "https://github.com/owncloud/ocis/accounts/issues",
"url": "https://github.com/owncloud/ocis/issues",
"email": "support@owncloud.com"
},
"scripts": {
@@ -20,34 +20,34 @@
"acceptance-tests": "cucumber-js --retry 1 --require-module @babel/register --require-module @babel/polyfill --require ${TEST_INFRA_DIRECTORY}/acceptance/setup.js --require ui/tests/acceptance/stepDefinitions --require ${TEST_INFRA_DIRECTORY}/acceptance/stepDefinitions --format node_modules/cucumber-pretty -t \"${TEST_TAGS:-not @skip and not @skipOnOC10}\""
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/core": "^7.14.0",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-export-default-from": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.8.0",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/polyfill": "^7.10.1",
"@babel/preset-env": "^7.7.7",
"@babel/register": "7.12.13",
"@babel/preset-env": "^7.13.12",
"@babel/register": "7.13.8",
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.0.1",
"@rollup/plugin-replace": "^2.3.0",
"archiver": "^5.2.0",
"archiver": "^5.3.0",
"axios": "^0.21.1",
"core-js": "3",
"cross-env": "^7.0.3",
"cucumber": "^6.0.5",
"cucumber-pretty": ">=6.0.0",
"debounce": "^1.2.0",
"debounce": "^1.2.1",
"easygettext": "^2.7.0",
"eslint": "6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint": "7.24.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^7.6.0",
"eslint-plugin-vue": "^7.8.0",
"fs-extra": "^9.0.1",
"join-path": "^1.1.1",
"ldapjs": "^2.2.3",
@@ -55,15 +55,15 @@
"nightwatch-api": "^3.0.1",
"nightwatch-vrt": "^0.2.10",
"node-fetch": "^2.6.1",
"qs": "^6.9.1",
"qs": "^6.10.1",
"rimraf": "^3.0.0",
"rollup": "^2.39.0",
"rollup": "^2.42.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-filesize": "^9.1.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-vue": "^5.1.4",
"swagger-vue-generator": "^1.0.6",
"url-search-params-polyfill": "^8.1.0",
@@ -76,7 +76,7 @@
"not dead"
],
"peerDependencies": {
"owncloud-design-system": "^1.7.0"
"owncloud-design-system": "^6.0.1"
},
"dependencies": {
"validator": "^13.1.1"
+32 -3
View File
@@ -1,5 +1,5 @@
// Code generated by fileb0x at "2021-03-04 20:39:03.472300386 +0100 CET m=+0.014524045" from config file "embed.yml" DO NOT EDIT.
// modification hash(2da0b5efdd6831d3c6c6fe0c3348f8e9.8058aec596c5fb73022d09bb97af796e)
// Code generated by fileb0x at "2021-05-10 09:09:08.432578 +0100 WEST m=+0.055032667" from config file "embed.yml" DO NOT EDIT.
// modification hash(8ff85c5a20f443aa72338e8c88f810cf.8058aec596c5fb73022d09bb97af796e)
package assets
@@ -36,7 +36,10 @@ type HTTPFS struct {
}
// FileAccountsJs is "accounts.js"
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xfd\xe9\x92\x1b\xb7\xf6\x20\x88\x7f\xfe\xf7\x53\x90\x79\xed\xfc\x01\xe6\x29\x16\x59\x5a\x6c\x27\x05\xf1\x6a\x97\x6c\x6d\xd6\x62\x5b\xa6\x78\x2b\xb2\x92\x20\x2b\x25\x12\xa0\x91\x60\x2d\x26\xb3\x23\xfe\xfd\x36\xf3\x71\x3e\xcc\x0b\xcc\x13\x74\xbf\xd1\x04\x0e\x80\xdc\x98\x94\x7c\xbb\x7f\x3d\x11\x13\x52\x14\x33\x91\x58\x0f\x80\xb3\xe3\x60\xc6\xe7\xa9\xe0\x84\xcc\x37\x22\xd1\xa9\x14\x84\x6e\x83\x4d\xc6\x3b\x99\x56\x69\xa2\x83\xd1\x45\xac\x3a\x9a\x05\x1b\x61\x33\xce\x82\x2e\xd3\xd7\x6b\x2e\xe7\x9d\xc5\x52\x9e\xc5\xcb\x77\xe7\x69\x36\x2e\x1f\xa3\xb6\x9c\x97\xa9\x98\xc9\xcb\xb1\xfd\x69\xcd\x61\x2b\x70\xf5\xb4\xe6\xc8\xf8\x72\x3e\x36\x7f\xa2\x6d\x3e\xf2\x9d\xed\x70\xa2\x81\xd3\xad\xe2\x7a\xa3\x44\x47\x13\xce\xb6\xfc\x6a\x2d\x95\xce\xa2\x6d\x9e\x03\xef\xbb\x37\x5a\x3e\xe6\xd5\xc1\x6a\xba\x35\x03\xe4\x6c\x3f\xe5\xd5\xd9\x27\x9e\xe8\xfe\x5a\x49\x2d\x4d\x1f\x40\x30\xde\x3f\x8f\xb3\x57\x97\xe2\xb5\x92\x6b\xae\xf4\x35\x28\x16\xf8\x82\x01\xf3\x3d\x7d\x7b\xbd\x3a\x93\xcb\xb1\xfd\x89\xb6\x39\x48\xa6\xfa\xa9\xe6\x2a\xd6\x52\xed\x76\xc1\x3f\xff\xe9\x5f\x02\x48\x99\xea\xc7\xd9\xb5\x48\x9e\x55\xbf\xd7\x52\x02\x88\x99\xea\x6b\xf9\x56\xab\x54\x2c\xde\xc5\x0b\xcc\x52\x79\x0f\x4a\x70\x64\x06\x1c\x20\x0a\x80\xb8\x31\x58\x60\xfa\x5e\x63\x9e\xed\x45\xbc\xdc\xf0\x48\x00\x17\x9b\x15\x57\xf1\xd9\x92\x47\xdd\x01\x24\x52\xcc\xd3\xc5\xa6\x78\xbf\x54\xa9\x76\xcf\x39\x05\x3d\xe1\xd3\x5c\xab\xeb\x6d\x46\xb6\x39\x04\x01\xcd\x93\x58\x27\xe7\x06\x66\x59\x05\x82\xb5\x2e\x98\x32\x4c\xe4\x79\xd1\xc7\xc4\x66\x00\x65\x01\x2d\x19\x0f\x43\x5e\x82\xb9\x93\x8a\x4c\xc7\x22\x31\x90\x9c\x8f\x79\x34\x87\xd4\x4f\x45\xa2\x78\xac\x39\x91\x65\x66\x0a\x31\x13\xfc\xb2\x73\x45\xd4\x6e\x37\x99\xd2\x91\x6b\x34\xed\x9f\xa6\xe2\x42\x7e\xe6\x7b\xbd\x32\x4d\x2a\x16\x64\x9b\x6c\xcd\xc5\x8c\xcf\xde\xea\x58\xe9\xc0\x97\x2b\x72\x4b\x48\xe9\x36\x9d\x93\x80\x5f\xf1\x64\xa3\x53\xb1\x08\x18\x63\x8a\xea\x73\x25\x2f\x3b\xa6\xc9\x47\x4a\x49\x45\x82\x27\x5c\xd8\x69\xea\xa4\x59\x27\x5e\x2a\x1e\xcf\xae\x3b\x6a\x23\x84\x29\x42\x47\xa6\x8a\x44\xae\xd6\x4b\xae\xf9\xcc\x56\x81\xd5\x62\x3d\xe6\x5d\xba\x2a\x53\xdf\x85\x53\x42\xf3\xb9\x54\x44\xf4\x57\x5c\x9f\xcb\x19\x93\x20\xfa\xb1\x5a\xb0\x74\x34\xb2\xdd\x8f\x99\xe8\xcf\xf8\x92\x2f\x62\xcd\x4d\x03\xb1\x4d\xce\xd8\x25\x89\x41\x60\x9b\x19\xb6\x92\x31\xc6\x96\x34\x91\x42\xa7\x62\xc3\x7d\x03\x59\x9e\x9b\x1e\x08\x7e\xa5\x4d\x07\x7c\x3b\x54\xf4\x33\x2e\x34\x13\xfd\x53\xf7\x1b\xab\xc5\x88\x2f\x33\xde\xa9\x75\xb8\xc8\x8f\xe3\x68\xc0\xb1\x02\x23\xc5\x2a\x03\xb7\x43\x18\x89\xfe\x2c\xcd\xd6\x66\xc9\x3c\xba\x4a\xf8\x1a\x21\x8d\x5f\x68\x6e\x1a\x0a\x6c\x0f\xab\xad\x84\xa1\xe8\xc7\x67\x6a\xb3\xd6\xc4\x7f\xb5\x75\xd1\x91\x62\x95\xc9\x41\x34\x95\xb0\x8d\x9b\x66\x84\xbb\x90\x6a\x15\x2f\x4d\x6d\x49\x1f\x17\x8b\xe9\xb1\x32\xc0\x93\x82\x8f\x2b\xbd\x8b\xca\x61\x7c\x48\xf9\x72\x16\x40\x82\x10\x6f\x81\x9e\xdb\x36\xf8\x1d\x4c\x3d\x91\xad\x2e\xcf\x4b\x08\xd9\xd6\xc2\x90\x34\x41\xe0\x26\xd4\xe5\x74\xd3\x9a\xd8\xf1\xe7\x39\xd1\x20\x20\xa6\x90\x96\x5b\xc5\x0f\x67\x6b\xf6\x9c\xeb\x80\xa9\x3b\xf2\x63\x83\x58\x2d\x22\xdd\x4f\xe2\xe5\x92\x98\x8c\x79\xb9\x21\x6b\xd9\x5d\x8b\x98\x3b\xcf\x73\xdd\xbf\x54\xf1\x9a\x25\x08\xb5\x25\xab\x22\xd4\x39\xa1\xdb\xb2\x03\xb3\xda\xdb\xda\xbc\x99\x22\xe7\xa6\xc8\xf9\x44\x4e\x59\x85\x6a\xf8\xfd\x7e\x9e\x66\x39\x56\xbc\xf2\xfb\x76\xc1\xf5\x6b\xbf\x63\x5f\xcd\x61\xc1\x56\x61\xb8\x22\x2b\xf2\x8a\x4c\xa6\x94\xd2\xd1\x22\x0c\x17\x5d\x66\xf0\x80\xb0\x43\x59\x80\xa4\x61\x48\xce\xd9\x82\x62\x4d\xd7\x6c\x5d\xee\x79\x36\xaf\x3c\xd7\x31\xc3\x39\x2d\x07\x72\x61\x80\x30\xb1\xcb\x1c\x3c\x00\xfc\x1a\x9a\xf6\xe7\x52\x3d\x8a\x93\xf3\x0a\x29\xe0\x74\x6b\xd1\x67\x8d\x3a\x54\x46\xe5\x71\x0a\xe1\xa0\x69\x4e\xf1\x7f\xd1\xdc\x99\x25\x44\x88\x5e\x46\xd5\xdc\xac\x8e\x53\x8a\x02\x71\x09\x32\x83\x4e\xaa\x44\x49\x41\x4c\xb7\xdd\x22\xa7\x32\x25\x21\x86\xcc\x56\x8f\xab\x7c\x22\xa7\xa0\x21\xb5\x0b\xdd\x0e\xae\x5b\xae\x73\x3b\xad\x76\x91\xce\xd9\xb2\x8f\x8b\xb6\xc0\x71\x61\x18\x48\x04\x5b\x49\xb2\xe6\x05\xe8\xe7\x10\x9c\x9e\xc6\x97\x71\xaa\x03\x3a\xe6\x7d\xc5\x33\xb9\xbc\xe0\x64\xde\x77\xa9\xb4\xaf\xcf\xb9\xa8\x53\x50\xe5\xb0\x09\x68\xec\x65\x4e\xa1\xf9\xd9\x81\xdf\x7f\xa7\x51\xa5\xe6\xb6\x1a\x5d\x97\x99\x86\x98\x2c\xf7\x2b\xb4\x03\x69\xa9\x37\xcf\x88\xdb\x4f\x08\x33\x03\x48\x93\xea\x0b\x30\x35\x56\xb6\xb5\x18\x62\x1a\xc5\x84\x56\xe8\xd2\x65\x39\x83\x82\xe9\x82\x60\x4f\xb8\xdb\xb7\x53\x03\xeb\x0b\x99\xce\x3a\x03\x83\xa0\x10\x9b\xf0\x02\x11\x33\xb1\x59\x2e\xa1\x44\x02\xbc\x8a\x26\xcb\xda\xfa\xb6\x2b\x61\x48\x78\x81\x0e\x3c\x5e\xe3\x88\x0f\x6c\x0b\x60\x7b\xd3\x56\x21\x75\xa3\x59\x8e\x78\x13\xa3\xd8\x1a\xcc\x72\x7a\x77\xbd\xe6\x8e\x42\xbd\x3b\xe7\x1d\xdf\x7c\x67\x26\x79\xd6\x11\x52\x77\xd6\x4a\x5e\xa4\x33\xde\x89\x3b\xff\x81\x85\xff\xa3\x63\xeb\x0a\x0a\x68\x2d\x73\x4b\x2b\x37\x44\x40\x39\x00\xdb\x46\x75\xdd\x19\x9c\x6f\xd7\x9d\x2b\x78\xa0\x5b\x0a\x97\x63\x13\x62\xcb\x91\x65\x02\xf0\xab\x5f\xa2\x72\x2c\x2d\x92\x26\x7c\xa2\xcd\x4a\xd9\x2c\xf5\xcb\x78\xc5\xa7\x4c\xda\x85\x01\xbc\x6f\x56\x1c\xd3\xf8\xf3\x5c\xLine truncated
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\xce\x89\x88\x95\x38\x51\x32\xe3\xcb\x77\x74\x69\x40\x82\x30\xa8\x66\x60\x0a\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\xd4\xcc\x26\x80\x8a\x94\xaa\xf4\x42\xf7\x5a\x1a\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\xf7\x01\xca\xfd\x7e\x3a\x2b\x27\x32\x8d\xcf\x32\x7e\x29\x3e\xb2\x56\xad\xec\xf4\x5d\x78\xc0\x32\x59\x60\x6a\xd6\x95\x24\x84\xcc\x91\xba\x90\xe2\xaa\xa7\x31\x1f\x4b\x29\x24\x04\x3f\x32\x6e\x47\xa3\x97\xe5\x3d\xba\x92\x8c\xce\x6f\x7a\x72\xcb\x79\xc6\x97\x00\x8d\x5d\xc6\x0b\x83\x02\x98\xdc\x80\x10\x22\x1c\x22\xea\x8b\xbb\x86\xa8\x58\x08\x09\x79\xbc\x66\xea\x42\xcc\x89\xc0\x3c\xa6\x72\x49\xe8\x78\x6c\xeb\x96\x11\x1e\xcf\xd9\x8a\x2d\xa9\x62\x1a\x6d\x66\xa3\x73\xf2\x11\x66\x7a\x4d\x65\x0b\x98\x9b\x52\x72\x42\xc8\x1a\xa5\x82\xab\x8c\x6f\x99\x2f\x20\x2f\x0a\x5d\x03\xce\xae\x95\xae\x80\x2f\x07\xf1\x38\x67\x5c\x11\x1e\x9f\xb9\x5f\x2a\x97\x63\xb6\xca\x59\xaf\x56\xe1\x12\xde\x77\xc5\xc2\xb5\x40\x92\x0b\x5b\xd3\x31\x8f\xe7\x59\xbe\xd1\xc3\x7e\x7c\x9d\xb2\x8d\x25\x0b\x3a\x05\x15\x1a\x1f\xb0\x15\x09\x91\x45\x11\x8f\xe9\xb9\xdc\x6e\x14\xf4\xa9\x16\x17\x1a\x4b\x32\x37\x34\x2b\x25\x2b\x37\x40\x63\x53\x7d\x21\xd7\x74\xa5\x71\xa4\xb1\x19\x66\x5b\x1d\x1e\xcf\x05\x67\x93\x8b\x64\x83\x53\xd3\x6b\x1d\x3d\xe0\xe6\xb5\x49\xc7\x1a\x3c\xb1\xb9\x8a\xa2\x6a\xa5\x45\x1a\x45\xd0\xb6\xca\x0d\x85\x4b\x77\x03\x92\xda\x26\x15\x85\x26\x65\x38\x43\x98\x56\x33\xd8\xd7\x75\xa7\x97\x82\x2b\x56\x63\x4c\x7c\xc5\x31\x95\xcb\x84\x59\x92\xae\x01\x8b\x6a\x9d\xd4\xc0\x5d\x89\x06\xba\x28\x0a\x16\x5f\x49\xba\x21\x5b\xd3\x25\x0b\x02\xf2\x6d\xbe\x61\x7c\xce\xe6\x27\x8a\x4a\x05\xf0\x26\x88\xfa\x33\x63\xab\x39\xc0\x73\x02\xd8\x35\x4b\xb7\x4a\xcf\x43\x7c\x41\x40\x2a\xd6\x9b\x15\x53\x6c\x0e\xf0\x9a\x84\x9b\xd3\x0d\x44\xbb\xaa\x09\xcb\x5a\xe8\x52\x87\x74\xa1\xe7\x3a\xcb\xf9\x94\xce\x48\x9b\x0c\xab\x8b\x2c\x2f\x4c\xd5\xae\x02\xf2\xff\xc6\x2f\xc5\xd7\x0b\xfc\x98\x5c\x45\xd1\x15\xbc\x82\x4f\xe0\x74\x86\x10\x1a\x3f\x8e\xa2\xc7\x7d\x42\x78\x14\x49\xdb\x19\x8f\x31\x45\x51\x04\xcf\xc9\x63\x64\x30\x9d\x90\xcb\x6a\x31\x93\x9b\xe0\xbb\xbe\xe4\xcf\x51\xd5\x90\x63\xdd\x8d\x53\x3b\xc5\xb1\xef\x42\x3f\xb1\x66\x1d\x9b\x96\x42\x3b\x4b\x17\x6b\x84\x3f\x68\x95\x27\x16\x50\x61\xa6\xb7\x19\xfd\x57\x16\xf7\x5a\x67\x45\xbb\x60\x03\x16\x98\xe2\x0c\xe7\x76\x61\x9a\x99\x3b\x15\x33\xcc\x30\xb5\x93\xd7\xd6\xa8\x5f\xcd\x5d\x0d\xb6\xb5\x13\x0a\x2f\xc8\x36\x36\x33\xb4\x24\x40\x51\x04\x84\x69\x6b\xb5\x81\x2c\xca\xfe\x5a\xe8\x2d\x9b\x5e\xd1\x4c\xf3\x03\x2a\x96\x2c\x17\xab\x4b\x06\x17\xb1\x8b\x45\xb1\xba\x60\xbc\xbe\xa3\x71\xb7\xfc\x31\x33\xb5\x2c\x10\x6e\x26\xbb\x3e\xf3\xe9\x28\x09\x30\x77\x61\x74\x55\x26\x0c\x67\x70\xdb\x42\xe8\x1a\xd2\x81\xb7\xc8\xa1\x5b\x46\x86\xd0\x8f\xc3\xbe\x0e\x09\xb3\x0c\xba\x97\x56\x13\x4e\x93\x5f\x15\x8e\x23\x16\xba\xfa\x0c\x4b\xac\x3f\x75\x01\x0e\x52\x10\x31\x11\xb6\xe2\x14\x53\x94\x50\x88\x82\x0d\xe7\xa3\xe1\x46\x1c\xe5\x67\xe5\x4e\x3c\xf5\x2b\x7f\xe6\xc9\xb7\x32\x74\xa6\xa2\xbf\x84\x6f\x57\x2b\x7c\x80\x3a\x56\x88\x62\x5b\x8b\x28\xaa\xc8\x7a\x9d\xce\x11\x85\x6d\x1d\xba\x70\x79\xe6\x6d\xLine truncated
// FileAccountsJsMap is "accounts.js.map"
var FileAccountsJsMap = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x0d\x97\x1b\xb7\x91\x28\x0c\xff\x15\x78\xe2\x35\x49\x8b\x1f\x92\x9d\xcd\xcd\x72\x32\x51\x64\x59\x76\xb4\xaf\x25\xf9\x4a\xb2\x77\xef\x99\x99\x95\xc0\x6e\x90\x84\xa6\xd9\x60\x1a\xdd\x43\x31\xd2\xbc\xe7\xfe\x88\xfb\x0b\xef\x2f\x79\x0e\xaa\x0a\x9f\xdd\xcd\xe1\xd8\x72\x76\xf7\x39\x8f\x73\x4e\xc4\x41\x03\x85\x02\x50\x28\xd4\x17\x0a\x1f\x4e\xae\x45\xa5\xa5\x2a\x4f\xe6\x5f\x8f\x4f\x96\xb2\x10\x27\xf3\x13\x9e\x65\xaa\x29\x6b\x3d\x7d\xa7\x4f\xc6\x27\x5a\x35\x55\x26\xf4\xc9\xfc\xfc\x64\x3a\x9d\x95\x2a\x17\x6f\x36\x2a\x6f\x0a\xa1\x67\x95\x58\x89\x52\x54\xbc\x56\xd5\xa4\x6a\xca\x5a\x6e\xc4\x8c\xfe\xc5\xb6\x69\x83\xbf\x2c\xf8\x42\x14\xb6\xce\x6c\x2d\x8a\xad\xa8\xf4\x2c\x17\x4b\x59\x8a\x1f\x2b\xb5\x15\x55\xbd\xef\x6e\x5a\xa9\xa2\x68\xb6\x93\x6d\xd1\xac\x64\x39\x31\x9f\x26\xab\x42\x2d\x78\xa1\x67\xba\xca\x66\xf8\xbb\xbb\xe9\x75\x23\xde\xcf\x72\xa9\x6b\xf8\x35\x15\x7a\xe3\xea\x35\xd2\x21\xd1\xd4\xb2\xd0\xdd\x00\xf8\x7b\xa9\xf4\xac\x90\x0b\x57\x79\x21\xcb\xfc\xb6\xba\x77\x03\xd8\xc8\x22\xff\xe9\xe5\x0f\xb7\xd5\xcf\x54\x25\x66\x4f\xcb\x5a\x54\x99\xd8\xd6\xaa\x7a\xc6\x4b\xbe\x12\xd5\x51\xcd\xea\x8a\x97\x7a\xa9\xaa\xcd\xb7\xbc\xe6\xb7\xb6\xe0\x65\x26\x8a\x99\xd4\x8f\xe1\x47\x77\xf5\x6d\xa5\x32\xa1\xf5\x44\xe8\x3f\xcc\x16\x95\xda\xe9\xdb\x31\xb1\x03\x2e\x55\xb5\xe1\x85\xfc\xbb\xf8\xab\xe0\xb9\xa8\x9e\xf3\x3e\x9a\x49\x06\x21\xca\xb5\x41\xe8\x49\x55\xa9\xe3\x46\x9d\x55\x82\xd7\x77\xa8\xaf\x45\x5d\x17\xb7\xe2\x62\x87\x91\x29\x75\x25\xc5\xd1\xcb\x2c\xf5\xa3\x85\x56\x45\x53\x8b\x23\xd6\xda\xf7\xb1\x59\xc8\xd2\xb4\xb8\xb5\x1f\x18\x01\xd0\xd2\x77\x4d\x51\xfc\xc8\xeb\xf5\xb1\x9d\x6c\x79\xa5\x69\x2d\xee\x30\x9a\x9f\x5e\xfe\xf0\x8a\x6f\xc4\x8b\x4a\xae\x64\x79\x5b\x33\x9e\xf3\x6d\x6d\xda\xbd\x5f\xdf\xba\x14\xb9\x58\xf2\xa6\xa8\x8f\x1b\x70\x2e\xf5\x96\xd7\xd9\xfa\xa5\xf8\x5b\x23\x74\x7d\x54\x9b\x8d\xa8\x56\xe2\xb1\x2a\x97\x72\x75\x54\xfd\x47\xe6\xcf\x23\x37\xcd\xa1\x2d\xd3\x53\xf9\xb5\xba\x12\xb7\x4e\xa0\x9d\x77\xbd\xad\x04\xbf\x95\xff\x04\x34\x67\xca\x8e\xda\x01\xfc\xb6\x51\xca\x32\x17\xef\xbb\xd8\x27\x6f\xfa\x68\x6d\xcd\xf5\x44\xef\x37\x0b\x65\x58\xf5\x9a\x6f\x7a\xe0\x87\xd5\xe2\x5e\xa2\x6a\xcb\xa6\xcc\x6a\xa9\xca\x89\x61\xc1\x33\xb9\xd9\x16\x62\x23\xca\x9a\x9b\xb2\xa3\x5a\xf4\x83\x5e\x73\x3c\x4b\x0e\x54\x59\x89\x7a\x22\xcb\xba\x92\xa5\x96\x07\x2b\x66\xbc\x28\x6e\xed\xd0\x57\x32\xbf\xbe\x51\x4d\xdf\xa1\xa2\x16\xef\x44\x66\x7a\xd6\x5b\x91\xd5\x87\x40\x6a\x99\x8b\x49\xb6\xe6\x65\x69\x98\x77\x7f\xbd\xbf\xe1\x7a\x9b\xd3\x80\xf7\xed\xb2\xbf\xdd\x7a\x8e\x51\x0d\x6d\x26\x64\x25\x97\x3d\x47\x37\xd5\x02\x0e\x73\xb0\x46\x8b\xb8\xb2\x42\x8a\xb2\x06\x96\x2c\xcb\xd5\x41\xba\x30\x9b\x74\xf2\xce\x54\xa9\x45\x55\x1a\xb1\xa0\x56\x66\xa9\x44\xef\xe9\xd8\x6e\x51\x89\xbf\x35\xb2\x12\x13\x9a\xee\x4c\x89\x2a\x93\x8b\xbe\xc3\xa0\xdd\x1e\xe7\x61\xb2\x69\x8a\x5a\x2e\xf6\xf5\xd1\xed\x0e\x09\x2f\xed\xda\x4b\xde\xbb\x1e\xed\xca\xb9\xd0\x59\x25\x8d\xa4\x70\x74\x13\xa9\x69\x02\x8e\xee\x43\x65\x8d\xd9\x83\x13\x3c\x6a\x27\x02\xb7\xe4\xd1\xfd\x89\x3f\x4e\x72\xb5\x99\xa0\x14\x78\x6c\x2b\x5e\xde\x11\xcb\x5a\x4d\xb6\x95\xdc\xc8\x5a\x5e\x1f\xdd\x09\x11\x02\x62\x36\xd9\x1e\x14\x50\xdb\xad\x69\x3a\x6c\xb3\x89\x5f\x8b\x3b\x42\x28\x55\x39\x11\x65\xb3\x11\x15\x5f\x14\x77\xc7\x43\x8b\x7a\x72\x37\x12\xd3\x6b\x5e\x89\x7c\xa2\x6b\x55\x1d\x3d\x57\xc4\x9c\x26\xa8\x2f\x1c\xdb\xaa\xe4\x66\x3d\x26\x3b\xc1\xaf\x26\x1b\xbe\x3d\xb6\xd9\x9a\xdf\x85\x9c\xb7\xcd\xf1\xc3\xc0\xa1\x1f\x5b\xbb\x91\x47\x57\xa5\x39\xbd\x12\x47\xaf\xdb\x5a\xe6\xb9\x28\x4d\x8b\xe3\x07\x4b\xbf\x26\xba\xe6\xc7\xf3\x1f\x22\x73\x47\xa8\x52\x07\xe4\x76\x34\xad\x16\x5c\x6b\xb5\x9c\x54\x7c\x77\x3c\xb6\xb9\x78\x2f\xf2\xbb\x6f\xe4\x5f\xd6\x90\x86\x69\xce\x70\xb5\x2b\x7f\xcd\xbe\xac\xc4\xdd\x98\xd5\xb6\x57\x10\xef\x38\x0c\x44\x3d\x31\x12\xbc\x39\xee\xef\x30\x25\x85\x28\x57\xc7\x77\x52\xab\x09\x27\x45\x64\x72\xa7\x43\x95\x57\x15\xdf\x4f\x64\x99\x15\x4d\xde\xa7\xf6\xf4\xce\xbc\xa1\xe4\x89\x2d\x3d\xb6\xad\xa1\xc4\xc9\xa2\x59\xdd\x69\x1f\xf4\x2d\x75\xc9\x37\x77\xc6\xba\x05\x84\xa4\xd4\xa3\xc1\xec\xee\xb6\x87\x33\xb5\xdd\x4f\x32\x55\xea\xba\x6a\xb2\x5a\x55\xb6\xe3\x5e\x35\xb3\x93\xe7\x2d\x55\x95\x1d\xcf\xc7\xc4\xfb\xad\xaa\xee\xb2\x03\xef\xb6\xf3\x32\x55\x55\xc4\x61\x6a\x55\xef\xb7\xc2\x4c\x6a\x7d\xbc\x60\x16\xac\x84\x07\xa1\x96\xc7\x93\xd0\xca\x9c\xdf\x52\x83\xdd\xe8\x8e\xad\x1a\x2d\xaa\x09\x5f\xdd\x41\xa0\xa1\x86\xd7\x7f\x9c\x90\x71\xed\x8e\x87\x21\xd2\xd7\xd1\x47\x90\xb6\x2d\x26\x5c\x4f\xee\x70\x20\xed\x44\x51\x4c\xae\x4a\x43\x9e\x77\xeb\x51\xd6\x68\xf3\xd3\x93\xec\x0e\xf2\x41\xc0\x03\x7e\x95\xf8\x75\x87\x6d\xb0\xae\x37\x47\x0f\xca\xca\xfc\x20\x71\xdd\x45\xb2\xaa\xd5\x84\xe4\xfe\x9a\xf7\x98\x12\x0e\x4c\xe1\x1d\x25\x41\xdb\x2e\xe4\x0f\x47\xb3\xee\xc9\x56\x69\x2d\x49\x82\xc4\x4d\x74\xc7\xd9\xd1\xbf\x70\x03\xd2\x0a\x5a\xec\x0f\x37\xb3\x7f\x0b\x3d\xc5\x89\x9d\x1e\xd7\xae\xb5\x8f\x9a\xea\xe8\xd5\xe7\xa5\x51\xae\x6b\x5e\x1e\x2f\xb9\xd2\x94\x70\xad\xe5\xea\xe8\x1d\xce\x27\xd6\x1a\x71\xb4\xb6\x17\x5a\x2f\xcc\xb2\xd7\xe2\xfd\xf1\xaa\x95\x23\x97\x42\xf5\xe9\xdLine truncated
func init() {
err := CTX.Err()
@@ -75,6 +78,32 @@ func init() {
panic(err)
}
rb = bytes.NewReader(FileAccountsJsMap)
r, err = gzip.NewReader(rb)
if err != nil {
panic(err)
}
err = r.Close()
if err != nil {
panic(err)
}
f, err = FS.OpenFile(CTX, "accounts.js.map", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = io.Copy(f, r)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
Handler = &webdav.Handler{
FileSystem: FS,
LockSystem: webdav.NewMemLS(),
+34 -4
View File
@@ -1,16 +1,19 @@
package command
import (
"context"
"os"
"strings"
"github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/owncloud/ocis/accounts/pkg/version"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/spf13/viper"
"github.com/thejerf/suture/v4"
)
var (
@@ -19,8 +22,7 @@ var (
)
// Execute is the entry point for the ocis-accounts command.
func Execute() error {
cfg := config.New()
func Execute(cfg *config.Config) error {
app := &cli.App{
Name: "ocis-accounts",
Version: version.String,
@@ -73,11 +75,14 @@ func NewLogger(cfg *config.Config) log.Logger {
log.Level(cfg.Log.Level),
log.Pretty(cfg.Log.Pretty),
log.Color(cfg.Log.Color),
log.File(cfg.Log.File),
)
}
// ParseConfig loads accounts configuration from Viper known paths.
func ParseConfig(c *cli.Context, cfg *config.Config) error {
sync.ParsingViperConfig.Lock()
defer sync.ParsingViperConfig.Unlock()
logger := NewLogger(cfg)
viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_"))
@@ -118,3 +123,28 @@ func ParseConfig(c *cli.Context, cfg *config.Config) error {
return nil
}
// SutureService allows for the accounts command to be embedded and supervised by a suture supervisor tree.
type SutureService struct {
cfg *config.Config
}
// NewSutureService creates a new accounts.SutureService
func NewSutureService(cfg *ociscfg.Config) suture.Service {
if cfg.Mode == 0 {
cfg.Accounts.Supervised = true
}
cfg.Accounts.Log.File = cfg.Log.File
return SutureService{
cfg: cfg.Accounts,
}
}
func (s SutureService) Serve(ctx context.Context) error {
s.cfg.Context = ctx
if err := Execute(s.cfg); err != nil {
return err
}
return nil
}
+54 -138
View File
@@ -2,26 +2,19 @@ package command
import (
"context"
"os"
"os/signal"
"strings"
"time"
"contrib.go.opencensus.io/exporter/jaeger"
"contrib.go.opencensus.io/exporter/ocagent"
"contrib.go.opencensus.io/exporter/zipkin"
"github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/micro/cli/v2"
"github.com/oklog/run"
openzipkin "github.com/openzipkin/zipkin-go"
zipkinhttp "github.com/openzipkin/zipkin-go/reporter/http"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/owncloud/ocis/accounts/pkg/metrics"
"github.com/owncloud/ocis/accounts/pkg/server/grpc"
"github.com/owncloud/ocis/accounts/pkg/server/http"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"go.opencensus.io/stats/view"
"go.opencensus.io/trace"
"github.com/owncloud/ocis/accounts/pkg/tracing"
)
// Server is the entry point for the server command.
@@ -32,92 +25,28 @@ func Server(cfg *config.Config) *cli.Command {
Description: "uses an LDAP server as the storage backend",
Flags: flagset.ServerWithConfig(cfg),
Before: func(ctx *cli.Context) error {
logger := NewLogger(cfg)
if cfg.HTTP.Root != "/" {
cfg.HTTP.Root = strings.TrimSuffix(cfg.HTTP.Root, "/")
}
// When running on single binary mode the before hook from the root command won't get called. We manually
// call this before hook from ocis command, so the configuration can be loaded.
return ParseConfig(ctx, cfg)
if !cfg.Supervised {
return ParseConfig(ctx, cfg)
}
logger.Debug().Str("service", "accounts").Msg("ignoring config file parsing when running supervised")
return nil
},
Action: func(c *cli.Context) error {
logger := NewLogger(cfg)
if cfg.Tracing.Enabled {
switch t := cfg.Tracing.Type; t {
case "agent":
exporter, err := ocagent.NewExporter(
ocagent.WithReconnectionPeriod(5*time.Second),
ocagent.WithAddress(cfg.Tracing.Endpoint),
ocagent.WithServiceName(cfg.Tracing.Service),
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create agent tracing")
return err
}
trace.RegisterExporter(exporter)
view.RegisterExporter(exporter)
case "jaeger":
exporter, err := jaeger.NewExporter(
jaeger.Options{
AgentEndpoint: cfg.Tracing.Endpoint,
CollectorEndpoint: cfg.Tracing.Collector,
Process: jaeger.Process{
ServiceName: cfg.Tracing.Service,
},
},
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create jaeger tracing")
return err
}
trace.RegisterExporter(exporter)
case "zipkin":
endpoint, err := openzipkin.NewEndpoint(
cfg.Tracing.Service,
cfg.Tracing.Endpoint,
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create zipkin tracing")
return err
}
exporter := zipkin.NewExporter(
zipkinhttp.NewReporter(
cfg.Tracing.Collector,
),
endpoint,
)
trace.RegisterExporter(exporter)
default:
logger.Warn().
Str("type", t).
Msg("Unknown tracing backend")
}
trace.ApplyConfig(
trace.Config{
DefaultSampler: trace.AlwaysSample(),
},
)
} else {
logger.Debug().
Msg("Tracing is not enabled")
err := tracing.Configure(cfg, logger)
if err != nil {
return err
}
var (
gr = run.Group{}
ctx, cancel = context.WithCancel(context.Background())
mtrcs = metrics.New()
)
gr := run.Group{}
ctx, cancel := defineContext(cfg)
mtrcs := metrics.New()
defer cancel()
@@ -125,67 +54,54 @@ func Server(cfg *config.Config) *cli.Command {
handler, err := svc.New(svc.Logger(logger), svc.Config(cfg))
if err != nil {
logger.Fatal().Err(err).Msg("could not initialize service handler")
logger.Error().Err(err).Msg("handler init")
return err
}
{
server := http.Server(
http.Logger(logger),
http.Name(cfg.Server.Name),
http.Context(ctx),
http.Config(cfg),
http.Metrics(mtrcs),
http.Flags(flagset.RootWithConfig(config.New())),
http.Flags(flagset.ServerWithConfig(config.New())),
http.Handler(handler),
)
httpServer := http.Server(
http.Config(cfg),
http.Logger(logger),
http.Name(cfg.Server.Name),
http.Context(ctx),
http.Metrics(mtrcs),
http.Handler(handler),
)
gr.Add(server.Run, func(_ error) {
logger.Info().
Str("server", "http").
Msg("Shutting down server")
gr.Add(httpServer.Run, func(_ error) {
logger.Info().Str("server", "http").Msg("shutting down server")
cancel()
})
cancel()
})
}
grpcServer := grpc.Server(
grpc.Config(cfg),
grpc.Logger(logger),
grpc.Name(cfg.Server.Name),
grpc.Context(ctx),
grpc.Metrics(mtrcs),
grpc.Handler(handler),
)
{
server := grpc.Server(
grpc.Logger(logger),
grpc.Name(cfg.Server.Name),
grpc.Context(ctx),
grpc.Config(cfg),
grpc.Metrics(mtrcs),
grpc.Handler(handler),
)
gr.Add(grpcServer.Run, func(_ error) {
logger.Info().Str("server", "grpc").Msg("shutting down server")
cancel()
})
gr.Add(func() error {
return server.Run()
}, func(_ error) {
logger.Info().
Str("server", "grpc").
Msg("Shutting down server")
cancel()
})
}
{
stop := make(chan os.Signal, 1)
gr.Add(func() error {
signal.Notify(stop, os.Interrupt)
<-stop
return nil
}, func(err error) {
close(stop)
cancel()
})
if !cfg.Supervised {
sync.Trap(&gr, cancel)
}
return gr.Run()
},
}
}
// defineContext sets the context for the extension. If there is a context configured it will create a new child from it,
// if not, it will create a root context that can be cancelled.
func defineContext(cfg *config.Config) (context.Context, context.CancelFunc) {
return func() (context.Context, context.CancelFunc) {
if cfg.Context == nil {
return context.WithCancel(context.Background())
}
return context.WithCancel(cfg.Context)
}()
}
+6
View File
@@ -1,6 +1,8 @@
// Package config should be moved to internal
package config
import "context"
// LDAP defines the available ldap configuration.
type LDAP struct {
Hostname string
@@ -60,6 +62,7 @@ type Log struct {
Level string
Pretty bool
Color bool
File string
}
// Repo defines which storage implementation is to be used.
@@ -121,6 +124,9 @@ type Config struct {
Index Index
ServiceUser ServiceUser
Tracing Tracing
Context context.Context
Supervised bool
}
// New returns a new config.
+47 -43
View File
@@ -4,6 +4,7 @@ import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/ocis-pkg/flags"
)
// RootWithConfig applies cfg to the root flagset
@@ -11,23 +12,20 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "log-level",
Value: "info",
Usage: "Set logging level",
EnvVars: []string{"ACCOUNTS_LOG_LEVEL"},
EnvVars: []string{"ACCOUNTS_LOG_LEVEL", "OCIS_LOG_LEVEL"},
Destination: &cfg.Log.Level,
},
&cli.BoolFlag{
Value: true,
Name: "log-pretty",
Usage: "Enable pretty logging",
EnvVars: []string{"ACCOUNTS_LOG_PRETTY"},
EnvVars: []string{"ACCOUNTS_LOG_PRETTY", "OCIS_LOG_PRETTY"},
Destination: &cfg.Log.Pretty,
},
&cli.BoolFlag{
Value: true,
Name: "log-color",
Usage: "Enable colored logging",
EnvVars: []string{"ACCOUNTS_LOG_COLOR"},
EnvVars: []string{"ACCOUNTS_LOG_COLOR", "OCIS_LOG_COLOR"},
Destination: &cfg.Log.Color,
},
}
@@ -36,6 +34,12 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
// ServerWithConfig applies cfg to the root flagset
func ServerWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "log-file",
Usage: "Enable log to file",
EnvVars: []string{"ACCOUNTS_LOG_FILE", "OCIS_LOG_FILE"},
Destination: &cfg.Log.File,
},
&cli.BoolFlag{
Name: "tracing-enabled",
Usage: "Enable sending traces",
@@ -44,189 +48,189 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.StringFlag{
Name: "tracing-type",
Value: "jaeger",
Value: flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger"),
Usage: "Tracing backend type",
EnvVars: []string{"ACCOUNTS_TRACING_TYPE"},
Destination: &cfg.Tracing.Type,
},
&cli.StringFlag{
Name: "tracing-endpoint",
Value: "",
Value: flags.OverrideDefaultString(cfg.Tracing.Endpoint, ""),
Usage: "Endpoint for the agent",
EnvVars: []string{"ACCOUNTS_TRACING_ENDPOINT"},
Destination: &cfg.Tracing.Endpoint,
},
&cli.StringFlag{
Name: "tracing-collector",
Value: "",
Value: flags.OverrideDefaultString(cfg.Tracing.Collector, ""),
Usage: "Endpoint for the collector",
EnvVars: []string{"ACCOUNTS_TRACING_COLLECTOR"},
Destination: &cfg.Tracing.Collector,
},
&cli.StringFlag{
Name: "tracing-service",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Tracing.Service, "accounts"),
Usage: "Service name for tracing",
EnvVars: []string{"ACCOUNTS_TRACING_SERVICE"},
Destination: &cfg.Tracing.Service,
},
&cli.StringFlag{
Name: "http-namespace",
Value: "com.owncloud.web",
Value: flags.OverrideDefaultString(cfg.HTTP.Namespace, "com.owncloud.web"),
Usage: "Set the base namespace for the http namespace",
EnvVars: []string{"ACCOUNTS_HTTP_NAMESPACE"},
Destination: &cfg.HTTP.Namespace,
},
&cli.StringFlag{
Name: "http-addr",
Value: "0.0.0.0:9181",
Value: flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9181"),
Usage: "Address to bind http server",
EnvVars: []string{"ACCOUNTS_HTTP_ADDR"},
Destination: &cfg.HTTP.Addr,
},
&cli.StringFlag{
Name: "http-root",
Value: "/",
Value: flags.OverrideDefaultString(cfg.HTTP.Root, "/"),
Usage: "Root path of http server",
EnvVars: []string{"ACCOUNTS_HTTP_ROOT"},
Destination: &cfg.HTTP.Root,
},
&cli.IntFlag{
Name: "http-cache-ttl",
Value: 604800, // 7 days
Value: flags.OverrideDefaultInt(cfg.HTTP.CacheTTL, 604800),
Usage: "Set the static assets caching duration in seconds",
EnvVars: []string{"ACCOUNTS_CACHE_TTL"},
Destination: &cfg.HTTP.CacheTTL,
},
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "grpc-addr",
Value: "0.0.0.0:9180",
Value: flags.OverrideDefaultString(cfg.GRPC.Addr, "0.0.0.0:9180"),
Usage: "Address to bind grpc server",
EnvVars: []string{"ACCOUNTS_GRPC_ADDR"},
Destination: &cfg.GRPC.Addr,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
},
&cli.IntFlag{
Name: "accounts-hash-difficulty",
Value: 11,
Value: flags.OverrideDefaultInt(cfg.Server.HashDifficulty, 11),
Usage: "accounts password hash difficulty",
EnvVars: []string{"ACCOUNTS_HASH_DIFFICULTY"},
Destination: &cfg.Server.HashDifficulty,
},
&cli.StringFlag{
Name: "asset-path",
Value: "",
Value: flags.OverrideDefaultString(cfg.Asset.Path, ""),
Usage: "Path to custom assets",
EnvVars: []string{"ACCOUNTS_ASSET_PATH"},
Destination: &cfg.Asset.Path,
},
&cli.StringFlag{
Name: "jwt-secret",
Value: "Pive-Fumkiu4",
Value: flags.OverrideDefaultString(cfg.TokenManager.JWTSecret, "Pive-Fumkiu4"),
Usage: "Used to create JWT to talk to reva, should equal reva's jwt-secret",
EnvVars: []string{"ACCOUNTS_JWT_SECRET", "OCIS_JWT_SECRET"},
Destination: &cfg.TokenManager.JWTSecret,
},
&cli.StringFlag{
Name: "storage-disk-path",
Value: "",
Value: flags.OverrideDefaultString(cfg.Repo.Disk.Path, ""),
Usage: "Path on the local disk, e.g. /var/tmp/ocis/accounts",
EnvVars: []string{"ACCOUNTS_STORAGE_DISK_PATH"},
Destination: &cfg.Repo.Disk.Path,
},
&cli.StringFlag{
Name: "storage-cs3-provider-addr",
Value: "localhost:9215",
Value: flags.OverrideDefaultString(cfg.Repo.CS3.ProviderAddr, "localhost:9215"),
Usage: "bind address for the metadata storage provider",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR"},
Destination: &cfg.Repo.CS3.ProviderAddr,
},
&cli.StringFlag{
Name: "storage-cs3-data-url",
Value: "http://localhost:9216",
Value: flags.OverrideDefaultString(cfg.Repo.CS3.DataURL, "http://localhost:9216"),
Usage: "http endpoint of the metadata storage",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_DATA_URL"},
Destination: &cfg.Repo.CS3.DataURL,
},
&cli.StringFlag{
Name: "storage-cs3-data-prefix",
Value: "data",
Value: flags.OverrideDefaultString(cfg.Repo.CS3.DataPrefix, "data"),
Usage: "path prefix for the http endpoint of the metadata storage, without leading slash",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_DATA_PREFIX"},
Destination: &cfg.Repo.CS3.DataPrefix,
},
&cli.StringFlag{
Name: "storage-cs3-jwt-secret",
Value: "Pive-Fumkiu4",
Value: flags.OverrideDefaultString(cfg.Repo.CS3.JWTSecret, "Pive-Fumkiu4"),
Usage: "Used to create JWT to talk to reva, should equal reva's jwt-secret",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_JWT_SECRET", "OCIS_JWT_SECRET"},
Destination: &cfg.Repo.CS3.JWTSecret,
},
&cli.StringFlag{
Name: "service-user-uuid",
Value: "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad",
Value: flags.OverrideDefaultString(cfg.ServiceUser.UUID, "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"),
Usage: "uuid of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_UUID"},
Destination: &cfg.ServiceUser.UUID,
},
&cli.StringFlag{
Name: "service-user-username",
Value: "",
Value: flags.OverrideDefaultString(cfg.ServiceUser.Username, ""),
Usage: "username of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_USERNAME"},
Destination: &cfg.ServiceUser.Username,
},
&cli.Int64Flag{
Name: "service-user-uid",
Value: 0,
Value: flags.OverrideDefaultInt64(cfg.ServiceUser.UID, 0),
Usage: "uid of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_UID"},
Destination: &cfg.ServiceUser.UID,
},
&cli.Int64Flag{
Name: "service-user-gid",
Value: 0,
Value: flags.OverrideDefaultInt64(cfg.ServiceUser.GID, 0),
Usage: "gid of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_GID"},
Destination: &cfg.ServiceUser.GID,
},
&cli.Int64Flag{
Name: "uid-index-lower-bound",
Value: 0,
Value: flags.OverrideDefaultInt64(cfg.Index.UID.Lower, 0),
Usage: "define a starting point for the account UID",
EnvVars: []string{"ACCOUNTS_UID_INDEX_LOWER_BOUND"},
Destination: &cfg.Index.UID.Lower,
},
&cli.Int64Flag{
Name: "gid-index-lower-bound",
Value: 1000,
Value: flags.OverrideDefaultInt64(cfg.Index.GID.Lower, 1000),
Usage: "define a starting point for the account GID",
EnvVars: []string{"ACCOUNTS_GID_INDEX_LOWER_BOUND"},
Destination: &cfg.Index.GID.Lower,
},
&cli.Int64Flag{
Name: "uid-index-upper-bound",
Value: 0,
Value: flags.OverrideDefaultInt64(cfg.Index.UID.Upper, 0),
Usage: "define an ending point for the account UID",
EnvVars: []string{"ACCOUNTS_UID_INDEX_UPPER_BOUND"},
Destination: &cfg.Index.UID.Upper,
},
&cli.Int64Flag{
Name: "gid-index-upper-bound",
Value: 1000,
Value: flags.OverrideDefaultInt64(cfg.Index.GID.Upper, 1000),
Usage: "define an ending point for the account GID",
EnvVars: []string{"ACCOUNTS_GID_INDEX_UPPER_BOUND"},
Destination: &cfg.Index.GID.Upper,
@@ -243,14 +247,14 @@ func UpdateAccountWithConfig(cfg *config.Config, a *accounts.Account) []cli.Flag
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
@@ -327,14 +331,14 @@ func AddAccountWithConfig(cfg *config.Config, a *accounts.Account) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
@@ -411,14 +415,14 @@ func ListAccountsWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
@@ -431,14 +435,14 @@ func RemoveAccountWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
@@ -451,14 +455,14 @@ func InspectAccountWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
File diff suppressed because it is too large. Load diff
+23 -23
View File
@@ -1,8 +1,8 @@
syntax = "proto3";
option go_package = "pkg/proto/v0;proto";
package com.owncloud.ocis.accounts.v0;
package accounts;
option go_package = "github.com/owncloud/ocis/accounts/pkg/proto/v0;proto";
import "google/api/field_behavior.proto";
import "google/api/annotations.proto";
@@ -13,27 +13,27 @@ import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "ownCloud Infinite Scale accounts";
version: "1.0.0";
contact: {
name: "ownCloud GmbH";
url: "https://github.com/owncloud/ocis";
email: "support@owncloud.com";
};
license: {
name: "Apache-2.0";
url: "https://github.com/owncloud/ocis/blob/master/LICENSE";
};
};
schemes: HTTP;
schemes: HTTPS;
consumes: "application/json";
produces: "application/json";
external_docs: {
description: "Developer Manual";
url: "https://owncloud.github.io/extensions/accounts/";
};
info: {
title: "ownCloud Infinite Scale accounts";
version: "1.0.0";
contact: {
name: "ownCloud GmbH";
url: "https://github.com/owncloud/ocis";
email: "support@owncloud.com";
};
license: {
name: "Apache-2.0";
url: "https://github.com/owncloud/ocis/blob/master/LICENSE";
};
};
schemes: HTTP;
schemes: HTTPS;
consumes: "application/json";
produces: "application/json";
external_docs: {
description: "Developer Manual";
url: "https://owncloud.dev/extensions/accounts/";
};
};
// Follow recommended Methods for rpc APIs https://cloud.google.com/apis/design/resources?hl=de#methods
+94 -94
View File
@@ -43,7 +43,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsAccount"
"$ref": "#/definitions/v0Account"
}
},
"default": {
@@ -59,7 +59,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsCreateAccountRequest"
"$ref": "#/definitions/v0CreateAccountRequest"
}
}
],
@@ -92,7 +92,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsDeleteAccountRequest"
"$ref": "#/definitions/v0DeleteAccountRequest"
}
}
],
@@ -109,7 +109,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsAccount"
"$ref": "#/definitions/v0Account"
}
},
"default": {
@@ -125,7 +125,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsGetAccountRequest"
"$ref": "#/definitions/v0GetAccountRequest"
}
}
],
@@ -142,7 +142,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsListAccountsResponse"
"$ref": "#/definitions/v0ListAccountsResponse"
}
},
"default": {
@@ -158,7 +158,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsListAccountsRequest"
"$ref": "#/definitions/v0ListAccountsRequest"
}
}
],
@@ -175,7 +175,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsAccount"
"$ref": "#/definitions/v0Account"
}
},
"default": {
@@ -191,7 +191,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsUpdateAccountRequest"
"$ref": "#/definitions/v0UpdateAccountRequest"
}
}
],
@@ -208,7 +208,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsGroup"
"$ref": "#/definitions/v0Group"
}
},
"default": {
@@ -224,7 +224,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsCreateGroupRequest"
"$ref": "#/definitions/v0CreateGroupRequest"
}
}
],
@@ -257,7 +257,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsDeleteGroupRequest"
"$ref": "#/definitions/v0DeleteGroupRequest"
}
}
],
@@ -274,7 +274,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsGroup"
"$ref": "#/definitions/v0Group"
}
},
"default": {
@@ -290,7 +290,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsGetGroupRequest"
"$ref": "#/definitions/v0GetGroupRequest"
}
}
],
@@ -307,7 +307,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsListGroupsResponse"
"$ref": "#/definitions/v0ListGroupsResponse"
}
},
"default": {
@@ -323,7 +323,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsListGroupsRequest"
"$ref": "#/definitions/v0ListGroupsRequest"
}
}
],
@@ -340,7 +340,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsGroup"
"$ref": "#/definitions/v0Group"
}
},
"default": {
@@ -356,7 +356,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsUpdateGroupRequest"
"$ref": "#/definitions/v0UpdateGroupRequest"
}
}
],
@@ -373,7 +373,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsGroup"
"$ref": "#/definitions/v0Group"
}
},
"default": {
@@ -396,7 +396,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsAddMemberRequest"
"$ref": "#/definitions/v0AddMemberRequest"
}
}
],
@@ -413,7 +413,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsGroup"
"$ref": "#/definitions/v0Group"
}
},
"default": {
@@ -443,7 +443,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsRemoveMemberRequest"
"$ref": "#/definitions/v0RemoveMemberRequest"
}
}
],
@@ -460,7 +460,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsListMembersResponse"
"$ref": "#/definitions/v0ListMembersResponse"
}
},
"default": {
@@ -483,7 +483,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsListMembersRequest"
"$ref": "#/definitions/v0ListMembersRequest"
}
}
],
@@ -499,7 +499,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/accountsRebuildIndexResponse"
"$ref": "#/definitions/v0RebuildIndexResponse"
}
},
"default": {
@@ -515,7 +515,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/accountsRebuildIndexRequest"
"$ref": "#/definitions/v0RebuildIndexRequest"
}
}
],
@@ -526,7 +526,37 @@
}
},
"definitions": {
"accountsAccount": {
"protobufAny": {
"type": "object",
"properties": {
"typeUrl": {
"type": "string"
},
"value": {
"type": "string",
"format": "byte"
}
}
},
"rpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
}
}
}
},
"v0Account": {
"type": "object",
"properties": {
"id": {
@@ -548,7 +578,7 @@
"identities": {
"type": "array",
"items": {
"$ref": "#/definitions/accountsIdentities"
"$ref": "#/definitions/v0Identities"
},
"description": "Represents the identities that can be used to sign in to this account.\nAn identity can be provided by oCIS (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and is tied to an account.\nMay contain multiple items with the same signInType value. Supports $filter."
},
@@ -579,13 +609,13 @@
"title": "A description, useful for resource accounts\nposixaccount MAY description"
},
"passwordProfile": {
"$ref": "#/definitions/accountsPasswordProfile",
"$ref": "#/definitions/v0PasswordProfile",
"title": "Specifies the password profile for the user.\nThe profile contains the user’s password. This property is required when a user is created.\nThe password in the profile must satisfy minimum requirements as specified by the passwordPolicies property.\nBy default, a strong password is required.\nposixaccount MAY authPassword"
},
"memberOf": {
"type": "array",
"items": {
"$ref": "#/definitions/accountsGroup"
"$ref": "#/definitions/v0Group"
},
"title": "The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable.\nshould we only respond with repeated strings of ids? no clients should a proper filter mask!"
},
@@ -635,7 +665,7 @@
"onPremisesProvisioningErrors": {
"type": "array",
"items": {
"$ref": "#/definitions/accountsOnPremisesProvisioningError"
"$ref": "#/definitions/v0OnPremisesProvisioningError"
},
"description": "Errors when using synchronization during provisioning."
},
@@ -661,7 +691,7 @@
},
"title": "Account follows the properties of the ms graph api user resuorce.\nSee https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties"
},
"accountsAddMemberRequest": {
"v0AddMemberRequest": {
"type": "object",
"properties": {
"groupId": {
@@ -674,25 +704,25 @@
}
}
},
"accountsCreateAccountRequest": {
"v0CreateAccountRequest": {
"type": "object",
"properties": {
"account": {
"$ref": "#/definitions/accountsAccount",
"$ref": "#/definitions/v0Account",
"title": "The account resource to create"
}
}
},
"accountsCreateGroupRequest": {
"v0CreateGroupRequest": {
"type": "object",
"properties": {
"group": {
"$ref": "#/definitions/accountsGroup",
"$ref": "#/definitions/v0Group",
"title": "The account resource to create"
}
}
},
"accountsDeleteAccountRequest": {
"v0DeleteAccountRequest": {
"type": "object",
"properties": {
"id": {
@@ -700,7 +730,7 @@
}
}
},
"accountsDeleteGroupRequest": {
"v0DeleteGroupRequest": {
"type": "object",
"properties": {
"id": {
@@ -708,7 +738,7 @@
}
}
},
"accountsGetAccountRequest": {
"v0GetAccountRequest": {
"type": "object",
"properties": {
"id": {
@@ -716,7 +746,7 @@
}
}
},
"accountsGetGroupRequest": {
"v0GetGroupRequest": {
"type": "object",
"properties": {
"id": {
@@ -724,7 +754,7 @@
}
}
},
"accountsGroup": {
"v0Group": {
"type": "object",
"properties": {
"id": {
@@ -738,14 +768,14 @@
"members": {
"type": "array",
"items": {
"$ref": "#/definitions/accountsAccount"
"$ref": "#/definitions/v0Account"
},
"title": "Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable.\nTODO accounts (users) only for now, we can add groups with the dedicated message using oneof construct later"
},
"owners": {
"type": "array",
"items": {
"$ref": "#/definitions/accountsAccount"
"$ref": "#/definitions/v0Account"
},
"title": "groupofnames MAY businessCategory\ngroupofnames MAY o\ngroupofnames MAY ou\ngroupofnames MAY owner, SINGLE-VALUE but there might be multiple owners"
},
@@ -816,13 +846,13 @@
"onPremisesProvisioningErrors": {
"type": "array",
"items": {
"$ref": "#/definitions/accountsOnPremisesProvisioningError"
"$ref": "#/definitions/v0OnPremisesProvisioningError"
},
"description": "Errors when using synchronization during provisioning."
}
}
},
"accountsIdentities": {
"v0Identities": {
"type": "object",
"properties": {
"signInType": {
@@ -840,7 +870,7 @@
},
"description": "Identities Represents an identity used to sign in to a user account.\nAn identity can be provided by oCIS, by organizations, or by social identity providers such as Facebook, Google, or Microsoft, that are tied to a user account.\nThis enables the user to sign in to the user account with any of those associated identities.\nThey are also used to keep a history of old usernames."
},
"accountsListAccountsRequest": {
"v0ListAccountsRequest": {
"type": "object",
"properties": {
"pageSize": {
@@ -863,13 +893,13 @@
}
}
},
"accountsListAccountsResponse": {
"v0ListAccountsResponse": {
"type": "object",
"properties": {
"accounts": {
"type": "array",
"items": {
"$ref": "#/definitions/accountsAccount"
"$ref": "#/definitions/v0Account"
},
"title": "The field name should match the noun \"accounts\" in the method name. There\nwill be a maximum number of items returned based on the page_size field\nin the request"
},
@@ -879,7 +909,7 @@
}
}
},
"accountsListGroupsRequest": {
"v0ListGroupsRequest": {
"type": "object",
"properties": {
"pageSize": {
@@ -902,13 +932,13 @@
}
}
},
"accountsListGroupsResponse": {
"v0ListGroupsResponse": {
"type": "object",
"properties": {
"groups": {
"type": "array",
"items": {
"$ref": "#/definitions/accountsGroup"
"$ref": "#/definitions/v0Group"
},
"title": "The field name should match the noun \"group\" in the method name. There\nwill be a maximum number of items returned based on the page_size field\nin the request"
},
@@ -918,7 +948,7 @@
}
}
},
"accountsListMembersRequest": {
"v0ListMembersRequest": {
"type": "object",
"properties": {
"pageSize": {
@@ -944,13 +974,13 @@
}
}
},
"accountsListMembersResponse": {
"v0ListMembersResponse": {
"type": "object",
"properties": {
"members": {
"type": "array",
"items": {
"$ref": "#/definitions/accountsAccount"
"$ref": "#/definitions/v0Account"
},
"title": "The field name should match the noun \"members\" in the method name. There\nwill be a maximum number of items returned based on the page_size field\nin the request"
},
@@ -960,7 +990,7 @@
}
}
},
"accountsOnPremisesProvisioningError": {
"v0OnPremisesProvisioningError": {
"type": "object",
"properties": {
"category": {
@@ -982,7 +1012,7 @@
}
}
},
"accountsPasswordProfile": {
"v0PasswordProfile": {
"type": "object",
"properties": {
"password": {
@@ -1011,13 +1041,13 @@
}
}
},
"accountsRebuildIndexRequest": {
"v0RebuildIndexRequest": {
"type": "object"
},
"accountsRebuildIndexResponse": {
"v0RebuildIndexResponse": {
"type": "object"
},
"accountsRemoveMemberRequest": {
"v0RemoveMemberRequest": {
"type": "object",
"properties": {
"groupId": {
@@ -1030,11 +1060,11 @@
}
}
},
"accountsUpdateAccountRequest": {
"v0UpdateAccountRequest": {
"type": "object",
"properties": {
"account": {
"$ref": "#/definitions/accountsAccount",
"$ref": "#/definitions/v0Account",
"title": "The account resource which replaces the resource on the server"
},
"updateMask": {
@@ -1043,11 +1073,11 @@
}
}
},
"accountsUpdateGroupRequest": {
"v0UpdateGroupRequest": {
"type": "object",
"properties": {
"group": {
"$ref": "#/definitions/accountsGroup",
"$ref": "#/definitions/v0Group",
"title": "The group resource which replaces the resource on the server"
},
"updateMask": {
@@ -1055,40 +1085,10 @@
"title": "The update mask applies to the resource. For the `FieldMask` definition,\nsee https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask"
}
}
},
"protobufAny": {
"type": "object",
"properties": {
"typeUrl": {
"type": "string"
},
"value": {
"type": "string",
"format": "byte"
}
}
},
"rpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
}
}
}
}
},
"externalDocs": {
"description": "Developer Manual",
"url": "https://owncloud.github.io/extensions/accounts/"
"url": "https://owncloud.dev/extensions/accounts/"
}
}
+3 -16
View File
@@ -57,24 +57,11 @@ func New(opts ...Option) (s *Service, err error) {
repo: createMetadataStorage(cfg, logger),
}
retries := 20
var current int
r := oreg.GetRegistry()
if cfg.Repo.Disk.Path == "" {
for {
if current >= retries {
panic("metadata service failed to start.")
}
s, err := r.GetService("com.owncloud.storage.metadata")
if err != nil {
logger.Error().Err(err).Msg("error getting metadata service from service registry")
}
if len(s) > 0 {
break
}
logger.Info().Msg("accounts blocked waiting for metadata service to be up and running...")
time.Sleep(2 * time.Second)
current++
if _, err := r.GetService("com.owncloud.storage.metadata"); err != nil {
logger.Error().Err(err).Msg("index: storage-metadata service not present")
return nil, err
}
}
+6 -1
View File
@@ -4,6 +4,7 @@ import (
"bytes"
"context"
"encoding/json"
"github.com/cs3org/reva/pkg/auth/scope"
"io"
"io/ioutil"
"net/http"
@@ -312,7 +313,11 @@ func AuthenticateCS3(ctx context.Context, su config.ServiceUser, tm token.Manage
},
},
}
return tm.MintToken(ctx, u)
s, err := scope.GetOwnerScope()
if err != nil {
return
}
return tm.MintToken(ctx, u, s)
}
func (r CS3Repo) accountURL(id string) string {
+90
View File
@@ -0,0 +1,90 @@
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"
)
func Configure(cfg *config.Config, logger log.Logger) 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")
}
trace.ApplyConfig(
trace.Config{
DefaultSampler: trace.AlwaysSample(),
},
)
} else {
logger.Debug().
Msg("Tracing is not enabled")
}
return nil
}
+10 -3
View File
@@ -1,9 +1,15 @@
import 'regenerator-runtime/runtime'
import App from './components/App.vue'
import store from './store'
import translations from './../l10n/translations.json'
// just a dummy function to trick gettext tools
function $gettext (msg) {
return msg
}
const appInfo = {
name: 'Accounts',
name: $gettext('Accounts'),
id: 'accounts',
icon: 'text-vcard',
isFileEditor: false,
@@ -22,7 +28,7 @@ const routes = [
const navItems = [
{
name: 'Accounts',
name: $gettext('Accounts'),
iconMaterial: appInfo.icon,
route: {
name: 'accounts',
@@ -36,5 +42,6 @@ export default {
appInfo,
routes,
navItems,
store
store,
translations
}
+5 -16
View File
@@ -1,7 +1,10 @@
<template>
<div>
<div class="uk-flex uk-flex-column uk-height-1-1" id="accounts-app">
<main class="uk-flex uk-flex-column uk-height-1-1" id="accounts-app">
<template v-if="isInitialized">
<h1 class="oc-invisible-sr">
<translate>Accounts</translate>
</h1>
<div class="oc-app-bar">
<accounts-batch-actions
v-if="isAnyAccountSelected"
@@ -23,7 +26,7 @@
</oc-alert>
</template>
<oc-loader id="accounts-list-loader" v-else />
</div>
</main>
</div>
</template>
@@ -55,17 +58,3 @@ export default {
}
}
</script>
<style>
/* TODO: After https://github.com/owncloud/owncloud-design-system/pull/418 gets merged
there won't be an extra span and this won't be needed anymore */
.accounts-selection-actions-btn > span {
display: flex;
align-items: center;
}
/* TODO: Adjust in ODS */
.oc-dropdown-menu {
width: 150px;
}
</style>
@@ -3,20 +3,20 @@
<span v-text="selectionInfoText" />
<span>|</span>
<div>
<oc-button v-text="$gettext('Clear selection')" variation="raw" @click="RESET_ACCOUNTS_SELECTION" />
<oc-button v-text="$gettext('Clear selection')" appearance="raw" @click="RESET_ACCOUNTS_SELECTION" />
</div>
<oc-grid gutter="small" id="accounts-batch-actions">
<div v-for="action in actions" :key="action.label">
<oc-alert v-if="isConfirmationInProgress[action.id]" :variation="action.confirmation.variation || 'default'" noClose class="uk-flex uk-flex-middle tmp-alert-fixes">
<div v-if="isConfirmationInProgress[action.id]" :variation="action.confirmation.variation || 'primary'" noClose class="uk-flex uk-flex-middle tmp-alert-fixes">
<span>{{ action.confirmation.message }}</span>
<oc-button size="small" :id="action.confirmation.cancel.id" @click="action.confirmation.cancel.handler" :variation="action.confirmation.cancel.variation || 'default'">
<oc-button :id="action.confirmation.cancel.id" @click="action.confirmation.cancel.handler" :variation="action.confirmation.cancel.variation || 'passive'">
{{ action.confirmation.cancel.label }}
</oc-button>
<oc-button size="small" :id="action.confirmation.confirm.id" @click="action.confirmation.confirm.handler" :variation="action.confirmation.confirm.variation || 'default'">
<oc-button :id="action.confirmation.confirm.id" @click="action.confirmation.confirm.handler" :variation="action.confirmation.confirm.variation || 'primary'">
{{ action.confirmation.confirm.label }}
</oc-button>
</oc-alert>
<oc-button v-else :id="action.id" @click="action.handler" :variation="action.variation || 'default'" :icon="action.icon">
</div>
<oc-button v-else :id="action.id" @click="action.handler" :variation="action.variation || 'primary'" :icon="action.icon">
{{ action.label }}
</oc-button>
</div>
@@ -78,6 +78,7 @@ export default {
id: idDeleteAction,
label: this.$gettext('Delete'),
icon: 'delete',
variation: 'danger',
handler: () => this.showConfirmationRequest(idDeleteAction),
confirmation: {
variation: 'danger',
@@ -89,7 +90,6 @@ export default {
cancel: {
id: 'accounts-batch-action-delete-cancel',
label: this.$gettext('Cancel'),
variation: 'secondary',
handler: () => this.hideConfirmationRequest(idDeleteAction)
},
confirm: {
@@ -119,13 +119,9 @@ export default {
<style lang="scss" scoped>
.tmp-alert-fixes {
padding: 4px 11px 5px !important;
border-radius: 3px !important;
background-color: #fff !important;
border: 1px solid rgb(224, 0, 0) !important;
color: rgb(224, 0, 0) !important;
font-size: 1.1rem !important;
font-size: 1.125rem !important;
font-weight: 600 !important;
line-height: 1.4 !important;
}
@@ -1,50 +1,45 @@
<template>
<div>
<oc-grid v-if="isFormInProgress" gutter="small">
<label>
<oc-text-input
id="accounts-new-account-input-username"
type="text"
v-model="formData.username"
:error-message="formValidation.usernameError"
:placeholder="$gettext('Username')"
:disabled="isRequestInProgress"
@keydown.enter="createAccount"
/>
</label>
<label>
<oc-text-input
id="accounts-new-account-input-email"
type="email"
v-model="formData.email"
:error-message="formValidation.emailError"
:placeholder="$gettext('Email')"
:disabled="isRequestInProgress"
@keydown.enter="createAccount"
/>
</label>
<label>
<oc-text-input
id="accounts-new-account-input-password"
type="password"
v-model="formData.password"
:error-message="formValidation.passwordError"
:placeholder="$gettext('Password')"
:disabled="isRequestInProgress"
@keydown.enter="createAccount"
/>
</label>
<div>
<oc-text-input
id="accounts-new-account-input-username"
type="text"
v-model="formData.username"
:error-message="formValidation.usernameError"
:label="$gettext('Username')"
:disabled="isRequestInProgress"
@keydown.enter="createAccount"
/>
<oc-text-input
id="accounts-new-account-input-email"
type="email"
v-model="formData.email"
:error-message="formValidation.emailError"
:label="$gettext('Email')"
:disabled="isRequestInProgress"
@keydown.enter="createAccount"
/>
<oc-text-input
id="accounts-new-account-input-password"
type="password"
v-model="formData.password"
:error-message="formValidation.passwordError"
:label="$gettext('Password')"
:disabled="isRequestInProgress"
@keydown.enter="createAccount"
/>
<div class="uk-flex">
<oc-button
class="oc-mr-s oc-mb-s"
v-text="$gettext('Cancel')"
@click="cancelForm"
:disabled="isRequestInProgress"
/>
</div>
<div>
<oc-button
id="accounts-new-account-button-confirm"
class="oc-mr-s oc-mb-s"
variation="primary"
appearance="filled"
:disabled="isRequestInProgress"
@click="createAccount"
gap-size="small"
@@ -66,6 +61,7 @@
id="accounts-new-account-trigger"
key="create-accounts-button"
variation="primary"
appearance="filled"
gap-size="small"
@click="setFormInProgress(true)"
>
@@ -194,9 +190,3 @@ export default {
align-items: center;
}
</style>
<style scoped>
.border-ods-tmp-fix {
/* TODO: somehow the primary button receives a 2px border-width. remove it until we fix it in ODS. */
border-width: 0 !important;
}
</style>
@@ -2,7 +2,7 @@
<div>
<oc-table-simple id="accounts-user-list">
<oc-thead>
<oc-tr class="fix-table-header">
<oc-tr>
<oc-th shrink type="head" align-h="center">
<oc-checkbox
class="oc-ml-s"
@@ -58,9 +58,3 @@ export default {
}
}
</script>
<style scoped>
.fix-table-header > th {
text-transform: none;
}
</style>
@@ -18,7 +18,7 @@
<oc-td v-text="account.displayName || '-'" />
<oc-td v-text="account.mail" />
<oc-td>
<oc-button :id="`accounts-roles-select-trigger-${account.id}`" class="accounts-roles-select-trigger" variation="raw">
<oc-button :id="`accounts-roles-select-trigger-${account.id}`" class="accounts-roles-select-trigger" appearance="outline">
<span class="uk-flex uk-flex-middle accounts-roles-current-role">
{{ currentRole ? currentRole.displayName : $gettext('Select role') }}
<oc-icon name="expand_more" aria-hidden="true" />
+16
View File
@@ -0,0 +1,16 @@
/**
* This file contains strings that should be synced to transifex but not exist in the UI directly,
* moreover, they get loaded for example by API requests
*/
// just a dummy function to trick gettext tools
function $gettext (msg) {
return msg
}
// eslint-disable-next-line no-unused-vars
const dictionary = [
$gettext('Guest'),
$gettext('Admin'),
$gettext('User')
]
@@ -119,7 +119,7 @@ module.exports = {
locateStrategy: 'xpath'
},
roleInRolesDropdown: {
selector: '//label[contains(@class, "accounts-roles-dropdown-role")]/span[normalize-space()="%s"]',
selector: '//span[contains(@class, "accounts-roles-dropdown-role")]/label[normalize-space()="%s"]',
locateStrategy: 'xpath'
},
rolesDropdownTrigger: {
+3 -4
View File
@@ -29,9 +29,9 @@ trap clean_up SIGHUP SIGINT SIGTERM
if [ -z "$TEST_INFRA_DIRECTORY" ]
then
cleanup=true
testFolder=$(< /dev/urandom LC_CTYPE=C tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
testFolder=$(mktemp -d -p .)
printf "creating folder $testFolder for Test infrastructure setup\n\n"
export TEST_INFRA_DIRECTORY=$testFolder
export TEST_INFRA_DIRECTORY=$testFolder/tests
fi
clean_up() {
@@ -46,11 +46,10 @@ clean_up() {
trap clean_up SIGHUP SIGINT SIGTERM EXIT
cp -r "$WEB_PATH"/tests ./"$testFolder"
cp -r "$WEB_PATH"/tests "$testFolder"
export SERVER_HOST=${SERVER_HOST:-https://localhost:9200}
export BACKEND_HOST=${BACKEND_HOST:-https://localhost:9200}
export RUN_ON_OCIS='true'
export TEST_TAGS=${TEST_TAGS:-"not @skip"}
yarn run acceptance-tests "$1"
+425 -159
View File
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,4 @@
Enhancement: Add focus to input elements on login page
https://github.com/owncloud/ocis/pull/1792
https://github.com/owncloud/web/issues/4322
@@ -0,0 +1,5 @@
Enhancement: Improve accessibility to input elements on login page
https://github.com/owncloud/ocis/pull/1794
https://github.com/owncloud/ocis/pull/1811
https://github.com/owncloud/web/issues/4319
@@ -0,0 +1,8 @@
Enhancement: Add new build targets
Make build target `build` used to build a binary twice, the second occurrence having symbols for debugging. We split this step in two and added `build-all` and `build-debug` targets.
- `build-all` now behaves as the previous `build` target, it will generate 2 binaries, one for debug.
- `build-debug` will build a single binary for debugging.
https://github.com/owncloud/ocis/pull/1824
@@ -0,0 +1,10 @@
Enhancement: clarify expected failures
Some features, while covered by the ownCloud 10 acceptance tests, will not be implmented for now:
- blacklisted / ignored files, because ocis does not need to blacklist `.htaccess` files
- `OC-LazyOps` support was [removed from the clients](https://github.com/owncloud/client/pull/8398). We are thinking about [a state machine for uploads to properly solve that scenario and also list the state of files in progress in the web ui](https://github.com/owncloud/ocis/issues/214).
The expected failures files now have a dedicated _Won't fix_ section for these items.
https://github.com/owncloud/ocis/pull/1790
https://github.com/owncloud/client/pull/8398
https://github.com/owncloud/ocis/issues/214
@@ -0,0 +1,3 @@
Enhancement: Replace special character in login page title with a regular minus
https://github.com/owncloud/ocis/pull/1813
@@ -0,0 +1,6 @@
Bugfix: Fix thumbnail generation for jpegs
Images with the extension `.jpeg` were not properly supported.
https://github.com/owncloud/ocis/pull/1785
https://github.com/owncloud/ocis/issues/1490
@@ -0,0 +1,9 @@
Enhancement: File Logging
When running supervised, support for configuring all logs to a single log file:
`OCIS_LOG_FILE=/Users/foo/bar/ocis.log MICRO_REGISTRY=etcd bin/ocis server`
Supports directing log from single extensions to a log file:
`PROXY_LOG_FILE=/Users/foo/bar/proxy.log MICRO_REGISTRY=etcd bin/ocis proxy`
https://github.com/owncloud/ocis/pull/1816
@@ -0,0 +1,17 @@
Enhancement: Runtime Hostname and Port are now configurable
Without any configuration the ocis runtime will start on `localhost:9250` unless specified otherwise. Usage:
- `OCIS_RUNTIME_PORT=6061 bin/ocis server`
- overrides the oCIS runtime and starts on port 6061
- `OCIS_RUNTIME_PORT=6061 bin/ocis list`
- lists running extensions for the runtime on `localhost:6061`
All subcommands are updated and expected to work with the following environment variables:
```
OCIS_RUNTIME_HOST
OCIS_RUNTIME_PORT
```
https://github.com/owncloud/ocis/pull/1822
@@ -0,0 +1,5 @@
Enhancement: Generate thumbnails for .gif files
Added support for gifs to the thumbnails service.
https://github.com/owncloud/ocis/pull/1791
@@ -0,0 +1,5 @@
Enhancement: Tracing Refactor
Centralize tracing handling per extension.
https://github.com/owncloud/ocis/pull/1819
@@ -0,0 +1,11 @@
Enhancement: Update reva to v1.6.1-0.20210326165326-e8a00d9b2368
* quota querying and tree accounting [cs3org/reva#1405](https://github.com/cs3org/reva/pull/1405)
* Fix webdav file versions endpoint bugs [cs3org/reva#1526](https://github.com/cs3org/reva/pull/1526)
* Fix etag changing only once a second [cs3org/reva#1576](https://github.com/cs3org/reva/pull/1576)
* Trashbin API parity [cs3org/reva#1552](https://github.com/cs3org/reva/pull/1552)
* Signature authentication for public links [cs3org/reva#1590](https://github.com/cs3org/reva/pull/1590)
https://github.com/owncloud/ocis/pull/1683
https://github.com/cs3org/reva/pull/1405
https://github.com/owncloud/ocis/pull/1861
@@ -0,0 +1,8 @@
Change: Update ownCloud Web to v2.1.0
Tags: web
We updated ownCloud Web to v2.1.0. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/ocis/pull/1870
https://github.com/owncloud/web/releases/tag/v2.1.0
@@ -0,0 +1,6 @@
Enhancement: change default path for thumbnails
Changes the default path for thumbnails from `<os tmp dir>/ocis-thumbnails` to `/var/tmp/ocis/thumbnails`
https://github.com/owncloud/ocis/pull/1892
https://github.com/owncloud/ocis/issues/1891
@@ -0,0 +1,5 @@
Enhancement: Parse config on supervised mode with run subcommand
Currenntly it is not possible to parse a single config file from an extension when running on supervised mode.
https://github.com/owncloud/ocis/pull/1931
@@ -0,0 +1,7 @@
Enhancement: Update ODS in accounts & settings extension
The accounts and settings extensions were updated to reflect the
latest changes in the ownCloud design system. In addition, a couple of
quick wins in terms of accessibility are included.
https://github.com/owncloud/ocis/pull/1934
@@ -0,0 +1,7 @@
Bugfix: Fixes "unaligned 64-bit atomic operation" panic on 32-bit ARM
sync/cache had uint64s that were not 64-bit aligned causing panics
on 32-bit systems during atomic access
https://github.com/owncloud/ocis/pull/1888
https://github.com/owncloud/ocis/issues/1887
@@ -0,0 +1,3 @@
Enhancement: Add config for public share SQL driver
https://github.com/owncloud/ocis/pull/1916
@@ -0,0 +1,5 @@
Enhancement: Remove dead runtime code
When moving from the old runtime to the new one there were lots of files left behind that are essentially dead code and should be removed. The original code lives here github.com/refs/pman/ if someone finds it interesting to read.
https://github.com/owncloud/ocis/pull/1923
@@ -0,0 +1,3 @@
Enhancement: Add option to reading registry rules from json file
https://github.com/owncloud/ocis/pull/1917
@@ -0,0 +1,5 @@
Change: Make Protobuf package names unique
Introduce unique `package` and `go_package` names for our Protobuf definitions
https://github.com/owncloud/ocis/pull/1875
@@ -0,0 +1,11 @@
Enhancement: Update reva to v1.6.1-0.20210414111318-a4b5148cbfb2
* enforce quota (https://github.com/cs3org/reva/pull/1557)
* Make additional info attribute configureable (https://github.com/cs3org/reva/pull/1588)
* check ENOTDIR for readlink (https://github.com/cs3org/reva/pull/1597)
* Add wrappers for EOS and EOS Home storage drivers (https://github.com/cs3org/reva/pull/1624)
* eos: fixes for enabling file sharing (https://github.com/cs3org/reva/pull/1619)
* implement checksums in the owncloud storage driver (https://github.com/cs3org/reva/pull/1629)
https://github.com/owncloud/ocis/pull/1872
@@ -0,0 +1,8 @@
Change: Update ownCloud Web to v3.0.0
Tags: web
We updated ownCloud Web to v3.0.0. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/ocis/pull/1938
https://github.com/owncloud/web/releases/tag/v3.0.0
@@ -0,0 +1,6 @@
Enhancement: Added dictionary files
Added the dictionary.js file for package settings and accounts which contains strings
that should be synced to transifex but not exist in the UI directly.
https://github.com/owncloud/ocis/pull/2003
@@ -0,0 +1,3 @@
Enhancement: Introduce login form with h1 tag for screen readers only
https://github.com/owncloud/ocis/pull/1991
@@ -0,0 +1,5 @@
Bugfix: Fix STORAGE_METADATA_ROOT default value override
The way the value was being set ensured that it was NOT being overridden where it should have been. This patch ensures the correct loading order of values.
https://github.com/owncloud/ocis/pull/1956
@@ -0,0 +1,15 @@
Enhancement: User Deprovisioning for the OCS API
Use the CS3 API and Reva to deprovision users completely.
Two new environment variables introduced:
```
OCS_IDM_ADDRESS
OCS_STORAGE_USERS_DRIVER
```
`OCS_IDM_ADDRESS` is also an alias for `OCIS_URL`; allows the OCS service to mint jwt tokens for the authenticated user that will be read by the reva authentication middleware.
`OCS_STORAGE_USERS_DRIVER` determines how a user is deprovisioned. This kind of behavior is needed since every storage driver deals with deleting differently.
https://github.com/owncloud/ocis/pull/1962
@@ -0,0 +1,7 @@
Bugfix: Stop the supervisor if a service fails to start
Steps to make the supervisor fail:
`PROXY_HTTP_ADDR=0.0.0.0:9144 bin/ocis server`
https://github.com/owncloud/ocis/pull/1963
@@ -0,0 +1,5 @@
Enhancement: Support thumbnails for txt files
Implemented support for thumbnails for txt files in the thumbnails service.
https://github.com/owncloud/ocis/pull/1988
@@ -0,0 +1,11 @@
Enhancement: Update reva to v1.7.1-0.20210430154404-69bd21f2cc97
* Fix recycle to different locations (https://github.com/cs3org/reva/pull/1541)
* Fix user share as grantee in json backend (https://github.com/cs3org/reva/pull/1650)
* Introduce named services (https://github.com/cs3org/reva/pull/1509)
* Improve json marshalling of share protobuf messages (https://github.com/cs3org/reva/pull/1655)
* Cache resources from share getter methods in OCS (https://github.com/cs3org/reva/pull/1643)
* Fix public file shares (https://github.com/cs3org/reva/pull/1666)
https://github.com/owncloud/ocis/pull/2010
@@ -0,0 +1,10 @@
Enhancement: Update reva to v1.7.1-0.20210507160327-e2c3841d0dbc
* Add user profile picture to capabilities (https://github.com/cs3org/reva/pull/1694)
* Mint scope-based access tokens for RBAC (https://github.com/cs3org/reva/pull/1669)
* Add cache warmup strategy for OCS resource infos (https://github.com/cs3org/reva/pull/1664)
* Filter shares based on type in OCS (https://github.com/cs3org/reva/pull/1683)
https://github.com/owncloud/ocis/pull/2044
@@ -0,0 +1,8 @@
Change: Update ownCloud Web to v3.1.0
Tags: web
We updated ownCloud Web to v3.1.0. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/ocis/pull/2045
https://github.com/owncloud/web/releases/tag/v3.1.0
@@ -0,0 +1,5 @@
Enhancement: Use oc-select
Replace oc-drop with oc select in settings
https://github.com/owncloud/ocis/pull/1979
@@ -0,0 +1,5 @@
Enhancement: Set SameSite settings to Strict for Web
Changed SameSite settings to Strict for Web to prevent warnings in Firefox
https://github.com/owncloud/ocis/pull/2019
+1 -1
View File
@@ -7,5 +7,5 @@ The text in the paragraphs is written in past tense. The last section is a list
of issue URLs, PR URLs and other URLs. The first issue ID (or the first PR ID,
in case there aren't any issue links) is used as the primary ID.
https://github.com/owncloud/ocis/issues/1234
https://github.com/owncloud/ocis/pull/55555
https://github.com/owncloud/ocis/issues/1234
@@ -0,0 +1,44 @@
---
- name: continuous-deployment-ocis-wopi-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-wopi.latest.owncloud.works"
vars:
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
ref: master
docker_compose_path: deployments/examples/ocis_wopi
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: latest
OCIS_DOMAIN: ocis.ocis-wopi.latest.owncloud.works
OCIS_WOPISERVER_DOCKER_TAG: latest
CS3ORG_WOPISERVER_DOCKER_TAG: latest
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.latest.owncloud.works
COLLABORA_DOMAIN: collabora.ocis-wopi.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-wopi.latest.owncloud.works
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
OCIS_URL: ocis.ocis-wopi.latest.owncloud.works
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-wopi-latest
@@ -0,0 +1,44 @@
---
- name: continuous-deployment-ocis-wopi-released
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-wopi.released.owncloud.works"
vars:
docker_compose_projects:
- name: ocis
git_url: https://github.com/owncloud/ocis.git
ref: master
docker_compose_path: deployments/examples/ocis_wopi
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: 1
OCIS_DOMAIN: ocis.ocis-wopi.released.owncloud.works
OCIS_WOPISERVER_DOCKER_TAG: latest
CS3ORG_WOPISERVER_DOCKER_TAG: latest
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.released.owncloud.works
COLLABORA_DOMAIN: collabora.ocis-wopi.released.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-wopi.released.owncloud.works
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
OCIS_URL: ocis.ocis-wopi.released.owncloud.works
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-wopi-released
+1 -1
View File
@@ -32,5 +32,5 @@ LDAP_MANAGER_DOMAIN=
# If you want to use debugging and tracing with this stack,
# you need uncomment following line. Please see documentation at
# https://owncloud.github.io/ocis/deployment/monitoring-tracing/
# https://owncloud.dev/ocis/deployment/monitoring-tracing/
#COMPOSE_FILE=docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
Loaded 100 of 498 files, more files were not shown because too many files have changed in this diff. Show more