Compare commits

..
343 Commits
Author SHA1 Message Date
Phil Davis c2f154f7cd Automated changelog update [skip ci] 2021-01-22 11:37:47 +00:00
Phil Davis c18bae9061 Update WEB_COMMITID to latest 2021-01-22 12:36:41 +01:00
Ilja Neumann 30286fa434 Adjust expected failures 2021-01-22 12:36:41 +01:00
Ilja Neumann cf9dd65927 go mod tidy 2021-01-22 12:36:41 +01:00
Ilja Neumann 777c29fc35 Update reva to v1.5.1 2021-01-22 12:36:41 +01:00
Phil Davis 94edf1001a Merge pull request #1384 from owncloud/bump-core-commit-38325
[tests-only] Bump core commit id to include tests in core PR 38325
2021-01-22 14:12:46 +05:45
Phil Davis c7d369cb12 Bump core commit id to include tests in core PR 38325 2021-01-22 13:02:39 +05:45
Phil Davis 0f455e5eb2 Merge pull request #1383 from owncloud/bump-commit-ids-20210122
[tests-only] Bump commit ids for tests
2021-01-22 12:27:26 +05:45
Phil Davis 4836d558dc Bump commit ids for tests 2021-01-22 10:48:47 +05:45
Phil Davis e528631733 Automated changelog update [skip ci] 2021-01-21 15:50:43 +00:00
Phil Davis 90cfa1e031 Merge pull request #1375 from owncloud/add_volume_docker_image
add volume to docker image
2021-01-21 21:35:06 +05:45
Willy Kloucek 833d0e4d79 Merge branch 'master' into add_volume_docker_image 2021-01-21 16:00:03 +01:00
Willy Kloucek afe098e5b1 Automated changelog update [skip ci] 2021-01-21 14:38:30 +00:00
Willy Kloucek 6329d1bdac Merge pull request #1366 from owncloud/add_expose_docker_image
add expose to docker images
2021-01-21 15:37:52 +01:00
Willy Kloucek f21af25ce6 Merge branch 'master' into add_volume_docker_image 2021-01-21 15:11:48 +01:00
Willy Kloucek 49e806e157 add volume to docker image 2021-01-21 14:49:19 +01:00
Willy Kloucek 1a18a496b9 add expose to docker images 2021-01-21 19:23:07 +05:45
Phil Davis 27d1783587 Merge pull request #1371 from owncloud/gitignore-drone-yml
[tests-only] do not let someone accidentally commit a local .drone.yml
2021-01-21 19:21:12 +05:45
Phil Davis 50e9df7094 do not let someone accidentally commit a local .drone.yml 2021-01-21 17:28:50 +05:45
Phil Davis 1bc644fb00 Merge pull request #1369 from owncloud/bump-commit-ids-20210121
[tests-only] Bump commit ids for tests
2021-01-21 17:23:38 +05:45
Phil Davis a650453d94 Bump commit ids for tests 2021-01-21 16:15:28 +05:45
Hari Bhandari e51223b54a Merge pull request #1348 from owncloud/convert-to-md
[Tests-Only] Convert expected failure file to markdown
2021-01-21 11:38:15 +05:45
HariBhandari07 c4d4e53ec4 Remove passing scenarios and add failing scenarios to expected failure 2021-01-21 10:38:51 +05:45
HariBhandari07 6b071c6a0d Bump to the latest core and web commit 2021-01-21 10:38:51 +05:45
Phil Davis 1e72720512 Minor format and spelling in expected-failures 2021-01-21 10:38:51 +05:45
HariBhandari07 81dd9654fb Fix expected failure line number 2021-01-21 10:38:51 +05:45
HariBhandari07 192a847f2c [Tests-Only] Convert expected failure file to markdown 2021-01-21 10:38:51 +05:45
Phil Davis 1a857e4988 Merge pull request #1368 from owncloud/add-nightwatch-vrt-to-accounts
[tests-only] Add nightwatch-vrt to accounts package.json
2021-01-21 10:35:53 +05:45
Phil Davis ea9c11fabf Add nightwatch-vrt to accounts package.json 2021-01-21 09:00:59 +05:45
Florian Schade b1d0fbbd3e Automated changelog update [skip ci] 2021-01-20 23:05:36 +00:00
Florian Schade 03c1416a4a update roles cache to use sync.cache
add tests for roles cache
add changelog
use strings in sync cache tests
2021-01-21 00:04:25 +01:00
Florian Schade 03867f4230 Automated changelog update [skip ci] 2021-01-20 17:26:11 +00:00
Florian Schade 0aa389aa9e add changelog 2021-01-20 18:25:19 +01:00
Florian Schade 4f0d8b5e3c move k6 into cdperf
remove k6 from ci
2021-01-20 18:25:19 +01:00
Florian Schade f8891bd6e4 Automated changelog update [skip ci] 2021-01-20 14:42:25 +00:00
Florian Schade f004cc0e73 add changelog 2021-01-20 15:41:36 +01:00
Florian Schade 8c9f9b6dfc bump go version to 1.15 2021-01-20 15:41:36 +01:00
Phil Davis b0119f1c7f Merge pull request #1360 from owncloud/docs-typos
[docs-only] Fix typos in docs
2021-01-20 17:35:40 +05:45
Phil Davis 410a5082f1 Fix typos in docs 2021-01-20 16:43:02 +05:45
Florian Schade 42677b36c1 Automated changelog update [skip ci] 2021-01-19 22:27:36 +00:00
Florian Schade 873fbcb557 rename NRWMutex to NameRWMutex
update changelog
2021-01-19 23:23:41 +01:00
Florian Schade 4f80541b9f increase test timing cor sync.cache 2021-01-19 23:23:41 +01:00
Florian Schade af870e005e add more tests and benchmark for cache
refactor cache to use atomic uint
2021-01-19 23:23:41 +01:00
Florian Schade 806d000f22 update drone go images to webhippie/golang:1.15 2021-01-19 23:23:41 +01:00
Florian Schade f13530425a move cache to sync package
rollback indexer map
use sync.pool for cache entries
add tests for cache
remove main locks from nrwmutex and use sync.map and sync.pool instead
bump dockerfile go version
2021-01-19 23:23:41 +01:00
Florian Schade b81156fc57 add comments to NRWMutex 2021-01-19 23:23:41 +01:00
Florian Schade a02fb890f7 remove locking from accounts service
add a cached named rwlock pkg
use sync.map in the cache pkg
use named rwlock in indexer pkg
use sync.map in indexer pkg
remove husky
2021-01-19 23:23:41 +01:00
Phil Davis f97f0d7342 Merge pull request #1221 from owncloud/add-onlyoffice-docker
Add onlyoffice mount on docker-compose setup
2021-01-18 13:40:30 +05:45
Dipak Acharya 3e7c30d12a Add onlyoffice mount on docker-compose setup 2021-01-18 11:38:02 +05:45
Artur Neumann 840b353d03 Merge pull request #1213 from owncloud/core-commit-20200114
[tests-only] Bump core and web commit for tests
2021-01-18 09:08:35 +05:45
Phil Davis f579406619 Bump core and web commit ids
The latest web acceptance tests expect the expected-failures file to be
in Markdown format. So rename and reformat the expected-failures.
2021-01-16 21:07:14 +05:45
Phil Davis 2d67900657 Merge pull request #1219 from owncloud/pin_alpine_version
pin alpine version
2021-01-16 21:06:28 +05:45
Willy Kloucek 0a94540458 pin alpine version 2021-01-16 12:49:47 +01:00
Alex Unger c9c198279c Merge pull request #1211 from owncloud/gh-templates 2021-01-15 18:53:37 +01:00
Alex UngerandPhil Davis 72f3a7be8d Update .github/pull_request_template.md
Co-authored-by: Phil Davis <phil@jankaritech.com>
2021-01-15 15:53:08 +01:00
Michael Barz de292b2b7b change glob pattern 2021-01-14 20:11:21 +01:00
A.Unger a3ed0eaf87 codacy: ignore .github/ 2021-01-14 17:09:20 +01:00
A.Unger bc06091e79 add expected behavior step 2021-01-14 16:53:35 +01:00
Alex UngerandBenedikt Kulmann de50dd7d15 Apply suggestions from code review
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2021-01-14 16:27:32 +01:00
A.Unger af2773edb9 grammar 2021-01-14 13:20:34 +01:00
A.Unger 162bb48f01 stale bot act only on issues 2021-01-14 13:09:29 +01:00
A.Unger 2e8f6f8085 add config for stale boty 2021-01-14 13:05:05 +01:00
A.Unger 69e030b4d0 wording 2021-01-14 12:37:20 +01:00
A.Unger b88ebb300a use headers 2021-01-14 12:22:14 +01:00
A.Unger 27bbc785d3 add PULL_REQUEST_TEMPLATE 2021-01-14 10:21:46 +01:00
Alex Unger 9d753091f3 Update issue templates 2021-01-14 10:10:04 +01:00
Phil Davis 48ba063fc2 Merge pull request #1207 from owncloud/fix-sonar-exclude
fix sonar exclude for generated protobuf files
2021-01-14 12:14:25 +05:45
David Christofas 2f4fcfef2d fix sonar exclude for generated protobuf files 2021-01-14 11:06:42 +05:45
Artur Neumann 5035ec43bd Merge pull request #1208 from owncloud/bump-web-commit-id-20200114
[tests-only] Bump WEB commit id
2021-01-14 11:04:24 +05:45
Phil Davis baa2ede612 Bump WEB commit id 2021-01-14 09:30:37 +05:45
Artur Neumann 864ee52173 Merge pull request #1206 from owncloud/update-commit-ids-for-tests-20210113
[tests-only] Bump core and web commit ids for tests
2021-01-14 09:13:15 +05:45
Phil Davis 8062a01269 Adjust expected-failures 2021-01-14 00:45:38 +05:45
Phil Davis 249a3f27e7 Bump core and web commit ids for tests 2021-01-13 21:18:45 +05:45
David Christofas 9f00ff76ed Automated changelog update [skip ci] 2021-01-13 13:56:41 +00:00
David Christofas 133ecf4fb4 Merge pull request #1203 from owncloud/secure-state
generate cryptographically secure state token
2021-01-13 14:52:54 +01:00
David Christofas f230ea7fea generate cryptographically secure state token 2021-01-13 14:00:35 +01:00
Benedikt Kulmann 1721b78913 Automated changelog update [skip ci] 2021-01-13 11:55:01 +00:00
Benedikt Kulmann 638b7a1c9f Merge pull request #1191 from owncloud/update-web-1.0.1
Update web to 1.0.1
2021-01-13 12:54:19 +01:00
Phil Davis 32b1597ca5 Update tag reference in changelog 2021-01-13 15:57:45 +05:45
Benedikt Kulmann 2b00f833dd Adjust expected failures 2021-01-13 09:25:10 +01:00
Benedikt Kulmann 17a1d29d6a Fix server url for js client in accounts and settings 2021-01-13 09:23:49 +01:00
Benedikt Kulmann 20e150228c Adjust expected failures 2021-01-13 09:23:49 +01:00
Benedikt Kulmann ac63ab4b36 Update go.sum 2021-01-13 09:23:49 +01:00
Benedikt Kulmann e18d286e8a Fix server url usage in settings and accounts 2021-01-13 09:23:48 +01:00
Benedikt Kulmann 7ad4130ef7 Update web to 1.0.1 2021-01-13 09:23:48 +01:00
Michael Barz 8462799667 Merge pull request #1202 from owncloud/sonar-excludes
[Tests-Only] clean up sonar excludes
2021-01-12 22:40:42 +01:00
David Christofas 4701fdfccc Merge pull request #1181 from owncloud/dependabot/npm_and_yarn/accounts/axios-0.21.1
Bump axios from 0.19.2 to 0.21.1 in /accounts
2021-01-12 18:11:56 +01:00
dependabot[bot] 943b13b8d4 Bump axios from 0.19.2 to 0.21.1 in /accounts
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

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

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

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

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

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

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

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

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

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

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
---
exclude_paths:
- '.github/**'
- 'CHANGELOG.md'
- '**/CHANGELOG.md'
- 'changelog/**'
+7
View File
@@ -0,0 +1,7 @@
# The test runner source for API tests
CORE_COMMITID=ec99c594e90b83c8a3778834e31a5714df630ffc
CORE_BRANCH=master
# The test runner source for UI tests
WEB_COMMITID=5945833ca594c16d33514da74b3d2eb64d3560fd
WEB_BRANCH=master
+334 -447
View File
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -1 +1,2 @@
/onlyoffice/ @LukasHirt
/onlyoffice/ @LukasHirt
.drone.star @wkloucek @micbar @phil-davis @individual-it
+45
View File
@@ -0,0 +1,45 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: Type:Bug
assignees: ''
---
## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce
Steps to reproduce the behavior:
1.
2.
3.
## Expected behavior
A clear and concise description of what you expected to happen.
## Actual behavior
A clear and concise description of what happened.
## Setup
Please describe how you started the server and provide a list of relevant environment variables.
<details>
<p>
```console
OCIS_VERSION=vX.X.X
BRANCH=vX.X.X
STORAGE_FRONTEND_UPLOAD_DISABLE_TUS=false
```
</p>
</details>
## Additional context
Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for improving oCIS
title: ''
labels: Category:Feature, Topic:needs-triage
assignees: ''
---
## Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Describe the solution you'd like
A clear and concise description of what you want to happen.
## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
## Additional context
Add any other context or screenshots about the feature request here.
+57
View File
@@ -0,0 +1,57 @@
<!--
Thanks for submitting a change to ownCloud!
This is the bug tracker for the oCIS component. Find other components at https://github.com/owncloud/core/blob/master/.github/CONTRIBUTING.md#guidelines
For fixing potential security issues please see https://owncloud.org/security/
To make it possible for us to get your change reviewed and merged please carefully fill out the requested information below.
Please note that any kind of change needs first be submitted to the master branch which holds the next version of OCIS.
Please set the following labels:
- Set label "Status:Needs-Review" for review or "Status:In-Progress" if the PR still has open tasks.
- Assignment: assign to self
- Reviewers: pick at least one
-->
## Description
<!--- Describe your changes in detail -->
## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->
- Fixes <issue_link>
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
- test environment:
- test case 1:
- test case 2:
- ...
## Screenshots (if appropriate):
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Technical debt
- [ ] Tests only (no source changes)
## Checklist:
<!-- Tick the checkboxes when done. -->
<!-- Raise documentation ticket in owncloud.github.io/ -->
- [ ] Code changes
- [ ] Unit tests added
- [ ] Acceptance tests added
- [ ] Documentation ticket raised: <link>
+5 -51
View File
@@ -1,4 +1,6 @@
---
_extends: gh-labels
repository:
name: ocis
description: ':atom_symbol: ownCloud Infinite Scale Stack'
@@ -18,58 +20,10 @@ repository:
allow_rebase_merge: true
labels:
- name: bug
color: d73a4a
- name: OCIS-Fastlane
color: "#deadbf"
description: Something isn't working
- name: documentation
color: 0075ca
description: Improvements or additions to documentation
- name: duplicate
color: cfd3d7
description: This issue or pull request already exists
- name: enhancement
color: a2eeef
description: New feature or request
- name: good first issue
color: 7057ff
description: Good for newcomers
- name: help wanted
color: 008672
description: Extra attention is needed
- name: invalid
color: e4e669
description: This doesn't seem right
- name: question
color: d876e3
description: Further information is requested
- name: wontfix
color: ffffff
description: This will not be worked on
- name: effort/trivial
color: c2e0c6
description: Required effort to finish task
- name: effort/0.25d
color: c2e0c6
description: Required effort to finish task
- name: effort/0.5d
color: c2e0c6
description: Required effort to finish task
- name: effort/1d
color: c2e0c6
description: Required effort to finish task
- name: effort/2d
color: c2e0c6
description: Required effort to finish task
- name: effort/4d
color: c2e0c6
description: Required effort to finish task
- name: effort/5d
color: c2e0c6
description: Required effort to finish task
- name: effort/10d
color: c2e0c6
description: Required effort to finish task
teams:
- name: ci
permission: admin
+18
View File
@@ -0,0 +1,18 @@
only: issues
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 10
# Issues with these labels will never be considered stale
exemptLabels:
- "Type:Bug"
- "Type:Technical-Debt"
# Label to use when marking an issue as stale
staleLabel: "Status:Stale"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 10 days if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+3
View File
@@ -21,3 +21,6 @@ composer.lock
vendor
vendor-bin/**/vendor
vendor-bin/**/composer.lock
# drone CI is in .drone.star, do not let someone accidentally commit a local .drone.yml
.drone.yml
+347 -14
View File
@@ -1,4 +1,231 @@
# Changes in unreleased
# Changelog for [unreleased] (UNRELEASED)
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v1.0.0...master
## Summary
* Change - Disable pretty logging by default: [#1133](https://github.com/owncloud/ocis/pull/1133)
* Change - Add "volume" declaration to docker images: [#1375](https://github.com/owncloud/ocis/pull/1375)
* Change - Add "expose" information to docker images: [#1366](https://github.com/owncloud/ocis/pull/1366)
* Change - Generate cryptographically secure state token: [#1203](https://github.com/owncloud/ocis/pull/1203)
* Change - Move k6 to cdperf: [#1358](https://github.com/owncloud/ocis/pull/1358)
* Change - Update go version: [#1364](https://github.com/owncloud/ocis/pull/1364)
* Change - Update ownCloud Web to v1.0.1: [#1191](https://github.com/owncloud/ocis/pull/1191)
* Enhancement - Add OCIS_URL env var: [#1148](https://github.com/owncloud/ocis/pull/1148)
* Enhancement - Use sync.cache for roles cache: [#1367](https://github.com/owncloud/ocis/pull/1367)
* Enhancement - Add named locks and refactor cache: [#1212](https://github.com/owncloud/ocis/pull/1212)
* Enhancement - Update reva to v1.5.1: [#1372](https://github.com/owncloud/ocis/pull/1372)
* Enhancement - Update reva to v1.4.1-0.20210111080247-f2b63bfd6825: [#1194](https://github.com/owncloud/ocis/pull/1194)
## Details
* Change - Disable pretty logging by default: [#1133](https://github.com/owncloud/ocis/pull/1133)
Tags: ocis
Disable pretty logging default for performance reasons.
https://github.com/owncloud/ocis/pull/1133
* Change - Add "volume" declaration to docker images: [#1375](https://github.com/owncloud/ocis/pull/1375)
Tags: docker
Add "volume" declaration to docker images. This makes it easier for Docker users to see where
oCIS stores data.
https://github.com/owncloud/ocis/pull/1375
* Change - Add "expose" information to docker images: [#1366](https://github.com/owncloud/ocis/pull/1366)
Tags: docker
Add "expose" information to docker images. Docker users will now see that we offer services on
port 9200.
https://github.com/owncloud/ocis/pull/1366
* Change - Generate cryptographically secure state token: [#1203](https://github.com/owncloud/ocis/pull/1203)
Replaced Math.random with a cryptographically secure way to generate the oidc state token
using the javascript crypto api.
https://github.com/owncloud/ocis/pull/1203
https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random
* Change - Move k6 to cdperf: [#1358](https://github.com/owncloud/ocis/pull/1358)
Tags: performance, testing, k6
The ownCloud performance tests can not only be used to test ocis. This is why we have decided to
move the k6 tests to https://github.com/owncloud/cdperf
https://github.com/owncloud/ocis/pull/1358
* Change - Update go version: [#1364](https://github.com/owncloud/ocis/pull/1364)
Tags: go
Update go from 1.13 to 1.15
https://github.com/owncloud/ocis/pull/1364
* Change - Update ownCloud Web to v1.0.1: [#1191](https://github.com/owncloud/ocis/pull/1191)
Tags: web
We updated ownCloud Web to v1.0.1. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/1191
https://github.com/owncloud/web/releases/tag/v1.0.1
* Enhancement - Add OCIS_URL env var: [#1148](https://github.com/owncloud/ocis/pull/1148)
Tags: ocis
We introduced a new environment variable `OCIS_URL` that expects a URL including protocol,
host and optionally port to simplify configuring all the different services. These existing
environment variables still take precedence, but will also fall back to `OCIS_URL`:
`STORAGE_LDAP_IDP`, `STORAGE_OIDC_ISSUER`, `PROXY_OIDC_ISSUER`,
`STORAGE_FRONTEND_PUBLIC_URL`, `KONNECTD_ISS`, `WEB_OIDC_AUTHORITY`, and
`WEB_UI_CONFIG_SERVER`.
Some environment variables are now built dynamically if they are not set: -
`STORAGE_DATAGATEWAY_PUBLIC_URL` defaults to `<STORAGE_FRONTEND_PUBLIC_URL>/data`,
also falling back to `OCIS_URL` - `WEB_OIDC_METADATA_URL` defaults to
`<WEB_OIDC_AUTHORITY>/.well-known/openid-configuration`, also falling back to
`OCIS_URL`
Furthermore, the built in konnectd will generate an `identifier-registration.yaml` that
uses the `KONNECTD_ISS` in the allowed `redirect_uris` and `origins`. It simplifies the
default `https://localhost:9200` and remote deployment with `OCIS_URL` which is evaluated
as a fallback if `KONNECTD_ISS` is not set.
An OCIS server can now be started on a remote machine as easy as
`OCIS_URL=https://cloud.ocis.test PROXY_HTTP_ADDR=0.0.0.0:443 ocis server`.
Note that the `OCIS_DOMAIN` environment variable is not used by ocis, but by the docker
containers.
https://github.com/owncloud/ocis/pull/1148
* Enhancement - Use sync.cache for roles cache: [#1367](https://github.com/owncloud/ocis/pull/1367)
Tags: ocis-pkg
Update ocis-pkg/roles cache to use ocis-pkg/sync cache
https://github.com/owncloud/ocis/pull/1367
* Enhancement - Add named locks and refactor cache: [#1212](https://github.com/owncloud/ocis/pull/1212)
Tags: ocis-pkg, accounts
We had the case that we needed kind of a named locking mechanism which enables us to lock only
under certain conditions. It's used in the indexer package where we do not need to lock
everything, instead just lock the requested parts and differentiate between reads and
writes.
This made it possible to entirely remove locks from the accounts service and move them to the
ocis-pkg indexer. Another part of this refactor was to make the cache atomic and write tests for
it.
- remove locking from accounts service - add sync package with named mutex - add named locking to
indexer - move cache to sync package
https://github.com/owncloud/ocis/issues/966
https://github.com/owncloud/ocis/pull/1212
* Enhancement - Update reva to v1.5.1: [#1372](https://github.com/owncloud/ocis/pull/1372)
Summary -------
* Fix #1401: Use the user in request for deciding the layout for non-home DAV requests
* Fix #1413: Re-include the '.git' dir in the Docker images to pass the version tag
* Fix #1399: Fix ocis trash-bin purge
* Enh #1397: Bump the Copyright date to 2021
* Enh #1398: Support site authorization status in Mentix
* Enh #1393: Allow setting favorites, mtime and a temporary etag
* Enh #1403: Support remote cloud gathering metrics
Details -------
* Bugfix #1401: Use the user in request for deciding the layout for non-home DAV requests
For the incoming /dav/files/userID requests, we have different namespaces depending on
whether the request is for the logged-in user's namespace or not. Since in the storage drivers,
we specify the layout depending only on the user whose resources are to be accessed, this fails
when a user wants to access another user's namespace when the storage provider depends on the
logged in user's namespace. This PR fixes that.
For example, consider the following case. The owncloud fs uses a layout {{substr 0 1
.Id.OpaqueId}}/{{.Id.OpaqueId}}. The user einstein sends a request to access a resource
shared with him, say /dav/files/marie/abcd, which should be allowed. However, based on the
way we applied the layout, there's no way in which this can be translated to /m/marie/.
Https://github.com/cs3org/reva/pull/1401
* Bugfix #1413: Re-include the '.git' dir in the Docker images to pass the version tag
And git SHA to the release tool.
Https://github.com/cs3org/reva/pull/1413
* Bugfix #1399: Fix ocis trash-bin purge
Fixes the empty trash-bin functionality for ocis-storage
Https://github.com/owncloud/product/issues/254
https://github.com/cs3org/reva/pull/1399
* Enhancement #1397: Bump the Copyright date to 2021
Https://github.com/cs3org/reva/pull/1397
* Enhancement #1398: Support site authorization status in Mentix
This enhancement adds support for a site authorization status to Mentix. This way, sites
registered via a web app can now be excluded until authorized manually by an administrator.
Furthermore, Mentix now sets the scheme for Prometheus targets. This allows us to also support
monitoring of sites that do not support the default HTTPS scheme.
Https://github.com/cs3org/reva/pull/1398
* Enhancement #1393: Allow setting favorites, mtime and a temporary etag
We now let the ocis driver persist favorites, set temporary etags and the mtime as arbitrary
metadata.
Https://github.com/owncloud/ocis/issues/567
https://github.com/cs3org/reva/issues/1394
https://github.com/cs3org/reva/pull/1393
* Enhancement #1403: Support remote cloud gathering metrics
The current metrics package can only gather metrics either from json files. With this feature,
the metrics can be gathered polling the http endpoints exposed by the owncloud/nextcloud
sciencemesh apps.
Https://github.com/cs3org/reva/pull/1403
https://github.com/owncloud/ocis/pull/1372
* Enhancement - Update reva to v1.4.1-0.20210111080247-f2b63bfd6825: [#1194](https://github.com/owncloud/ocis/pull/1194)
* Enhancement: calculate and expose actual file permission set [cs3org/reva#1368](https://github.com/cs3org/reva/pull/1368)
* initial range request support [cs3org/reva#1326](https://github.com/cs3org/reva/pull/1388)
https://github.com/owncloud/ocis/pull/1194
https://github.com/cs3org/reva/pull/1368
https://github.com/cs3org/reva/pull/1388
# Changelog for [1.0.0] (2020-12-17)
The following sections list the changes for 1.0.0.
## Summary
@@ -19,12 +246,16 @@
* Bugfix - Serve index.html for directories: [#912](https://github.com/owncloud/ocis/pull/912)
* Bugfix - Don't create account if id/mail/username already taken: [#709](https://github.com/owncloud/ocis/pull/709)
* Bugfix - Fix director selection in proxy: [#521](https://github.com/owncloud/ocis/pull/521)
* Bugfix - Permission checks for settings write access: [#1092](https://github.com/owncloud/ocis/pull/1092)
* Bugfix - Fix minor ui bugs: [#1043](https://github.com/owncloud/ocis/issues/1043)
* Bugfix - Disable public link expiration by default: [#987](https://github.com/owncloud/ocis/issues/987)
* Bugfix - Build docker images with alpine:latest instead of alpine:edge: [#416](https://github.com/owncloud/ocis/pull/416)
* Change - Accounts UI shows message when no permissions: [#656](https://github.com/owncloud/ocis/pull/656)
* Change - Cache password validation: [#958](https://github.com/owncloud/ocis/pull/958)
* Change - Filesystem based index: [#709](https://github.com/owncloud/ocis/pull/709)
* Change - Rebuild index command for accounts: [#748](https://github.com/owncloud/ocis/pull/748)
* Change - Add the thumbnails command: [#156](https://github.com/owncloud/ocis/issues/156)
* Change - CS3 can be used as accounts-backend: [#1020](https://github.com/owncloud/ocis/pull/1020)
* Change - Use bcrypt to hash the user passwords: [#510](https://github.com/owncloud/ocis/issues/510)
* Change - Replace the library which scales the images: [#910](https://github.com/owncloud/ocis/pull/910)
* Change - Choose disk or cs3 storage for accounts and groups: [#623](https://github.com/owncloud/ocis/pull/623)
@@ -35,6 +266,7 @@
* Change - Add cli-commands to manage accounts: [#115](https://github.com/owncloud/product/issues/115)
* Change - Start ocis-accounts with the ocis server command: [#25](https://github.com/owncloud/product/issues/25)
* Change - Properly style konnectd consent page: [#754](https://github.com/owncloud/ocis/pull/754)
* Change - Make all paths configurable and default to a common temp dir: [#1080](https://github.com/owncloud/ocis/pull/1080)
* Change - Move the indexer package from ocis/accounts to ocis/ocis-pkg: [#794](https://github.com/owncloud/ocis/pull/794)
* Change - Switch over to a new custom-built runtime: [#287](https://github.com/owncloud/ocis/pull/287)
* Change - Move ocis default config to root level: [#842](https://github.com/owncloud/ocis/pull/842)
@@ -57,10 +289,13 @@
* Change - Update phoenix to v0.26.0: [#935](https://github.com/owncloud/ocis/pull/935)
* Change - Update phoenix to v0.27.0: [#943](https://github.com/owncloud/ocis/pull/943)
* Change - Update phoenix to v0.28.0: [#1027](https://github.com/owncloud/ocis/pull/1027)
* Change - Update phoenix to v0.29.0: [#1034](https://github.com/owncloud/ocis/pull/1034)
* Change - Update reva config: [#336](https://github.com/owncloud/ocis/pull/336)
* Change - Update reva to v1.4.1-0.20201209113234-e791b5599a89: [#1089](https://github.com/owncloud/ocis/pull/1089)
* Change - Clarify storage driver env vars: [#729](https://github.com/owncloud/ocis/pull/729)
* Change - Update ownCloud Web to v1.0.0-beta3: [#1105](https://github.com/owncloud/ocis/pull/1105)
* Change - Update ownCloud Web to v1.0.0-beta4: [#1110](https://github.com/owncloud/ocis/pull/1110)
* Change - Settings and accounts appear in the user menu: [#656](https://github.com/owncloud/ocis/pull/656)
* Change - Caching for static web assets: [#866](https://github.com/owncloud/ocis/pull/866)
* Enhancement - Add tracing to the accounts service: [#1016](https://github.com/owncloud/ocis/issues/1016)
* Enhancement - Add the accounts service: [#244](https://github.com/owncloud/product/issues/244)
* Enhancement - Add basic auth option: [#627](https://github.com/owncloud/ocis/pull/627)
@@ -89,6 +324,8 @@
* Enhancement - Create a proxy access-log: [#889](https://github.com/owncloud/ocis/pull/889)
* Enhancement - Cache userinfo in proxy: [#877](https://github.com/owncloud/ocis/pull/877)
* Enhancement - Update reva to v1.4.1-0.20201125144025-57da0c27434c: [#1320](https://github.com/cs3org/reva/pull/1320)
* Enhancement - Runtime Cleanup: [#1066](https://github.com/owncloud/ocis/pull/1066)
* Enhancement - Update OCIS Runtime: [#1108](https://github.com/owncloud/ocis/pull/1108)
* Enhancement - Simplify tracing config: [#92](https://github.com/owncloud/product/issues/92)
* Enhancement - Update glauth to dev fd3ac7e4bbdc93578655d9a08d8e23f105aaa5b2: [#834](https://github.com/owncloud/ocis/pull/834)
* Enhancement - Update glauth to dev 4f029234b2308: [#786](https://github.com/owncloud/ocis/pull/786)
@@ -98,6 +335,7 @@
* Enhancement - Update reva to cdb3d6688da5: [#748](https://github.com/owncloud/ocis/pull/748)
* Enhancement - Update reva to dd3a8c0f38: [#725](https://github.com/owncloud/ocis/pull/725)
* Enhancement - Update reva to v1.4.1-0.20201127111856-e6a6212c1b7b: [#971](https://github.com/owncloud/ocis/pull/971)
* Enhancement - Update reva to 063b3db9162b: [#1091](https://github.com/owncloud/ocis/pull/1091)
* Enhancement - Add www-authenticate based on user agent: [#1009](https://github.com/owncloud/ocis/pull/1009)
## Details
@@ -250,6 +488,35 @@
https://github.com/owncloud/ocis/pull/521
https://github.com/owncloud/ocis-proxy/pull/99
* Bugfix - Permission checks for settings write access: [#1092](https://github.com/owncloud/ocis/pull/1092)
Tags: settings
There were several endpoints with write access to the settings service that were not protected
by permission checks. We introduced a generic settings management permission to fix this for
now. Will be more fine grained later on.
https://github.com/owncloud/ocis/pull/1092
* Bugfix - Fix minor ui bugs: [#1043](https://github.com/owncloud/ocis/issues/1043)
- the ui haven't updated the language of the items in the settings view menu. Now we listen to the
selected language and update the ui - deduplicate resetMenuItems call
https://github.com/owncloud/ocis/issues/1043
https://github.com/owncloud/ocis/pull/1044
* Bugfix - Disable public link expiration by default: [#987](https://github.com/owncloud/ocis/issues/987)
Tags: storage
The public link expiration was enabled by default and didn't have a default expiration span by
default, which resulted in already expired public links coming from the public link quick
action. We fixed this by disabling the public link expiration by default.
https://github.com/owncloud/ocis/issues/987
https://github.com/owncloud/ocis/pull/1035
* Bugfix - Build docker images with alpine:latest instead of alpine:edge: [#416](https://github.com/owncloud/ocis/pull/416)
Tags: docker
@@ -312,6 +579,17 @@
https://github.com/owncloud/ocis/issues/156
* Change - CS3 can be used as accounts-backend: [#1020](https://github.com/owncloud/ocis/pull/1020)
Tags: proxy
PROXY_ACCOUNT_BACKEND_TYPE=cs3 PROXY_ACCOUNT_BACKEND_TYPE=accounts (default)
By using a backend which implements the CS3 user-api (currently provided by reva/storage) it
is possible to bypass the ocis-accounts service and for example use ldap directly.
https://github.com/owncloud/ocis/pull/1020
* Change - Use bcrypt to hash the user passwords: [#510](https://github.com/owncloud/ocis/issues/510)
Change the hashing algorithm from SHA-512 to bcrypt since the latter is better suitable for
@@ -400,6 +678,13 @@
https://github.com/owncloud/ocis/pull/754
* Change - Make all paths configurable and default to a common temp dir: [#1080](https://github.com/owncloud/ocis/pull/1080)
Aligned all services to use a dir following`/var/tmp/ocis/<service>/...` by default. Also
made some missing temp paths configurable via env vars and config flags.
https://github.com/owncloud/ocis/pull/1080
* Change - Move the indexer package from ocis/accounts to ocis/ocis-pkg: [#794](https://github.com/owncloud/ocis/pull/794)
We are making that change for semantic reasons. So consumers of any index don't necessarily
@@ -632,6 +917,16 @@
https://github.com/owncloud/ocis/pull/1027
https://github.com/owncloud/phoenix/releases/tag/v0.28.0
* Change - Update phoenix to v0.29.0: [#1034](https://github.com/owncloud/ocis/pull/1034)
Tags: web
We updated phoenix to v0.29.0. Please refer to the changelog (linked) for details on the
phoenix release.
https://github.com/owncloud/ocis/pull/1034
https://github.com/owncloud/phoenix/releases/tag/v0.29.0
* Change - Update reva config: [#336](https://github.com/owncloud/ocis/pull/336)
* EOS homes are not configured with an enable-flag anymore, but with a dedicated storage driver.
@@ -642,6 +937,12 @@
https://github.com/owncloud/ocis/pull/338
https://github.com/owncloud/ocis-reva/pull/891
* Change - Update reva to v1.4.1-0.20201209113234-e791b5599a89: [#1089](https://github.com/owncloud/ocis/pull/1089)
Updated reva to v1.4.1-0.20201209113234-e791b5599a89
https://github.com/owncloud/ocis/pull/1089
* Change - Clarify storage driver env vars: [#729](https://github.com/owncloud/ocis/pull/729)
After renaming ocsi-reva to storage and combining the storage and data providers some env vars
@@ -652,24 +953,32 @@
https://github.com/owncloud/ocis/pull/729
* Change - Update ownCloud Web to v1.0.0-beta3: [#1105](https://github.com/owncloud/ocis/pull/1105)
Tags: web
We updated ownCloud Web to v1.0.0-beta3. Please refer to the changelog (linked) for details on
the web release.
https://github.com/owncloud/ocis/pull/1105
https://github.com/owncloud/phoenix/releases/tag/v1.0.0-beta3
* Change - Update ownCloud Web to v1.0.0-beta4: [#1110](https://github.com/owncloud/ocis/pull/1110)
Tags: web
We updated ownCloud Web to v1.0.0-beta4. Please refer to the changelog (linked) for details on
the web release.
https://github.com/owncloud/ocis/pull/1110
https://github.com/owncloud/phoenix/releases/tag/v1.0.0-beta4
* Change - Settings and accounts appear in the user menu: [#656](https://github.com/owncloud/ocis/pull/656)
We moved settings and accounts to the user menu.
https://github.com/owncloud/ocis/pull/656
* Change - Caching for static web assets: [#866](https://github.com/owncloud/ocis/pull/866)
Tags: accounts, settings, web
We now set http caching headers for static web assets, so that they don't get force-reloaded on
each request. The max-age for the caching is configurable and defaults to 7 days. The last
modified date of the assets is set to the service start date, so that a service restart results in
cache invalidation.
https://github.com/owncloud/ocis/pull/866
https://github.com/owncloud/ocis/pull/934
* Enhancement - Add tracing to the accounts service: [#1016](https://github.com/owncloud/ocis/issues/1016)
Added tracing to the accounts service.
@@ -1765,6 +2074,22 @@
https://github.com/cs3org/reva/pull/1320
https://github.com/cs3org/reva/pull/1338
* Enhancement - Runtime Cleanup: [#1066](https://github.com/owncloud/ocis/pull/1066)
Small runtime cleanup prior to Tech Preview release
https://github.com/owncloud/ocis/pull/1066
* Enhancement - Update OCIS Runtime: [#1108](https://github.com/owncloud/ocis/pull/1108)
- enhances the overall behavior of our runtime - runtime `db` file configurable - two new env
variables to deal with the runtime - `RUNTIME_DB_FILE` and `RUNTIME_KEEP_ALIVE` -
`RUNTIME_KEEP_ALIVE` defaults to `false` to provide backwards compatibility - if
`RUNTIME_KEEP_ALIVE` is set to `true`, if a supervised process terminates the runtime will
attempt to start with the same environment provided.
https://github.com/owncloud/ocis/pull/1108
* Enhancement - Simplify tracing config: [#92](https://github.com/owncloud/product/issues/92)
We now apply the oCIS tracing config to all services which have tracing. With this it is possible
@@ -1865,6 +2190,14 @@
https://github.com/cs3org/reva/pull/1331
https://github.com/cs3org/reva/pull/1342
* Enhancement - Update reva to 063b3db9162b: [#1091](https://github.com/owncloud/ocis/pull/1091)
- bring public link removal changes to OCIS. - fix subcommand name collision from renaming
phoenix -> web.
https://github.com/owncloud/ocis/issues/1098
https://github.com/owncloud/ocis/pull/1091
* Enhancement - Add www-authenticate based on user agent: [#1009](https://github.com/owncloud/ocis/pull/1009)
Tags: reva, proxy
+2 -2
View File
@@ -1,11 +1,11 @@
FROM golang:alpine as build
FROM webhippie/golang:1.15 as build
COPY ./ /ocis/
ENV CGO_ENABLED=0
ENV GOOS=linux
RUN apk update && \
apk upgrade && \
apk upgrade --ignore musl-dev && \
apk add make gcc bash && \
rm -rf /var/cache/apk/*
+71 -5
View File
@@ -1,18 +1,65 @@
SHELL := bash
# define standard colors
BLACK := $(shell tput -Txterm setaf 0)
RED := $(shell tput -Txterm setaf 1)
GREEN := $(shell tput -Txterm setaf 2)
YELLOW := $(shell tput -Txterm setaf 3)
LIGHTPURPLE := $(shell tput -Txterm setaf 4)
PURPLE := $(shell tput -Txterm setaf 5)
BLUE := $(shell tput -Txterm setaf 6)
WHITE := $(shell tput -Txterm setaf 7)
RESET := $(shell tput -Txterm sgr0)
OCIS_MODULES = \
accounts \
glauth \
konnectd \
ocis \
ocis-pkg \
ocs \
onlyoffice \
proxy \
settings \
storage \
store \
thumbnails \
web \
webdav
.PHONY: help
help:
@echo "Please use 'make <target>' where <target> is one of the following:"
@echo
@echo -e "Testing:\n"
@echo -e "make test-acceptance-api\trun API acceptance tests"
@echo -e "make clean-tests\t\tdelete API tests framework dependencies"
@echo -e "${GREEN}Testing with test suite natively installed:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/testing/#testing-with-test-suite-natively-installed${RESET}\n"
@echo -e "\tmake test-acceptance-api\t${BLUE}run API acceptance tests${RESET}"
@echo -e "\tmake clean-tests\t\t${BLUE}delete API tests framework dependencies${RESET}"
@echo
@echo -e "${BLACK}---------------------------------------------------------${RESET}"
@echo
@echo -e "${RED}You also should have a look at other available Makefiles:${RESET}"
@echo
@echo -e "${GREEN}oCIS:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/building/${RESET}\n"
@echo -e "\tsee ./ocis/Makefile"
@echo -e "\tor run ${YELLOW}make -C ocis help${RESET}"
@echo
@echo -e "${GREEN}Documentation:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/building-docs/${RESET}\n"
@echo -e "\tsee ./docs/Makefile"
@echo -e "\tor run ${YELLOW}make -C docs help${RESET}"
@echo
@echo -e "${GREEN}Testing with test suite in docker:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.github.io/ocis/development/testing/#testing-with-test-suite-in-docker${RESET}\n"
@echo -e "\tsee ./tests/acceptance/docker/Makefile"
@echo -e "\tor run ${YELLOW}make -C tests/acceptance/docker help${RESET}"
@echo
@echo -e "See the Makefile in the ocis folder for other build and test targets"
.PHONY: clean-tests
clean-tests:
rm -Rf vendor-bin/**/vendor vendor-bin/**/composer.lock
@rm -Rf vendor-bin/**/vendor vendor-bin/**/composer.lock tests/acceptance/output
BEHAT_BIN=vendor-bin/behat/vendor/bin/behat
@@ -31,3 +78,22 @@ vendor-bin/behat/composer.lock: vendor-bin/behat/composer.json
composer.lock: composer.json
@echo composer.lock is not up to date.
.PHONY: go-mod-tidy
go-mod-tidy:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod go-mod-tidy; \
done
.PHONY: test
test:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod test; \
done
.PHONY: go-coverage
go-coverage:
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
@for mod in $(OCIS_MODULES); do \
echo -n "% coverage $$mod: "; $(MAKE) --no-print-directory -C $$mod go-coverage; \
done
+5 -5
View File
@@ -1,12 +1,12 @@
# ownCloud Infinite Scale
[![Rocket chat](https://img.shields.io/badge/Chat%20on%20Rocket.Chat-blue?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSItDnaQIpKhOlkQFemoVShChVArtOpgcv2EJg1Jiouj4Fpw8GOx6uDirKuDqyAIfoA4OTopukiJ/0sKLWI8OO7Hu3uPu3eA0Kwy1eyZAFTNMtLJhJjNrYqBVwQxghDiiMjM1OckKQXP8XUPH1/vYjzL+9yfI5QvmAzwicSzTDcs4g3imU1L57xPHGZlOU98Tjxu0AWJH7muuPzGueSwwDPDRiY9TxwmFktdrHQxKxsq8TRxNK9qlC9kXc5z3uKsVuusfU/+wmBBW1nmOs1hJLGIJUgQoaCOCqqwEKNVI8VEmvYTHv6I45fIpZCrAkaOBdSgQnb84H/wu1uzODXpJgUTQO+LbX+MAoFdoNWw7e9j226dAP5n4Err+GtNIP5JeqOjRY+AgW3g4rqjKXvA5Q4w9KTLhuxIfppCsQi8n9E35YDBW6B/ze2tvY/TByBDXaVugINDYKxE2ese7+7r7u3fM+3+fgDAvHLGj7r9AwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+QMHg05Mvq8cfAAAAAGYktHRAD/AP8A/6C9p5MAAAcbSURBVGje7VlpTFRXGLU0NmmNpuma9IciCCKCQDTuxqQWkrrTNJAal6Y2ECyoURONRBPXuBujVpsYiys1qUH7w8QVjQnVP9Zqq3Y2FgcQmIEBBpgZmPl6vvveLG94D2ZAFhNvcsIwb5nv3G87994hQ970oY+OjgaygR3AWmAyMPRNIjAV+A8gGQ3AKX1U1Nf60aNTgVn4nIDvPgLeGYwE3gd+ATwBJBhuQ2xshyEuzmWIiWnQRUY+0o0adRBkUvQxMRGDicAHwLkg4xUwTJtG5RkZVDZnDunHjKmCV3JB4r3BQyIq6jgM83RFQhCZNIlMqamkj41txzO/47tcYBWwApgHJAGfABH96YGxMMbMxnVHoAsweRdgBf4GfgW+A77AxPRt3ugjIzONycmO+qIiMqal9YxAVBThPYQcIYSX9H90dDvwFNjIRPqWQFKSo+3RI7Jev84xHjaBMuRHdX4+mVesoNJZs0gfFyeRkIiwd2qAQmA1sBhIAT4F3n0dIRSLH9LVbd9OzpqaHnvBMGMG6ZOSQrmXPVMve+cikANwme55UYDb1xri413VO3aQITm5N7nQ0/x5BXBR+Bb4sEdeQJ2vN0ycKNxuGDeuV3kggM96GbqA78V3UmipwQHcAzK4vIdTRvNQ16UyGhtLtbt2hRZKsnGGsWOpFL3iZXo6Va9aRbVbt5LlwAGyHj0qwJ9rt2yhqpwcqli8mExTp4pnfCQ7v7tVzpmEUGZ/GmD2GmReupScZjOV4ce0ZloYDS9VLFpEdbt3k/3GDXKZTORuaiLq6CCt4cE1vsdpNJIdBaNu506qWLBAvEun7hmWON902VdwMQoo8j5ku3CB2hsbqSw7W3XGjRMmUHVuLtlv3aKOhgbq1fB4qKO+XpBh7xgTE9U8wr0lq8uKhYs/i9hPSKCWBw+kchpYUXhmUF7Ny5ZRy7175HE66XUPj8NB9uJiMi9Z4v9NPwkb8H1IBCznz5ORNY/3YTQmnhnr4cO9n/EQBnvEsn+/sCWIRCUwW4vAJu+NprlzFTNvTEmhxkuXRPz21/C0t4tQNnIUKEkUs9ZSI/AlYFfczB6JjyfbuXMiVvt9uN3UcPo0GbxdXbKrA/hJjcAIoESRPAidmk2b+iTeQ/ZEWxu9Wr9e0ld+2x7w4kqNxInA2S+dPp0cz5/TQA/H06dkmjIl0AstQGqw8RFy4xA3cU1+tWGDcKNWorF7azZuJFtBQefkxnMt9++LhlaHpuh48qTTO9orK8l67JjwctPly+RubdXMh+o1a6Q+4fdCfjCB4bJrfDc1FhaqvxAhVbN5s9TQWBrgLxvqcbl897TcvUsmrC+88oFXcs4XL/z8bDaqWrnSJzGwdKX6Eyc0vWA7cyY4mQuMgesMfPEZ8MynLJE4bITacBoMZJo82R+X+MsywlVW5ruHPaMbOZICPVp/8qTvemtJiSgQXqP4esX8+Zpl2n7zpiAZQOAPxc6JrM3/DYUASwY2WEFg5kxyVVT4CcBDgQS4uzacOuUn8PAhGcaPVxKALHFDAagSgFTpjgCH0F+KELp4UTMmWf9A/EkhhBdb9u1TaCA2kEl5VSnrHSbuCyG7XcS1NwyZjO3s2V6FEC/EyxVJjPKlJczczc3UdOWKMLzp6lVhULDGaXv8mKxHjojQYfHWqRBYLGTDJHHXtd++rVmuRRKvXh2cxJsDjR8GHFfsC3EZRZg4nj0b+DKKCiZyTllGvwre2MqQ48qlaGRIRhZZA9rI1q0LbmQlWo1sKHBSISWg0zn+tPpBn0sJJL6KlMjpSpXGKfZJWcxhjcw9gWOx32YePYWTWkXM3QI+7m6FthxoVshpLGLsd+70i/Gc3JY9exRlVsZLYGYoS0wOpW3y9odUlVDqeD3Q1/HOqzxzZqbagoa3YZaGs0sxCigNJMD7Rq/fao+Y8eZr16gqK0taxHReUtYBP2BFGBEOgZEKAnip5dAhTZdz13bq9aKTdpUrfI11EN/LRtdu20bl8+aJRNVY1LO8WRiW8TKB2Yo8wHq4qaios/G1tVSdlycMYMnLcqAqO5tq8vPJsnevCDsGxzTLC57lioULJXmMDi6MVpbIwFrPW/7jerrduDewEvE+jlOnU2qi8nJhkG8PVGVjS4HQNrbagNtAOvennho/Pjh8uJV75TKHAYcMz7bG7IULt7xgL5Q3fkf09ripQNEHEhOlPSCrlVqKi8VCh3uDivFtgZWrC7jkxGTxeAb4Ue4/vTtYNEDdydvfjuBGVrl8OZWnpUkaXj0E/gQWyDOYB2wHDssa6xhwENgqn4bOBxLFoWG4ydnN7LMesmhtJWqEC8/mb3xUO9AHfXy+VR1m3D6X9/aHD4aTSj4xOQr8I/aHOh+5eoVUrVwl1nCzG2znxbwz8bncA7JkOcGxu0/eucuUY3fYkLfj7Xg7Bs34HwoINZEQp4aVAAAAAElFTkSuQmCC)](https://talk.owncloud.com/channel/infinitescale)
[![Build Status](https://drone.owncloud.com/api/badges/owncloud/ocis/status.svg)](https://drone.owncloud.com/owncloud/ocis)
[![Gitter chat](https://badges.gitter.im/cs3org/reva.svg)](https://gitter.im/cs3org/reva)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/dc97ddfa167641d8b107e9b618823c71)](https://www.codacy.com/gh/owncloud/ocis/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=owncloud/ocis&amp;utm_campaign=Badge_Grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/dc97ddfa167641d8b107e9b618823c71)](https://www.codacy.com/gh/owncloud/ocis/dashboard?utm_source=github.com&utm_medium=referral&utm_content=owncloud/ocis&utm_campaign=Badge_Coverage)
[![Go Doc](https://godoc.org/github.com/owncloud/ocis?status.svg)](http://godoc.org/github.com/owncloud/ocis)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=security_rating)](https://sonarcloud.io/dashboard?id=owncloud_ocis)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=coverage)](https://sonarcloud.io/dashboard?id=owncloud_ocis)
[![Go Report](https://goreportcard.com/badge/github.com/owncloud/ocis)](https://goreportcard.com/report/github.com/owncloud/ocis)
[![](https://images.microbadger.com/badges/image/owncloud/ocis.svg)](https://hub.docker.com/r/owncloud/ocis "oCIS docker image")
[![Go Doc](https://godoc.org/github.com/owncloud/ocis?status.svg)](http://godoc.org/github.com/owncloud/ocis)
[![oCIS docker image](https://img.shields.io/docker/v/owncloud/ocis?label=oCIS%20docker%20image&logo=docker&sort=semver)](https://hub.docker.com/r/owncloud/ocis)
**ownCloud Infinite Scale is currently in a technical preview state. It will be subject to a lot of changes and is not yet ready for general production deployments.**
+9
View File
@@ -64,6 +64,10 @@ clean:
go clean -i ./...
rm -rf $(BIN) $(DIST) $(HUGO)
.PHONY: go-mod-tidy
go-mod-tidy:
@go mod tidy
.PHONY: fmt
fmt:
gofmt -s -w $(SOURCES)
@@ -92,6 +96,11 @@ changelog:
test:
go run github.com/haya14busa/goverage -v -coverprofile coverage.out $(PACKAGES)
.PHONY: go-coverage
go-coverage:
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
@go tool cover -func coverage.out | tail -1 | grep -Eo "[0-9]+\.[0-9]+"
.PHONY: install
install: $(SOURCES)
go install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' ./cmd/$(NAME)
+2 -2
View File
@@ -1,13 +1,13 @@
module github.com/owncloud/ocis/accounts
go 1.13
go 1.15
require (
contrib.go.opencensus.io/exporter/jaeger v0.2.1
contrib.go.opencensus.io/exporter/ocagent v0.6.0
contrib.go.opencensus.io/exporter/zipkin v0.1.1
github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21
github.com/cs3org/reva v1.4.1-0.20201203135805-655c9babdc3f
github.com/cs3org/reva v1.5.1
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
+17 -10
View File
@@ -67,6 +67,8 @@ github.com/Microsoft/hcsshim v0.8.7-0.20191101173118-65519b62243c/go.mod h1:7xhj
github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/OpenDNS/vegadns2client v0.0.0-20180418235048-a3fa4a771d87/go.mod h1:iGLljf5n9GjT6kc0HBvyI1nOKnGQbNB66VzSNbK5iks=
github.com/ReneKroon/ttlcache/v2 v2.1.0 h1:5GQZXf7Pl68S4O/Mps4kAXQ+ObEqwHskC8WKT77mHiQ=
github.com/ReneKroon/ttlcache/v2 v2.1.0/go.mod h1:0E5EIhFJrGmcn/niHrqnnvQHvihj+DdPzJlOEzBS3o4=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
github.com/UnnoTed/fileb0x v1.1.4 h1:IUgFzgBipF/ujNx9wZgkrKOF3oltUuXMSoaejrBws+A=
@@ -104,8 +106,7 @@ github.com/aws/aws-sdk-go v1.20.1/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN
github.com/aws/aws-sdk-go v1.23.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.34.12 h1:7UbBEYDUa4uW0YmRnOd806MS1yoJMcaodBWDzvBShAI=
github.com/aws/aws-sdk-go v1.34.12/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/aws/aws-sdk-go v1.35.23 h1:SCP0d0XvyJTDmfnHEQPvBaYi3kea1VNUo7uQmkVgFts=
github.com/aws/aws-sdk-go v1.35.23/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
github.com/aws/aws-sdk-go v1.35.27 h1:F0dUW+kouzchjt4X6kYfYMw1YtQPkA4pihpCDqQMrq8=
github.com/aws/aws-sdk-go v1.35.27/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
github.com/baiyubin/aliyun-sts-go-sdk v0.0.0-20180326062324-cfa1a18b161f/go.mod h1:AuiFmCCPBSrqvVMvuqFuk0qogytodnVFVSN5CeJB8Gc=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
@@ -184,14 +185,10 @@ github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21 h1:mZpylrgnCgSea
github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21/go.mod h1:UXha4TguuB52H14EMoSsCqDj7k8a/t7g4gVP+bgY5LY=
github.com/cs3org/reva v1.2.2-0.20200924071957-e6676516e61e h1:khITGSnfDXtByQsLezoXgocUgGHJBBn0BPsUihGvk7w=
github.com/cs3org/reva v1.2.2-0.20200924071957-e6676516e61e/go.mod h1:DOV5SjpOBKN+aWfOHLdA4KiLQkpyC786PQaXEdRAZ0M=
github.com/cs3org/reva v1.4.1-0.20201130061320-ac85e68e0600 h1:4CKU+R4UNvILzsPrcAFwEbk/8Hc6vJqwO7SxK0gAm4I=
github.com/cs3org/reva v1.4.1-0.20201130061320-ac85e68e0600/go.mod h1:MTBlfobTE8W2hgXQ9+r+75jpJa1TxD04IZm5TpS9H48=
github.com/cs3org/reva v1.4.1-0.20201130150257-7e3efcbd0fc3 h1:H3QnP+eApE2LDJrYjJrIBmJ04KGVdpR2QP+ipdPp3jE=
github.com/cs3org/reva v1.4.1-0.20201130150257-7e3efcbd0fc3/go.mod h1:MTBlfobTE8W2hgXQ9+r+75jpJa1TxD04IZm5TpS9H48=
github.com/cs3org/reva v1.4.1-0.20201203075131-783e35cbff51 h1:WguydLVNj9tDRAw5cz+TnkY3shiTmbpfBPX2NpDHU2c=
github.com/cs3org/reva v1.4.1-0.20201203075131-783e35cbff51/go.mod h1:UUIurLdFYag/W+3YlAqwFuVvfzF3Ps1Elq1NzsE9kvo=
github.com/cs3org/reva v1.4.1-0.20201203135805-655c9babdc3f h1:3Y1TbQCN9s8+eWjfnUVlnVA7YlZJdxMTffmMVxZwMP8=
github.com/cs3org/reva v1.4.1-0.20201203135805-655c9babdc3f/go.mod h1:3Bz9oExBSgKjDspq3pBso31HlLSD98SlcURV54N3yPs=
github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 h1:U6pAVGTjesstz+EXd8+YpIG1xwKH1ovOXdWrMCvnopw=
github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic=
github.com/cs3org/reva v1.5.1 h1:GebunCjhHfA3lFLXjQT+3jOUjEXUubk9sr3otOIDGac=
github.com/cs3org/reva v1.5.1/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -360,6 +357,7 @@ github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
github.com/gophercloud/gophercloud v0.3.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8=
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99 h1:twflg0XRTjwKpxb/jFExr4HGq6on2dEOmnL6FV+fgPw=
github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
@@ -595,6 +593,7 @@ github.com/nrdcg/goinwx v0.6.1/go.mod h1:XPiut7enlbEdntAqalBIqcYcTEVhpv/dKWgDCX2
github.com/nrdcg/namesilo v0.2.1/go.mod h1:lwMvfQTyYq+BbjJd30ylEG4GPSS6PII0Tia4rRpRiyw=
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d h1:x3S6kxmy49zXVVyhcnrFqxvNVCBPb2KZ9hV2RBdS840=
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ=
github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA=
github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU=
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
@@ -633,6 +632,8 @@ github.com/ory/viper v1.7.5/go.mod h1:ypOuyJmEUb3oENywQZRgeAMwqgOyDqwboO1tj3DjTa
github.com/ovh/go-ovh v0.0.0-20181109152953-ba5adb4cf014/go.mod h1:joRatxRJaZBsY3JAOEMcoOp05CnZzsx4scTxi95DHyQ=
github.com/owncloud/flaex v0.0.0-20200411150708-dce59891a203/go.mod h1:jip86t4OVURJTf8CM/0e2qcji/Y4NG3l2lR8kex4JWw=
github.com/owncloud/ocis/accounts v0.5.3-0.20201103104733-ff2c41028d9b/go.mod h1:IX7T4MJ1U8Y4z9dfDW1J2jq1nv/SHCM7n2zt1fmBHI8=
github.com/owncloud/ocis/storage v0.0.0-20201015120921-38358ba4d4df h1:PhRLD+WTGIfQ1T4MqBabp6/1Q8H/iwxjlygh6xzao0A=
github.com/owncloud/ocis/storage v0.0.0-20201015120921-38358ba4d4df/go.mod h1:s9kJvxtBlHEi5qc1TuPAdz2bprk9yGFe+FSOeC76Pbs=
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw=
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0=
github.com/parnurzeal/gorequest v0.2.15/go.mod h1:3Kh2QUMJoqw3icWAecsyzkpY7UzRfDhbRdTjtNwNiUE=
@@ -756,6 +757,7 @@ github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE=
github.com/spf13/viper v1.6.3/go.mod h1:jUMtyi0/lB5yZH/FjyGAoH7IMNrIhlBf6pXZmbMDvzw=
github.com/spf13/viper v1.7.0 h1:xVKxvI7ouOI5I+U9s2eeiUfMaWBVoXA3AWskkrqK0VM=
github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg=
github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
@@ -833,6 +835,8 @@ go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.5.0 h1:OI5t8sDa1Or+q8AeE+yKeB/SDYioSHAgcVljj9JIETY=
go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
go.uber.org/goleak v1.1.10 h1:z+mqJhf6ss6BSfSM671tgKyZBFPTTJM+HLxnhPC3wu0=
go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/multierr v1.3.0 h1:sFPn2GLc3poCkfrpIXGhBD2X0CMIo4Q/zSULXrj/+uc=
go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
@@ -1051,6 +1055,7 @@ golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
@@ -1072,6 +1077,8 @@ golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWc
golang.org/x/tools v0.0.0-20200522201501-cb1345f3a375/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200721223218-6123e77877b2 h1:kxDWg8KNMtpGjI/XVKGgOtSljTnVg/PrjhS8+0pxjLE=
golang.org/x/tools v0.0.0-20200721223218-6123e77877b2/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d h1:szSOL78iTCl0LF1AMjhSWJj8tIM0KixlUUnBtYXsmd8=
golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
+4 -4
View File
@@ -1,10 +1,10 @@
const path = require('path')
const PHOENIX_PATH = process.env.PHOENIX_PATH
const WEB_PATH = process.env.WEB_PATH
const config = require(path.join(PHOENIX_PATH, 'nightwatch.conf.js'))
const config = require(path.join(WEB_PATH, 'nightwatch.conf.js'))
config.page_objects_path = [PHOENIX_PATH + '/tests/acceptance/pageObjects', 'ui/tests/acceptance/pageobjects']
config.custom_commands_path = PHOENIX_PATH + '/tests/acceptance/customCommands'
config.page_objects_path = [WEB_PATH + '/tests/acceptance/pageObjects', 'ui/tests/acceptance/pageobjects']
config.custom_commands_path = WEB_PATH + '/tests/acceptance/customCommands'
module.exports = {
...config
+2 -1
View File
@@ -34,7 +34,7 @@
"@rollup/plugin-json": "^4.0.1",
"@rollup/plugin-replace": "^2.3.0",
"archiver": "^4.0.1",
"axios": "^0.19.0",
"axios": "^0.21.1",
"core-js": "3",
"cross-env": "^6.0.3",
"cucumber": "^6.0.5",
@@ -54,6 +54,7 @@
"nightwatch": "^1.3.6",
"nightwatch-api": "^3.0.1",
"node-fetch": "^2.6.1",
"nightwatch-vrt": "^0.2.10",
"qs": "^6.9.1",
"rimraf": "^3.0.0",
"rollup": "^1.28.0",
+3 -3
View File
@@ -1,5 +1,5 @@
// Code generated by fileb0x at "2020-11-20 11:12:19.055864 +0100 CET m=+0.009268058" from config file "embed.yml" DO NOT EDIT.
// modification hash(aa63d3a7859474115b12e1e93af346a5.8058aec596c5fb73022d09bb97af796e)
// Code generated by fileb0x at "2021-01-13 08:23:16.044077 +0100 CET m=+0.009014926" from config file "embed.yml" DO NOT EDIT.
// modification hash(c8fdaaee3828640ec93899c4406b029b.8058aec596c5fb73022d09bb97af796e)
package assets
@@ -36,7 +36,7 @@ type HTTPFS struct {
}
// FileAccountsJs is "accounts.js"
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xbd\xe9\x76\x1b\xb7\xb2\x30\xfa\xfb\x7e\x4f\x41\xf6\xf1\xee\x03\x6c\x96\x68\xd2\x19\xf6\x4e\xd3\x08\xb7\x2d\xcb\x8e\x13\x4f\x91\x6c\x27\x0e\xc3\xa3\xd5\x22\x41\x09\x16\x09\xd0\x68\x50\x83\xc9\xbe\xef\x73\x5f\xe3\x3e\xd9\x5d\x28\x00\x3d\xb1\x65\x67\x9f\x6f\x58\xeb\xfe\x21\xbb\xd1\x18\x0b\x40\x4d\xa8\x2a\xcc\xf9\x42\x48\x4e\xc8\x62\x23\x67\x46\x28\x49\xe8\x36\xda\x64\xbc\x93\x19\x2d\x66\x26\x1a\x5d\xa5\xba\x63\x58\xb4\x91\x2e\xe3\x3c\xea\x32\x73\xbb\xe6\x6a\xd1\x39\x5f\xaa\xb3\x74\xf9\xf6\x42\x64\xe3\xf2\x31\x69\xcb\x79\x2d\xe4\x5c\x5d\x8f\xdd\x5f\x6b\x0e\x57\x81\xaf\xa7\x35\x47\xc6\x97\x8b\xb1\xfd\x49\xb6\xf9\x28\x74\xb6\xc3\x89\x01\x4e\xb7\x9a\x9b\x8d\x96\x1d\x43\x38\xdb\xf2\x9b\xb5\xd2\x26\x4b\xb6\x79\x0e\xbc\xef\xdf\x68\xf9\x98\xdb\x11\x49\x56\x1d\xb2\xa1\x5b\x9b\xc8\xd9\x7e\xca\xeb\xb3\x8f\x7c\x66\xfa\x6b\xad\x8c\xb2\x3d\x01\xc9\x78\xff\x22\xcd\x5e\x5f\xcb\x37\x5a\xad\xb9\x36\xb7\xa0\x59\x14\x0a\x46\x2c\xf4\xf7\xe4\x76\x75\xa6\x96\x63\xf7\x97\x6c\x73\x50\x4c\xf7\x85\xe1\x3a\x35\x4a\xef\x76\xd1\xbf\xfe\x15\x5e\x22\x10\x4c\xf7\xd3\xec\x56\xce\x9e\x57\xbf\xd7\x52\x22\x48\x99\xee\x1b\x75\x62\xb4\x90\xe7\x6f\xd3\x73\xcc\x52\x79\x8f\x4a\xa0\xcc\x2c\x50\x40\x82\x76\x83\x50\x8c\xc7\x31\x2f\x87\xd0\x11\x32\x33\xa9\x9c\xd9\x5e\x2e\xc7\x3c\x59\x82\x08\xc3\x9c\x69\x9e\x1a\x4e\x54\x99\x99\x42\xca\x24\xbf\xee\xdc\x10\xbd\xdb\x4d\xa6\x74\xe4\x41\x2d\xfa\xa7\x42\x5e\xa9\xcb\x2a\xcc\x6c\xa3\xae\x49\xcd\xa2\x6c\x93\xad\xb9\x9c\xf3\xf9\x89\x49\xb5\x89\x42\xb9\x22\xb7\x02\x41\xb7\x62\x41\x22\x7e\xc3\x67\x1b\x23\xe4\x79\xc4\x18\xd3\xd4\x5c\x68\x75\xdd\xb1\x4d\x1e\x69\xad\x34\x89\x9e\x71\xe9\x40\xd0\x11\x59\x27\x5d\x6a\x9e\xce\x6f\x3b\x7a\x23\xa5\x2d\x42\x47\xb6\x8a\x99\x5a\xad\x97\xdc\xf0\xb9\xab\x02\xab\xc5\x7a\xec\xbb\xf2\x55\x8a\xd0\x85\xd7\x84\xe6\x0b\xa5\x89\xec\xaf\xb8\xb9\x50\x73\xa6\x40\xf6\x53\x7d\xce\xc4\x68\xe4\xba\x9f\x32\xd9\x9f\xf3\x25\x3f\x4f\x0d\xb7\x0d\xa4\x2e\x79\xc6\xce\x48\x0a\x12\xdb\x9c\x61\x2b\x33\xc6\xd8\x86\xce\x94\x34\x42\x6e\x78\x68\x60\x96\xe7\xb6\x07\x92\xdf\x18\xdb\x81\xd0\x0e\x95\xfd\x8c\x4b\xc3\x64\xff\xd4\xff\xa7\xfa\x7c\xc4\x97\x19\xef\xd4\x3a\x5c\xe4\xc7\x71\x34\xe0\x58\x81\x91\x66\x95\x81\xbb\x21\x8c\x64\x7f\x2e\xb2\x75\x6a\x66\x17\x47\x37\x33\xbe\x46\x48\xe3\x17\x9a\xdb\x86\x22\xd7\xc3\x6a\x2b\x71\x2c\xfb\xe9\x99\xde\xac\x0d\x09\x5f\x5d\x5d\x74\xa4\x59\x65\x72\x10\x11\x2c\x59\xe6\xa7\x19\xe1\x2e\x95\x5e\xa5\x4b\x5b\xdb\xb2\x8f\x8b\xc5\xf6\x58\x5b\xe0\x29\xc9\xc7\x95\xde\x25\xe5\x30\x3e\x08\xbe\x9c\x47\xb0\x44\x88\xb7\x40\x6f\x7b\x95\x2e\x37\x3c\xc1\xef\x60\xeb\x49\x5c\x75\x79\x5e\x42\xc8\xb5\x16\xc7\xa4\x09\x02\x3f\xa1\x3e\xa7\x9f\xd6\xa5\x1b\x7f\x9e\x13\x03\x12\x52\x0a\x22\x2f\xb6\x4a\x18\xce\xd6\xe8\x5b\x8f\x45\xb6\xb6\xee\x24\x8c\x0d\x52\x7d\x9e\x98\xfe\x2c\x5d\x2e\x89\xcd\x98\xe7\x33\x0b\x5d\x8b\x20\x6a\xd9\x7d\x8b\x98\x3b\xcf\x73\xd3\xbf\xd6\xe9\x9a\xcd\x10\x6a\x1b\x56\x45\x59\x4b\x42\xb7\x65\x07\x16\xb5\xb7\xb9\x7d\xb3\x45\xd6\xb6\xc8\x7a\xa2\xa6\xac\x82\x97\x03\x96\xbb\x10\x59\x8e\x15\x5f\x84\x7d\x7b\xce\xcd\x9b\xb0\x63\x5f\x2f\x60\xc5\x2e\xe2\xf8\x82\x5c\x90\x23\x32\x99\x52\x4a\x47\xab\x38\x5e\x75\x99\xc5\x03\xd2\x0d\x65\x05\x8a\xc6\x31\x59\xb3\x15\xc5\x9a\xae\xd8\xbc\xdc\xf3\x6c\x59\x79\xae\x63\x86\x35\x2d\x07\x72\x6e\x81\x30\x71\xcb\x1c\x02\x00\xc2\x1a\x9a\xf6\x17\x4a\x1f\xa5\xb3\x8b\x0a\x9a\xe5\x74\x6b\x26\x7c\x5a\xc3\xb2\x95\x31\x05\x8c\x42\x38\x18\x9a\xe7\x94\x96\x70\xb9\x75\x68\x1e\x51\xcb\xa8\x9a\x97\xd5\xf1\x49\x51\x20\x2d\xc1\x65\x51\x49\x15\xd9\x6b\x48\xe9\xb6\x5b\xe4\xd4\xb6\x24\xa4\x30\x73\xd5\x6f\xec\x0a\x9f\xa8\x29\x18\x10\x6e\x91\xbb\x81\x75\x19\xdb\xf8\x35\xee\x36\xc2\x06\x17\xe8\x82\x2d\xfb\xb8\x60\x0b\xfc\x16\xc7\x91\x42\x90\x95\xa4\x60\x51\x80\x7d\x01\xd1\xe9\x69\x7a\x9d\x0a\x13\xd1\x31\xef\x6b\x9e\xa9\xe5\x15\x27\x8b\xbe\x4f\xa5\x7d\x73\xc1\x65\x9d\x32\x69\x8f\x49\xc0\x60\x2f\x73\x0a\xcd\xcf\x1e\xf4\xe1\x3b\x4d\x2a\x35\xb7\xd5\xe8\xbb\xcc\x0c\xa4\x64\xb9\x5f\xa1\x1b\x48\x4b\xbd\xf9\x8c\x6c\xdc\x5e\x42\x98\x59\x40\xda\xd4\x50\x80\xe9\xb1\x76\xad\xa5\x90\xd2\x24\x25\x34\x2f\x67\xf0\xac\x9c\x41\xc9\x4c\x41\x08\x27\xdc\xef\xd9\xa9\x85\xf5\x95\x12\xf3\xce\xc0\x22\x27\xc4\x24\xbc\x40\xc2\x4c\x6e\x96\x4b\x28\x11\x00\xaf\xa2\xc8\xb2\xb6\xbe\xeb\x4a\x1c\x13\x5e\xa0\x82\x80\xd3\x38\xe2\x02\xd7\x02\xb8\xde\xb4\x55\x48\xfd\x68\x36\x23\xde\xc4\x26\xae\x06\xbb\x9c\xde\xde\xae\xb9\xa7\x4e\x6f\x2f\x78\x27\x34\xdf\x99\x2b\x9e\x75\xa4\x32\x9d\xb5\x56\x57\x62\xce\x3b\x69\xe7\x3f\xb1\xf0\x7f\x76\x5c\x5d\x51\x01\xad\x4d\xee\xe8\x64\x46\x24\x94\x03\x70\x6d\x54\xd7\x9d\xc5\xf7\x6e\xdd\xf9\x82\x77\x74\x4b\xe3\x72\x6c\x42\x6c\x33\x72\x0c\x00\x7e\x0d\x4b\x54\x8d\x95\x43\xd0\x84\x4f\x8c\x5d\x29\x9b\xa5\x79\x95\xae\xf8\x94\x29\xb7\x30\x80\xf7\xed\x8a\x63\x06\xff\x5e\xa8\x59\xb1\xab\xbb\x25\xa4\x6a\x40\x76\x0b\xb4\x0a\x62\xba\xdf\x17\x9a\xa8\x84\xfc\x35\xa8\x16\x10\x75\xbd\xb3\x94\xdf\x82\x35\x95\x1d\xbf\xb7\xda\xaa\x2f\x17\xdb\x75\xc9\xbf\x59\xc4\xfe\x42\xcd\x12\x33\x19\x4c\xf3\xd1\xb0\x23\x64\xc7\x60\xd7\x11\x8d\xLine truncated
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\xeb\x72\xdb\x38\xb7\x28\xf8\x7b\xf6\x53\x48\xdc\xfd\x71\x03\xad\x65\x45\x4a\xfa\x4a\x05\xad\xcf\x49\x9c\x74\xba\x93\x38\x6d\x3b\xe9\x8b\x5a\xdb\x45\x53\x90\x8d\x58\x02\x14\x10\xf2\x25\x12\xe7\x7d\xe6\x35\xe6\xc9\xa6\x70\x23\x41\x8a\x4a\xf7\xb7\xcf\x3e\xa7\xce\xd4\x4c\x95\xcb\x22\x41\x5c\x17\x80\x75\xc3\x5a\x0b\x33\x3a\x67\x9c\x22\x34\x5f\xf3\x4c\x31\xc1\x11\xde\x44\xeb\x9c\x76\x72\x25\x59\xa6\xa2\xd1\x4d\x2a\x3b\x8a\x44\x6b\x6e\x33\xce\xa2\x2e\x51\xf7\x2b\x2a\xe6\x9d\xcb\x85\xb8\x48\x17\x67\x57\x2c\x1f\x57\x8f\x49\x5b\xce\x5b\xc6\x67\xe2\x76\x6c\x7f\x5a\x73\xd8\x0a\x5c\x3d\xad\x39\x72\xba\x98\x8f\xf5\xbf\x64\x53\x8c\x7c\x67\x3b\x14\x29\xa0\x78\x23\xa9\x5a\x4b\xde\x51\x88\x92\x0d\xbd\x5b\x09\xa9\xf2\x64\x53\x14\x40\xfb\xee\x0d\x57\x8f\x85\x1e\x11\x27\xe1\x90\x15\xde\xe8\x44\x4a\x76\x53\x8e\x2f\x3e\xd0\x4c\xf5\x57\x52\x28\xa1\x7b\x02\x9c\xd0\xfe\x55\x9a\x1f\xdf\xf2\xb7\x52\xac\xa8\x54\xf7\x20\x49\xe4\x0b\x46\xc4\xf7\xf7\xf4\x7e\x79\x21\x16\x63\xfb\x93\x6c\x0a\x10\x44\xf6\x99\xa2\x32\x55\x42\x6e\xb7\xd1\x3f\xff\xe9\x5f\x22\x60\x44\xf6\xd3\xfc\x9e\x67\x2f\xc3\xef\xb5\x94\x08\x52\x22\xfb\x4a\x9c\x2a\xc9\xf8\xe5\x59\x7a\x69\xb2\x04\xef\x51\x05\x94\x4c\x03\x05\x78\x09\x16\x37\x06\x0b\x52\xdf\x6b\x93\x67\x73\x93\x2e\xd6\x34\xe1\x40\xf9\x7a\x49\x65\x7a\xb1\xa0\x49\x77\x00\x99\xe0\x73\x76\xb9\x2e\xdf\x6f\x25\x53\xee\xb9\xc0\xa0\x26\x74\x5a\x28\x79\xbf\xc9\xd0\xa6\x80\x28\xc2\x45\x96\xaa\xec\x4a\xc3\x2c\x0b\x20\x58\xeb\x82\x2e\x43\x78\x51\x94\x7d\xcc\x6d\x06\x90\x16\xd0\x82\xd0\x38\xa6\x15\x98\x3b\x8c\xe7\x2a\xe5\x99\x86\xe4\x7c\x4c\x93\x39\x30\x3f\x15\x99\xa4\xa9\xa2\x48\x54\x99\x31\xa4\x84\xd3\xdb\xce\x11\x92\xdb\xed\x64\x8a\x47\xae\x51\xd6\x3f\x67\xfc\x46\x5c\xd3\x9d\x5e\xe9\x26\x25\x89\xf2\x75\xbe\xa2\x7c\x46\x67\xa7\x2a\x95\x2a\xf2\xe5\xca\xdc\x02\x18\xde\xb0\x39\x8a\xe8\x1d\xcd\xd6\x8a\xf1\xcb\x88\x10\x22\xb1\xba\x92\xe2\xb6\x63\x9a\x94\x52\x48\x14\xbd\xa0\xdc\x4e\x53\x87\xe5\x9d\x74\x21\x69\x3a\xbb\xef\xc8\x35\xe7\xba\x08\x1e\xe9\x2a\x32\xb1\x5c\x2d\xa8\xa2\x33\x5b\x85\xa9\xd6\xd4\xa3\xdf\x85\xab\x92\xf9\x2e\x9c\x22\x5c\xcc\x85\x44\xbc\xbf\xa4\xea\x4a\xcc\x88\x00\xde\x4f\xe5\x25\x61\xa3\x91\xed\x7e\x4a\x78\x7f\x46\x17\xf4\x32\x55\x54\x37\x90\xda\xe4\x8c\xdc\xa2\x14\xb8\x69\x33\x33\xad\x64\x84\x90\x05\xce\x04\x57\x8c\xaf\xa9\x6f\x20\x2b\x0a\xdd\x03\x4e\xef\x94\xee\x80\x6f\x07\xf3\x7e\x4e\xb9\x22\xbc\x7f\xee\x7e\x53\x79\x39\xa2\x8b\x9c\x76\x6a\x1d\x2e\xf3\x9b\x71\x34\xe0\x18\xc0\x48\x92\x60\xe0\x76\x08\x23\xde\x9f\xb1\x7c\xa5\x97\xcc\xd1\x5d\x46\x57\x06\xd2\xe6\x0b\x2e\x74\x43\x91\xed\x61\xd8\x4a\x1c\xf3\x7e\x7a\x21\xd7\x2b\x85\xfc\x57\x5b\x17\x1e\x49\x12\x4c\x8e\x41\x56\x39\x59\xbb\x69\x36\x70\xe7\x42\x2e\xd3\x85\xae\x2d\xef\x9b\xc5\xa2\x7b\x2c\x35\xf0\x04\xa7\xe3\xa0\x77\x49\x35\x8c\xdf\x19\x5d\xcc\x22\xc8\x0d\xc4\x5b\xa0\xe7\xb6\x8d\xf9\x0e\xba\x9e\xc4\x56\x57\x14\x15\x84\x6c\x6b\x71\x8c\x9a\x20\x70\x13\xea\x72\xba\x69\xcd\xed\xf8\x8b\x02\x29\xe0\x90\x62\x60\xd5\x56\xf1\xc3\xd9\xe8\x3d\xe7\x3a\xa0\xeb\x4e\xfc\xd8\x20\x95\x97\x89\xea\x67\xe9\x62\x81\x74\xc6\xa2\xda\x90\xb5\xec\xae\x45\x93\xbb\x28\x0a\xd5\xbf\x95\xe9\x8a\xe4\x06\x6a\x0b\x12\xa2\xd5\x39\xc2\x9b\xaa\x03\xb3\xda\xdb\x4a\xbf\xe9\x22\x57\xba\xc8\xd5\x44\x4c\x49\x40\x3b\xfc\x7e\xbf\x62\x79\x61\x2a\x5e\xfa\x7d\x7b\x49\xd5\x5b\xbf\x63\x8f\xe7\x70\x43\x96\x71\xbc\x44\x4b\x74\x8c\x26\x53\x8c\xf1\xe8\x26\x8e\x6f\xba\x44\xe3\x01\x6e\x87\x72\x03\x02\xc7\x31\xba\x22\x37\xd8\xd4\x74\x49\x56\xd5\x9e\x27\xf3\xe0\xb9\x8e\x19\xae\x70\x35\x90\x7b\x0d\x84\x89\x5d\xe6\xe0\x01\xe0\xd7\xd0\xb4\x3f\x17\xf2\x28\xcd\xae\x02\x52\x40\xf1\xc6\xa2\xcf\x1a\x75\x08\x46\xe5\x71\x0a\xa2\xa0\x70\x81\xcd\x5f\xd9\xdc\x85\x25\x47\x06\xbd\x8c\xc2\xdc\xa4\x8e\x53\xca\x02\x69\x05\x32\x8d\x4e\x42\xa2\x24\x21\xc5\x9b\x6e\x99\x53\xea\x92\x90\x42\x66\xab\x37\xab\x7c\x22\xa6\xa0\x80\xd9\x85\x6e\x07\xd7\xad\xd6\xb9\x9d\x56\xbb\x48\xe7\x64\xd1\x37\x8b\xb6\xc4\x71\x71\x1c\x09\x03\xb6\x8a\x64\xcd\x4b\xd0\xcf\x21\x3a\x3f\x4f\x6f\x53\xa6\x22\x3c\xa6\x7d\x49\x73\xb1\xb8\xa1\x68\xde\x77\xa9\xb8\xaf\xae\x28\xaf\x53\x50\xe9\xb0\x09\x28\xd3\xcb\x02\x43\xf3\xb3\x03\xbf\xff\x8e\x93\xa0\xe6\xb6\x1a\x5d\x97\x89\x82\x14\x2d\x76\x2b\xb4\x03\x69\xa9\xb7\xc8\x90\xdb\x4f\x06\x66\x1a\x90\x3a\xd5\x17\x20\x72\x2c\x6d\x6b\x29\xa4\x38\x49\x11\x0e\xe8\xd2\x6d\x35\x83\x9c\xa8\x92\x60\x4f\xa8\xdb\xb7\x53\x0d\xeb\x1b\xc1\x66\x9d\x81\x46\x50\x06\x9b\xd0\x12\x11\x13\xbe\x5e\x2c\xa0\x42\x02\x34\x44\x93\x55\x6d\x7d\xdb\x95\x38\x46\xb4\x44\x07\x1e\xaf\x51\x83\x0f\x6c\x0b\x60\x7b\xd3\x56\x21\x76\xa3\x59\x8c\x68\x13\xa3\xd8\x1a\xf4\x72\x3a\xbb\x5f\x51\x47\xa1\xce\xae\x68\xc7\x37\xdf\x99\x09\x9a\x77\xb8\x50\x9d\x95\x14\x37\x6c\x46\x3b\x69\xe7\x3f\x4c\xe1\xff\xe8\xd8\xba\xa2\x12\x5a\x8b\xc2\xd2\xca\x35\xe2\x50\x0d\xc0\xb6\x11\xae\x3b\x8d\xf3\xed\xba\x73\x05\xf7\x74\x4b\x9a\xe5\xd8\x84\xd8\x62\x64\x99\x00\xf3\xd5\x2f\x51\x31\x16\x16\x49\x23\x3a\x51\x7a\xa5\xac\x17\xea\x4d\xba\xa4\x53\x22\xec\xc2\x00\xda\xd7\x2b\x8e\x28\xf3\xf3\x4a\x64\xe5\xce\xee\x56\xLine truncated
func init() {
err := CTX.Err()
+1 -1
View File
@@ -97,7 +97,7 @@ func ParseConfig(c *cli.Context, cfg *config.Config) error {
if err := viper.ReadInConfig(); err != nil {
switch err.(type) {
case viper.ConfigFileNotFoundError:
logger.Info().
logger.Debug().
Msg("no config found on preconfigured location")
case viper.UnsupportedConfigError:
logger.Fatal().
+3 -4
View File
@@ -40,10 +40,9 @@ type GRPC struct {
// Server configures a server.
type Server struct {
Version string
Name string
AccountsDataPath string
HashDifficulty int
Version string
Name string
HashDifficulty int
}
// Asset defines the available asset configuration.
+1 -8
View File
@@ -119,13 +119,6 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
},
&cli.StringFlag{
Name: "accounts-data-path",
Value: "/var/tmp/ocis-accounts",
Usage: "accounts folder",
EnvVars: []string{"ACCOUNTS_DATA_PATH"},
Destination: &cfg.Server.AccountsDataPath,
},
&cli.IntFlag{
Name: "accounts-hash-difficulty",
Value: 11,
@@ -150,7 +143,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
&cli.StringFlag{
Name: "storage-disk-path",
Value: "",
Usage: "Path on the local disk, e.g. /var/tmp/ocis-accounts",
Usage: "Path on the local disk, e.g. /var/tmp/ocis/accounts",
EnvVars: []string{"ACCOUNTS_STORAGE_DISK_PATH"},
Destination: &cfg.Repo.Disk.Path,
},
@@ -78,7 +78,6 @@ func init() {
)
cfg := config.New()
cfg.Server.AccountsDataPath = dataPath
cfg.Repo.Disk.Path = dataPath
var hdlr *svc.Service
var err error
+6 -24
View File
@@ -6,12 +6,11 @@ import (
"crypto/sha256"
"encoding/hex"
"fmt"
"github.com/owncloud/ocis/ocis-pkg/cache"
"github.com/owncloud/ocis/ocis-pkg/sync"
"golang.org/x/crypto/bcrypt"
"path"
"regexp"
"strconv"
"sync"
"time"
"github.com/owncloud/ocis/ocis-pkg/log"
@@ -33,11 +32,8 @@ import (
"google.golang.org/protobuf/types/known/timestamppb"
)
// accLock mutually exclude readers from writers on account files
var accLock sync.Mutex
// passwordValidCache caches basic auth password validations
var passwordValidCache = cache.NewCache(cache.Size(1024))
var passwordValidCache = sync.NewCache(1024)
// passwordValidCacheExpiration defines the entry lifetime
const passwordValidCacheExpiration = 10 * time.Minute
@@ -133,9 +129,6 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
}
onlySelf := hasSelf && !hasManagement
accLock.Lock()
defer accLock.Unlock()
teardownServiceUser := s.serviceUserToIndex()
defer teardownServiceUser()
match, authRequest := getAuthQueryMatch(in.Query)
@@ -172,11 +165,8 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
// - it checks if the cache already contains an entry that matches found account Id // account PasswordProfile.LastPasswordChangeDateTime (k)
// - if no entry exists it runs the bcrypt.CompareHashAndPassword as before and if everything is ok it stores the
// result by the (k) as key and (v) as value. If not it errors
// - if a entry is found it checks if the given value matches (v). If it doesnt match the cache entry gets removed
// - if a entry is found it checks if the given value matches (v). If it doesnt match, the cache entry gets removed
// and it errors.
//
// if many concurrent requests from the same user come in within a short period of time, it's possible that e is still nil.
// This is why all this needs to be wrapped within a sync.Mutex locking to prevent calling bcrypt.CompareHashAndPassword unnecessarily too often.
{
var suspicious bool
@@ -188,7 +178,7 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
vh.Write([]byte(a.PasswordProfile.Password))
v := vh.Sum([]byte(password))
e := passwordValidCache.Get(k)
e := passwordValidCache.Load(k)
if e == nil {
suspicious = !isPasswordValid(s.log, a.PasswordProfile.Password, password)
@@ -197,12 +187,12 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
}
if suspicious {
passwordValidCache.Unset(k)
passwordValidCache.Delete(k)
return merrors.Unauthorized(s.id, "account not found or invalid credentials")
}
if e == nil {
passwordValidCache.Set(k, v, time.Now().Add(passwordValidCacheExpiration))
passwordValidCache.Store(k, v, time.Now().Add(passwordValidCacheExpiration))
}
}
@@ -284,8 +274,6 @@ func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, ou
}
onlySelf := hasSelf && !hasManagement
accLock.Lock()
defer accLock.Unlock()
var id string
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
@@ -331,8 +319,6 @@ func (s Service) CreateAccount(ctx context.Context, in *proto.CreateAccountReque
return merrors.Forbidden(s.id, "no permission for CreateAccount")
}
accLock.Lock()
defer accLock.Unlock()
var id string
if in.Account == nil {
@@ -468,8 +454,6 @@ func (s Service) UpdateAccount(ctx context.Context, in *proto.UpdateAccountReque
}
onlySelf := hasSelf && !hasManagement
accLock.Lock()
defer accLock.Unlock()
var id string
if in.Account == nil {
return merrors.BadRequest(s.id, "account missing")
@@ -633,8 +617,6 @@ func (s Service) DeleteAccount(ctx context.Context, in *proto.DeleteAccountReque
return merrors.Forbidden(s.id, "no permission for DeleteAccount")
}
accLock.Lock()
defer accLock.Unlock()
var id string
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
@@ -33,7 +33,6 @@ var (
func init() {
cfg := config.New()
cfg.Server.Name = "accounts"
cfg.Server.AccountsDataPath = dataPath
cfg.Repo.Disk.Path = dataPath
logger := olog.NewLogger(olog.Color(true), olog.Pretty(true))
roleServiceMock = buildRoleServiceMock()
+1 -3
View File
@@ -3,7 +3,6 @@ package service
import (
"context"
"path"
"path/filepath"
"strconv"
"github.com/gofrs/uuid"
@@ -182,7 +181,6 @@ func (s Service) DeleteGroup(c context.Context, in *proto.DeleteGroupRequest, ou
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up group id: %v", err.Error())
}
path := filepath.Join(s.Config.Server.AccountsDataPath, "groups", id)
g := &proto.Group{}
if err = s.repo.LoadGroup(c, id, g); err != nil {
@@ -212,7 +210,7 @@ func (s Service) DeleteGroup(c context.Context, in *proto.DeleteGroupRequest, ou
}
if err = s.index.Delete(g); err != nil {
s.log.Error().Err(err).Str("id", id).Str("path", path).Msg("could not remove group from index")
s.log.Error().Err(err).Str("id", id).Msg("could not remove group from index")
return merrors.InternalServerError(s.id, "could not remove group from index: %v", err.Error())
}
-37
View File
@@ -1,37 +0,0 @@
sonar.projectKey=owncloud_ocis-accounts
sonar.organization=owncloud-1
sonar.projectName=ocis-accounts
sonar.projectVersion=1.0
sonar.host.url=https://sonarcloud.io
# =====================================================
# Meta-data for the project
# =====================================================
sonar.links.homepage=https://github.com/owncloud/ocis-accounts
sonar.links.ci=https://cloud.drone.io/owncloud/ocis-accounts/
sonar.links.scm=https://github.com/owncloud/ocis-accounts
sonar.links.issue=https://github.com/owncloud/ocis/accounts/issues
# =====================================================
# Properties that will be shared amongst all modules
# =====================================================
# SQ standard properties
sonar.sources=.
# Pull Requests
sonar.pullrequest.provider=GitHub
sonar.pullrequest.github.repository=owncloud/ocis-accounts
sonar.pullrequest.base=${env.SONAR_PULL_REQUEST_BASE}
sonar.pullrequest.branch=${env.SONAR_PULL_REQUEST_BRANCH}
sonar.pullrequest.key=${env.SONAR_PULL_REQUEST_KEY}
# Properties specific to language plugins:
sonar.go.coverage.reportPaths=coverage.out
# Exclude protobuf files
sonar.exclusions=pkg/proto/**, changelog/**, docs/**, package.json, rollup.config.js, changelog.md
+3 -1
View File
@@ -11,7 +11,7 @@ geekdocFilePath: CONFIGURATION.tmpl
{{ range $opt := first . }}{{ with list $fnName $opt -}}
{{ $o := last . -}}
{{ if eq $o.FnName $fnName -}}
--{{ $o.Name }} | ${{ index $o.Env 0 }}
-{{ $o.Name }} | {{ range $i, $e := $o.Env }} {{ if $i }}, {{ end }}${{ $e }}{{ end }}
: {{ $o.Usage }}. {{- if $o.Default }} Default: `{{ $o.Default }}`.{{ end }}
{{ end -}}
@@ -41,6 +41,8 @@ So far we support the file formats `JSON` and `YAML`, if you want to get a full
If you prefer to configure the service with environment variables you can see the available variables below.
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
### Commandline flags
If you prefer to configure the service with commandline flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
@@ -92,7 +92,7 @@ export default {
},
computed: {
...mapGetters(['user', 'configuration']),
...mapGetters(['user', 'getServerForJsClient']),
...mapState('Accounts', ['roles', 'selectedAccounts']),
selectAccountLabel () {
@@ -114,7 +114,7 @@ export default {
injectAuthToken(this.user.token)
const response = await RoleService_AssignRoleToUser({
$domain: this.configuration.server,
$domain: this.getServerForJsClient,
body: {
account_uuid: this.account.id,
role_id: roleId
@@ -139,7 +139,7 @@ export default {
injectAuthToken(this.user.token)
const response = await RoleService_ListRoleAssignments({
$domain: this.configuration.server,
$domain: this.getServerForJsClient,
body: {
account_uuid: this.account.id
}
+1 -1
View File
@@ -21,7 +21,7 @@ import { mapGetters } from 'vuex'
export default {
/**
* FIXME: this component has been copied over from phoenix. It should be moved over to ODS, then we can reuse it in
* FIXME: this component has been copied over from ownCloud Web. It should be moved over to ODS, then we can reuse it in
* this extension.
*/
name: 'Avatar',
+13 -11
View File
@@ -31,7 +31,8 @@ const getters = {
})
},
areAllAccountsSelected: state => state.accounts.length === state.selectedAccounts.length,
isAnyAccountSelected: state => state.selectedAccounts.length > 0
isAnyAccountSelected: state => state.selectedAccounts.length > 0,
getServerForJsClient: (state, getters, rootState, rootGetters) => rootGetters.configuration.server.replace(/\/$/, '')
}
const mutations = {
@@ -94,11 +95,11 @@ const actions = {
}
},
async fetchAccounts ({ commit, rootGetters }) {
async fetchAccounts ({ commit, getters, rootGetters }) {
injectAuthToken(rootGetters.user.token)
try {
const response = await AccountsService_ListAccounts({
$domain: rootGetters.configuration.server,
$domain: getters.getServerForJsClient,
body: {}
})
if (response.status === 201) {
@@ -111,11 +112,11 @@ const actions = {
commit('SET_FAILED', true)
},
async fetchRoles ({ commit, rootGetters }) {
async fetchRoles ({ commit, getters, rootGetters }) {
injectAuthToken(rootGetters.user.token)
try {
const response = await RoleService_ListRoles({
$domain: rootGetters.configuration.server,
$domain: getters.getServerForJsClient,
body: {}
})
if (response.status === 201) {
@@ -132,7 +133,7 @@ const actions = {
getters.areAllAccountsSelected ? commit('RESET_ACCOUNTS_SELECTION') : commit('SET_SELECTED_ACCOUNTS', [...state.accounts])
},
async setAccountActivated ({ commit, dispatch, state, rootGetters }, activated) {
async setAccountActivated ({ commit, dispatch, state, getters, rootGetters }, activated) {
const failedAccounts = []
injectAuthToken(rootGetters.user.token)
@@ -143,7 +144,7 @@ const actions = {
try {
const response = await AccountsService_UpdateAccount({
$domain: rootGetters.configuration.server,
$domain: getters.getServerForJsClient,
body: {
account: {
id: account.id,
@@ -181,12 +182,13 @@ const actions = {
commit('RESET_ACCOUNTS_SELECTION')
return Promise.resolve(true)
},
async createNewAccount ({ rootGetters, commit, dispatch }, account) {
async createNewAccount ({ getters, rootGetters, commit, dispatch }, account) {
injectAuthToken(rootGetters.user.token)
try {
const response = await AccountsService_CreateAccount({
$domain: rootGetters.configuration.server,
$domain: getters.getServerForJsClient,
body: {
account: {
on_premises_sam_account_name: account.username,
@@ -214,7 +216,7 @@ const actions = {
return Promise.resolve(false)
},
async deleteAccounts ({ rootGetters, state, commit, dispatch }) {
async deleteAccounts ({ getters, rootGetters, state, commit, dispatch }) {
const failedAccounts = []
injectAuthToken(rootGetters.user.token)
@@ -222,7 +224,7 @@ const actions = {
for (const account of state.selectedAccounts) {
try {
const response = await AccountsService_DeleteAccount({
$domain: rootGetters.configuration.server,
$domain: getters.getServerForJsClient,
body: {
id: account.id
}
+5 -5
View File
@@ -1,8 +1,8 @@
#!/bin/bash
if [ -z "$PHOENIX_PATH" ]
if [ -z "$WEB_PATH" ]
then
echo "PHOENIX_PATH env variable is not set, cannot find files for tests infrastructure"
echo "WEB_PATH env variable is not set, cannot find files for tests infrastructure"
exit 1
fi
@@ -12,9 +12,9 @@ then
exit 1
fi
if [ -z "$PHOENIX_CONFIG" ]
if [ -z "$WEB_UI_CONFIG" ]
then
echo "PHOENIX_CONFIG env variable is not set, cannot find phoenix config file"
echo "WEB_UI_CONFIG env variable is not set, cannot find web config file"
exit 1
fi
@@ -46,7 +46,7 @@ clean_up() {
trap clean_up SIGHUP SIGINT SIGTERM EXIT
cp -r "$PHOENIX_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}
+1688 -1168
View File
File diff suppressed because it is too large. Load diff
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,12 @@
Change: CS3 can be used as accounts-backend
Tags: proxy
PROXY_ACCOUNT_BACKEND_TYPE=cs3
PROXY_ACCOUNT_BACKEND_TYPE=accounts (default)
By using a backend which implements the CS3 user-api (currently provided by reva/storage) it is possible to bypass
the ocis-accounts service and for example use ldap directly.
https://github.com/owncloud/ocis/pull/1020
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
Change: Make all paths configurable and default to a common temp dir
Aligned all services to use a dir following`/var/tmp/ocis/<service>/...` by default. Also made some missing temp paths configurable via env vars and config flags.
https://github.com/owncloud/ocis/pull/1080
Loaded 100 of 481 files, more files were not shown because too many files have changed in this diff. Show more