Compare commits

..
858 Commits
Author SHA1 Message Date
Willy Kloucek 5456f13c9e Merge pull request #2688 from owncloud/fix_accounts_backend
fix accounts backend regression from #2590
2021-10-27 14:50:38 +02:00
Willy Kloucek f45254bb5d set backend to disk in tests 2021-10-27 14:14:18 +02:00
Willy Kloucek ef406c8baa ensure lowercase backend in the command 2021-10-27 12:53:25 +02:00
Willy Kloucek 405809f13a fix accounts backend regression from #2590 2021-10-27 12:27:25 +02:00
Willy Kloucek 1a01d21f60 prepare oCIS 1.14.0 changelog 2021-10-27 07:55:41 +02:00
Phil Davis a012f392d8 Merge pull request #2684 from owncloud/bump-commit-id-20211027
[tests-only] [full-ci] Bump CORE_COMMITID for tests
2021-10-27 11:10:00 +05:45
Phil Davis 1bc6a1ed07 Bump core and web commmit id for tests 2021-10-27 10:15:09 +05:45
Pascal Wengerter 846190dfba Automated changelog update [skip ci] 2021-10-26 18:24:19 +00:00
Pascal Wengerter e94b7243c5 [full-ci] Update web v4.4.0 (#2681)
* Sort out dependencies in accounts, idp, settings, reorder package files, bump ODS to v11.0.0

* Update web to v4.4.0, update release docs for accounts, settings, web

* Remove redundant pull-always & bump Ubuntu img 16->20 in CI config

* Switch to frozen lockfiles for yarn install in CI

* Update expected failures file with web's current state
2021-10-26 19:23:59 +01:00
David Christofas 10186ed535 Automated changelog update [skip ci] 2021-10-26 15:11:26 +00:00
David Christofas aabfcbe6bc Merge pull request #2680 from owncloud/update-reva
[full-ci] update reva to v1.15
2021-10-26 17:11:03 +02:00
David Christofas 558050daf3 update reva to v1.15 2021-10-26 16:29:24 +02:00
Willy Kloucek c5be27440a Automated changelog update [skip ci] 2021-10-26 05:41:39 +00:00
Willy Kloucek 7987e58424 Merge pull request #2654 from rhafer/lico-update
Bump lico to v0.51.1
2021-10-26 07:41:17 +02:00
Phil Davis 2e8b160682 Merge pull request #2674 from owncloud/bump-commit-id-20211025
[full-ci][tests-only] Bump core commit id for tests
2021-10-26 11:16:40 +05:45
Saw-jan 9abb45a43c update expected-failure file 2021-10-26 10:13:50 +05:45
Ralf Haferkamp 0e1355a038 Bump lico to v0.51.1
This update includes:
 * Apply LibreGraph naming treewide
 * move to go1.17
 * Update 3rd party Go dependencies
2021-10-25 17:12:30 +02:00
Saw-jan 80e4a750b1 bump core commit id for tests 2021-10-25 17:32:03 +05:45
David Christofas 25d6e4efd1 Automated changelog update [skip ci] 2021-10-22 15:42:08 +00:00
David Christofas e146b03aef Merge pull request #2667 from rhafer/mkdir-idp
idp: Create parent directories if they don't exist
2021-10-22 17:41:12 +02:00
David Christofas 087a14289a Automated changelog update [skip ci] 2021-10-22 14:37:26 +00:00
David Christofas e85bd673fc Merge pull request #2650 from owncloud/graph-update-drive
enforce set space quota permission
2021-10-22 16:36:40 +02:00
Ralf Haferkamp 9e8231ab01 idp: Create parent directories if they don't exist
The parent directories of the identifier-registration.yaml config file might
not exist when starting idp. So instead of creating just the top most
directory use MkdirAll to also create the parents.
2021-10-22 16:35:59 +02:00
David Christofas c23071fb91 enforce set space quota permission 2021-10-22 15:53:52 +02:00
David Christofas 46ce7b88eb Automated changelog update [skip ci] 2021-10-22 12:36:15 +00:00
David Christofas d71907f422 Merge pull request #2666 from owncloud/http-header
Refactor http headers
2021-10-22 14:35:45 +02:00
David Christofas 9ecc065879 update CORS middleware and make it configurable 2021-10-22 13:27:31 +02:00
David Christofas c370276198 add some information about the security headers 2021-10-22 12:01:00 +02:00
David Christofas 4a30624fe8 remove deprecated X-XSS-Protection header
Only legacy browsers are still supporting this header. See
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection#browser_compatibility.
2021-10-22 12:00:56 +02:00
Michael Barz 4b43c5f81f Automated changelog update [skip ci] 2021-10-22 06:58:49 +00:00
Michael Barz 0ed7cca740 Merge pull request #2637 from ishank011/ocs-additional-info
Add sharees additional info paramater config to ocs
2021-10-22 08:56:45 +02:00
Willy Kloucek 509db097ff Automated changelog update [skip ci] 2021-10-21 16:08:21 +00:00
Willy Kloucek 235ceed10c Merge pull request #2660 from owncloud/spaces-respect-ocis-url
split spaces webdav url and graph url configuration in base and path parts
2021-10-21 18:01:56 +02:00
Michael Barz ab163baa70 Merge pull request #2639 from owncloud/add-api-steps
[tests-only] add some more steps
2021-10-21 15:31:05 +02:00
Michael Barz c1ef23a761 add also propfind steps 2021-10-21 14:47:42 +02:00
Willy Kloucek e2d9898cb1 fix CI 2021-10-21 14:30:18 +02:00
Willy Kloucek 29341a7f94 split spaces webdav url and graph url configuration in base and path parts 2021-10-21 14:30:18 +02:00
Willy Kloucek 92a52daf98 Automated changelog update [skip ci] 2021-10-21 12:14:53 +00:00
Willy Kloucek ee7a3bf5d2 Merge pull request #2655 from owncloud/feat/user-settings-capability
Feat/user settings capability
2021-10-21 14:13:53 +02:00
Willy Kloucek f30b5af0af update reva 2021-10-21 13:40:27 +02:00
pwengerter a837e4881f Improve wording in changelog items 2021-10-21 13:40:04 +02:00
pwengerter d2307f49d9 Add versioned user settings capability 2021-10-21 13:40:04 +02:00
Willy Kloucek 5268b8e5e6 Automated changelog update [skip ci] 2021-10-21 09:35:01 +00:00
Willy Kloucek d7d3ac76a5 Merge pull request #2658 from owncloud/reva-852282ce34f5
[full-ci] update REVA to 852282ce34f5
2021-10-21 11:34:00 +02:00
David Christofas acd2aa315e Merge pull request #2657 from owncloud/remove-context-key
remove deprecated context key
2021-10-21 10:57:43 +02:00
Willy Kloucek 7c20ca2b54 update REVA to 852282ce34f5 2021-10-21 10:36:53 +02:00
David Christofas 45fe331ad7 remove deprecated context key 2021-10-21 10:16:58 +02:00
Willy Kloucek bd8a799366 Merge pull request #2656 from owncloud/glauth_v2
use glauth v2
2021-10-21 09:45:08 +02:00
Willy Kloucek 1ccc568260 use glauth v2 2021-10-21 07:35:10 +02:00
Willy Kloucek e5488947f7 Automated changelog update [skip ci] 2021-10-20 15:11:28 +00:00
Willy Kloucek d6975c45e0 Merge pull request #2584 from owncloud/lower_tus_size
lower TUS max chunk size from infinite to 0.1 GB
2021-10-20 17:07:44 +02:00
Willy Kloucek a3785953af Merge pull request #2651 from owncloud/update-deps
[full-ci] update dependencies
2021-10-20 15:59:05 +02:00
David Christofas afaf4e0ec8 Automated changelog update [skip ci] 2021-10-20 13:13:42 +00:00
David Christofas a759938a8d Merge pull request #2652 from owncloud/bauth-password-prefix
fix(public-share): basic auth password prefix
2021-10-20 15:11:34 +02:00
Willy Kloucek 60a68e8d93 Merge pull request #2643 from owncloud/deployment-example-fix-cs3-users
fix cs3 users deployment example
2021-10-20 15:05:20 +02:00
Willy Kloucek a140779ded revert tus upgrade because of failing tests 2021-10-20 14:54:31 +02:00
Florian Schade b416763599 fix(public-share): basic auth password prefix
fix wrong basic auth password prefix
2021-10-20 14:34:11 +02:00
Willy Kloucek 4e62281f88 revert breaking updates 2021-10-20 14:33:26 +02:00
Willy Kloucek 1cf427cbf6 revert protoc micro update 2021-10-20 14:09:48 +02:00
Willy Kloucek 179eb2a036 update dependencies 2021-10-20 14:05:08 +02:00
Florian Schade 33649efc75 Merge pull request #2649 from owncloud/rm-fileb0x-leftover
fix(cleanup): get rid of fileb0x leftovers
2021-10-20 12:54:36 +02:00
Willy Kloucek 77b769457a Merge pull request #2648 from owncloud/fix_identifier_registration_yaml_creation
fix identifier-registration.yaml creation
2021-10-20 12:41:36 +02:00
Florian Schade a5438849b9 fix(cleanup): get rid of fileb0x leftovers
get rid of dev leftovers
2021-10-20 12:06:52 +02:00
Willy Kloucek 562c376c68 fix identifier-registration.yaml creation 2021-10-20 11:35:05 +02:00
kobergj 24b851a623 Automated changelog update [skip ci] 2021-10-20 09:32:06 +00:00
kobergj d019a005c9 Merge pull request #2631 from kobergj/go-embed
Go embed
2021-10-20 11:31:31 +02:00
jkoberg 5b60841ada add changelog 2021-10-20 10:09:44 +02:00
Willy Kloucek 839e5c1556 Automated changelog update [skip ci] 2021-10-20 07:07:25 +00:00
Willy Kloucek e3c52af56c Merge pull request #2590 from owncloud/change_data_path
[full-ci] change default paths for oCIS services
2021-10-20 08:24:22 +02:00
Phil Davis 127db3f3e5 Merge pull request #2633 from owncloud/bump-commit-id-20211018
[full-ci][tests-only] Bump core commit id for tests
2021-10-19 23:13:21 +05:45
Saw-jan 186a93bc38 bump core commit id for tests 2021-10-19 22:28:48 +05:45
Willy Kloucek c846646719 fix cs3 users deploymente example 2021-10-19 18:20:02 +02:00
Willy Kloucek 24fb595424 fix code smells 2021-10-19 18:11:16 +02:00
Michael Barz fef74e7552 add some more steps 2021-10-19 16:26:21 +02:00
jkoberg 27dd8ff292 use ci-node-generate always 2021-10-19 16:00:13 +02:00
Ralf Haferkamp 13e884a048 Merge pull request #2636 from owncloud/deployment_examples_insecure_ldaps
use insecure ldap for deployment examples
2021-10-19 15:50:23 +02:00
Willy Kloucek 060c0932dd add changelog 2021-10-19 15:29:20 +02:00
Alex Unger 401bc09b75 Merge pull request #2638 from owncloud/deprecated-build-flag 2021-10-19 15:22:21 +02:00
jkoberg 641dec17da figure out whats wrong 2021-10-19 14:39:34 +02:00
Willy Kloucek cddb334f80 change default paths for oCIS services 2021-10-19 14:37:20 +02:00
A.Unger ccfd48532e remove -i flag on build 2021-10-19 14:35:37 +02:00
jkoberg 291a390848 change for other extensions also 2021-10-19 14:28:29 +02:00
jkoberg a8e4c414fc don't run protobuf for accounts 2021-10-19 14:16:46 +02:00
jkoberg e30c3b2270 bring back protobuf 2021-10-19 14:05:18 +02:00
jkoberg 2356415099 go back to where it was green 2021-10-19 12:49:46 +02:00
Ishank Arora 89ae20758d Add sharees additional info paramater config to ocs 2021-10-19 11:32:41 +02:00
jkoberg 7e49454183 test another assumption 2021-10-19 10:50:08 +02:00
jkoberg e81138f1d3 install yarn in Makefile 2021-10-19 10:28:07 +02:00
Willy Kloucek ea29c80772 use insecure ldap for deployment examples 2021-10-19 10:24:46 +02:00
jkoberg d3b1d7efdb install yarn in dockerfile 2021-10-19 10:11:19 +02:00
jkoberg de37b0b631 generate before test 2021-10-19 09:36:23 +02:00
Alex Unger 75a4015954 Merge pull request #2629 from owncloud/quota-docs 2021-10-18 20:33:44 +02:00
Florian Schade 9c4461ef88 Merge pull request #2634 from owncloud/public-token-query-string
feat(public-token): get public-token from query string
2021-10-18 18:40:55 +02:00
jkoberg cee10e06e5 test assumption 2021-10-18 17:58:14 +02:00
jkoberg 7144ed24dc add yarn build again 2021-10-18 17:46:23 +02:00
jkoberg 2c2ac4c93e simplify make logic 2021-10-18 17:22:36 +02:00
jkoberg 0686d7bc99 more changes to makefiles 2021-10-18 17:14:10 +02:00
jkoberg a7ddc1ee88 don't build node_modules when unneccessary 2021-10-18 17:01:13 +02:00
Michael Barz c2c198c3f3 Merge pull request #2500 from owncloud/api-tests-spaces
add basic API test for spaces
2021-10-18 16:55:34 +02:00
jkoberg a9b6753991 add yarn to web and graph-explorer 2021-10-18 16:44:46 +02:00
jkoberg b5a4a11591 use ci-node-generate instead generate 2021-10-18 16:31:28 +02:00
Alex Unger 524bf18920 Update docs/extensions/storage/spaces.md 2021-10-18 16:26:35 +02:00
Michael Barz 72cb487b75 add formerly removed RevaContext 2021-10-18 16:00:14 +02:00
Florian Schade 03de49e59b remove dev leftover 2021-10-18 15:48:09 +02:00
Michael Barz 95112ee266 use HTTP::get 2021-10-18 15:29:43 +02:00
jkoberg 35cf374f79 add more build steps 2021-10-18 15:24:47 +02:00
Michael Barz df4f70917c add to drone.star 2021-10-18 15:23:53 +02:00
Michael Barz 75e6c46e66 register apiSpaces suite 2021-10-18 15:19:13 +02:00
Florian Schade 0c66bdd6ad feat(public-token): get public-token from query string
retrieving public-token also from the query-string
2021-10-18 14:55:55 +02:00
Michael BarzandArtur Neumann 462937b6df Update tests/acceptance/features/apiSpaces/ListSpaces.feature
Co-authored-by: Artur Neumann <artur@jankaritech.com>
2021-10-18 14:55:30 +02:00
Michael BarzandArtur Neumann 59a1ef8894 Update tests/acceptance/features/apiSpaces/ListSpaces.feature
Co-authored-by: Artur Neumann <artur@jankaritech.com>
2021-10-18 14:55:23 +02:00
Michael BarzandArtur Neumann edbc5e1ffa Update tests/acceptance/features/apiSpaces/ListSpaces.feature
Co-authored-by: Artur Neumann <artur@jankaritech.com>
2021-10-18 14:55:14 +02:00
A.Unger 842d552b39 Merge branch 'master' into api-tests-spaces 2021-10-18 14:39:56 +02:00
jkoberg 9734c27d18 revert comments in makefiles 2021-10-18 14:07:29 +02:00
jkoberg 88664152e3 move embed logic to ocispkg 2021-10-18 13:01:17 +02:00
David Christofas 6f7bb90106 Automated changelog update [skip ci] 2021-10-18 08:56:45 +00:00
David Christofas c51a6630bd Merge pull request #2534 from ishank011/token-fixes
Start up a new machine auth provider in the storage service
2021-10-18 10:55:52 +02:00
Ishank Arora 375e9121fd Update reva version 2021-10-18 09:57:04 +02:00
Ishank Arora 0c8cbe4d4f Add machine auth endpoint to gateway 2021-10-18 09:54:23 +02:00
Ishank Arora 26ec5f0a40 Use machine auth when using cs3 backend in proxy service 2021-10-18 09:54:22 +02:00
Ishank Arora 35905f4a09 Start up a new machine auth provider in the storage service 2021-10-18 09:54:22 +02:00
Ishank Arora 518e8747b2 Add config to skip encoding user groups in reva tokens 2021-10-18 09:54:22 +02:00
Willy Kloucek 669175b062 Merge pull request #2624 from owncloud/configuration_streamlining
[deployment-examples] streamline configuration
2021-10-18 09:48:43 +02:00
Willy Kloucek 9443f2f50a Automated changelog update [skip ci] 2021-10-18 07:21:14 +00:00
Willy Kloucek 8fdaa188e0 Merge pull request #2630 from owncloud/use_buf_tooling
Use buf tooling
2021-10-18 09:20:26 +02:00
jkoberg d2026a5d94 Merge branch 'master' into go-embed 2021-10-18 09:20:19 +02:00
jkoberg 0be96a6777 make linter happy 2021-10-18 09:10:39 +02:00
Willy Kloucek 3f25821f36 Automated changelog update [skip ci] 2021-10-18 05:54:47 +00:00
Willy Kloucek 8fdf8e340b Merge pull request #2536 from owncloud/public-share-auth-middleware
add public share auth middleware
2021-10-18 07:54:11 +02:00
Willy Kloucek 367ea73166 switch to buf tooling 2021-10-18 07:53:00 +02:00
Willy Kloucek 32fb7cb6f0 Automated changelog update [skip ci] 2021-10-18 05:30:38 +00:00
Willy Kloucek 1494e69517 Merge pull request #2616 from owncloud/go-micro-v4
upgrade to go micro v4.1.0
2021-10-18 07:28:28 +02:00
David Christofas f5aabe1a87 update reva to latest master 2021-10-15 17:45:16 +02:00
David Christofas 600c7ca351 use updated VerifyScope 2021-10-15 17:45:11 +02:00
David Christofas fb0380820c enable archiver for public shares 2021-10-15 17:45:06 +02:00
David Christofas c88824e7a0 run the public share auth middleware after the create home middleware
The x-access-token for public shares is scoped for only the share. That means create home would fail because the token is not valid.
2021-10-15 16:48:47 +02:00
David Christofas 5713fe81a4 add public share auth middleware 2021-10-15 16:48:43 +02:00
jkoberg a23e648e17 do same for ocis 2021-10-15 16:22:47 +02:00
jkoberg 2878b26c29 comment more code 2021-10-15 16:08:36 +02:00
jkoberg 8b7f866059 don't execute protobuf 2021-10-15 15:59:08 +02:00
jkoberg 52036082a7 build accounts from ocs 2021-10-15 15:45:02 +02:00
jkoberg ef9ee8726e only call node_modules 2021-10-15 15:18:27 +02:00
jkoberg d169bba0bb dont build node modules 2021-10-15 15:06:13 +02:00
jkoberg f97ab8c223 add yarn to makefile 2021-10-15 14:06:55 +02:00
jkoberg cfc82f7df8 lame mans way to get the build running 2021-10-15 13:52:10 +02:00
Michael Barz c7553651f3 Automated changelog update [skip ci] 2021-10-15 11:19:41 +00:00
Michael Barz 4e309b212f Merge pull request #2628 from owncloud/quota-stages
[Enhancement] Report quota states
2021-10-15 13:19:03 +02:00
Michael Barz fabed476f7 calculate quota stage 2021-10-15 12:28:19 +02:00
jkoberg a8f1d76cbe Merge branch 'master' into go-embed 2021-10-15 11:47:38 +02:00
A.Unger 237c69b293 add considerations section 2021-10-15 11:29:01 +02:00
A.Unger c833edfefb docs for quota usage 2021-10-15 11:26:26 +02:00
Michael Barz b155569c95 update reva to latest master 2021-10-15 10:21:22 +02:00
Michael Barz d5f1bf7b79 Merge pull request #2607 from owncloud/report-quota
[full-ci][Change] report quota in `/me/drives`
2021-10-15 07:59:31 +02:00
Alex Unger 2303ca308c Merge pull request #2625 from owncloud/fix_json_omit 2021-10-15 07:58:41 +02:00
Michael Barz 986543ef8b update reva to latest master 2021-10-14 20:52:27 +02:00
Michael Barz 654c237094 add missing error handling 2021-10-14 17:23:40 +02:00
Willy Kloucek 9f2831634d fix invalid json:"omit" added in owncloud/ocis#2437 2021-10-14 17:03:47 +02:00
Willy Kloucek de3fefd4dd streamline configuration 2021-10-14 16:10:43 +02:00
A.Unger abbd64bff6 fix update branch 2021-10-14 16:06:49 +02:00
A.Unger aeb51cf241 Merge branch 'master' into report-quota 2021-10-14 16:02:30 +02:00
Willy Kloucek 43b624a0fe Merge pull request #2623 from owncloud/dirkstascheit-patch-1
Update _index.md
2021-10-14 16:00:32 +02:00
A.Unger 7b062ce2a4 update reva 2021-10-14 16:00:21 +02:00
Willy Kloucek 2b145d7feb fix return bgu 2021-10-14 15:56:19 +02:00
Willy Kloucek fcb1c4225b replace third_party with go get and fix accounts / settings tests 2021-10-14 15:56:19 +02:00
Willy Kloucek 42b60fddb6 replace gogo protobuf and switch linter 2021-10-14 15:56:19 +02:00
Willy Kloucek cbac7e0052 update protobuf 2021-10-14 15:56:19 +02:00
Willy Kloucek db2c4d8bb1 update protoc-gen-micro and regenerate assets 2021-10-14 15:56:19 +02:00
Willy Kloucek 6d5a3733ff upgrade to go micro v4.1.0 2021-10-14 15:56:19 +02:00
Alex Unger c4f450bab7 Merge branch 'master' into report-quota 2021-10-14 15:55:03 +02:00
kobergj ce136b4940 Automated changelog update [skip ci] 2021-10-14 13:44:05 +00:00
kobergj 60da5983e0 Merge pull request #2619 from kobergj/defaultSpaceQuota
Default space quota
2021-10-14 15:43:23 +02:00
Michael Barz a9ec4e99b7 replace reva with micbar fork for testing 2021-10-14 13:56:03 +02:00
jkoberg 00c663f3b6 simplify quota creation logic 2021-10-14 13:50:06 +02:00
Dirk Stascheit d04c929109 Update _index.md
updated the version number from 1.12 to 1.13
2021-10-14 10:48:00 +02:00
jkoberg 94accca55c use newly created issue 2021-10-13 17:04:41 +02:00
jkoberg 492da79b09 add changelog item 2021-10-13 16:50:28 +02:00
Willy Kloucek 7d2b75a93b Automated changelog update [skip ci] 2021-10-13 13:44:14 +00:00
Willy Kloucek c60b76e1de Merge pull request #2612 from owncloud/dont-expose-services-by-default
don't expose services by default
2021-10-13 15:43:43 +02:00
jkoberg 2a6e5454d2 send nil quota if not set 2021-10-13 14:13:26 +02:00
Michael Barz f136a58054 Merge pull request #2617 from owncloud/release-1-13-0
[full-ci] release 1.13.0
2021-10-13 13:49:03 +02:00
jkoberg d5d33c7941 add default space quota 2021-10-13 13:47:57 +02:00
Willy Kloucek 5703a18f17 Merge pull request #2585 from owncloud/1.13_release_notes
[docs-only] 1.13.0 Release Notes
2021-10-13 13:31:55 +02:00
Patrick Maier e303f5fa51 capability for favorites 2021-10-13 13:26:49 +02:00
Willy Kloucek 3607bbb3a9 fix changelog 2021-10-13 13:04:43 +02:00
Willy Kloucek 719e1cfb48 Merge pull request #2618 from kobergj/fixPanicUpdateDrive
fix panics in update drive handler
2021-10-13 10:57:54 +02:00
Alex Unger e9137c1533 Merge branch 'master' into report-quota 2021-10-13 10:47:24 +02:00
Phil Davis 9e961e7e86 Merge pull request #2611 from owncloud/bumpCommitId-2021-10-12
[tests-only][full-ci]Bump core commit id
2021-10-13 14:23:58 +05:45
jkoberg 5b9870d1d8 fix panics in update drive handler 2021-10-13 09:17:49 +02:00
Willy Kloucek 570a85efb6 prepare changelog 2021-10-13 07:24:25 +02:00
David Christofas bcb134cb47 Automated changelog update [skip ci] 2021-10-12 18:36:53 +00:00
David Christofas ff74784d16 Merge pull request #2610 from owncloud/create-space-response
return newly created space in response
2021-10-12 20:33:32 +02:00
David Christofas c4d4efdda8 return newly created space in response 2021-10-12 19:18:50 +02:00
Willy Kloucek 185e11e861 Automated changelog update [skip ci] 2021-10-12 16:24:24 +00:00
Willy Kloucek 899fd2bb7d Merge pull request #2615 from owncloud/update_reva_1_14
[full-ci] update reva to 1.14.0
2021-10-12 18:23:56 +02:00
Willy Kloucek 60eb304359 Merge pull request #2437 from owncloud/update-deployment-example-configs
Update theme path in ocis-wopi, ocis-hello examples, drone config and default flagset docs
2021-10-12 17:23:00 +02:00
Willy Kloucek 1c79246405 update reva to 1.14.0 2021-10-12 17:20:34 +02:00
Willy KloucekandPascal Wengerter 987261f646 Update web/pkg/flagset/flagset.go
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-10-12 16:27:40 +02:00
Willy Kloucek 03e60fe63d split theme configuration flags 2021-10-12 16:27:39 +02:00
pwengerter d17b13af2b Fix web theme paths in example configs & flagset default 2021-10-12 16:27:38 +02:00
Willy Kloucek e17eda7160 fix wopi deployment example 2021-10-12 15:38:55 +02:00
Willy Kloucek 879827ca4b don't expose services by default 2021-10-12 14:00:33 +02:00
Swikriti Tripathi 9984d4d7d9 Bump core commit id 2021-10-12 16:54:44 +05:45
Michael Barz 90246d776d Merge pull request #2608 from owncloud/fix_master_build
fix build on master
2021-10-12 11:38:26 +02:00
Willy Kloucek 2cb786d163 use prebuilt ocis binary for eos builds 2021-10-12 11:04:48 +02:00
Willy Kloucek 31d349f8d7 fix build on master by running go mod tidy 2021-10-12 10:15:59 +02:00
Willy Kloucek e4cc2a5b29 Automated changelog update [skip ci] 2021-10-12 08:09:29 +00:00
Willy Kloucek 1a8faffd3f Merge pull request #2603 from gmgigi96/appregistry-config
[full-ci] Updated MimeTypes configuration for AppRegistry
2021-10-12 10:07:03 +02:00
Willy Kloucek 121e133792 update reva 2021-10-12 09:08:56 +02:00
Willy Kloucek de38e44f4a update continous deployment example config file 2021-10-12 08:29:11 +02:00
Willy Kloucek f75c781cc0 Automated changelog update [skip ci] 2021-10-11 15:11:17 +00:00
Willy Kloucek 5fa743d361 Merge pull request #2605 from owncloud/go-1-17
Enhancement: Upgrade to GO 1.17
2021-10-11 17:10:42 +02:00
Willy Kloucek 383dd4a556 fix eos build 2021-10-11 16:02:58 +02:00
Willy Kloucek f2122ca50f update reva 2021-10-11 15:39:43 +02:00
Willy Kloucek d6adbb3068 ugrade to GO 1.17 2021-10-11 14:50:37 +02:00
Michael Barz 6844242511 report quota 2021-10-11 14:42:43 +02:00
Willy Kloucek 06b22b424a Automated changelog update [skip ci] 2021-10-11 11:08:17 +00:00
Willy Kloucek 0d4bc304e7 Merge pull request #2598 from owncloud/fix_metadata_storage
[full-ci] configure users and metadata storage separately
2021-10-11 13:06:17 +02:00
Gianmaria Del Monte 7d868773ca Updated dependencies 2021-10-11 11:58:11 +02:00
Gianmaria Del Monte b19ec45a54 Updated reva 2021-10-11 11:49:25 +02:00
Willy Kloucek 6c6cb64364 remove uneeded storages for metadata, add missing flagsets 2021-10-11 11:39:44 +02:00
Willy Kloucek d74816f242 configure users and metadata storage separately 2021-10-11 11:39:36 +02:00
Gianmaria Del Monte 74ce9c2b20 Updated mime types config example 2021-10-11 10:57:06 +02:00
David Christofas 1ee4198d53 Automated changelog update [skip ci] 2021-10-11 08:36:28 +00:00
David Christofas 43b8849754 Merge pull request #2599 from owncloud/add-favorites-capability
Add favorites capability
2021-10-11 10:36:00 +02:00
Gianmaria Del Monte f9decfbf5a Add changelog 2021-10-11 10:26:31 +02:00
Gianmaria Del Monte e0e40602d8 Updated MimeTypes configuration for AppRegistry with a list instead of a map 2021-10-11 10:09:22 +02:00
Benedikt Kulmann f63fe925fb Merge pull request #2600 from owncloud/fix_codimd_save_hook
[deployment examples] fix CodiMD save hook in WOPI example
2021-10-08 21:31:37 +02:00
Willy Kloucek 74bb7bc0c0 fix codimd save hook 2021-10-08 19:53:20 +02:00
Benedikt Kulmann 489d0a5db3 Add favorites capability 2021-10-08 19:37:48 +02:00
Alex Unger 984d92873a Merge pull request #2588 from owncloud/manage-spaces 2021-10-08 16:27:18 +02:00
David Christofas d8b0b60868 Automated changelog update [skip ci] 2021-10-08 12:33:58 +00:00
David Christofas 88deab32eb Merge pull request #2597 from owncloud/gateway_config
add gatewaysvc to all REVA services
2021-10-08 14:31:30 +02:00
A.Unger 052b25ef8b trigger-sonarcloud 2021-10-08 14:15:12 +02:00
A.Unger 386847ac37 use TrimPrefix instead of TrimLeft 2021-10-08 14:10:18 +02:00
A.Unger dff70e0be4 add docs for editing a Space 2021-10-08 14:07:58 +02:00
A.Unger 4861372dc1 add docs for editing a Space 2021-10-08 14:06:11 +02:00
A.Unger 4466e6b71e proper url parsing using godata 2021-10-08 13:23:10 +02:00
Willy Kloucek 778197a3eb add gatewaysvc to all REVA services 2021-10-08 13:12:18 +02:00
Willy Kloucek 5f0cf077ca Merge pull request #2478 from owncloud/onlyoffice_wopi_deployment_example
add OnlyOffice and CodiMD to wopi deployment example
2021-10-08 10:51:36 +02:00
Willy Kloucek 4514ebb736 Automated changelog update [skip ci] 2021-10-08 08:04:28 +00:00
Willy Kloucek ebd573fec3 Merge pull request #2596 from kobergj/refineChangeLogTemplate
Add documentation to changelog template/readme
2021-10-08 10:03:56 +02:00
Willy KloucekandBenedikt Kulmann 0241b85a29 Update docs/ocis/deployment/ocis_wopi.md
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2021-10-08 10:02:15 +02:00
jkoberg 73da36f405 add type docu to changelog template 2021-10-08 09:26:43 +02:00
Willy Kloucek 6845110730 add warning about current state 2021-10-08 08:22:03 +02:00
Willy Kloucek 6ea0b2445e update deployment config and docs 2021-10-08 08:13:59 +02:00
Willy Kloucek 1d59da7225 workaround automatic startup 2021-10-08 08:13:59 +02:00
Willy Kloucek 0287d2cd1b fix 2021-10-08 08:13:59 +02:00
Willy Kloucek b3edd29de4 remove proxy restart 2021-10-08 08:13:59 +02:00
Willy Kloucek 9f04fa774b switch to app provider, add codimd 2021-10-08 08:13:58 +02:00
Willy Kloucek 30a8132d12 remove hack 2021-10-08 08:11:55 +02:00
Willy Kloucek bc54b4d200 fix ssl false 2021-10-08 08:11:55 +02:00
Willy Kloucek b01168a61b make it work... somehow... 2021-10-08 08:11:55 +02:00
Willy Kloucek acd8afc309 split up app drivers, add insecure option for onlyoffice 2021-10-08 08:11:55 +02:00
Willy Kloucek 48a3fa8eec add onlyoffice to wopi deplyoment example 2021-10-08 08:11:55 +02:00
Willy Kloucek 1a8ddb114f Automated changelog update [skip ci] 2021-10-08 05:30:31 +00:00
Willy Kloucek 669e50e282 Merge pull request #2591 from ishank011/mime-type-allow-creation
Add allow_creation parameter to mime type config
2021-10-08 07:29:51 +02:00
Willy Kloucek b013a1167e update configuration example 2021-10-08 06:40:52 +02:00
Phil Davis 31ac52b1d0 Automated changelog update [skip ci] 2021-10-08 02:40:14 +00:00
Phil Davis 32a6dff0b3 Merge pull request #2592 from kobergj/updateChangelog
add changelog for #2587
2021-10-08 08:24:42 +05:45
Phil Davis 842ad85eb3 Automated changelog update [skip ci] 2021-10-07 16:10:52 +00:00
Phil Davis 3f01f0cd06 Merge pull request #2589 from owncloud/update-web-4.3.0
[full-ci] Update web to v4.3.0
2021-10-07 21:55:19 +05:45
Benedikt Kulmann 056d594fae Downgrade node-fetch from v3 to v2 2021-10-07 17:13:31 +02:00
Benedikt Kulmann b4f2f0f8e9 Remove dead code 2021-10-07 17:13:31 +02:00
jkoberg c55fb5c665 make the linter happy 2021-10-07 16:49:27 +02:00
jkoberg b8bdd6f4c1 make the parser happy 2021-10-07 16:34:59 +02:00
jkoberg 43cbaf137c add changelog for #2587 2021-10-07 16:30:26 +02:00
A.Unger 8161f9023b wip: prepare update request 2021-10-07 16:26:20 +02:00
Jörn Friedrich Dreyer 47abbdec6a Merge pull request #2587 from kobergj/unifyRevaGatewayEnvvar
Unify REVA gateway configuration
2021-10-07 15:56:16 +02:00
Ishank Arora 8df07c7231 Add allow_creation parameter to mime type config 2021-10-07 15:51:42 +02:00
Phil Davis ccd5a7ef2c Adjust line numbers in expected-failures 2021-10-07 19:14:39 +05:45
jkoberg 3a7b7c932c rename envvar to REVA_GATEWAY 2021-10-07 15:16:19 +02:00
Patrick Maier e521c4c93c Update release_notes.md 2021-10-07 14:57:09 +02:00
Patrick MaierandBenedikt Kulmann f520e3db1d Apply suggestions from code review
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2021-10-07 14:47:20 +02:00
jkoberg c797f1c192 revert changes to BIND envvar 2021-10-07 14:29:58 +02:00
pwengerter a8f15f4cd1 Update JS dependencies 2021-10-07 18:09:00 +05:45
Benedikt Kulmann de7e466445 Update web to v4.3.0 2021-10-07 18:08:59 +05:45
Phil Davis 04ea7ae201 Merge pull request #2586 from owncloud/bumpCommitId-2021-10-7
[full-ci][tests-only]Bump core commit id
2021-10-07 17:18:55 +05:45
A.Unger c0ae065e77 account for space description 2021-10-07 13:16:31 +02:00
A.Unger 9299e22b18 wip: workload layout 2021-10-07 12:54:13 +02:00
Swikriti Tripathi 0c47a28e0a add failing test to expected to fail 2021-10-07 16:27:44 +05:45
jkoberg 31f1301c9e unify all envvars, cli parameters and descriptions 2021-10-07 12:32:57 +02:00
Swikriti Tripathi 8c32626fc9 Bump core commit id 2021-10-07 15:49:49 +05:45
Patrick Maier d58d3d2de6 1.13.0 Release Notes 2021-10-06 17:39:39 +02:00
jkoberg 8bb74dbc6f add common EnvVar for Reva Gateway 2021-10-06 17:35:12 +02:00
Jörn Friedrich Dreyer 16dcc4fadb Merge pull request #2582 from owncloud/fix_entrypoint_permission
fix oC10 oCIS parallel deployment
2021-10-06 16:21:53 +02:00
Jörn Friedrich Dreyer 62045efd4c Automated changelog update [skip ci] 2021-10-06 14:17:22 +00:00
Jörn Friedrich Dreyer 8b416c9fd2 Merge pull request #2583 from owncloud/graph-use-type
Send the space type in the cs3 Request
2021-10-06 16:16:46 +02:00
Michael Barz 84bc009c2e remove expected failures from reva update 2021-10-06 14:44:49 +02:00
Michael Barz 93a76a06e7 use space type from request 2021-10-06 14:44:18 +02:00
Willy Kloucek 8659272d8c lower TUS max chunk size from infinite to 0.1 GB 2021-10-06 14:32:49 +02:00
Willy Kloucek 3ab4c6d123 set default umask 022 instead of hardened 027 to make entrypoint script executable 2021-10-06 13:06:18 +02:00
Willy Kloucek 21acef46d7 Merge pull request #2581 from owncloud/report_unexpected_passes
[full-ci] fix unexpected passes for cs3org/reva#2086
2021-10-06 09:15:44 +02:00
Willy Kloucek e2a6b5d72d fix expected failures for https://github.com/cs3org/reva/pull/2086 2021-10-06 08:21:48 +02:00
Willy Kloucek c0a20b2548 Automated changelog update [skip ci] 2021-10-05 17:07:52 +00:00
Willy Kloucek b0ca1236fd Merge pull request #2576 from owncloud/remove_proxy_assets
remove proxy asset path configuration
2021-10-05 19:07:01 +02:00
Alex Unger b2c2416ae1 Automated changelog update [skip ci] 2021-10-05 16:03:07 +00:00
Alex Unger 1b41c479b7 Merge pull request #2578 from owncloud/cleanup-go-mod 2021-10-05 18:02:21 +02:00
Alex Unger 93d6a6b5f2 Merge pull request #2579 from owncloud/cleanup-repo 2021-10-05 18:02:02 +02:00
A.Unger acde5b5ab3 add changelog 2021-10-05 16:42:58 +02:00
A.Unger 887ac0901f remove LICENSE file from subdirs 2021-10-05 16:41:36 +02:00
Willy Kloucek 54d0a241ae remove assets from test 2021-10-05 16:41:28 +02:00
A.Unger 6591e333f1 tidy mods 2021-10-05 16:36:33 +02:00
A.Unger f49384ae8e remove etcd replaces 2021-10-05 16:17:18 +02:00
David Christofas 3dae281e18 Automated changelog update [skip ci] 2021-10-05 13:59:41 +00:00
David Christofas 0b789e592c Merge pull request #2520 from owncloud/add-list-favorite-api
add the REPORT API with the filter-files filter
2021-10-05 15:59:13 +02:00
David Christofas 3fb8845e8c add the REPORT API with the filter-files filter 2021-10-05 15:21:53 +02:00
Willy Kloucek 7be75f5af7 Automated changelog update [skip ci] 2021-10-05 13:15:26 +00:00
Willy Kloucek c699e4b180 Merge pull request #2577 from owncloud/add_machine_auth_to_secrets
document machine auth api key
2021-10-05 15:14:52 +02:00
Willy Kloucek ef83e3bb41 Merge pull request #2575 from owncloud/buildtimeversion
fix extensions versions
2021-10-05 15:14:38 +02:00
Willy Kloucek 2692c7dbf8 document machine auth api key 2021-10-05 14:25:25 +02:00
Willy Kloucek 1b9ec56af4 remove proxy asset path configuration 2021-10-05 14:10:41 +02:00
Willy Kloucek 68ba24ff73 fix extensions versions 2021-10-05 12:39:31 +02:00
Alex Unger 2932b7b821 Automated changelog update [skip ci] 2021-10-05 10:22:46 +00:00
Alex Unger fa4156e34c Merge pull request #2574 from owncloud/fix-reva-default-port-config 2021-10-05 12:22:04 +02:00
A.Unger 9413a9dc92 add changelog 2021-10-05 11:27:34 +02:00
A.Unger 4f4db6203f Merge branch 'master' into fix-reva-default-port-config 2021-10-05 09:37:54 +02:00
A.Unger 74ad0b8c1d add default gateway flag to storage commands 2021-10-05 09:23:53 +02:00
Phil Davis 3afc5992e6 Merge pull request #2569 from owncloud/id-bump
[tests-only] [full-ci] bump latest core commit id for tests
2021-10-04 08:13:32 +05:45
Phil Davis b020cf5a73 Bump core commit id 20211003 2021-10-03 21:41:00 +05:45
sakshamgurung bcf4531ce7 latest core commit id bump for tests 2021-10-02 20:39:43 +09:00
Willy Kloucek 990abd60f6 Automated changelog update [skip ci] 2021-10-01 07:54:54 +00:00
Willy Kloucek a06e68de59 Merge pull request #2566 from owncloud/update-reva-477bb18843a97c6e392dd316e8735ccbe44f16ed
[full-ci] Update reva to  v1.13.1-0.20211001063718-477bb18843a9
2021-10-01 09:54:20 +02:00
Benedikt Kulmann 668411f2d5 Update reva to v1.13.1-0.20211001063718-477bb18843a9 2021-10-01 09:10:51 +02:00
Willy Kloucek 624feb43dd Automated changelog update [skip ci] 2021-10-01 07:06:44 +00:00
Willy Kloucek 898f9d0378 Merge pull request #2553 from owncloud/configure_default_mimetypes
make mimetype allow list configurable and add example config
2021-10-01 09:04:39 +02:00
Willy Kloucek 66f430bff1 remove empty fields 2021-10-01 08:28:40 +02:00
Willy Kloucek 423e0d6450 remove named return and add loggin 2021-10-01 08:28:40 +02:00
Willy Kloucek 5073e10405 make mimetype allow list configurable and add example config 2021-10-01 08:28:40 +02:00
Benedikt Kulmann 80ae89369f Merge pull request #2565 from owncloud/update_plugins_s3 2021-10-01 08:25:52 +02:00
Willy Kloucek 3f84416634 update plugins/s3:1 to plugins/s3:latest 2021-10-01 07:07:22 +02:00
Willy Kloucek e4bb5b8bef Merge pull request #2562 from owncloud/fix-groups-flags
[full-ci] Add the reva gateway flag to groups
2021-09-30 11:46:18 +02:00
A.Unger 1dca2ae219 update go.sum 2021-09-30 10:58:35 +02:00
A.Unger 3588d42001 add the reva gateway flag to groups 2021-09-30 10:44:52 +02:00
Willy Kloucek ec50eeb3ee Merge pull request #2560 from owncloud/fix_ldap_ca_error_for_docker_images
fix ldap CA config for docker images
2021-09-30 07:16:44 +02:00
Alex Unger 2a1a9aa503 Merge pull request #2556 from owncloud/nightly_full_ci
[tests-only] run full-ci during night (cron)
2021-09-29 15:09:22 +02:00
A.Unger 83ddf4ecd2 Merge branch 'master' into nightly_full_ci 2021-09-29 14:26:35 +02:00
Alex Unger ac102c07f4 Merge pull request #2559 from owncloud/fix-ocis-5840
[tests-only] [full-ci] Remove webUIPreview/imageMediaViewer.feature:56
2021-09-29 14:24:13 +02:00
Willy Kloucek 23178bd7ed fix ldap CA config for docker images 2021-09-29 13:58:23 +02:00
A.Unger c4360b86af webui tests: remove webUIPreview/imageMediaViewer.feature:56 2021-09-29 13:30:06 +02:00
Alex Unger d3377783a6 Merge pull request #2417 from owncloud/update-bridge-docs
Update bridge docs
2021-09-29 13:19:50 +02:00
A.Unger bfbf469122 Merge branch 'master' into nightly_full_ci 2021-09-29 12:55:32 +02:00
A.Unger 6166bb5a4c Merge branch 'master' into update-bridge-docs 2021-09-29 12:09:29 +02:00
Alex Unger 4486751df0 Merge pull request #2546 from owncloud/dependabot/npm_and_yarn/idp/jest-resolve-27.2.2
Bump jest-resolve from 26.6.2 to 27.2.2 in /idp
2021-09-29 12:04:00 +02:00
Willy Kloucek fee618f40b run full-ci during night (cron) 2021-09-29 11:55:00 +02:00
David Christofas d438f35517 Automated changelog update [skip ci] 2021-09-29 08:58:53 +00:00
David Christofas a35c406896 Merge pull request #2557 from owncloud/fix-account_resolver
fix the account resolver middleware
2021-09-29 10:54:11 +02:00
Alex Unger 86728bc5aa Merge pull request #2555 from owncloud/ocis-2113 2021-09-29 10:25:03 +02:00
David Christofas 04a8ef7c35 fix the account resolver middleware 2021-09-29 10:19:12 +02:00
A.Unger 2d7927d291 remove magic test file 2021-09-29 09:51:31 +02:00
Willy Kloucek f36017f188 Merge pull request #2552 from owncloud/check_changelog_on_docs_only
check changelog also on [docs-only] PRs
2021-09-29 08:06:24 +02:00
Willy Kloucek b0d2bdfe73 check changelog also on [docs-only] PRs 2021-09-29 07:58:28 +02:00
Phil Davis c040c4955c Automated changelog update [skip ci] 2021-09-29 03:07:34 +00:00
Phil Davis 93f26b3df2 Merge pull request #2551 from owncloud/squash_redirect_changelog
squash redirect changelog item
2021-09-29 08:47:13 +05:45
Willy Kloucek 606c54401c squash redirect changelog item 2021-09-28 18:14:06 +02:00
Alex Unger 0e5c231a36 Merge pull request #2543 from owncloud/update_tooling 2021-09-28 09:26:20 +02:00
Willy Kloucek 77662bd4f7 Merge pull request #2550 from owncloud/add_migration_deploy_to_continous_deployments
enable continous deployment for migration example
2021-09-27 16:32:00 +02:00
Willy Kloucek 74284a0ec3 enable continous deployment for migration example 2021-09-27 15:26:03 +02:00
Willy Kloucek 10ced591fc Merge pull request #2302 from owncloud/add_migration_deployment
add migration deployment
2021-09-27 14:54:49 +02:00
Willy KloucekandJörn Friedrich Dreyer 4bb5d006e4 Update docs/ocis/deployment/oc10_ocis_parallel.md
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-27 14:11:24 +02:00
Willy Kloucek 17935aa2ad add hint about non working deployment 2021-09-27 13:58:47 +02:00
Willy Kloucek 14f2b2054d Merge pull request #2499 from owncloud/switch_to_urfave_cli
switch from micro/cli/v2 to urfave/cli/v2
2021-09-27 13:08:19 +02:00
Willy Kloucek 7b30571aff switch from micro/cli/v2 to urfave/cli/v2, like https://github.com/asim/go-micro/pull/2224 2021-09-27 12:02:55 +02:00
Willy Kloucek 776f392a9c Automated changelog update [skip ci] 2021-09-27 08:53:46 +00:00
Willy Kloucek 46bf1ed347 Merge pull request #2544 from owncloud/archiver_capabilities
add max size and max num to the archiver capabilities
2021-09-27 10:51:42 +02:00
Phil Davis 33b2b6c4d3 Merge pull request #2533 from owncloud/bump-commit-ids-20210923
[tests-only] [full-ci] Bump core commit id for tests
2021-09-27 14:08:43 +05:45
Willy Kloucek 0614f3c613 update reva and fix int config parameters as string 2021-09-27 10:21:59 +02:00
Willy Kloucek 18f38d4890 Merge pull request #2545 from owncloud/systemd_deployment
[docs-only] add systemd deployment guide
2021-09-27 10:08:20 +02:00
Willy Kloucek f4e6414d07 remove syslog target 2021-09-27 10:05:50 +02:00
Willy Kloucek 10fdcafc8e revert flaex downgrade 2021-09-27 10:02:06 +02:00
Saw-jan fca36ff477 bump commit ids for tests
update expected-failure file
2021-09-27 12:37:10 +05:45
Willy Kloucek 6ef818ede8 Merge pull request #2541 from owncloud/add_links_to_monitoring_tracing
[docs-only] link monitoring and tracing instance
2021-09-27 08:42:53 +02:00
dependabot[bot] fa8e02514f Bump jest-resolve from 26.6.2 to 27.2.2 in /idp
Bumps [jest-resolve](https://github.com/facebook/jest/tree/HEAD/packages/jest-resolve) from 26.6.2 to 27.2.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v27.2.2/packages/jest-resolve)

---
updated-dependencies:
- dependency-name: jest-resolve
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 06:14:59 +00:00
Willy Kloucek e1a5de37e4 add systemd deployment guide 2021-09-26 15:54:20 +02:00
Willy Kloucek bfb801b63d add max size and max num to the archiver capabilities 2021-09-26 15:05:08 +02:00
Alex Unger 67219f1ed1 Merge pull request #2542 from owncloud/enable_kubernetes_docs 2021-09-25 17:26:23 +02:00
Willy Kloucek c3e291931e regenerate assets 2021-09-25 14:45:01 +02:00
Willy Kloucek 633632629d update tooling 2021-09-25 14:37:40 +02:00
Willy Kloucek 08cc7683df [docs-only] publish kubernetes docs 2021-09-25 13:59:10 +02:00
Willy Kloucek 4cb9117ead link monitoring and tracing instance 2021-09-25 13:17:48 +02:00
Alex Unger 83e13eb898 Merge pull request #2496 from owncloud/k8s-docs 2021-09-24 12:08:38 +02:00
Willy Kloucek b98b39fec6 Merge pull request #2529 from owncloud/archiver_app_provider_capabilities
Archiver  and app provider capabilities
2021-09-23 17:40:57 +02:00
Willy KloucekandBenedikt Kulmann 1a7c829bb4 Apply suggestions from code review
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2021-09-23 17:05:30 +02:00
Willy KloucekandPascal Wengerter 8bc8f4651f make urls configurable
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-09-23 16:23:30 +02:00
Willy Kloucek e718239717 update reva 2021-09-23 16:21:19 +02:00
Willy Kloucek b06846546d add archiver and app provider to capabilities 2021-09-23 16:20:30 +02:00
Willy Kloucek ca3ec82e8c remove unused capabilities 2021-09-23 16:20:30 +02:00
Alex Unger 00f41cb3ff Automated changelog update [skip ci] 2021-09-23 13:33:21 +00:00
Alex Unger 31952bab79 Merge pull request #2531 from owncloud/drives-odata 2021-09-23 15:32:43 +02:00
Michael Barz 79dd35e378 make POST on Spaces comply to odata 2021-09-23 10:52:44 +02:00
David Christofas ca2cfab990 Automated changelog update [skip ci] 2021-09-23 08:46:41 +00:00
David Christofas 7b983ee71f Merge pull request #2527 from ishank011/token-expiration
Set reva JWT token expiration time to 24 hours by default
2021-09-23 04:46:00 -04:00
Willy Kloucek 89ce91c2e0 Automated changelog update [skip ci] 2021-09-23 08:38:12 +00:00
Willy Kloucek c5a74949b1 Merge pull request #2509 from owncloud/expose_reva_archiver
Expose configuration for the reva archiver
2021-09-23 10:37:44 +02:00
Ishank Arora 3e98b8df72 Set reva JWT token expiration time to 24 hours by default 2021-09-23 09:10:40 +02:00
David Christofas 255a6a27cf Merge pull request #2517 from owncloud/fix_transfer_secrets_examples
fix STORAGE_TRANSFER_SECRET usage in deployment examples
2021-09-22 12:32:38 -04:00
David Christofas 30eee219c1 Automated changelog update [skip ci] 2021-09-22 16:25:29 +00:00
David Christofas 80f872451e Merge pull request #2528 from ishank011/reva-auth-tokens
Use reva's Authenticate method instead of spawning token managers
2021-09-22 12:20:29 -04:00
Ishank Arora fd2bf9c825 Add config for machine driver to bearer auth 2021-09-22 16:49:54 +02:00
Ishank Arora c0d029dee3 Mint token after roles injection 2021-09-22 15:41:21 +02:00
Willy Kloucek 889b30cd18 make archiver routes match also "/archiver" instead of "/archiver/" only 2021-09-22 13:53:27 +02:00
A.Unger aad9c46b80 Merge branch 'master' into k8s-docs 2021-09-22 11:39:01 +02:00
A.Unger 1569317572 add Deaddy blog to the references 2021-09-22 11:38:48 +02:00
Ishank Arora fcd861f38f Add machine auth API key to ocs service 2021-09-21 17:49:15 +02:00
Ishank Arora 08c51ee8c8 Use reva's Authenticate method instead of spawning token managers 2021-09-21 15:50:19 +02:00
Lukas Hirt ed6ed61b87 [tx] updated from transifex 2021-09-21 00:03:32 +00:00
Willy Kloucek 6cc2a2c58d add migration deployment 2021-09-20 15:15:35 +02:00
Phil Davis b2c493404d Automated changelog update [skip ci] 2021-09-20 13:02:29 +00:00
Phil Davis 4fa7a509d2 Merge pull request #2522 from jsoref/spelling
Spelling
2021-09-20 18:46:59 +05:45
Josh Soref 55667a3ab3 spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-09-20 16:54:29 +05:45
Michael Barz 490bea0eba add basic API test for spaces 2021-09-19 17:26:09 +02:00
Jörn Friedrich Dreyer 806d224ed7 Merge pull request #2524 from owncloud/dirkstascheit-patch-1
Update _index.md
2021-09-17 16:48:26 +02:00
Dirk Stascheit f191fc4302 Update _index.md
changed example code oCIS version from 1.11 to 1.12
2021-09-17 15:59:39 +02:00
David Christofas dbb6367e92 Automated changelog update [skip ci] 2021-09-17 12:15:49 +00:00
David Christofas febbb17ee0 Merge pull request #2492 from rhafer/ldap-tls-config
Allow reva to use safer TLS defaults for LDAP
2021-09-17 08:11:16 -04:00
Willy Kloucek 1f6d1f3860 Merge pull request #2519 from owncloud/17092021_document-skip-user-option
[docs-only] Document skip step for demo users/groups and fix changelog
2021-09-17 13:32:58 +02:00
pwengerter e437ce26b2 Document skip step for demo users/groups and fix changelog 2021-09-17 13:26:43 +02:00
Phil Davis d866e9cf0b Merge pull request #2518 from owncloud/bump-commit-ids-20210917
[full-ci] [tests-only] Bump commit ids for tests
2021-09-17 13:09:17 +05:45
Phil Davis 0fb67373a0 Bump commit ids for tests 2021-09-17 09:18:06 +05:45
Willy Kloucek 196d382805 Automated changelog update [skip ci] 2021-09-16 21:50:50 +00:00
Willy Kloucek 4d7b62dad1 Merge pull request #2498 from rhafer/docker-test-root
tests: Run ocis container as root for testsuite
2021-09-16 23:49:59 +02:00
Willy Kloucek 246c2dc15e fix STORAGE_TRANSFER_SECRET usage in deployment examples 2021-09-16 19:06:02 +02:00
Ralf Haferkamp e932120cbc Allow reva to use safer TLS defaults for LDAP
Reva is moving away from the hardcoded "insecure" setting for LDAP
connections. For this to happend ocis needs some adjustments. In order
to avoid an "insecure" by default config in ocis this commit adds the
new parameters "insecure" and "cacert" to the LDAP configuration for the
auth-, user- and groups-provider. To make the out of the box experience
as smooth as possible the default setting for "cacert" points to the
certificate that is generated for glauth on startup.
2021-09-16 17:56:29 +02:00
Michael Barz c8b1b42db6 Merge pull request #2516 from owncloud/release-1.12.0
[docs-only] Merge back the Release branch
2021-09-16 16:40:58 +02:00
Pascal Wengerter 9c28941809 Automated changelog update [skip ci] 2021-09-16 14:05:39 +00:00
Pascal Wengerter f3399b4f32 Merge pull request #2514 from owncloud/15092021_remove-fake-notification
Remove placeholder notifications endpoint in capabilities
2021-09-16 15:05:13 +01:00
A.Unger 202d79945d add notes 2021-09-16 15:53:14 +02:00
A.Unger 53d10c7b6e external IDP dependency 2021-09-16 15:28:54 +02:00
Willy Kloucek 12a1604526 Merge pull request #2515 from owncloud/reva_d83f20c3148d
update reva to d83f20c3148d
2021-09-16 14:44:41 +02:00
Patrick Maier 1bed970a4b Merge pull request #2513 from owncloud/1.12_release_notes
[docs-only] oCIS 1.12 and Web 4.2.0 Release Notes
2021-09-16 14:07:37 +02:00
Willy Kloucek 01b16ec0a9 update reva to d83f20c3148d 2021-09-16 14:04:21 +02:00
Willy Kloucek 98eefd03ef Automated changelog update [skip ci] 2021-09-16 11:58:42 +00:00
Willy Kloucek 945e3157a3 Merge pull request #2512 from owncloud/fix_pull_2493
fix: redirect invalid links to oC Web (#2493)
2021-09-16 13:58:15 +02:00
David Christofas ab84c4c9a6 Automated changelog update [skip ci] 2021-09-16 11:47:16 +00:00
David Christofas e2306ad24c Merge pull request #2495 from owncloud/skip_demo_users
Add option to generate the demo users
2021-09-16 07:46:47 -04:00
Juan Pablo Villafáñez c1dd0ea66e Add default route to the archiver 2021-09-16 12:48:07 +02:00
pwengerter f5df71717c Remove placeholder notifications endpoint in capabilities 2021-09-16 11:34:17 +01:00
Juan Pablo Villafáñez a680fc1039 Adjust test configuration 2021-09-16 11:09:59 +02:00
Willy Kloucek 09b4850965 fix #2493 2021-09-16 10:56:38 +02:00
Patrick MaierandPascal Wengerter ffd412da5c Apply suggestions from code review
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-09-16 10:33:41 +02:00
Michael Barz 6fcae4d45d Update .codacy.yml 2021-09-16 08:29:48 +02:00
Michael Barz b7b97d1733 Add api test helper code to codacy exclude list 2021-09-16 08:19:59 +02:00
Jörn Friedrich Dreyer 8e50decb11 Automated changelog update [skip ci] 2021-09-15 19:35:27 +00:00
Jörn Friedrich Dreyer df55e3ff0f Merge pull request #2511 from owncloud/fix-username-encoding
use proper url path decode on the username
2021-09-15 21:30:20 +02:00
Patrick Maier 0fe821ae93 [docs-only] oCIS 1.12 and Web 4.2.0 Release Notes 2021-09-15 18:28:12 +02:00
Juan Pablo Villafáñez 502e77b185 Set true as default value 2021-09-15 18:11:47 +02:00
Juan Pablo Villafáñez de68fc32a3 Add changelog entry 2021-09-15 18:11:47 +02:00
Juan Pablo Villafáñez 670dfedf7c Add option to generate the demo users 2021-09-15 18:11:47 +02:00
Jörn Friedrich Dreyer 50ab6596bb use proper url path decode on the username
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-15 18:00:31 +02:00
Juan Pablo Villafáñez 075bd7500c Add changelog entry 2021-09-15 17:33:16 +02:00
Juan Pablo Villafáñez 8844b0bf57 Expose configuration for the reva archiver 2021-09-15 16:33:34 +02:00
Jörn Friedrich Dreyer cb3a5b811d Automated changelog update [skip ci] 2021-09-15 11:54:18 +00:00
Jörn Friedrich Dreyer c53b5bf9a7 Merge pull request #2508 from owncloud/proxy-policy-claim-precedence
allow overriding the cookie based route by claim
2021-09-15 13:53:41 +02:00
Jörn Friedrich Dreyer b0f0d6a7ee Merge pull request #2493 from owncloud/web_not_found_redirect
redirect to root when file not found
2021-09-15 13:53:19 +02:00
Willy Kloucek b2d53b9ca1 always set cookie 2021-09-15 13:09:15 +02:00
Jörn Friedrich Dreyer 3d4ee19789 allow overriding the cookie based route by claim
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-15 11:56:01 +02:00
Phil Davis a9422c5e6d Merge pull request #2490 from owncloud/bump-commit-ids
[full-ci][tests-only] Bump commit ids for tests
2021-09-15 14:41:24 +05:45
Michael Barz 69c55662d1 prepare 1.12.0 2021-09-15 10:27:56 +02:00
Saw-jan d3651ef0b3 bump commit ids for tests 2021-09-15 13:54:58 +05:45
Benedikt Kulmann b4f6ebe96d Automated changelog update [skip ci] 2021-09-15 07:10:03 +00:00
Benedikt Kulmann 7682a73968 Merge pull request #2501 from owncloud/bump-web-4.2.0
[full-ci] Update deps & bump web to v4.2.0
2021-09-15 09:09:22 +02:00
pwengerter 997d69ae62 Update web to v4.2.0, bump JS deps, update expected failures 2021-09-15 00:35:57 +01:00
David Christofas 0e9e635672 Automated changelog update [skip ci] 2021-09-14 15:02:01 +00:00
David Christofas 05cb9a49fc Merge pull request #2477 from owncloud/update-reva
[full-ci] update reva
2021-09-14 11:01:33 -04:00
David Christofas 194d7af6f3 update reva to v1.13.0 2021-09-14 15:39:36 +02:00
Ralf Haferkamp 94f0c8a481 tests: Run ocis container as root for testsuite
For running the acceptance tests in docker we setup a volume that is
shared between the ocis and oc10/testsuite container. Since ocis needs
to be able to write to that volume we're switching it to run as root.

Closes #2497
2021-09-14 15:06:42 +02:00
A.Unger 25f71d020c document minikube 2021-09-14 14:48:53 +02:00
A.Unger d414d80e94 briefly explain kubernetes 2021-09-14 11:58:09 +02:00
A.Unger 04eab3b3da docs: skeleton on basic structure for the piece 2021-09-14 11:22:04 +02:00
Alex Unger 5283bf8b2b Merge pull request #2494 from owncloud/docs-storage-backend-cephfs 2021-09-14 09:53:23 +02:00
Jörn Friedrich Dreyer 6bf80daf66 explain sharding relationship with deprovisioning 2021-09-14 09:51:23 +02:00
Jörn Friedrich DreyerandAlex Unger 6f9a918818 Apply suggestions from code review
Co-authored-by: Alex Unger <6905948+refs@users.noreply.github.com>
2021-09-14 09:35:05 +02:00
Jörn Friedrich Dreyer c1b5e2f1cd final notes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-13 20:38:52 +00:00
Jörn Friedrich Dreyer 549d1058c5 file layout examples
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-13 20:30:38 +00:00
Jörn Friedrich Dreyer 804612077a flesh out cephfs aspects and future work 2021-09-13 22:04:14 +02:00
Jörn Friedrich Dreyer 13beef2fd4 describe cephfs architecture and tradeoffs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-09-13 18:20:24 +00:00
Willy Kloucek 5298b4bcfa redirect to root when file not found 2021-09-13 19:33:31 +02:00
Alex Unger 47c2c3ad4f Automated changelog update [skip ci] 2021-09-09 18:50:01 +00:00
Alex Unger ecaee109d7 Merge pull request #2471 from owncloud/spaces-crud 2021-09-09 20:47:03 +02:00
A.Unger dc7dce552d update expected failures 2021-09-09 20:06:13 +02:00
A.Unger e9d760e70b Merge branch 'master' into spaces-crud 2021-09-08 21:45:01 +02:00
A.Unger 802fccfece update reva + otel deps 2021-09-08 20:58:27 +02:00
A.Unger 38031e19e2 update reva + otel deps 2021-09-08 17:12:23 +02:00
Willy Kloucek 33d3d13460 Merge pull request #2475 from owncloud/app_provider_add_icon
add icon to collabora app provider in deployment example
2021-09-08 14:34:22 +02:00
A.Unger d0a7bc4c59 update docs 2021-09-08 14:30:39 +02:00
A.Unger 86b9ada9b5 guard on ParseForm 2021-09-08 11:50:01 +02:00
A.Unger 321697828e defensive code 2021-09-08 11:27:14 +02:00
A.Unger 85cf747b4b docs: spaces POST docs 2021-09-08 11:05:26 +02:00
Willy Kloucek 379262ec8e add icon to collabora app provider in deployment example 2021-09-07 17:12:17 +02:00
A.Unger 81fa19fab2 dep: remove local replace 2021-09-07 16:44:29 +02:00
A.Unger 96a6bebcb8 spaces: enforce create-space permission 2021-09-07 16:30:14 +02:00
Willy Kloucek d07f1752d8 Automated changelog update [skip ci] 2021-09-07 13:11:41 +00:00
Willy Kloucek cac96b7e80 Merge pull request #2474 from owncloud/remove_non_working_route
remove non working proxy route and fix cs3 users example
2021-09-07 15:09:30 +02:00
A.Unger f406c7efd1 lint: comment exported function 2021-09-07 13:34:05 +02:00
A.Unger 81c56685ec spaces: move all to its handler 2021-09-07 13:33:22 +02:00
Willy Kloucek 41ced6621a add changelog 2021-09-07 13:32:24 +02:00
Willy Kloucek 3aa519c9de remove non working proxy route and fix cs3 users example 2021-09-07 13:06:37 +02:00
Phil Davis 7d26172b2c Merge pull request #2473 from owncloud/bumpCommitId-2021-09-07
[tests-only]Bump core commit id
2021-09-07 16:25:03 +05:45
Swikriti Tripathi 16d1846c62 Bump core commit id 2021-09-07 14:41:29 +05:45
Juan Pablo Villafañez 35c27afcb6 Automated changelog update [skip ci] 2021-09-06 14:20:58 +00:00
Juan Pablo Villafañez 2ef33dc608 Set english as default language (#2465)
* Set english as default language

* Add changelog entry

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 06:18:52 +00:00
Phil Davis a168a60724 Adjust expected-failures for issue 2323 2021-07-26 11:30:33 +05:45
Phil Davis 4ec63656dc Adjust expected-failures 2021-07-24 08:54:46 +05:45
Phil Davis 289730a144 Bump core commit id for tests 2021-07-23 19:04:00 +05:45
Jörn Friedrich Dreyer 2800515c94 Automated changelog update [skip ci] 2021-07-23 11:47:49 +00:00
Jörn Friedrich Dreyer dcd8327e61 Merge pull request #2248 from owncloud/claims-policy-selector
add claims and regex policy selector
2021-07-23 13:45:43 +02:00
Jörn Friedrich Dreyer 07bb4a179e clarify cs3 claims
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 09:42:40 +00:00
Jörn Friedrich Dreyer bea986fe26 pass only request instead of context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 09:03:14 +00:00
Willy Kloucek a0dce56480 use cookie to enforce routing for regex and claim selector 2021-07-23 08:38:55 +00:00
Jörn Friedrich Dreyer cb70f4882f add todo for x-access-header handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:33:18 +00:00
Jörn Friedrich Dreyer 0a632df7d2 update proxy config json example files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:33:18 +00:00
Jörn Friedrich Dreyer 5c024b4543 use context from middleware in proxy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer 2583c6a1a7 remove comma
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer b0c742cb2f fix docs typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer b540ccdf10 add regex rule priority, drop request from selector signature, add unit tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:31:10 +00:00
Jörn Friedrich Dreyer 4385d3dacb add RegexSelector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:22:40 +00:00
Phil Davis 1e4f8334cf Merge pull request #2320 from owncloud/enable-SEND_SCENARIO_LINE_REFERENCES
[tests-only] [full-ci] Enable SEND_SCENARIO_LINE_REFERENCES to send X-Request-Id header in API tests
2021-07-23 13:52:29 +05:45
Jörn Friedrich Dreyer 40c8031441 add claims policy selector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-23 08:07:17 +00:00
Phil Davis a6575d9597 Enable SEND_SCENARIO_LINE_REFERENCES to send X-Request-Id header in API tests 2021-07-23 12:10:40 +05:45
Phil Davis 37de2b48fe Merge pull request #2316 from owncloud/bump-commit-id-20210722
[full-ci][tests-only]bump core and web commit id
2021-07-23 12:07:37 +05:45
Swikriti Tripathi bc69390006 remove from expected to fail file 2021-07-23 10:52:55 +05:45
Swikriti Tripathi 499526d8b4 Bump core and web commit id 2021-07-23 10:52:20 +05:45
Jörn Friedrich Dreyer 5de190ba4f Merge pull request #2315 from owncloud/claims-map-instead-of-struct
use claims map instead of struct
2021-07-22 20:20:02 +02:00
Jörn Friedrich Dreyer 2293403d45 use errors.Is()
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-22 16:35:31 +00:00
Jörn Friedrich Dreyer 1f3e963c29 use claims map instead of struct
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-22 09:20:36 +00:00
David Christofas c234c89be2 Merge pull request #2251 from owncloud/motivate-repo-layout
[docs-only] Clarify why we keep separate go.mod files
2021-07-22 11:20:05 +02:00
Jörn Friedrich Dreyer b148faada6 Merge pull request #2294 from owncloud/fix-trashbin-expected-failures
Fix Trashbin Expected Failures
2021-07-21 20:59:43 +02:00
Jörn Friedrich Dreyer 2e41e28637 Automated changelog update [skip ci] 2021-07-21 18:58:31 +00:00
Jörn Friedrich Dreyer 188bb58547 Merge pull request #2314 from owncloud/update-reva-to-57d692feea7b
[full-ci] update REVA to v1.10.1-0.20210721075634-57d692feea7b
2021-07-21 20:57:46 +02:00
Jörn Friedrich Dreyer bb1ce39e23 update changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 14:42:37 +00:00
Jörn Friedrich Dreyer 746ed8b414 remove fixed expected failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 11:12:28 +00:00
Jörn Friedrich Dreyer 5bf5fcf800 delete local test, rely on core tests+expected failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 11:12:28 +00:00
Jörn Friedrich Dreyer cdc2dd0ff3 update REVA to v1.10.1-0.20210721075634-57d692feea7b
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 11:12:28 +00:00
Jörn Friedrich Dreyer 90ca98d60f Automated changelog update [skip ci] 2021-07-21 11:01:16 +00:00
Jörn Friedrich Dreyer f322516862 Merge pull request #2277 from owncloud/spaces-api
graph refactorings
2021-07-21 12:59:11 +02:00
Jörn Friedrich Dreyer 900f8db799 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 09:22:39 +00:00
Jörn Friedrich Dreyer 2a54b647f1 get rid of ldap and oidc, refactor error handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 08:56:04 +00:00
Jörn Friedrich Dreyer 5070941dc4 graph: refactor auth and middlewares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 08:54:19 +00:00
Jörn Friedrich Dreyer 3ae2875fa9 add configurable path component option
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-20 15:30:26 +00:00
Jörn Friedrich Dreyer 71733fe677 Merge branch 'private-link-as-route' of github.com:owncloud/ocis into private-link-as-route 2021-07-20 13:34:26 +00:00
Jörn Friedrich Dreyer 8d78a64070 cleanup configuration.md
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-20 13:34:09 +00:00
Jörn Friedrich DreyerandAlex Unger c41d9122b4 Apply suggestions from code review
Co-authored-by: Alex Unger <6905948+refs@users.noreply.github.com>
2021-07-19 22:53:31 +02:00
Jörn Friedrich Dreyer 02d8d74466 correct id
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-19 15:51:59 +00:00
Phil Davis 1af75187c1 Merge pull request #2311 from owncloud/bump-commit-ids
[full-ci][tests-only] Bump commit ids for tests
2021-07-19 18:23:08 +05:45
Jörn Friedrich Dreyer c0f8b030e4 link open-graph-api issue for drive mount points
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-19 11:53:54 +00:00
A.Unger 74696dbd36 remove redundant line 2021-07-19 13:29:12 +02:00
Jörn Friedrich Dreyer 1bb4dcf782 fix ordering, update context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-19 11:04:22 +00:00
saw-jan 1a65cd8d82 bump commit ids and update expected-failures 2021-07-19 16:41:17 +05:45
A.Unger ebb67470dc ignore error explicitly 2021-07-19 11:15:37 +02:00
A.Unger 7f8e5d0229 adjust expected failures for owncloud storage 2021-07-19 10:42:19 +02:00
A.Unger 6123512367 adjust expected failures 2021-07-19 10:15:26 +02:00
Jörn Friedrich Dreyer ffca30cc4e fix adr numbering, add alternatives to global url format
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-16 20:26:35 +00:00
A.Unger f1f9583cb5 update space_id grammar 2021-07-16 14:08:17 +00:00
A.Unger 0a486b2a88 fix docs/adr 2021-07-16 14:08:17 +00:00
A.Unger b1ab887004 expand positive consequences 2021-07-16 14:08:17 +00:00
A.Unger 68d7080fac remove open tag 2021-07-16 14:08:17 +00:00
A.Unger 83ba6ad5ba adapt to the ADR format 2021-07-16 14:08:17 +00:00
A.Unger 273ea197e8 change ADR scope to global URL instead of private links only 2021-07-16 14:08:17 +00:00
A.Unger 1a8e00b19e update ADR with manual get through webUI 2021-07-16 14:08:17 +00:00
A.Unger adc21d8f0b update ADR 2021-07-16 14:08:17 +00:00
A.Unger 41cabfcdcb add routes adr 2021-07-16 14:08:17 +00:00
Alex Unger 04e5cfa52b Automated changelog update [skip ci] 2021-07-15 11:44:21 +00:00
Alex Unger 6f37b386d5 Merge pull request #2301 from owncloud/proxy-access-log
proxy access log
2021-07-15 13:42:08 +02:00
Lukas Hirt 041176ca2a docs: add how to theme idp 2021-07-15 12:17:03 +02:00
Willy Kloucek 1191d02187 fix doc references 2021-07-15 12:11:36 +02:00
Willy Kloucek a3fb9a4b37 fix s3 example and minio console 2021-07-15 12:00:29 +02:00
Willy Kloucek c58f7094d2 remove idp from the keycloak example 2021-07-15 11:17:58 +02:00
Willy Kloucek e1a2e5c4b1 fix login with ldap example 2021-07-15 11:06:58 +02:00
Willy Kloucek 2bdb522a1d remove owncloud10_with_oc_web 2021-07-15 11:00:49 +02:00
Willy Kloucek bcefff9b8d simplify traefik configuration 2021-07-15 11:00:41 +02:00
Phil Davis afa9afd205 Merge pull request #2304 from owncloud/bump-commit-id-for-tests-20210715
[tests-only] [full-ci] Bump commit id for tests
2021-07-15 13:24:50 +05:45
Phil Davis 90f066b540 Remove passing chunking tests from expected-failures 2021-07-15 11:13:19 +05:45
Phil Davis 7a64f2bcdf Bump commit id for tests 2021-07-15 09:47:51 +05:45
Jörn Friedrich Dreyer 8c7f1f01ff do not try to add the selected policy to the context
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 20:45:38 +00:00
Phil Davis 8b271bccc6 Merge pull request #2298 from owncloud/dirkstascheit-patch-1
Update _index.md
2021-07-14 20:26:54 +05:45
Jörn Friedrich Dreyer 85693de589 make go-mod-tidy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 13:40:02 +00:00
Jörn Friedrich Dreyer 1dc7aac6fd proxy access log
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-14 13:14:27 +00:00
David Christofas 31918dd44a Automated changelog update [skip ci] 2021-07-14 11:12:11 +00:00
David Christofas d6bb6f511e Merge pull request #2295 from ishank011/lw-changes
Scope and lw account changes and update reva to v1.10.0
2021-07-14 13:09:02 +02:00
Phil Davis 91f6242eac Merge pull request #2299 from owncloud/bumpCommitId20210714
[Tests-Only][full-ci] Update the core commit id
2021-07-14 16:21:39 +05:45
Jasmine Baral 96e6d58d38 update the commit id 2021-07-14 15:04:04 +05:45
Dirk Stascheit 4140116635 Update _index.md
updated the version numbers to reflect the oCIS 1.9 release
2021-07-14 10:16:31 +02:00
Florian Schade 33aae8d829 Automated changelog update [skip ci] 2021-07-13 17:11:44 +00:00
Florian Schade a5366585a5 Merge pull request #2296 from owncloud/release-1.9.0
Merge back Release 1.9.0
2021-07-13 19:11:11 +02:00
Michael Barz dc6d4d0569 Merge pull request #2297 from owncloud/allow-cern-team
Update settings.yml
2021-07-13 19:06:04 +02:00
Michael Barz 5f970448fc Update settings.yml 2021-07-13 16:38:54 +02:00
A.Unger e9e62d7fc6 Merge branch 'master' into fix-trashbin-expected-failures 2021-07-13 16:35:24 +02:00
A.Unger 7ab586b2ab proxy is now aware of webdav responses 2021-07-13 15:38:44 +02:00
Ishank Arora d9916b6eed Add changelog 2021-07-13 15:22:05 +02:00
Ishank Arora ccee07a384 Update reva to v1.10 2021-07-13 14:59:07 +02:00
Klaas Freitag 420c703156 Merge pull request #2292 from owncloud/relnotes_1.9.0
[docs-only] Add release notes for 1.9.0
2021-07-13 14:58:16 +02:00
A.Unger bfdcc0180c fix 230, 231 - first draft 2021-07-13 14:33:24 +02:00
A.Unger ac49348b41 fix 215, 216 - first draft 2021-07-13 14:29:26 +02:00
Klaas Freitag e45954c52a Add release notes for 1.9.0 2021-07-13 13:44:48 +02:00
Ishank Arora 29c5cb627a Update scope usage and add Changes for lightweight accounts 2021-07-13 13:03:06 +02:00
Jörn Friedrich Dreyer e104622a8a Clarify why we keep separate go.mod files
Actually, I don't know if this still holds true. AFAICT we will be releasing an ocis binary that bundles all extensions. So ... will they really be released individually? For bug fix releases a release process for them would be quicker, but then we would also need to build individual docker containers ...
2021-07-02 15:22:56 +02:00
Florian Schade 47bd449fac first go:embed 1.16 implementation 2021-04-29 01:25:28 +02:00
849 changed files with 23418 additions and 70403 deletions

No files matched your search

+40 -46
View File
@@ -1,4 +1,4 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.4.0. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.5.1. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
GOPATH ?= $(shell go env GOPATH)
@@ -17,23 +17,23 @@ GO ?= $(shell which go)
# @echo "Running bingo"
# @$(BINGO) <flags/args..>
#
BINGO := $(GOBIN)/bingo-v0.4.0
BINGO := $(GOBIN)/bingo-v0.5.1
$(BINGO): $(BINGO_DIR)/bingo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/bingo-v0.4.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.4.0 "github.com/bwplotka/bingo"
@echo "(re)installing $(GOBIN)/bingo-v0.5.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.5.1 "github.com/bwplotka/bingo"
BUF := $(GOBIN)/buf-v0.40.0
BUF := $(GOBIN)/buf-v0.56.0
$(BUF): $(BINGO_DIR)/buf.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/buf-v0.40.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buf.mod -o=$(GOBIN)/buf-v0.40.0 "github.com/bufbuild/buf/cmd/buf"
@echo "(re)installing $(GOBIN)/buf-v0.56.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buf.mod -o=$(GOBIN)/buf-v0.56.0 "github.com/bufbuild/buf/cmd/buf"
BUILDIFIER := $(GOBIN)/buildifier-v0.0.0-20210227132407-f2aed9ee205d
BUILDIFIER := $(GOBIN)/buildifier-v0.0.0-20210920153738-d6daef01a1a2
$(BUILDIFIER): $(BINGO_DIR)/buildifier.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/buildifier-v0.0.0-20210227132407-f2aed9ee205d"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buildifier.mod -o=$(GOBIN)/buildifier-v0.0.0-20210227132407-f2aed9ee205d "github.com/bazelbuild/buildtools/buildifier"
@echo "(re)installing $(GOBIN)/buildifier-v0.0.0-20210920153738-d6daef01a1a2"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buildifier.mod -o=$(GOBIN)/buildifier-v0.0.0-20210920153738-d6daef01a1a2 "github.com/bazelbuild/buildtools/buildifier"
CALENS := $(GOBIN)/calens-v0.2.0
$(CALENS): $(BINGO_DIR)/calens.mod
@@ -41,29 +41,17 @@ $(CALENS): $(BINGO_DIR)/calens.mod
@echo "(re)installing $(GOBIN)/calens-v0.2.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=calens.mod -o=$(GOBIN)/calens-v0.2.0 "github.com/restic/calens"
FILEB0X := $(GOBIN)/fileb0x-v1.1.4
$(FILEB0X): $(BINGO_DIR)/fileb0x.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/fileb0x-v1.1.4"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=fileb0x.mod -o=$(GOBIN)/fileb0x-v1.1.4 "github.com/UnnoTed/fileb0x"
FLAEX := $(GOBIN)/flaex-v0.2.1-0.20210701123229-9d7dceed124f
$(FLAEX): $(BINGO_DIR)/flaex.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/flaex-v0.2.1-0.20210701123229-9d7dceed124f"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=flaex.mod -o=$(GOBIN)/flaex-v0.2.1-0.20210701123229-9d7dceed124f "github.com/owncloud/flaex"
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.37.1
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.42.1
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/golangci-lint-v1.37.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.37.1 "github.com/golangci/golangci-lint/cmd/golangci-lint"
GOVERAGE := $(GOBIN)/goverage-v0.0.0-20180129164344-eec3514a20b5
$(GOVERAGE): $(BINGO_DIR)/goverage.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/goverage-v0.0.0-20180129164344-eec3514a20b5"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=goverage.mod -o=$(GOBIN)/goverage-v0.0.0-20180129164344-eec3514a20b5 "github.com/haya14busa/goverage"
@echo "(re)installing $(GOBIN)/golangci-lint-v1.42.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.42.1 "github.com/golangci/golangci-lint/cmd/golangci-lint"
GOX := $(GOBIN)/gox-v1.0.1
$(GOX): $(BINGO_DIR)/gox.mod
@@ -71,11 +59,11 @@ $(GOX): $(BINGO_DIR)/gox.mod
@echo "(re)installing $(GOBIN)/gox-v1.0.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=gox.mod -o=$(GOBIN)/gox-v1.0.1 "github.com/mitchellh/gox"
HUGO := $(GOBIN)/hugo-v0.80.0
HUGO := $(GOBIN)/hugo-v0.88.1
$(HUGO): $(BINGO_DIR)/hugo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/hugo-v0.80.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=hugo.mod -o=$(GOBIN)/hugo-v0.80.0 "github.com/gohugoio/hugo"
@echo "(re)installing $(GOBIN)/hugo-v0.88.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=hugo.mod -o=$(GOBIN)/hugo-v0.88.1 "github.com/gohugoio/hugo"
MUTAGEN := $(GOBIN)/mutagen-v0.11.8
$(MUTAGEN): $(BINGO_DIR)/mutagen.mod
@@ -83,39 +71,45 @@ $(MUTAGEN): $(BINGO_DIR)/mutagen.mod
@echo "(re)installing $(GOBIN)/mutagen-v0.11.8"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=mutagen.mod -o=$(GOBIN)/mutagen-v0.11.8 "github.com/mutagen-io/mutagen/cmd/mutagen"
PROTOC_GEN_DOC := $(GOBIN)/protoc-gen-doc-v1.4.1
OAPI_CODEGEN := $(GOBIN)/oapi-codegen-v1.8.2
$(OAPI_CODEGEN): $(BINGO_DIR)/oapi-codegen.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/oapi-codegen-v1.8.2"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=oapi-codegen.mod -o=$(GOBIN)/oapi-codegen-v1.8.2 "github.com/deepmap/oapi-codegen/cmd/oapi-codegen"
PROTOC_GEN_DOC := $(GOBIN)/protoc-gen-doc-v1.5.0
$(PROTOC_GEN_DOC): $(BINGO_DIR)/protoc-gen-doc.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-doc-v1.4.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-doc.mod -o=$(GOBIN)/protoc-gen-doc-v1.4.1 "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc"
@echo "(re)installing $(GOBIN)/protoc-gen-doc-v1.5.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-doc.mod -o=$(GOBIN)/protoc-gen-doc-v1.5.0 "github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc"
PROTOC_GEN_GO := $(GOBIN)/protoc-gen-go-v1.26.0
PROTOC_GEN_GO := $(GOBIN)/protoc-gen-go-v1.27.1
$(PROTOC_GEN_GO): $(BINGO_DIR)/protoc-gen-go.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-go-v1.26.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-go.mod -o=$(GOBIN)/protoc-gen-go-v1.26.0 "google.golang.org/protobuf/cmd/protoc-gen-go"
@echo "(re)installing $(GOBIN)/protoc-gen-go-v1.27.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-go.mod -o=$(GOBIN)/protoc-gen-go-v1.27.1 "google.golang.org/protobuf/cmd/protoc-gen-go"
PROTOC_GEN_MICRO := $(GOBIN)/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888
PROTOC_GEN_MICRO := $(GOBIN)/protoc-gen-micro-v3.0.0-20211012122208-f63e46a7d1e9
$(PROTOC_GEN_MICRO): $(BINGO_DIR)/protoc-gen-micro.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-micro.mod -o=$(GOBIN)/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888 "github.com/asim/go-micro/cmd/protoc-gen-micro/v3"
@echo "(re)installing $(GOBIN)/protoc-gen-micro-v3.0.0-20211012122208-f63e46a7d1e9"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-micro.mod -o=$(GOBIN)/protoc-gen-micro-v3.0.0-20211012122208-f63e46a7d1e9 "github.com/asim/go-micro/cmd/protoc-gen-micro/v3"
PROTOC_GEN_MICROWEB := $(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4
PROTOC_GEN_MICROWEB := $(GOBIN)/protoc-gen-microweb-v0.0.0-20210824101557-828409dbfbf9
$(PROTOC_GEN_MICROWEB): $(BINGO_DIR)/protoc-gen-microweb.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-microweb.mod -o=$(GOBIN)/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4 "github.com/owncloud/protoc-gen-microweb"
@echo "(re)installing $(GOBIN)/protoc-gen-microweb-v0.0.0-20210824101557-828409dbfbf9"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-microweb.mod -o=$(GOBIN)/protoc-gen-microweb-v0.0.0-20210824101557-828409dbfbf9 "github.com/owncloud/protoc-gen-microweb"
PROTOC_GEN_OPENAPIV2 := $(GOBIN)/protoc-gen-openapiv2-v2.3.0
PROTOC_GEN_OPENAPIV2 := $(GOBIN)/protoc-gen-openapiv2-v2.6.0
$(PROTOC_GEN_OPENAPIV2): $(BINGO_DIR)/protoc-gen-openapiv2.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/protoc-gen-openapiv2-v2.3.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-openapiv2.mod -o=$(GOBIN)/protoc-gen-openapiv2-v2.3.0 "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
@echo "(re)installing $(GOBIN)/protoc-gen-openapiv2-v2.6.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=protoc-gen-openapiv2.mod -o=$(GOBIN)/protoc-gen-openapiv2-v2.6.0 "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
REFLEX := $(GOBIN)/reflex-v0.3.0
REFLEX := $(GOBIN)/reflex-v0.3.1
$(REFLEX): $(BINGO_DIR)/reflex.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/reflex-v0.3.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=reflex.mod -o=$(GOBIN)/reflex-v0.3.0 "github.com/cespare/reflex"
@echo "(re)installing $(GOBIN)/reflex-v0.3.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=reflex.mod -o=$(GOBIN)/reflex-v0.3.1 "github.com/cespare/reflex"
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/bwplotka/bingo v0.4.0
require github.com/bwplotka/bingo v0.5.1
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/bufbuild/buf v0.40.0 // cmd/buf
require github.com/bufbuild/buf v0.56.0 // cmd/buf
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/bazelbuild/buildtools v0.0.0-20210227132407-f2aed9ee205d // buildifier
require github.com/bazelbuild/buildtools v0.0.0-20210920153738-d6daef01a1a2 // buildifier
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/restic/calens v0.2.0
-5
View File
@@ -1,5 +0,0 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
require github.com/UnnoTed/fileb0x v1.1.4
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/owncloud/flaex v0.2.1-0.20210701123229-9d7dceed124f
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/golangci/golangci-lint v1.37.1 // cmd/golangci-lint
require github.com/golangci/golangci-lint v1.42.1 // cmd/golangci-lint
-5
View File
@@ -1,5 +0,0 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
require github.com/haya14busa/goverage v0.0.0-20180129164344-eec3514a20b5
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/mitchellh/gox v1.0.1
+2 -2
View File
@@ -1,7 +1,7 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
replace github.com/markbates/inflect => github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6
require github.com/gohugoio/hugo v0.80.0
require github.com/gohugoio/hugo v0.88.1
+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/mutagen-io/mutagen v0.11.8 // cmd/mutagen
+1 -1
View File
@@ -2,4 +2,4 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/deepmap/oapi-codegen v1.6.1 // cmd/oapi-codegen
require github.com/deepmap/oapi-codegen v1.8.2 // cmd/oapi-codegen
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/pseudomuto/protoc-gen-doc v1.4.1 // cmd/protoc-gen-doc
require github.com/pseudomuto/protoc-gen-doc v1.5.0 // cmd/protoc-gen-doc
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require google.golang.org/protobuf v1.26.0 // cmd/protoc-gen-go
require google.golang.org/protobuf v1.27.1 // cmd/protoc-gen-go
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/asim/go-micro/cmd/protoc-gen-micro/v3 v3.0.0-20210329103359-9b41d1bf0888
require github.com/asim/go-micro/cmd/protoc-gen-micro/v3 v3.0.0-20211012122208-f63e46a7d1e9
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/owncloud/protoc-gen-microweb v0.0.0-20210224131655-d9b1137a84d4
require github.com/owncloud/protoc-gen-microweb v0.0.0-20210824101557-828409dbfbf9
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/grpc-ecosystem/grpc-gateway/v2 v2.3.0 // protoc-gen-openapiv2
require github.com/grpc-ecosystem/grpc-gateway/v2 v2.6.0 // protoc-gen-openapiv2
+2 -2
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.16
go 1.17
require github.com/cespare/reflex v0.3.0
require github.com/cespare/reflex v0.3.1
+14 -16
View File
@@ -1,4 +1,4 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.4.0. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.5.1. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
# Those variables will work only until 'bingo get' was invoked, or if tools were installed via Makefile's Variables.mk.
GOBIN=${GOBIN:=$(go env GOBIN)}
@@ -8,37 +8,35 @@ if [ -z "$GOBIN" ]; then
fi
BINGO="${GOBIN}/bingo-v0.4.0"
BINGO="${GOBIN}/bingo-v0.5.1"
BUF="${GOBIN}/buf-v0.40.0"
BUF="${GOBIN}/buf-v0.56.0"
BUILDIFIER="${GOBIN}/buildifier-v0.0.0-20210227132407-f2aed9ee205d"
BUILDIFIER="${GOBIN}/buildifier-v0.0.0-20210920153738-d6daef01a1a2"
CALENS="${GOBIN}/calens-v0.2.0"
FILEB0X="${GOBIN}/fileb0x-v1.1.4"
FLAEX="${GOBIN}/flaex-v0.2.1-0.20210701123229-9d7dceed124f"
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.37.1"
GOVERAGE="${GOBIN}/goverage-v0.0.0-20180129164344-eec3514a20b5"
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.42.1"
GOX="${GOBIN}/gox-v1.0.1"
HUGO="${GOBIN}/hugo-v0.80.0"
HUGO="${GOBIN}/hugo-v0.88.1"
MUTAGEN="${GOBIN}/mutagen-v0.11.8"
PROTOC_GEN_DOC="${GOBIN}/protoc-gen-doc-v1.4.1"
OAPI_CODEGEN="${GOBIN}/oapi-codegen-v1.8.2"
PROTOC_GEN_GO="${GOBIN}/protoc-gen-go-v1.26.0"
PROTOC_GEN_DOC="${GOBIN}/protoc-gen-doc-v1.5.0"
PROTOC_GEN_MICRO="${GOBIN}/protoc-gen-micro-v3.0.0-20210329103359-9b41d1bf0888"
PROTOC_GEN_GO="${GOBIN}/protoc-gen-go-v1.27.1"
PROTOC_GEN_MICROWEB="${GOBIN}/protoc-gen-microweb-v0.0.0-20210224131655-d9b1137a84d4"
PROTOC_GEN_MICRO="${GOBIN}/protoc-gen-micro-v3.0.0-20211012122208-f63e46a7d1e9"
PROTOC_GEN_OPENAPIV2="${GOBIN}/protoc-gen-openapiv2-v2.3.0"
PROTOC_GEN_MICROWEB="${GOBIN}/protoc-gen-microweb-v0.0.0-20210824101557-828409dbfbf9"
REFLEX="${GOBIN}/reflex-v0.3.0"
PROTOC_GEN_OPENAPIV2="${GOBIN}/protoc-gen-openapiv2-v2.6.0"
REFLEX="${GOBIN}/reflex-v0.3.1"
+1
View File
@@ -16,5 +16,6 @@ exclude_paths:
- 'ocis/docker/eos-ocis-dev/Dockerfile'
- 'deployments/**'
- 'tests/acceptance/expected-failures-*.md'
- 'tests/acceptance/features/bootstrap/**'
...
+2 -2
View File
@@ -1,7 +1,7 @@
# The test runner source for API tests
CORE_COMMITID=c2835de8933771af8e34d62a48d7af99b49dab4b
CORE_COMMITID=b72258bf8ef1e483d92d42535abfe76f912d12a2
CORE_BRANCH=master
# The test runner source for UI tests
WEB_COMMITID=fd6aa91c0f8d4e1f957bef67d264ce788b900b03
WEB_COMMITID=6f6855ebdea9ef5eb956ce517f3742e7018bccfa
WEB_BRANCH=master
+107 -97
View File
@@ -9,7 +9,6 @@ config = {
"ocis-pkg",
"ocis",
"ocs",
"onlyoffice",
"proxy",
"settings",
"storage",
@@ -125,7 +124,8 @@ def main(ctx):
test_pipelines = \
[buildOcisBinaryForTesting(ctx)] + \
testOcisModules(ctx) + \
testPipelines(ctx)
testPipelines(ctx) + \
checkForRecentBuilds(ctx)
build_release_pipelines = \
dockerReleases(ctx) + \
@@ -149,7 +149,7 @@ def main(ctx):
elif (ctx.build.event == "pull_request" and "[docs-only]" in ctx.build.title) or \
(ctx.build.event != "pull_request" and "[docs-only]" in (ctx.build.title + ctx.build.message)):
# [docs-only] is not taken from PR messages, but from commit messages
pipelines = [docs(ctx)]
pipelines = [docs(ctx), changelog(ctx)]
else:
test_pipelines.append(
@@ -190,14 +190,56 @@ def testOcisModules(ctx):
return pipelines + [scan_result_upload]
def checkForRecentBuilds(ctx):
pipelines = []
result = {
"kind": "pipeline",
"type": "docker",
"name": "stop-recent-builds",
"steps": stopRecentBuilds(ctx),
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/tags/**",
"refs/pull/**",
],
},
}
pipelines.append(result)
return pipelines
def stopRecentBuilds(ctx):
return [{
"name": "stop-recent-builds",
"image": "drone/cli:alpine",
"environment": {
"DRONE_SERVER": "https://drone.owncloud.com",
"DRONE_TOKEN": {
"from_secret": "drone_token",
},
},
"commands": [
"drone build ls %s --status running > /drone/src/recentBuilds.txt" % ctx.repo.slug,
"drone build info %s ${DRONE_BUILD_NUMBER} > /drone/src/thisBuildInfo.txt" % ctx.repo.slug,
"cd /drone/src && ./tests/acceptance/cancelBuilds.sh",
],
"when": {
"event": [
"pull_request",
],
},
}]
def testPipelines(ctx):
pipelines = []
if "skip" not in config["localApiTests"] or not config["localApiTests"]["skip"]:
pipelines = [
localApiTests(ctx, "owncloud", "apiBugDemonstration"),
localApiTests(ctx, "ocis", "apiBugDemonstration"),
localApiTests(ctx, "owncloud", "apiAccountsHashDifficulty", "default"),
localApiTests(ctx, "ocis", "apiAccountsHashDifficulty", "default"),
localApiTests(ctx, "ocis", "apiSpaces", "default"),
]
if "skip" not in config["apiTests"] or not config["apiTests"]["skip"]:
@@ -218,8 +260,7 @@ def testOcisModule(ctx, module):
steps = makeGenerate(module) + [
{
"name": "golangci-lint",
"image": "owncloudci/golang:1.16",
"pull": "always",
"image": "owncloudci/golang:1.17",
"commands": [
"mkdir -p cache/checkstyle",
"make -C %s ci-golangci-lint" % (module),
@@ -229,8 +270,7 @@ def testOcisModule(ctx, module):
},
{
"name": "test",
"image": "owncloudci/golang:1.16",
"pull": "always",
"image": "owncloudci/golang:1.17",
"commands": [
"mkdir -p cache/coverage",
"make -C %s test" % (module),
@@ -240,7 +280,7 @@ def testOcisModule(ctx, module):
},
{
"name": "scan-result-cache",
"image": "plugins/s3:1",
"image": "plugins/s3:latest",
"settings": {
"endpoint": {
"from_secret": "cache_s3_endpoint",
@@ -352,7 +392,6 @@ def uploadScanResults(ctx):
{
"name": "codacy",
"image": "plugins/codacy:1",
"pull": "always",
"settings": {
"token": {
"from_secret": "codacy_token",
@@ -362,7 +401,6 @@ def uploadScanResults(ctx):
{
"name": "sonarcloud",
"image": "sonarsource/sonar-scanner-cli:latest",
"pull": "always",
"environment": sonar_env,
},
{
@@ -387,10 +425,10 @@ def uploadScanResults(ctx):
},
}
def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", accounts_hash_difficulty = 4):
def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
earlyFail = config["localApiTests"]["earlyFail"] if "earlyFail" in config["localApiTests"] else False
if ("full-ci" in ctx.build.title.lower()):
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "cron"):
earlyFail = False
return {
@@ -407,13 +445,13 @@ def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", acco
{
"name": "localApiTests-%s-%s" % (suite, storage),
"image": "owncloudci/php:7.4",
"pull": "always",
"environment": {
"TEST_SERVER_URL": "https://ocis-server:9200",
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
"TEST_OCIS": "true",
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_SUITE": suite,
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
@@ -438,10 +476,10 @@ def localApiTests(ctx, storage = "owncloud", suite = "apiBugDemonstration", acco
"volumes": [pipelineVolumeOC10Tests],
}
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "owncloud", accounts_hash_difficulty = 4):
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", accounts_hash_difficulty = 4):
earlyFail = config["apiTests"]["earlyFail"] if "earlyFail" in config["apiTests"] else False
if ("full-ci" in ctx.build.title.lower()):
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "cron"):
earlyFail = False
return {
@@ -458,13 +496,13 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "owncloud"
{
"name": "oC10ApiTests-%s-storage-%s" % (storage, part_number),
"image": "owncloudci/php:7.4",
"pull": "always",
"environment": {
"TEST_SERVER_URL": "https://ocis-server:9200",
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
"TEST_OCIS": "true",
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_FILTER_TAGS": "~@skipOnOcis&&~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
"DIVIDE_INTO_NUM_PARTS": number_of_parts,
@@ -496,7 +534,6 @@ def apiTests(ctx):
debugPartsEnabled = (len(debugParts) != 0)
for runPart in range(1, config["apiTests"]["numberOfParts"] + 1):
if (not debugPartsEnabled or (debugPartsEnabled and runPart in debugParts)):
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], "owncloud"))
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], "ocis"))
return pipelines
@@ -506,8 +543,8 @@ def uiTests(ctx):
"filterTags": "",
"skip": False,
"earlyFail": False,
# only used if 'full-ci' is in build title
"numberOfParts": 10,
# only used if 'full-ci' is in build title or if run by cron
"numberOfParts": 20,
"skipExceptParts": [],
}
params = {}
@@ -519,10 +556,10 @@ def uiTests(ctx):
filterTags = params["filterTags"]
earlyFail = params["earlyFail"]
if ("full-ci" in ctx.build.title.lower()):
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "cron"):
earlyFail = False
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "tag"):
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "tag" or ctx.build.event == "cron"):
numberOfParts = params["numberOfParts"]
skipExceptParts = params["skipExceptParts"]
debugPartsEnabled = (len(skipExceptParts) != 0)
@@ -534,11 +571,12 @@ def uiTests(ctx):
# For ordinary PRs, always run the "minimal" UI test pipeline
# That has its own expected-failures file, and we always want to know that it is correct,
if (ctx.build.event != "tag"):
pipelines.append(uiTestPipeline(ctx, filterTags, earlyFail))
pipelines.append(uiTestPipeline(ctx, filterTags, earlyFail, 1, 2, "ocis", "smoke"))
pipelines.append(uiTestPipeline(ctx, filterTags, earlyFail, 2, 2, "ocis", "smoke"))
return pipelines
def uiTestPipeline(ctx, filterTags, earlyFail, runPart = 1, numberOfParts = 1, storage = "ocis", accounts_hash_difficulty = 4):
def uiTestPipeline(ctx, filterTags, earlyFail, runPart = 1, numberOfParts = 1, storage = "ocis", uniqueName = "", accounts_hash_difficulty = 4):
standardFilterTags = "not @skipOnOCIS and not @skip and not @notToImplementOnOCIS and not @federated-server-needed"
if filterTags == "":
finalFilterTags = standardFilterTags
@@ -547,10 +585,16 @@ def uiTestPipeline(ctx, filterTags, earlyFail, runPart = 1, numberOfParts = 1, s
finalFilterTags = filterTags + " and " + standardFilterTags
expectedFailuresFileFilterTags = "-" + filterTags.lstrip("@")
if numberOfParts == 1:
pipelineName = "Web-Tests-ocis-%s-storage" % storage
if uniqueName == "":
uniqueNameString = ""
else:
pipelineName = "Web-Tests-ocis-%s-storage-%s" % (storage, runPart)
finalFilterTags = filterTags + " and " + standardFilterTags
uniqueNameString = "-" + uniqueName
if numberOfParts == 1:
pipelineName = "Web-Tests-ocis%s-%s-storage" % (uniqueNameString, storage)
else:
pipelineName = "Web-Tests-ocis%s-%s-storage-%s" % (uniqueNameString, storage, runPart)
return {
"kind": "pipeline",
@@ -565,7 +609,6 @@ def uiTestPipeline(ctx, filterTags, earlyFail, runPart = 1, numberOfParts = 1, s
{
"name": "webUITests",
"image": "owncloudci/nodejs:14",
"pull": "always",
"environment": {
"SERVER_HOST": "https://ocis-server:9200",
"BACKEND_HOST": "https://ocis-server:9200",
@@ -587,7 +630,7 @@ def uiTestPipeline(ctx, filterTags, earlyFail, runPart = 1, numberOfParts = 1, s
"cd /srv/app/web",
"git checkout $WEB_COMMITID",
"cp -r tests/acceptance/filesForUpload/* /uploads",
"yarn install --all",
"yarn install --frozen-lockfile",
"yarn build",
"./tests/acceptance/run.sh",
],
@@ -617,7 +660,7 @@ def uiTestPipeline(ctx, filterTags, earlyFail, runPart = 1, numberOfParts = 1, s
def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
earlyFail = config["accountsUITests"]["earlyFail"] if "earlyFail" in config["accountsUITests"] else False
if ("full-ci" in ctx.build.title.lower()):
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "cron"):
earlyFail = False
return {
@@ -633,7 +676,6 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
{
"name": "WebUIAcceptanceTests",
"image": "owncloudci/nodejs:14",
"pull": "always",
"environment": {
"SERVER_HOST": "https://ocis-server:9200",
"BACKEND_HOST": "https://ocis-server:9200",
@@ -654,10 +696,10 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"cd /srv/app/web",
"git checkout $WEB_COMMITID",
"cp -r tests/acceptance/filesForUpload/* /uploads",
"yarn install --all",
"yarn install --frozen-lockfile",
"yarn build",
"cd /drone/src/accounts",
"yarn install --all",
"yarn install --frozen-lockfile",
"make test-acceptance-webui",
],
"volumes": [stepVolumeOC10Tests] +
@@ -686,7 +728,7 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
earlyFail = config["settingsUITests"]["earlyFail"] if "earlyFail" in config["settingsUITests"] else False
if ("full-ci" in ctx.build.title.lower()):
if ("full-ci" in ctx.build.title.lower() or ctx.build.event == "cron"):
earlyFail = False
return {
@@ -702,7 +744,6 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
{
"name": "WebUIAcceptanceTests",
"image": "owncloudci/nodejs:14",
"pull": "always",
"environment": {
"SERVER_HOST": "https://ocis-server:9200",
"BACKEND_HOST": "https://ocis-server:9200",
@@ -722,9 +763,9 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"cp -r /srv/app/web/tests/acceptance/filesForUpload/* /uploads",
"cd /srv/app/web",
"git checkout $WEB_COMMITID",
"yarn install --all",
"yarn install --frozen-lockfile",
"cd /drone/src/settings",
"yarn install --all",
"yarn install --frozen-lockfile",
"make test-acceptance-webui",
],
"volumes": [stepVolumeOC10Tests] +
@@ -738,7 +779,6 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
{
"name": "redis",
"image": "redis:6-alpine",
"pull": "always",
},
] + selenium(),
"volumes": [stepVolumeOC10Tests] +
@@ -761,7 +801,6 @@ def stopBuild(earlyFail):
return [{
"name": "stop-build",
"image": "drone/cli:alpine",
"pull": "always",
"environment": {
"DRONE_SERVER": "https://drone.owncloud.com",
"DRONE_TOKEN": {
@@ -788,8 +827,7 @@ def buildGithubCommentForBuildStopped(alternateSuiteName, earlyFail):
if (earlyFail):
return [{
"name": "build-github-comment-buildStop",
"image": "owncloud/ubuntu:16.04",
"pull": "always",
"image": "owncloud/ubuntu:20.04",
"commands": [
'echo "<details><summary>:boom: Acceptance tests <strong>%s</strong> failed. The build is cancelled...</summary>\\n\\n" >> /drone/src/comments.file' % alternateSuiteName,
],
@@ -811,7 +849,6 @@ def githubComment(earlyFail):
return [{
"name": "github-comment",
"image": "jmccann/drone-github-comment:1",
"pull": "if-not-exists",
"settings": {
"message_file": "/drone/src/comments.file",
},
@@ -865,8 +902,7 @@ def dockerRelease(ctx, arch):
"steps": makeGenerate("") + [
{
"name": "build",
"image": "owncloudci/golang:1.16",
"pull": "always",
"image": "owncloudci/golang:1.17",
"commands": [
"make -C ocis release-linux-docker",
],
@@ -874,7 +910,6 @@ def dockerRelease(ctx, arch):
{
"name": "dryrun",
"image": "plugins/docker:latest",
"pull": "always",
"settings": {
"dry_run": True,
"context": "ocis",
@@ -894,7 +929,6 @@ def dockerRelease(ctx, arch):
{
"name": "docker",
"image": "plugins/docker:latest",
"pull": "always",
"settings": {
"username": {
"from_secret": "docker_username",
@@ -938,15 +972,20 @@ def dockerEos(ctx):
"os": "linux",
"arch": "amd64",
},
"steps": makeGenerate("ocis") +
build() + [
"steps": makeGenerate("") + [
{
"name": "build",
"image": "owncloudci/golang:1.17",
"commands": [
"make -C ocis release-linux-docker",
],
},
{
"name": "dryrun-eos-ocis",
"image": "plugins/docker:latest",
"pull": "always",
"settings": {
"dry_run": True,
"context": "ocis/docker/eos-ocis",
"context": "ocis",
"tags": "linux-eos-ocis",
"dockerfile": "ocis/docker/eos-ocis/Dockerfile",
"repo": "owncloud/eos-ocis",
@@ -962,7 +1001,6 @@ def dockerEos(ctx):
{
"name": "docker-eos-ocis",
"image": "plugins/docker:latest",
"pull": "always",
"settings": {
"username": {
"from_secret": "docker_username",
@@ -971,7 +1009,7 @@ def dockerEos(ctx):
"from_secret": "docker_password",
},
"auto_tag": True,
"context": "ocis/docker/eos-ocis",
"context": "ocis",
"dockerfile": "ocis/docker/eos-ocis/Dockerfile",
"repo": "owncloud/eos-ocis",
},
@@ -1039,16 +1077,14 @@ def binaryRelease(ctx, name):
"steps": makeGenerate("") + [
{
"name": "build",
"image": "owncloudci/golang:1.16",
"pull": "always",
"image": "owncloudci/golang:1.17",
"commands": [
"make -C ocis release-%s" % (name),
],
},
{
"name": "finish",
"image": "owncloudci/golang:1.16",
"pull": "always",
"image": "owncloudci/golang:1.17",
"commands": [
"make -C ocis release-finish",
],
@@ -1061,8 +1097,7 @@ def binaryRelease(ctx, name):
},
{
"name": "upload",
"image": "plugins/s3:1",
"pull": "always",
"image": "plugins/s3:latest",
"settings": settings,
"when": {
"ref": [
@@ -1073,8 +1108,7 @@ def binaryRelease(ctx, name):
},
{
"name": "changelog",
"image": "owncloudci/golang:1.16",
"pull": "always",
"image": "owncloudci/golang:1.17",
"commands": [
"make changelog CHANGELOG_VERSION=%s" % ctx.build.ref.replace("refs/tags/v", "").split("-")[0],
],
@@ -1087,7 +1121,6 @@ def binaryRelease(ctx, name):
{
"name": "release",
"image": "plugins/github-release:1",
"pull": "always",
"settings": {
"api_key": {
"from_secret": "github_token",
@@ -1135,7 +1168,6 @@ def releaseSubmodule(ctx):
{
"name": "release-submodule",
"image": "plugins/github-release:1",
"pull": "always",
"settings": {
"api_key": {
"from_secret": "github_token",
@@ -1175,7 +1207,6 @@ def releaseDockerManifest(ctx):
{
"name": "execute",
"image": "plugins/manifest:1",
"pull": "always",
"settings": {
"username": {
"from_secret": "docker_username",
@@ -1209,8 +1240,7 @@ def changelog(ctx):
"steps": [
{
"name": "generate",
"image": "owncloudci/golang:1.16",
"pull": "always",
"image": "owncloudci/golang:1.17",
"commands": [
"make -C ocis changelog",
],
@@ -1218,7 +1248,6 @@ def changelog(ctx):
{
"name": "diff",
"image": "owncloudci/alpine:latest",
"pull": "always",
"commands": [
"git diff",
],
@@ -1226,7 +1255,6 @@ def changelog(ctx):
{
"name": "output",
"image": "owncloudci/alpine:latest",
"pull": "always",
"commands": [
"cat CHANGELOG.md",
],
@@ -1234,7 +1262,6 @@ def changelog(ctx):
{
"name": "publish",
"image": "plugins/git-action:1",
"pull": "always",
"settings": {
"actions": [
"commit",
@@ -1282,7 +1309,6 @@ def releaseDockerReadme(ctx):
{
"name": "execute",
"image": "chko/docker-pushrm:1",
"pull": "always",
"environment": {
"DOCKER_USER": {
"from_secret": "docker_username",
@@ -1316,19 +1342,19 @@ def docs(ctx):
"steps": [
{
"name": "docs-generate",
"image": "owncloudci/golang:1.16",
"image": "owncloudci/golang:1.17",
"commands": ["make -C %s docs-generate" % (module) for module in config["modules"]],
},
{
"name": "prepare",
"image": "owncloudci/golang:1.16",
"image": "owncloudci/golang:1.17",
"commands": [
"make -C docs docs-copy",
],
},
{
"name": "test",
"image": "owncloudci/golang:1.16",
"image": "owncloudci/golang:1.17",
"commands": [
"make -C docs test",
],
@@ -1336,7 +1362,6 @@ def docs(ctx):
{
"name": "publish",
"image": "plugins/gh-pages:1",
"pull": "always",
"settings": {
"username": {
"from_secret": "github_username",
@@ -1401,7 +1426,6 @@ def makeGenerate(module):
{
"name": "generate nodejs",
"image": "owncloudci/nodejs:14",
"pull": "always",
"commands": [
"%s ci-node-generate" % (make),
],
@@ -1409,8 +1433,7 @@ def makeGenerate(module):
},
{
"name": "generate go",
"image": "owncloudci/golang:1.16",
"pull": "always",
"image": "owncloudci/golang:1.17",
"commands": [
"%s ci-go-generate" % (make),
],
@@ -1430,7 +1453,6 @@ def notify(ctx):
{
"name": "notify-rocketchat",
"image": "plugins/slack:1",
"pull": "always",
"settings": {
"webhook": {
"from_secret": config["rocketchat"]["from_secret"],
@@ -1454,17 +1476,13 @@ def notify(ctx):
def ocisServer(storage, accounts_hash_difficulty = 4, volumes = []):
environment = {
#'OCIS_LOG_LEVEL': 'debug',
"OCIS_URL": "https://ocis-server:9200",
"STORAGE_HOME_DRIVER": "%s" % (storage),
"STORAGE_USERS_DRIVER": "%s" % (storage),
"STORAGE_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/users",
"STORAGE_DRIVER_LOCAL_ROOT": "/srv/app/tmp/ocis/local/root",
"STORAGE_METADATA_ROOT": "/srv/app/tmp/ocis/metadata",
"STORAGE_DRIVER_OWNCLOUD_DATADIR": "/srv/app/tmp/ocis/owncloud/data",
"STORAGE_DRIVER_OWNCLOUD_REDIS_ADDR": "redis:6379" if storage == "owncloud" else "",
"STORAGE_HOME_DATA_SERVER_URL": "http://ocis-server:9155/data",
"STORAGE_USERS_DATA_SERVER_URL": "http://ocis-server:9158/data",
"STORAGE_USERS_DRIVER_LOCAL_ROOT": "/srv/app/tmp/ocis/local/root",
"STORAGE_USERS_DRIVER_OWNCLOUD_DATADIR": "/srv/app/tmp/ocis/owncloud/data",
"STORAGE_USERS_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/users",
"STORAGE_METADATA_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/metadata",
"STORAGE_SHARING_USER_JSON_FILE": "/srv/app/tmp/ocis/shares.json",
"PROXY_ENABLE_BASIC_AUTH": True,
"WEB_UI_CONFIG": "/drone/src/tests/config/drone/ocis-config.json",
@@ -1484,7 +1502,6 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = []):
{
"name": "ocis-server",
"image": "owncloudci/alpine:latest",
"pull": "always",
"detach": True,
"environment": environment,
"commands": [
@@ -1496,7 +1513,6 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = []):
{
"name": "wait-for-ocis-server",
"image": "owncloudci/wait-for:latest",
"pull": "always",
"commands": [
"wait-for -it ocis-server:9200 -t 300",
],
@@ -1508,7 +1524,6 @@ def cloneCoreRepos():
{
"name": "clone-core-repos",
"image": "owncloudci/alpine:latest",
"pull": "always",
"commands": [
"source /drone/src/.drone.env",
"git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/tmp/testing",
@@ -1525,7 +1540,6 @@ def redis():
{
"name": "redis",
"image": "redis:6-alpine",
"pull": "always",
},
]
@@ -1540,7 +1554,6 @@ def selenium():
{
"name": "selenium",
"image": "selenium/standalone-chrome-debug:3.141.59",
"pull": "always",
"volumes": [{
"name": "uploads",
"path": "/uploads",
@@ -1552,8 +1565,7 @@ def build():
return [
{
"name": "build",
"image": "owncloudci/golang:1.16",
"pull": "always",
"image": "owncloudci/golang:1.17",
"commands": [
"make -C ocis build",
],
@@ -1569,6 +1581,7 @@ def example_deploys(ctx):
"ocis_wopi/latest.yml",
"ocis_hello/latest.yml",
"ocis_s3/latest.yml",
"oc10_ocis_parallel/latest.yml",
]
released_configs = [
"cs3_users_ocis/released.yml",
@@ -1655,7 +1668,6 @@ def checkStarlark():
{
"name": "format-check-starlark",
"image": "owncloudci/bazel-buildifier",
"pull": "always",
"commands": [
"buildifier --mode=check .drone.star",
],
@@ -1663,7 +1675,6 @@ def checkStarlark():
{
"name": "show-diff",
"image": "owncloudci/bazel-buildifier",
"pull": "always",
"commands": [
"buildifier --mode=fix .drone.star",
"git diff",
@@ -1696,7 +1707,6 @@ def genericCache(name, action, mounts, cache_key):
step = {
"name": "%s_%s" % (action, name),
"image": "meltwater/drone-cache:v1",
"pull": "always",
"environment": {
"AWS_ACCESS_KEY_ID": {
"from_secret": "cache_s3_access_key",
+3 -4
View File
@@ -1,5 +1,4 @@
/accounts/ @kulmann @pascalwengerter
/onlyoffice/ @kulmann @pascalwengerter
/settings/ @kulmann @pascalwengerter
/web/ @kulmann @pascalwengerter
accounts/ @kulmann @pascalwengerter @paulcod3
settings/ @kulmann @pascalwengerter @paulcod3
web/ @kulmann @pascalwengerter
.drone.star @wkloucek @micbar @phil-davis @individual-it
+2 -8
View File
@@ -1,9 +1,9 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/ocis"
directory: "/"
schedule:
interval: "weekly"
interval: "daily"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
@@ -18,12 +18,6 @@ updates:
interval: "weekly"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
directory: "/onlyoffice"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
directory: "/idp"
schedule:
+14
View File
@@ -23,12 +23,26 @@ labels:
- name: OCIS-Fastlane
color: "#deadbf"
description: Planned outside of the sprint
- name: Storage:EOS
color: "#3F7A62"
- name: Storage:S3NG
color: "#3F7A62"
- name: Storage:CephFS
color: "#3F7A62"
- name: Storage:OCIS
color: "#3F7A62"
- name: Storage:POSIX
color: "#3F7A62"
- name: Storage:ownCloudSQL
color: "#3F7A62"
teams:
- name: ci
permission: admin
- name: employees
permission: push
- name: cern
permission: triage
branches:
- name: master
+1
View File
@@ -13,6 +13,7 @@ node_modules/
ocis/ocis
ocis/cmd/ocis/__debug_bin
ocis/cmd/ocis/config/
config/
.idea
+1 -1
View File
@@ -4,4 +4,4 @@ config-docs-generate: $(FLAEX)
@$(FLAEX) >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: grpc-docs-generate
grpc-docs-generate: ../docs/extensions/${NAME}/grpc.md
grpc-docs-generate: buf-generate
-4
View File
@@ -1,6 +1,2 @@
.PHONY: generate
generate: ci-node-generate ci-go-generate
.PHONY: embed.yml
embed.yml: $(FILEB0X)
@cd pkg/assets/ && echo -n "$(NAME): embed.go - " && $(FILEB0X) embed.yml
+10 -19
View File
@@ -1,4 +1,5 @@
IMPORT := github.com/owncloud/ocis/$(NAME)
OCIS_REPO := github.com/owncloud/ocis
IMPORT := ($OCIS_REPO)/$(NAME)
BIN := bin
DIST := dist
@@ -10,15 +11,9 @@ else
UNAME := $(shell uname -s)
endif
ifeq ($(UNAME), Darwin)
GOBUILD ?= go build -i
else
GOBUILD ?= go build
endif
GOBUILD ?= go build
PACKAGES ?= $(shell go list ./...)
SOURCES ?= $(shell find . -name "*.go" -type f -not -path "./node_modules/*")
GENERATE ?= $(PACKAGES)
TAGS ?=
@@ -42,8 +37,9 @@ ifndef DATE
DATE := $(shell date -u '+%Y%m%d')
endif
LDFLAGS += -s -w -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
DEBUG_LDFLAGS += -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
LDFLAGS += -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn -s -w -X "$(OCIS_REPO)/ocis-pkg/version.String=$(VERSION)" -X "$(OCIS_REPO)/ocis-pkg/version.Date=$(DATE)"
DEBUG_LDFLAGS += -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn -X "$(OCIS_REPO)/ocis-pkg/version.String=$(VERSION)" -X "$(OCIS_REPO)/ocis-pkg/version.Date=$(DATE)"
GCFLAGS += all=-N -l
.PHONY: all
@@ -70,23 +66,18 @@ fmt:
.PHONY: golangci-lint
golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E golint -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME)
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E revive -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME)
.PHONY: ci-golangci-lint
ci-golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E golint -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME) --timeout 10m0s --issues-exit-code 0 --out-format checkstyle > checkstyle.xml
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E revive -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME) --timeout 10m0s --issues-exit-code 0 --out-format checkstyle > checkstyle.xml
.PHONY: test
test: $(GOVERAGE)
@echo
@echo
@echo "$(NAME): test"
@echo
@$(GOVERAGE) -v -coverprofile coverage.out $(PACKAGES)
test:
@go test -v -coverprofile coverage.out ./...
.PHONY: go-coverage
go-coverage:
@echo "$(NAME): go-coverage"
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
@go tool cover -func coverage.out | tail -1 | grep -Eo "[0-9]+\.[0-9]+"
+18 -60
View File
@@ -1,63 +1,21 @@
.PHONY: protoc-gen-openapiv2
protoc-gen-openapiv2:
GO111MODULE=off go get -v github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2
.PHONY: protoc-deps
protoc-deps: $(BINGO)
@# #TODO: bingo creates symlinks from the -l option in the current directory
@# if no GOPATH and GOBIN is set, but they should reside inside .bingo
@# for now we move them manually
@cd .. && GOPATH="" GOBIN="" $(BINGO) get -l google.golang.org/protobuf/cmd/protoc-gen-go
@cd .. && mv protoc-gen-go .bingo/
@cd .. && GOPATH="" GOBIN="" $(BINGO) get -l github.com/asim/go-micro/cmd/protoc-gen-micro/v3
@cd .. && mv protoc-gen-micro .bingo/
@cd .. && GOPATH="" GOBIN="" $(BINGO) get -l github.com/owncloud/protoc-gen-microweb
@cd .. && mv protoc-gen-microweb .bingo/
@cd .. && GOPATH="" GOBIN="" $(BINGO) get -l github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
@cd .. && mv protoc-gen-openapiv2 .bingo/
@cd .. && GOPATH="" GOBIN="" $(BINGO) get -l github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
@cd .. && mv protoc-gen-doc .bingo/
.PHONY: $(PROTO_SRC)/${NAME}.pb.go
$(PROTO_SRC)/${NAME}.pb.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_GO)
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.go"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-go=$(PROTOC_GEN_GO) \
--go_out=$(PROTO_SRC) \
--go_opt=paths=source_relative \
$(PROTO_SRC)/${NAME}.proto
.PHONY: buf-generate
buf-generate: $(BUF) protoc-deps
$(BUF) generate
.PHONY: $(PROTO_SRC)/${NAME}.pb.micro.go
$(PROTO_SRC)/${NAME}.pb.micro.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICRO)
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.micro.go"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-micro=$(PROTOC_GEN_MICRO) \
--micro_out=logtostderr=true:$(PROTO_SRC) \
--micro_opt=paths=source_relative \
$(PROTO_SRC)/${NAME}.proto
.PHONY: $(PROTO_SRC)/${NAME}.pb.web.go
$(PROTO_SRC)/${NAME}.pb.web.go: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_MICROWEB)
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.pb.web.go"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-microweb=$(PROTOC_GEN_MICROWEB) \
--microweb_out=logtostderr=true:$(PROTO_SRC) \
--microweb_opt=paths=source_relative \
$(PROTO_SRC)/${NAME}.proto
.PHONY: $(PROTO_SRC)/${NAME}.swagger.json
$(PROTO_SRC)/${NAME}.swagger.json: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_OPENAPIV2)
@echo "$(NAME): generating $(PROTO_SRC)/${NAME}.swagger.json"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-openapiv2=$(PROTOC_GEN_OPENAPIV2) \
--openapiv2_out=logtostderr=true:$(PROTO_SRC)/ \
$(PROTO_SRC)/${NAME}.proto
.PHONY: ../docs/extensions/${NAME}/grpc.md
../docs/extensions/${NAME}/grpc.md: $(BUF) protoc-gen-openapiv2 $(PROTOC_GEN_DOC)
@echo "$(NAME): generating ../docs/extensions/${NAME}/grpc.md"
@$(BUF) protoc \
-I=$(PROTO_SRC)/ \
-I=../third_party/ \
-I=$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway \
--plugin protoc-gen-doc=$(PROTOC_GEN_DOC) \
--doc_opt=./templates/GRPC.tmpl,grpc.md \
--doc_out=../docs/extensions/${NAME} \
$(PROTO_SRC)/${NAME}.proto
+3 -1
View File
@@ -13,8 +13,10 @@ release-dirs:
release-linux: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
# docker specific packaging flags
DOCKER_LDFLAGS += -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseDataPathType=path" -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseDataPathValue=/var/lib/ocis"
release-linux-docker: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS) $(DOCKER_LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-windows
release-windows: $(GOX) release-dirs
+864 -3
View File
@@ -1,8 +1,869 @@
# Changelog for [unreleased] (UNRELEASED)
# Changelog for [1.14.0] (2021-10-27)
The following sections list the changes for unreleased.
The following sections list the changes for 1.14.0.
[unreleased]: https://github.com/owncloud/ocis/compare/v1.8.0...master
[1.14.0]: https://github.com/owncloud/ocis/compare/v1.13.0...v1.14.0
## Summary
* Security - Don't expose services by default: [#2612](https://github.com/owncloud/ocis/issues/2612)
* Bugfix - Create parent directories for idp configuration: [#2667](https://github.com/owncloud/ocis/issues/2667)
* Change - Configurable default quota: [#2621](https://github.com/owncloud/ocis/issues/2621)
* Change - New default data paths and easier configuration of the data path: [#2590](https://github.com/owncloud/ocis/pull/2590)
* Change - Split spaces webdav url and graph url in base and path: [#2660](https://github.com/owncloud/ocis/pull/2660)
* Change - Update ownCloud Web to v4.4.0: [#2681](https://github.com/owncloud/ocis/pull/2681)
* Enhancement - Add user setting capability: [#2655](https://github.com/owncloud/ocis/pull/2655)
* Enhancement - Broaden bufbuild/Buf usage: [#2630](https://github.com/owncloud/ocis/pull/2630)
* Enhancement - Replace fileb0x with go-embed: [#1199](https://github.com/owncloud/ocis/issues/1199)
* Enhancement - Upgrade to go-micro v4.1.0: [#2616](https://github.com/owncloud/ocis/pull/2616)
* Enhancement - Review and correct http header: [#2666](https://github.com/owncloud/ocis/pull/2666)
* Enhancement - Lower TUS max chunk size: [#2584](https://github.com/owncloud/ocis/pull/2584)
* Enhancement - Add sharees additional info paramater config to ocs: [#2637](https://github.com/owncloud/ocis/pull/2637)
* Enhancement - Add a middleware to authenticate public share requests: [#2536](https://github.com/owncloud/ocis/pull/2536)
* Enhancement - Report quota states: [#2628](https://github.com/owncloud/ocis/pull/2628)
* Enhancement - Start up a new machine auth provider in the storage service: [#2528](https://github.com/owncloud/ocis/pull/2528)
* Enhancement - Enforce permission on update space quota: [#2650](https://github.com/owncloud/ocis/pull/2650)
* Enhancement - Update lico to v0.51.1: [#2654](https://github.com/owncloud/ocis/pull/2654)
* Enhancement - Update reva to v1.15: [#2658](https://github.com/owncloud/ocis/pull/2658)
## Details
* Security - Don't expose services by default: [#2612](https://github.com/owncloud/ocis/issues/2612)
We've changed the bind behaviour for all non public facing services. Before this PR all
services would listen on all interfaces. After this PR, all services listen on 127.0.0.1 only,
except the proxy which is listening on 0.0.0.0:9200.
https://github.com/owncloud/ocis/issues/2612
* Bugfix - Create parent directories for idp configuration: [#2667](https://github.com/owncloud/ocis/issues/2667)
The parent directories of the identifier-registration.yaml config file might not exist when
starting idp. Create them, when that is the case.
https://github.com/owncloud/ocis/issues/2667
* Change - Configurable default quota: [#2621](https://github.com/owncloud/ocis/issues/2621)
When creating a new space a (configurable) default quota will be used (instead the hardcoded
one). One can set the EnvVar `GRAPH_SPACES_DEFAULT_QUOTA` to configure it
https://github.com/owncloud/ocis/issues/2621
https://jira.owncloud.com/browse/OCIS-2070
* Change - New default data paths and easier configuration of the data path: [#2590](https://github.com/owncloud/ocis/pull/2590)
We've changed the default data path for our release artifacts: - oCIS docker images will now
store all data in `/var/lib/ocis` instead in `/var/tmp/ocis` - binary releases will now store
all data in `~/.ocis` instead of `/var/tmp/ocis`
Also if you're a developer and you run oCIS from source, it will store all data in `~/.ocis` from
now on.
You can now easily change the data path for all extensions by setting the environment variable
`OCIS_BASE_DATA_PATH`.
If you want to package oCIS, you also can set the default data path at compile time, eg. by passing
`-X "github.com/owncloud/ocis/ocis-pkg/config/defaults.BaseDataPathType=path" -X
"github.com/owncloud/ocis/ocis-pkg/config/defaults.BaseDataPathValue=/var/lib/ocis"`
to your go build step.
https://github.com/owncloud/ocis/pull/2590
* Change - Split spaces webdav url and graph url in base and path: [#2660](https://github.com/owncloud/ocis/pull/2660)
We've fixed the behavior for the spaces webdav url and graph explorer graph url settings, so
that they respect the environment variable `OCIS_URL`. Previously oCIS admins needed to set
these URLs manually to make spaces and the graph explorer work.
https://github.com/owncloud/ocis/issues/2659
https://github.com/owncloud/ocis/pull/2660
* Change - Update ownCloud Web to v4.4.0: [#2681](https://github.com/owncloud/ocis/pull/2681)
Tags: web
We updated ownCloud Web to v4.4.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2681
https://github.com/owncloud/web/releases/tag/v4.4.0
* Enhancement - Add user setting capability: [#2655](https://github.com/owncloud/ocis/pull/2655)
We've added a capability to communicate the existance of a user settings service to clients.
https://github.com/owncloud/web/issues/5926
https://github.com/owncloud/ocis/pull/2655
* Enhancement - Broaden bufbuild/Buf usage: [#2630](https://github.com/owncloud/ocis/pull/2630)
We've switched the usage of bufbuild/Buf from a protoc replacement only to also using it to
confige the outputs and pinning dependencies.
https://github.com/owncloud/ocis/pull/2630
https://github.com/owncloud/ocis/pull/2616
* Enhancement - Replace fileb0x with go-embed: [#1199](https://github.com/owncloud/ocis/issues/1199)
Go-embed already brings the functionality we need but with less code. We decided to use it
instead of 3rd party fileb0x
https://github.com/owncloud/ocis/issues/1199
https://github.com/owncloud/ocis/pull/2631
https://github.com/owncloud/ocis/pull/2649
* Enhancement - Upgrade to go-micro v4.1.0: [#2616](https://github.com/owncloud/ocis/pull/2616)
We've upgraded to go-micro v4.1.0
https://github.com/owncloud/ocis/pull/2616
* Enhancement - Review and correct http header: [#2666](https://github.com/owncloud/ocis/pull/2666)
Reviewed and corrected the necessary http headers. Made CORS configurable.
https://github.com/owncloud/ocis/pull/2666
* Enhancement - Lower TUS max chunk size: [#2584](https://github.com/owncloud/ocis/pull/2584)
We've lowered the TUS max chunk size from infinite to 0.1GB so that chunking actually happens.
https://github.com/owncloud/ocis/pull/2584
https://github.com/cs3org/reva/pull/2136
* Enhancement - Add sharees additional info paramater config to ocs: [#2637](https://github.com/owncloud/ocis/pull/2637)
https://github.com/owncloud/ocis/pull/2637
* Enhancement - Add a middleware to authenticate public share requests: [#2536](https://github.com/owncloud/ocis/pull/2536)
Added a new middleware to authenticate public share requests. This makes it possible to use
APIs which require an authenticated context with public shares.
https://github.com/owncloud/ocis/issues/2479
https://github.com/owncloud/ocis/pull/2536
https://github.com/owncloud/ocis/pull/2652
* Enhancement - Report quota states: [#2628](https://github.com/owncloud/ocis/pull/2628)
When listing the available spaces via the GraphAPI we now return quota states to make it easier
for the clients to add visual indicators.
https://github.com/owncloud/ocis/pull/2628
* Enhancement - Start up a new machine auth provider in the storage service: [#2528](https://github.com/owncloud/ocis/pull/2528)
This PR also adds the config to skip encoding user groups in reva tokens
https://github.com/owncloud/ocis/pull/2528
https://github.com/owncloud/ocis/pull/2529
* Enhancement - Enforce permission on update space quota: [#2650](https://github.com/owncloud/ocis/pull/2650)
Added a check that only users with the `set-space-quota` permission can update the space
quota.
https://github.com/owncloud/ocis/pull/2650
* Enhancement - Update lico to v0.51.1: [#2654](https://github.com/owncloud/ocis/pull/2654)
Updated lico to v0.51.1 This update includes: * Apply LibreGraph naming treewide * move to
go1.17 * Update 3rd party Go dependencies
https://github.com/owncloud/ocis/pull/2654
* Enhancement - Update reva to v1.15: [#2658](https://github.com/owncloud/ocis/pull/2658)
Updated reva to v1.15 This update includes: * Fix
[cs3org/reva#2168](https://github.com/cs3org/reva/pull/2168): Override provider if
was previously registered * Fix
[cs3org/reva#2173](https://github.com/cs3org/reva/pull/2173): Fix archiver max size
reached error * Fix [cs3org/reva#2167](https://github.com/cs3org/reva/pull/2167):
Handle nil quota in decomposedfs * Fix
[cs3org/reva#2153](https://github.com/cs3org/reva/pull/2153): Restrict EOS project
spaces sharing permissions to admins and writers * Fix
[cs3org/reva#2179](https://github.com/cs3org/reva/pull/2179): Fix the returned
permissions for webdav uploads * Chg
[cs3org/reva#2479](https://github.com/cs3org/reva/pull/2479): Make apps able to work
with public shares * Enh
[cs3org/reva#2174](https://github.com/cs3org/reva/pull/2174): Inherit ACLs for files
from parent directories * Enh
[cs3org/reva#2152](https://github.com/cs3org/reva/pull/2152): Add a reference
parameter to the getQuota request * Enh
[cs3org/reva#2171](https://github.com/cs3org/reva/pull/2171): Add optional claim
parameter to machine auth * Enh
[cs3org/reva#2135](https://github.com/cs3org/reva/pull/2135): Nextcloud test
improvements * Enh [cs3org/reva#2180](https://github.com/cs3org/reva/pull/2180):
Remove OCDAV options namespace parameter * Enh
[cs3org/reva#2170](https://github.com/cs3org/reva/pull/2170): Handle propfind
requests for existing files * Enh
[cs3org/reva#2165](https://github.com/cs3org/reva/pull/2165): Allow access to
recycle bin for arbitrary paths outside homes * Enh
[cs3org/reva#2189](https://github.com/cs3org/reva/pull/2189): Add user settings
capability * Enh [cs3org/reva#2162](https://github.com/cs3org/reva/pull/2162):
Implement the UpdateStorageSpace method * Enh
[cs3org/reva#2117](https://github.com/cs3org/reva/pull/2117): Add ocs cache warmup
strategy for first request from the user
https://github.com/owncloud/ocis/pull/2658
https://github.com/owncloud/ocis/pull/2536
https://github.com/owncloud/ocis/pull/2650
https://github.com/owncloud/ocis/pull/2680
# Changelog for [1.13.0] (2021-10-13)
The following sections list the changes for 1.13.0.
[1.13.0]: https://github.com/owncloud/ocis/compare/v1.12.0...v1.13.0
## Summary
* Bugfix - Fix the account resolver middleware: [#2557](https://github.com/owncloud/ocis/pull/2557)
* Bugfix - Fix version information for extensions: [#2575](https://github.com/owncloud/ocis/pull/2575)
* Bugfix - Add the gatewaysvc to all shared configuration in REVA services: [#2597](https://github.com/owncloud/ocis/pull/2597)
* Bugfix - Use proper url path decode on the username: [#2511](https://github.com/owncloud/ocis/pull/2511)
* Bugfix - Remove notifications placeholder: [#2514](https://github.com/owncloud/ocis/pull/2514)
* Bugfix - Remove asset path configuration option from proxy: [#2576](https://github.com/owncloud/ocis/pull/2576)
* Bugfix - Race condition in config parsing: [#2574](https://github.com/owncloud/ocis/pull/2574)
* Change - Configure users and metadata storage separately: [#2598](https://github.com/owncloud/ocis/pull/2598)
* Change - Make the drives create method odata compliant: [#2531](https://github.com/owncloud/ocis/pull/2531)
* Change - Unify Envvar names configuring REVA gateway address: [#2587](https://github.com/owncloud/ocis/pull/2587)
* Change - Update ownCloud Web to v4.3.0: [#2589](https://github.com/owncloud/ocis/pull/2589)
* Enhancement - Updated MimeTypes configuration for AppRegistry: [#2603](https://github.com/owncloud/ocis/pull/2603)
* Enhancement - Add maximum files and size to archiver capabilities: [#2544](https://github.com/owncloud/ocis/pull/2544)
* Enhancement - Reduced repository size: [#2579](https://github.com/owncloud/ocis/pull/2579)
* Enhancement - Return the newly created space: [#2610](https://github.com/owncloud/ocis/pull/2610)
* Enhancement - Expose the reva archiver in OCIS: [#2509](https://github.com/owncloud/ocis/pull/2509)
* Enhancement - Favorites capability: [#2599](https://github.com/owncloud/ocis/pull/2599)
* Enhancement - Upgrade to GO 1.17: [#2605](https://github.com/owncloud/ocis/pull/2605)
* Enhancement - Make mimetype allow list configurable for app provider: [#2553](https://github.com/owncloud/ocis/pull/2553)
* Enhancement - Add allow_creation parameter to mime type config: [#2591](https://github.com/owncloud/ocis/pull/2591)
* Enhancement - Add option to skip generation of demo users and groups: [#2495](https://github.com/owncloud/ocis/pull/2495)
* Enhancement - Allow overriding the cookie based route by claim: [#2508](https://github.com/owncloud/ocis/pull/2508)
* Enhancement - Redirect invalid links to oC Web: [#2493](https://github.com/owncloud/ocis/pull/2493)
* Enhancement - Use reva's Authenticate method instead of spawning token managers: [#2528](https://github.com/owncloud/ocis/pull/2528)
* Enhancement - TLS config options for ldap in reva: [#2492](https://github.com/owncloud/ocis/pull/2492)
* Enhancement - Set reva JWT token expiration time to 24 hours by default: [#2527](https://github.com/owncloud/ocis/pull/2527)
* Enhancement - Update reva to v1.14.0: [#2615](https://github.com/owncloud/ocis/pull/2615)
## Details
* Bugfix - Fix the account resolver middleware: [#2557](https://github.com/owncloud/ocis/pull/2557)
The accounts resolver middleware put an empty token into the request when the user was already
present. Added a step to get the token for the user.
https://github.com/owncloud/ocis/pull/2557
* Bugfix - Fix version information for extensions: [#2575](https://github.com/owncloud/ocis/pull/2575)
We've fixed the behavior for `ocis version` which previously always showed `0.0.0` as version
for extensions. Now the real version of the extensions are shown.
https://github.com/owncloud/ocis/pull/2575
* Bugfix - Add the gatewaysvc to all shared configuration in REVA services: [#2597](https://github.com/owncloud/ocis/pull/2597)
We've fixed the configuration for REVA services which didn't have a gatewaysvc in their shared
configuration. This could lead to default gatewaysvc addresses in the auth middleware. Now it
is set everywhere.
https://github.com/owncloud/ocis/pull/2597
* Bugfix - Use proper url path decode on the username: [#2511](https://github.com/owncloud/ocis/pull/2511)
We now properly decode the username when reading it from a url parameter
https://github.com/owncloud/ocis/pull/2511
* Bugfix - Remove notifications placeholder: [#2514](https://github.com/owncloud/ocis/pull/2514)
Since Reva was communicating its notification capabilities incorrectly, oCIS relied on a
hardcoded string to overwrite them. This has been fixed in
[reva#1819](https://github.com/cs3org/reva/pull/1819) so we now removed the hardcoded
string and don't modify Reva's notification capabilities anymore in order to fix clients
having to poll a (non-existent) notifications endpoint.
https://github.com/owncloud/ocis/pull/2514
* Bugfix - Remove asset path configuration option from proxy: [#2576](https://github.com/owncloud/ocis/pull/2576)
We've remove the asset path configuration option (`--asset-path` or `PROXY_ASSET_PATH`)
since it didn't do anything at all.
https://github.com/owncloud/ocis/pull/2576
* Bugfix - Race condition in config parsing: [#2574](https://github.com/owncloud/ocis/pull/2574)
There was a race condition in the config parsing when configuring the storage services caused
by services overwriting a pointer to a config value. We fixed it by setting sane defaults.
https://github.com/owncloud/ocis/pull/2574
* Change - Configure users and metadata storage separately: [#2598](https://github.com/owncloud/ocis/pull/2598)
We've fixed the configuration behaviour of the user and metadata service writing in the same
directory when using oCIS storage.
Therefore we needed to separate the configuration of the users and metadata storage so that
they now can be configured totally separate.
https://github.com/owncloud/ocis/pull/2598
* Change - Make the drives create method odata compliant: [#2531](https://github.com/owncloud/ocis/pull/2531)
When creating a space on the graph API we now use the POST Body to provide the parameters.
https://github.com/owncloud/ocis/pull/2531
https://github.com/owncloud/ocis/pull/2535
https://www.odata.org/getting-started/basic-tutorial/#modifyData
* Change - Unify Envvar names configuring REVA gateway address: [#2587](https://github.com/owncloud/ocis/pull/2587)
We've renamed all envvars configuring REVA gateway address to `REVA_GATEWAY`, additionally
we renamed the cli parameters to `--reva-gateway-addr` and adjusted the description
https://github.com/owncloud/ocis/issues/2091
https://github.com/owncloud/ocis/pull/2587
* Change - Update ownCloud Web to v4.3.0: [#2589](https://github.com/owncloud/ocis/pull/2589)
Tags: web
We updated ownCloud Web to v4.3.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2589
https://github.com/owncloud/web/releases/tag/v4.3.0
* Enhancement - Updated MimeTypes configuration for AppRegistry: [#2603](https://github.com/owncloud/ocis/pull/2603)
We updated the type of the mime types config to a list, to keep the order of mime types from the
config.
https://github.com/owncloud/ocis/pull/2603
* Enhancement - Add maximum files and size to archiver capabilities: [#2544](https://github.com/owncloud/ocis/pull/2544)
We added the maximum files count and maximum archive size of the archiver to the capabilities
endpoint. Clients can use this to generate warnings before the actual archive creation fails.
https://github.com/owncloud/ocis/issues/2537
https://github.com/owncloud/ocis/pull/2544
https://github.com/cs3org/reva/pull/2105
* Enhancement - Reduced repository size: [#2579](https://github.com/owncloud/ocis/pull/2579)
We removed leftover artifacts from the migration to a single repository.
https://github.com/owncloud/ocis/pull/2579
* Enhancement - Return the newly created space: [#2610](https://github.com/owncloud/ocis/pull/2610)
Changed the response of the CreateSpace method to include the newly created space.
https://github.com/owncloud/ocis/pull/2610
https://github.com/cs3org/reva/pull/2158
* Enhancement - Expose the reva archiver in OCIS: [#2509](https://github.com/owncloud/ocis/pull/2509)
The reva archiver can now be accessed through the storage frontend service
https://github.com/owncloud/ocis/pull/2509
* Enhancement - Favorites capability: [#2599](https://github.com/owncloud/ocis/pull/2599)
We've added a capability for the storage frontend which can be used to announce to clients
whether or not favorites are supported. By default this is disabled because the listing of
favorites doesn't survive service restarts at the moment.
https://github.com/owncloud/ocis/pull/2599
* Enhancement - Upgrade to GO 1.17: [#2605](https://github.com/owncloud/ocis/pull/2605)
We've upgraded the used GO version from 1.16 to 1.17.
https://github.com/owncloud/ocis/pull/2605
* Enhancement - Make mimetype allow list configurable for app provider: [#2553](https://github.com/owncloud/ocis/pull/2553)
We've added a configuration option to configure the mimetype allow list introduced in
cs3org/reva#2095. This also makes it possible to set one application per mime type as a
default.
https://github.com/owncloud/ocis/issues/2563
https://github.com/owncloud/ocis/pull/2553
https://github.com/cs3org/reva/pull/2095
* Enhancement - Add allow_creation parameter to mime type config: [#2591](https://github.com/owncloud/ocis/pull/2591)
https://github.com/owncloud/ocis/pull/2591
* Enhancement - Add option to skip generation of demo users and groups: [#2495](https://github.com/owncloud/ocis/pull/2495)
We've added a new environment variable to decide whether we should generate the demo users and
groups or not. This environment variable is set to `true` by default, so the demo users and
groups will get generated by default as long as oCIS is in its "technical preview" stage.
In any case, there are still some users and groups automatically generated: for users: Reva
IOP, Kopano IDP, admin; for groups: sysusers and users.
https://github.com/owncloud/ocis/pull/2495
* Enhancement - Allow overriding the cookie based route by claim: [#2508](https://github.com/owncloud/ocis/pull/2508)
When determining the routing policy we now let the claim override the cookie so that users are
routed to the correct backend after login.
https://github.com/owncloud/ocis/pull/2508
* Enhancement - Redirect invalid links to oC Web: [#2493](https://github.com/owncloud/ocis/pull/2493)
Invalid links (eg. https://foo.bar/index.php/apps/pdfviewer) will be redirect to
ownCloud Web instead of displaying a blank page with a "not found" message.
https://github.com/owncloud/ocis/pull/2493
https://github.com/owncloud/ocis/pull/2512
* Enhancement - Use reva's Authenticate method instead of spawning token managers: [#2528](https://github.com/owncloud/ocis/pull/2528)
When using the CS3 proxy backend, we previously obtained the user from reva's userprovider
service and minted the token ourselves. This required maintaining a shared JWT secret between
ocis and reva, as well duplication of logic. This PR delegates this logic by using the
`Authenticate` method provided by the reva gateway service to obtain this token, making it an
arbitrary, indestructible entry. Currently, the changes have been made to the proxy service
but will be extended to others as well.
https://github.com/owncloud/ocis/pull/2528
* Enhancement - TLS config options for ldap in reva: [#2492](https://github.com/owncloud/ocis/pull/2492)
We added the new config options "ldap-cacert" and "ldap-insecure" to the auth-, users- and
groups-provider services to be able to do proper TLS configuration for the LDAP clients.
"ldap-cacert" is by default configured to add the bundled glauth LDAP servers certificate to
the trusted set for the LDAP clients. "ldap-insecure" is set to "false" by default and can be
used to disable certificate checks (only advisable for development and test enviroments).
https://github.com/owncloud/ocis/pull/2492
* Enhancement - Set reva JWT token expiration time to 24 hours by default: [#2527](https://github.com/owncloud/ocis/pull/2527)
https://github.com/owncloud/ocis/pull/2527
* Enhancement - Update reva to v1.14.0: [#2615](https://github.com/owncloud/ocis/pull/2615)
This update includes:
* Bugfix [cs3org/reva#2103](https://github.com/cs3org/reva/pull/2103): AppProvider: propagate back errors reported by WOPI
* Bugfix [cs3org/reva#2149](https://github.com/cs3org/reva/pull/2149): Remove excess info from the http list app providers endpoint
* Bugfix [cs3org/reva#2114](https://github.com/cs3org/reva/pull/2114): Add as default app while registering and skip unset mimetypes
* Bugfix [cs3org/reva#2095](https://github.com/cs3org/reva/pull/2095): Fix app open when multiple app providers are present
* Bugfix [cs3org/reva#2135](https://github.com/cs3org/reva/pull/2135): Make TUS capabilities configurable
* Bugfix [cs3org/reva#2076](https://github.com/cs3org/reva/pull/2076): Fix chi routing
* Bugfix [cs3org/reva#2077](https://github.com/cs3org/reva/pull/2077): Fix concurrent registration of mimetypes
* Bugfix [cs3org/reva#2154](https://github.com/cs3org/reva/pull/2154): Return OK when trying to delete a non existing reference
* Bugfix [cs3org/reva#2078](https://github.com/cs3org/reva/pull/2078): Fix nil pointer exception in stat
* Bugfix [cs3org/reva#2073](https://github.com/cs3org/reva/pull/2073): Fix opening a readonly filetype with WOPI
* Bugfix [cs3org/reva#2140](https://github.com/cs3org/reva/pull/2140): Map GRPC error codes to REVA errors
* Bugfix [cs3org/reva#2147](https://github.com/cs3org/reva/pull/2147): Follow up of #2138: this is the new expected format
* Bugfix [cs3org/reva#2116](https://github.com/cs3org/reva/pull/2116): Differentiate share types when retrieving received shares in sql driver
* Bugfix [cs3org/reva#2074](https://github.com/cs3org/reva/pull/2074): Fix Stat() for EOS storage provider
* Bugfix [cs3org/reva#2151](https://github.com/cs3org/reva/pull/2151): Fix return code for webdav uploads when the token expired
* Change [cs3org/reva#2121](https://github.com/cs3org/reva/pull/2121): Sharemanager API change
* Enhancement [cs3org/reva#2090](https://github.com/cs3org/reva/pull/2090): Return space name during list storage spaces
* Enhancement [cs3org/reva#2138](https://github.com/cs3org/reva/pull/2138): Default AppProvider on top of the providers list
* Enhancement [cs3org/reva#2137](https://github.com/cs3org/reva/pull/2137): Revamp app registry and add parameter to control file creation
* Enhancement [cs3org/reva#145](https://github.com/cs3org/reva/pull/2137): UI improvements for the AppProviders
* Enhancement [cs3org/reva#2088](https://github.com/cs3org/reva/pull/2088): Add archiver and app provider to ocs capabilities
* Enhancement [cs3org/reva#2537](https://github.com/cs3org/reva/pull/2537): Add maximum files and size to archiver capabilities
* Enhancement [cs3org/reva#2100](https://github.com/cs3org/reva/pull/2100): Add support for resource id to the archiver
* Enhancement [cs3org/reva#2158](https://github.com/cs3org/reva/pull/2158): Augment the Id of new spaces
* Enhancement [cs3org/reva#2085](https://github.com/cs3org/reva/pull/2085): Make encoding user groups in access tokens configurable
* Enhancement [cs3org/reva#146](https://github.com/cs3org/reva/pull/146): Filter the denial shares (permission = 0) out of
* Enhancement [cs3org/reva#2141](https://github.com/cs3org/reva/pull/2141): Use golang v1.17
* Enhancement [cs3org/reva#2053](https://github.com/cs3org/reva/pull/2053): Safer defaults for TLS verification on LDAP connections
* Enhancement [cs3org/reva#2115](https://github.com/cs3org/reva/pull/2115): Reduce code duplication in LDAP related drivers
* Enhancement [cs3org/reva#1989](https://github.com/cs3org/reva/pull/1989): Add redirects from OC10 URL formats
* Enhancement [cs3org/reva#2479](https://github.com/cs3org/reva/pull/2479): Limit publicshare and resourceinfo scope content
* Enhancement [cs3org/reva#2071](https://github.com/cs3org/reva/pull/2071): Implement listing favorites via the dav report API
* Enhancement [cs3org/reva#2091](https://github.com/cs3org/reva/pull/2091): Nextcloud share managers
* Enhancement [cs3org/reva#2070](https://github.com/cs3org/reva/pull/2070): More unit tests for the Nextcloud storage provider
* Enhancement [cs3org/reva#2087](https://github.com/cs3org/reva/pull/2087): More unit tests for the Nextcloud auth and user managers
* Enhancement [cs3org/reva#2075](https://github.com/cs3org/reva/pull/2075): Make owncloudsql leverage existing filecache index
* Enhancement [cs3org/reva#2050](https://github.com/cs3org/reva/pull/2050): Add a share types filter to the OCS API
* Enhancement [cs3org/reva#2134](https://github.com/cs3org/reva/pull/2134): Use space Type from request
* Enhancement [cs3org/reva#2132](https://github.com/cs3org/reva/pull/2132): Align local tests with drone setup
* Enhancement [cs3org/reva#2095](https://github.com/cs3org/reva/pull/2095): Whitelisting for apps
* Enhancement [cs3org/reva#2155](https://github.com/cs3org/reva/pull/2155): Pass an extra query parameter to WOPI /openinapp with a
https://github.com/owncloud/ocis/pull/2615
https://github.com/owncloud/ocis/pull/2566
https://github.com/owncloud/ocis/pull/2520
# Changelog for [1.12.0] (2021-09-14)
The following sections list the changes for 1.12.0.
[1.12.0]: https://github.com/owncloud/ocis/compare/v1.11.0...v1.12.0
## Summary
* Bugfix - Remove non working proxy route and fix cs3 users example: [#2474](https://github.com/owncloud/ocis/pull/2474)
* Bugfix - Set English as default language in the dropdown in the settings page: [#2465](https://github.com/owncloud/ocis/pull/2465)
* Change - Remove OnlyOffice extension: [#2433](https://github.com/owncloud/ocis/pull/2433)
* Change - Remove OnlyOffice extension: [#2433](https://github.com/owncloud/ocis/pull/2433)
* Change - Update ownCloud Web to v4.2.0: [#2501](https://github.com/owncloud/ocis/pull/2501)
* Enhancement - Add app provider and app provider registry: [#2204](https://github.com/owncloud/ocis/pull/2204)
* Enhancement - Add the create space permission: [#2461](https://github.com/owncloud/ocis/pull/2461)
* Enhancement - Add set space quota permission: [#2459](https://github.com/owncloud/ocis/pull/2459)
* Enhancement - Create a Space using the Graph API: [#2471](https://github.com/owncloud/ocis/pull/2471)
* Enhancement - Update go-chi/chi to version 5.0.3: [#2429](https://github.com/owncloud/ocis/pull/2429)
* Enhancement - Upgrade go micro to v3.6.0: [#2451](https://github.com/owncloud/ocis/pull/2451)
* Enhancement - Update reva to v1.13.0: [#2477](https://github.com/owncloud/ocis/pull/2477)
## Details
* Bugfix - Remove non working proxy route and fix cs3 users example: [#2474](https://github.com/owncloud/ocis/pull/2474)
We removed a non working route from the proxy default configuration and fixed the cs3 users
deployment example since it still used the accounts service. It now only uses the configured
LDAP.
https://github.com/owncloud/ocis/pull/2474
* Bugfix - Set English as default language in the dropdown in the settings page: [#2465](https://github.com/owncloud/ocis/pull/2465)
The language dropdown didn't have a default language selected, and it was showing an empty
value. Now it shows English instead.
https://github.com/owncloud/ocis/pull/2465
* Change - Remove OnlyOffice extension: [#2433](https://github.com/owncloud/ocis/pull/2433)
Tags: OnlyOffice
We've removed the OnlyOffice extension in oCIS. OnlyOffice has their own web extension for
OC10 backend now with [a dedicated
guide](https://owncloud.dev/clients/web/deployments/oc10-app/#onlyoffice). In
oCIS, we will follow up with a guide on how to start a WOPI server providing OnlyOffice soon.
https://github.com/owncloud/ocis/pull/2433
* Change - Remove OnlyOffice extension: [#2433](https://github.com/owncloud/ocis/pull/2433)
Tags: OnlyOffice
We've removed the OnlyOffice extension in oCIS. OnlyOffice has their own web extension for
OC10 backend now with [a dedicated
guide](https://owncloud.dev/clients/web/deployments/oc10-app/#onlyoffice). In
oCIS, we will follow up with a guide on how to start a WOPI server providing OnlyOffice soon.
https://github.com/owncloud/ocis/pull/2433
* Change - Update ownCloud Web to v4.2.0: [#2501](https://github.com/owncloud/ocis/pull/2501)
Tags: web
We updated ownCloud Web to v4.2.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2501
https://github.com/owncloud/web/releases/tag/v4.2.0
* Enhancement - Add app provider and app provider registry: [#2204](https://github.com/owncloud/ocis/pull/2204)
We added the app provider and app provider registry. Now the CS3org WOPI server can be
registered and OpenInApp requests can be done.
https://github.com/owncloud/ocis/pull/2204
https://github.com/cs3org/reva/pull/1785
* Enhancement - Add the create space permission: [#2461](https://github.com/owncloud/ocis/pull/2461)
In preparation for the upcoming spaces features a `Create Space` permission was added.
https://github.com/owncloud/ocis/pull/2461
* Enhancement - Add set space quota permission: [#2459](https://github.com/owncloud/ocis/pull/2459)
In preparation for the upcoming spaces features a `SetSpaceQuota` permission was added.
https://github.com/owncloud/ocis/pull/2459
* Enhancement - Create a Space using the Graph API: [#2471](https://github.com/owncloud/ocis/pull/2471)
Spaces can now be created on `POST /drives/{drive-name}`. Only users with the `create-space`
permissions can perform this operation.
Allowed body form values are:
- `quota` (bytes) maximum amount of bytes stored in the space. - `maxQuotaFiles` (integer)
maximum amount of files supported by the space.
https://github.com/owncloud/ocis/pull/2471
* Enhancement - Update go-chi/chi to version 5.0.3: [#2429](https://github.com/owncloud/ocis/pull/2429)
Updated go-chi/chi to the latest release
https://github.com/owncloud/ocis/pull/2429
* Enhancement - Upgrade go micro to v3.6.0: [#2451](https://github.com/owncloud/ocis/pull/2451)
Go micro and all go micro plugins are now on v3.6.0
https://github.com/owncloud/ocis/pull/2451
* Enhancement - Update reva to v1.13.0: [#2477](https://github.com/owncloud/ocis/pull/2477)
This update includes:
* Bugfix [cs3org/reva#2054](https://github.com/cs3org/reva/pull/2054): Fix the response after deleting a share
* Bugfix [cs3org/reva#2026](https://github.com/cs3org/reva/pull/2026): Fix moving of a shared file
* Bugfix [cs3org/reva#1605](https://github.com/cs3org/reva/pull/1605): Allow to expose full paths in OCS API
* Bugfix [cs3org/reva#2033](https://github.com/cs3org/reva/pull/2033): Fix the storage id of shares
* Bugfix [cs3org/reva#1991](https://github.com/cs3org/reva/pull/1991): Remove share references when declining shares
* Enhancement [cs3org/reva#1994](https://github.com/cs3org/reva/pull/1994): Add owncloudsql driver for the userprovider
* Enhancement [cs3org/reva#2065](https://github.com/cs3org/reva/pull/2065): New sharing role Manager
* Enhancement [cs3org/reva#2015](https://github.com/cs3org/reva/pull/2015): Add spaces to the list of capabilities
* Enhancement [cs3org/reva#2041](https://github.com/cs3org/reva/pull/2041): Create operations for Spaces
* Enhancement [cs3org/reva#2029](https://github.com/cs3org/reva/pull/2029): Tracing agent configuration
https://github.com/owncloud/ocis/pull/2477
# Changelog for [1.11.0] (2021-08-24)
The following sections list the changes for 1.11.0.
[1.11.0]: https://github.com/owncloud/ocis/compare/v1.10.0...v1.11.0
## Summary
* Bugfix - Specify primary user type for all accounts: [#2364](https://github.com/owncloud/ocis/pull/2364)
* Bugfix - Fix naming of the user- and groupprovider services: [#2388](https://github.com/owncloud/ocis/pull/2388)
* Change - Update ownCloud Web to v4.1.0: [#2426](https://github.com/owncloud/ocis/pull/2426)
* Enhancement - Use non root user for the owncloud/ocis docker image: [#2380](https://github.com/owncloud/ocis/pull/2380)
* Enhancement - Replace unmaintained jwt library: [#2386](https://github.com/owncloud/ocis/pull/2386)
* Enhancement - Update bleve to version 2.1.0: [#2391](https://github.com/owncloud/ocis/pull/2391)
* Enhancement - Update github.com/coreos/go-oidc to v3.0.0: [#2393](https://github.com/owncloud/ocis/pull/2393)
* Enhancement - Update reva to v1.12: [#2423](https://github.com/owncloud/ocis/pull/2423)
## Details
* Bugfix - Specify primary user type for all accounts: [#2364](https://github.com/owncloud/ocis/pull/2364)
https://github.com/owncloud/ocis/pull/2364
* Bugfix - Fix naming of the user- and groupprovider services: [#2388](https://github.com/owncloud/ocis/pull/2388)
The services are called "storage-userprovider" and "storage-groupprovider". The 'ocis
help' output was misleading.
https://github.com/owncloud/ocis/pull/2388
* Change - Update ownCloud Web to v4.1.0: [#2426](https://github.com/owncloud/ocis/pull/2426)
Tags: web
We updated ownCloud Web to v4.1.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2426
https://github.com/owncloud/web/releases/tag/v4.1.0
* Enhancement - Use non root user for the owncloud/ocis docker image: [#2380](https://github.com/owncloud/ocis/pull/2380)
The owncloud/ocis docker image now uses a non root user and enables you to set a different user
with the docker `--user` parameter. The default user has the UID 1000 is part of a group with the
GID 1000.
This is a breaking change for existing docker deployments. The permission on the files and
folders in persistent volumes need to be changed to the UID and GID used for oCIS (default
1000:1000 if not changed by the user).
https://github.com/owncloud/ocis/pull/2380
* Enhancement - Replace unmaintained jwt library: [#2386](https://github.com/owncloud/ocis/pull/2386)
The old library [github.com/dgrijalva/jwt-go](https://github.com/dgrijalva/jwt-go)
is unmaintained and was replaced by the community maintained fork
[github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt).
https://github.com/owncloud/ocis/pull/2386
* Enhancement - Update bleve to version 2.1.0: [#2391](https://github.com/owncloud/ocis/pull/2391)
Updated bleve to the current version.
https://github.com/owncloud/ocis/pull/2391
* Enhancement - Update github.com/coreos/go-oidc to v3.0.0: [#2393](https://github.com/owncloud/ocis/pull/2393)
Updated the github.com/coreos/go-oidc library to the version 3.0.0.
https://github.com/owncloud/ocis/pull/2393
* Enhancement - Update reva to v1.12: [#2423](https://github.com/owncloud/ocis/pull/2423)
* Enhancement cs3org/reva#1803: Introduce new webdav spaces endpoint
* Bugfix cs3org/reva#1819: Disable notifications
* Enhancement cs3org/reva#1861: Add support for runtime plugins
* Bugfix cs3org/reva#1913: Logic to restore files to readonly nodes
* Enhancement cs3org/reva#1946: Add share manager that connects to oc10 databases
* Bugfix cs3org/reva#1954: Fix response format of the sharees API
* Bugfix cs3org/reva#1956: Fix trashbin listing with depth 0
* Bugfix cs3org/reva#1957: Fix etag propagation on deletes
* Bugfix cs3org/reva#1960: Return the updated share after updating
* Bugfix cs3org/reva#1965 cs3org/reva#1967: Fix the file target of user and group shares
* Bugfix cs3org/reva#1980: Propagate the etag after restoring a file version
* Enhancement cs3org/reva#1984: Replace OpenCensus with OpenTelemetry
* Bugfix cs3org/reva#1985: Add quota stubs
* Bugfix cs3org/reva#1987: Fix windows build
* Bugfix cs3org/reva#1990: Increase oc10 compatibility of owncloudsql
* Bugfix cs3org/reva#1992: Check if symlink exists instead of spamming the console
* Bugfix cs3org/reva#1993: fix owncloudsql GetMD
https://github.com/owncloud/ocis/pull/2423
# Changelog for [1.10.0] (2021-08-06)
The following sections list the changes for 1.10.0.
[1.10.0]: https://github.com/owncloud/ocis/compare/v1.9.0...v1.10.0
## Summary
* Bugfix - Improve IDP Login Accessibility: [#5376](https://github.com/owncloud/web/issues/5376)
* Bugfix - Forward basic auth to OpenID connect token authentication endpoint: [#2095](https://github.com/owncloud/ocis/issues/2095)
* Bugfix - Log all requests in the proxy access log: [#2301](https://github.com/owncloud/ocis/pull/2301)
* Bugfix - Update glauth to 20210729125545-b9aecdfcac31: [#2336](https://github.com/owncloud/ocis/pull/2336)
* Change - Update ownCloud Web to v4.0.0: [#2353](https://github.com/owncloud/ocis/pull/2353)
* Enhancement - Proxy: Add claims policy selector: [#2248](https://github.com/owncloud/ocis/pull/2248)
* Enhancement - Add ocs cache warmup config and warn on protobuf ns conflicts: [#2328](https://github.com/owncloud/ocis/pull/2328)
* Enhancement - Refactor graph API: [#2277](https://github.com/owncloud/ocis/pull/2277)
* Enhancement - Update REVA: [#2355](https://github.com/owncloud/ocis/pull/2355)
* Enhancement - Use only one go.mod file for project dependencies: [#2344](https://github.com/owncloud/ocis/pull/2344)
## Details
* Bugfix - Improve IDP Login Accessibility: [#5376](https://github.com/owncloud/web/issues/5376)
We have addressed the feedback from the `a11y` audit and improved the IDP login screen
accordingly.
https://github.com/owncloud/web/issues/5376
https://github.com/owncloud/web/issues/5377
* Bugfix - Forward basic auth to OpenID connect token authentication endpoint: [#2095](https://github.com/owncloud/ocis/issues/2095)
When using `PROXY_ENABLE_BASIC_AUTH=true` we now forward request to the idp instead of
trying to authenticate the request ourself.
https://github.com/owncloud/ocis/issues/2095
https://github.com/owncloud/ocis/issues/2094
* Bugfix - Log all requests in the proxy access log: [#2301](https://github.com/owncloud/ocis/pull/2301)
We now use a dedicated middleware to log all requests, regardless of routing selector outcome.
While the log now includes the remote address, the selected routing policy is only logged when
log level is set to debug because the request context cannot be changed in the
`directorSelectionDirector`, as per the `ReverseProxy.Director` documentation.
https://github.com/owncloud/ocis/pull/2301
* Bugfix - Update glauth to 20210729125545-b9aecdfcac31: [#2336](https://github.com/owncloud/ocis/pull/2336)
* Fixes the backend config not being passed correctly in ocis
* Fixes a mutex being copied, leading to concurrent writes
* Fixes UTF8 chars in filters
* Fixes case insensitive strings
https://github.com/owncloud/ocis/pull/2336
https://github.com/glauth/glauth/pull/198
https://github.com/glauth/glauth/pull/194
* Change - Update ownCloud Web to v4.0.0: [#2353](https://github.com/owncloud/ocis/pull/2353)
Tags: web
We updated ownCloud Web to v4.0.0. Please refer to the changelog (linked) for details on the web
release.
https://github.com/owncloud/ocis/pull/2353
https://github.com/owncloud/web/releases/tag/v4.0.0
* Enhancement - Proxy: Add claims policy selector: [#2248](https://github.com/owncloud/ocis/pull/2248)
Using the proxy config file, it is now possible to let let the IdP determine the routing policy by
sending an `ocis.routing.policy` claim. Its value will be used to determine the set of routes
for the logged in user.
https://github.com/owncloud/ocis/pull/2248
* Enhancement - Add ocs cache warmup config and warn on protobuf ns conflicts: [#2328](https://github.com/owncloud/ocis/pull/2328)
https://github.com/owncloud/ocis/pull/2328
* Enhancement - Refactor graph API: [#2277](https://github.com/owncloud/ocis/pull/2277)
We refactored the `/graph/v1.0/` endpoint which now relies on the internal acces token fer
authentication, getting rid of any LDAP or OIDC code to authenticate requests. This allows
using the graph api when using basic auth or any other auth mechanism provided by the CS3 auth
providers / reva gateway / ocis proxy.
https://github.com/owncloud/ocis/pull/2277
* Enhancement - Update REVA: [#2355](https://github.com/owncloud/ocis/pull/2355)
Update REVA from v1.10.1-0.20210730095301-fcb7a30a44a6 to
v1.11.1-0.20210809134415-3fe79c870fb5 * Fix cs3org/reva#1978: Fix owner type is optional
* Fix cs3org/reva#1965: fix value of file_target in shares * Fix cs3org/reva#1960: fix
updating shares in the memory share manager * Fix cs3org/reva#1956: fix trashbin listing with
depth 0 * Fix cs3org/reva#1957: fix etag propagation on deletes * Enh cs3org/reva#1861: [WIP]
Runtime plugins * Fix cs3org/reva#1954: fix response format of the sharees API * Fix
cs3org/reva#1819: Remove notifications key from ocs response * Enh cs3org/reva#1946: Add a
share manager that connects to oc10 databases * Fix cs3org/reva#1899: Fix chunked uploads for
new versions * Fix cs3org/reva#1906: Fix copy over existing resource * Fix cs3org/reva#1891:
Delete Shared Resources as Receiver * Fix cs3org/reva#1907: Error when creating folder with
existing name * Fix cs3org/reva#1937: Do not overwrite more specific matches when finding
storage providers * Fix cs3org/reva#1939: Fix the share jail permissions in the decomposedfs
* Fix cs3org/reva#1932: Numerous fixes to the owncloudsql storage driver * Fix
cs3org/reva#1912: Fix response when listing versions of another user * Fix
cs3org/reva#1910: Get user groups recursively in the cbox rest user driver * Fix
cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the datagateway * Fix
cs3org/reva#1911: Fix version order in propfind responses * Fix cs3org/reva#1926: Trash Bin
in oCIS Storage Operations * Fix cs3org/reva#1901: Fix response code when folder doesnt exist
on upload * Enh cs3org/reva#1785: Extend app registry with AddProvider method and mimetype
filters * Enh cs3org/reva#1938: Add methods to get and put context values * Enh
cs3org/reva#1798: Add support for a deny-all permission on references * Enh
cs3org/reva#1916: Generate updated protobuf bindings for EOS GRPC * Enh cs3org/reva#1887:
Add "a" and "l" filter for grappa queries * Enh cs3org/reva#1919: Run gofmt before building *
Enh cs3org/reva#1927: Implement RollbackToVersion for eosgrpc (needs a newer EOS MGM) * Enh
cs3org/reva#1944: Implement listing supported mime types in app registry * Enh
cs3org/reva#1870: Be defensive about wrongly quoted etags * Enh cs3org/reva#1940: Reduce
memory usage when uploading with S3ng storage * Enh cs3org/reva#1888: Refactoring of the
webdav code * Enh cs3org/reva#1900: Check for illegal names while uploading or moving files *
Enh cs3org/reva#1925: Refactor listing and statting across providers for virtual views * Fix
cs3org/reva#1883: Pass directories with trailing slashes to eosclient.GenerateToken * Fix
cs3org/reva#1878: Improve the webdav error handling in the trashbin * Fix cs3org/reva#1884:
Do not send body on failed range request * Enh cs3org/reva#1744: Add support for lightweight
user types * Fix cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the
datagateway * Fix cs3org/reva#1899: Bugfix: Fix chunked uploads for new versions * Enh
cs3org/reva#1888: Refactoring of the webdav code * Enh cs3org/reva#1887: Add "a" and "l"
filter for grappa queries
https://github.com/owncloud/ocis/pull/2355
https://github.com/owncloud/ocis/pull/2295
https://github.com/owncloud/ocis/pull/2314
* Enhancement - Use only one go.mod file for project dependencies: [#2344](https://github.com/owncloud/ocis/pull/2344)
We now use one single go.mod file at the root of the repository rather than one per core
extension.
https://github.com/owncloud/ocis/pull/2344
# Changelog for [1.9.0] (2021-07-13)
The following sections list the changes for 1.9.0.
[1.9.0]: https://github.com/owncloud/ocis/compare/v1.8.0...v1.9.0
## Summary
+3 -3
View File
@@ -11,10 +11,10 @@ For simplicity reasons, this document mostly refers to the ownCloud [Infinite Sc
[What should I know before I get started](#what-should-i-know-before-i-get-started)
* [ownCloud is hosted on Github](#owncloud-is-hosted-on-github)
* [ownCloud Company, Engineering Partners and Community](#owncloud-company,-engineering-partners-and-community)
* [Licensing and CLA](licensing-and-cla)
* [Licensing and CLA](#licensing-and-cla)
[How Can I Contribute](#how-can-i-contribute)
* [Help spreading the word](help-spreading-the-word!)
* [Help spreading the word](#help-spreading-the-word)
* [Reporting Bugs](#reporting-bugs)
* [Suggesting Enhancements](#suggesting-enhancements)
* [Your First Code Contribution](#your-first-code-contribution)
@@ -44,7 +44,7 @@ We also have a [Rocket Chat Server](https://talk.owncloud.com/channel/ocis) to a
### ownCloud is hosted on Github
To effectivly contribute to ownCloud Infinite Scale, you need a Github account. You can get that for free at [Github](https://github.com/join). You can find howtos on the internet, for example [here](https://www.wikihow.com/Create-an-Account-on-GitHub).
To effectively contribute to ownCloud Infinite Scale, you need a Github account. You can get that for free at [Github](https://github.com/join). You can find howtos on the internet, for example [here](https://www.wikihow.com/Create-an-Account-on-GitHub).
For other ways of contributing, for example with translations, other systems require you to have an account as well, for example [Transifex](https://www.transifex.com).
+1 -1
View File
@@ -1,4 +1,4 @@
FROM owncloudci/golang:1.16 as build
FROM owncloudci/golang:1.17 as build
COPY ./ /ocis/
+2 -3
View File
@@ -24,7 +24,6 @@ OCIS_MODULES = \
ocis \
ocis-pkg \
ocs \
onlyoffice \
proxy \
settings \
storage \
@@ -33,7 +32,7 @@ OCIS_MODULES = \
web \
webdav
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
ifneq (, $(shell which go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI
include .bingo/Variables.mk
endif
@@ -151,7 +150,7 @@ protobuf:
.PHONY: bingo-update
bingo-update: $(BINGO)
$(BINGO) get -u
$(BINGO) get -l -u
CHANGELOG_VERSION =
-202
View File
@@ -1,202 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+2 -7
View File
@@ -7,7 +7,7 @@ test-acceptance-webui:
############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # supress `command not found warnings` for non go targets in CI
ifneq (, $(shell which go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif
@@ -32,7 +32,6 @@ include ../.make/generate.mk
.PHONY: ci-go-generate
ci-go-generate: protobuf # CI runs ci-node-generate automatically before this target
@go generate $(GENERATE)
.PHONY: ci-node-generate
ci-node-generate: yarn-build
@@ -54,8 +53,4 @@ PROTO_SRC := pkg/proto/$(PROTO_VERSION)
include ../.make/protobuf.mk
.PHONY: protobuf
protobuf: $(PROTO_SRC)/${NAME}.pb.go \
$(PROTO_SRC)/${NAME}.pb.micro.go \
$(PROTO_SRC)/${NAME}.pb.web.go \
$(PROTO_SRC)/${NAME}.swagger.json \
../docs/extensions/${NAME}/grpc.md
protobuf: buf-generate
+8
View File
@@ -0,0 +1,8 @@
package accounts
import (
"embed"
)
//go:embed assets/*
var Assets embed.FS
+29
View File
@@ -0,0 +1,29 @@
version: v1
plugins:
- name: go
path: ../.bingo/protoc-gen-go
out: pkg/
opt:
- paths=source_relative
- name: micro
path: ../.bingo/protoc-gen-micro
out: pkg/
opt:
- paths=source_relative
- name: microweb
path: ../.bingo/protoc-gen-microweb
out: pkg/
opt:
- paths=source_relative
- name: openapiv2
path: ../.bingo/protoc-gen-openapiv2
out: pkg/
- name: doc
path: ../.bingo/protoc-gen-doc
out: ../docs/extensions/accounts
opt:
- ./templates/GRPC.tmpl,grpc.md
+17
View File
@@ -0,0 +1,17 @@
# Generated by buf. DO NOT EDIT.
version: v1
deps:
- remote: buf.build
owner: googleapis
repository: googleapis
branch: main
commit: ca45b9d9c51849e898845743a28b0eb0
digest: b1--B2JdvzLV2KI5pYMG9AHJHFGznqXfZKjKwcqBuXhGgw=
create_time: 2021-10-14T15:09:30.598677Z
- remote: buf.build
owner: grpc-ecosystem
repository: grpc-gateway
branch: main
commit: 462ede5f3dee45569df6317bda220b1b
digest: b1-4FNKWjnS2yafyeOdqW8u-s7w1pJBHjz0Z6CbOL-Ipk0=
create_time: 2021-10-14T01:55:03.476639Z
+10
View File
@@ -0,0 +1,10 @@
version: v1
lint:
use:
- DEFAULT
deps:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
breaking:
use:
- FILE
-45
View File
@@ -1,45 +0,0 @@
module github.com/owncloud/ocis/accounts
go 1.16
require (
contrib.go.opencensus.io/exporter/jaeger v0.2.1
contrib.go.opencensus.io/exporter/ocagent v0.7.0
contrib.go.opencensus.io/exporter/zipkin v0.1.2
github.com/asim/go-micro/plugins/client/grpc/v3 v3.0.0-20210408173139-0d57213d3f5c
github.com/asim/go-micro/v3 v3.5.1-0.20210217182006-0f0ace1a44a9
github.com/cs3org/go-cs3apis v0.0.0-20210702091910-85a56bfd027f
github.com/cs3org/reva v1.9.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
github.com/golang/protobuf v1.5.2
github.com/grpc-ecosystem/grpc-gateway/v2 v2.2.0
github.com/mennanov/fieldmask-utils v0.3.3
github.com/micro/cli/v2 v2.1.2
github.com/oklog/run v1.1.0
github.com/olekukonko/tablewriter v0.0.5
github.com/openzipkin/zipkin-go v0.2.5
github.com/owncloud/ocis/ocis-pkg v0.0.0-20210216094451-dc73176dc62d
github.com/owncloud/ocis/settings v0.0.0-20210413063522-955bd60edf33
github.com/prometheus/client_golang v1.10.0
github.com/rs/zerolog v1.23.0
github.com/spf13/viper v1.7.1
github.com/stretchr/testify v1.7.0
github.com/thejerf/suture/v4 v4.0.0
go.opencensus.io v0.23.0
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
google.golang.org/genproto v0.0.0-20210207032614-bba0dbe2a9ea
google.golang.org/grpc v1.39.0
google.golang.org/protobuf v1.27.1
)
replace (
github.com/owncloud/ocis/ocis-pkg => ../ocis-pkg
github.com/owncloud/ocis/settings => ../settings
github.com/owncloud/ocis/store => ../store
// taken from https://github.com/asim/go-micro/blob/master/plugins/registry/etcd/go.mod#L14-L16
go.etcd.io/etcd/api/v3 => go.etcd.io/etcd/api/v3 v3.0.0-20210204162551-dae29bb719dd
go.etcd.io/etcd/pkg/v3 => go.etcd.io/etcd/pkg/v3 v3.0.0-20210204162551-dae29bb719dd
)
-2327
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1 +1 @@
{"ar":{"Account is activated":"تم تفعيل الحساب","Account is blocked":"تم حظر الحساب","Accounts":"حسابات","Activate":"فعل","Activated":"مُفعّلة","Admin":"المسؤول","Block":"حظر","Cancel":"إلغاء","Clear selection":"اختيار واضحة","Confirm":"تأكيد","Create":"إنشاء","Create new account":"إنشاء حساب جديد","Creating":"إنشاء","Delete":"حذف","Display name":"اسم العرض","Email":"البريد الإلكتروني","Email cannot be empty":"لا يمكن للبريد الإلكتروني أن يكون فارغا","Failed to change role.":"فشل في تغيير الدور","Guest":"ضيف","Invalid email address":"عنوان بريد إلكتروني غير صالح","Invalid username":"اسم مستخدم غير صالح","Loading":"تحميل","msg":"ام اس جي","Password":"كلمة المرور","Password cannot be empty":"لا يمكن أن تكون كلمة المرور فارغة","Role":"الدور","Select all users":"تحديد كل المستخدمين","Select role":"تحديد الدور","User":"المستخدم","Username":"اسم المستخدم","Username cannot be empty":"لا يمكن أن يكون إسم المستخدم فارغا","You don't have permissions to manage accounts.":"ليس لديك صلاحيات لإدارة الحسابات"},"de":{"%{ amount } selected user":["%{ amount } ausgewählter Benutzer","%{ amount } ausgewählte Benutzer"],"Account is activated":"Konto ist aktiviert","Account is blocked":"Konto ist geblockt","Accounts":"Konten","Activate":"Aktivieren","Activated":"Aktiviert","Admin":"Administration","Block":"Blockieren","Cancel":"Abbrechen","Clear selection":"Auswahl aufheben","Confirm":"Bestätigen","Create":"Erstellen","Create new account":"Neues Konto erstellen","Creating":"Erstelle","Delete":"Löschen","Delete the selected account?":["Ausgewählten Account löschen?","Ausgewählte Accounts löschen?"],"Display name":"Anzeigename","Email":"E-Mail","Email cannot be empty":"E-Mail darf nicht leer sein","Failed to change role.":"Ändern der Rolle fehlgeschlagen.","Guest":"Gast","Invalid email address":"Ungültige E-Mail-Adresse","Invalid username":"Ungültiger Benutzername","Loading":"Lade","msg":"msg","Password":"Passwort","Password cannot be empty":"Das Passwort darf nicht leer sein","Role":"Rolle","Select %{ account }":" %{ account } auswählen","Select all users":"Alle Benutzer auswählen","Select role":"Rolle auswählen","User":"Benutzer","Username":"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein","You don't have permissions to manage accounts.":"Keine Berechtigungen um Konten zu verwalten"},"es":{"%{ amount } selected user":["%{ amount } usuario seleccionado","%{ amount } usuarios seleccionados"],"Account is activated":"La cuenta está activada","Account is blocked":"La cuenta está bloqueada","Accounts":"Cuentas","Activate":"Activar","Activated":"Activada","Admin":"Administración","Block":"Bloquear","Cancel":"Cancelar","Clear selection":"Selección clara","Confirm":"Confirmar","Create":"Crear","Create new account":"Crear una nueva cuenta","Creating":"Creando","Delete":"Eliminar","Delete the selected account?":["¿Eliminar la cuenta seleccionada?","¿Eliminar las cuentas seleccionadas?"],"Display name":"Nombre para mostrar","Email":"Correo electrónico","Email cannot be empty":"El correo electrónico no puede estar vacío","Failed to change role.":"Error al cambiar de rol.","Guest":"Invitado","Invalid email address":"Dirección de correo no válida","Invalid username":"Nombre de usuario no válido","Loading":"Cargando","msg":"msg","Password":"Contraseña","Password cannot be empty":"La contraseña no puede estar vacía","Role":"Rol","Select %{ account }":"Seleccionar %{ account }","Select all users":"Seleccionar todos los usuarios","Select role":"Seleccionar rol","User":"Usuario","Username":"Nombre de usuario","Username cannot be empty":"El nombre de usuario no puede estar vacío","You don't have permissions to manage accounts.":"No tienes permisos para gestionar cuentas."},"fr":{"%{ amount } selected user":["%{ amount } utilisateur sélectionné","%{ amount } utilisateurs sélectionnés"],"Account is activated":"Le compte est activé","Account is blocked":"Le compte est verrouillé","Accounts":"Comptes","Activate":"Activer","Activated":"Activé","Admin":"Administration","Block":"Bloquer","Cancel":"Annuler","Clear selection":"Vider la sélection","Confirm":"Confirmer","Create":"Créer","Create new account":"Créer un compte","Delete":"Supprimer","Delete the selected account?":["Supprimer le compte sélectionné ?","Supprimer les comptes sélectionnés ?"],"Display name":"Nom affiché","Email":"Adresse courriel","Email cannot be empty":"L'email ne peut pas être vide.","Guest":"Invité","Invalid email address":"Adresse mail invalide","Invalid username":"Noms d'utilisateur non valide","Loading":"Chargement","Password":"Mot de passe",Line truncated
{"ar":{"Account is activated":"تم تفعيل الحساب","Account is blocked":"تم حظر الحساب","Accounts":"حسابات","Activate":"فعل","Activated":"مُفعّلة","Admin":"المسؤول","Block":"حظر","Cancel":"إلغاء","Clear selection":"اختيار واضحة","Confirm":"تأكيد","Create":"إنشاء","Create new account":"إنشاء حساب جديد","Creating":"إنشاء","Delete":"حذف","Display name":"اسم العرض","Email":"البريد الإلكتروني","Email cannot be empty":"لا يمكن للبريد الإلكتروني أن يكون فارغا","Failed to change role.":"فشل في تغيير الدور","Guest":"ضيف","Invalid email address":"عنوان بريد إلكتروني غير صالح","Invalid username":"اسم مستخدم غير صالح","Loading":"تحميل","msg":"ام اس جي","Password":"كلمة المرور","Password cannot be empty":"لا يمكن أن تكون كلمة المرور فارغة","Role":"الدور","Select all users":"تحديد كل المستخدمين","Select role":"تحديد الدور","User":"المستخدم","Username":"اسم المستخدم","Username cannot be empty":"لا يمكن أن يكون إسم المستخدم فارغا","You don't have permissions to manage accounts.":"ليس لديك صلاحيات لإدارة الحسابات"},"de":{"%{ amount } selected user":["%{ amount } ausgewählter Benutzer","%{ amount } ausgewählte Benutzer"],"Account is activated":"Konto ist aktiviert","Account is blocked":"Konto ist geblockt","Accounts":"Konten","Activate":"Aktivieren","Activated":"Aktiviert","Admin":"Administration","Block":"Blockieren","Cancel":"Abbrechen","Clear selection":"Auswahl aufheben","Confirm":"Bestätigen","Create":"Erstellen","Create new account":"Neues Konto erstellen","Creating":"Erstelle","Delete":"Löschen","Delete the selected account?":["Ausgewählten Account löschen?","Ausgewählte Accounts löschen?"],"Display name":"Anzeigename","Email":"E-Mail","Email cannot be empty":"E-Mail darf nicht leer sein","Failed to change role.":"Ändern der Rolle fehlgeschlagen.","Guest":"Gast","Invalid email address":"Ungültige E-Mail-Adresse","Invalid username":"Ungültiger Benutzername","Loading":"Lade","msg":"msg","Password":"Passwort","Password cannot be empty":"Das Passwort darf nicht leer sein","Role":"Rolle","Select %{ account }":" %{ account } auswählen","Select all users":"Alle Benutzer auswählen","Select role":"Rolle auswählen","User":"Benutzer","Username":"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein","You don't have permissions to manage accounts.":"Keine Berechtigungen um Konten zu verwalten"},"el":{"%{ amount } selected user":["%{ amount } επιλεγμένος χρήστης","%{ amount } επιλεγμένοι χρήστες"],"Account is activated":"Ο λογαριασμός είναι ενεργοποιημένος.","Account is blocked":"Ο λογαριασμός είναι αποκλεισμένος","Accounts":"Λογαριασμοί","Activate":"Ενεργοποίηση","Activated":"Ενεργοποιημένο","Admin":"Διαχειριστής","Block":"Αποκλεισμός","Cancel":"Aκύρωση","Clear selection":"Εκκαθάριση επιλογής","Confirm":"Επιβεβαίωση","Create":"Δημιουργία","Create new account":"Δημιουργία νέου λογαριασμού","Creating":"Γίνεται δημιουργία","Delete":"Διαγραφή","Delete the selected account?":["Διαγραφή του επιλεγμένου λογαριασμού;","Διαγραφή των επιλεγμένων λογαριασμών;"],"Display name":"Εμφανιζόμενο όνομα","Email":"Ηλεκτρονική αλληλογραφία","Email cannot be empty":"Η διεύθυνση ηλεκτρονικού ταχυδρομείου δεν μπορεί να είναι κενή","Failed to change role.":"Αποτυχία αλλαγής ρόλου.","Guest":"Επισκέπτης","Invalid email address":"Μη έγκυρη διεύθυνση ηλεκτρονικού ταχυδρομείου","Invalid username":"Μη έγκυρο όνομα χρήστη","Loading":"Γίνεται φόρτωση","msg":"μνμ","Password":"Συνθηματικό","Password cannot be empty":"Το συνθηματικό δεν πρέπει να είναι κενό","Role":"Ρόλος","Select %{ account }":"Επιλογή %{ account }","Select all users":"Επιλογή όλων των χρηστών","Select role":"Επιλογή ρόλου","User":"Χρήστης","Username":"Όνομα χρήστη","Username cannot be empty":"Το όνομα χρήστη δεν μπορεί να είναι κενό","You don't have permissions to manage accounts.":"Δεν έχετε δικαιώματα να διαχειριστείτε λογαριασμούς."},"es":{"%{ amount } selected user":["%{ amount } usuario seleccionado","%{ aLine truncated
+29 -29
View File
@@ -1,45 +1,53 @@
{
"private": true,
"name": "ocis-accounts",
"version": "0.0.0",
"private": true,
"description": "",
"homepage": "https://github.com/owncloud/ocis-accounts#readme",
"license": "Apache-2.0",
"author": "ownCloud GmbH <devops@owncloud.com>",
"repository": "https://github.com/owncloud/ocis-accounts.git",
"bugs": {
"url": "https://github.com/owncloud/ocis/issues",
"email": "support@owncloud.com"
},
"repository": "https://github.com/owncloud/ocis-accounts.git",
"license": "Apache-2.0",
"author": "ownCloud GmbH <devops@owncloud.com>",
"scripts": {
"lint": "eslint ui/**/*.vue ui/**/*.js --color --global requirejs --global require",
"acceptance-tests": "cucumber-js --retry 1 --require-module @babel/register --require-module @babel/polyfill --require ${TEST_INFRA_DIRECTORY}/acceptance/setup.js --require ui/tests/acceptance/stepDefinitions --require ${TEST_INFRA_DIRECTORY}/acceptance/stepDefinitions --format @cucumber/pretty-formatter -t \"${TEST_TAGS:-not @skip and not @skipOnOC10}\"",
"build": "rollup -c",
"watch": "rollup -c -w",
"test": "echo 'Not implemented'",
"generate-api": "node node_modules/swagger-vue-generator/bin/generate-api.js --package-version v0 --source pkg/proto/v0/accounts.swagger.json --moduleName accounts --destination ui/client/accounts/index.js",
"acceptance-tests": "cucumber-js --retry 1 --require-module @babel/register --require-module @babel/polyfill --require ${TEST_INFRA_DIRECTORY}/acceptance/setup.js --require ui/tests/acceptance/stepDefinitions --require ${TEST_INFRA_DIRECTORY}/acceptance/stepDefinitions --format node_modules/cucumber-pretty -t \"${TEST_TAGS:-not @skip and not @skipOnOC10}\""
"lint": "eslint ui/**/*.vue ui/**/*.js --color --global requirejs --global require",
"test": "echo 'Not implemented'",
"watch": "rollup -c -w"
},
"browserslist": [
"> 1%",
"not dead"
],
"dependencies": {
"axios": "^0.21.4",
"core-js": "^3.17.3",
"debounce": "^1.2.1",
"validator": "^13.1.1",
"vuex": "^3.5.1"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-export-default-from": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/polyfill": "^7.10.1",
"@babel/preset-env": "^7.13.12",
"@babel/register": "7.13.8",
"@babel/register": "^7.14.5",
"@cucumber/cucumber": "^7.3.1",
"@cucumber/pretty-formatter": "^1.0.0-alpha.1",
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.0.1",
"@rollup/plugin-replace": "^2.3.0",
"archiver": "^5.3.0",
"axios": "^0.21.1",
"core-js": "3",
"cross-env": "^7.0.3",
"cucumber": "^6.0.5",
"cucumber-pretty": ">=6.0.0",
"debounce": "^1.2.1",
"easygettext": "^2.17.0",
"eslint": "7.24.0",
"eslint-config-standard": "^16.0.2",
@@ -51,13 +59,13 @@
"fs-extra": "^9.0.1",
"join-path": "^1.1.1",
"ldapjs": "^2.2.3",
"nightwatch": "^1.6.0",
"nightwatch-api": "^3.0.1",
"nightwatch": "1.7.11",
"nightwatch-api": "3.0.2",
"nightwatch-vrt": "^0.2.10",
"node-fetch": "^2.6.1",
"qs": "^6.10.1",
"rimraf": "^3.0.0",
"rollup": "^2.52.6",
"rollup": "^2.55.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-filesize": "^9.1.0",
@@ -68,17 +76,9 @@
"swagger-vue-generator": "^1.0.6",
"url-search-params-polyfill": "^8.1.0",
"vue-template-compiler": "^2.6.11",
"vuex": "^3.5.1",
"xml-js": "^1.6.11"
},
"browserslist": [
"> 1%",
"not dead"
],
"peerDependencies": {
"owncloud-design-system": "^7.4.2"
},
"dependencies": {
"validator": "^13.1.1"
"owncloud-design-system": "^11.0.0"
}
}
-66
View File
@@ -1,66 +0,0 @@
package assets
import (
"net/http"
"os"
"path"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log"
// Fake the import to make the dep tree happy.
_ "golang.org/x/net/context"
// Fake the import to make the dep tree happy.
_ "golang.org/x/net/webdav"
)
//go:generate make -C ../.. embed.yml
// assets gets initialized by New and provides the handler.
type assets struct {
logger log.Logger
config *config.Config
}
// Open just implements the HTTP filesystem interface.
func (a assets) Open(original string) (http.File, error) {
if a.config.Asset.Path != "" {
if stat, err := os.Stat(a.config.Asset.Path); err == nil && stat.IsDir() {
custom := path.Join(
a.config.Asset.Path,
original,
)
if _, err := os.Stat(custom); !os.IsNotExist(err) {
f, err := os.Open(custom)
if err != nil {
return nil, err
}
return f, nil
}
} else {
a.logger.Warn().
Str("path", a.config.Asset.Path).
Msg("Assets directory doesn't exist")
}
}
return FS.OpenFile(
CTX,
original,
os.O_RDONLY,
0644,
)
}
// New returns a new http filesystem to serve assets.
func New(opts ...Option) http.FileSystem {
options := newOptions(opts...)
return assets{
config: options.Config,
}
}
-173
View File
@@ -1,173 +0,0 @@
// Code generated by fileb0x at "2021-06-21 23:19:53.756843 +0200 CEST m=+0.026966814" from config file "embed.yml" DO NOT EDIT.
// modification hash(b80d52cc8a7a822a3b60b232225c03e4.8058aec596c5fb73022d09bb97af796e)
package assets
import (
"bytes"
"compress/gzip"
"context"
"io"
"net/http"
"os"
"path"
"golang.org/x/net/webdav"
)
var (
// CTX is a context for webdav vfs
CTX = context.Background()
// FS is a virtual memory file system
FS = webdav.NewMemFS()
// Handler is used to server files through a http handler
Handler *webdav.Handler
// HTTP is the http file system
HTTP http.FileSystem = new(HTTPFS)
)
// HTTPFS implements http.FileSystem
type HTTPFS struct {
// Prefix allows to limit the path of all requests. F.e. a prefix "css" would allow only calls to /css/*
Prefix string
}
// FileAccountsJs is "accounts.js"
var FileAccountsJs = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\xfd\xf9\x92\x1b\xb7\x92\x38\x0a\xff\xfd\xcd\x53\x90\x18\xa9\x0c\x98\xe8\x12\x29\x79\x2d\x0a\xe2\xc8\x52\xcb\x96\xad\xcd\x6a\xc9\xcb\x61\xf3\xf4\x41\x17\x41\x76\x49\x24\x40\xa3\xc0\x5e\x4c\xd6\xf7\x3e\xf7\x35\xee\x93\xdd\xc0\x56\x85\x5a\xd8\xd2\x99\x99\xdf\x8d\xb8\x11\x1d\xcd\x02\x90\x48\xec\x89\xcc\x44\x22\x31\x67\x8b\x8c\x33\x08\x17\x5b\x9e\xaa\x4c\x70\x88\x76\x60\x9b\xb3\x5e\xae\x64\x96\x2a\x30\xbe\xa4\xb2\xc7\x08\xd8\x72\x0b\x38\x07\x7d\xa2\x6e\x36\x4c\x2c\x7a\xcb\x95\x38\xa7\xab\x77\x17\x59\x3e\xa9\x3e\x93\x2e\xc8\xab\x8c\xcf\xc5\xd5\xc4\xfe\x74\x42\x58\x04\x0e\x4f\x27\x44\xce\x56\x8b\x89\xfe\x97\xec\x8a\xb1\xaf\x6c\x4f\x41\x86\x76\x92\xa9\xad\xe4\x3d\x16\x45\x2c\x3e\x3b\x63\xf9\x4b\x31\xdf\xae\x58\x14\xbd\x3e\xff\xc0\x52\x15\x6f\xa4\x50\x42\x63\x89\x2f\x68\xfe\xfa\x8a\xbf\x91\x62\xc3\xa4\xba\x89\x53\xba\x5a\x41\x86\xc1\x9c\x2d\xe8\x76\xa5\x00\x9a\xb0\xd8\x7d\x27\xac\x28\xcb\xe0\xba\x8c\x6c\x01\x43\xe4\xc8\x97\x69\xfa\x47\x11\x57\x94\xad\xb5\x2f\x00\xee\x0a\x0c\xaa\x3c\x00\xef\x2e\xe9\x6a\xcb\x92\xfe\xb0\x40\x63\x87\xc0\x65\xfc\xc8\x6e\x72\xc8\x50\xbc\x10\xf2\x98\xa6\x17\xc1\x70\x70\xb4\xd3\x45\x48\x5f\xc4\x92\xa9\xa0\x0d\x4f\x59\x9e\xca\x6c\xa3\x84\x84\x0c\x73\x34\xee\xae\x87\xc2\x1c\x4b\x9d\x73\x22\x93\x1d\xe3\xdb\x35\x93\xf4\x7c\xa5\x2b\x82\x97\x4c\x25\xc1\xd0\xfb\x66\x4d\xf9\xac\x28\x50\x81\x10\x56\x55\x47\x48\xdd\x11\xb6\xbd\x3b\x76\xbd\x11\x52\xe5\xc9\xae\x28\x7c\x53\x18\x54\x58\xc5\x2e\x01\x55\x9f\x85\x0c\x9a\x53\x62\x68\xc5\x60\x4e\x9a\x03\x86\x25\xe1\x8d\x41\xc3\x82\x00\x9f\x15\x10\x3f\x39\x4e\x6e\xd6\xe7\x62\x35\xb1\x3f\xc9\xae\xc0\x94\x88\x38\x53\x4c\x52\x25\xe4\x7e\x0f\xfe\xeb\xbf\x7c\x00\xe0\x8c\x88\x98\xe6\x37\x3c\x7d\x1e\xa6\xd7\x62\x00\x4e\x89\x88\x95\x38\x51\x32\xe3\xcb\x77\x74\x69\x40\x82\x30\xa8\x66\x60\x0e\x19\x56\x98\x97\x5d\xd7\x3d\x02\x1a\xc6\x8d\x3e\xc7\xf5\x11\x48\x05\x5f\x64\xcb\x6d\x19\xbe\x92\x99\x72\xdf\x05\xc2\x6c\xaa\x66\x85\x92\x37\xbb\xdc\xcc\x26\x80\x8a\x94\xaa\xf4\x42\xf7\x5a\x1e\xf4\x61\xad\x0a\x3a\x0f\xe1\x45\x35\x70\x5b\x0b\x80\xa5\xed\x6a\x41\x54\x14\x05\xdd\xdc\xcb\x78\xae\x28\x4f\x75\x4f\xde\x4c\x54\x72\x83\xa9\x1f\x8a\x54\x32\xaa\x18\x14\x15\x30\xc2\x19\xe1\xec\xaa\x77\x06\xe5\x7e\x3f\x9d\x95\x13\x99\xc6\x67\x19\xbf\x14\x1f\x59\xab\x56\x76\xfa\x2e\x3c\x60\x99\x2c\x30\x35\xeb\x4a\x12\x42\xe6\x48\x5d\x48\x71\xd5\xd3\x98\x8f\xa5\x14\x12\x82\x1f\x19\xb7\xa3\xd1\xcb\xf2\x1e\x5d\x49\x46\xe7\x37\x3d\xb9\xe5\x3c\xe3\x4b\x80\xc6\x2e\xe3\x85\x41\x01\x4c\x6e\x40\x08\x11\x0e\x11\xf5\xc5\x5d\x43\x54\x2c\x84\x84\x3c\x5e\x33\x75\x21\xe6\x44\x60\x1e\x53\xb9\x24\x74\x3c\xb6\x75\xcb\x08\x8f\xe7\x6c\xc5\x96\x54\x31\x8d\x36\xb3\xd1\x29\xf9\x08\x33\xbd\xa6\xb2\x05\x4c\x4d\x29\x29\x21\x64\x8d\x52\xc1\x55\xc6\xb7\xcc\x17\x90\x16\x85\xae\x01\x67\xd7\x4a\x57\xc0\x97\x83\x78\x9c\x33\xae\x08\x8f\xcf\xdc\x2f\x95\xcb\x31\x5b\xe5\xac\x57\xab\x70\x09\xef\xbb\x62\xe1\x5a\x20\xc9\x85\xad\xe9\x98\xc7\xf3\x2c\xdf\xe8\x61\x3f\xbe\x4e\xd9\xc6\x92\x05\x9d\x82\x0a\x8d\x0f\xd8\x8a\x84\xc8\xa2\x88\xc7\xf4\x5c\x6e\x37\x0a\xfa\x54\x8b\x0b\x8d\x25\x99\x1b\x9a\x95\x93\x95\x1b\xa0\xb1\xa9\xbe\x90\x6b\xba\xd2\x38\xf2\xd8\x0c\xb3\xad\x0e\x8f\xe7\x82\xb3\xc9\x45\xb2\xc1\xb9\xe9\xb5\x8e\x1e\x70\xf3\xda\xa4\x63\x0d\x9e\xd8\x5c\x45\x51\xb5\xd2\x22\x8d\x22\x68\x5b\xe5\x86\xc2\xa5\xbb\x01\xc9\x6d\x93\x8a\x42\x93\x32\x9c\x21\x4c\xab\x19\xec\xeb\xba\xd3\x4b\xc1\x15\xab\x31\x26\xbe\xe2\x98\xca\x65\xc2\x2c\x49\xd7\x80\x45\xb5\x4e\x6a\xe0\xae\x44\x03\x5d\x14\x05\x8b\xaf\x24\xdd\x90\xad\xe9\x92\x05\x01\xf9\x36\xdf\x30\x3e\x67\xf3\x13\x45\xa5\x02\x78\x13\x44\xfd\x99\xb1\xd5\x1c\xe0\x39\x01\xec\x9a\xa5\x5b\xa5\xe7\x21\xbe\x20\x20\x15\xeb\xcd\x8a\x29\x36\x07\x78\x4d\xc2\xcd\xe9\x06\xa2\x5d\xd5\x84\x65\x2d\x74\xa9\x43\xba\xd0\x73\x9d\xe5\x7c\x4a\x67\xa4\x4d\x86\xd5\x45\x96\x17\xa6\x6a\x57\x01\xf9\x7f\xe3\x97\xe2\xeb\x05\x7e\x4c\xae\xa2\xe8\x0a\x5e\xc1\x0f\x70\x3a\x43\x08\x8d\x1f\x47\xd1\xe3\x3e\x21\x3c\x8a\xa4\xed\x8c\xc7\x98\xa2\x28\x82\xe7\xe4\x31\x32\x98\x4e\xc8\x65\xb5\x98\xc9\x4d\xf0\x5d\x5f\xf2\xe7\xa8\x6a\xc8\xb1\xee\xc6\xa9\x9d\xe2\xd8\x77\xa1\x9f\x58\xb3\x8e\x4d\x4b\xa1\x9d\xa5\x8b\x35\xc2\x1f\xb4\xca\x13\x0b\xa8\x30\xd3\xdb\x8c\xfe\x2b\x8b\x7b\xad\xb3\xa2\x5d\xb0\x01\x0b\x4c\x71\x86\x53\xbb\x30\xcd\xcc\x9d\x8a\x19\x66\x98\xda\xc9\x6b\x6b\xd4\xaf\xe6\xae\x06\xdb\xda\x09\x85\x17\x64\x1b\x9b\x19\x5a\x12\xa0\x28\x02\xc2\xb4\xb5\xda\x40\x16\x65\x7f\x2d\xf4\x96\x4d\xaf\x68\xa6\xf9\x01\x15\x4b\x96\x8b\xd5\x25\x83\x8b\xd8\xc5\xa2\x58\x5d\x30\x5e\xdf\xd1\xb8\x5b\xfe\x98\x99\x5a\x16\x08\x37\x93\x5d\x9f\xf9\x74\x94\x04\x98\xbb\x30\xba\x2a\x13\x86\x33\xb8\x6d\x21\x74\x0d\xe9\xc0\x5b\xa4\xd0\x2d\x23\x43\xe8\xc7\x61\x5f\x87\x84\x59\x06\xdd\x4b\xab\x09\xa7\xc9\xaf\x0a\xc7\x11\x0b\x5d\x7d\x86\x25\xd6\x9f\xba\x00\x07\x29\x88\x98\x08\x5b\x71\x8a\x29\x4a\x28\x44\xc1\x86\xf3\xd1\x70\x23\x8e\xf2\xb3\x72\x27\x9e\xfa\x95\x3f\xf3\xe4\x5b\x19\x3a\x53\xd1\x5f\xc2\xb7\xab\x15\x3e\x40\x1d\x2b\x44\xb1\xad\x45\x14\x55\x64\xbd\x4e\xe7\x88\xc2\xb6\x0e\x5d\xb8\x3c\xf3\xb6\xLine truncated
func init() {
err := CTX.Err()
if err != nil {
panic(err)
}
var f webdav.File
var rb *bytes.Reader
var r *gzip.Reader
rb = bytes.NewReader(FileAccountsJs)
r, err = gzip.NewReader(rb)
if err != nil {
panic(err)
}
err = r.Close()
if err != nil {
panic(err)
}
f, err = FS.OpenFile(CTX, "accounts.js", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
if err != nil {
panic(err)
}
_, err = io.Copy(f, r)
if err != nil {
panic(err)
}
err = f.Close()
if err != nil {
panic(err)
}
Handler = &webdav.Handler{
FileSystem: FS,
LockSystem: webdav.NewMemLS(),
}
}
// Open a file
func (hfs *HTTPFS) Open(path string) (http.File, error) {
path = hfs.Prefix + path
f, err := FS.OpenFile(CTX, path, os.O_RDONLY, 0644)
if err != nil {
return nil, err
}
return f, nil
}
// ReadFile is adapTed from ioutil
func ReadFile(path string) ([]byte, error) {
f, err := FS.OpenFile(CTX, path, os.O_RDONLY, 0644)
if err != nil {
return nil, err
}
buf := bytes.NewBuffer(make([]byte, 0, bytes.MinRead))
// If the buffer overflows, we will get bytes.ErrTooLarge.
// Return that as an error. Any other panic remains.
defer func() {
e := recover()
if e == nil {
return
}
if panicErr, ok := e.(error); ok && panicErr == bytes.ErrTooLarge {
err = panicErr
} else {
panic(e)
}
}()
_, err = buf.ReadFrom(f)
return buf.Bytes(), err
}
// WriteFile is adapTed from ioutil
func WriteFile(filename string, data []byte, perm os.FileMode) error {
f, err := FS.OpenFile(CTX, filename, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
if err != nil {
return err
}
n, err := f.Write(data)
if err == nil && n < len(data) {
err = io.ErrShortWrite
}
if err1 := f.Close(); err == nil {
err = err1
}
return err
}
// WalkDirs looks for files in the given dir and returns a list of files in it
// usage for all files in the b0x: WalkDirs("", false)
func WalkDirs(name string, includeDirsInList bool, files ...string) ([]string, error) {
f, err := FS.OpenFile(CTX, name, os.O_RDONLY, 0)
if err != nil {
return nil, err
}
fileInfos, err := f.Readdir(0)
if err != nil {
return nil, err
}
err = f.Close()
if err != nil {
return nil, err
}
for _, info := range fileInfos {
filename := path.Join(name, info.Name())
if includeDirsInList || !info.IsDir() {
files = append(files, filename)
}
if info.IsDir() {
files, err = WalkDirs(filename, includeDirsInList, files...)
if err != nil {
return nil, err
}
}
}
return files, nil
}
-17
View File
@@ -1,17 +0,0 @@
---
pkg: "assets"
dest: "."
output: "embed.go"
fmt: true
noprefix: true
compression:
compress: true
custom:
- files:
- "../../assets/"
base: "../../assets/"
prefix: ""
...
+10
View File
@@ -1,10 +1,20 @@
package assets
import (
"net/http"
"github.com/owncloud/ocis/accounts"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/assetsfs"
"github.com/owncloud/ocis/ocis-pkg/log"
)
// New returns a new http filesystem to serve assets.
func New(opts ...Option) http.FileSystem {
options := newOptions(opts...)
return assetsfs.New(accounts.Assets, options.Config.Asset.Path, options.Logger)
}
// Option defines a single option function.
type Option func(o *Options)
+1 -1
View File
@@ -4,10 +4,10 @@ import (
"fmt"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
)
// AddAccount command creates a new account
+1 -1
View File
@@ -6,11 +6,11 @@ import (
"strconv"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
)
// InspectAccount command shows detailed information about a specific account.
+1 -1
View File
@@ -6,11 +6,11 @@ import (
"strconv"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
)
// ListAccounts command lists all accounts
+2 -2
View File
@@ -5,10 +5,10 @@ import (
"fmt"
"github.com/asim/go-micro/plugins/client/grpc/v3"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
index "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
merrors "go-micro.dev/v4/errors"
)
// RebuildIndex rebuilds the entire configured index.
+1 -1
View File
@@ -5,10 +5,10 @@ import (
"os"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
)
// RemoveAccount command deletes an existing account.
+2 -2
View File
@@ -5,15 +5,15 @@ import (
"os"
"strings"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/owncloud/ocis/accounts/pkg/version"
ociscfg "github.com/owncloud/ocis/ocis-pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/owncloud/ocis/ocis-pkg/version"
"github.com/spf13/viper"
"github.com/thejerf/suture/v4"
"github.com/urfave/cli/v2"
)
var (
+13 -2
View File
@@ -6,7 +6,6 @@ import (
"github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/micro/cli/v2"
"github.com/oklog/run"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
@@ -15,6 +14,7 @@ import (
"github.com/owncloud/ocis/accounts/pkg/server/http"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"github.com/owncloud/ocis/accounts/pkg/tracing"
"github.com/urfave/cli/v2"
)
// Server is the entry point for the server command.
@@ -30,17 +30,28 @@ func Server(cfg *config.Config) *cli.Command {
cfg.HTTP.Root = strings.TrimSuffix(cfg.HTTP.Root, "/")
}
cfg.Repo.Backend = strings.ToLower(cfg.Repo.Backend)
// When running on single binary mode the before hook from the root command won't get called. We manually
// call this before hook from ocis command, so the configuration can be loaded.
if !cfg.Supervised {
return ParseConfig(ctx, cfg)
}
if origins := ctx.StringSlice("cors-allowed-origins"); len(origins) != 0 {
cfg.HTTP.CORS.AllowedOrigins = origins
}
if methods := ctx.StringSlice("cors-allowed-methods"); len(methods) != 0 {
cfg.HTTP.CORS.AllowedMethods = methods
}
if headers := ctx.StringSlice("cors-allowed-headers"); len(headers) != 0 {
cfg.HTTP.CORS.AllowedOrigins = headers
}
logger.Debug().Str("service", "accounts").Msg("ignoring config file parsing when running supervised")
return nil
},
Action: func(c *cli.Context) error {
logger := NewLogger(cfg)
err := tracing.Configure(cfg, logger)
err := tracing.Configure(cfg)
if err != nil {
return err
}
+1 -1
View File
@@ -5,10 +5,10 @@ import (
"fmt"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/urfave/cli/v2"
"google.golang.org/genproto/protobuf/field_mask"
)
+1 -1
View File
@@ -6,10 +6,10 @@ import (
"github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/micro/cli/v2"
tw "github.com/olekukonko/tablewriter"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/urfave/cli/v2"
)
// PrintVersion prints the service versions of all running instances.
+16 -5
View File
@@ -26,12 +26,21 @@ type LDAPSchema struct {
Groups string
}
// CORS defines the available cors configuration.
type CORS struct {
AllowedOrigins []string
AllowedMethods []string
AllowedHeaders []string
AllowCredentials bool
}
// HTTP defines the available http configuration.
type HTTP struct {
Addr string
Namespace string
Root string
CacheTTL int
CORS CORS
}
// GRPC defines the available grpc configuration.
@@ -42,9 +51,10 @@ type GRPC struct {
// Server configures a server.
type Server struct {
Version string
Name string
HashDifficulty int
Version string
Name string
HashDifficulty int
DemoUsersAndGroups bool
}
// Asset defines the available asset configuration.
@@ -67,8 +77,9 @@ type Log struct {
// Repo defines which storage implementation is to be used.
type Repo struct {
Disk Disk
CS3 CS3
Backend string
Disk Disk
CS3 CS3
}
// Disk is the local disk implementation of the storage.
+50 -9
View File
@@ -1,10 +1,13 @@
package flagset
import (
"github.com/micro/cli/v2"
"path"
"github.com/owncloud/ocis/accounts/pkg/config"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/ocis-pkg/config/defaults"
"github.com/owncloud/ocis/ocis-pkg/flags"
"github.com/urfave/cli/v2"
)
// RootWithConfig applies cfg to the root flagset
@@ -47,28 +50,28 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
&cli.BoolFlag{
Name: "tracing-enabled",
Usage: "Enable sending traces",
EnvVars: []string{"ACCOUNTS_TRACING_ENABLED"},
EnvVars: []string{"ACCOUNTS_TRACING_ENABLED", "OCIS_TRACING_ENABLED"},
Destination: &cfg.Tracing.Enabled,
},
&cli.StringFlag{
Name: "tracing-type",
Value: flags.OverrideDefaultString(cfg.Tracing.Type, "jaeger"),
Usage: "Tracing backend type",
EnvVars: []string{"ACCOUNTS_TRACING_TYPE"},
EnvVars: []string{"ACCOUNTS_TRACING_TYPE", "OCIS_TRACING_TYPE"},
Destination: &cfg.Tracing.Type,
},
&cli.StringFlag{
Name: "tracing-endpoint",
Value: flags.OverrideDefaultString(cfg.Tracing.Endpoint, ""),
Usage: "Endpoint for the agent",
EnvVars: []string{"ACCOUNTS_TRACING_ENDPOINT"},
EnvVars: []string{"ACCOUNTS_TRACING_ENDPOINT", "OCIS_TRACING_ENDPOINT"},
Destination: &cfg.Tracing.Endpoint,
},
&cli.StringFlag{
Name: "tracing-collector",
Value: flags.OverrideDefaultString(cfg.Tracing.Collector, ""),
Usage: "Endpoint for the collector",
EnvVars: []string{"ACCOUNTS_TRACING_COLLECTOR"},
EnvVars: []string{"ACCOUNTS_TRACING_COLLECTOR", "OCIS_TRACING_COLLECTOR"},
Destination: &cfg.Tracing.Collector,
},
&cli.StringFlag{
@@ -87,7 +90,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.StringFlag{
Name: "http-addr",
Value: flags.OverrideDefaultString(cfg.HTTP.Addr, "0.0.0.0:9181"),
Value: flags.OverrideDefaultString(cfg.HTTP.Addr, "127.0.0.1:9181"),
Usage: "Address to bind http server",
EnvVars: []string{"ACCOUNTS_HTTP_ADDR"},
Destination: &cfg.HTTP.Addr,
@@ -106,6 +109,30 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"ACCOUNTS_CACHE_TTL"},
Destination: &cfg.HTTP.CacheTTL,
},
&cli.StringSliceFlag{
Name: "cors-allowed-origins",
Value: cli.NewStringSlice("*"),
Usage: "Set the allowed CORS origins",
EnvVars: []string{"ACCOUNTS_CORS_ALLOW_ORIGINS", "OCIS_CORS_ALLOW_ORIGINS"},
},
&cli.StringSliceFlag{
Name: "cors-allowed-methods",
Value: cli.NewStringSlice("GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"),
Usage: "Set the allowed CORS origins",
EnvVars: []string{"ACCOUNTS_CORS_ALLOW_METHODS", "OCIS_CORS_ALLOW_METHODS"},
},
&cli.StringSliceFlag{
Name: "cors-allowed-headers",
Value: cli.NewStringSlice("Authorization", "Origin", "Content-Type", "Accept", "X-Requested-With"),
Usage: "Set the allowed CORS origins",
EnvVars: []string{"ACCOUNTS_CORS_ALLOW_HEADERS", "OCIS_CORS_ALLOW_HEADERS"},
},
&cli.BoolFlag{
Name: "cors-allow-credentials",
Value: flags.OverrideDefaultBool(cfg.HTTP.CORS.AllowCredentials, true),
Usage: "Allow credentials for CORS",
EnvVars: []string{"ACCOUNTS_CORS_ALLOW_CREDENTIALS", "OCIS_CORS_ALLOW_CREDENTIALS"},
},
&cli.StringFlag{
Name: "grpc-namespace",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
@@ -115,7 +142,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.StringFlag{
Name: "grpc-addr",
Value: flags.OverrideDefaultString(cfg.GRPC.Addr, "0.0.0.0:9180"),
Value: flags.OverrideDefaultString(cfg.GRPC.Addr, "127.0.0.1:9180"),
Usage: "Address to bind grpc server",
EnvVars: []string{"ACCOUNTS_GRPC_ADDR"},
Destination: &cfg.GRPC.Addr,
@@ -134,6 +161,13 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"ACCOUNTS_HASH_DIFFICULTY"},
Destination: &cfg.Server.HashDifficulty,
},
&cli.BoolFlag{
Name: "demo-users-and-groups",
Value: flags.OverrideDefaultBool(cfg.Server.DemoUsersAndGroups, true),
Usage: "Enable demo users and groups",
EnvVars: []string{"ACCOUNTS_DEMO_USERS_AND_GROUPS"},
Destination: &cfg.Server.DemoUsersAndGroups,
},
&cli.StringFlag{
Name: "asset-path",
Value: flags.OverrideDefaultString(cfg.Asset.Path, ""),
@@ -148,10 +182,17 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"ACCOUNTS_JWT_SECRET", "OCIS_JWT_SECRET"},
Destination: &cfg.TokenManager.JWTSecret,
},
&cli.StringFlag{
Name: "storage-backend",
Value: flags.OverrideDefaultString(cfg.Repo.Backend, "CS3"),
Usage: "Which backend to use to store accounts data (CS3 or disk)",
EnvVars: []string{"ACCOUNTS_STORAGE_BACKEND"},
Destination: &cfg.Repo.Backend,
},
&cli.StringFlag{
Name: "storage-disk-path",
Value: flags.OverrideDefaultString(cfg.Repo.Disk.Path, ""),
Usage: "Path on the local disk, e.g. /var/tmp/ocis/accounts",
Value: flags.OverrideDefaultString(cfg.Repo.Disk.Path, path.Join(defaults.BaseDataPath(), "accounts")),
Usage: "Path on the local disk to store accounts data when backend is set to disk",
EnvVars: []string{"ACCOUNTS_STORAGE_DISK_PATH"},
Destination: &cfg.Repo.Disk.Path,
},
+3 -3
View File
@@ -3,13 +3,13 @@ package proto
import (
context "context"
client "github.com/asim/go-micro/v3/client"
empty "github.com/golang/protobuf/ptypes/empty"
client "go-micro.dev/v4/client"
empty "google.golang.org/protobuf/types/known/emptypb"
)
// MockAccountsService can be used to write tests
/*
To creata a mock overwrite the functions of an instance like this:
To create a mock overwrite the functions of an instance like this:
```go
func mockAccSvc(retErr bool) proto.AccountsService {
File diff suppressed because it is too large. Load diff
+34 -40
View File
@@ -1,24 +1,24 @@
// Code generated by protoc-gen-micro. DO NOT EDIT.
// source: accounts.proto
// source: proto/v0/accounts.proto
package proto
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
_ "github.com/golang/protobuf/ptypes/timestamp"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
_ "google.golang.org/genproto/googleapis/api/annotations"
_ "google.golang.org/genproto/protobuf/field_mask"
proto "google.golang.org/protobuf/proto"
emptypb "google.golang.org/protobuf/types/known/emptypb"
_ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "google.golang.org/protobuf/types/known/timestamppb"
math "math"
)
import (
context "context"
api "github.com/asim/go-micro/v3/api"
client "github.com/asim/go-micro/v3/client"
server "github.com/asim/go-micro/v3/server"
api "go-micro.dev/v4/api"
client "go-micro.dev/v4/client"
server "go-micro.dev/v4/server"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -26,12 +26,6 @@ var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Reference imports to suppress errors if they are not otherwise used.
var _ api.Endpoint
var _ context.Context
@@ -42,35 +36,35 @@ var _ server.Option
func NewAccountsServiceEndpoints() []*api.Endpoint {
return []*api.Endpoint{
&api.Endpoint{
{
Name: "AccountsService.ListAccounts",
Path: []string{"/api/v0/accounts/accounts-list"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "AccountsService.GetAccount",
Path: []string{"/api/v0/accounts/accounts-get"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "AccountsService.CreateAccount",
Path: []string{"/api/v0/accounts/accounts-create"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "AccountsService.UpdateAccount",
Path: []string{"/api/v0/accounts/accounts-update"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "AccountsService.DeleteAccount",
Path: []string{"/api/v0/accounts/accounts-delete"},
Method: []string{"POST"},
@@ -92,7 +86,7 @@ type AccountsService interface {
// Updates an account
UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...client.CallOption) (*Account, error)
// Deletes an account
DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*empty.Empty, error)
DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*emptypb.Empty, error)
}
type accountsService struct {
@@ -147,9 +141,9 @@ func (c *accountsService) UpdateAccount(ctx context.Context, in *UpdateAccountRe
return out, nil
}
func (c *accountsService) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*empty.Empty, error) {
func (c *accountsService) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...client.CallOption) (*emptypb.Empty, error) {
req := c.c.NewRequest(c.name, "AccountsService.DeleteAccount", in)
out := new(empty.Empty)
out := new(emptypb.Empty)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
@@ -169,7 +163,7 @@ type AccountsServiceHandler interface {
// Updates an account
UpdateAccount(context.Context, *UpdateAccountRequest, *Account) error
// Deletes an account
DeleteAccount(context.Context, *DeleteAccountRequest, *empty.Empty) error
DeleteAccount(context.Context, *DeleteAccountRequest, *emptypb.Empty) error
}
func RegisterAccountsServiceHandler(s server.Server, hdlr AccountsServiceHandler, opts ...server.HandlerOption) error {
@@ -178,7 +172,7 @@ func RegisterAccountsServiceHandler(s server.Server, hdlr AccountsServiceHandler
GetAccount(ctx context.Context, in *GetAccountRequest, out *Account) error
CreateAccount(ctx context.Context, in *CreateAccountRequest, out *Account) error
UpdateAccount(ctx context.Context, in *UpdateAccountRequest, out *Account) error
DeleteAccount(ctx context.Context, in *DeleteAccountRequest, out *empty.Empty) error
DeleteAccount(ctx context.Context, in *DeleteAccountRequest, out *emptypb.Empty) error
}
type AccountsService struct {
accountsService
@@ -242,7 +236,7 @@ func (h *accountsServiceHandler) UpdateAccount(ctx context.Context, in *UpdateAc
return h.AccountsServiceHandler.UpdateAccount(ctx, in, out)
}
func (h *accountsServiceHandler) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, out *empty.Empty) error {
func (h *accountsServiceHandler) DeleteAccount(ctx context.Context, in *DeleteAccountRequest, out *emptypb.Empty) error {
return h.AccountsServiceHandler.DeleteAccount(ctx, in, out)
}
@@ -250,56 +244,56 @@ func (h *accountsServiceHandler) DeleteAccount(ctx context.Context, in *DeleteAc
func NewGroupsServiceEndpoints() []*api.Endpoint {
return []*api.Endpoint{
&api.Endpoint{
{
Name: "GroupsService.ListGroups",
Path: []string{"/api/v0/accounts/groups-list"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "GroupsService.GetGroup",
Path: []string{"/api/v0/accounts/groups-get"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "GroupsService.CreateGroup",
Path: []string{"/api/v0/accounts/groups-create"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "GroupsService.UpdateGroup",
Path: []string{"/api/v0/accounts/groups-update"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "GroupsService.DeleteGroup",
Path: []string{"/api/v0/accounts/groups-delete"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "GroupsService.AddMember",
Path: []string{"/api/v0/groups/{group_id=*}/members/$ref"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "GroupsService.RemoveMember",
Path: []string{"/api/v0/groups/{group_id=*}/members/{account_id}/$ref"},
Method: []string{"POST"},
Body: "*",
Handler: "rpc",
},
&api.Endpoint{
{
Name: "GroupsService.ListMembers",
Path: []string{"/api/v0/groups/{id=*}/members/$ref"},
Method: []string{"POST"},
@@ -321,7 +315,7 @@ type GroupsService interface {
// Updates a group
UpdateGroup(ctx context.Context, in *UpdateGroupRequest, opts ...client.CallOption) (*Group, error)
// Deletes a group
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...client.CallOption) (*empty.Empty, error)
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...client.CallOption) (*emptypb.Empty, error)
// group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http
AddMember(ctx context.Context, in *AddMemberRequest, opts ...client.CallOption) (*Group, error)
// group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0
@@ -382,9 +376,9 @@ func (c *groupsService) UpdateGroup(ctx context.Context, in *UpdateGroupRequest,
return out, nil
}
func (c *groupsService) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...client.CallOption) (*empty.Empty, error) {
func (c *groupsService) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, opts ...client.CallOption) (*emptypb.Empty, error) {
req := c.c.NewRequest(c.name, "GroupsService.DeleteGroup", in)
out := new(empty.Empty)
out := new(emptypb.Empty)
err := c.c.Call(ctx, req, out, opts...)
if err != nil {
return nil, err
@@ -434,7 +428,7 @@ type GroupsServiceHandler interface {
// Updates a group
UpdateGroup(context.Context, *UpdateGroupRequest, *Group) error
// Deletes a group
DeleteGroup(context.Context, *DeleteGroupRequest, *empty.Empty) error
DeleteGroup(context.Context, *DeleteGroupRequest, *emptypb.Empty) error
// group:addmember https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http
AddMember(context.Context, *AddMemberRequest, *Group) error
// group:removemember https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0
@@ -449,7 +443,7 @@ func RegisterGroupsServiceHandler(s server.Server, hdlr GroupsServiceHandler, op
GetGroup(ctx context.Context, in *GetGroupRequest, out *Group) error
CreateGroup(ctx context.Context, in *CreateGroupRequest, out *Group) error
UpdateGroup(ctx context.Context, in *UpdateGroupRequest, out *Group) error
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, out *empty.Empty) error
DeleteGroup(ctx context.Context, in *DeleteGroupRequest, out *emptypb.Empty) error
AddMember(ctx context.Context, in *AddMemberRequest, out *Group) error
RemoveMember(ctx context.Context, in *RemoveMemberRequest, out *Group) error
ListMembers(ctx context.Context, in *ListMembersRequest, out *ListMembersResponse) error
@@ -537,7 +531,7 @@ func (h *groupsServiceHandler) UpdateGroup(ctx context.Context, in *UpdateGroupR
return h.GroupsServiceHandler.UpdateGroup(ctx, in, out)
}
func (h *groupsServiceHandler) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, out *empty.Empty) error {
func (h *groupsServiceHandler) DeleteGroup(ctx context.Context, in *DeleteGroupRequest, out *emptypb.Empty) error {
return h.GroupsServiceHandler.DeleteGroup(ctx, in, out)
}
@@ -557,7 +551,7 @@ func (h *groupsServiceHandler) ListMembers(ctx context.Context, in *ListMembersR
func NewIndexServiceEndpoints() []*api.Endpoint {
return []*api.Endpoint{
&api.Endpoint{
{
Name: "IndexService.RebuildIndex",
Path: []string{"/api/v0/index/rebuild"},
Method: []string{"POST"},
@@ -11,10 +11,8 @@ import (
"testing"
mgrpcc "github.com/asim/go-micro/plugins/client/grpc/v3"
empty "github.com/golang/protobuf/ptypes/empty"
"github.com/asim/go-micro/v3/client"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/golang/protobuf/ptypes/empty"
"github.com/owncloud/ocis/accounts/pkg/command"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
@@ -22,6 +20,8 @@ import (
"github.com/owncloud/ocis/ocis-pkg/service/grpc"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
"github.com/stretchr/testify/assert"
"go-micro.dev/v4/client"
merrors "go-micro.dev/v4/errors"
"google.golang.org/genproto/protobuf/field_mask"
"google.golang.org/protobuf/types/known/timestamppb"
)
@@ -80,7 +80,9 @@ func init() {
)
cfg := config.New()
cfg.Repo.Backend = "disk"
cfg.Repo.Disk.Path = dataPath
cfg.Server.DemoUsersAndGroups = true
var hdlr *svc.Service
var err error
@@ -391,7 +393,7 @@ func deleteGroup(t *testing.T, id string) (*empty.Empty, error) {
// createTmpDir creates a temporary dir for tests data.
func createTmpDir() string {
name, err := ioutil.TempDir("/var/tmp", "ocis-accounts-store-")
name, err := ioutil.TempDir("/tmp", "ocis-accounts-store-")
if err != nil {
panic(err)
}
@@ -543,7 +545,7 @@ func TestUpdateAccount(t *testing.T) {
resp, err := updateAccount(t, tt.userAccount, updateMask)
if tt.expectedErrOnUpdate != nil {
assert.Error(t, err)
assert.Equal(t, tt.expectedErrOnUpdate, err)
assert.Equal(t, tt.expectedErrOnUpdate.Error(), err.Error())
} else {
assert.NoError(t, err)
assert.IsType(t, &proto.Account{}, resp)
@@ -616,7 +618,7 @@ func TestUpdateNonUpdatableFieldsInAccount(t *testing.T) {
errMsg := fmt.Sprintf("can not update field %s, either unknown or readonly", tt.updateMask[0])
assert.Equal(t, errMsg, e.Detail)
} else {
t.Fatal("Expected merror errors but found something else.")
t.Fatal("Expected merrors errors but found something else.")
}
})
}
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"encoding/json"
"net/http"
"github.com/go-chi/chi"
"github.com/go-chi/chi/v5"
"github.com/go-chi/render"
"github.com/golang/protobuf/jsonpb"
+32 -62
View File
@@ -396,7 +396,13 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v0AddMemberRequest"
"type": "object",
"properties": {
"accountId": {
"type": "string",
"title": "The account id to add"
}
}
}
}
],
@@ -443,7 +449,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v0RemoveMemberRequest"
"type": "object"
}
}
],
@@ -483,7 +489,26 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v0ListMembersRequest"
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"format": "int32"
},
"pageToken": {
"type": "string",
"title": "Optional. A pagination token returned from a previous call to `Get`\nthat indicates from where search should continue"
},
"fieldMask": {
"type": "string",
"description": "Optional. Used to specify a subset of fields that should be\nreturned by a get operation or modified by an update operation."
},
"query": {
"type": "string",
"description": "TODO update query language\nQuery expressions can be used to restrict results based upon\nthe account properties where the operators `=`, `NOT`, `AND` and `OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nThe string properties in a query expression should use escaped quotes\nfor values that include whitespace to prevent unexpected behavior.\n\nSome example queries are:\n\n* Query `display_name=Th*` returns accounts whose display_name\nstarts with \"Th\"\n* Query `display_name=\\\\\"Test String\\\\\"` returns groups with\ndisplay names that include both \"Test\" and \"String\"",
"title": "Optional. Search criteria used to select the groups to return.\nIf no search criteria is specified then all groups will be\nreturned"
}
}
}
}
],
@@ -529,14 +554,11 @@
"protobufAny": {
"type": "object",
"properties": {
"typeUrl": {
"@type": {
"type": "string"
},
"value": {
"type": "string",
"format": "byte"
}
}
},
"additionalProperties": {}
},
"rpcStatus": {
"type": "object",
@@ -689,20 +711,7 @@
"description": "Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get\nan error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph).\nIf this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint.\nRead-only. Use revokeSignInSessions to reset."
}
},
"title": "Account follows the properties of the ms graph api user resuorce.\nSee https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties"
},
"v0AddMemberRequest": {
"type": "object",
"properties": {
"groupId": {
"type": "string",
"title": "The id of the group to add a member to"
},
"accountId": {
"type": "string",
"title": "The account id to add"
}
}
"title": "Account follows the properties of the ms graph api user resource.\nSee https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties"
},
"v0CreateAccountRequest": {
"type": "object",
@@ -948,32 +957,6 @@
}
}
},
"v0ListMembersRequest": {
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"format": "int32"
},
"pageToken": {
"type": "string",
"title": "Optional. A pagination token returned from a previous call to `Get`\nthat indicates from where search should continue"
},
"fieldMask": {
"type": "string",
"description": "Optional. Used to specify a subset of fields that should be\nreturned by a get operation or modified by an update operation."
},
"query": {
"type": "string",
"description": "TODO update query language\nQuery expressions can be used to restrict results based upon\nthe account properties where the operators `=`, `NOT`, `AND` and `OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nThe string properties in a query expression should use escaped quotes\nfor values that include whitespace to prevent unexpected behavior.\n\nSome example queries are:\n\n* Query `display_name=Th*` returns accounts whose display_name\nstarts with \"Th\"\n* Query `display_name=\\\\\"Test String\\\\\"` returns groups with\ndisplay names that include both \"Test\" and \"String\"",
"title": "Optional. Search criteria used to select the groups to return.\nIf no search criteria is specified then all groups will be\nreturned"
},
"id": {
"type": "string",
"title": "The id of the group to list members from"
}
}
},
"v0ListMembersResponse": {
"type": "object",
"properties": {
@@ -1047,19 +1030,6 @@
"v0RebuildIndexResponse": {
"type": "object"
},
"v0RemoveMemberRequest": {
"type": "object",
"properties": {
"groupId": {
"type": "string",
"title": "The id of the group to remove a member from"
},
"accountId": {
"type": "string",
"title": "The account id to remove"
}
}
},
"v0UpdateAccountRequest": {
"type": "object",
"properties": {
-1
View File
@@ -1 +0,0 @@
checks = ["all", "-ST1003", "-ST1000", "-SA1019"]
+1 -1
View File
@@ -3,11 +3,11 @@ package grpc
import (
"context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/metrics"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
)
// Option defines a single option function.
+1 -1
View File
@@ -3,11 +3,11 @@ package http
import (
"context"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/metrics"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/urfave/cli/v2"
)
// Option defines a single option function.
+15 -6
View File
@@ -1,14 +1,16 @@
package http
import (
"github.com/asim/go-micro/v3"
"github.com/go-chi/chi"
"github.com/go-chi/chi/v5"
chimiddleware "github.com/go-chi/chi/v5/middleware"
"github.com/owncloud/ocis/accounts/pkg/assets"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/accounts/pkg/version"
"github.com/owncloud/ocis/ocis-pkg/account"
"github.com/owncloud/ocis/ocis-pkg/cors"
"github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/service/http"
"github.com/owncloud/ocis/ocis-pkg/version"
"go-micro.dev/v4"
)
// Server initializes the http service and server.
@@ -28,10 +30,17 @@ func Server(opts ...Option) http.Service {
mux := chi.NewMux()
mux.Use(middleware.RealIP)
mux.Use(middleware.RequestID)
mux.Use(chimiddleware.RealIP)
mux.Use(chimiddleware.RequestID)
mux.Use(middleware.TraceContext)
mux.Use(middleware.NoCache)
mux.Use(middleware.Cors)
mux.Use(middleware.Cors(
cors.Logger(options.Logger),
cors.AllowedOrigins(options.Config.HTTP.CORS.AllowedOrigins),
cors.AllowedMethods(options.Config.HTTP.CORS.AllowedMethods),
cors.AllowedHeaders(options.Config.HTTP.CORS.AllowedHeaders),
cors.AllowCredentials(options.Config.HTTP.CORS.AllowCredentials),
))
mux.Use(middleware.Secure)
mux.Use(middleware.ExtractAccountUUID(
account.Logger(options.Logger),
+51 -7
View File
@@ -12,23 +12,26 @@ import (
"strconv"
"time"
"github.com/owncloud/ocis/ocis-pkg/sync"
"golang.org/x/crypto/bcrypt"
"go.opentelemetry.io/otel/trace"
"github.com/owncloud/ocis/ocis-pkg/log"
"go.opentelemetry.io/otel/attribute"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/asim/go-micro/v3/metadata"
"github.com/gofrs/uuid"
"github.com/golang/protobuf/ptypes/empty"
fieldmask_utils "github.com/mennanov/fieldmask-utils"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/accounts/pkg/storage"
accTracing "github.com/owncloud/ocis/accounts/pkg/tracing"
"github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/middleware"
"github.com/owncloud/ocis/ocis-pkg/roles"
"github.com/owncloud/ocis/ocis-pkg/sync"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
settings_svc "github.com/owncloud/ocis/settings/pkg/service/v0"
"github.com/rs/zerolog"
merrors "go-micro.dev/v4/errors"
"go-micro.dev/v4/metadata"
"golang.org/x/crypto/bcrypt"
"google.golang.org/genproto/protobuf/field_mask"
p "google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/timestamppb"
@@ -124,6 +127,15 @@ func (s Service) getInMemoryServiceUser() proto.Account {
// ListAccounts implements the AccountsServiceHandler interface
// the query contains account properties
func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest, out *proto.ListAccountsResponse) (err error) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.ListAccounts")
defer span.End()
span.SetAttributes(
attribute.KeyValue{Key: "page_size", Value: attribute.Int64Value(int64(in.PageSize))},
attribute.KeyValue{Key: "page_token", Value: attribute.StringValue(in.PageToken)},
)
hasSelf := s.hasSelfManagementPermissions(ctx)
hasManagement := s.hasAccountManagementPermissions(ctx)
if !hasSelf && !hasManagement {
@@ -269,6 +281,15 @@ func (s Service) findAccountsByQuery(ctx context.Context, query string) ([]strin
// GetAccount implements the AccountsServiceHandler interface
func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, out *proto.Account) (err error) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.GetAccount")
defer span.End()
span.SetAttributes(
attribute.KeyValue{Key: "account_id", Value: attribute.StringValue(in.Id)},
)
hasSelf := s.hasSelfManagementPermissions(ctx)
hasManagement := s.hasAccountManagementPermissions(ctx)
if !hasSelf && !hasManagement {
@@ -317,6 +338,15 @@ func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, ou
// CreateAccount implements the AccountsServiceHandler interface
func (s Service) CreateAccount(ctx context.Context, in *proto.CreateAccountRequest, out *proto.Account) (err error) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.CreateAccount")
defer span.End()
span.SetAttributes(
attribute.KeyValue{Key: "account", Value: attribute.StringValue(in.Account.String())},
)
if !s.hasAccountManagementPermissions(ctx) {
return merrors.Forbidden(s.id, "no permission for CreateAccount")
}
@@ -449,6 +479,15 @@ func (s Service) rollbackCreateAccount(ctx context.Context, acc *proto.Account)
// read only fields are ignored
// TODO how can we unset specific values? using the update mask
func (s Service) UpdateAccount(ctx context.Context, in *proto.UpdateAccountRequest, out *proto.Account) (err error) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.UpdateAccount")
defer span.End()
span.SetAttributes(
attribute.KeyValue{Key: "account", Value: attribute.StringValue(in.Account.String())},
)
hasSelf := s.hasSelfManagementPermissions(ctx)
hasManagement := s.hasAccountManagementPermissions(ctx)
if !hasSelf && !hasManagement {
@@ -586,7 +625,7 @@ func (s Service) UpdateAccount(ctx context.Context, in *proto.UpdateAccountReque
return
}
// whitelist of all paths/fields which can be updated by users themself
// whitelist of all paths/fields which can be updated by users themselves
var selfUpdatableAccountPaths = map[string]struct{}{
"DisplayName": {},
"Description": {},
@@ -615,6 +654,11 @@ var updatableAccountPaths = map[string]struct{}{
// DeleteAccount implements the AccountsServiceHandler interface
func (s Service) DeleteAccount(ctx context.Context, in *proto.DeleteAccountRequest, out *empty.Empty) (err error) {
var span trace.Span
ctx, span = accTracing.TraceProvider.Tracer("accounts").Start(ctx, "Accounts.DeleteAccount")
defer span.End()
if !s.hasAccountManagementPermissions(ctx) {
return merrors.Forbidden(s.id, "no permission for DeleteAccount")
}
@@ -697,7 +741,7 @@ func validateAccountEmail(serviceID string, a *proto.Account) error {
return nil
}
// We want to allow email addresses as usernames so they show up when using them in ACLs on storages that allow intergration with our glauth LDAP service
// We want to allow email addresses as usernames so they show up when using them in ACLs on storages that allow integration with our glauth LDAP service
// so we are adding a few restrictions from https://stackoverflow.com/questions/6949667/what-are-the-real-rules-for-linux-usernames-on-centos-6-and-rhel-6
// names should not start with numbers
var usernameRegex = regexp.MustCompile("^[a-zA-Z_][a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]*(@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)*$")
@@ -9,9 +9,6 @@ import (
"testing"
"time"
"github.com/asim/go-micro/v3/client"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/asim/go-micro/v3/metadata"
"github.com/golang/protobuf/ptypes/empty"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
@@ -21,9 +18,12 @@ import (
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
ssvc "github.com/owncloud/ocis/settings/pkg/service/v0"
"github.com/stretchr/testify/assert"
"go-micro.dev/v4/client"
merrors "go-micro.dev/v4/errors"
"go-micro.dev/v4/metadata"
)
const dataPath = "/var/tmp/ocis-accounts-tests"
const dataPath = "/tmp/ocis-accounts-tests"
var (
roleServiceMock settings.RoleService
@@ -33,6 +33,7 @@ var (
func init() {
cfg := config.New()
cfg.Server.Name = "accounts"
cfg.Repo.Backend = "disk"
cfg.Repo.Disk.Path = dataPath
logger := olog.NewLogger(olog.Color(true), olog.Pretty(true))
roleServiceMock = buildRoleServiceMock()
+2 -2
View File
@@ -5,11 +5,11 @@ import (
"path"
"strconv"
merrors "github.com/asim/go-micro/v3/errors"
"github.com/gofrs/uuid"
"github.com/golang/protobuf/ptypes/empty"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/accounts/pkg/storage"
merrors "go-micro.dev/v4/errors"
p "google.golang.org/protobuf/proto"
)
@@ -270,7 +270,7 @@ func (s Service) AddMember(c context.Context, in *proto.AddMemberRequest, out *p
break
}
}
// only store the reference to prevent recurision when marshaling json
// only store the reference to prevent recursion when marshaling json
gref := &proto.Group{
Id: g.Id,
}
+77 -47
View File
@@ -2,13 +2,14 @@ package service
import (
"context"
"errors"
"path"
"path/filepath"
"strconv"
"strings"
"time"
"github.com/pkg/errors"
"github.com/owncloud/ocis/ocis-pkg/service/grpc"
"github.com/owncloud/ocis/accounts/pkg/storage"
@@ -48,17 +49,22 @@ func New(opts ...Option) (s *Service, err error) {
roleManager = &m
}
storage, err := createMetadataStorage(cfg, logger)
if err != nil {
return nil, errors.Wrap(err, "could not create metadata storage")
}
s = &Service{
id: cfg.GRPC.Namespace + "." + cfg.Server.Name,
log: logger,
Config: cfg,
RoleService: roleService,
RoleManager: roleManager,
repo: createMetadataStorage(cfg, logger),
repo: storage,
}
r := oreg.GetRegistry()
if cfg.Repo.Disk.Path == "" {
if cfg.Repo.Backend == "cs3" {
if _, err := r.GetService("com.owncloud.storage.metadata"); err != nil {
logger.Error().Err(err).Msg("index: storage-metadata service not present")
return nil, err
@@ -73,11 +79,11 @@ func New(opts ...Option) (s *Service, err error) {
return nil, err
}
if err = s.createDefaultAccounts(); err != nil {
if err = s.createDefaultAccounts(cfg.Server.DemoUsersAndGroups); err != nil {
return nil, err
}
if err = s.createDefaultGroups(); err != nil {
if err = s.createDefaultGroups(cfg.Server.DemoUsersAndGroups); err != nil {
return nil, err
}
return
@@ -113,46 +119,47 @@ func configFromSvc(cfg *config.Config) (*idxcfg.Config, error) {
}
}(cfg)
if (config.Repo{}) != cfg.Repo {
if (config.Disk{}) != cfg.Repo.Disk {
c.Repo = idxcfg.Repo{
Disk: idxcfg.Disk{
Path: cfg.Repo.Disk.Path,
},
}
switch cfg.Repo.Backend {
case "disk":
c.Repo = idxcfg.Repo{
Backend: cfg.Repo.Backend,
Disk: idxcfg.Disk{
Path: cfg.Repo.Disk.Path,
},
}
case "cs3":
c.Repo = idxcfg.Repo{
Backend: cfg.Repo.Backend,
CS3: idxcfg.CS3{
ProviderAddr: cfg.Repo.CS3.ProviderAddr,
DataURL: cfg.Repo.CS3.DataURL,
DataPrefix: cfg.Repo.CS3.DataPrefix,
JWTSecret: cfg.Repo.CS3.JWTSecret,
},
}
default:
return nil, errors.New("index backend " + cfg.Repo.Backend + " is not supported")
}
if (config.CS3{}) != cfg.Repo.CS3 {
c.Repo = idxcfg.Repo{
CS3: idxcfg.CS3{
ProviderAddr: cfg.Repo.CS3.ProviderAddr,
DataURL: cfg.Repo.CS3.DataURL,
DataPrefix: cfg.Repo.CS3.DataPrefix,
JWTSecret: cfg.Repo.CS3.JWTSecret,
},
}
if (config.Index{}) != cfg.Index {
c.Index = idxcfg.Index{
UID: idxcfg.Bound{
Lower: cfg.Index.UID.Lower,
},
GID: idxcfg.Bound{
Lower: cfg.Index.GID.Lower,
},
}
}
if (config.Index{}) != cfg.Index {
c.Index = idxcfg.Index{
UID: idxcfg.Bound{
Lower: cfg.Index.UID.Lower,
},
GID: idxcfg.Bound{
Lower: cfg.Index.GID.Lower,
},
}
}
if (config.ServiceUser{}) != cfg.ServiceUser {
c.ServiceUser = cfg.ServiceUser
}
if (config.ServiceUser{}) != cfg.ServiceUser {
c.ServiceUser = cfg.ServiceUser
}
return c, nil
}
func (s Service) createDefaultAccounts() (err error) {
func (s Service) createDefaultAccounts(withDemoAccounts bool) (err error) {
accounts := []proto.Account{
{
Id: "4c510ada-c86b-4815-8820-42cdf82c3d51",
@@ -278,8 +285,19 @@ func (s Service) createDefaultAccounts() (err error) {
},
},
}
mustHaveAccounts := map[string]bool{
"bc596f3c-c955-4328-80a0-60d018b4ad57": true, // Reva IOP
"820ba2a1-3f54-4538-80a4-2d73007e30bf": true, // Kopano IDP
"ddc2004c-0977-11eb-9d3f-a793888cd0f8": true, // admin
}
// this only deals with the metadata service.
for i := range accounts {
if !withDemoAccounts && !mustHaveAccounts[accounts[i].Id] {
continue
}
a := &proto.Account{}
err := s.repo.LoadAccount(context.Background(), accounts[i].Id, a)
if !storage.IsNotFoundErr(err) {
@@ -323,7 +341,7 @@ func (s Service) createDefaultAccounts() (err error) {
return nil
}
func (s Service) createDefaultGroups() (err error) {
func (s Service) createDefaultGroups(withDemoGroups bool) (err error) {
groups := []proto.Group{
{Id: "34f38767-c937-4eb6-b847-1c175829a2a0", GidNumber: 15000, OnPremisesSamAccountName: "sysusers", DisplayName: "Technical users", Description: "A group for technical users. They should not show up in sharing dialogs.", Members: []*proto.Account{
{Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf"}, // idp
@@ -358,7 +376,17 @@ func (s Service) createDefaultGroups() (err error) {
{Id: "932b4540-8d16-481e-8ef4-588e4b6b151c"}, // feynman
}},
}
mustHaveGroups := map[string]bool{
"34f38767-c937-4eb6-b847-1c175829a2a0": true, // sysusers
"509a9dcd-bb37-4f4f-a01a-19dca27d9cfa": true, // users
}
for i := range groups {
if !withDemoGroups && !mustHaveGroups[groups[i].Id] {
continue
}
g := &proto.Group{}
err := s.repo.LoadGroup(context.Background(), groups[i].Id, g)
if !storage.IsNotFoundErr(err) {
@@ -396,17 +424,19 @@ func (s Service) createDefaultGroups() (err error) {
return nil
}
func createMetadataStorage(cfg *config.Config, logger log.Logger) storage.Repo {
// for now we detect the used storage implementation based on which storage is configured
// the config with defaults needs to be checked last
if cfg.Repo.Disk.Path != "" {
return storage.NewDiskRepo(cfg, logger)
func createMetadataStorage(cfg *config.Config, logger log.Logger) (storage.Repo, error) {
switch cfg.Repo.Backend {
case "disk":
return storage.NewDiskRepo(cfg, logger), nil
case "cs3":
repo, err := storage.NewCS3Repo(cfg)
if err != nil {
return nil, errors.Wrap(err, "cs3 backend was configured but failed to start")
}
return repo, nil
default:
return nil, errors.New("backend type " + cfg.Repo.Backend + " is not supported")
}
repo, err := storage.NewCS3Repo(cfg)
if err != nil {
logger.Fatal().Err(err).Msg("cs3 storage was configured but failed to start")
}
return repo
}
// Service implements the AccountsServiceHandler interface
-76
View File
@@ -1,76 +0,0 @@
package service
import (
"context"
"github.com/golang/protobuf/ptypes/empty"
v0proto "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"go.opencensus.io/trace"
)
// NewTracing returns a service that instruments traces.
func NewTracing(next v0proto.AccountsServiceHandler) v0proto.AccountsServiceHandler {
return tracing{
next: next,
}
}
type tracing struct {
next v0proto.AccountsServiceHandler
}
func (t tracing) ListAccounts(ctx context.Context, req *v0proto.ListAccountsRequest, rsp *v0proto.ListAccountsResponse) error {
ctx, span := trace.StartSpan(ctx, "Accounts.ListAccounts")
defer span.End()
span.Annotate([]trace.Attribute{
trace.Int64Attribute("page_size", int64(req.PageSize)),
trace.StringAttribute("page_token", req.PageToken),
trace.StringAttribute("field_mask", req.FieldMask.String()),
}, "Execute Accounts.ListAccount handler")
return t.next.ListAccounts(ctx, req, rsp)
}
func (t tracing) GetAccount(ctx context.Context, req *v0proto.GetAccountRequest, acc *v0proto.Account) error {
ctx, span := trace.StartSpan(ctx, "Accounts.GetAccount")
defer span.End()
span.Annotate([]trace.Attribute{
trace.StringAttribute("id", req.Id),
}, "Execute Accounts.GetAccount handler")
return t.next.GetAccount(ctx, req, acc)
}
func (t tracing) CreateAccount(ctx context.Context, req *v0proto.CreateAccountRequest, acc *v0proto.Account) error {
ctx, span := trace.StartSpan(ctx, "Accounts.CreateAccount")
defer span.End()
span.Annotate([]trace.Attribute{
trace.StringAttribute("account", req.Account.String()),
}, "Execute Accounts.CreateAccount handler")
return t.next.CreateAccount(ctx, req, acc)
}
func (t tracing) UpdateAccount(ctx context.Context, req *v0proto.UpdateAccountRequest, acc *v0proto.Account) error {
ctx, span := trace.StartSpan(ctx, "Accounts.UpdateAccount")
defer span.End()
span.Annotate([]trace.Attribute{
trace.StringAttribute("account", req.Account.String()),
}, "Execute Accounts.UpdateAccount handler")
return t.next.UpdateAccount(ctx, req, acc)
}
func (t tracing) DeleteAccount(ctx context.Context, req *v0proto.DeleteAccountRequest, e *empty.Empty) error {
ctx, span := trace.StartSpan(ctx, "Accounts.DeleteAccount")
defer span.End()
span.Annotate([]trace.Attribute{
trace.StringAttribute("id", req.Id),
}, "Execute Accounts.DeleteAccout handler")
return t.next.DeleteAccount(ctx, req, e)
}
+10 -9
View File
@@ -16,6 +16,7 @@ import (
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
revactx "github.com/cs3org/reva/pkg/ctx"
"github.com/cs3org/reva/pkg/rgrpc/todo/pool"
"github.com/cs3org/reva/pkg/token"
"github.com/cs3org/reva/pkg/token/manager/jwt"
@@ -67,7 +68,7 @@ func (r CS3Repo) WriteAccount(ctx context.Context, a *proto.Account) (err error)
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
if err := r.makeRootDirIfNotExist(ctx, accountsFolder); err != nil {
return err
}
@@ -104,7 +105,7 @@ func (r CS3Repo) LoadAccounts(ctx context.Context, a *[]*proto.Account) (err err
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
res, err := r.storageProvider.ListContainer(ctx, &provider.ListContainerRequest{
Ref: &provider.Reference{
Path: path.Join("/meta", accountsFolder),
@@ -154,7 +155,7 @@ func (r CS3Repo) DeleteAccount(ctx context.Context, id string) (err error) {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
resp, err := r.storageProvider.Delete(ctx, &provider.DeleteRequest{
Ref: &provider.Reference{
@@ -181,7 +182,7 @@ func (r CS3Repo) WriteGroup(ctx context.Context, g *proto.Group) (err error) {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
if err := r.makeRootDirIfNotExist(ctx, groupsFolder); err != nil {
return err
}
@@ -218,7 +219,7 @@ func (r CS3Repo) LoadGroups(ctx context.Context, g *[]*proto.Group) (err error)
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
res, err := r.storageProvider.ListContainer(ctx, &provider.ListContainerRequest{
Ref: &provider.Reference{
Path: path.Join("/meta", groupsFolder),
@@ -268,7 +269,7 @@ func (r CS3Repo) DeleteGroup(ctx context.Context, id string) (err error) {
return err
}
ctx = metadata.AppendToOutgoingContext(ctx, token.TokenHeader, t)
ctx = metadata.AppendToOutgoingContext(ctx, revactx.TokenHeader, t)
resp, err := r.storageProvider.Delete(ctx, &provider.DeleteRequest{
Ref: &provider.Reference{
@@ -302,7 +303,7 @@ func AuthenticateCS3(ctx context.Context, su config.ServiceUser, tm token.Manage
UidNumber: su.UID,
GidNumber: su.GID,
}
s, err := scope.GetOwnerScope()
s, err := scope.AddOwnerScope(nil)
if err != nil {
return
}
@@ -371,7 +372,7 @@ func (d dataProviderClient) put(url string, body io.Reader, token string) (*http
return nil, err
}
req.Header.Add("x-access-token", token)
req.Header.Add(revactx.TokenHeader, token)
return d.client.Do(req)
}
@@ -381,6 +382,6 @@ func (d dataProviderClient) get(url string, token string) (*http.Response, error
return nil, err
}
req.Header.Add("x-access-token", token)
req.Header.Add(revactx.TokenHeader, token)
return d.client.Do(req)
}
+12 -79
View File
@@ -1,90 +1,23 @@
package tracing
import (
"time"
"contrib.go.opencensus.io/exporter/jaeger"
"contrib.go.opencensus.io/exporter/ocagent"
"contrib.go.opencensus.io/exporter/zipkin"
openzipkin "github.com/openzipkin/zipkin-go"
zipkinhttp "github.com/openzipkin/zipkin-go/reporter/http"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/ocis-pkg/log"
"go.opencensus.io/stats/view"
"go.opencensus.io/trace"
pkgtrace "github.com/owncloud/ocis/ocis-pkg/tracing"
"go.opentelemetry.io/otel/trace"
)
func Configure(cfg *config.Config, logger log.Logger) error {
var (
// TraceProvider is the global trace provider for the proxy service.
TraceProvider = trace.NewNoopTracerProvider()
)
func Configure(cfg *config.Config) error {
var err error
if cfg.Tracing.Enabled {
switch t := cfg.Tracing.Type; t {
case "agent":
exporter, err := ocagent.NewExporter(
ocagent.WithReconnectionPeriod(5*time.Second),
ocagent.WithAddress(cfg.Tracing.Endpoint),
ocagent.WithServiceName(cfg.Tracing.Service),
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create agent tracing")
return err
}
trace.RegisterExporter(exporter)
view.RegisterExporter(exporter)
case "jaeger":
exporter, err := jaeger.NewExporter(
jaeger.Options{
AgentEndpoint: cfg.Tracing.Endpoint,
CollectorEndpoint: cfg.Tracing.Collector,
Process: jaeger.Process{
ServiceName: cfg.Tracing.Service,
},
},
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create jaeger tracing")
return err
}
trace.RegisterExporter(exporter)
case "zipkin":
endpoint, err := openzipkin.NewEndpoint(
cfg.Tracing.Service,
cfg.Tracing.Endpoint,
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create zipkin tracing")
return err
}
exporter := zipkin.NewExporter(
zipkinhttp.NewReporter(
cfg.Tracing.Collector,
),
endpoint,
)
trace.RegisterExporter(exporter)
default:
logger.Warn().
Str("type", t).
Msg("Unknown tracing backend")
if TraceProvider, err = pkgtrace.GetTraceProvider(cfg.Tracing.Endpoint, cfg.Tracing.Collector, "accounts", cfg.Tracing.Type); err != nil {
return err
}
trace.ApplyConfig(
trace.Config{
DefaultSampler: trace.AlwaysSample(),
},
)
} else {
logger.Debug().
Msg("Tracing is not enabled")
}
return nil
}
@@ -247,7 +247,7 @@ message DeleteAccountRequest {
string id = 1;
}
// Account follows the properties of the ms graph api user resuorce.
// Account follows the properties of the ms graph api user resource.
// See https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties
message Account {
@@ -383,7 +383,7 @@ message Account {
repeated OnPremisesProvisioningError on_premises_provisioning_errors = 29;
// TODO do we need to sync uidnumber and gidnumber from the external ldap? we may assign different numbers so eos has a non colliding namespace.
// we can sync them to the (uid|gid)_number fileds but what if they changed in the external ldap and now collide?
// we can sync them to the (uid|gid)_number fields but what if they changed in the external ldap and now collide?
// move those properties to a posixaccount message so we can exchange that part with an external (readonly or writeable) ldap server?
// For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status.
+2 -2
View File
@@ -45,9 +45,9 @@ If you prefer to configure the service with environment variables you can see th
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
### Command-line 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.
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
{{ $options := .Options -}}
{{ range $com := .Commands }}{{ with (list $options $com) -}}
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* Asserts wheter the given object is empty
* Asserts whether the given object is empty
* @param {Object} obj Object to be checked
* @returns {Boolean}
*/
@@ -1,6 +1,6 @@
const assert = require('assert')
const { client } = require('nightwatch-api')
const { Given, When, Then } = require('cucumber')
const { Given, When, Then } = require('@cucumber/cucumber')
When('the user browses to the accounts page', function () {
return client.page.accountsPage().navigateAndWaitUntilMounted()
+721 -217
View File
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,5 @@
Enhancement: Proxy: Add claims policy selector
Using the proxy config file, it is now possible to let let the IdP determine the routing policy by sending an `ocis.routing.policy` claim. Its value will be used to determine the set of routes for the logged in user.
https://github.com/owncloud/ocis/pull/2248
@@ -0,0 +1,7 @@
Bugfix: Improve IDP Login Accessibility
We have addressed the feedback from the `a11y` audit and improved
the IDP login screen accordingly.
https://github.com/owncloud/web/issues/5376
https://github.com/owncloud/web/issues/5377
@@ -0,0 +1,3 @@
Enhancement: Add ocs cache warmup config and warn on protobuf ns conflicts
https://github.com/owncloud/ocis/pull/2328
@@ -0,0 +1,6 @@
Bugfix: forward basic auth to OpenID connect token authentication endpoint
When using `PROXY_ENABLE_BASIC_AUTH=true` we now forward request to the idp instead of trying to authenticate the request ourself.
https://github.com/owncloud/ocis/issues/2095
https://github.com/owncloud/ocis/issues/2094
@@ -0,0 +1,8 @@
Bugfix: log all requests in the proxy access log
We now use a dedicated middleware to log all requests, regardless of routing selector outcome.
While the log now includes the remote address, the selected routing policy is only logged when log level
is set to debug because the request context cannot be changed in the `directorSelectionDirector`, as per
the `ReverseProxy.Director` documentation.
https://github.com/owncloud/ocis/pull/2301
@@ -0,0 +1,5 @@
Enhancement: Refactor graph API
We refactored the `/graph/v1.0/` endpoint which now relies on the internal acces token fer authentication, getting rid of any LDAP or OIDC code to authenticate requests. This allows using the graph api when using basic auth or any other auth mechanism provided by the CS3 auth providers / reva gateway / ocis proxy.
https://github.com/owncloud/ocis/pull/2277
@@ -0,0 +1,10 @@
Bugfix: update glauth to 20210729125545-b9aecdfcac31
* Fixes the backend config not being passed correctly in ocis
* Fixes a mutex being copied, leading to concurrent writes
* Fixes UTF8 chars in filters
* Fixes case insensitive strings
https://github.com/owncloud/ocis/pull/2336
https://github.com/glauth/glauth/pull/198
https://github.com/glauth/glauth/pull/194
@@ -0,0 +1,50 @@
Enhancement: update REVA
Update REVA from v1.10.1-0.20210730095301-fcb7a30a44a6 to v1.11.1-0.20210809134415-3fe79c870fb5
* Fix cs3org/reva#1978: Fix owner type is optional
* Fix cs3org/reva#1965: fix value of file_target in shares
* Fix cs3org/reva#1960: fix updating shares in the memory share manager
* Fix cs3org/reva#1956: fix trashbin listing with depth 0
* Fix cs3org/reva#1957: fix etag propagation on deletes
* Enh cs3org/reva#1861: [WIP] Runtime plugins
* Fix cs3org/reva#1954: fix response format of the sharees API
* Fix cs3org/reva#1819: Remove notifications key from ocs response
* Enh cs3org/reva#1946: Add a share manager that connects to oc10 databases
* Fix cs3org/reva#1899: Fix chunked uploads for new versions
* Fix cs3org/reva#1906: Fix copy over existing resource
* Fix cs3org/reva#1891: Delete Shared Resources as Receiver
* Fix cs3org/reva#1907: Error when creating folder with existing name
* Fix cs3org/reva#1937: Do not overwrite more specific matches when finding storage providers
* Fix cs3org/reva#1939: Fix the share jail permissions in the decomposedfs
* Fix cs3org/reva#1932: Numerous fixes to the owncloudsql storage driver
* Fix cs3org/reva#1912: Fix response when listing versions of another user
* Fix cs3org/reva#1910: Get user groups recursively in the cbox rest user driver
* Fix cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the datagateway
* Fix cs3org/reva#1911: Fix version order in propfind responses
* Fix cs3org/reva#1926: Trash Bin in oCIS Storage Operations
* Fix cs3org/reva#1901: Fix response code when folder doesnt exist on upload
* Enh cs3org/reva#1785: Extend app registry with AddProvider method and mimetype filters
* Enh cs3org/reva#1938: Add methods to get and put context values
* Enh cs3org/reva#1798: Add support for a deny-all permission on references
* Enh cs3org/reva#1916: Generate updated protobuf bindings for EOS GRPC
* Enh cs3org/reva#1887: Add "a" and "l" filter for grappa queries
* Enh cs3org/reva#1919: Run gofmt before building
* Enh cs3org/reva#1927: Implement RollbackToVersion for eosgrpc (needs a newer EOS MGM)
* Enh cs3org/reva#1944: Implement listing supported mime types in app registry
* Enh cs3org/reva#1870: Be defensive about wrongly quoted etags
* Enh cs3org/reva#1940: Reduce memory usage when uploading with S3ng storage
* Enh cs3org/reva#1888: Refactoring of the webdav code
* Enh cs3org/reva#1900: Check for illegal names while uploading or moving files
* Enh cs3org/reva#1925: Refactor listing and statting across providers for virtual views
* Fix cs3org/reva#1883: Pass directories with trailing slashes to eosclient.GenerateToken
* Fix cs3org/reva#1878: Improve the webdav error handling in the trashbin
* Fix cs3org/reva#1884: Do not send body on failed range request
* Enh cs3org/reva#1744: Add support for lightweight user types
* Fix cs3org/reva#1904: Set Content-Length to 0 when swallowing body in the datagateway
* Fix cs3org/reva#1899: Bugfix: Fix chunked uploads for new versions
* Enh cs3org/reva#1888: Refactoring of the webdav code
* Enh cs3org/reva#1887: Add "a" and "l" filter for grappa queries
https://github.com/owncloud/ocis/pull/2355
https://github.com/owncloud/ocis/pull/2295
https://github.com/owncloud/ocis/pull/2314
@@ -0,0 +1,8 @@
Change: Update ownCloud Web to v4.0.0
Tags: web
We updated ownCloud Web to v4.0.0. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/ocis/pull/2353
https://github.com/owncloud/web/releases/tag/v4.0.0
@@ -0,0 +1,6 @@
Enhancement: use only one go.mod file for project dependencies
We now use one single go.mod file at the root of the repository
rather than one per core extension.
https://github.com/owncloud/ocis/pull/2344
@@ -0,0 +1,3 @@
Bugfix: Specify primary user type for all accounts
https://github.com/owncloud/ocis/pull/2364
@@ -0,0 +1,7 @@
Enhancement: Use non root user for the owncloud/ocis docker image
The owncloud/ocis docker image now uses a non root user and enables you to set a different user with the docker `--user` parameter. The default user has the UID 1000 is part of a group with the GID 1000.
This is a breaking change for existing docker deployments. The permission on the files and folders in persistent volumes need to be changed to the UID and GID used for oCIS (default 1000:1000 if not changed by the user).
https://github.com/owncloud/ocis/pull/2380
@@ -0,0 +1,5 @@
Enhancement: Replace unmaintained jwt library
The old library [github.com/dgrijalva/jwt-go](https://github.com/dgrijalva/jwt-go) is unmaintained and was replaced by the community maintained fork [github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt).
https://github.com/owncloud/ocis/pull/2386
@@ -0,0 +1,5 @@
Enhancement: Update bleve to version 2.1.0
Updated bleve to the current version.
https://github.com/owncloud/ocis/pull/2391
@@ -0,0 +1,5 @@
Enhancement: Update github.com/coreos/go-oidc to v3.0.0
Updated the github.com/coreos/go-oidc library to the version 3.0.0.
https://github.com/owncloud/ocis/pull/2393
@@ -0,0 +1,22 @@
Enhancement: Update reva to v1.12
* Enhancement cs3org/reva#1803: Introduce new webdav spaces endpoint
* Bugfix cs3org/reva#1819: Disable notifications
* Enhancement cs3org/reva#1861: Add support for runtime plugins
* Bugfix cs3org/reva#1913: Logic to restore files to readonly nodes
* Enhancement cs3org/reva#1946: Add share manager that connects to oc10 databases
* Bugfix cs3org/reva#1954: Fix response format of the sharees API
* Bugfix cs3org/reva#1956: Fix trashbin listing with depth 0
* Bugfix cs3org/reva#1957: Fix etag propagation on deletes
* Bugfix cs3org/reva#1960: Return the updated share after updating
* Bugfix cs3org/reva#1965 cs3org/reva#1967: Fix the file target of user and group shares
* Bugfix cs3org/reva#1980: Propagate the etag after restoring a file version
* Enhancement cs3org/reva#1984: Replace OpenCensus with OpenTelemetry
* Bugfix cs3org/reva#1985: Add quota stubs
* Bugfix cs3org/reva#1987: Fix windows build
* Bugfix cs3org/reva#1990: Increase oc10 compatibility of owncloudsql
* Bugfix cs3org/reva#1992: Check if symlink exists instead of spamming the console
* Bugfix cs3org/reva#1993: fix owncloudsql GetMD
https://github.com/owncloud/ocis/pull/2423
@@ -0,0 +1,8 @@
Change: Update ownCloud Web to v4.1.0
Tags: web
We updated ownCloud Web to v4.1.0. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/ocis/pull/2426
https://github.com/owncloud/web/releases/tag/v4.1.0
Loaded 100 of 849 files, more files were not shown because too many files have changed in this diff. Show more