Commit Graph
100 Commits
Author SHA1 Message Date
Ilja Neumann 2599640f35 regenerate assets 2020-11-02 16:13:17 +01:00
Ilja Neumann 0170352b92 Downgrade konnectd to v0.33.3
Latest caused a regression
2020-10-23 15:04:33 +02:00
Ilja Neumann 140cb796bc Update konnectd to v0.33.8
This introduces KONNECTD_ACCESS_TOKEN_EXPIRATION, KONNECTD_ID_TOKEN_EXPIRATION and KONNECTD_REFRESH_TOKEN_EXPIRATION among some bugfixes and minor
improvements.
2020-10-23 12:58:43 +02:00
Ilja Neumann ca1fa005a6 Return BadRequestError instead of InternalServerError
Apparently InternalServer errors are not returned back by the handler
2020-10-15 18:00:08 +02:00
Ilja Neumann c9f0cdd256 Disable ACCOUNTS_DATA_PATH 2020-10-14 19:07:56 +02:00
Ilja Neumann f272bb243b Add STORAGE_STORAGE_METADATA_ROOT 2020-10-14 18:40:14 +02:00
Ilja Neumann 3aa10fa8f0 Fix lint 2020-10-14 18:03:52 +02:00
Ilja Neumann f651303866 Fix id or samaccount query 2020-10-14 18:03:52 +02:00
Ilja Neumann 20e3bd0826 Disable DISK_PATH temporarily 2020-10-14 18:03:52 +02:00
Ilja Neumann 199ad32e04 Temporarily disable groups query 2020-10-14 18:03:52 +02:00
Ilja Neumann 98ed583b89 Add or query to query regexes 2020-10-14 18:03:52 +02:00
Ilja Neumann 8bcf5d4096 Add startswith(id,...) query for group 2020-10-14 18:03:52 +02:00
Ilja Neumann c31732872d Don't add empty values to the index 2020-10-14 18:03:52 +02:00
Ilja Neumann 755bbd7817 Create absolute accounts dir for tests and recreate it on each test 2020-10-14 18:03:52 +02:00
Ilja Neumann cc0a141dc6 go fmt 2020-10-14 18:03:52 +02:00
Ilja Neumann 0ca3a10daf Remove bleave provider and tokenizer 2020-10-14 18:03:52 +02:00
Ilja Neumann 9243330ae4 Create random testdata-dir 2020-10-14 18:03:52 +02:00
Ilja Neumann be9b30f0b5 - Reseed in each update-test
- Don't assert in cleanup
2020-10-14 18:03:52 +02:00
Ilja Neumann fd6d80435b Fix ListGroups 2020-10-14 18:03:52 +02:00
Ilja Neumann 05b2acf4a9 staticcheck 2020-10-14 18:03:52 +02:00
Ilja Neumann 29a63532f1 Various test adjustments and fixes 2020-10-14 18:03:52 +02:00
Ilja Neumann 4aa019289b Don't check if symlink is valid, as the target might have already been removed before index update 2020-10-14 18:03:52 +02:00
Ilja Neumann c4df138ac7 Fix groups data-folder 2020-10-14 18:03:52 +02:00
Ilja Neumann aada7ac65d Delete group by entity instead by id 2020-10-14 18:03:52 +02:00
Ilja Neumann 56b88057e8 Delete value directory if it is empty 2020-10-14 18:03:52 +02:00
Ilja Neumann e2f54df24d Pass account instead of id to index delete 2020-10-14 18:03:52 +02:00
Ilja Neumann f11ae963b1 Fix index types 2020-10-14 18:03:52 +02:00
Ilja Neumann 51c853fa23 Make user-listing and querying work + fix lint/vet/staticcheck 2020-10-14 18:03:52 +02:00
Ilja Neumann 69a7491507 Integrate indexer / remove bleve [WIP] 2020-10-14 18:03:52 +02:00
Ilja Neumann dba08c48dc Add non-unique with index with options 2020-10-14 18:03:52 +02:00
Ilja Neumann 4300f6a3cf Apply ProviderAddr from options to cs3config 2020-10-14 18:03:52 +02:00
Ilja Neumann 60cc905b19 Extract data-provider base url to the respective client 2020-10-14 18:03:52 +02:00
Ilja Neumann 66900b4419 cs3 unique index implementation 2020-10-14 18:03:52 +02:00
Ilja Neumann f9ee733e8b WIP cs3 index 2020-10-14 18:03:52 +02:00
Ilja Neumann e70fbea51e Create pkg for index disk implementation 2020-10-14 18:03:52 +02:00
Ilja Neumann 683138fb6e Fix errors alias name 2020-10-14 18:03:52 +02:00
Ilja Neumann 1c3e47c018 add reflect_test 2020-10-14 18:03:52 +02:00
Ilja Neumann cfafdb6063 dot import alias for test pkg 2020-10-14 18:03:52 +02:00
Ilja Neumann 36c4d15520 Restructure in to subpackages 2020-10-14 18:03:52 +02:00
Ilja Neumann 2a77e2b691 Add Update + tests to indexer 2020-10-14 18:03:52 +02:00
Ilja Neumann 930f446824 FindByPartial + tests 2020-10-14 18:03:52 +02:00
Ilja Neumann ded569f369 Delete + tests 2020-10-14 18:03:52 +02:00
Ilja Neumann a8f7d5d5f7 FindBy + tests 2020-10-14 18:03:52 +02:00
Ilja Neumann 36f8931621 Rename index package to indexer 2020-10-14 18:03:52 +02:00
Ilja Neumann 6f05c0998e WIP Reflection type-names 2020-10-14 18:03:52 +02:00
Ilja Neumann e054bfc996 WIP 2020-10-14 18:03:52 +02:00
Ilja Neumann 85743a2129 Storage Index [WIP] 2020-10-14 18:03:52 +02:00
Ilja NeumannandBenedikt Kulmann 9c64f6a0b5 Create data-provider client 2020-10-05 12:24:27 +02:00
Ilja NeumannandBenedikt Kulmann 403ccc662e Remove commented code 2020-10-05 12:24:27 +02:00
Ilja NeumannandBenedikt Kulmann 4428b771bc - Implemented delete + some test 2020-10-05 12:24:24 +02:00
Ilja NeumannandBenedikt Kulmann 901ada3ffc Basic implementation of CS3 [WIP] 2020-10-05 12:24:24 +02:00
Ilja NeumannandBenedikt Kulmann f6732fd14e Extract storage layer + cs3impl 2020-10-05 12:24:24 +02:00
Ilja Neumann e0558d9088 Fix port allocation 2020-09-29 16:35:50 +02:00
Ilja Neumann e7c918578b Change port allocation 2020-09-29 16:35:50 +02:00
Ilja Neumann 319a27a298 Override storage-driver roots with storage-metadata root flag 2020-09-29 16:35:50 +02:00
Ilja Neumann 080619f677 Override roots for metadata storage 2020-09-29 16:35:50 +02:00
Ilja Neumann 836413b584 Add storage config 2020-09-29 16:35:50 +02:00
Ilja Neumann 6164a17676 Changelog 2020-09-29 16:35:50 +02:00
Ilja Neumann 3535f5f897 Start metadata-storage in reva 2020-09-29 16:35:50 +02:00
Ilja Neumann 1ccf012d14 Automated changelog update [skip ci] 2020-08-26 18:34:01 +00:00
Ilja NeumannandIlja Neumann 73c8b11f3d Use dependency-injected grpc client 2020-08-26 20:19:14 +02:00
Ilja NeumannandIlja Neumann f552072608 Assign user role to newly created accounts.
https://github.com/owncloud/product/issues/173
2020-08-26 20:19:14 +02:00
Ilja Neumann 0f809b99fd Integrate account-management cli-commands 2020-08-18 12:09:21 +02:00
Ilja Neumann 9470b36c61 Automated changelog update [skip ci] 2020-07-31 21:18:38 +00:00
Ilja NeumannandJörn Friedrich Dreyer 9999088813 Fix potential null-pointer 2020-07-31 23:13:50 +02:00
Ilja NeumannandJörn Friedrich Dreyer 1deada443e Set iss/idp in reva-userid 2020-07-31 23:13:50 +02:00
Ilja Neumann 79b890f6b0 Automated changelog update [skip ci] 2020-07-20 13:32:54 +00:00
Ilja NeumannandIlja Neumann 06f4e2d296 Add option to disable TLS
Can be used to disable TLS when the ocis-proxy is behind an
TLS-Terminating reverse proxy.

env PROXY_TLS=false or cli --tls=false
2020-07-20 15:27:35 +02:00
Ilja Neumann 3014f0dfe5 Automated changelog update [skip ci] 2020-07-10 14:53:22 +00:00
Ilja NeumannandIlja Neumann 94ea9ede89 Abort middleware execution if no token header is present 2020-07-10 16:48:29 +02:00
Ilja Neumann bfe4790ab8 Automated changelog update [skip ci] 2020-05-29 09:20:45 +00:00
Ilja NeumannandIlja Neumann d7c0728e00 Disable OIDC Keep-Alive and instantiate client once
This should reduce file-descriptor leaks.
2020-05-29 11:15:36 +02:00
Ilja Neumann f33b6781d6 Automated changelog update [skip ci] 2020-05-28 14:10:08 +00:00
Ilja NeumannandIlja Neumann 6b76c2783e Re-enable selector-test 2020-05-28 16:05:10 +02:00
Ilja Neumann ee82f69390 Create JWT from claims 2020-05-13 13:42:07 +02:00
Ilja NeumannandIlja Neumann eebf94fa8e Integrate migration import command 2020-05-07 09:36:28 +02:00
Ilja Neumann 3f3d7470c5 Automated changelog update [skip ci] 2020-04-30 13:53:52 +00:00
Ilja NeumannandIlja Neumann b0d984c252 Integrate ocis-accounts 2020-04-30 15:08:44 +02:00
Ilja Neumann 430f7a9f86 Prepare release 0.1.1 2020-04-29 18:05:43 +02:00
Ilja Neumann 17eaaa5288 Automated changelog update [skip ci] 2020-04-29 12:21:21 +00:00
Ilja NeumannandIlja Neumann b7fb179dec Make logging configurable 2020-04-29 14:10:33 +02:00
Ilja Neumann f2943d0a26 Automated changelog update [skip ci] 2020-04-28 14:37:04 +00:00
Ilja NeumannandIlja Neumann a5c034dddb Extensions diagram 2020-04-28 15:50:35 +02:00
Ilja Neumann 3ef44a947f Remove logtostderr from protoc generation 2020-04-24 11:47:34 +02:00
Ilja Neumann ca6f4c74f8 Remove logtostderr from protoc generation 2020-04-24 11:47:34 +02:00
Ilja Neumann fa377241f9 Remove logtostderr from protoc generation 2020-04-24 11:47:34 +02:00
Ilja Neumann 2471de39f3 Extract server flags to flagset pkg 2020-04-22 15:49:40 +02:00
Ilja NeumannandIlja Neumann ca4e13e462 Add reva-gateway endpoint to service discovery
Reva can't be wrapped as a go-micro service due to private apis. We workaround byy manually registering the address and port in the service-registry.
2020-04-15 12:04:42 +02:00
Ilja Neumann a2b6b52805 Automated changelog update [skip ci] 2020-04-08 15:07:10 +00:00
Ilja NeumannandIlja Neumann d38132ebaa Use konnectd-upstram v0.30.0 2020-04-08 17:01:05 +02:00
Ilja NeumannandIlja Neumann 617628b1a6 Integration test 2020-04-06 09:52:37 +02:00
Ilja Neumann e3bcc0d5aa Automated changelog update [skip ci] 2020-03-27 05:41:03 +00:00
Ilja NeumannandIlja Neumann c523942899 User based routing
Implements a configurable "migration" policy-selector which reads the preferred_username attribute from
the oidc claims and checks if the uid exists in the ocis-accounts service.

A configurable policy-name can be selected based on the outcome of the check.
2020-03-27 06:36:17 +01:00
Ilja Neumann 112552af1d Automated changelog update [skip ci] 2020-03-26 08:48:48 +00:00
Ilja NeumannandIlja Neumann b20b05806e Integrate oid-middleware
This feature is required for user-based routing.
2020-03-26 09:44:51 +01:00
Ilja Neumann 7cd606f82b Update ocis-proxy to v0.2.1 2020-03-26 08:48:02 +01:00
Ilja Neumann be09ea99b5 Prepare Release 0.2.1 2020-03-25 17:04:00 +01:00
Ilja Neumann b2a2e55ca4 Automated changelog update [skip ci] 2020-03-25 16:02:19 +00:00
Ilja NeumannandIlja Neumann 1aa2b1df07 Fix TLS-Certificate not set correctly 2020-03-25 16:55:58 +01:00
Ilja Neumann a42a5223a7 Automated changelog update [skip ci] 2020-03-25 14:38:05 +00:00