Commit Graph

77 Commits

Author SHA1 Message Date
Ilja Neumann
7732949e3c Rename konnectd to IDP 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
Ingmar Aasoja
f9954bb022 Remove duplicated code and use existant getRegistry() instead 2021-01-29 11:54:44 +02:00
Ingmar Aasoja
5c235be89b Use MICRO_REGISTRY_ADDRESS env var for etcd address 2021-01-28 16:12:08 +02: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
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
8c9f9b6dfc bump go version to 1.15 2021-01-20 15:41:36 +01: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
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
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
Willy Kloucek
5c72d915ee fix sonarcloud run for master, remove unneeded configs, rework makefile 2020-12-29 15:46:29 +01:00
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
A.Unger
bf3ff8509c update reva to 5207197 2020-12-16 10:58:52 +01:00
Benedikt Kulmann
633391e30d Set empty role ids array 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
b3871d8e0b Disable static assets caching 2020-12-14 22:57:53 +01:00
David Christofas
eecdadbdfb Merge pull request #1089 from owncloud/update-reva
update reva
2020-12-14 14:11:48 +01:00
David Christofas
b60eece092 update reva to v1.4.1-0.20201209113234-e791b5599a89 2020-12-14 13:38:10 +01: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
A.Unger
f477f0354a Merge branch 'master' into ocis-1132 2020-12-03 16:42:45 +01:00
David Christofas
96e75ceb2f update reva 2020-12-03 16:01:29 +01:00
David Christofas
b137d438af update reva 2020-12-03 16:00:56 +01:00
David Christofas
2f4faad754 add share prefix to ocs shared with me paths
Fixes: https://github.com/owncloud/product/issues/204
2020-12-03 16:00:22 +01:00
A.Unger
6753f38bf3 add utility function Reverse to ocis-pkg 2020-12-03 11:51:25 +01:00
Benedikt Kulmann
040c24606f Update reva to ac85e68 2020-11-30 07:37:31 +01:00
Florian Schade
2a259dd3b1 add Unset to cache.go
harden accounts cache security
2020-11-27 16:18:22 +01:00
A.Unger
ca98d8287c update reva to v1.4.1-0.20201127111856-e6a6212c1b7b 2020-11-27 12:36:19 +01:00
Jörn Friedrich Dreyer
dbb52f29ad Merge pull request #958 from owncloud/basic-auth-cache
implement basic auth cache
2020-11-26 17:33:47 +01:00
Florian Schade
11ba46eb88 remove accounts cache from basic auth middleware
move cache to ocis-pkg
add password validation cache to accounts service
2020-11-26 13:52:24 +01:00
A.Unger
5ef4025c29 update reva to v1.4.1-0.20201125144025-57da0c27434c 2020-11-26 10:23:29 +01:00
Alex Unger
c742389ebb Update reva to v1.4.1-0.20201125144025-57da0c27434c (#951)
* update ocis-reva

* add changelog

* remove passing scenario
2020-11-25 21:13:36 +01:00
Benedikt Kulmann
049b35768a Merge pull request #934 from owncloud/set-expires-headers
Set expires headers and force asset revalidation
2020-11-24 11:09:16 +01:00
Benedikt Kulmann
5de15f4d12 Force web asset re-validation (on last modification date) 2020-11-23 13:16:49 +01:00
Benedikt Kulmann
005825bbc9 Set proper expires header 2020-11-23 13:06:05 +01:00
Benedikt Kulmann
ffa21a3165 Update reva to v1.4.1-0.20201123062044-b2c4af4e897d 2020-11-23 12:56:18 +01:00
David Christofas
e5369a4470 update reva to v1.4.1-0.20201120104232-f5afafc04c3b 2020-11-23 12:56:18 +01:00
Benedikt Kulmann
d91008c3c2 Serve index.html in static middleware 2020-11-20 10:47:17 +01:00
Benedikt Kulmann
9c6dac8328 Add caching for static web assets 2020-11-16 23:22:56 +01:00
Benedikt Kulmann
aaf9029a3e Rename "Cache" middleware to "NoCache" 2020-11-16 22:13:26 +01:00
A.Unger
cefbaa67d2 rerun 2020-11-12 19:42:35 +01:00
A.Unger
c116e2a025 Merge branch 'master' into run-tidy-globally 2020-11-12 19:42:02 +01:00
A.Unger
f2546c6191 run go mod tidy globally 2020-11-12 11:31:49 +01:00
A.Unger
bdfea8ee2e refactor registry awareness logic 2020-11-12 09:50:59 +01:00
A.Unger
c3ab3e7985 fix linter 2020-11-11 16:12:41 +01:00
A.Unger
951a441f65 cleanup old comments 2020-11-11 15:52:13 +01:00