Compare commits

..
2672 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
Florian Schade 6c6a53a4de prepare changelog 2021-07-13 09:07:34 +02:00
Willy Kloucek 7b1130f34b Automated changelog update [skip ci] 2021-07-13 07:04:22 +00:00
Willy Kloucek cf6f71da89 Merge pull request #2280 from owncloud/update-reva-1.9.1
[full-ci] update reva to v1.9.1
2021-07-13 09:03:31 +02:00
Willy Kloucek 2433cabae4 fix pr refs 2021-07-13 07:34:27 +02:00
Michael Barz 92d60126a0 adapt expected failures 2021-07-13 08:47:55 +05:45
Michael Barz 10a03f8c98 update reva to v1.9.1 2021-07-13 08:33:35 +05:45
Phil Davis ddd261fba7 Automated changelog update [skip ci] 2021-07-13 02:41:15 +00:00
Phil Davis 2ac28854f8 Merge pull request #2289 from owncloud/update-web-3.4.1
[full-ci] update web to v3.4.1
2021-07-13 08:25:37 +05:45
Florian Schade faeec92a09 update web to v3.4.1 2021-07-12 19:57:59 +02:00
Phil Davis bf40bc0590 Merge pull request #2287 from owncloud/update-web-id-20210712
[tests-only] [full-ci] Update web id 20210712
2021-07-12 20:29:05 +05:45
Phil Davis 89af2f010c Update web commit id to include test code fix in web PR 5511 2021-07-12 19:09:55 +05:45
Parajuli Kiran 3897adfaa7 Updated web ocis expected failures 2021-07-12 18:01:52 +05:45
Parajuli Kiran b031b40143 Updated web commit id to the latest upto 20210712 2021-07-12 18:01:52 +05:45
Phil Davis 46fbf66bd0 Merge pull request #2286 from owncloud/update-core-commitid
[Tests-Only] Link issues in expected failure file
2021-07-12 16:41:19 +05:45
Dipak Acharya 78e668c187 [Tests-Only] Link issues in expected failure file 2021-07-12 15:49:54 +05:45
Phil Davis a85905a541 Merge pull request #2281 from owncloud/bump-commit-ids
[tests-only] [full-ci] Bump commit ids for tests
2021-07-12 14:13:11 +05:45
Phil Davis 4e7a4f2bfc Merge pull request #2284 from owncloud/doc_full_ci
[docs-only] document full ci flag
2021-07-12 13:43:44 +05:45
Willy Kloucek 63494c29e1 [docs-only] document full ci flag 2021-07-12 09:28:50 +02:00
saw-jan 9eba1b0e26 bump commit ids and update expected-failures 2021-07-12 13:02:35 +05:45
Phil Davis 39d5e66c91 Merge pull request #2278 from owncloud/bump-commit-ids-20210710
[tests-only] [full-ci] Bump commit ids for tests
2021-07-12 12:50:31 +05:45
Phil Davis c12d4381d5 Merge pull request #2283 from owncloud/update-testing-doc
[docs-only] update testing docs to include STORAGE_DRIVER env var
2021-07-12 12:37:09 +05:45
Phil Davis ccf456aa9a Minor English grammar 2021-07-12 12:33:35 +05:45
Michael Barz 93a317bb54 Automated changelog update [skip ci] 2021-07-12 06:43:44 +00:00
Michael Barz 98563bb8f5 Merge pull request #2230 from owncloud/read-only
[full-ci] read-only storagehome and storageusers
2021-07-12 08:43:10 +02:00
Dipak Acharya bfb0a98778 [docs-only] update testing docs to include STORAGE_DRIVER env var 2021-07-12 12:27:50 +05:45
Dipak Acharya cd30d2d574 Update expected failure files for newly added tests 2021-07-12 11:36:32 +05:45
Phil Davis 115ce78ad9 Bump commit ids for tests 2021-07-10 13:26:16 +05:45
Benedikt Kulmann d59e828895 Automated changelog update [skip ci] 2021-07-10 07:29:10 +00:00
Benedikt Kulmann 534190606e Merge pull request #2276 from owncloud/update-web-3.4.0 2021-07-10 09:25:30 +02:00
Benedikt Kulmann 96738d2f1e Update expected failures 2021-07-09 23:41:16 +02:00
Michael Barz de5aefbe91 read-only storagehome and storageusers 2021-07-09 23:01:20 +02:00
Benedikt Kulmann 5b8e883d4a Update web to 3.4.0 2021-07-09 13:07:32 +02:00
Klaas Freitag caaf7e6088 Merge pull request #2275 from owncloud/doc-howtocontribute2
[docs-only] Add the Contribution Guidelines plus linking to it.
2021-07-09 10:46:58 +02:00
Klaas Freitag 6611f22312 Applied feedback from Phil for better English. 2021-07-09 10:31:27 +02:00
Klaas FreitagandPascal Wengerter 441c19f34d Change oC Talk link to ocis rather than infinitescale.
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-07-09 09:23:03 +02:00
Benedikt Kulmann b0fe255a5d Update web to 3.4.0-rc1 2021-07-09 00:18:29 +02:00
Jörn Friedrich Dreyer 2119d12cbc Merge pull request #2007 from owncloud/spaces-api
initial /me/drives implementation
2021-07-08 23:56:17 +02:00
Jörn Friedrich Dreyer 7a25f2ac5e cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 20:05:50 +00:00
Klaas Freitag a75c3b7777 Add the Contribution Guidelines plus linking to it.
Also fix the copyright year in readme while being over it.
2021-07-08 14:59:24 +02:00
Jörn Friedrich Dreyer 9376e2ef5e no need to filter, remove unnecessary openapi package
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 12:28:43 +00:00
Jörn Friedrich Dreyer d7031c93fe fix sonarcloud issues
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:59:42 +00:00
Jörn Friedrich Dreyer c1bfbd9c24 update deps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 11:42:29 +02:00
Lukas Hirt a38af180fa Merge pull request #2273 from owncloud/LukasHirt-patch-1
Remove LukasHirt from only office codeowners
2021-07-08 10:58:23 +02:00
Lukas HirtandPascal Wengerter 014538a0b4 Update .github/CODEOWNERS
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-07-08 10:12:48 +02:00
Jörn Friedrich Dreyer 034eb417f2 openapi fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:06:42 +02:00
Klaas Freitag 5b04bc853b Fix typo looging -> logging. 2021-07-08 10:06:42 +02:00
Jörn Friedrich Dreyer 53a06bd2da add regex to match all spaces prefixed with user provider id
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:06:42 +02:00
Jörn Friedrich Dreyer c2780440f7 use open-graph-api and add openapi tooling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:06:42 +02:00
Jörn Friedrich Dreyer ada2b96e4b clean up example urls
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:04:01 +02:00
Jörn Friedrich Dreyer 2d51ea3cee add specs n docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:04:01 +02:00
Jörn Friedrich Dreyer 449edd31c8 initial /me/drives implementation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:04:01 +02:00
Lukas Hirt 742b231818 Remove LukasHirt from only office codeowners 2021-07-08 09:41:49 +02:00
Artur Neumann 322cb454c4 Merge pull request #2268 from owncloud/bump20210706
[Tests-Only][full-ci] Run latest core changes in ocis
2021-07-08 09:28:43 +02:00
Alex Unger 53fabd9ffd Automated changelog update [skip ci] 2021-07-07 15:30:15 +00:00
Alex Unger 5114ba259f Merge pull request #2271 from owncloud/spare-port-80 2021-07-07 17:29:47 +02:00
A.Unger 1c060606fe add changelog 2021-07-07 16:43:55 +02:00
A.Unger bd68d1ef72 use correct debug address 2021-07-07 16:41:46 +02:00
Jasmine Baral ba924cb412 run latest core changes in ocis 2021-07-07 16:53:28 +05:45
Jörn Friedrich Dreyer 456e7c9300 Automated changelog update [skip ci] 2021-07-07 08:36:27 +00:00
Jörn Friedrich Dreyer cd4b391cb9 Merge pull request #1705 from owncloud/no-additional-init
ocis already does the cli flag parsing
2021-07-07 10:36:04 +02:00
Jörn Friedrich Dreyer 54e1796717 Merge pull request #2168 from owncloud/extensions-template-adr
[docs-only] draft an adr for extension templates
2021-07-07 10:27:23 +02:00
Phil Davis 5d39a84a49 Merge pull request #2270 from owncloud/always-run-minimal-web-ui-tests-pipeline
[full-ci] [tests-only] Always run minimal web UI test pipeline
2021-07-07 13:20:53 +05:45
Phil Davis d77c83bdbe Always run minimal web UI test pipeline 2021-07-07 11:59:43 +05:45
Phil Davis 7baf67be8f Merge pull request #2262 from owncloud/downloadVersionsTests
[full-ci] bump core commit id to run new versions tests
2021-07-06 19:26:44 +05:45
Artur Neumann 7040f14884 fix expected to fail list 2021-07-06 14:41:32 +02:00
Artur Neumann d940dcc751 bump core commit id to run new versions tests 2021-07-06 14:41:28 +02:00
Phil Davis 8801bd7eff Merge pull request #2264 from owncloud/remove-closed-sharing-issues
[full-ci] [tests-only] Remove closed sharing issues
2021-07-06 18:10:31 +05:45
Parajuli Kiran 2b6960171c updated web expected failures removing some closed sharing issues 2021-07-06 15:58:30 +05:45
Phil Davis 1c05cf7e64 Merge pull request #2265 from owncloud/fullCI
[Tests-Only][full-ci] Fix full-ci issue
2021-07-06 12:35:03 +05:45
Jasmine Baral a05105d934 adjust expected failures 2021-07-06 11:36:42 +05:45
Jasmine Baral f419054936 fix full-ci issue in ocis 2021-07-06 10:13:38 +05:45
Jörn Friedrich Dreyer 90f7b170a9 Merge pull request #2061 from aduffeck/owncloudsql-integration
Integrate the owncloudsql storage driver
2021-07-05 15:50:46 +02:00
André Duffeck f7fdda3ee1 Fix Sql->SQL 2021-07-05 15:01:43 +02:00
André Duffeck 0392dfd18c Incorporate review suggestions 2021-07-05 15:01:43 +02:00
André Duffeck 84e82b2686 Integrate the owncloudsql storage driver 2021-07-05 15:01:43 +02:00
Alex Unger 7eb86e9b07 Automated changelog update [skip ci] 2021-07-05 10:44:55 +00:00
Alex Unger 5ae2cdbad0 Merge pull request #2252 from owncloud/channels-race-condition 2021-07-05 12:44:27 +02:00
A.Unger e30f3a377b add changelog 2021-07-02 16:08:32 +02:00
A.Unger 72630c3291 prevent race condition on starting an already running service 2021-07-02 16:05:04 +02:00
Jörn Friedrich Dreyer e104622a8a Clarify why we keep separate go.mod files
Actually, I don't know if this still holds true. AFAICT we will be releasing an ocis binary that bundles all extensions. So ... will they really be released individually? For bug fix releases a release process for them would be quicker, but then we would also need to build individual docker containers ...
2021-07-02 15:22:56 +02:00
A.Unger 25ca76ebd4 add changelog 2021-07-02 13:33:04 +02:00
A.Unger cb2323e9d6 Merge branch 'master' into no-additional-init 2021-07-02 13:25:30 +02:00
Alex Unger b3bae592d0 Merge pull request #2235 from owncloud/policy-adr 2021-07-02 13:22:03 +02:00
A.Unger 98b0b9c49a Merge branch 'master' into policy-adr 2021-07-02 11:46:26 +02:00
Phil Davis 296b41d4d2 Merge pull request #2234 from owncloud/skip-async-tests
[Tests-Only] update core commitid for tests
2021-07-02 13:47:02 +05:45
Dipak Acharya 1cc028694e Merge pull request #2106 from owncloud/earlyFail
[Tests-Only]Add earlyFail
2021-07-02 12:21:33 +05:45
Phil Davis ad02b40c3c Override earlyFail if PR title contains full-ci 2021-07-02 11:42:48 +05:45
Dipak Acharya 3ffd0a13ef [Tests-Only] update core commitid in CI 2021-07-02 11:16:32 +05:45
Pascal Wengerter 8343c192f2 Merge pull request #2086 from owncloud/dependabot/npm_and_yarn/idp/classnames-2.3.1
Bump classnames from 2.2.6 to 2.3.1 in /idp
2021-07-01 17:17:18 +01:00
Pascal Wengerter e2bf20817c Merge pull request #2244 from owncloud/dependabot/npm_and_yarn/accounts/rollup-2.52.6
Bump rollup from 2.42.4 to 2.52.6 in /accounts
2021-07-01 17:15:32 +01:00
Pascal Wengerter ca07c287c8 Merge pull request #1859 from owncloud/dependabot/npm_and_yarn/onlyoffice/url-search-params-polyfill-8.1.1
Bump url-search-params-polyfill from 8.1.0 to 8.1.1 in /onlyoffice
2021-07-01 17:13:59 +01:00
Pascal Wengerter ddb6a15544 Merge pull request #1860 from owncloud/dependabot/npm_and_yarn/settings/url-search-params-polyfill-8.1.1
Bump url-search-params-polyfill from 8.1.0 to 8.1.1 in /settings
2021-07-01 17:13:26 +01:00
A.Unger 8d1847b9d3 Merge branch 'master' into policy-adr 2021-07-01 17:50:41 +02:00
dependabot[bot] b56cdc17c3 Bump rollup from 2.42.4 to 2.52.6 in /accounts
Bumps [rollup](https://github.com/rollup/rollup) from 2.42.4 to 2.52.6.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.42.4...v2.52.6)

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

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-29 07:27:46 +00:00
Phil Davis 458de9f554 Automated changelog update [skip ci] 2021-06-29 07:13:57 +00:00
Phil Davis c5f34a0726 Merge pull request #2227 from owncloud/update_reva_20210629
update reva to v1.9.1-0.20210628143859-9d29c36c0c3f
2021-06-29 12:58:34 +05:45
Michael Barz 23730f3e4a Automated changelog update [skip ci] 2021-06-29 07:12:06 +00:00
Michael Barz ed4fef9c0e Merge pull request #2226 from owncloud/release-1.8.0
Merge back after Release
2021-06-29 09:11:29 +02:00
Phil Davis 5e7967c62c Remove passing trashbinRestore tests from expected-failures 2021-06-29 12:14:52 +05:45
Willy Kloucek 3dfced91e0 update reva to v1.9.1-0.20210628143859-9d29c36c0c3f 2021-06-29 08:19:17 +02:00
Phil Davis 0f2cb27c4a Merge pull request #2211 from owncloud/update-expected-failures-after-#38876
[full-ci] [tests-only] Update expected failures after core #38876
2021-06-29 10:48:22 +05:45
Parajuli Kiran f36cf67bc4 Update core commit id to the latest 2021/06/29
And replace closed issues with current issues
2021-06-29 08:51:21 +05:45
Michael Barz 95a9405449 Merge pull request #2103 from owncloud/flesh-out-migration-docs
[docs-only] flesh out migration docs
2021-06-28 15:49:43 +02:00
Michael Barz 51b87e181d Merge pull request #2220 from owncloud/1.8.0_release_notes
[docs-only] 1.8.0 Release Notes
2021-06-28 15:16:45 +02:00
Patrick Maier 4794f52c72 Point to release tags instead of changelog.md 2021-06-28 09:29:59 +02:00
Michael Barz 6a8b1db9f3 bump version, prepare changelog 2021-06-28 09:15:41 +02:00
Patrick Maier 063fd64483 Point to the specific version changelogs 2021-06-28 09:14:44 +02:00
Michael Barz f18365ddee [tx] updated from transifex 2021-06-28 00:07:09 +00:00
Patrick Maier 96a548619a [docs-only] 1.8.0 Release Notes 2021-06-25 18:16:10 +02:00
Michael Barz dab2d56089 Automated changelog update [skip ci] 2021-06-25 09:40:21 +00:00
Michael Barz 3f29f50e45 Merge pull request #2199 from ishank011/webdav-ns-config
Make webdav namespace configurable across services
2021-06-25 11:39:36 +02:00
Phil Davis ab48dd66c5 Merge pull request #2216 from owncloud/fix-settings-ui-tests
[Tests-Only] do not restore settings value in ui tests
2021-06-25 14:31:53 +05:45
Michael Barz 34e0877df7 Merge pull request #1951 from ishank011/uid-gid-user-object
Use CS3 user object fields to store UID and GID
2021-06-25 10:06:14 +02:00
Ishank Arora 89f8320c74 Make webdav namespace configurable across services 2021-06-25 10:05:20 +02:00
Dipak Acharya 8403ae9933 [Tests-Only] do not restore settings value in ui tests 2021-06-25 13:43:36 +05:45
Jörn Friedrich Dreyer 4675c1442d Merge pull request #2200 from owncloud/add-create-scripts
[docs-only] add create scripts
2021-06-24 13:53:24 +02:00
Willy Kloucek 823f2cb41f Merge pull request #2186 from owncloud/fix_configuration_docs
[docs-only] fix configuration docs
2021-06-24 12:50:13 +02:00
David Christofas 6859217a17 Merge pull request #2196 from owncloud/dependabot/go_modules/ocis/github.com/spf13/viper-1.8.0
Bump github.com/spf13/viper from 1.7.1 to 1.8.0 in /ocis
2021-06-24 09:29:26 +02:00
Phil Davis 038c36467b Automated changelog update [skip ci] 2021-06-24 01:51:16 +00:00
Phil Davis e3ab89c698 Merge pull request #2210 from owncloud/update-reva-v1.9
[full-ci] update reva to v1.9
2021-06-24 07:35:32 +05:45
David Christofas 538e7b576a update reva to v1.9 2021-06-23 20:18:24 +02:00
Phil Davis 3c92932835 Merge pull request #2206 from owncloud/bump-commit-ids
[full-ci] [tests-only] Bump core and web commit id
2021-06-23 23:21:48 +05:45
Willy Kloucek 2755f04938 add hello and s3 deplyoment example 2021-06-23 19:33:10 +02:00
saw-jan 28a6e7beb1 bump core and web commit id for tests (2021-06-23) 2021-06-23 22:07:29 +05:45
Benedikt Kulmann 88587af369 Automated changelog update [skip ci] 2021-06-23 14:53:27 +00:00
Benedikt Kulmann 216be05ffa Merge pull request #2187 from owncloud/update-web-v3.3.0
[full-ci] Update web to v3.3.0
2021-06-23 16:52:52 +02:00
dependabot[bot] 3b50ee6e1f Bump github.com/spf13/viper from 1.7.1 to 1.8.0 in /ocis
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.7.1...v1.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 13:49:11 +00:00
Alex Unger d3a7c3fc2b Automated changelog update [skip ci] 2021-06-23 12:44:42 +00:00
Alex Unger 5b55b83084 Merge pull request #2205 from owncloud/update_reva_20210623
update reva to v1.8.1-0.20210622125952-b54b15943d02
2021-06-23 14:44:07 +02:00
Pascal Wengerter 8650a3c9fd Update to web v3.3.0 2021-06-23 13:31:23 +01:00
Florian Schade 359e1f8dfe fix tests for getUserMenu context (check for presence instead of visibility) 2021-06-23 14:00:04 +02:00
Benedikt Kulmann a01d379908 Revert mktemp params 2021-06-23 12:06:13 +02:00
Benedikt Kulmann 7bd0626d50 Exchange mktemp command to be compatible with linux and macos 2021-06-23 11:38:40 +02:00
Willy Kloucek 02621ac59b update reva to v1.8.1-0.20210622125952-b54b15943d02 2021-06-23 11:19:26 +02:00
Willy Kloucek 5a6b16abd4 Merge pull request #2161 from owncloud/wopi_server_fix_jwt_secrets
fix jwt secrets for wopiserver example
2021-06-23 10:44:19 +02:00
Jan Ackermann dc932c6904 [tx] updated from transifex 2021-06-23 00:09:12 +00:00
Pascal Wengerter 6cf359800b Update to web v3.3.0-rc5 & bump web commit ID 2021-06-22 18:16:40 +01:00
Benedikt Kulmann c294d49a8a Ignore expected failures files for codacy 2021-06-22 15:03:15 +02:00
Benedikt Kulmann af184d84fd Update expected failures file for webui tests 2021-06-22 14:55:42 +02:00
Pascal Wengerter f888b93b64 Merge pull request #2203 from owncloud/22062021_update-talk-links
[docs-only] Reflect channel renaming in talk.owncloud.com in links
2021-06-22 13:45:00 +01:00
Pascal Wengerter fdbf1a76e9 Reflect channel renaming in talk.owncloud.com in links 2021-06-22 13:22:10 +01:00
Benedikt Kulmann acdec60cbd Remove unused test selector 2021-06-22 13:55:53 +02:00
Benedikt Kulmann e079a0f9ac Update web commitid in .drone.env 2021-06-22 13:55:48 +02:00
Benedikt Kulmann 5859bc1e52 Update ODS in settings and accounts UIs 2021-06-22 13:55:30 +02:00
Benedikt Kulmann 8323300122 Update web to v3.3.0-rc4 2021-06-22 13:55:19 +02:00
Jörn Friedrich Dreyer c768791b2d add create scripts
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-06-22 10:00:34 +00:00
Jörn Friedrich Dreyer 6f79c13eb5 update share manager migration
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-06-21 20:01:37 +00:00
Phil Davis 6d3472f383 Merge pull request #2198 from owncloud/bump-commit-id-20210621
[tests-only] Bump core commit id
2021-06-21 20:02:46 +05:45
Phil Davis f49e4af4cd Bump core commit id 2021-06-21 19:11:37 +05:45
Willy Kloucek 3e815601dd Merge pull request #2182 from owncloud/extension_development
[docs-only] extension development
2021-06-21 10:30:40 +02:00
Willy Kloucek a3007e515a remove references to future 2021-06-21 09:39:14 +02:00
Willy KloucekandPascal Wengerter a8a6bb6230 Apply suggestions from code review
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-06-21 09:37:57 +02:00
Jasmine Baral 64136bc73c Merge pull request #2191 from owncloud/removeDoubleTests
[Tests-Only]Remove tests that have been added twice
2021-06-18 15:11:20 +05:45
Jasmine Baral 8fa8d81501 remove tests that have been added twice 2021-06-18 13:57:06 +05:45
Jasmine Baral 26ab81d7af Merge pull request #2165 from owncloud/updateExpectedFailures-part2
[Tests-Only]Adjust expected failures file by adjusting the issues
2021-06-18 08:58:19 +05:45
Jasmine Baral cc1f41b332 adjust expected failures file by adjusting the issues 2021-06-17 17:52:04 +05:45
Willy Kloucek b23570b80f fix secrets use 2021-06-17 13:15:41 +02:00
Willy Kloucek 78bbd7e4ce remove development roadmap 2021-06-17 08:36:17 +02:00
Willy Kloucek 28525447dc point bingo to master 2021-06-17 08:29:45 +02:00
Michael Barz 521a60c427 Automated changelog update [skip ci] 2021-06-16 19:20:38 +00:00
Michael Barz 189d1485a9 Merge pull request #2188 from owncloud/ignore_auth_on_status_php
ignore authentication header on status.php
2021-06-16 21:15:42 +02:00
Willy Kloucek 93b60b1770 add changelog 2021-06-16 18:33:05 +02:00
Ishank Arora 6168ee7095 Use CS3 user object fields to store UID and GID 2021-06-16 18:05:40 +02:00
Willy Kloucek ed94da5104 ignore authentication header on status.php 2021-06-16 16:59:11 +02:00
Willy Kloucek 5d229a679b fix configuration docs 2021-06-16 15:59:24 +02:00
Phil Davis 36971ea28b Merge pull request #2158 from owncloud/update-exp-failure-file-dpakach
[Tests-Only] remove outdated issues from expected failures file
2021-06-16 17:16:43 +05:45
Willy Kloucek 5a1d52b1ea unify filesystem 2021-06-16 10:10:14 +02:00
Willy Kloucek fe2ffe1ce4 be more explainatory about metadata storage 2021-06-16 09:42:28 +02:00
Dipak Acharya 63ce4ab71d Fix suite names of new test suite in expected failure file 2021-06-16 13:27:24 +05:45
Willy KloucekandPascal Wengerter 27d55882d1 Apply suggestions from code review
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-06-16 08:54:26 +02:00
Willy KloucekandPascal Wengerter 2e77412941 Apply suggestions from code review
Co-authored-by: Pascal Wengerter <pwengerter@owncloud.com>
2021-06-16 08:53:23 +02:00
Dipak Acharya c03428eac8 [Tests-Only] update expected failure file with new issues 2021-06-16 11:21:07 +05:45
Pascal Wengerter bbc01b3763 Merge pull request #2108 from mrkara/fix-wopiserver-deploy-docs
[docs-only] Fix broken url and path on ocis_wopi.md
2021-06-15 17:10:46 +01:00
Willy Kloucek 757caa4287 add links 2021-06-15 16:25:41 +02:00
Willy Kloucek 15080fc5e6 wip: extension development 2021-06-15 12:20:22 +02:00
Willy Kloucek ba438022f0 add argument: integration testing 2021-06-15 08:55:20 +02:00
Michael Barz 2a07339f7b Merge pull request #2028 from owncloud/add-open-graph-docs
[docs-only] Update 0007-api-for-spaces.md
2021-06-14 20:09:53 +02:00
David Christofas e18b05c3f0 Merge pull request #2172 from owncloud/dependabot/go_modules/ocis/github.com/rs/zerolog-1.23.0
Bump github.com/rs/zerolog from 1.22.0 to 1.23.0 in /ocis
2021-06-14 12:44:45 +02:00
Phil Davis 06570ae469 Merge pull request #2159 from owncloud/fixexpectedFailures
[Tests-Only]Adjust expected failures file
2021-06-14 14:48:27 +05:45
Jasmine Baral b9f7d20539 Adjust expected failures file 2021-06-14 14:01:21 +05:45
dependabot[bot] 94cfb4805d Bump github.com/rs/zerolog from 1.22.0 to 1.23.0 in /ocis
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 06:33:12 +00:00
Pascal Wengerter 8e64bf5570 Merge pull request #2033 from owncloud/dependabot/npm_and_yarn/accounts/easygettext-2.17.0
Bump easygettext from 2.16.1 to 2.17.0 in /accounts
2021-06-11 13:52:11 +01:00
dependabot[bot] ba44ad921c Bump easygettext from 2.16.1 to 2.17.0 in /accounts
Bumps [easygettext](https://github.com/polyconseil/easygettext) from 2.16.1 to 2.17.0.
- [Release notes](https://github.com/polyconseil/easygettext/releases)
- [Changelog](https://github.com/Polyconseil/easygettext/blob/master/CHANGELOG.md)
- [Commits](https://github.com/polyconseil/easygettext/compare/v2.16.1...v2.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 12:13:30 +00:00
David Christofas a218627df2 draft an adr for extension templates 2021-06-11 12:44:31 +02:00
Phil Davis 82081817f6 Merge pull request #2137 from owncloud/adjustClosedIssuesInExpectedFailures-owncloudStorage
[Tests-Only]Replace closed issues with correct issues in expected failures file
2021-06-11 11:49:58 +05:45
Pascal Wengerter 2b570c44e3 Merge pull request #2085 from owncloud/dependabot/npm_and_yarn/settings/browserslist-4.16.6
Bump browserslist from 4.16.3 to 4.16.6 in /settings
2021-06-10 21:03:58 +01:00
Pascal Wengerter 224f73c58c Merge pull request #2084 from owncloud/dependabot/npm_and_yarn/onlyoffice/browserslist-4.16.6
Bump browserslist from 4.16.3 to 4.16.6 in /onlyoffice
2021-06-10 21:03:33 +01:00
Pascal Wengerter 025e7484c9 Merge pull request #2162 from owncloud/dependabot/npm_and_yarn/idp/react-redux-7.2.4
Bump react-redux from 7.2.2 to 7.2.4 in /idp
2021-06-10 21:02:17 +01:00
dependabot[bot] 136811f877 Bump react-redux from 7.2.2 to 7.2.4 in /idp
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.2 to 7.2.4.
- [Release notes](https://github.com/reduxjs/react-redux/releases)
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/react-redux/compare/v7.2.2...v7.2.4)

---
updated-dependencies:
- dependency-name: react-redux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 18:13:30 +00:00
dependabot[bot] 9a411f8995 Bump classnames from 2.2.6 to 2.3.1 in /idp
Bumps [classnames](https://github.com/JedWatson/classnames) from 2.2.6 to 2.3.1.
- [Release notes](https://github.com/JedWatson/classnames/releases)
- [Changelog](https://github.com/JedWatson/classnames/blob/master/HISTORY.md)
- [Commits](https://github.com/JedWatson/classnames/compare/v2.2.6...v2.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 18:12:09 +00:00
Pascal Wengerter 8c26e58ddd Merge pull request #2087 from owncloud/dependabot/npm_and_yarn/idp/css-loader-5.2.6
Bump css-loader from 5.2.5 to 5.2.6 in /idp
2021-06-10 19:07:23 +01:00
dependabot[bot] 9d8099347c Bump browserslist from 4.16.3 to 4.16.6 in /onlyoffice
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 18:05:28 +00:00
dependabot[bot] 1496462329 Bump browserslist from 4.16.3 to 4.16.6 in /settings
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 18:05:11 +00:00
Pascal Wengerter 4a7e31040d Merge pull request #2155 from owncloud/dependabot/npm_and_yarn/onlyoffice/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9 in /onlyoffice
2021-06-10 19:04:52 +01:00
Pascal Wengerter 34dff1c325 Merge pull request #2154 from owncloud/dependabot/npm_and_yarn/settings/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9 in /settings
2021-06-10 19:04:35 +01:00
Pascal Wengerter c5d362bc3e Merge pull request #2153 from owncloud/dependabot/npm_and_yarn/accounts/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9 in /accounts
2021-06-10 19:04:13 +01:00
Pascal Wengerter 244e53f91b Merge pull request #2083 from owncloud/dependabot/npm_and_yarn/accounts/browserslist-4.16.6
Bump browserslist from 4.16.3 to 4.16.6 in /accounts
2021-06-10 19:03:19 +01:00
Willy Kloucek 86adc2bd0b fix jwt secrets for wopiserver example 2021-06-10 16:25:31 +02:00
David Christofas 8e11efaa98 Automated changelog update [skip ci] 2021-06-10 11:52:15 +00:00
David Christofas 7062b432c5 Merge pull request #2118 from owncloud/graph-explorer-client-registration
properly configure the graph-explorer openid connect client
2021-06-10 13:51:44 +02:00
David Christofas 68079b7a4b properly configure the graph-explorer openid connect client 2021-06-10 13:11:47 +02:00
dependabot[bot] 54a2981a3f Bump hosted-git-info from 2.8.8 to 2.8.9 in /onlyoffice
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 21:35:07 +00:00
dependabot[bot] 93205dd9b0 Bump hosted-git-info from 2.8.8 to 2.8.9 in /settings
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 21:35:07 +00:00
dependabot[bot] 920d68a0a9 Bump hosted-git-info from 2.8.8 to 2.8.9 in /accounts
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 21:35:04 +00:00
Alex Unger fd8b3d23dd Merge pull request #2136 from owncloud/unify_go_version 2021-06-09 23:34:23 +02:00
Phil Davis a845cd2a89 Merge pull request #2152 from owncloud/qualify_expected_failures
Move old/new chunking to won't fix in expected failures
2021-06-09 21:09:04 +05:45
Patrick Maier 61466d2c02 Add old/new chunking to won't fix in expected failures 2021-06-09 16:39:25 +02:00
Alex Unger 175062e70c Automated changelog update [skip ci] 2021-06-09 12:09:50 +00:00
Alex Unger 72aa5972b0 Merge pull request #2129 from owncloud/tls-config-location 2021-06-09 14:09:23 +02:00
Jasmine Baral b29c747317 Adjust few issues 2021-06-09 16:08:02 +05:45
A.Unger 33f8cd04b2 Merge branch 'master' into tls-config-location 2021-06-09 11:16:27 +02:00
Phil Davis 8251e620c8 Merge pull request #2117 from owncloud/adjustIssuesInExpectedFailures
[Tests-Only]Adjust expected failures file
2021-06-09 09:18:47 +05:45
A.Unger 7efb715af7 fix sonarcloud offenses 2021-06-08 15:25:46 +02:00
A.Unger f19ed5aede os_test package 2021-06-08 13:38:05 +02:00
A.Unger 3e8198e4c2 check err on persistKey 2021-06-08 13:24:25 +02:00
Jasmine Baral c170e279e8 Adjust expected failures file 2021-06-08 17:08:34 +05:45
A.Unger 7c0a4bdc0d add test coverage for panics 2021-06-08 13:23:14 +02:00
A.Unger 83f628052d add new os pkg on ocis-pkg 2021-06-08 13:08:32 +02:00
A.Unger 24b94dd2f1 add unit tests 2021-06-08 12:50:15 +02:00
Willy Kloucek 71e2cad13e unifiy go version 2021-06-08 11:49:57 +02:00
A.Unger 5c0aabedd7 Merge branch 'master' into tls-config-location 2021-06-08 11:41:01 +02:00
PKiran 820205dfe5 Merge pull request #2123 from owncloud/full-ci-for-version-tag
[Tests-Only] Check for version tags while running web tests
2021-06-08 15:00:04 +05:45
A.Unger 28ea3b7341 update idp dependencies -> go get github.com/sirupsen/logrus@v1.7.0 2021-06-08 10:58:56 +02:00
A.Unger 6406982ab0 add go get github.com/fsnotify/fsnotify@v1.4.9 2021-06-08 10:54:14 +02:00
A.Unger 65c45caa8d update dependencies 2021-06-08 10:49:37 +02:00
A.Unger fb31bf4427 namespace user config dir with ocis 2021-06-08 10:45:10 +02:00
A.Unger c108d6d9f9 dont use all caps... 2021-06-08 10:39:30 +02:00
A.Unger 5518c6cf1c add tests for crypto.GenCert 2021-06-08 10:37:26 +02:00
Parajuli Kiran 76594d375b updated latest web commit id 2021-06-08 14:15:09 +05:45
A.Unger 7028bc4a44 Merge branch 'master' into tls-config-location 2021-06-08 09:31:09 +02:00
Michael Barz 4fa69900a3 Update _index.md 2021-06-08 09:25:43 +02:00
Michael Barz 1c3254a357 Automated changelog update [skip ci] 2021-06-08 06:54:30 +00:00
Michael Barz 75a0345844 Merge pull request #2134 from owncloud/release-1.7.0
Merge back ocis release 1.7.0
2021-06-08 08:53:50 +02:00
Parajuli Kiran 9277a8d6f7 Run full-ci if build event is tag while running web tests 2021-06-08 09:39:09 +05:45
A.Unger 870201902a Merge branch 'master' into tls-config-location 2021-06-07 20:49:06 +02:00
A.Unger 7d94812d1e change log level to info 2021-06-07 20:48:45 +02:00
A.Unger b64d13c20e more refactoring 2021-06-07 20:00:47 +02:00
A.Unger d4d1075fdd refactor crypto code 2021-06-07 19:57:18 +02:00
Ilja Neumann 58f8258560 Automated changelog update [skip ci] 2021-06-07 16:44:30 +00:00
Ilja Neumann 073503beb9 Use ocis registry for refresh
The go-micro registry-singleton ignores the ocis configuration and defaults to mdns
2021-06-07 18:43:55 +02:00
Florian Schade 1e79671580 changelog 1.7.0 2021-06-07 17:45:22 +02:00
A.Unger 8d3bbe47fc Merge branch 'master' into tls-config-location 2021-06-07 17:40:01 +02:00
A.Unger 3101c292bb move crypto over to ocis-pkg 2021-06-07 17:11:29 +02:00
Michael Barz 8ec6ac3de9 Merge pull request #2124 from owncloud/refs-patch-1
Update stale.yml
2021-06-07 16:31:05 +02:00
A.Unger afec556f8d make changelog linter happy 2021-06-07 16:14:02 +02:00
Phil Davis 83e4dbf1e1 Merge pull request #2125 from owncloud/use-different-selenium
[Tests-Only] Used different version of selenium for settings UI test
2021-06-07 19:43:04 +05:45
A.Unger a1a6dfab5a update readme 2021-06-07 15:46:14 +02:00
A.Unger 150e5f4c01 use os.UserConfigDir 2021-06-07 15:44:45 +02:00
A.Unger 2498a50199 add changelog 2021-06-07 15:04:03 +02:00
A.Unger 2508ce0ef7 use user system config to store tls artifacts 2021-06-07 15:00:52 +02:00
Parajuli Kiran 51abdf12b3 fixed ci format 2021-06-07 17:03:28 +05:45
Parajuli Kiran 9bb9d3d80a Used another selenium service for settings ui test 2021-06-07 16:52:35 +05:45
Alex Unger 8920b2c65e Update stale.yml 2021-06-07 12:57:49 +02:00
Jan Ackermann e11e286d33 [tx] updated from transifex 2021-06-07 01:08:29 +00:00
Jan Ackermann d3d1dd65a8 [tx] updated from transifex 2021-06-06 00:06:47 +00:00
Phil Davis b1e410b674 Merge pull request #2116 from owncloud/web-test-with-parts
[Tests-Only] Run web test with parts
2021-06-04 23:02:10 +05:45
Phil Davis d78aef722c enable localApiTests again 2021-06-04 21:58:47 +05:45
Phil Davis f9b2c9538d Bump core commit id for tests 2021-06-04 21:04:57 +05:45
Phil Davis 4b51164357 Add an expected-failures file for webUI ocisSmokeTest runs 2021-06-04 21:00:04 +05:45
Phil Davis c6216b3e22 Very minor change to expected-failures 2021-06-04 20:44:05 +05:45
Phil Davis 452fb79eec skip webUI tests tagged federated-server-needed 2021-06-04 20:11:38 +05:45
Jörn Friedrich Dreyer add77b991b hide todos on print, add pagebreaks
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-06-04 13:47:52 +00:00
Phil Davis 6a54682c69 Adjust expected-failures to pass Codacy style checks 2021-06-04 18:01:58 +05:45
Phil Davis bf9936f764 Add the full list of expected-failures 2021-06-04 17:35:37 +05:45
Phil Davis 61a07967d9 adjust comment about full-ci 2021-06-04 16:50:24 +05:45
Phil Davis 25dc6eb4cb set skip back to False for regular acceptance tests 2021-06-04 16:49:34 +05:45
Parajuli Kiran e4aa00d4cd used web master branch, and pin latest commit id 2021-06-04 15:46:29 +05:45
Parajuli Kiran c13a504d05 Run web tests in parts 2021-06-03 16:39:14 +05:45
Parajuli Kiran 52befa0299 Added web branch and commit id 2021-06-03 16:20:06 +05:45
Jörn Friedrich Dreyer 2fee44581f TODOs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-06-02 21:12:46 +00:00
Pascal Wengerter 279c73fbb5 Merge pull request #2115 from owncloud/020602021_replace-webhippie-imgs-in-ci
[tests-only] Replace webhippie nodejs & redis imgs in CI
2021-06-02 17:30:12 +01:00
Pascal Wengerter fb5b34d136 Replace webhippie nodejs & redis imgs in CI 2021-06-02 16:45:16 +01:00
Phil Davis 947b3d6dad Merge pull request #2100 from owncloud/bump-commit-id-20210531
[tests-only] Bump core and web commit id
2021-06-02 13:15:14 +05:45
Swikriti Tripathi 18b437ce5e Bump core and web commit id and add failing tests to expected to fail file 2021-06-02 12:26:00 +05:45
Patrick Maier 1b4fe83c58 Merge pull request #2110 from owncloud/1.7.0_release_notes
[docs-only] 1.7.0 release notes
2021-06-01 18:10:04 +02:00
Patrick Maier de20b85d18 [docs-only] 1.7.0 release notes 2021-06-01 17:50:37 +02:00
Jörn Friedrich Dreyer 5ce1841609 more details
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-06-01 15:32:00 +00:00
David Christofas b696bf50d7 Automated changelog update [skip ci] 2021-06-01 13:53:04 +00:00
David Christofas 9a273639f1 Merge pull request #2104 from owncloud/update-reva
update reva to v1.7.1-0.20210531093513-b74a2b156af6
2021-06-01 15:52:27 +02:00
David Christofas c0cafba544 update reva to v1.7.1-0.20210531093513-b74a2b156af6 2021-06-01 15:11:32 +02:00
David Christofas 38d817db41 Automated changelog update [skip ci] 2021-06-01 12:46:49 +00:00
David Christofas 99b517a3ea Merge pull request #2109 from owncloud/fix-groups-index
fix: make groups index case sensitive
2021-06-01 14:46:09 +02:00
David Christofas 03aa64168c fix: make groups index case sensitive 2021-06-01 13:33:24 +02:00
PKiran 06da18c697 Merge pull request #2105 from owncloud/remove-web-test-suites-list
[Tests-Only] Removed web suite lists
2021-06-01 16:54:34 +05:45
Muhammet Kara 192cff699f Fix broken url and path on ocis_wopi.md
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
2021-06-01 13:50:01 +03:00
Parajuli Kiran d441cfbd35 Removed web suite lists 2021-06-01 16:15:08 +05:45
Jan Ackermann f4195285f8 [tx] updated from transifex 2021-06-01 01:10:15 +00:00
Michael Barz 3f97792f4d Automated changelog update [skip ci] 2021-05-31 15:39:26 +00:00
Michael Barz cd78c91507 Merge pull request #2096 from owncloud/update-web-3.2.0
Update web to 3.2.0
2021-05-31 17:38:58 +02:00
Jörn Friedrich Dreyer 7c21b381e1 flesh out migration docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-05-31 15:07:48 +00:00
Benedikt Kulmann 8eb345b368 Update assets to final web v3.2.0 release 2021-05-31 16:54:16 +02:00
Benedikt Kulmann 743a63811b Update web to 3.2.0-rc1 2021-05-30 12:35:07 +02:00
Jan Ackermann 202c6ce4fa [tx] updated from transifex 2021-05-29 01:07:29 +00:00
Phil Davis bde661faa1 Merge pull request #2093 from owncloud/run-only-ocisSmokeTest
[tests-only] Run web UI ocisSmokeTest scenarios in a single pipeline
2021-05-28 16:28:07 +05:45
Phil Davis 6bf1652df4 Run web UI ocisSmokeTest scenarios in a single pipeline 2021-05-27 18:28:14 +05:45
Willy Kloucek a01e3a78e4 Merge pull request #2090 from owncloud/wopiserver_gateway_addr
[deployment examples] adapt WOPI example
2021-05-27 12:19:31 +02:00
Willy Kloucek 64ab98fa40 [deployment examples] adapt WOPISERVER_REVA_GATEWAY to WOPISERVER_REVA_GATEWAY_ADDR because of wopiserver change 2021-05-27 11:30:15 +02:00
Pascal Wengerter eaa8022720 Automated changelog update [skip ci] 2021-05-27 08:39:40 +00:00
Pascal Wengerter 96811d7c52 Merge pull request #2088 from owncloud/26052021_idp-color-contrasts
Improve color contrasts on IDP login
2021-05-27 09:37:28 +01:00
Pascal Wengerter 97882210eb Add .md file extension to unreleased changelot items 2021-05-27 08:38:08 +01:00
Willy Kloucek a90d2e2703 Merge pull request #2082 from owncloud/fix_acceptance_tests_in_docker
[tests-only] first fixes
2021-05-27 09:18:26 +02:00
Pascal Wengerter 0628e66a0e Improve color contrasts on IDP login 2021-05-26 16:50:50 +01:00
dependabot[bot] 5eecdc149e Bump css-loader from 5.2.5 to 5.2.6 in /idp
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.5 to 5.2.6.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.5...v5.2.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 14:55:09 +00:00
dependabot[bot] 2f995a8791 Bump browserslist from 4.16.3 to 4.16.6 in /accounts
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 14:52:26 +00:00
David Christofas 7f1fb8db62 Merge pull request #2080 from owncloud/idp-update-npm-deps
update idp npm dependencies
2021-05-26 16:51:47 +02:00
Willy Kloucek 796376586b clean up and refactor on 2021-05-26 16:31:54 +02:00
Willy Kloucek b575e93cdf [CI SKIP] first fixes 2021-05-26 15:25:09 +02:00
David Christofas 9c267af1de update idp npm dependencies 2021-05-26 14:02:29 +02:00
PKiran 8b1119f709 Merge pull request #2075 from owncloud/add-previews-tests-bug-demonstrations
[Tests-Only] Added conflicting previews tests
2021-05-26 17:21:38 +05:45
David Christofas 0d6e6b5ce8 Merge pull request #2054 from owncloud/dependabot/go_modules/ocis/github.com/rs/zerolog-1.22.0
Bump github.com/rs/zerolog from 1.21.0 to 1.22.0 in /ocis
2021-05-26 13:17:53 +02:00
PKiran e0b4d3bfdd Merge pull request #2074 from owncloud/skip-on-ocis
[Tests-Only] Added skipOnOcis tag for localApiTest suite
2021-05-26 14:29:55 +05:45
dependabot[bot] bf83d1718f Bump github.com/rs/zerolog from 1.21.0 to 1.22.0 in /ocis
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.21.0...v1.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 08:39:49 +00:00
Phil Davis 7ceda68962 Merge pull request #2072 from owncloud/bump-commit-id
[tests-only]Bump core and web commit id for tests
2021-05-26 14:01:13 +05:45
Swikriti Tripathi 33d656ec5c Bump core and core commit id for tests 2021-05-26 13:08:38 +05:45
Pascal Wengerter 194206ba4c Merge pull request #2052 from owncloud/dirkstascheit-patch-1
Update _index.md
2021-05-26 08:21:32 +01:00
Willy Kloucek 027a32eaae Merge pull request #2076 from owncloud/latest_web_continuous_deployment
[docs-only] add reference to ocis.ocis-web.latest.owncloud.works
2021-05-26 09:19:45 +02:00
Parajuli Kiran d5e50a082d say skip for local api tests 2021-05-26 09:34:36 +05:45
Willy Kloucek 8919311cbf add reference to ocis.ocis-web.latest.owncloud.works 2021-05-25 19:06:54 +02:00
Willy Kloucek e67e6132d3 Merge pull request #2073 from owncloud/deployment_examples_disable_collabora_welcome_message
[deployment examples] improve WOPI server example
2021-05-25 16:39:11 +02:00
Willy Kloucek 427c097830 remove foo as default 2021-05-25 15:42:21 +02:00
Parajuli Kiran 575a231410 Added conflicting previews tests 2021-05-25 18:27:59 +05:45
Parajuli Kiran 0d3b22030f Adde skipOnOcis tag for localApiTest suite 2021-05-25 17:42:56 +05:45
Willy Kloucek 9b34a974d6 fix deployment for https://github.com/owncloud/ocis-wopiserver/pull/5 2021-05-25 12:51:26 +02:00
Willy Kloucek 78d96d49b9 disable welcome message for collabora 2021-05-25 12:27:51 +02:00
Artur Neumann 3ca92bc21c Merge pull request #2063 from owncloud/reduceOcisLog
[tests-only] reduce ocis output log for tests
2021-05-21 15:56:18 +05:45
Artur Neumann 282e45fa11 reduce ocis output log for tests 2021-05-21 15:08:20 +05:45
Willy Kloucek 332f4d3f60 Merge pull request #2060 from owncloud/ocis_1_6_0_storage_breaking_change
[docs-only] add breaking change to docs
2021-05-21 07:45:16 +02:00
Willy Kloucek 96673b08e0 finish release notes 2021-05-20 08:18:14 +02:00
Willy Kloucek de2a21c500 add breaking change to docs 2021-05-19 16:21:42 +02:00
Alex Unger 34a8ed3816 Merge pull request #2039 from owncloud/switch_to_http_internally
deployment examples: switch to http internally
2021-05-19 13:30:29 +02:00
Willy Kloucek 4e09c7f354 Merge pull request #2009 from owncloud/change_depends_on_logic
[CI-only] change dependson logic
2021-05-19 12:34:52 +02:00
Willy Kloucek d3da526464 Merge pull request #2040 from owncloud/remove_insecure
Remove insecure
2021-05-19 09:23:58 +02:00
Willy Kloucek cb2957f3b7 change dependson logic 2021-05-19 09:22:28 +02:00
Willy Kloucek da9989f172 generate embed.go 2021-05-19 08:16:29 +02:00
Willy Kloucek 1ea97e92fc remove insecure 2021-05-19 08:12:46 +02:00
Artur Neumann a812ad6b0d Merge pull request #2055 from owncloud/bump-commit-ids
[tests-only] Bump commit ids for tests
2021-05-19 09:05:19 +05:45
saw-jan b34933dacf bump commit ids as of 20210518 2021-05-18 16:18:45 +05:45
Willy Kloucek 9b753d51cd Merge pull request #2026 from owncloud/dcr_changes
dynamic client registration changes
2021-05-18 09:35:42 +02:00
Willy Kloucek 53739f1fdf generate 2021-05-18 08:23:22 +02:00
Willy Kloucek 0f377cabc8 Merge pull request #2053 from owncloud/breaking_change_1_6_0
[docs-only] add 1.6.0 breaking changes to docs
2021-05-18 08:22:48 +02:00
Willy Kloucek 9533c5dc21 update konnect 2021-05-18 08:12:34 +02:00
Willy Kloucek d0e5546c6f dynamic client registration changes 2021-05-18 08:08:18 +02:00
Willy Kloucek 7bc064f4ff fix version 2021-05-18 08:01:22 +02:00
Willy Kloucek d1a64a8135 add 1.6.0 breaking changes to docs 2021-05-17 16:29:58 +02:00
Dirk Stascheit 92989c9919 Update _index.md 2021-05-17 11:47:49 +02:00
Michael Barz 17cf468368 Automated changelog update [skip ci] 2021-05-17 08:56:32 +00:00
Michael Barz 3b182d49c9 Merge pull request #2051 from owncloud/release-1.6.0
Merge back Release branch
2021-05-17 10:55:56 +02:00
Jan Ackermann e7aed9520a [tx] updated from transifex 2021-05-17 00:08:44 +00:00
Benedikt Kulmann 46f3dc62d2 Automated changelog update [skip ci] 2021-05-16 07:25:11 +00:00
Benedikt Kulmann 54a196a24e Merge pull request #2036 from owncloud/introduce-user-profile-picture-capability
Add profile_picture to user capabilities
2021-05-16 09:19:17 +02:00
Phil Davis a45c4e0011 Merge pull request #2048 from owncloud/bump-commit-ids
[tests-only] Bump commit ids for tests
2021-05-14 21:51:55 +05:45
saw-jan c6df0470ba update expected-failures files 2021-05-14 18:51:04 +05:45
saw-jan 3f86fe8066 bump commit ids as of 20210514 2021-05-14 17:05:46 +05:45
Phil Davis 8677761a7e Merge pull request #2038 from owncloud/skip-in-ci
[tests-only] Feature to skip and debug test suites in CI
2021-05-13 12:11:35 +05:45
saw-jan 3c1749e36e add skips and debug suites 2021-05-13 10:40:21 +05:45
Jörn Friedrich Dreyer abbfbe2d14 Automated changelog update [skip ci] 2021-05-12 14:48:11 +00:00
Jörn Friedrich Dreyer 8446779b42 Merge pull request #1886 from aduffeck/s3ng-integration
Integrate the s3ng storage driver
2021-05-12 16:47:33 +02:00
Florian Schade 473d9ca6d5 prepare changelog 2021-05-12 16:29:58 +02:00
Pascal Wengerter a200475b0c Automated changelog update [skip ci] 2021-05-12 14:12:00 +00:00
Pascal Wengerter 8b25351595 Merge pull request #2045 from owncloud/update-web-v3.1.0
Update web to v3.1.0
2021-05-12 15:11:30 +01:00
Pascal Wengerter 68f119f0ff Add profile_picture to user capabilities 2021-05-12 14:53:47 +01:00
Pascal Wengerter 1f3e0697cf Bump web commit ID 2021-05-12 14:26:08 +01:00
Pascal Wengerter b499af3fb8 Merge branch 'master' into update-web-v3.1.0 2021-05-12 13:36:29 +01:00
Pascal Wengerter 8c76a866fc Update web v3.1.0 assets bundle & web commit ID in drone.env 2021-05-12 13:33:56 +01:00
Jörn Friedrich Dreyer b8621aa55b Update tests/acceptance/docker/src/ceph.yml 2021-05-12 12:53:54 +02:00
André Duffeck 6c3280cade Also enable s3ng flags for the metadata storage 2021-05-12 10:02:29 +02:00
Michael Barz d2cc70c2e5 Merge pull request #2047 from owncloud/release_notes
[docs-only] 1.6.0 Release Notes
2021-05-12 09:48:21 +02:00
André Duffeck 4a9c6e8380 Add changelog 2021-05-12 09:23:05 +02:00
André Duffeck 87ec7a5125 Integrate the s3ng storage driver 2021-05-12 09:23:05 +02:00
Patrick Maier 3b623bc2bf [docs-only] 1.6.0 Release Notes 2021-05-11 17:24:07 +02:00
David Christofas b06843b707 Merge pull request #2041 from owncloud/dependabot/go_modules/ocis/github.com/thejerf/suture/v4-4.0.1
Bump github.com/thejerf/suture/v4 from 4.0.0 to 4.0.1 in /ocis
2021-05-11 17:10:06 +02:00
dependabot[bot] 918ce630bf Bump github.com/thejerf/suture/v4 from 4.0.0 to 4.0.1 in /ocis
Bumps [github.com/thejerf/suture/v4](https://github.com/thejerf/suture) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/thejerf/suture/releases)
- [Commits](https://github.com/thejerf/suture/compare/v4.0.0...v4.0.1)

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

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

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

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

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

update root metadata location on ci

Revert "update root metadata location on ci"

This reverts commit a7bcf9d645f9f35ac82ae32df77c0c866be6a608.

update .drone.star with no STORAGE_METADATA_ROOT

Revert "update .drone.star with no STORAGE_METADATA_ROOT"

This reverts commit 857db35c58bfb7c6e59f33b79e79a73886161d82.

Revert "change the order where we ser STORAGE_METADATA_ROOT"

This reverts commit 6f2c209c9aa30c310829ad4528327de94603ba56.

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

This reverts commit 64bfa3f284380de8cbf4d9652d4e9b6ff9c69629.

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

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

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

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

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

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

Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
2021-03-11 13:38:25 +03:00
David Christofas f2dcc93e31 Automated changelog update [skip ci] 2021-03-11 09:19:36 +00:00
David Christofas 11dd0ae2d8 Merge pull request #1791 from owncloud/thumbnails-support-gifs
add support for gifs to the thumbnails service
2021-03-11 10:18:39 +01:00
A.Unger 8f67dd3b08 fix sonar smells 2021-03-11 09:38:10 +01:00
Jannik Stehle 84911d12a3 Automated changelog update [skip ci] 2021-03-11 07:38:45 +00:00
Jannik Stehle 8f9e1dd5d8 Merge pull request #1792 from owncloud/issues/web-4322
Add focus to input elements on login page
2021-03-11 08:37:20 +01:00
David Christofas b490e32d7d add support for gifs to the thumbnails service 2021-03-10 17:29:26 +01:00
Jannik Stehle cdeda5c012 Include updated embed.go file for the idp app 2021-03-10 17:23:37 +01:00
A.Unger d3af1eacfb kill and start correctly 2021-03-10 17:02:06 +01:00
A.Unger 4ee52cc9cd copy config, since it is shared 2021-03-10 16:35:11 +01:00
Jannik Stehle 83a7103620 Add focus to input elements on login page 2021-03-10 16:23:05 +01:00
Jörn Friedrich Dreyer 9424caede8 list running services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-10 15:12:50 +00:00
A.Unger b19e739137 increase logging 2021-03-10 16:03:59 +01:00
A.Unger 117829515b supervisor logging 2021-03-10 15:40:43 +01:00
A.Unger a145ddf2b2 Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-10 14:46:13 +01:00
Willy Kloucek 6f9df9830b Automated changelog update [skip ci] 2021-03-10 13:34:27 +00:00
Willy Kloucek a9a02c2ea6 Merge pull request #1788 from owncloud/release-1.3.0
merge back release 1.3.0
2021-03-10 14:31:39 +01:00
Phil Davis a8ea9cc94e Automated changelog update [skip ci] 2021-03-10 13:16:51 +00:00
Phil Davis bcfd6acd87 Merge pull request #1790 from owncloud/clarify-expected-failures
clarify expected failures
2021-03-10 19:00:25 +05:45
Jörn Friedrich Dreyer 40eec3460b clarify expected failures
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-10 12:15:54 +00:00
A.Unger a473780c9d add accounts to delayed 2021-03-10 12:34:23 +01:00
A.Unger 6054e6b4a1 sequential access to viper config (still broken) + add delayed execution to storage-sharing 2021-03-10 12:26:14 +01:00
David Christofas f4c1c063fa Automated changelog update [skip ci] 2021-03-10 11:20:51 +00:00
David Christofas 17a700f0a2 Merge pull request #1785 from owncloud/fix-jpeg-thumbnails
fix jpeg thumbnails
2021-03-10 12:05:54 +01:00
A.Unger 0d3350497a Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-10 11:45:43 +01:00
A.Unger e8c57394d8 fix debug services shutdown 2021-03-10 11:38:21 +01:00
A.Unger 4e37d4a2f6 update commands when running in supervised mode 2021-03-10 11:10:46 +01:00
David Christofas ff618c076a fix jpeg thumbnails 2021-03-10 10:06:19 +01:00
Michael Barz 097cc1548a Merge pull request #1783 from owncloud/relnotes_1.3
[docs-only] Add Release Notes for oCIS release 1.3.0
2021-03-10 09:53:15 +01:00
Phil Davis 457ff589be Apply suggestions from 1.3.0 release notes review 2021-03-10 05:35:15 +05:45
Phil Davis 4e62350696 Merge pull request #1784 from owncloud/09032021_update_docs
[docs-only] Fix broken sample user password, improve readability
2021-03-10 05:34:28 +05:45
Pascal Wengerter ec8177d75e Fix sample user password & improve readability 2021-03-10 05:29:38 +05:45
A.Unger 25909d5923 fix duplicated key 2021-03-09 23:16:13 +01:00
A.Unger 90aea4f58d tweak proxy scalability 2021-03-09 22:58:18 +01:00
Klaas Freitag 27e3fbcf91 Add changelog for oCIS release 1.3.0 2021-03-09 20:01:44 +01:00
A.Unger 5f9133386d fix run / kill 2021-03-09 19:15:59 +01:00
A.Unger 60a1e3ce19 runtime/service cleanup 2021-03-09 17:36:47 +01:00
A.Unger 9c1a51be01 dead code 2021-03-09 17:33:18 +01:00
A.Unger f8a651bad2 propagate logging config to storages 2021-03-09 17:16:12 +01:00
Jörn Friedrich Dreyer 2bfdab8735 add remaining services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-09 16:03:47 +00:00
Michael Barz 1ca18f4cd2 prepare release 1.3.0
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2021-03-09 16:27:44 +01:00
Pascal Wengerter 98709a8dfc Automated changelog update [skip ci] 2021-03-09 15:17:29 +00:00
Pascal Wengerter ebd863e73e Merge pull request #1776 from owncloud/update-web-2.0.2
Update web version to 2.0.2
2021-03-09 15:17:00 +00:00
A.Unger 29910838c1 rework config 2021-03-09 15:55:45 +01:00
Pascal Wengerter 255b872b30 Update web release docs && re-run CI 2021-03-09 13:55:10 +00:00
Pascal Wengerter dc5496e16c Update web version to 2.0.2 2021-03-09 13:54:38 +00:00
Phil Davis e0eff6ee41 Merge pull request #1760 from owncloud/bumpCommitId
[Tests-only] bump web and core commit id
2021-03-09 19:02:27 +05:45
Swikriti Tripathi c939d6042b bump web and core commit id and adjust expected to fail file 2021-03-09 18:02:11 +05:45
A.Unger 757cb9abe9 wip 2021-03-09 13:10:05 +01:00
Phil Davis 253e180355 Merge pull request #1781 from owncloud/fix_ci_docs
[docs-only] fix ci docs
2021-03-09 17:42:53 +05:45
Willy Kloucek 84888ebce1 fix ci docs 2021-03-09 11:27:21 +01:00
Willy Kloucek d1701b3035 conditionally include bingo 2021-03-09 11:01:46 +01:00
A.Unger 9284c232b8 undo log lines 2021-03-09 10:31:58 +01:00
Jörn Friedrich Dreyer 463aa76833 disable tls for the idp
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-08 20:26:40 +00:00
A.Unger 34257672d3 log request path instead 2021-03-08 17:18:09 +01:00
Jörn Friedrich Dreyer bb7cfb5a87 obnoxious proxy logging
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-08 16:13:19 +00:00
Jörn Friedrich Dreyer 97754be003 wait for 5 sec after the proxy is available
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-08 15:41:36 +00:00
Alex Unger 58c5ad2e2f increase logging to debug on CI 2021-03-08 13:54:39 +01:00
A.Unger 8b29f096e8 tweak drone star 2 2021-03-05 16:14:32 +01:00
A.Unger bdff8b84f8 tweak drone star 2021-03-05 16:13:49 +01:00
A.Unger 3b83e9dc93 Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-05 15:41:02 +01:00
A.Unger 6d410e596c drop dead code 2021-03-05 14:50:56 +01:00
David Christofas 0eda3b882b Merge pull request #1763 from owncloud/accounts-update-npm-deps
update npm dependencies
2021-03-05 14:33:43 +01:00
David Christofas fb6b83a8cc Merge pull request #1765 from owncloud/idp-update-npm-deps
update npm dependencies
2021-03-05 14:33:36 +01:00
A.Unger 074eb8d982 propagate logging using config options 2021-03-05 14:28:38 +01:00
A.Unger 277ccc8b82 patch config parsing 2021-03-05 14:08:40 +01:00
David Christofas 9da10fc14e Merge pull request #1764 from owncloud/onlyoffice-update-npm-dependencies
update npm dependencies
2021-03-05 08:56:25 +01:00
A.Unger bb2431839d prepend storage- 2021-03-04 22:39:21 +01:00
David Christofas 9c6fbedfd5 update npm dependencies 2021-03-04 21:20:56 +01:00
David Christofas 400cd5e3e5 update npm dependencies 2021-03-04 20:49:13 +01:00
David Christofas 5a434d6deb update npm dependencies 2021-03-04 20:42:44 +01:00
Jörn Friedrich Dreyer e4c5043ef3 make linter happy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-04 15:37:33 +00:00
Jörn Friedrich Dreyer 9669ae3ade precreate folders to json files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-04 15:26:03 +00:00
A.Unger 2a565b80fa Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-04 15:28:42 +01:00
A.Unger f2660dd608 add storage-sharing 2021-03-04 15:28:21 +01:00
A.Unger 01b507c4dc add storage-public-link 2021-03-04 15:25:21 +01:00
A.Unger f62c6577c4 add storage-users 2021-03-04 15:23:11 +01:00
A.Unger 59b76bc5a6 add storage-home 2021-03-04 15:20:59 +01:00
A.Unger 7e834c11d6 add storage-auth-bearer 2021-03-04 15:18:35 +01:00
A.Unger 308467b134 panic? 2021-03-04 15:14:25 +01:00
A.Unger 40ff29403f add storage-groupsprovider 2021-03-04 15:00:02 +01:00
A.Unger 255fc4bc92 leftover comment 2021-03-04 14:58:19 +01:00
A.Unger cea043c2ac add storage-gateway 2021-03-04 14:54:27 +01:00
A.Unger 30ed4233b2 add storage-frontend 2021-03-04 14:45:18 +01:00
A.Unger 66c1498ffa goimports 2021-03-04 14:39:06 +01:00
A.Unger 8aed339867 add webdav 2021-03-04 14:37:37 +01:00
A.Unger e8b1665f63 fix flag parsing 2021-03-04 14:33:16 +01:00
A.Unger 96521d23a9 add thumbnails 2021-03-04 14:08:44 +01:00
A.Unger 3c770dd118 add store 2021-03-04 14:03:06 +01:00
A.Unger e25f5b1c98 add proxy 2021-03-04 13:56:49 +01:00
A.Unger f7917bf760 add onlyoffice 2021-03-04 13:26:49 +01:00
A.Unger d0b71bf560 fix ocs 2021-03-04 13:22:32 +01:00
A.Unger 7eea714633 add idp 2021-03-04 13:10:18 +01:00
A.Unger 08e3eea6b7 add glauth 2021-03-04 13:04:37 +01:00
A.Unger 742b571a5b refactor token db away 2021-03-04 13:00:16 +01:00
A.Unger 81576c029a do not panic 2021-03-04 12:46:47 +01:00
A.Unger 58543a1415 correct usage of suture 2021-03-04 11:51:36 +01:00
Jörn Friedrich Dreyer f9de747ef3 Merge pull request #1759 from owncloud/update-ocis-index-docs
[docs-only] update ocis index
2021-03-04 11:38:17 +01:00
Jörn Friedrich Dreyer 90e7c53187 Merge pull request #1757 from owncloud/update-development-getting-started
[docs-only] Update development getting-started.md
2021-03-04 11:37:14 +01:00
Jörn Friedrich Dreyer 0bbee16e88 add ldap / glauth, add review
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-04 10:34:19 +00:00
A.Unger a2a921454b add accounts 2021-03-04 10:50:06 +01:00
Jörn Friedrich Dreyer 6df001524e Update development getting-started.md
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-04 09:48:14 +00:00
A.Unger b806e4b902 Merge branch 'master' into ocis-1715-lighter-runtime 2021-03-04 10:06:51 +01:00
A.Unger a385dd2011 add more todos 2021-03-03 17:37:04 +01:00
A.Unger 59de8198c6 add storage metadata to the runtime and fix its config parsing when running on supervised mode 2021-03-03 17:36:03 +01:00
David Christofas ee4073256f Merge pull request #1756 from owncloud/settings-update-npm-dependencies
update npm dependencies
2021-03-03 16:51:58 +01:00
Jörn Friedrich Dreyer bdbeb967c6 update ocis index
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-03 15:34:03 +00:00
David Christofas d007164a53 Automated changelog update [skip ci] 2021-03-03 15:30:53 +00:00
David Christofas 57b337546d Merge pull request #1758 from owncloud/remove-log-secrets
remove JWT from logs
2021-03-03 16:28:45 +01:00
David Christofas c532073dd1 remove JWT from logs
secrets should not be exposed in the logs
2021-03-03 15:30:11 +01:00
A.Unger 22e3d2fd35 fix log config priority 2021-03-03 15:12:26 +01:00
A.Unger 98dd9a970f suture runtime v1 2021-03-03 15:05:21 +01:00
A.Unger a31dd155fd pull suture 2021-03-03 13:51:06 +01:00
David Christofas 12e6eb1395 update npm dependencies 2021-03-03 12:08:39 +01:00
Phil Davis 0719d18586 Merge pull request #1746 from owncloud/bumpCommitIdAPI
[tests-only] Bump commit id for API tests
2021-03-02 14:15:49 +03:00
David Christofas 4943fed2fe Merge pull request #1742 from owncloud/dependabot/go_modules/ocis/go.opencensus.io-0.23.0
Bump go.opencensus.io from 0.22.6 to 0.23.0 in /ocis
2021-03-02 11:46:52 +01:00
dependabot[bot] 0f40e3896b Bump go.opencensus.io from 0.22.6 to 0.23.0 in /ocis
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go) from 0.22.6 to 0.23.0.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases)
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.6...v0.23.0)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-12-09 15:56:29 +01:00
Jörn Friedrich Dreyer 972ef91f57 correct github nicks 2020-12-09 15:54:29 +01:00
Jörn Friedrich DreyerandAlex Unger cca8cb4386 Apply suggestions from code review
Co-authored-by: Alex Unger <6905948+refs@users.noreply.github.com>
2020-12-09 15:48:11 +01:00
Jörn Friedrich Dreyer 7fa0bf1d92 Introduce ADR
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-12-09 14:08:39 +00:00
Michael Barz 76fefa3255 Update CODEOWNERS 2020-12-08 17:08:48 +01:00
Lukas Hirt 049d89a7d1 Automated changelog update [skip ci] 2020-12-08 16:03:30 +00:00
Benedikt Kulmann c7d8ec1466 Disable public link expiration by default 2020-12-08 15:23:59 +01:00
Jörn Friedrich Dreyer 85a7df32ea Automated changelog update [skip ci] 2020-07-23 09:30:06 +00:00
Jörn Friedrich Dreyer 91d8dcfc8b Merge pull request #7 from owncloud/use-alpine-latest
Use alpine:latest instead of alpine:edge in docker builds
2020-07-23 11:24:36 +02:00
Benedikt Kulmann ce2d766de6 Use alpine:latest instead of alpine:edge in docker builds 2020-07-23 11:00:55 +02:00
Jörn Friedrich Dreyer 017eeb40dc Merge pull request #6 from owncloud/update-ocis-pkg
update ocis-pkg to v2.0.1 and micro/cli to v2
2020-02-10 12:10:49 +01:00
Jörn Friedrich Dreyer 7140a4dfb1 update ocis-pkg to v2.0.1 and micro/cli to v2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-10 12:04:23 +01:00
Michael Barz 2ca5030b08 Automated changelog update [skip ci] 2020-01-30 13:53:59 +00:00
Michael Barz d8d263c7f0 Update config.yml 2020-01-30 14:49:17 +01:00
Michael Barz 50f5056f7d Config for update-docs probot 2020-01-30 14:48:48 +01:00
Thomas Müller 78e556279e Merge pull request #4 from owncloud/feature/graph-1.7.10.3
Use graph.explorer 1.7.10.3
2020-01-28 11:49:49 +01:00
Thomas Müller e4a2221a93 Use graph.explorer 1.7.10.3 2020-01-28 11:42:54 +01:00
Thomas Müller bf345cff03 Merge pull request #3 from owncloud/bugfix/integrate-with-konnect
Integrate ocis-graph-explorer with ocis-konnect
2020-01-28 10:00:21 +01:00
Thomas Müller 950fb7e8b2 Integrate ocis-graph-explorer with ocis-konnect 2020-01-27 22:02:52 +01:00
Thomas Müller a1fd96f11d Merge pull request #1 from owncloud/add-client-id-flag
add client-id flag
2020-01-24 10:21:26 +01:00
Jörn Friedrich Dreyer bc43bfe578 add client-id flag
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-24 10:07:10 +01:00
Thomas Müller 3b2e1da63f Initial version 2020-01-23 12:16:37 +01:00
1468 changed files with 66615 additions and 85881 deletions

No files matched your search

+1
View File
@@ -0,0 +1 @@
docs/ocis/adr
+12
View File
@@ -0,0 +1,12 @@
# Ignore everything
*
# But not these files:
!.gitignore
!*.mod
!README.md
!Variables.mk
!variables.env
*tmp.mod
+14
View File
@@ -0,0 +1,14 @@
# Project Development Dependencies.
This is directory which stores Go modules with pinned buildable package that is used within this repository, managed by https://github.com/bwplotka/bingo.
* Run `bingo get` to install all tools having each own module file in this directory.
* Run `bingo get <tool>` to install <tool> that have own module file in this directory.
* For Makefile: Make sure to put `include .bingo/Variables.mk` in your Makefile, then use $(<upper case tool name>) variable where <tool> is the .bingo/<tool>.mod.
* For shell: Run `source .bingo/variables.env` to source all environment variable for each tool.
* For go: Import `.bingo/variables.go` to for variable names.
* See https://github.com/bwplotka/bingo or -h on how to add, remove or change binaries dependencies.
## Requirements
* Go 1.14+
+115
View File
@@ -0,0 +1,115 @@
# 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)
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
GO ?= $(shell which go)
# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
# will be used; reinstalling only if needed.
# For example for bingo variable:
#
# In your main Makefile (for non array binaries):
#
#include .bingo/Variables.mk # Assuming -dir was set to .bingo .
#
#command: $(BINGO)
# @echo "Running bingo"
# @$(BINGO) <flags/args..>
#
BINGO := $(GOBIN)/bingo-v0.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.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.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.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-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-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
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/calens-v0.2.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=calens.mod -o=$(GOBIN)/calens-v0.2.0 "github.com/restic/calens"
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.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.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
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/gox-v1.0.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=gox.mod -o=$(GOBIN)/gox-v1.0.1 "github.com/mitchellh/gox"
HUGO := $(GOBIN)/hugo-v0.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.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
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/mutagen-v0.11.8"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=mutagen.mod -o=$(GOBIN)/mutagen-v0.11.8 "github.com/mutagen-io/mutagen/cmd/mutagen"
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.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.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.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-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-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-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-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.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.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.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.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=reflex.mod -o=$(GOBIN)/reflex-v0.3.1 "github.com/cespare/reflex"
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/bwplotka/bingo v0.5.1
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/bufbuild/buf v0.56.0 // cmd/buf
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/bazelbuild/buildtools v0.0.0-20210920153738-d6daef01a1a2 // buildifier
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/restic/calens v0.2.0
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/owncloud/flaex v0.2.1-0.20210701123229-9d7dceed124f
Executable
+1
View File
@@ -0,0 +1 @@
module _ // Fake go.mod auto-created by 'bingo' for go -moddir compatibility with non-Go projects. Commit this file, together with other .mod files.
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/golangci/golangci-lint v1.42.1 // cmd/golangci-lint
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/mitchellh/gox v1.0.1
+7
View File
@@ -0,0 +1,7 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
replace github.com/markbates/inflect => github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6
require github.com/gohugoio/hugo v0.88.1
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/mutagen-io/mutagen v0.11.8 // cmd/mutagen
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.15
require github.com/deepmap/oapi-codegen v1.8.2 // cmd/oapi-codegen
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/pseudomuto/protoc-gen-doc v1.5.0 // cmd/protoc-gen-doc
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require google.golang.org/protobuf v1.27.1 // cmd/protoc-gen-go
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/asim/go-micro/cmd/protoc-gen-micro/v3 v3.0.0-20211012122208-f63e46a7d1e9
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/owncloud/protoc-gen-microweb v0.0.0-20210824101557-828409dbfbf9
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/grpc-ecosystem/grpc-gateway/v2 v2.6.0 // protoc-gen-openapiv2
+5
View File
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/cespare/reflex v0.3.1
+42
View File
@@ -0,0 +1,42 @@
# 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)}
if [ -z "$GOBIN" ]; then
GOBIN="$(go env GOPATH)/bin"
fi
BINGO="${GOBIN}/bingo-v0.5.1"
BUF="${GOBIN}/buf-v0.56.0"
BUILDIFIER="${GOBIN}/buildifier-v0.0.0-20210920153738-d6daef01a1a2"
CALENS="${GOBIN}/calens-v0.2.0"
FLAEX="${GOBIN}/flaex-v0.2.1-0.20210701123229-9d7dceed124f"
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.42.1"
GOX="${GOBIN}/gox-v1.0.1"
HUGO="${GOBIN}/hugo-v0.88.1"
MUTAGEN="${GOBIN}/mutagen-v0.11.8"
OAPI_CODEGEN="${GOBIN}/oapi-codegen-v1.8.2"
PROTOC_GEN_DOC="${GOBIN}/protoc-gen-doc-v1.5.0"
PROTOC_GEN_GO="${GOBIN}/protoc-gen-go-v1.27.1"
PROTOC_GEN_MICRO="${GOBIN}/protoc-gen-micro-v3.0.0-20211012122208-f63e46a7d1e9"
PROTOC_GEN_MICROWEB="${GOBIN}/protoc-gen-microweb-v0.0.0-20210824101557-828409dbfbf9"
PROTOC_GEN_OPENAPIV2="${GOBIN}/protoc-gen-openapiv2-v2.6.0"
REFLEX="${GOBIN}/reflex-v0.3.1"
+5 -2
View File
@@ -1,5 +1,6 @@
---
exclude_paths:
- '.github/**'
- 'CHANGELOG.md'
- '**/CHANGELOG.md'
- 'changelog/**'
@@ -7,12 +8,14 @@ exclude_paths:
- 'docs/**'
- '**/docs/**'
- '**/pkg/proto/**'
- 'konnectd/ui_config/**'
- 'konnectd/scripts/**'
- 'idp/ui_config/**'
- 'idp/scripts/**'
- 'settings/rollup.config.js'
- 'accounts/rollup.config.js'
- 'ocis/docker/eos-ocis/Dockerfile'
- 'ocis/docker/eos-ocis-dev/Dockerfile'
- 'deployments/**'
- 'tests/acceptance/expected-failures-*.md'
- 'tests/acceptance/features/bootstrap/**'
...
+7
View File
@@ -0,0 +1,7 @@
.bingo
!.bingo/*.mod
!.bingo/Variables.mk
**/.git
**/bin
docs
**/node_modules
+7
View File
@@ -0,0 +1,7 @@
# The test runner source for API tests
CORE_COMMITID=b72258bf8ef1e483d92d42535abfe76f912d12a2
CORE_BRANCH=master
# The test runner source for UI tests
WEB_COMMITID=6f6855ebdea9ef5eb956ce517f3742e7018bccfa
WEB_BRANCH=master
+1734 -1614
View File
File diff suppressed because it is too large. Load diff
+4 -1
View File
@@ -1 +1,4 @@
/onlyoffice/ @LukasHirt
accounts/ @kulmann @pascalwengerter @paulcod3
settings/ @kulmann @pascalwengerter @paulcod3
web/ @kulmann @pascalwengerter
.drone.star @wkloucek @micbar @phil-davis @individual-it
+45
View File
@@ -0,0 +1,45 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: Type:Bug
assignees: ''
---
## Describe the bug
A clear and concise description of what the bug is.
## Steps to reproduce
Steps to reproduce the behavior:
1.
2.
3.
## Expected behavior
A clear and concise description of what you expected to happen.
## Actual behavior
A clear and concise description of what happened.
## Setup
Please describe how you started the server and provide a list of relevant environment variables.
<details>
<p>
```console
OCIS_VERSION=vX.X.X
BRANCH=vX.X.X
STORAGE_FRONTEND_UPLOAD_DISABLE_TUS=false
```
</p>
</details>
## Additional context
Add any other context about the problem here.
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for improving oCIS
title: ''
labels: Category:Feature, Topic:needs-triage
assignees: ''
---
## Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
## Describe the solution you'd like
A clear and concise description of what you want to happen.
## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
## Additional context
Add any other context or screenshots about the feature request here.
+26
View File
@@ -0,0 +1,26 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
directory: "/accounts"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
directory: "/settings"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
- package-ecosystem: "npm"
directory: "/idp"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
+57
View File
@@ -0,0 +1,57 @@
<!--
Thanks for submitting a change to ownCloud!
This is the bug tracker for the oCIS component. Find other components at https://github.com/owncloud/core/blob/master/.github/CONTRIBUTING.md#guidelines
For fixing potential security issues please see https://owncloud.org/security/
To make it possible for us to get your change reviewed and merged please carefully fill out the requested information below.
Please note that any kind of change needs first be submitted to the master branch which holds the next version of oCIS.
Please set the following labels:
- Set label "Status:Needs-Review" for review or "Status:In-Progress" if the PR still has open tasks.
- Assignment: assign to self
- Reviewers: pick at least one
-->
## Description
<!--- Describe your changes in detail -->
## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->
- Fixes <issue_link>
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
- test environment:
- test case 1:
- test case 2:
- ...
## Screenshots (if appropriate):
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Technical debt
- [ ] Tests only (no source changes)
## Checklist:
<!-- Tick the checkboxes when done. -->
<!-- Raise documentation ticket in owncloud.github.io/ -->
- [ ] Code changes
- [ ] Unit tests added
- [ ] Acceptance tests added
- [ ] Documentation ticket raised: <link>
+25 -56
View File
@@ -1,8 +1,10 @@
---
_extends: gh-labels
repository:
name: ocis
description: ':atom_symbol: ownCloud Infinite Scale Stack'
homepage: https://owncloud.github.io/ocis/
homepage: https://owncloud.dev/ocis/
topics: reva, ocis
private: false
@@ -18,63 +20,29 @@ repository:
allow_rebase_merge: true
labels:
- name: bug
color: d73a4a
description: Something isn't working
- name: documentation
color: 0075ca
description: Improvements or additions to documentation
- name: duplicate
color: cfd3d7
description: This issue or pull request already exists
- name: enhancement
color: a2eeef
description: New feature or request
- name: good first issue
color: 7057ff
description: Good for newcomers
- name: help wanted
color: 008672
description: Extra attention is needed
- name: invalid
color: e4e669
description: This doesn't seem right
- name: question
color: d876e3
description: Further information is requested
- name: wontfix
color: ffffff
description: This will not be worked on
- name: effort/trivial
color: c2e0c6
description: Required effort to finish task
- name: effort/0.25d
color: c2e0c6
description: Required effort to finish task
- name: effort/0.5d
color: c2e0c6
description: Required effort to finish task
- name: effort/1d
color: c2e0c6
description: Required effort to finish task
- name: effort/2d
color: c2e0c6
description: Required effort to finish task
- name: effort/4d
color: c2e0c6
description: Required effort to finish task
- name: effort/5d
color: c2e0c6
description: Required effort to finish task
- name: effort/10d
color: c2e0c6
description: Required effort to finish task
- 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
@@ -83,16 +51,17 @@ branches:
required_approving_review_count: 1
dismiss_stale_reviews: false
require_code_owner_reviews: false
dismissal_restrictions: {}
required_status_checks:
strict: true
strict: false
contexts:
- continuous-integration/drone/pr
enforce_admins: false
enforce_admins: null
restrictions:
apps: []
users: []
teams:
- ci
- employees
...
+19
View File
@@ -0,0 +1,19 @@
only: issues
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 10
# Issues with these labels will never be considered stale
exemptLabels:
- "Type:Bug"
- "Type:Technical-Debt"
- "Category:Research"
# Label to use when marking an issue as stale
staleLabel: "Status:Stale"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 10 days if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
+14 -1
View File
@@ -1,4 +1,6 @@
*/coverage.out
*/checkstyle.xml
*/package-lock.json
ocis/config/identifier-registration.yaml
*/bin
@@ -8,16 +10,27 @@ dist/
*crt
node_modules/
*/assets
ocis/ocis
ocis/cmd/ocis/__debug_bin
ocis/cmd/ocis/config/
config/
.idea
yarn-error.log
yarn.lock
# Konnectd
konnectd/assets/identifier
idp/assets/identifier
# Composer - used for API acceptance tests
composer.lock
vendor
vendor-bin/**/vendor
vendor-bin/**/composer.lock
# drone CI is in .drone.star, do not let someone accidentally commit a local .drone.yml
.drone.yml
**/l10n/locale
**/l10n/template.pot
+7
View File
@@ -0,0 +1,7 @@
.PHONY: config-docs-generate
config-docs-generate: $(FLAEX)
@echo "$(NAME): generating config docs"
@$(FLAEX) >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: grpc-docs-generate
grpc-docs-generate: buf-generate
+2
View File
@@ -0,0 +1,2 @@
.PHONY: generate
generate: ci-node-generate ci-go-generate
+105
View File
@@ -0,0 +1,105 @@
OCIS_REPO := github.com/owncloud/ocis
IMPORT := ($OCIS_REPO)/$(NAME)
BIN := bin
DIST := dist
ifeq ($(OS), Windows_NT)
EXECUTABLE := $(NAME).exe
UNAME := Windows
else
EXECUTABLE := $(NAME)
UNAME := $(shell uname -s)
endif
GOBUILD ?= go build
SOURCES ?= $(shell find . -name "*.go" -type f -not -path "./node_modules/*")
TAGS ?=
ifndef OUTPUT
ifneq ($(DRONE_TAG),)
OUTPUT ?= $(subst v,,$(DRONE_TAG))
else
OUTPUT ?= testing
endif
endif
ifndef VERSION
ifneq ($(DRONE_TAG),)
VERSION ?= $(subst v,,$(DRONE_TAG))
else
VERSION ?= $(shell git rev-parse --short HEAD)
endif
endif
ifndef DATE
DATE := $(shell date -u '+%Y%m%d')
endif
LDFLAGS += -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
all: build
.PHONY: sync
sync:
go mod download
.PHONY: clean
clean:
@echo "$(NAME): clean"
go clean -i ./...
rm -rf $(BIN) $(DIST)
.PHONY: go-mod-tidy
go-mod-tidy:
@echo "$(NAME): go-mod-tidy"
@go mod tidy
.PHONY: fmt
fmt:
gofmt -s -w $(SOURCES)
.PHONY: golangci-lint
golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E 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 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:
@go test -v -coverprofile coverage.out ./...
.PHONY: go-coverage
go-coverage:
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
@go tool cover -func coverage.out | tail -1 | grep -Eo "[0-9]+\.[0-9]+"
.PHONY: install
install: $(SOURCES)
go install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' ./cmd/$(NAME)
.PHONY: build-all
build-all: build build-debug
.PHONY: build
build: $(BIN)/$(EXECUTABLE)
.PHONY: build-debug
build-debug: $(BIN)/$(EXECUTABLE)-debug
$(BIN)/$(EXECUTABLE): $(SOURCES)
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $@ ./cmd/$(NAME)
$(BIN)/$(EXECUTABLE)-debug: $(SOURCES)
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(DEBUG_LDFLAGS)' -gcflags '$(GCFLAGS)' -o $@ ./cmd/$(NAME)
.PHONY: watch
watch: $(REFLEX)
$(REFLEX) -c reflex.conf
+50
View File
@@ -0,0 +1,50 @@
# On OSX the PATH variable isn't exported unless "SHELL" is also set, see: http://stackoverflow.com/a/25506676
SHELL = /bin/bash
NODE_BINDIR = ./node_modules/.bin
export PATH := $(PATH):$(NODE_BINDIR)
INPUT_FILES = ./ui
# Where to write the files generated by this makefile.
OUTPUT_DIR = ./l10n
# Template file
TEMPLATE_FILE = ./l10n/template.pot
# Name of the generated .po files for each available locale.
LOCALE_FILES = $(shell find l10n/locale -name '*.po')
.PHONY: l10n-push
l10n-push:
cd $(OUTPUT_DIR) && tx -d push -s --skip --no-interactive
.PHONY: l10n-pull
l10n-pull:
cd $(OUTPUT_DIR) && tx -d pull -a --skip --minimum-perc=75
.PHONY: l10n-clean
l10n-clean:
rm -f $(TEMPLATE_FILE)
rm -rf $(OUTPUT_DIR)/locale
.PHONY: l10n-read
l10n-read: node_modules $(TEMPLATE_FILE)
.PHONY: l10n-write
l10n-write: node_modules $(OUTPUT_DIR)/translations.json
# Create a main .pot template, then generate .po files for each available language.
# Thanks to Systematic: https://github.com/Polyconseil/systematic/blob/866d5a/mk/main.mk#L167-L183
$(TEMPLATE_FILE):
# Extract gettext strings from each template file and create a POT dictionary template.
# Generate .po files for each available language.
export GETTEXT_SOURCES=`find $(INPUT_FILES) -name '*.vue' -o -name '*.js'`; \
node ./node_modules/easygettext/src/extract-cli.js --attribute v-translate --output $(OUTPUT_DIR)/template.pot $$GETTEXT_SOURCES;
# Generate translations.json file from .pot template.
.PHONY: $(OUTPUT_DIR)/translations.json
$(OUTPUT_DIR)/translations.json:
rm -rf $(OUTPUT_DIR)/translations.json
gettext-compile --output $(OUTPUT_DIR)/translations.json $(LOCALE_FILES);
+21
View File
@@ -0,0 +1,21 @@
.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: buf-generate
buf-generate: $(BUF) protoc-deps
$(BUF) generate
+38
View File
@@ -0,0 +1,38 @@
.PHONY: changelog
changelog: $(CALENS) ## generate changelog
$(CALENS) -i ../changelog -t ../changelog/CHANGELOG.tmpl >| ../CHANGELOG.md
.PHONY: release
release: release-dirs release-linux release-windows release-darwin release-copy release-check
.PHONY: release-dirs
release-dirs:
mkdir -p $(DIST)/binaries $(DIST)/release
.PHONY: release-linux
release-linux: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
# 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) $(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
$(GOX) -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'windows' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-darwin
release-darwin: $(GOX) release-dirs
$(GOX) -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -os 'darwin' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-copy
release-copy:
$(foreach file,$(wildcard $(DIST)/binaries/$(EXECUTABLE)-*),cp $(file) $(DIST)/release/$(notdir $(file));)
.PHONY: release-check
release-check:
cd $(DIST)/release; $(foreach file,$(wildcard $(DIST)/release/$(EXECUTABLE)-*),sha256sum $(notdir $(file)) > $(notdir $(file)).sha256;)
.PHONY: release-finish
release-finish: release-copy release-check
+19
View File
@@ -0,0 +1,19 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "oCIS server",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/ocis/cmd/ocis",
"args": ["server"],
"env": {
"OCIS_LOG_LEVEL": "debug",
"OCIS_LOG_PRETTY": "true",
"OCIS_LOG_COLOR": "true",
"PROXY_ENABLE_BASIC_AUTH": "true"
}
},
]
}
+2077 -16
View File
File diff suppressed because it is too large. Load diff
+263
View File
@@ -0,0 +1,263 @@
First of all, thank you for taking the time to read this and your interest in contributing to ownCloud Infinite Scale!
The following is a set of guidelines for contributing to most of the projects hosted in the [ownCloud Organization](https://github.com/owncloud) on [GitHub](https://www.github.com). These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
For simplicity reasons, this document mostly refers to the ownCloud [Infinite Scale project](https://www.github.com/owncloud/ocis), but it should be easily transferable to other (sub)projects.
#### Table Of Contents
[I don't want to read this whole thing, I just have a question](#i-dont-want-to-read-this-whole-thing-i-just-have-a-question)
[What should I know before I get started](#what-should-i-know-before-i-get-started)
* [ownCloud is hosted on Github](#owncloud-is-hosted-on-github)
* [ownCloud Company, Engineering Partners and Community](#owncloud-company,-engineering-partners-and-community)
* [Licensing and CLA](#licensing-and-cla)
[How Can I Contribute](#how-can-i-contribute)
* [Help spreading the word](#help-spreading-the-word)
* [Reporting Bugs](#reporting-bugs)
* [Suggesting Enhancements](#suggesting-enhancements)
* [Your First Code Contribution](#your-first-code-contribution)
* [Pull Requests](#pull-requests)
* [Documentation Contributions](#documentation-contributions)
* [Internationalization](#internationalization)
* [Deployments: Docker, Ansible and friends](#deployments-docker-ansible-and-friends)
[Styleguides](#styleguides)
* [Git Commit Messages](#git-commit-messages)
* [Golang Styleguide](#golang-styleguide)
* [Web Styleguide](#web-styleguide)
* [Documentation Styleguide](#documentation-styleguide)
[Additional Notes](#additional-notes)
* [Issue and Pull Request Labels](#issue-and-pull-request-labels)
## I don't want to read this whole thing I just have a question
> **Note:** Please don't file an issue to ask a question. You'll get faster results by using the resources below.
For general questions, please refer to [ownCloud's FAQs](https://owncloud.com/faq/) or ask on the [ownCloud Central Server](https://central.owncloud.org/).
We also have a [Rocket Chat Server](https://talk.owncloud.com/channel/ocis) to answer your questions specifically about ownCloud Infinite Scale.
## What should I know before I get started
### ownCloud is hosted on Github
To 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).
The ownCloud project follows the strict Github workflow of development as briefly [described here](https://guides.github.com/introduction/flow/).
### ownCloud Company, Engineering Partners and Community
ownCloud Infinite Scale is largely created by developers who are employed by the [ownCloud company](https://www.owncloud.com), which is located in Germany. It is providing support for ownCloud for customers worldwide. In addition there are engineering partners who also work full time on ownCloud related code, for example in [CERN REVA](https://github.com/cs3org/reva/).
Because of that fact, the pace that the development is moving forward is sometimes high for people who are not willing and/or able to spend a comparable amount of time to contribute. Even though this can be a challenge, it should not scare anybody away. Here is our clear commitment that we feel honored by everybody who is interested in our work and improves it, no matter how big the contribution might be.
We as the full time devs from either organization are doing our best to listen, review and consider all changes that are brought forward following this guideline and make sense for the project.
### Licensing and CLA
We are very happy that there is *no CLA* required for most of the code of ownCloud Infinite Scale.
Currently, only for the following components you need to sign a [Contributors License Agreement](https://en.wikipedia.org/wiki/Contributor_License_Agreement):
* [ownCloud Web](https://github.com/owncloud/web/): [Link to CLA](https://owncloud.com/contribute/join-the-development/contributor-agreement/)
Please make sure to read and understand the details of the CLA before starting to invest time on a component that requires it. If you have any questions or concerns please feel free to raise them with us.
## How Can I Contribute
There are many ways to contribute to open source projects, and all are equally valuable and appreciated.
### Help spreading the word
This way to contribute to the project can not be overestimated: People who talk about their experience with ownCloud Infinite Scale and help others with that are the key to success of the project.
There are too many ways of doing that to line them up here, but examples are answering questions in [ownCloud Central](https://central.owncloud.org/) or on [ownCloud Talk](https://talk.owncloud.com/channel/ocis), writing blog posts etc pp.
There is no formal guideline to this, just do it :-)
### Reporting Bugs
This section guides you through submitting a bug report for ownCloud Infinite Scale. Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behavior :computer: :computer:, and find related reports :mag_right:.
Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](https://github.com/owncloud/ocis/issues/new?Type%3ABug&template=bug_report.md), the information it asks for helps us resolve issues faster.
> **Note:** If you find a **Closed** issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one. If you have permission to reopen the issue, feel free to do so.
#### Before Submitting A Bug Report
* **Make sure you are running a recent version** Usually, developers' interest in old versions of software drops very fast once a new shiny version has been released. So the general recommendation is: Use the latest released version or even the current master to reproduce problems that you might encounter. That helps a lot to attract developers attention.
* **Determine which [repository](https://github.com/owncloud) the problem should be reported in**.
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** with possibly a more granular filter on the repository, to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one **if you have new information**. Please abstain from adding "plus ones", except using the Github emojis. That might indicate how many users are affected.
#### How Do I Submit A (Good) Bug Report
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined [which repository](https://github.com/owncloud) your bug is related to, create an issue on that repository and provide the following information by filling in [the template](https://github.com/owncloud/ocis/issues/new?Type%3ABug&template=bug_report.md).
Explain the problem and include additional details to help maintainers reproduce the problem:
* **Use a clear and descriptive title** for the issue to identify the problem.
* **Describe the exact steps which reproduce the problem** in as many details as possible. Start with describing, from a user perspective, what you tried to achieve, i.e. "I want to share some pictures with Grandma". When listing steps, **don't just say what you did, but explain how you did it**. For example, if you uploaded a file to ownCloud, say which client you used, which way of uploading you chose, if the name was special somehow and how big it was.
* **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable snippets, which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
* **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior.
* **Explain which behavior you expected to see instead and why.**
* **Include screenshots and animated GIFs** which show you following the described steps and clearly demonstrate the problem. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux.
* **If you report a web browser related problem**, consider to using the browser's Web developer tools (such as the debugger, console or network monitor) to check what happened. Make sure to add screenshots of the utilities if you are short of time to interpret it.
* **If the problem wasn't triggered by a specific action**, describe what you were doing before the problem happened and share more information using the guidelines below.
Provide more context by answering these questions:
* **Did the problem start happening recently** (e.g. after updating to a new version) or was this always a problem?
* If the problem started happening recently, **can you reproduce the problem in an older version?** What's the most recent version in which the problem doesn't happen? You can find more information about how to set up [test environments](https://owncloud.dev/ocis/development/testing/) in the [developer documentation](https://owncloud.dev/#developer-documentation).
* **Can you reliably reproduce the issue?** If not, provide details about how often the problem happens and under which conditions it normally happens.
Include details about your configuration and environment as asked for in the template.
### Suggesting Enhancements
This section guides you through submitting an enhancement suggestion for ownCloud Infinite Scale, including completely new features and minor improvements to existing functionality. Following these guidelines helps maintainers and the community understand your suggestion :pencil: and find related suggestions :mag_right:.
Before creating enhancement suggestions, please check [this list](#before-submitting-an-enhancement-suggestion) as you might find out that you don't need to create one. When you are creating an enhancement suggestion, please [include as many details as possible](#how-do-i-submit-a-good-enhancement-suggestion). Fill in [the template](https://github.com/owncloud/ocis/.github/blob/master/.github/ISSUE_TEMPLATE/feature_request.md), including the steps that you imagine you would take if the feature you're requesting existed.
#### Before Submitting An Enhancement Suggestion
* **Check if there's already an extension or other component which provides that enhancement, even in a different way.**
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one. Feel free to use the Github emojis to indicate that you are in favour of an enhancement request.
#### How Do I Submit A (Good) Enhancement Suggestion
Enhancement suggestions are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined [which repository](https://github.com/owncloud) your enhancement suggestion is related to, create an issue on that repository and provide the following information:
* **Use a clear and descriptive title** for the issue to identify the suggestion.
* **Provide a step-by-step description of the suggested enhancement** in as many details as possible.
* **Provide specific examples to demonstrate the steps**. Include copy/pasteable snippets which you use in those examples, as [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines).
* **Explain why this enhancement would be useful** to most ownCloud users.
* **List some other projects or products where this enhancement exists.**
### Your First Code Contribution
Unsure where to begin contributing to ownCloud? You can start by looking through these `Needs-help` issues:
* The [Good first issue](https://github.com/owncloud/ocis/labels/Topic%3Agood-first-issue) label marks good items to start with.
* [Tests needed](https://github.com/owncloud/ocis/labels/Interaction%3ANeeds-tests) - issues which would benefit from a test.
* [Help wanted issues](https://github.com/owncloud/ocis/labels/Interaction%3ANeeds-help) - issues which should be a bit more involved.
It is fine to pick one of the list following personal preference. While not perfect, number of comments is a reasonable proxy for impact a given change will have.
To find out how to set up ownCloud Infinite Scale for local development please refer to the [Developer Documentation](https://owncloud.dev/ocis/development/getting-started/). It contains a lot of information that will come in handy when starting to work on the project.
### Pull Requests
All contributions to ownClouds projects use so called pull requests following the [Github PR workflow](https://guides.github.com/introduction/flow/).
Please follow these steps to have your contribution considered by the maintainers:
* Follow all instructions in [the template](https://github.com/owncloud/ocis/blob/master/.github/pull_request_template.md)
* Follow the [styleguides](#styleguides) where applicable
* After you submit your pull request, verify that all [status checks](https://help.github.com/articles/about-status-checks/) are passing <details><summary>What if the status checks are failing?</summary>If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.</details>
While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted.
### Documentation Contributions
ownCloud is very proud of the documentation it has, which is the work of a great team of people. Of course, also the documentation is open to contributions.
See the [Getting Started Guide](https://owncloud.dev/ocis/development/getting-started/) on how to get started. Other useful information is summarized in the [Documentation Readme](https://github.com/owncloud/docs).
### Internationalization
Our projects are getting translated into many languages to allow people from all over the world to use ownCloud in their native language. For translations, ownCloud uses [Transifex](https://www.transifex.com) as a community based collaboration platform for internationalization.
For contributions please refer to the [Transifex Resources](https://www.transifex.com/resources/) to learn how to improve ownClouds translations there.
### Deployments: Docker, Ansible and friends
Depending on the ownCloud component, there is complex deployment tooling to install in various environments. There is for example [ownCloud Ansible](https://github.com/owncloud-ansible) with Ansible resources. Contributions to that are very appreciated and follow the same guidelines as every other code contribution.
## Styleguides
To keep up with a consistent code and tooling landscape, some of the ownCloud modules maintain styleguides for contributions. It is mandatory to follow them in contributions.
### Git Commit Messages
* Use the present tense ("Add feature" not "Added feature")
* Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
* Limit the first line to 72 characters or less
* Reference issues and pull requests liberally after the first line
* When only changing documentation, include `[docs-only]` in the commit title
### Golang Styleguide
Use the built in golang code formatter before submitting the patch. Also, consulting documentation like [Effective Go](https://golang.org/doc/effective_go) or [Practical Go](http://bit.ly/gcsg-2019) helps to improve the code quality.
### Web Styleguide
Refer to related documents in the [ownCloud Web Repository](https://github.com/owncloud/web).
#### Documentation Styleguide
See the [ownCloud Documentation Styleguide](https://github.com/owncloud/docs/blob/master/docs/style-guide.md).
## Additional Notes
### Issue and Pull Request Labels
This section lists the labels we use to help us track and manage issues and pull requests. Most labels are used across all ownCloud repositories, but some are specific.
[GitHub search](https://help.github.com/articles/searching-issues/) makes it easy to use labels for finding groups of issues or pull requests you're interested in. To help you find issues and pull requests, each label can be used in search links for finding open items with that label in the ownCloud repositories.
The labels are loosely grouped by their purpose, but it's not required that every issue has a label from every group or that an issue can't have more than one label from the same group.
The list here contains all the more general categories of issues which are followed by a colon and a specific value. For example severity 1 looks like `Severity:sev1-critical`.
#### Platform
Describes the platform the issue is happening on, ie. iOS or Windows.
#### Estimation
T-Shirt sizes for effort estimation to fix that bug or implement an enhancement. Ranges from XS to XXXL.
#### Priority
P1 to P4 (lowest) to indicate an priority. Mostly a tool for internal project management and support.
#### QA
Flags to indicate the internal QA status in terms of process and priority. Please leave alone unless you're QA ;-)
#### Severity
Severity for the product, mostly impact on user.
#### Type
The issue type, helps to structure the issues in the agile categories (Epic, Story...) but also organizational ones.
#### Topic
A general category of the topic of a ticket.
#### Category
Categorizes the issue to also indicate the type of the issue.
#### Status
The status in the ticket life cycle. Keep an eye on that one, especially for the `Waiting-for-Feedback` tag which might indicate that the reporter is asked for feedback.
#### Interaction
Another label that indicates the type of the issue.
#### Browser
Important for browser dependent web issues. It specifies the browser that shows the error.
#### Early-Adopter
Tags issues that were reported by one of the oCIS early adopters, ie. customers and users who start using ownCloud Infinite Scale before it's general availability.
+2 -9
View File
@@ -1,19 +1,12 @@
FROM golang:alpine as build
FROM owncloudci/golang:1.17 as build
COPY ./ /ocis/
ENV CGO_ENABLED=0
ENV GOOS=linux
RUN apk update && \
apk upgrade && \
apk add make gcc bash && \
rm -rf /var/cache/apk/*
WORKDIR /ocis/ocis
RUN make clean generate build
FROM alpine:3
FROM alpine:3.13
RUN apk update && \
apk upgrade && \
+168 -5
View File
@@ -1,18 +1,73 @@
SHELL := bash
# define standard colors
BLACK := $(shell tput -Txterm setaf 0)
RED := $(shell tput -Txterm setaf 1)
GREEN := $(shell tput -Txterm setaf 2)
YELLOW := $(shell tput -Txterm setaf 3)
LIGHTPURPLE := $(shell tput -Txterm setaf 4)
PURPLE := $(shell tput -Txterm setaf 5)
BLUE := $(shell tput -Txterm setaf 6)
WHITE := $(shell tput -Txterm setaf 7)
RESET := $(shell tput -Txterm sgr0)
L10N_MODULES := $(shell find . -path '*.tx*' -name 'config' | sed 's|/[^/]*$$||' | sed 's|/[^/]*$$||' | sed 's|/[^/]*$$||')
# if you add a module here please also add it to the .drone.star file
OCIS_MODULES = \
accounts \
glauth \
graph \
graph-explorer \
idp \
ocis \
ocis-pkg \
ocs \
proxy \
settings \
storage \
store \
thumbnails \
web \
webdav
ifneq (, $(shell which go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI
include .bingo/Variables.mk
endif
.PHONY: help
help:
@echo "Please use 'make <target>' where <target> is one of the following:"
@echo
@echo -e "Testing:\n"
@echo -e "make test-acceptance-api\trun API acceptance tests"
@echo -e "make clean-tests\t\tdelete API tests framework dependencies"
@echo -e "${GREEN}Testing with test suite natively installed:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/testing/#testing-with-test-suite-natively-installed${RESET}\n"
@echo -e "\tmake test-acceptance-api\t${BLUE}run API acceptance tests${RESET}"
@echo -e "\tmake clean-tests\t\t${BLUE}delete API tests framework dependencies${RESET}"
@echo
@echo -e "${BLACK}---------------------------------------------------------${RESET}"
@echo
@echo -e "${RED}You also should have a look at other available Makefiles:${RESET}"
@echo
@echo -e "${GREEN}oCIS:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/build/${RESET}\n"
@echo -e "\tsee ./ocis/Makefile"
@echo -e "\tor run ${YELLOW}make -C ocis help${RESET}"
@echo
@echo -e "${GREEN}Documentation:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/build-docs/${RESET}\n"
@echo -e "\tsee ./docs/Makefile"
@echo -e "\tor run ${YELLOW}make -C docs help${RESET}"
@echo
@echo -e "${GREEN}Testing with test suite in docker:${RESET}\n"
@echo -e "${PURPLE}\tdocs: https://owncloud.dev/ocis/development/testing/#testing-with-test-suite-in-docker${RESET}\n"
@echo -e "\tsee ./tests/acceptance/docker/Makefile"
@echo -e "\tor run ${YELLOW}make -C tests/acceptance/docker help${RESET}"
@echo
@echo -e "See the Makefile in the ocis folder for other build and test targets"
.PHONY: clean-tests
clean-tests:
rm -Rf vendor-bin/**/vendor vendor-bin/**/composer.lock
@rm -Rf vendor-bin/**/vendor vendor-bin/**/composer.lock tests/acceptance/output
BEHAT_BIN=vendor-bin/behat/vendor/bin/behat
@@ -31,3 +86,111 @@ vendor-bin/behat/composer.lock: vendor-bin/behat/composer.json
composer.lock: composer.json
@echo composer.lock is not up to date.
.PHONY: generate
generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod generate; \
done
.PHONY: vet
vet:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod vet; \
done
.PHONY: clean
clean:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod clean; \
done
.PHONY: docs-generate
docs-generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod docs-generate; \
done
.PHONY: ci-go-generate
ci-go-generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod ci-go-generate; \
done
.PHONY: ci-node-generate
ci-node-generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod ci-node-generate; \
done
.PHONY: go-mod-tidy
go-mod-tidy:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod go-mod-tidy; \
done
.PHONY: test
test:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod test; \
done
.PHONY: go-coverage
go-coverage:
@if [ ! -f coverage.out ]; then $(MAKE) test &>/dev/null; fi;
@for mod in $(OCIS_MODULES); do \
echo -n "% coverage $$mod: "; $(MAKE) --no-print-directory -C $$mod go-coverage; \
done
.PHONY: protobuf
protobuf:
@for mod in $(OCIS_MODULES); do \
echo -n "% protobuf $$mod: "; $(MAKE) --no-print-directory -C $$mod protobuf; \
done
.PHONY: bingo-update
bingo-update: $(BINGO)
$(BINGO) get -l -u
CHANGELOG_VERSION =
.PHONY: changelog
changelog: $(CALENS)
ifndef CHANGELOG_VERSION
$(error CHANGELOG_VERSION is undefined)
endif
$(CALENS) --version $(CHANGELOG_VERSION) -o ocis/dist/CHANGELOG.md
.PHONY: l10n-push
l10n-push:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-push; \
done
.PHONY: l10n-pull
l10n-pull:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-pull; \
done
.PHONY: l10n-clean
l10n-clean:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-clean; \
done
.PHONY: l10n-read
l10n-read:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-read; \
done
.PHONY: l10n-write
l10n-write:
@for extension in $(L10N_MODULES); do \
make -C $$extension l10n-write; \
done
.PHONY: ci-format
ci-format: $(BUILDIFIER)
$(BUILDIFIER) --mode=fix .drone.star
+9 -9
View File
@@ -1,22 +1,22 @@
# ownCloud Infinite Scale
[![Rocket chat](https://img.shields.io/badge/Chat%20on%20Rocket.Chat-blue?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABhGlDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSItDnaQIpKhOlkQFemoVShChVArtOpgcv2EJg1Jiouj4Fpw8GOx6uDirKuDqyAIfoA4OTopukiJ/0sKLWI8OO7Hu3uPu3eA0Kwy1eyZAFTNMtLJhJjNrYqBVwQxghDiiMjM1OckKQXP8XUPH1/vYjzL+9yfI5QvmAzwicSzTDcs4g3imU1L57xPHGZlOU98Tjxu0AWJH7muuPzGueSwwDPDRiY9TxwmFktdrHQxKxsq8TRxNK9qlC9kXc5z3uKsVuusfU/+wmBBW1nmOs1hJLGIJUgQoaCOCqqwEKNVI8VEmvYTHv6I45fIpZCrAkaOBdSgQnb84H/wu1uzODXpJgUTQO+LbX+MAoFdoNWw7e9j226dAP5n4Err+GtNIP5JeqOjRY+AgW3g4rqjKXvA5Q4w9KTLhuxIfppCsQi8n9E35YDBW6B/ze2tvY/TByBDXaVugINDYKxE2ese7+7r7u3fM+3+fgDAvHLGj7r9AwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+QMHg05Mvq8cfAAAAAGYktHRAD/AP8A/6C9p5MAAAcbSURBVGje7VlpTFRXGLU0NmmNpuma9IciCCKCQDTuxqQWkrrTNJAal6Y2ECyoURONRBPXuBujVpsYiys1qUH7w8QVjQnVP9Zqq3Y2FgcQmIEBBpgZmPl6vvveLG94D2ZAFhNvcsIwb5nv3G87994hQ970oY+OjgaygR3AWmAyMPRNIjAV+A8gGQ3AKX1U1Nf60aNTgVn4nIDvPgLeGYwE3gd+ATwBJBhuQ2xshyEuzmWIiWnQRUY+0o0adRBkUvQxMRGDicAHwLkg4xUwTJtG5RkZVDZnDunHjKmCV3JB4r3BQyIq6jgM83RFQhCZNIlMqamkj41txzO/47tcYBWwApgHJAGfABH96YGxMMbMxnVHoAsweRdgBf4GfgW+A77AxPRt3ugjIzONycmO+qIiMqal9YxAVBThPYQcIYSX9H90dDvwFNjIRPqWQFKSo+3RI7Jev84xHjaBMuRHdX4+mVesoNJZs0gfFyeRkIiwd2qAQmA1sBhIAT4F3n0dIRSLH9LVbd9OzpqaHnvBMGMG6ZOSQrmXPVMve+cikANwme55UYDb1xri413VO3aQITm5N7nQ0/x5BXBR+Bb4sEdeQJ2vN0ycKNxuGDeuV3kggM96GbqA78V3UmipwQHcAzK4vIdTRvNQ16UyGhtLtbt2hRZKsnGGsWOpFL3iZXo6Va9aRbVbt5LlwAGyHj0qwJ9rt2yhqpwcqli8mExTp4pnfCQ7v7tVzpmEUGZ/GmD2GmReupScZjOV4ce0ZloYDS9VLFpEdbt3k/3GDXKZTORuaiLq6CCt4cE1vsdpNJIdBaNu506qWLBAvEun7hmWON902VdwMQoo8j5ku3CB2hsbqSw7W3XGjRMmUHVuLtlv3aKOhgbq1fB4qKO+XpBh7xgTE9U8wr0lq8uKhYs/i9hPSKCWBw+kchpYUXhmUF7Ny5ZRy7175HE66XUPj8NB9uJiMi9Z4v9NPwkb8H1IBCznz5ORNY/3YTQmnhnr4cO9n/EQBnvEsn+/sCWIRCUwW4vAJu+NprlzFTNvTEmhxkuXRPz21/C0t4tQNnIUKEkUs9ZSI/AlYFfczB6JjyfbuXMiVvt9uN3UcPo0GbxdXbKrA/hJjcAIoESRPAidmk2b+iTeQ/ZEWxu9Wr9e0ld+2x7w4kqNxInA2S+dPp0cz5/TQA/H06dkmjIl0AstQGqw8RFy4xA3cU1+tWGDcKNWorF7azZuJFtBQefkxnMt9++LhlaHpuh48qTTO9orK8l67JjwctPly+RubdXMh+o1a6Q+4fdCfjCB4bJrfDc1FhaqvxAhVbN5s9TQWBrgLxvqcbl897TcvUsmrC+88oFXcs4XL/z8bDaqWrnSJzGwdKX6Eyc0vWA7cyY4mQuMgesMfPEZ8MynLJE4bITacBoMZJo82R+X+MsywlVW5ruHPaMbOZICPVp/8qTvemtJiSgQXqP4esX8+Zpl2n7zpiAZQOAPxc6JrM3/DYUASwY2WEFg5kxyVVT4CcBDgQS4uzacOuUn8PAhGcaPVxKALHFDAagSgFTpjgCH0F+KELp4UTMmWf9A/EkhhBdb9u1TaCA2kEl5VSnrHSbuCyG7XcS1NwyZjO3s2V6FEC/EyxVJjPKlJczczc3UdOWKMLzp6lVhULDGaXv8mKxHjojQYfHWqRBYLGTDJHHXtd++rVmuRRKvXh2cxJsDjR8GHFfsC3EZRZg4nj0b+DKKCiZyTllGvwre2MqQ48qlaGRIRhZZA9rI1q0LbmQlWo1sKHBSISWg0zn+tPpBn0sJJL6KlMjpSpXGKfZJWcxhjcw9gWOx32YePYWTWkXM3QI+7m6FthxoVshpLGLsd+70i/Gc3JY9exRlVsZLYGYoS0wOpW3y9odUlVDqeD3Q1/HOqzxzZqbagoa3YZaGs0sxCigNJMD7Rq/fao+Y8eZr16gqK0taxHReUtYBP2BFGBEOgZEKAnip5dAhTZdz13bq9aKTdpUrfI11EN/LRtdu20bl8+aJRNVY1LO8WRiW8TKB2Yo8wHq4qaios/G1tVSdlycMYMnLcqAqO5tq8vPJsnevCDsGxzTLC57lioULJXmMDi6MVpbIwFrPW/7jerrduDewEvE+jlOnU2qi8nJhkG8PVGVjS4HQNrbagNtAOvennho/Pjh8uJV75TKHAYcMz7bG7IULt7xgL5Q3fkf09ripQNEHEhOlPSCrlVqKi8VCh3uDivFtgZWrC7jkxGTxeAb4Ue4/vTtYNEDdydvfjuBGVrl8OZWnpUkaXj0E/gQWyDOYB2wHDssa6xhwENgqn4bOBxLFoWG4ydnN7LMesmhtJWqEC8/mb3xUO9AHfXy+VR1m3D6X9/aHD4aTSj4xOQr8I/aHOh+5eoVUrVwl1nCzG2znxbwz8bncA7JkOcGxu0/eucuUY3fYkLfj7Xg7Bs34HwoINZEQp4aVAAAAAElFTkSuQmCC)](https://talk.owncloud.com/channel/ocis)
[![Build Status](https://drone.owncloud.com/api/badges/owncloud/ocis/status.svg)](https://drone.owncloud.com/owncloud/ocis)
[![Gitter chat](https://badges.gitter.im/cs3org/reva.svg)](https://gitter.im/cs3org/reva)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/dc97ddfa167641d8b107e9b618823c71)](https://www.codacy.com/gh/owncloud/ocis/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=owncloud/ocis&amp;utm_campaign=Badge_Grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/dc97ddfa167641d8b107e9b618823c71)](https://www.codacy.com/gh/owncloud/ocis/dashboard?utm_source=github.com&utm_medium=referral&utm_content=owncloud/ocis&utm_campaign=Badge_Coverage)
[![Go Doc](https://godoc.org/github.com/owncloud/ocis?status.svg)](http://godoc.org/github.com/owncloud/ocis)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=security_rating)](https://sonarcloud.io/dashboard?id=owncloud_ocis)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=coverage)](https://sonarcloud.io/dashboard?id=owncloud_ocis)
[![Go Report](https://goreportcard.com/badge/github.com/owncloud/ocis)](https://goreportcard.com/report/github.com/owncloud/ocis)
[![](https://images.microbadger.com/badges/image/owncloud/ocis.svg)](https://hub.docker.com/r/owncloud/ocis "oCIS docker image")
[![Go Doc](https://godoc.org/github.com/owncloud/ocis?status.svg)](http://godoc.org/github.com/owncloud/ocis)
[![oCIS docker image](https://img.shields.io/docker/v/owncloud/ocis?label=oCIS%20docker%20image&logo=docker&sort=semver)](https://hub.docker.com/r/owncloud/ocis)
**ownCloud Infinite Scale is currently in a technical preview state. It will be subject to a lot of changes and is not yet ready for general production deployments.**
## Run ownCloud Infinite Scale
Please see [Getting Started](https://owncloud.github.io/ocis/getting-started/)
Please see [Getting Started](https://owncloud.dev/ocis/getting-started/)
## Development
Please see [Development - Getting Started](https://owncloud.github.io/ocis/development/getting-started/)
Please see [Development - Getting Started](https://owncloud.dev/ocis/development/getting-started/)
## Security
@@ -24,7 +24,7 @@ If you find a security issue please contact [security@owncloud.com](mailto:secur
## Contributing
Fork -> Patch -> Push -> Pull Request
Please refer to our [Contribution Guidelines](CONTRIBUTING.md).
## License
@@ -33,5 +33,5 @@ Apache-2.0
## Copyright
```console
Copyright (c) 2020 ownCloud GmbH <https://owncloud.com>
Copyright (c) 2020-2021 ownCloud GmbH <https://owncloud.com>
```
-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.
+39 -173
View File
@@ -1,190 +1,56 @@
SHELL := bash
NAME := accounts
IMPORT := github.com/owncloud/ocis/$(NAME)
BIN := bin
DIST := dist
HUGO := hugo
PROTO_VERSION := v0
PROTO_SRC := pkg/proto/$(PROTO_VERSION)
ifeq ($(OS), Windows_NT)
EXECUTABLE := $(NAME).exe
UNAME := Windows
else
EXECUTABLE := $(NAME)
UNAME := $(shell uname -s)
endif
ifeq ($(UNAME), Darwin)
GOBUILD ?= go build -i
else
GOBUILD ?= go build
endif
PACKAGES ?= $(shell go list ./...)
SOURCES ?= $(shell find . -name "*.go" -type f -not -path "./node_modules/*")
GENERATE ?= $(IMPORT)/pkg/assets
FEATURE_PATH ?= "ui/tests/acceptance/features"
TAGS ?=
ifndef OUTPUT
ifneq ($(DRONE_TAG),)
OUTPUT ?= $(subst v,,$(DRONE_TAG))
else
OUTPUT ?= testing
endif
endif
ifndef VERSION
ifneq ($(DRONE_TAG),)
VERSION ?= $(subst v,,$(DRONE_TAG))
else
VERSION ?= $(shell git rev-parse --short HEAD)
endif
endif
ifndef DATE
DATE := $(shell date -u '+%Y%m%d')
endif
LDFLAGS += -s -w -X "$(IMPORT)/pkg/version.String=$(VERSION)" -X "$(IMPORT)/pkg/version.Date=$(DATE)"
GCFLAGS += all=-N -l
.PHONY: all
all: build
.PHONY: sync
sync:
go mod download
.PHONY: clean
clean:
go clean -i ./...
rm -rf $(BIN) $(DIST) $(HUGO)
.PHONY: fmt
fmt:
gofmt -s -w $(SOURCES)
.PHONY: vet
vet:
go vet $(PACKAGES)
.PHONY: staticcheck
staticcheck:
go run honnef.co/go/tools/cmd/staticcheck -tags '$(TAGS)' $(PACKAGES)
.PHONY: lint
lint:
for PKG in $(PACKAGES); do go run golang.org/x/lint/golint -set_exit_status $$PKG || exit 1; done;
.PHONY: generate
generate: protobuf
go generate $(GENERATE)
.PHONY: changelog
changelog:
go run github.com/restic/calens >| CHANGELOG.md
.PHONY: test
test:
go run github.com/haya14busa/goverage -v -coverprofile coverage.out $(PACKAGES)
.PHONY: install
install: $(SOURCES)
go install -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' ./cmd/$(NAME)
.PHONY: build
build: $(BIN)/$(EXECUTABLE) $(BIN)/$(EXECUTABLE)-debug
$(BIN)/$(EXECUTABLE): $(SOURCES)
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -o $@ ./cmd/$(NAME)
$(BIN)/$(EXECUTABLE)-debug: $(SOURCES)
$(GOBUILD) -v -tags '$(TAGS)' -ldflags '$(LDFLAGS)' -gcflags '$(GCFLAGS)' -o $@ ./cmd/$(NAME)
.PHONY: release
release: release-dirs release-linux release-windows release-darwin release-copy release-check
.PHONY: release-dirs
release-dirs:
mkdir -p $(DIST)/binaries $(DIST)/release
.PHONY: release-linux
release-linux: release-dirs
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'linux' -arch 'amd64 386 arm64 arm' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-windows
release-windows: release-dirs
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -os 'windows' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-darwin
release-darwin: release-dirs
go run github.com/mitchellh/gox -tags 'netgo $(TAGS)' -ldflags '$(LDFLAGS)' -os 'darwin' -arch 'amd64' -output '$(DIST)/binaries/$(EXECUTABLE)-$(OUTPUT)-{{.OS}}-{{.Arch}}' ./cmd/$(NAME)
.PHONY: release-copy
release-copy:
$(foreach file,$(wildcard $(DIST)/binaries/$(EXECUTABLE)-*),cp $(file) $(DIST)/release/$(notdir $(file));)
.PHONY: release-check
release-check:
cd $(DIST)/release; $(foreach file,$(wildcard $(DIST)/release/$(EXECUTABLE)-*),sha256sum $(notdir $(file)) > $(notdir $(file)).sha256;)
.PHONY: release-finish
release-finish: release-copy release-check
.PHONY: config-docs-generate
config-docs-generate:
go run github.com/owncloud/flaex >| ../docs/extensions/$(NAME)/configuration.md
.PHONY: test-acceptance-webui
test-acceptance-webui:
./ui/tests/run-acceptance-test.sh $(FEATURE_PATH)
.PHONY: watch
watch:
go run github.com/cespare/reflex -c reflex.conf
$(GOPATH)/bin/protoc-gen-go:
GO111MODULE=off go get -v google.golang.org/protobuf/cmd/protoc-gen-go
############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI
include ../.bingo/Variables.mk
endif
$(GOPATH)/bin/protoc-gen-micro:
GO111MODULE=on go get -v github.com/micro/protoc-gen-micro/v2
############ go tooling ############
include ../.make/go.mk
$(GOPATH)/bin/protoc-gen-microweb:
GO111MODULE=off go get -v github.com/owncloud/protoc-gen-microweb
############ release ############
include ../.make/release.mk
$(GOPATH)/bin/protoc-gen-openapiv2:
GO111MODULE=off go get -v github.com/grpc-ecosystem/grpc-gateway/protoc-gen-openapiv2
############ docs generate ############
include ../.make/docs.mk
$(PROTO_SRC)/accounts.pb.go: $(PROTO_SRC)/accounts.proto
protoc \
-I=third_party/ \
-I=$(PROTO_SRC)/ \
--go_out=. accounts.proto
############ l10n ############
include ../.make/l10n.mk
$(PROTO_SRC)/accounts.pb.micro.go: $(PROTO_SRC)/accounts.proto
protoc \
-I=third_party/ \
-I=$(PROTO_SRC)/ \
--micro_out=. accounts.proto
.PHONY: docs-generate
docs-generate: config-docs-generate \
grpc-docs-generate
$(PROTO_SRC)/accounts.pb.web.go: $(PROTO_SRC)/accounts.proto
protoc \
-I=third_party/ \
-I=$(PROTO_SRC)/ \
--microweb_out=. accounts.proto
############ generate ############
include ../.make/generate.mk
$(PROTO_SRC)/accounts.swagger.json: $(PROTO_SRC)/accounts.proto
# the other commands above respect the declared package in the .proto file for placement of the resulting file.
# `swagger_out` doesn't, so we have to specify the output path as `$(PROTO_SRC)` instead of `.`
protoc \
-I=third_party/ \
-I=$(PROTO_SRC)/ \
--swagger_out=$(PROTO_SRC) accounts.proto
.PHONY: ci-go-generate
ci-go-generate: protobuf # CI runs ci-node-generate automatically before this target
.PHONY: ci-node-generate
ci-node-generate: yarn-build
.PHONY: yarn-build
yarn-build: node_modules
yarn lint
yarn test
yarn build
.PHONY: node_modules
node_modules:
yarn install --frozen-lockfile
############ protobuf ############
PROTO_VERSION := v0
PROTO_SRC := pkg/proto/$(PROTO_VERSION)
include ../.make/protobuf.mk
.PHONY: protobuf
protobuf: $(GOPATH)/bin/protoc-gen-go $(GOPATH)/bin/protoc-gen-micro $(GOPATH)/bin/protoc-gen-microweb $(GOPATH)/bin/protoc-gen-openapiv2 \
$(PROTO_SRC)/accounts.pb.go $(PROTO_SRC)/accounts.pb.micro.go $(PROTO_SRC)/accounts.pb.web.go $(PROTO_SRC)/accounts.swagger.json
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
+2 -1
View File
@@ -4,10 +4,11 @@ import (
"os"
"github.com/owncloud/ocis/accounts/pkg/command"
"github.com/owncloud/ocis/accounts/pkg/config"
)
func main() {
if err := command.Execute(); err != nil {
if err := command.Execute(config.New()); err != nil {
os.Exit(1)
}
}
-40
View File
@@ -1,40 +0,0 @@
module github.com/owncloud/ocis/accounts
go 1.13
require (
contrib.go.opencensus.io/exporter/jaeger v0.2.1
contrib.go.opencensus.io/exporter/ocagent v0.6.0
contrib.go.opencensus.io/exporter/zipkin v0.1.1
github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21
github.com/cs3org/reva v1.4.1-0.20201203135805-655c9babdc3f
github.com/go-chi/chi v4.1.2+incompatible
github.com/go-chi/render v1.0.1
github.com/gofrs/uuid v3.3.0+incompatible
github.com/golang/protobuf v1.4.3
github.com/mennanov/fieldmask-utils v0.3.3
github.com/micro/cli/v2 v2.1.2
github.com/micro/go-micro/v2 v2.9.1
github.com/oklog/run v1.1.0
github.com/olekukonko/tablewriter v0.0.4
github.com/openzipkin/zipkin-go v0.2.2
github.com/owncloud/ocis/ocis-pkg v0.0.0-20201103111659-46bf133a3c63
github.com/owncloud/ocis/settings v0.0.0-20200918114005-1a0ddd2190ee
github.com/prometheus/client_golang v1.7.1
github.com/restic/calens v0.2.0
github.com/rs/zerolog v1.20.0
github.com/spf13/viper v1.7.0
github.com/stretchr/testify v1.6.1
go.opencensus.io v0.22.5
golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
golang.org/x/net v0.0.0-20200822124328-c89045814202
google.golang.org/genproto v0.0.0-20200624020401-64a14ca9d1ad
google.golang.org/grpc v1.33.2
google.golang.org/protobuf v1.25.0
)
replace (
github.com/owncloud/ocis/ocis-pkg => ../ocis-pkg
github.com/owncloud/ocis/settings => ../settings
google.golang.org/grpc => google.golang.org/grpc v1.26.0
)
-1202
View File
File diff suppressed because it is too large. Load diff
+10
View File
@@ -0,0 +1,10 @@
[main]
host = https://www.transifex.com
[owncloud.ocis-accounts]
file_filter = locale/<lang>/LC_MESSAGES/app.po
minimum_perc = 0
source_file = template.pot
source_lang = en
type = PO
+1
View File
@@ -0,0 +1 @@
{"ar":{"Account is activated":"تم تفعيل الحساب","Account is blocked":"تم حظر الحساب","Accounts":"حسابات","Activate":"فعل","Activated":"مُفعّلة","Admin":"المسؤول","Block":"حظر","Cancel":"إلغاء","Clear selection":"اختيار واضحة","Confirm":"تأكيد","Create":"إنشاء","Create new account":"إنشاء حساب جديد","Creating":"إنشاء","Delete":"حذف","Display name":"اسم العرض","Email":"البريد الإلكتروني","Email cannot be empty":"لا يمكن للبريد الإلكتروني أن يكون فارغا","Failed to change role.":"فشل في تغيير الدور","Guest":"ضيف","Invalid email address":"عنوان بريد إلكتروني غير صالح","Invalid username":"اسم مستخدم غير صالح","Loading":"تحميل","msg":"ام اس جي","Password":"كلمة المرور","Password cannot be empty":"لا يمكن أن تكون كلمة المرور فارغة","Role":"الدور","Select all users":"تحديد كل المستخدمين","Select role":"تحديد الدور","User":"المستخدم","Username":"اسم المستخدم","Username cannot be empty":"لا يمكن أن يكون إسم المستخدم فارغا","You don't have permissions to manage accounts.":"ليس لديك صلاحيات لإدارة الحسابات"},"de":{"%{ amount } selected user":["%{ amount } ausgewählter Benutzer","%{ amount } ausgewählte Benutzer"],"Account is activated":"Konto ist aktiviert","Account is blocked":"Konto ist geblockt","Accounts":"Konten","Activate":"Aktivieren","Activated":"Aktiviert","Admin":"Administration","Block":"Blockieren","Cancel":"Abbrechen","Clear selection":"Auswahl aufheben","Confirm":"Bestätigen","Create":"Erstellen","Create new account":"Neues Konto erstellen","Creating":"Erstelle","Delete":"Löschen","Delete the selected account?":["Ausgewählten Account löschen?","Ausgewählte Accounts löschen?"],"Display name":"Anzeigename","Email":"E-Mail","Email cannot be empty":"E-Mail darf nicht leer sein","Failed to change role.":"Ändern der Rolle fehlgeschlagen.","Guest":"Gast","Invalid email address":"Ungültige E-Mail-Adresse","Invalid username":"Ungültiger Benutzername","Loading":"Lade","msg":"msg","Password":"Passwort","Password cannot be empty":"Das Passwort darf nicht leer sein","Role":"Rolle","Select %{ account }":" %{ account } auswählen","Select all users":"Alle Benutzer auswählen","Select role":"Rolle auswählen","User":"Benutzer","Username":"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein","You don't have permissions to manage accounts.":"Keine Berechtigungen um Konten zu verwalten"},"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
+4 -4
View File
@@ -1,10 +1,10 @@
const path = require('path')
const PHOENIX_PATH = process.env.PHOENIX_PATH
const WEB_PATH = process.env.WEB_PATH
const config = require(path.join(PHOENIX_PATH, 'nightwatch.conf.js'))
const config = require(path.join(WEB_PATH, 'nightwatch.conf.js'))
config.page_objects_path = [PHOENIX_PATH + '/tests/acceptance/pageObjects', 'ui/tests/acceptance/pageobjects']
config.custom_commands_path = PHOENIX_PATH + '/tests/acceptance/customCommands'
config.page_objects_path = [WEB_PATH + '/tests/acceptance/pageObjects', 'ui/tests/acceptance/pageobjects']
config.custom_commands_path = WEB_PATH + '/tests/acceptance/customCommands'
module.exports = {
...config
+65 -64
View File
@@ -1,83 +1,84 @@
{
"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/accounts/issues",
"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}\""
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-export-default-from": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.8.0",
"@babel/polyfill": "^7.10.1",
"@babel/preset-env": "^7.7.7",
"@babel/register": "7.10.1",
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-json": "^4.0.1",
"@rollup/plugin-replace": "^2.3.0",
"archiver": "^4.0.1",
"axios": "^0.19.0",
"core-js": "3",
"cross-env": "^6.0.3",
"cucumber": "^6.0.5",
"cucumber-pretty": ">=6.0.0",
"debounce": "^1.2.0",
"easygettext": "^2.7.0",
"eslint": "6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-node": "11.0.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^6.1.2",
"fs-extra": "^9.0.1",
"join-path": "^1.1.1",
"ldap": "^0.7.1",
"nightwatch": "^1.3.6",
"nightwatch-api": "^3.0.1",
"node-fetch": "^2.6.1",
"qs": "^6.9.1",
"rimraf": "^3.0.0",
"rollup": "^1.28.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-filesize": "^6.2.1",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.3",
"rollup-plugin-vue": "^5.1.4",
"swagger-vue-generator": "^1.0.6",
"url-search-params-polyfill": "^8.1.0",
"vue-template-compiler": "^2.6.11",
"vuex": "^3.5.1",
"xml-js": "^1.6.11"
"lint": "eslint ui/**/*.vue ui/**/*.js --color --global requirejs --global require",
"test": "echo 'Not implemented'",
"watch": "rollup -c -w"
},
"browserslist": [
"> 1%",
"not dead"
],
"peerDependencies": {
"owncloud-design-system": "^1.7.0"
},
"dependencies": {
"validator": "^13.1.1"
"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.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.15.6",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/polyfill": "^7.10.1",
"@babel/preset-env": "^7.13.12",
"@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",
"cross-env": "^7.0.3",
"easygettext": "^2.17.0",
"eslint": "7.24.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^7.8.0",
"fs-extra": "^9.0.1",
"join-path": "^1.1.1",
"ldapjs": "^2.2.3",
"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.55.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-filesize": "^9.1.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-vue": "^5.1.4",
"swagger-vue-generator": "^1.0.6",
"url-search-params-polyfill": "^8.1.0",
"vue-template-compiler": "^2.6.11",
"xml-js": "^1.6.11"
},
"peerDependencies": {
"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 go run github.com/UnnoTed/fileb0x 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 "2020-11-20 11:12:19.055864 +0100 CET m=+0.009268058" from config file "embed.yml" DO NOT EDIT.
// modification hash(aa63d3a7859474115b12e1e93af346a5.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\xbd\xe9\x76\x1b\xb7\xb2\x30\xfa\xfb\x7e\x4f\x41\xf6\xf1\xee\x03\x6c\x96\x68\xd2\x19\xf6\x4e\xd3\x08\xb7\x2d\xcb\x8e\x13\x4f\x91\x6c\x27\x0e\xc3\xa3\xd5\x22\x41\x09\x16\x09\xd0\x68\x50\x83\xc9\xbe\xef\x73\x5f\xe3\x3e\xd9\x5d\x28\x00\x3d\xb1\x65\x67\x9f\x6f\x58\xeb\xfe\x21\xbb\xd1\x18\x0b\x40\x4d\xa8\x2a\xcc\xf9\x42\x48\x4e\xc8\x62\x23\x67\x46\x28\x49\xe8\x36\xda\x64\xbc\x93\x19\x2d\x66\x26\x1a\x5d\xa5\xba\x63\x58\xb4\x91\x2e\xe3\x3c\xea\x32\x73\xbb\xe6\x6a\xd1\x39\x5f\xaa\xb3\x74\xf9\xf6\x42\x64\xe3\xf2\x31\x69\xcb\x79\x2d\xe4\x5c\x5d\x8f\xdd\x5f\x6b\x0e\x57\x81\xaf\xa7\x35\x47\xc6\x97\x8b\xb1\xfd\x49\xb6\xf9\x28\x74\xb6\xc3\x89\x01\x4e\xb7\x9a\x9b\x8d\x96\x1d\x43\x38\xdb\xf2\x9b\xb5\xd2\x26\x4b\xb6\x79\x0e\xbc\xef\xdf\x68\xf9\x98\xdb\x11\x49\x56\x1d\xb2\xa1\x5b\x9b\xc8\xd9\x7e\xca\xeb\xb3\x8f\x7c\x66\xfa\x6b\xad\x8c\xb2\x3d\x01\xc9\x78\xff\x22\xcd\x5e\x5f\xcb\x37\x5a\xad\xb9\x36\xb7\xa0\x59\x14\x0a\x46\x2c\xf4\xf7\xe4\x76\x75\xa6\x96\x63\xf7\x97\x6c\x73\x50\x4c\xf7\x85\xe1\x3a\x35\x4a\xef\x76\xd1\xbf\xfe\x15\x5e\x22\x10\x4c\xf7\xd3\xec\x56\xce\x9e\x57\xbf\xd7\x52\x22\x48\x99\xee\x1b\x75\x62\xb4\x90\xe7\x6f\xd3\x73\xcc\x52\x79\x8f\x4a\xa0\xcc\x2c\x50\x40\x82\x76\x83\x50\x8c\xc7\x31\x2f\x87\xd0\x11\x32\x33\xa9\x9c\xd9\x5e\x2e\xc7\x3c\x59\x82\x08\xc3\x9c\x69\x9e\x1a\x4e\x54\x99\x99\x42\xca\x24\xbf\xee\xdc\x10\xbd\xdb\x4d\xa6\x74\xe4\x41\x2d\xfa\xa7\x42\x5e\xa9\xcb\x2a\xcc\x6c\xa3\xae\x49\xcd\xa2\x6c\x93\xad\xb9\x9c\xf3\xf9\x89\x49\xb5\x89\x42\xb9\x22\xb7\x02\x41\xb7\x62\x41\x22\x7e\xc3\x67\x1b\x23\xe4\x79\xc4\x18\xd3\xd4\x5c\x68\x75\xdd\xb1\x4d\x1e\x69\xad\x34\x89\x9e\x71\xe9\x40\xd0\x11\x59\x27\x5d\x6a\x9e\xce\x6f\x3b\x7a\x23\xa5\x2d\x42\x47\xb6\x8a\x99\x5a\xad\x97\xdc\xf0\xb9\xab\x02\xab\xc5\x7a\xec\xbb\xf2\x55\x8a\xd0\x85\xd7\x84\xe6\x0b\xa5\x89\xec\xaf\xb8\xb9\x50\x73\xa6\x40\xf6\x53\x7d\xce\xc4\x68\xe4\xba\x9f\x32\xd9\x9f\xf3\x25\x3f\x4f\x0d\xb7\x0d\xa4\x2e\x79\xc6\xce\x48\x0a\x12\xdb\x9c\x61\x2b\x33\xc6\xd8\x86\xce\x94\x34\x42\x6e\x78\x68\x60\x96\xe7\xb6\x07\x92\xdf\x18\xdb\x81\xd0\x0e\x95\xfd\x8c\x4b\xc3\x64\xff\xd4\xff\xa7\xfa\x7c\xc4\x97\x19\xef\xd4\x3a\x5c\xe4\xc7\x71\x34\xe0\x58\x81\x91\x66\x95\x81\xbb\x21\x8c\x64\x7f\x2e\xb2\x75\x6a\x66\x17\x47\x37\x33\xbe\x46\x48\xe3\x17\x9a\xdb\x86\x22\xd7\xc3\x6a\x2b\x71\x2c\xfb\xe9\x99\xde\xac\x0d\x09\x5f\x5d\x5d\x74\xa4\x59\x65\x72\x10\x11\x2c\x59\xe6\xa7\x19\xe1\x2e\x95\x5e\xa5\x4b\x5b\xdb\xb2\x8f\x8b\xc5\xf6\x58\x5b\xe0\x29\xc9\xc7\x95\xde\x25\xe5\x30\x3e\x08\xbe\x9c\x47\xb0\x44\x88\xb7\x40\x6f\x7b\x95\x2e\x37\x3c\xc1\xef\x60\xeb\x49\x5c\x75\x79\x5e\x42\xc8\xb5\x16\xc7\xa4\x09\x02\x3f\xa1\x3e\xa7\x9f\xd6\xa5\x1b\x7f\x9e\x13\x03\x12\x52\x0a\x22\x2f\xb6\x4a\x18\xce\xd6\xe8\x5b\x8f\x45\xb6\xb6\xee\x24\x8c\x0d\x52\x7d\x9e\x98\xfe\x2c\x5d\x2e\x89\xcd\x98\xe7\x33\x0b\x5d\x8b\x20\x6a\xd9\x7d\x8b\x98\x3b\xcf\x73\xd3\xbf\xd6\xe9\x9a\xcd\x10\x6a\x1b\x56\x45\x59\x4b\x42\xb7\x65\x07\x16\xb5\xb7\xb9\x7d\xb3\x45\xd6\xb6\xc8\x7a\xa2\xa6\xac\x82\x97\x03\x96\xbb\x10\x59\x8e\x15\x5f\x84\x7d\x7b\xce\xcd\x9b\xb0\x63\x5f\x2f\x60\xc5\x2e\xe2\xf8\x82\x5c\x90\x23\x32\x99\x52\x4a\x47\xab\x38\x5e\x75\x99\xc5\x03\xd2\x0d\x65\x05\x8a\xc6\x31\x59\xb3\x15\xc5\x9a\xae\xd8\xbc\xdc\xf3\x6c\x59\x79\xae\x63\x86\x35\x2d\x07\x72\x6e\x81\x30\x71\xcb\x1c\x02\x00\xc2\x1a\x9a\xf6\x17\x4a\x1f\xa5\xb3\x8b\x0a\x9a\xe5\x74\x6b\x26\x7c\x5a\xc3\xb2\x95\x31\x05\x8c\x42\x38\x18\x9a\xe7\x94\x96\x70\xb9\x75\x68\x1e\x51\xcb\xa8\x9a\x97\xd5\xf1\x49\x51\x20\x2d\xc1\x65\x51\x49\x15\xd9\x6b\x48\xe9\xb6\x5b\xe4\xd4\xb6\x24\xa4\x30\x73\xd5\x6f\xec\x0a\x9f\xa8\x29\x18\x10\x6e\x91\xbb\x81\x75\x19\xdb\xf8\x35\xee\x36\xc2\x06\x17\xe8\x82\x2d\xfb\xb8\x60\x0b\xfc\x16\xc7\x91\x42\x90\x95\xa4\x60\x51\x80\x7d\x01\xd1\xe9\x69\x7a\x9d\x0a\x13\xd1\x31\xef\x6b\x9e\xa9\xe5\x15\x27\x8b\xbe\x4f\xa5\x7d\x73\xc1\x65\x9d\x32\x69\x8f\x49\xc0\x60\x2f\x73\x0a\xcd\xcf\x1e\xf4\xe1\x3b\x4d\x2a\x35\xb7\xd5\xe8\xbb\xcc\x0c\xa4\x64\xb9\x5f\xa1\x1b\x48\x4b\xbd\xf9\x8c\x6c\xdc\x5e\x42\x98\x59\x40\xda\xd4\x50\x80\xe9\xb1\x76\xad\xa5\x90\xd2\x24\x25\x34\x2f\x67\xf0\xac\x9c\x41\xc9\x4c\x41\x08\x27\xdc\xef\xd9\xa9\x85\xf5\x95\x12\xf3\xce\xc0\x22\x27\xc4\x24\xbc\x40\xc2\x4c\x6e\x96\x4b\x28\x11\x00\xaf\xa2\xc8\xb2\xb6\xbe\xeb\x4a\x1c\x13\x5e\xa0\x82\x80\xd3\x38\xe2\x02\xd7\x02\xb8\xde\xb4\x55\x48\xfd\x68\x36\x23\xde\xc4\x26\xae\x06\xbb\x9c\xde\xde\xae\xb9\xa7\x4e\x6f\x2f\x78\x27\x34\xdf\x99\x2b\x9e\x75\xa4\x32\x9d\xb5\x56\x57\x62\xce\x3b\x69\xe7\x3f\xb1\xf0\x7f\x76\x5c\x5d\x51\x01\xad\x4d\xee\xe8\x64\x46\x24\x94\x03\x70\x6d\x54\xd7\x9d\xc5\xf7\x6e\xdd\xf9\x82\x77\x74\x4b\xe3\x72\x6c\x42\x6c\x33\x72\x0c\x00\x7e\x0d\x4b\x54\x8d\x95\x43\xd0\x84\x4f\x8c\x5d\x29\x9b\xa5\x79\x95\xae\xf8\x94\x29\xb7\x30\x80\xf7\xed\x8a\x63\x06\xff\x5e\xa8\x59\xb1\xab\xbb\x25\xa4\x6a\x40\x76\x0b\xb4\x0a\x62\xba\xdf\x17\x9a\xa8\x84\xfc\x35\xa8\x16\x10\x75\xbd\xb3\x94\xdf\x82\x35\x95\x1d\xbf\xb7\xda\xaa\x2f\x17\xdb\x75\xc9\xbf\x59\xc4\xfe\x42\xcd\x12\x33\x19\x4c\xf3\xd1\xb0\x23\x64\xc7\x60\xd7\x11\x8d\xLine truncated
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)
+2 -2
View File
@@ -3,11 +3,11 @@ package command
import (
"fmt"
"github.com/micro/cli/v2"
"github.com/micro/go-micro/v2/client/grpc"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"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
+5 -4
View File
@@ -2,14 +2,15 @@ package command
import (
"fmt"
"github.com/micro/cli/v2"
"github.com/micro/go-micro/v2/client/grpc"
"os"
"strconv"
"github.com/asim/go-micro/plugins/client/grpc/v3"
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"
"os"
"strconv"
"github.com/urfave/cli/v2"
)
// InspectAccount command shows detailed information about a specific account.
+5 -4
View File
@@ -2,14 +2,15 @@ package command
import (
"fmt"
"github.com/micro/cli/v2"
"github.com/micro/go-micro/v2/client/grpc"
"os"
"strconv"
"github.com/asim/go-micro/plugins/client/grpc/v3"
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"
"os"
"strconv"
"github.com/urfave/cli/v2"
)
// ListAccounts command lists all accounts
+3 -3
View File
@@ -4,11 +4,11 @@ import (
"context"
"fmt"
"github.com/micro/cli/v2"
"github.com/micro/go-micro/v2/client/grpc"
merrors "github.com/micro/go-micro/v2/errors"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"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.
+4 -3
View File
@@ -2,12 +2,13 @@ package command
import (
"fmt"
"github.com/micro/cli/v2"
"github.com/micro/go-micro/v2/client/grpc"
"os"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
accounts "github.com/owncloud/ocis/accounts/pkg/proto/v0"
"os"
"github.com/urfave/cli/v2"
)
// RemoveAccount command deletes an existing account.
+37 -7
View File
@@ -1,16 +1,19 @@
package command
import (
"context"
"os"
"strings"
"github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/version"
"github.com/owncloud/ocis/accounts/pkg/flagset"
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 (
@@ -19,8 +22,7 @@ var (
)
// Execute is the entry point for the ocis-accounts command.
func Execute() error {
cfg := config.New()
func Execute(cfg *config.Config) error {
app := &cli.App{
Name: "ocis-accounts",
Version: version.String,
@@ -73,11 +75,14 @@ func NewLogger(cfg *config.Config) log.Logger {
log.Level(cfg.Log.Level),
log.Pretty(cfg.Log.Pretty),
log.Color(cfg.Log.Color),
log.File(cfg.Log.File),
)
}
// ParseConfig loads accounts configuration from Viper known paths.
func ParseConfig(c *cli.Context, cfg *config.Config) error {
sync.ParsingViperConfig.Lock()
defer sync.ParsingViperConfig.Unlock()
logger := NewLogger(cfg)
viper.SetEnvKeyReplacer(strings.NewReplacer(".", "_"))
@@ -97,7 +102,7 @@ func ParseConfig(c *cli.Context, cfg *config.Config) error {
if err := viper.ReadInConfig(); err != nil {
switch err.(type) {
case viper.ConfigFileNotFoundError:
logger.Info().
logger.Debug().
Msg("no config found on preconfigured location")
case viper.UnsupportedConfigError:
logger.Fatal().
@@ -118,3 +123,28 @@ func ParseConfig(c *cli.Context, cfg *config.Config) error {
return nil
}
// SutureService allows for the accounts command to be embedded and supervised by a suture supervisor tree.
type SutureService struct {
cfg *config.Config
}
// NewSutureService creates a new accounts.SutureService
func NewSutureService(cfg *ociscfg.Config) suture.Service {
if cfg.Mode == 0 {
cfg.Accounts.Supervised = true
}
cfg.Accounts.Log.File = cfg.Log.File
return SutureService{
cfg: cfg.Accounts,
}
}
func (s SutureService) Serve(ctx context.Context) error {
s.cfg.Context = ctx
if err := Execute(s.cfg); err != nil {
return err
}
return nil
}
+66 -142
View File
@@ -2,26 +2,19 @@ package command
import (
"context"
"os"
"os/signal"
"strings"
"time"
"contrib.go.opencensus.io/exporter/jaeger"
"contrib.go.opencensus.io/exporter/ocagent"
"contrib.go.opencensus.io/exporter/zipkin"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/ocis-pkg/sync"
"github.com/oklog/run"
openzipkin "github.com/openzipkin/zipkin-go"
zipkinhttp "github.com/openzipkin/zipkin-go/reporter/http"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/flagset"
"github.com/owncloud/ocis/accounts/pkg/metrics"
"github.com/owncloud/ocis/accounts/pkg/server/grpc"
"github.com/owncloud/ocis/accounts/pkg/server/http"
svc "github.com/owncloud/ocis/accounts/pkg/service/v0"
"go.opencensus.io/stats/view"
"go.opencensus.io/trace"
"github.com/owncloud/ocis/accounts/pkg/tracing"
"github.com/urfave/cli/v2"
)
// Server is the entry point for the server command.
@@ -32,92 +25,39 @@ func Server(cfg *config.Config) *cli.Command {
Description: "uses an LDAP server as the storage backend",
Flags: flagset.ServerWithConfig(cfg),
Before: func(ctx *cli.Context) error {
logger := NewLogger(cfg)
if cfg.HTTP.Root != "/" {
cfg.HTTP.Root = strings.TrimSuffix(cfg.HTTP.Root, "/")
}
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.
return ParseConfig(ctx, cfg)
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)
if cfg.Tracing.Enabled {
switch t := cfg.Tracing.Type; t {
case "agent":
exporter, err := ocagent.NewExporter(
ocagent.WithReconnectionPeriod(5*time.Second),
ocagent.WithAddress(cfg.Tracing.Endpoint),
ocagent.WithServiceName(cfg.Tracing.Service),
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create agent tracing")
return err
}
trace.RegisterExporter(exporter)
view.RegisterExporter(exporter)
case "jaeger":
exporter, err := jaeger.NewExporter(
jaeger.Options{
AgentEndpoint: cfg.Tracing.Endpoint,
CollectorEndpoint: cfg.Tracing.Collector,
Process: jaeger.Process{
ServiceName: cfg.Tracing.Service,
},
},
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create jaeger tracing")
return err
}
trace.RegisterExporter(exporter)
case "zipkin":
endpoint, err := openzipkin.NewEndpoint(
cfg.Tracing.Service,
cfg.Tracing.Endpoint,
)
if err != nil {
logger.Error().
Err(err).
Str("endpoint", cfg.Tracing.Endpoint).
Str("collector", cfg.Tracing.Collector).
Msg("Failed to create zipkin tracing")
return err
}
exporter := zipkin.NewExporter(
zipkinhttp.NewReporter(
cfg.Tracing.Collector,
),
endpoint,
)
trace.RegisterExporter(exporter)
default:
logger.Warn().
Str("type", t).
Msg("Unknown tracing backend")
}
trace.ApplyConfig(
trace.Config{
DefaultSampler: trace.AlwaysSample(),
},
)
} else {
logger.Debug().
Msg("Tracing is not enabled")
err := tracing.Configure(cfg)
if err != nil {
return err
}
var (
gr = run.Group{}
ctx, cancel = context.WithCancel(context.Background())
mtrcs = metrics.New()
)
gr := run.Group{}
ctx, cancel := defineContext(cfg)
mtrcs := metrics.New()
defer cancel()
@@ -125,70 +65,54 @@ func Server(cfg *config.Config) *cli.Command {
handler, err := svc.New(svc.Logger(logger), svc.Config(cfg))
if err != nil {
logger.Fatal().Err(err).Msg("could not initialize service handler")
logger.Error().Err(err).Msg("handler init")
return err
}
{
server := http.Server(
http.Logger(logger),
http.Name(cfg.Server.Name),
http.Context(ctx),
http.Config(cfg),
http.Metrics(mtrcs),
http.Flags(flagset.RootWithConfig(config.New())),
http.Flags(flagset.ServerWithConfig(config.New())),
http.Handler(handler),
)
httpServer := http.Server(
http.Config(cfg),
http.Logger(logger),
http.Name(cfg.Server.Name),
http.Context(ctx),
http.Metrics(mtrcs),
http.Handler(handler),
)
gr.Add(server.Run, func(_ error) {
logger.Info().
Str("server", "http").
Msg("Shutting down server")
gr.Add(httpServer.Run, func(_ error) {
logger.Info().Str("server", "http").Msg("shutting down server")
cancel()
})
cancel()
})
}
grpcServer := grpc.Server(
grpc.Config(cfg),
grpc.Logger(logger),
grpc.Name(cfg.Server.Name),
grpc.Context(ctx),
grpc.Metrics(mtrcs),
grpc.Handler(handler),
)
{
server := grpc.Server(
grpc.Logger(logger),
grpc.Name(cfg.Server.Name),
grpc.Context(ctx),
grpc.Config(cfg),
grpc.Metrics(mtrcs),
grpc.Handler(handler),
)
gr.Add(grpcServer.Run, func(_ error) {
logger.Info().Str("server", "grpc").Msg("shutting down server")
cancel()
})
gr.Add(func() error {
logger.Info().Str("service", server.Name()).Msg("Reporting settings bundles to settings service")
svc.RegisterSettingsBundles(&logger)
svc.RegisterPermissions(&logger)
return server.Run()
}, func(_ error) {
logger.Info().
Str("server", "grpc").
Msg("Shutting down server")
cancel()
})
}
{
stop := make(chan os.Signal, 1)
gr.Add(func() error {
signal.Notify(stop, os.Interrupt)
<-stop
return nil
}, func(err error) {
close(stop)
cancel()
})
if !cfg.Supervised {
sync.Trap(&gr, cancel)
}
return gr.Run()
},
}
}
// defineContext sets the context for the extension. If there is a context configured it will create a new child from it,
// if not, it will create a root context that can be cancelled.
func defineContext(cfg *config.Config) (context.Context, context.CancelFunc) {
return func() (context.Context, context.CancelFunc) {
if cfg.Context == nil {
return context.WithCancel(context.Background())
}
return context.WithCancel(cfg.Context)
}()
}
+3 -2
View File
@@ -3,11 +3,12 @@ package command
import (
"errors"
"fmt"
"github.com/micro/cli/v2"
"github.com/micro/go-micro/v2/client/grpc"
"github.com/asim/go-micro/plugins/client/grpc/v3"
"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"
)
+2 -2
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.
@@ -19,7 +19,7 @@ func PrintVersion(cfg *config.Config) *cli.Command {
Usage: "Print the versions of the running instances",
Flags: flagset.ListAccountsWithConfig(cfg),
Action: func(c *cli.Context) error {
reg := *registry.GetRegistry()
reg := registry.GetRegistry()
services, err := reg.GetService(cfg.GRPC.Namespace + "." + cfg.Server.Name)
if err != nil {
fmt.Println(fmt.Errorf("could not get accounts services from the registry: %v", err))
+22 -6
View File
@@ -1,6 +1,8 @@
// Package config should be moved to internal
package config
import "context"
// LDAP defines the available ldap configuration.
type LDAP struct {
Hostname string
@@ -24,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.
@@ -40,10 +51,10 @@ type GRPC struct {
// Server configures a server.
type Server struct {
Version string
Name string
AccountsDataPath string
HashDifficulty int
Version string
Name string
HashDifficulty int
DemoUsersAndGroups bool
}
// Asset defines the available asset configuration.
@@ -61,12 +72,14 @@ type Log struct {
Level string
Pretty bool
Color bool
File string
}
// 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.
@@ -122,6 +135,9 @@ type Config struct {
Index Index
ServiceUser ServiceUser
Tracing Tracing
Context context.Context
Supervised bool
}
// New returns a new config.
+104 -58
View File
@@ -1,9 +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
@@ -11,233 +15,275 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "log-level",
Value: "info",
Usage: "Set logging level",
EnvVars: []string{"ACCOUNTS_LOG_LEVEL"},
EnvVars: []string{"ACCOUNTS_LOG_LEVEL", "OCIS_LOG_LEVEL"},
Destination: &cfg.Log.Level,
},
&cli.BoolFlag{
Value: true,
Name: "log-pretty",
Usage: "Enable pretty logging",
EnvVars: []string{"ACCOUNTS_LOG_PRETTY"},
EnvVars: []string{"ACCOUNTS_LOG_PRETTY", "OCIS_LOG_PRETTY"},
Destination: &cfg.Log.Pretty,
},
&cli.BoolFlag{
Value: true,
Name: "log-color",
Usage: "Enable colored logging",
EnvVars: []string{"ACCOUNTS_LOG_COLOR"},
EnvVars: []string{"ACCOUNTS_LOG_COLOR", "OCIS_LOG_COLOR"},
Destination: &cfg.Log.Color,
},
&cli.StringFlag{
Name: "extensions",
Usage: "Run specific extensions during supervised mode",
},
}
}
// ServerWithConfig applies cfg to the root flagset
func ServerWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "log-file",
Usage: "Enable log to file",
EnvVars: []string{"ACCOUNTS_LOG_FILE", "OCIS_LOG_FILE"},
Destination: &cfg.Log.File,
},
&cli.BoolFlag{
Name: "tracing-enabled",
Usage: "Enable sending traces",
EnvVars: []string{"ACCOUNTS_TRACING_ENABLED"},
EnvVars: []string{"ACCOUNTS_TRACING_ENABLED", "OCIS_TRACING_ENABLED"},
Destination: &cfg.Tracing.Enabled,
},
&cli.StringFlag{
Name: "tracing-type",
Value: "jaeger",
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: "",
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: "",
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{
Name: "tracing-service",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Tracing.Service, "accounts"),
Usage: "Service name for tracing",
EnvVars: []string{"ACCOUNTS_TRACING_SERVICE"},
Destination: &cfg.Tracing.Service,
},
&cli.StringFlag{
Name: "http-namespace",
Value: "com.owncloud.web",
Value: flags.OverrideDefaultString(cfg.HTTP.Namespace, "com.owncloud.web"),
Usage: "Set the base namespace for the http namespace",
EnvVars: []string{"ACCOUNTS_HTTP_NAMESPACE"},
Destination: &cfg.HTTP.Namespace,
},
&cli.StringFlag{
Name: "http-addr",
Value: "0.0.0.0:9181",
Value: flags.OverrideDefaultString(cfg.HTTP.Addr, "127.0.0.1:9181"),
Usage: "Address to bind http server",
EnvVars: []string{"ACCOUNTS_HTTP_ADDR"},
Destination: &cfg.HTTP.Addr,
},
&cli.StringFlag{
Name: "http-root",
Value: "/",
Value: flags.OverrideDefaultString(cfg.HTTP.Root, "/"),
Usage: "Root path of http server",
EnvVars: []string{"ACCOUNTS_HTTP_ROOT"},
Destination: &cfg.HTTP.Root,
},
&cli.IntFlag{
Name: "http-cache-ttl",
Value: 604800, // 7 days
Value: flags.OverrideDefaultInt(cfg.HTTP.CacheTTL, 604800),
Usage: "Set the static assets caching duration in seconds",
EnvVars: []string{"ACCOUNTS_CACHE_TTL"},
Destination: &cfg.HTTP.CacheTTL,
},
&cli.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: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "grpc-addr",
Value: "0.0.0.0:9180",
Value: flags.OverrideDefaultString(cfg.GRPC.Addr, "127.0.0.1:9180"),
Usage: "Address to bind grpc server",
EnvVars: []string{"ACCOUNTS_GRPC_ADDR"},
Destination: &cfg.GRPC.Addr,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
},
&cli.StringFlag{
Name: "accounts-data-path",
Value: "/var/tmp/ocis-accounts",
Usage: "accounts folder",
EnvVars: []string{"ACCOUNTS_DATA_PATH"},
Destination: &cfg.Server.AccountsDataPath,
},
&cli.IntFlag{
Name: "accounts-hash-difficulty",
Value: 11,
Value: flags.OverrideDefaultInt(cfg.Server.HashDifficulty, 11),
Usage: "accounts password hash difficulty",
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: "",
Value: flags.OverrideDefaultString(cfg.Asset.Path, ""),
Usage: "Path to custom assets",
EnvVars: []string{"ACCOUNTS_ASSET_PATH"},
Destination: &cfg.Asset.Path,
},
&cli.StringFlag{
Name: "jwt-secret",
Value: "Pive-Fumkiu4",
Value: flags.OverrideDefaultString(cfg.TokenManager.JWTSecret, "Pive-Fumkiu4"),
Usage: "Used to create JWT to talk to reva, should equal reva's jwt-secret",
EnvVars: []string{"ACCOUNTS_JWT_SECRET"},
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: "",
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,
},
&cli.StringFlag{
Name: "storage-cs3-provider-addr",
Value: "localhost:9215",
Value: flags.OverrideDefaultString(cfg.Repo.CS3.ProviderAddr, "localhost:9215"),
Usage: "bind address for the metadata storage provider",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR"},
Destination: &cfg.Repo.CS3.ProviderAddr,
},
&cli.StringFlag{
Name: "storage-cs3-data-url",
Value: "http://localhost:9216",
Value: flags.OverrideDefaultString(cfg.Repo.CS3.DataURL, "http://localhost:9216"),
Usage: "http endpoint of the metadata storage",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_DATA_URL"},
Destination: &cfg.Repo.CS3.DataURL,
},
&cli.StringFlag{
Name: "storage-cs3-data-prefix",
Value: "data",
Value: flags.OverrideDefaultString(cfg.Repo.CS3.DataPrefix, "data"),
Usage: "path prefix for the http endpoint of the metadata storage, without leading slash",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_DATA_PREFIX"},
Destination: &cfg.Repo.CS3.DataPrefix,
},
&cli.StringFlag{
Name: "storage-cs3-jwt-secret",
Value: "Pive-Fumkiu4",
Value: flags.OverrideDefaultString(cfg.Repo.CS3.JWTSecret, "Pive-Fumkiu4"),
Usage: "Used to create JWT to talk to reva, should equal reva's jwt-secret",
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_JWT_SECRET"},
EnvVars: []string{"ACCOUNTS_STORAGE_CS3_JWT_SECRET", "OCIS_JWT_SECRET"},
Destination: &cfg.Repo.CS3.JWTSecret,
},
&cli.StringFlag{
Name: "service-user-uuid",
Value: "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad",
Value: flags.OverrideDefaultString(cfg.ServiceUser.UUID, "95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"),
Usage: "uuid of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_UUID"},
Destination: &cfg.ServiceUser.UUID,
},
&cli.StringFlag{
Name: "service-user-username",
Value: "",
Value: flags.OverrideDefaultString(cfg.ServiceUser.Username, ""),
Usage: "username of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_USERNAME"},
Destination: &cfg.ServiceUser.Username,
},
&cli.Int64Flag{
Name: "service-user-uid",
Value: 0,
Value: flags.OverrideDefaultInt64(cfg.ServiceUser.UID, 0),
Usage: "uid of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_UID"},
Destination: &cfg.ServiceUser.UID,
},
&cli.Int64Flag{
Name: "service-user-gid",
Value: 0,
Value: flags.OverrideDefaultInt64(cfg.ServiceUser.GID, 0),
Usage: "gid of the internal service user (required on EOS)",
EnvVars: []string{"ACCOUNTS_SERVICE_USER_GID"},
Destination: &cfg.ServiceUser.GID,
},
&cli.Int64Flag{
Name: "uid-index-lower-bound",
Value: 0,
Value: flags.OverrideDefaultInt64(cfg.Index.UID.Lower, 0),
Usage: "define a starting point for the account UID",
EnvVars: []string{"ACCOUNTS_UID_INDEX_LOWER_BOUND"},
Destination: &cfg.Index.UID.Lower,
},
&cli.Int64Flag{
Name: "gid-index-lower-bound",
Value: 1000,
Value: flags.OverrideDefaultInt64(cfg.Index.GID.Lower, 1000),
Usage: "define a starting point for the account GID",
EnvVars: []string{"ACCOUNTS_GID_INDEX_LOWER_BOUND"},
Destination: &cfg.Index.GID.Lower,
},
&cli.Int64Flag{
Name: "uid-index-upper-bound",
Value: 0,
Value: flags.OverrideDefaultInt64(cfg.Index.UID.Upper, 0),
Usage: "define an ending point for the account UID",
EnvVars: []string{"ACCOUNTS_UID_INDEX_UPPER_BOUND"},
Destination: &cfg.Index.UID.Upper,
},
&cli.Int64Flag{
Name: "gid-index-upper-bound",
Value: 1000,
Value: flags.OverrideDefaultInt64(cfg.Index.GID.Upper, 1000),
Usage: "define an ending point for the account GID",
EnvVars: []string{"ACCOUNTS_GID_INDEX_UPPER_BOUND"},
Destination: &cfg.Index.GID.Upper,
},
&cli.StringFlag{
Name: "extensions",
Usage: "Run specific extensions during supervised mode",
},
}
}
@@ -250,14 +296,14 @@ func UpdateAccountWithConfig(cfg *config.Config, a *accounts.Account) []cli.Flag
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
@@ -334,14 +380,14 @@ func AddAccountWithConfig(cfg *config.Config, a *accounts.Account) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
@@ -418,14 +464,14 @@ func ListAccountsWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
@@ -438,14 +484,14 @@ func RemoveAccountWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
@@ -458,14 +504,14 @@ func InspectAccountWithConfig(cfg *config.Config) []cli.Flag {
return []cli.Flag{
&cli.StringFlag{
Name: "grpc-namespace",
Value: "com.owncloud.api",
Value: flags.OverrideDefaultString(cfg.GRPC.Namespace, "com.owncloud.api"),
Usage: "Set the base namespace for the grpc namespace",
EnvVars: []string{"ACCOUNTS_GRPC_NAMESPACE"},
Destination: &cfg.GRPC.Namespace,
},
&cli.StringFlag{
Name: "name",
Value: "accounts",
Value: flags.OverrideDefaultString(cfg.Server.Name, "accounts"),
Usage: "service name",
EnvVars: []string{"ACCOUNTS_NAME"},
Destination: &cfg.Server.Name,
+3 -3
View File
@@ -3,13 +3,13 @@ package proto
import (
context "context"
empty "github.com/golang/protobuf/ptypes/empty"
client "github.com/micro/go-micro/v2/client"
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
+35 -40
View File
@@ -1,23 +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/micro/go-micro/v2/api"
client "github.com/micro/go-micro/v2/client"
server "github.com/micro/go-micro/v2/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.
@@ -25,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
@@ -41,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"},
@@ -91,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 {
@@ -146,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
@@ -168,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 {
@@ -177,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
@@ -241,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)
}
@@ -249,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"},
@@ -320,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
@@ -381,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
@@ -433,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
@@ -448,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
@@ -536,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)
}
@@ -556,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"},
+93 -64
View File
@@ -10,9 +10,9 @@ import (
"path/filepath"
"testing"
"github.com/golang/protobuf/ptypes/empty"
"github.com/micro/go-micro/v2/client"
merrors "github.com/micro/go-micro/v2/errors"
mgrpcc "github.com/asim/go-micro/plugins/client/grpc/v3"
empty "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"
@@ -20,11 +20,13 @@ 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"
)
var service = grpc.Service{}
var service = grpc.NewService()
var dataPath = createTmpDir()
@@ -78,8 +80,9 @@ func init() {
)
cfg := config.New()
cfg.Server.AccountsDataPath = dataPath
cfg.Repo.Backend = "disk"
cfg.Repo.Disk.Path = dataPath
cfg.Server.DemoUsersAndGroups = true
var hdlr *svc.Service
var err error
@@ -127,7 +130,7 @@ func getGroup(group string) *proto.Group {
switch group {
case "sysusers":
return &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"}, // konnectd
{Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf"}, // idp
{Id: "bc596f3c-c955-4328-80a0-60d018b4ad57"}, // reva
}}
case "users":
@@ -303,18 +306,18 @@ func assertGroupsSame(t *testing.T, grp1, grp2 *proto.Group) {
}
}
func assertGroupHasMember(t *testing.T, grp *proto.Group, memberId string) {
func assertGroupHasMember(t *testing.T, grp *proto.Group, memberID string) {
for _, m := range grp.Members {
if m.Id == memberId {
if m.Id == memberID {
return
}
}
t.Fatalf("Member with id %s expected to be in group '%s', but not found", memberId, grp.DisplayName)
t.Fatalf("Member with id %s expected to be in group '%s', but not found", memberID, grp.DisplayName)
}
func createAccount(t *testing.T, user string) (*proto.Account, error) {
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
account := getAccount(user)
@@ -327,7 +330,7 @@ func createAccount(t *testing.T, user string) (*proto.Account, error) {
}
func createGroup(t *testing.T, group *proto.Group) (*proto.Group, error) {
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
request := &proto.CreateGroupRequest{Group: group}
@@ -339,7 +342,7 @@ func createGroup(t *testing.T, group *proto.Group) (*proto.Group, error) {
}
func updateAccount(t *testing.T, account *proto.Account, updateArray []string) (*proto.Account, error) {
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
updateMask := &field_mask.FieldMask{
@@ -353,7 +356,7 @@ func updateAccount(t *testing.T, account *proto.Account, updateArray []string) (
func listAccounts(t *testing.T) (*proto.ListAccountsResponse, error) {
request := &proto.ListAccountsRequest{}
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
response, err := cl.ListAccounts(context.Background(), request)
@@ -362,7 +365,7 @@ func listAccounts(t *testing.T) (*proto.ListAccountsResponse, error) {
func listGroups(t *testing.T) *proto.ListGroupsResponse {
request := &proto.ListGroupsRequest{}
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
response, err := cl.ListGroups(context.Background(), request)
@@ -371,7 +374,7 @@ func listGroups(t *testing.T) *proto.ListGroupsResponse {
}
func deleteAccount(t *testing.T, id string) (*empty.Empty, error) {
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
req := &proto.DeleteAccountRequest{Id: id}
@@ -380,7 +383,7 @@ func deleteAccount(t *testing.T, id string) (*empty.Empty, error) {
}
func deleteGroup(t *testing.T, id string) (*empty.Empty, error) {
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
req := &proto.DeleteGroupRequest{Id: id}
@@ -390,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)
}
@@ -542,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)
@@ -555,7 +558,8 @@ func TestUpdateAccount(t *testing.T) {
}
func TestUpdateNonUpdatableFieldsInAccount(t *testing.T) {
_, _ = createAccount(t, "user1")
_, err := createAccount(t, "user1")
assert.NoError(t, err)
tests := []struct {
name string
@@ -614,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.")
}
})
}
@@ -623,8 +627,10 @@ func TestUpdateNonUpdatableFieldsInAccount(t *testing.T) {
}
func TestListAccounts(t *testing.T) {
createAccount(t, "user1")
createAccount(t, "user2")
_, err := createAccount(t, "user1")
assert.NoError(t, err)
_, err = createAccount(t, "user2")
assert.NoError(t, err)
resp, err := listAccounts(t)
assert.NoError(t, err)
@@ -745,7 +751,8 @@ func TestListAccountsWithFilterQuery(t *testing.T) {
}
func TestGetAccount(t *testing.T) {
createAccount(t, "user1")
_, err := createAccount(t, "user1")
assert.NoError(t, err)
req := &proto.GetAccountRequest{Id: getAccount("user1").Id}
@@ -763,12 +770,14 @@ func TestGetAccount(t *testing.T) {
//TODO: This segfaults! WIP
func TestDeleteAccount(t *testing.T) {
createAccount(t, "user1")
createAccount(t, "user2")
_, err := createAccount(t, "user1")
assert.NoError(t, err)
_, err = createAccount(t, "user2")
assert.NoError(t, err)
req := &proto.DeleteAccountRequest{Id: getAccount("user1").Id}
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewAccountsService("com.owncloud.api.accounts", client)
resp, err := cl.DeleteAccount(context.Background(), req)
@@ -786,7 +795,7 @@ func TestDeleteAccount(t *testing.T) {
func TestListGroups(t *testing.T) {
req := &proto.ListGroupsRequest{}
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
resp, err := cl.ListGroups(context.Background(), req)
@@ -813,7 +822,7 @@ func TestListGroups(t *testing.T) {
}
func TestGetGroups(t *testing.T) {
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
groups := []string{
@@ -861,7 +870,7 @@ func TestCreateGroup(t *testing.T) {
}
func TestGetGroupInvalidID(t *testing.T) {
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
req := &proto.GetGroupRequest{Id: "42"}
@@ -877,11 +886,14 @@ func TestDeleteGroup(t *testing.T) {
grp1 := getTestGroups("grp1")
grp2 := getTestGroups("grp2")
grp3 := getTestGroups("grp3")
createGroup(t, grp1)
createGroup(t, grp2)
createGroup(t, grp3)
_, err := createGroup(t, grp1)
assert.NoError(t, err)
_, err = createGroup(t, grp2)
assert.NoError(t, err)
_, err = createGroup(t, grp3)
assert.NoError(t, err)
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
req := &proto.DeleteGroupRequest{Id: grp1.Id}
@@ -910,7 +922,7 @@ func TestDeleteGroupNotExisting(t *testing.T) {
" ",
}
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
for _, id := range invalidIds {
@@ -933,7 +945,7 @@ func TestDeleteGroupInvalidId(t *testing.T) {
"": ".",
}
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
for id := range invalidIds {
@@ -948,9 +960,10 @@ func TestDeleteGroupInvalidId(t *testing.T) {
func TestUpdateGroup(t *testing.T) {
grp1 := getTestGroups("grp1")
createGroup(t, grp1)
_, err := createGroup(t, grp1)
assert.NoError(t, err)
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
updateGrp := &proto.Group{
@@ -976,10 +989,12 @@ func TestAddMember(t *testing.T) {
updatedGroup := grp1
updatedGroup.Members = append(updatedGroup.Members, &proto.Account{Id: account.Id})
createGroup(t, grp1)
createAccount(t, account.PreferredName)
_, err := createGroup(t, grp1)
assert.NoError(t, err)
_, err = createAccount(t, account.PreferredName)
assert.NoError(t, err)
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
req := &proto.AddMemberRequest{GroupId: grp1.Id, AccountId: account.Id}
@@ -1006,12 +1021,15 @@ func TestAddMemberAlreadyInGroup(t *testing.T) {
updatedGroup := grp1
updatedGroup.Members = append(updatedGroup.Members, &proto.Account{Id: account.Id})
createGroup(t, grp1)
createAccount(t, account.PreferredName)
_, err := createGroup(t, grp1)
assert.NoError(t, err)
_, err = createAccount(t, account.PreferredName)
assert.NoError(t, err)
addMemberToGroup(t, grp1.Id, account.Id)
_, err = addMemberToGroup(t, grp1.Id, account.Id)
assert.NoError(t, err)
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
req := &proto.AddMemberRequest{GroupId: grp1.Id, AccountId: account.Id}
@@ -1034,9 +1052,10 @@ func TestAddMemberAlreadyInGroup(t *testing.T) {
func TestAddMemberNonExisting(t *testing.T) {
grp1 := getTestGroups("grp1")
createGroup(t, grp1)
_, err := createGroup(t, grp1)
assert.NoError(t, err)
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
invalidIds := []string{
@@ -1063,11 +1082,11 @@ func TestAddMemberNonExisting(t *testing.T) {
cleanUp(t)
}
func addMemberToGroup(t *testing.T, groupId, memberId string) (*proto.Group, error) {
client := service.Client()
func addMemberToGroup(t *testing.T, groupID, memberID string) (*proto.Group, error) {
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
req := &proto.AddMemberRequest{GroupId: groupId, AccountId: memberId}
req := &proto.AddMemberRequest{GroupId: groupID, AccountId: memberID}
res, err := cl.AddMember(context.Background(), req)
@@ -1079,12 +1098,15 @@ func TestRemoveMember(t *testing.T) {
grp1 := getTestGroups("grp1")
account := getAccount("user1")
createGroup(t, grp1)
createAccount(t, account.PreferredName)
_, err := createGroup(t, grp1)
assert.NoError(t, err)
_, err = createAccount(t, account.PreferredName)
assert.NoError(t, err)
addMemberToGroup(t, grp1.Id, account.Id)
_, err = addMemberToGroup(t, grp1.Id, account.Id)
assert.NoError(t, err)
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
req := &proto.RemoveMemberRequest{GroupId: grp1.Id, AccountId: account.Id}
@@ -1105,9 +1127,10 @@ func TestRemoveMember(t *testing.T) {
func TestRemoveMemberNonExistingUser(t *testing.T) {
grp1 := getTestGroups("grp1")
createGroup(t, grp1)
_, err := createGroup(t, grp1)
assert.NoError(t, err)
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
invalidIds := []string{
@@ -1138,10 +1161,12 @@ func TestRemoveMemberNotInGroup(t *testing.T) {
grp1 := getTestGroups("grp1")
account := getAccount("user1")
createGroup(t, grp1)
createAccount(t, account.PreferredName)
_, err := createGroup(t, grp1)
assert.NoError(t, err)
_, err = createAccount(t, account.PreferredName)
assert.NoError(t, err)
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
req := &proto.RemoveMemberRequest{GroupId: grp1.Id, AccountId: account.Id}
@@ -1178,7 +1203,7 @@ func TestListMembers(t *testing.T) {
"physics-lovers",
}
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
for _, group := range groups {
@@ -1210,7 +1235,7 @@ func TestListMembers(t *testing.T) {
func TestListMembersEmptyGroup(t *testing.T) {
group := &proto.Group{Id: "5d58e5ec-842e-498b-8800-61f2ec6f911c", GidNumber: 60000, OnPremisesSamAccountName: "quantum-group", DisplayName: "Quantum Group", Members: []*proto.Account{}}
client := service.Client()
client := mgrpcc.NewClient()
cl := proto.NewGroupsService("com.owncloud.api.accounts", client)
request := &proto.CreateGroupRequest{Group: group}
@@ -1230,9 +1255,11 @@ func TestListMembersEmptyGroup(t *testing.T) {
}
func TestAccountUpdateMask(t *testing.T) {
createAccount(t, "user1")
_, err := createAccount(t, "user1")
assert.NoError(t, err)
user1 := getAccount("user1")
client := service.Client()
client := mgrpcc.NewClient()
req := &proto.UpdateAccountRequest{
// We only want to update the display-name, rest should be ignored
UpdateMask: &field_mask.FieldMask{Paths: []string{"DisplayName"}},
@@ -1253,9 +1280,11 @@ func TestAccountUpdateMask(t *testing.T) {
}
func TestAccountUpdateReadOnlyField(t *testing.T) {
createAccount(t, "user1")
_, err := createAccount(t, "user1")
assert.NoError(t, err)
user1 := getAccount("user1")
client := service.Client()
client := mgrpcc.NewClient()
req := &proto.UpdateAccountRequest{
// We only want to update the display-name, rest should be ignored
UpdateMask: &field_mask.FieldMask{Paths: []string{"CreatedDateTime"}},
+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"
File diff suppressed because it is too large. Load diff
-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
View File
@@ -30,6 +30,5 @@ func Server(opts ...Option) grpc.Service {
options.Logger.Fatal().Err(err).Msg("could not register index handler")
}
service.Init()
return service
}
+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.
+19 -12
View File
@@ -1,13 +1,16 @@
package http
import (
"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.
@@ -27,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),
@@ -60,13 +70,10 @@ func Server(opts ...Option) http.Service {
proto.RegisterGroupsServiceWeb(r, handler)
})
service.Handle(
"/",
mux,
)
if err := service.Init(); err != nil {
panic(err)
err := micro.RegisterHandler(service.Server(), mux)
if err != nil {
options.Logger.Fatal().Err(err).Msg("failed to register the handler")
}
return service
}
+67 -33
View File
@@ -6,38 +6,39 @@ import (
"crypto/sha256"
"encoding/hex"
"fmt"
"github.com/owncloud/ocis/ocis-pkg/cache"
"golang.org/x/crypto/bcrypt"
"io"
"path"
"regexp"
"strconv"
"sync"
"time"
"github.com/owncloud/ocis/ocis-pkg/log"
"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/otel/attribute"
"github.com/gofrs/uuid"
p "github.com/golang/protobuf/proto"
"github.com/golang/protobuf/ptypes/empty"
fieldmask_utils "github.com/mennanov/fieldmask-utils"
merrors "github.com/micro/go-micro/v2/errors"
"github.com/micro/go-micro/v2/metadata"
"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"
)
// accLock mutually exclude readers from writers on account files
var accLock sync.Mutex
// passwordValidCache caches basic auth password validations
var passwordValidCache = cache.NewCache(cache.Size(1024))
var passwordValidCache = sync.NewCache(1024)
// passwordValidCacheExpiration defines the entry lifetime
const passwordValidCacheExpiration = 10 * time.Minute
@@ -126,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 {
@@ -133,9 +143,6 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
}
onlySelf := hasSelf && !hasManagement
accLock.Lock()
defer accLock.Unlock()
teardownServiceUser := s.serviceUserToIndex()
defer teardownServiceUser()
match, authRequest := getAuthQueryMatch(in.Query)
@@ -172,23 +179,20 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
// - it checks if the cache already contains an entry that matches found account Id // account PasswordProfile.LastPasswordChangeDateTime (k)
// - if no entry exists it runs the bcrypt.CompareHashAndPassword as before and if everything is ok it stores the
// result by the (k) as key and (v) as value. If not it errors
// - if a entry is found it checks if the given value matches (v). If it doesnt match the cache entry gets removed
// - if a entry is found it checks if the given value matches (v). If it doesnt match, the cache entry gets removed
// and it errors.
//
// if many concurrent requests from the same user come in within a short period of time, it's possible that e is still nil.
// This is why all this needs to be wrapped within a sync.Mutex locking to prevent calling bcrypt.CompareHashAndPassword unnecessarily too often.
{
var suspicious bool
kh := sha256.New()
kh.Write([]byte(a.Id))
mustWrite(kh, []byte(a.Id))
k := hex.EncodeToString(kh.Sum([]byte(a.PasswordProfile.LastPasswordChangeDateTime.String())))
vh := sha256.New()
vh.Write([]byte(a.PasswordProfile.Password))
mustWrite(vh, []byte(a.PasswordProfile.Password))
v := vh.Sum([]byte(password))
e := passwordValidCache.Get(k)
e := passwordValidCache.Load(k)
if e == nil {
suspicious = !isPasswordValid(s.log, a.PasswordProfile.Password, password)
@@ -197,12 +201,12 @@ func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest
}
if suspicious {
passwordValidCache.Unset(k)
passwordValidCache.Delete(k)
return merrors.Unauthorized(s.id, "account not found or invalid credentials")
}
if e == nil {
passwordValidCache.Set(k, v, time.Now().Add(passwordValidCacheExpiration))
passwordValidCache.Store(k, v, time.Now().Add(passwordValidCacheExpiration))
}
}
@@ -277,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 {
@@ -284,8 +297,6 @@ func (s Service) GetAccount(ctx context.Context, in *proto.GetAccountRequest, ou
}
onlySelf := hasSelf && !hasManagement
accLock.Lock()
defer accLock.Unlock()
var id string
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
@@ -327,12 +338,19 @@ 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")
}
accLock.Lock()
defer accLock.Unlock()
var id string
if in.Account == nil {
@@ -461,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 {
@@ -468,8 +495,6 @@ func (s Service) UpdateAccount(ctx context.Context, in *proto.UpdateAccountReque
}
onlySelf := hasSelf && !hasManagement
accLock.Lock()
defer accLock.Unlock()
var id string
if in.Account == nil {
return merrors.BadRequest(s.id, "account missing")
@@ -600,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": {},
@@ -629,12 +654,15 @@ 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")
}
accLock.Lock()
defer accLock.Unlock()
var id string
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up account id: %v", err.Error())
@@ -713,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])?)*)*$")
@@ -855,3 +883,9 @@ func isPasswordValid(logger log.Logger, hash string, pwd string) (ok bool) {
return bcrypt.CompareHashAndPassword([]byte(hash), []byte(pwd)) == nil
}
func mustWrite(w io.Writer, val []byte) {
if _, err := w.Write(val); err != nil {
panic(err)
}
}
@@ -10,9 +10,6 @@ import (
"time"
"github.com/golang/protobuf/ptypes/empty"
"github.com/micro/go-micro/v2/client"
merrors "github.com/micro/go-micro/v2/errors"
"github.com/micro/go-micro/v2/metadata"
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
olog "github.com/owncloud/ocis/ocis-pkg/log"
@@ -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,7 +33,7 @@ var (
func init() {
cfg := config.New()
cfg.Server.Name = "accounts"
cfg.Server.AccountsDataPath = dataPath
cfg.Repo.Backend = "disk"
cfg.Repo.Disk.Path = dataPath
logger := olog.NewLogger(olog.Color(true), olog.Pretty(true))
roleServiceMock = buildRoleServiceMock()
+4 -6
View File
@@ -3,15 +3,14 @@ package service
import (
"context"
"path"
"path/filepath"
"strconv"
"github.com/gofrs/uuid"
p "github.com/golang/protobuf/proto"
"github.com/golang/protobuf/ptypes/empty"
merrors "github.com/micro/go-micro/v2/errors"
"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"
)
func (s Service) expandMembers(g *proto.Group) {
@@ -182,7 +181,6 @@ func (s Service) DeleteGroup(c context.Context, in *proto.DeleteGroupRequest, ou
if id, err = cleanupID(in.Id); err != nil {
return merrors.InternalServerError(s.id, "could not clean up group id: %v", err.Error())
}
path := filepath.Join(s.Config.Server.AccountsDataPath, "groups", id)
g := &proto.Group{}
if err = s.repo.LoadGroup(c, id, g); err != nil {
@@ -212,7 +210,7 @@ func (s Service) DeleteGroup(c context.Context, in *proto.DeleteGroupRequest, ou
}
if err = s.index.Delete(g); err != nil {
s.log.Error().Err(err).Str("id", id).Str("path", path).Msg("could not remove group from index")
s.log.Error().Err(err).Str("id", id).Msg("could not remove group from index")
return merrors.InternalServerError(s.id, "could not remove group from index: %v", err.Error())
}
@@ -272,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,
}
+2 -2
View File
@@ -63,11 +63,11 @@ func recreateContainers(idx *indexer.Indexer, cfg *config.Config) error {
}
// Groups
if err := idx.AddIndex(&proto.Group{}, "OnPremisesSamAccountName", "Id", "groups", "unique", nil, true); err != nil {
if err := idx.AddIndex(&proto.Group{}, "OnPremisesSamAccountName", "Id", "groups", "unique", nil, false); err != nil {
return err
}
if err := idx.AddIndex(&proto.Group{}, "DisplayName", "Id", "groups", "non_unique", nil, true); err != nil {
if err := idx.AddIndex(&proto.Group{}, "DisplayName", "Id", "groups", "non_unique", nil, false); err != nil {
return err
}
+107 -84
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"
@@ -19,9 +20,9 @@ import (
"github.com/owncloud/ocis/accounts/pkg/config"
"github.com/owncloud/ocis/accounts/pkg/proto/v0"
"github.com/owncloud/ocis/ocis-pkg/log"
oreg "github.com/owncloud/ocis/ocis-pkg/registry"
"github.com/owncloud/ocis/ocis-pkg/roles"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
settings_svc "github.com/owncloud/ocis/settings/pkg/service/v0"
)
// userDefaultGID is the default integer representing the "users" group.
@@ -48,27 +49,43 @@ 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.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
}
}
// we want to wait anyway. If it depends on a reva service it could be the case that the entry on the registry
// happens prior to the reva service being up and running
time.Sleep(500 * time.Millisecond)
if s.index, err = s.buildIndex(); err != nil {
return nil, err
}
if err = s.createDefaultAccounts(); err != nil {
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
}
// TODO watch folders for new records
return
}
@@ -102,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",
@@ -236,14 +254,14 @@ func (s Service) createDefaultAccounts() (err error) {
// technical users for kopano and reva
{
Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf",
PreferredName: "konnectd",
OnPremisesSamAccountName: "konnectd",
PreferredName: "idp",
OnPremisesSamAccountName: "idp",
Mail: "idp@example.org",
DisplayName: "Kopano Konnectd",
DisplayName: "Kopano IDP",
UidNumber: 10000,
GidNumber: 15000,
PasswordProfile: &proto.PasswordProfile{
Password: "$2a$11$ntoTP2W/kyQIuoYpH5mRBuNzaEERYWSwn/zCsY5rtffen4d41y9.6",
Password: "$2y$12$ywfGLDPsSlBTVZU0g.2GZOPO8Wap3rVOpm8e3192VlytNdGWH7x72",
},
AccountEnabled: true,
MemberOf: []*proto.Group{
@@ -267,7 +285,25 @@ 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) {
continue // account already exists -> do not overwrite
}
if err := s.repo.WriteAccount(context.Background(), &accounts[i]); err != nil {
return err
}
@@ -281,7 +317,6 @@ func (s Service) createDefaultAccounts() (err error) {
}
}
// TODO: can be removed again as soon as we respect the predefined UIDs and GIDs from the account. Then no autoincrement is happening, therefore we don't need to update accounts.
changed := false
for _, r := range results {
if r.Field == "UidNumber" || r.Field == "GidNumber" {
@@ -303,31 +338,13 @@ func (s Service) createDefaultAccounts() (err error) {
}
}
}
// set role for admin users and regular users
assignRoleToUser("058bff95-6708-4fe5-91e4-9ea3d377588b", settings_svc.BundleUUIDRoleAdmin, s.RoleService, s.log)
for _, accountID := range []string{
"058bff95-6708-4fe5-91e4-9ea3d377588b", //moss
"ddc2004c-0977-11eb-9d3f-a793888cd0f8", //admin
"820ba2a1-3f54-4538-80a4-2d73007e30bf", //konnectd
"bc596f3c-c955-4328-80a0-60d018b4ad57", //reva
} {
assignRoleToUser(accountID, settings_svc.BundleUUIDRoleAdmin, s.RoleService, s.log)
}
for _, accountID := range []string{
"4c510ada-c86b-4815-8820-42cdf82c3d51", //einstein
"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c", //marie
"932b4540-8d16-481e-8ef4-588e4b6b151c", //richard
} {
assignRoleToUser(accountID, settings_svc.BundleUUIDRoleUser, s.RoleService, s.log)
}
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"}, // konnectd
{Id: "820ba2a1-3f54-4538-80a4-2d73007e30bf"}, // idp
{Id: "bc596f3c-c955-4328-80a0-60d018b4ad57"}, // reva
}},
{Id: "509a9dcd-bb37-4f4f-a01a-19dca27d9cfa", GidNumber: 30000, OnPremisesSamAccountName: "users", DisplayName: "Users", Description: "A group every normal user belongs to.", Members: []*proto.Account{
@@ -359,7 +376,23 @@ 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) {
continue // group already exists -> do not overwrite
}
if err := s.repo.WriteGroup(context.Background(), &groups[i]); err != nil {
return err
}
@@ -391,29 +424,19 @@ func (s Service) createDefaultGroups() (err error) {
return nil
}
func assignRoleToUser(accountID, roleID string, rs settings.RoleService, logger log.Logger) (ok bool) {
_, err := rs.AssignRoleToUser(context.Background(), &settings.AssignRoleToUserRequest{
AccountUuid: accountID,
RoleId: roleID,
})
if err != nil {
logger.Error().Err(err).Str("accountID", accountID).Str("roleID", roleID).Msg("could not set role for account")
return false
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")
}
return true
}
func createMetadataStorage(cfg *config.Config, logger log.Logger) storage.Repo {
// for now we detect the used storage implementation based on which storage is configured
// the config with defaults needs to be checked last
if cfg.Repo.Disk.Path != "" {
return storage.NewDiskRepo(cfg, logger)
}
repo, err := storage.NewCS3Repo(cfg)
if err != nil {
logger.Fatal().Err(err).Msg("cs3 storage was configured but failed to start")
}
return repo
}
// Service implements the AccountsServiceHandler interface
-194
View File
@@ -1,194 +0,0 @@
package service
import (
"context"
olog "github.com/owncloud/ocis/ocis-pkg/log"
"github.com/owncloud/ocis/ocis-pkg/service/grpc"
settings "github.com/owncloud/ocis/settings/pkg/proto/v0"
ssvc "github.com/owncloud/ocis/settings/pkg/service/v0"
)
const (
settingUUIDProfileLanguage = "aa8cfbe5-95d4-4f7e-a032-c3c01f5f062f"
)
// RegisterSettingsBundles pushes the settings bundle definitions for this extension to the ocis-settings service.
func RegisterSettingsBundles(l *olog.Logger) {
service := settings.NewBundleService("com.owncloud.api.settings", grpc.DefaultClient)
bundleRequests := []settings.SaveBundleRequest{
generateBundleProfileRequest(),
}
for i := range bundleRequests {
res, err := service.SaveBundle(context.Background(), &bundleRequests[i])
if err != nil {
l.Err(err).Str("bundle", bundleRequests[i].Bundle.Id).Msg("Error registering bundle")
} else {
l.Info().Str("bundle", res.Bundle.Id).Msg("Successfully registered bundle")
}
}
permissionRequests := generateProfilePermissionsRequests()
for i := range permissionRequests {
res, err := service.AddSettingToBundle(context.Background(), &permissionRequests[i])
bundleID := permissionRequests[i].BundleId
if err != nil {
l.Err(err).Str("bundle", bundleID).Str("setting", permissionRequests[i].Setting.Id).Msg("Error adding setting to bundle")
} else {
l.Info().Str("bundle", bundleID).Str("setting", res.Setting.Id).Msg("Successfully added setting to bundle")
}
}
}
var languageSetting = settings.Setting_SingleChoiceValue{
SingleChoiceValue: &settings.SingleChoiceList{
Options: []*settings.ListOption{
{
Value: &settings.ListOptionValue{
Option: &settings.ListOptionValue_StringValue{
StringValue: "cs",
},
},
DisplayValue: "Czech",
},
{
Value: &settings.ListOptionValue{
Option: &settings.ListOptionValue_StringValue{
StringValue: "de",
},
},
DisplayValue: "Deutsch",
},
{
Value: &settings.ListOptionValue{
Option: &settings.ListOptionValue_StringValue{
StringValue: "en",
},
},
DisplayValue: "English",
},
{
Value: &settings.ListOptionValue{
Option: &settings.ListOptionValue_StringValue{
StringValue: "es",
},
},
DisplayValue: "Español",
},
{
Value: &settings.ListOptionValue{
Option: &settings.ListOptionValue_StringValue{
StringValue: "fr",
},
},
DisplayValue: "Français",
},
{
Value: &settings.ListOptionValue{
Option: &settings.ListOptionValue_StringValue{
StringValue: "gl",
},
},
DisplayValue: "Galego",
},
{
Value: &settings.ListOptionValue{
Option: &settings.ListOptionValue_StringValue{
StringValue: "it",
},
},
DisplayValue: "Italiano",
},
},
},
}
func generateBundleProfileRequest() settings.SaveBundleRequest {
return settings.SaveBundleRequest{
Bundle: &settings.Bundle{
Id: "2a506de7-99bd-4f0d-994e-c38e72c28fd9",
Name: "profile",
Extension: "ocis-accounts",
Type: settings.Bundle_TYPE_DEFAULT,
Resource: &settings.Resource{
Type: settings.Resource_TYPE_SYSTEM,
},
DisplayName: "Profile",
Settings: []*settings.Setting{
{
Id: settingUUIDProfileLanguage,
Name: "language",
DisplayName: "Language",
Description: "User language",
Resource: &settings.Resource{
Type: settings.Resource_TYPE_USER,
},
Value: &languageSetting,
},
},
},
}
}
func generateProfilePermissionsRequests() []settings.AddSettingToBundleRequest {
// TODO: we don't want to set up permissions for settings manually in the future. Instead each setting should come with
// a set of default permissions for the default roles (guest, user, admin).
return []settings.AddSettingToBundleRequest{
{
BundleId: ssvc.BundleUUIDRoleAdmin,
Setting: &settings.Setting{
Id: "7d81f103-0488-4853-bce5-98dcce36d649",
Name: "language-readwrite",
DisplayName: "Permission to read and set the language (anyone)",
Resource: &settings.Resource{
Type: settings.Resource_TYPE_SETTING,
Id: settingUUIDProfileLanguage,
},
Value: &settings.Setting_PermissionValue{
PermissionValue: &settings.Permission{
Operation: settings.Permission_OPERATION_READWRITE,
Constraint: settings.Permission_CONSTRAINT_ALL,
},
},
},
},
{
BundleId: ssvc.BundleUUIDRoleUser,
Setting: &settings.Setting{
Id: "640e00d2-4df8-41bd-b1c2-9f30a01e0e99",
Name: "language-readwrite",
DisplayName: "Permission to read and set the language (self)",
Resource: &settings.Resource{
Type: settings.Resource_TYPE_SETTING,
Id: settingUUIDProfileLanguage,
},
Value: &settings.Setting_PermissionValue{
PermissionValue: &settings.Permission{
Operation: settings.Permission_OPERATION_READWRITE,
Constraint: settings.Permission_CONSTRAINT_OWN,
},
},
},
},
{
BundleId: ssvc.BundleUUIDRoleGuest,
Setting: &settings.Setting{
Id: "ca878636-8b1a-4fae-8282-8617a4c13597",
Name: "language-readwrite",
DisplayName: "Permission to read and set the language (self)",
Resource: &settings.Resource{
Type: settings.Resource_TYPE_SETTING,
Id: settingUUIDProfileLanguage,
},
Value: &settings.Setting_PermissionValue{
PermissionValue: &settings.Permission{
Operation: settings.Permission_OPERATION_READWRITE,
Constraint: settings.Permission_CONSTRAINT_OWN,
},
},
},
},
}
}
-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)
}
+24 -29
View File
@@ -9,13 +9,14 @@ import (
"net/http"
"path"
"path/filepath"
"strconv"
"strings"
"github.com/cs3org/reva/pkg/auth/scope"
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
v1beta11 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
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,10 +105,10 @@ 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{
Spec: &provider.Reference_Path{Path: path.Join("/meta", accountsFolder)},
Path: path.Join("/meta", accountsFolder),
},
})
if err != nil {
@@ -154,11 +155,11 @@ 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{
Spec: &provider.Reference_Path{Path: path.Join("/meta", accountsFolder, id)},
Path: path.Join("/meta", accountsFolder, id),
},
})
@@ -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,10 +219,10 @@ 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{
Spec: &provider.Reference_Path{Path: path.Join("/meta", groupsFolder)},
Path: path.Join("/meta", groupsFolder),
},
})
if err != nil {
@@ -268,11 +269,11 @@ 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{
Spec: &provider.Reference_Path{Path: path.Join("/meta", groupsFolder, id)},
Path: path.Join("/meta", groupsFolder, id),
},
})
@@ -298,21 +299,15 @@ func AuthenticateCS3(ctx context.Context, su config.ServiceUser, tm token.Manage
Id: &user.UserId{
OpaqueId: su.UUID,
},
Groups: []string{},
Opaque: &types.Opaque{
Map: map[string]*types.OpaqueEntry{
"uid": {
Decoder: "plain",
Value: []byte(strconv.FormatInt(su.UID, 10)),
},
"gid": {
Decoder: "plain",
Value: []byte(strconv.FormatInt(su.GID, 10)),
},
},
},
Groups: []string{},
UidNumber: su.UID,
GidNumber: su.GID,
}
return tm.MintToken(ctx, u)
s, err := scope.AddOwnerScope(nil)
if err != nil {
return
}
return tm.MintToken(ctx, u, s)
}
func (r CS3Repo) accountURL(id string) string {
@@ -330,7 +325,7 @@ func (r CS3Repo) makeRootDirIfNotExist(ctx context.Context, folder string) error
// MakeDirIfNotExist will create a root node in the metadata storage. Requires an authenticated context.
func MakeDirIfNotExist(ctx context.Context, sp provider.ProviderAPIClient, folder string) error {
var rootPathRef = &provider.Reference{
Spec: &provider.Reference_Path{Path: path.Join("/meta", folder)},
Path: path.Join("/meta", folder),
}
resp, err := sp.Stat(ctx, &provider.StatRequest{
@@ -377,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)
}
@@ -387,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)
}
+23
View File
@@ -0,0 +1,23 @@
package tracing
import (
"github.com/owncloud/ocis/accounts/pkg/config"
pkgtrace "github.com/owncloud/ocis/ocis-pkg/tracing"
"go.opentelemetry.io/otel/trace"
)
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 {
if TraceProvider, err = pkgtrace.GetTraceProvider(cfg.Tracing.Endpoint, cfg.Tracing.Collector, "accounts", cfg.Tracing.Type); err != nil {
return err
}
}
return nil
}
@@ -1,8 +1,8 @@
syntax = "proto3";
option go_package = "pkg/proto/v0;proto";
package com.owncloud.ocis.accounts.v0;
package settings;
option go_package = "github.com/owncloud/ocis/accounts/pkg/proto/v0;proto";
import "google/api/field_behavior.proto";
import "google/api/annotations.proto";
@@ -10,6 +10,32 @@ import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "ownCloud Infinite Scale accounts";
version: "1.0.0";
contact: {
name: "ownCloud GmbH";
url: "https://github.com/owncloud/ocis";
email: "support@owncloud.com";
};
license: {
name: "Apache-2.0";
url: "https://github.com/owncloud/ocis/blob/master/LICENSE";
};
};
schemes: HTTP;
schemes: HTTPS;
consumes: "application/json";
produces: "application/json";
external_docs: {
description: "Developer Manual";
url: "https://owncloud.dev/extensions/accounts/";
};
};
// Follow recommended Methods for rpc APIs https://cloud.google.com/apis/design/resources?hl=de#methods
// https://cloud.google.com/apis/design/standard_methods?hl=de#list
// https://cloud.google.com/apis/design/naming_convention?hl=de
@@ -221,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 {
@@ -242,13 +268,13 @@ message Account {
// Indicates whether the account was created as
// - a regular school or work account ("" / emptystring),
// - a local account, fully managed by ocis (LocalAccount), includes synced accounts or
// - a local account, fully managed by oCIS (LocalAccount), includes synced accounts or
// - an external account (Invitation),
// - self-service sign-up using email verification (EmailVerified). Read-only.
string creation_type = 4;
// Represents the identities that can be used to sign in to this account.
// An identity can be provided by OCIS (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and is tied to an account.
// An identity can be provided by oCIS (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and is tied to an account.
// May contain multiple items with the same signInType value. Supports $filter.
repeated Identities identities = 5;
@@ -321,7 +347,7 @@ message Account {
// null if this object has never been synced from an on-premises directory (default). Read-only
bool on_premises_sync_enabled = 20;
// This property is used to associate an on-premises LDAP user to the ocis account object.
// This property is used to associate an on-premises LDAP user to the oCIS account object.
// This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
// Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
string on_premises_immutable_id = 21;
@@ -357,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.
@@ -382,7 +408,7 @@ message Account {
}
// Identities Represents an identity used to sign in to a user account.
// An identity can be provided by ocis, by organizations, or by social identity providers such as Facebook, Google, or Microsoft, that are tied to a user account.
// An identity can be provided by oCIS, by organizations, or by social identity providers such as Facebook, Google, or Microsoft, that are tied to a user account.
// This enables the user to sign in to the user account with any of those associated identities.
// They are also used to keep a history of old usernames.
message Identities {
@@ -627,7 +653,7 @@ message Group {
// Returned by default. Read-only. Supports $filter.
bool on_premises_sync_enabled = 20;
// This property is used to associate an on-premises LDAP user to the ocis account object.
// This property is used to associate an on-premises LDAP user to the oCIS account object.
// This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user’s userPrincipalName (UPN) property.
// Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
string on_premises_immutable_id = 21;
-37
View File
@@ -1,37 +0,0 @@
sonar.projectKey=owncloud_ocis-accounts
sonar.organization=owncloud-1
sonar.projectName=ocis-accounts
sonar.projectVersion=1.0
sonar.host.url=https://sonarcloud.io
# =====================================================
# Meta-data for the project
# =====================================================
sonar.links.homepage=https://github.com/owncloud/ocis-accounts
sonar.links.ci=https://cloud.drone.io/owncloud/ocis-accounts/
sonar.links.scm=https://github.com/owncloud/ocis-accounts
sonar.links.issue=https://github.com/owncloud/ocis/accounts/issues
# =====================================================
# Properties that will be shared amongst all modules
# =====================================================
# SQ standard properties
sonar.sources=.
# Pull Requests
sonar.pullrequest.provider=GitHub
sonar.pullrequest.github.repository=owncloud/ocis-accounts
sonar.pullrequest.base=${env.SONAR_PULL_REQUEST_BASE}
sonar.pullrequest.branch=${env.SONAR_PULL_REQUEST_BRANCH}
sonar.pullrequest.key=${env.SONAR_PULL_REQUEST_KEY}
# Properties specific to language plugins:
sonar.go.coverage.reportPaths=coverage.out
# Exclude protobuf files
sonar.exclusions=pkg/proto/**, changelog/**, docs/**, package.json, rollup.config.js, changelog.md
+10 -6
View File
@@ -7,16 +7,18 @@ geekdocEditPath: edit/master/accounts/templates
geekdocFilePath: CONFIGURATION.tmpl
---
{{- define "options"}}
{{ $fnName := (last . ).Flags -}}
{{ range $opt := first . }}{{ with list $fnName $opt -}}
{{ $fnNames := (last . ).Flags -}}
{{ range $opt := first . }}
{{ range $fnName := $fnNames }}{{ with list $fnName $opt -}}
{{ $o := last . -}}
{{ if eq $o.FnName $fnName -}}
--{{ $o.Name }} | ${{ index $o.Env 0 }}
-{{ $o.Name }} | {{ range $i, $e := $o.Env }} {{ if $i }}, {{ end }}${{ $e }}{{ end }}
: {{ $o.Usage }}. {{- if $o.Default }} Default: `{{ $o.Default }}`.{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}
{{ end -}}
{{ end }}
{{`{{< toc >}}`}}
@@ -35,15 +37,17 @@ $HOME/.ocis
For this configuration to be picked up, have a look at your extension `root` command and look for which default config name it has assigned. *i.e: ocis-accounts reads `accounts.json | yaml | toml ...`*.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
So far we support the file formats `JSON` and `YAML`, if you want to get a full example configuration just take a look at [our repository](https://github.com/owncloud/ocis/tree/master/accounts/config), there you can always see the latest configuration format. These example configurations include all available options and the default values. The configuration file will be automatically loaded if it's placed at `/etc/ocis/ocis.yml`, `${HOME}/.ocis/ocis.yml` or `$(pwd)/config/ocis.yml`.
### Environment variables
If you prefer to configure the service with environment variables you can see the available variables below.
### Commandline flags
If multiple variables are listed for one option, they are in order of precedence. This means the leftmost variable will always win if given.
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.
### Command-line flags
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) -}}
File renamed without changes.
-31
View File
@@ -1,31 +0,0 @@
// Copyright (c) 2015, Google Inc.
//
// 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.
syntax = "proto3";
package google.api;
import "google/api/http.proto";
import "google/protobuf/descriptor.proto";
option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations";
option java_multiple_files = true;
option java_outer_classname = "AnnotationsProto";
option java_package = "com.google.api";
option objc_class_prefix = "GAPI";
extend google.protobuf.MethodOptions {
// See `HttpRule`.
HttpRule http = 72295728;
}
-79
View File
@@ -1,79 +0,0 @@
// Copyright 2019 Google LLC.
//
// 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.
//
syntax = "proto3";
package google.api;
import "google/protobuf/descriptor.proto";
option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations";
option java_multiple_files = true;
option java_outer_classname = "FieldBehaviorProto";
option java_package = "com.google.api";
option objc_class_prefix = "GAPI";
extend google.protobuf.FieldOptions {
// A designation of a specific field behavior (required, output only, etc.)
// in protobuf messages.
//
// Examples:
//
// string name = 1 [(google.api.field_behavior) = REQUIRED];
// State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
// google.protobuf.Duration ttl = 1
// [(google.api.field_behavior) = INPUT_ONLY];
// google.protobuf.Timestamp expire_time = 1
// [(google.api.field_behavior) = OUTPUT_ONLY,
// (google.api.field_behavior) = IMMUTABLE];
repeated google.api.FieldBehavior field_behavior = 1052;
}
// An indicator of the behavior of a given field (for example, that a field
// is required in requests, or given as output but ignored as input).
// This **does not** change the behavior in protocol buffers itself; it only
// denotes the behavior and may affect how API tooling handles the field.
//
// Note: This enum **may** receive new values in the future.
enum FieldBehavior {
// Conventional default for enums. Do not use this.
FIELD_BEHAVIOR_UNSPECIFIED = 0;
// Specifically denotes a field as optional.
// While all fields in protocol buffers are optional, this may be specified
// for emphasis if appropriate.
OPTIONAL = 1;
// Denotes a field as required.
// This indicates that the field **must** be provided as part of the request,
// and failure to do so will cause an error (usually `INVALID_ARGUMENT`).
REQUIRED = 2;
// Denotes a field as output only.
// This indicates that the field is provided in responses, but including the
// field in a request does nothing (the server *must* ignore it and
// *must not* throw an error as a result of the field's presence).
OUTPUT_ONLY = 3;
// Denotes a field as input only.
// This indicates that the field is provided in requests, and the
// corresponding field is not included in output.
INPUT_ONLY = 4;
// Denotes a field as immutable.
// This indicates that the field may be set once in a request to create a
// resource, but may not be changed thereafter.
IMMUTABLE = 5;
}
Loaded 100 of 1468 files, more files were not shown because too many files have changed in this diff. Show more