Commit Graph

1199 Commits

Author SHA1 Message Date
Michael Barz
f80cc175fd [full-ci] Do not share versions (#5531)
* change test expectations

* bump reva  version

* add changelog

* fix test

* php style fix

* bump webCommit. fixt contarct tests

* change webBranch

* change webBranch

* new web commit

* fix flaky draw.io file

* fix after review

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-04-06 12:52:38 +02:00
jkoberg
1b457554ff fixed panic in ocs service by configuring grpc
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-06 11:02:47 +02:00
Michael Barz
802cf4d8cc Merge pull request #5973 from owncloud/av-logging
add more logging to antivirus
2023-04-05 09:29:25 +02:00
Ralf Haferkamp
120887abcc graph: new config option GRAPH_LDAP_GROUP_CREATE_BASE_DN
By setting GRAPH_LDAP_GROUP_CREATE_BASE_DN a distinct subtree can be
configured where new LDAP groups are created. That subtree needs to be
subordinate to GRAPH_LDAP_GROUP_BASE_DN. All groups outside for
GRAPH_LDAP_GROUP_CREATE_BASE_DN are considered read-only and only groups
below that DN can be updated and deleted.

This is introduced for a pretty specific usecase where most groups are managed
in an external source (e.g. a read-only replica of an LDAP tree). But we still
want to allow the local administrator to create groups in a writeable subtree
attached to that replica.
2023-04-04 15:56:57 +02:00
jkoberg
e21082318b bump go-ldap version
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-04 11:12:50 +02:00
Michael Barz
6dde3f6ef6 add more logging to antivirus 2023-04-04 09:20:56 +02:00
Michael Barz
e313248cee add missing cors config 2023-04-03 17:29:49 +02:00
Michael Barz
b2568972da Merge pull request #5992 from owncloud/basic-auth-header
do not send www-authenticate basic for Api requests
2023-04-03 15:22:09 +02:00
André Duffeck
08dc9b7972 Add changelog 2023-04-03 14:01:17 +02:00
Michael Barz
df537ea98d do not send www-authenticate basic for Api requests 2023-04-03 11:34:42 +02:00
jkoberg
ec6f236118 add capability for personal data export
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-31 16:42:35 +02:00
jkoberg
526e4c6459 changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-29 16:02:42 +02:00
Daniel Swärd
555ca582b1 Add changelog file describing group PATCH update. 2023-03-29 11:43:09 +02:00
jkoberg
a2f162a6a6 add missing messageRichParameters
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-24 15:16:03 +01:00
kobergj
9df308932d Merge pull request #5903 from kobergj/AutomateMDCreation
Automate Creation of `_index.md` Files
2023-03-24 13:00:10 +01:00
kobergj
1f6ddcb620 bump reva (#5921)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-24 11:44:46 +01:00
kobergj
ce84163983 notify a user when a file was deleted because of policies (#5912)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-24 11:14:02 +01:00
jkoberg
cf8120a70d automate creation of _index.md files
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-24 09:24:42 +01:00
jkoberg
0681cec9d1 use accept language header
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-23 17:15:43 +01:00
Jörn Friedrich Dreyer
6bec87f582 Proxy accesstoken cache store (#5829)
* refactor middleware options

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use ocmemstore micro store implementaiton for token cache

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* refactor ocis store options, support redis sentinel

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* align cache configuration

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* database and tabe are used to build prefixes for inmemory stores

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add global persistent store options to userlog config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* log cache errors but continue

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* drup unnecessary type conversion

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* Better description for the default userinfo ttl

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use global cache options for even more caches

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* don't log userinfo cache misses

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* default to stock memory store

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use correct mem store typo string

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* split cache options, doc cleanup

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* mint and write userinfo to cache async

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use hashed token as key

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* go mod tidy

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update docs

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update cache store naming

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* bring back depreceted ocis-pkg/store package for backwards compatability

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* Apply suggestions from code review

Co-authored-by: kobergj <jkoberg@owncloud.com>

* revert ocis-pkg/cache to store rename

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add waiting for each step 50 milliseconds

* starlack check

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: kobergj <jkoberg@owncloud.com>
Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-03-22 15:21:57 +01:00
kobergj
48be9ccf3e Merge pull request #5873 from kobergj/NoNotificationForOwnActions
No Notifications for own actions
2023-03-21 16:26:19 +01:00
Jörn Friedrich Dreyer
474c4b848d upgrade to go1.20 and auto set go mem limit (#5732)
* upgrade to go1.19 and set go mem limit

* create ocis-pkg memlimit package

* use std automemlimit import

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* import automemlimit in every ocis service, drop ocis-pkg/memlimit package

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* bump go to 1.20

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* drop unused config options and env vars

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update all version numbers, add doc

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix lint

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update bingo and mockery

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* bump golangci-lint

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix selector test

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* Update changelog/unreleased/enhancement-memlimit.md

Co-authored-by: kobergj <juliankoberg@googlemail.com>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Willy Kloucek <wkloucek@owncloud.com>
Co-authored-by: kobergj <juliankoberg@googlemail.com>
2023-03-20 17:22:02 +01:00
jkoberg
8d3fac48fd do not inform user about her own action
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-20 15:29:24 +01:00
kobergj
9750dfaff9 use master version of gotext package (#5868)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 16:03:28 +01:00
jkoberg
cdddd16c0a add permission to change space quota
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 12:51:26 +01:00
Andre Duffeck
7bd735f615 Add command for inspecting and manipulating node metadata (#5858)
* Add command for inspecting and manipulating node metadata

* Add changelog

* Bump reva
2023-03-17 12:31:07 +01:00
Michael Barz
8332244383 add read_write_delete key to public link pw enforcement capabilites 2023-03-15 23:11:03 +01:00
Jörn Friedrich Dreyer
6efccc69d9 bump reva to 53ed6a88 (#5845)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-15 17:16:33 +01:00
David Christofas
5ddf7334c8 Merge pull request #5826 from rhafer/issue/3432
Avoid repeated default role assignment
2023-03-14 16:56:19 +01:00
Ralf Haferkamp
dbe40bd7c7 Avoid repeated default role assignments
When using the metadata storage (the current default) the default role
assignments were recreated at every start of the settings service. Leading to
duplicated role assignments

Fixes: #3432
2023-03-14 16:08:37 +01:00
Florian Schade
f38a9f4385 Introduce Policies-Service (#5716)
* add policies service
add policies proxy middleware
add policies event service
add policies grpc service
prepare ci and git environments (ci, make, readme, doc)

* add webfinger to the drone conf

* fix docs
remove not used virus scan postprocessing step

* relocate example rego file
implicitly enable and disable proxy and postprocessing policy checking by setting the query.
update configuration descriptions

* move policies
update readme

* use converter func to convert pp environment to actual environment
expose and test custom rego functions
add engine unit tests
add opa unit tests
update policies readme

Co-authored-by: Martin <github@diemattels.at>

* relocate sample policies to the deployments folder
change and document policies service port

* update index.md and small fix

* add health command
add version command
add debug server

---------

Co-authored-by: Martin <github@diemattels.at>
2023-03-14 16:08:22 +01:00
David Christofas
fcf958c8bf update reva to include the password enforcement fixes 2023-03-09 16:24:32 +01:00
jkoberg
f62bfaf9a0 add a changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
Jörn Friedrich Dreyer
971dbe8682 bump lico to 0.59.4 (#5768)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-08 17:25:55 +01:00
David Christofas
c17d9eb19e add config options to enforce passwords on public links 2023-03-08 15:22:57 +01:00
Michael Barz
e05e3b980f add common part, make the logic theme name agnostic 2023-03-06 10:54:43 +01:00
jkoberg
32933ce3ac bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-03 15:16:57 +01:00
David Christofas
b8470d567d add new permission 'publiclink.create' and assign it to the 'Admin', 'SpaceAdmin' and 'User' roles 2023-03-01 11:53:39 +01:00
David Christofas
0fadc79c32 make graph/education API errors more consistent 2023-02-28 15:25:45 +01:00
jkoberg
f5fbd8a056 fix changelog layout
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-27 09:12:11 +01:00
Jacob Kauffmann
a742e943df thumbnails: Add portrait resolutions to default config 2023-02-26 12:34:33 -07:00
Martin
fd5790d8dd Merge pull request #5610 from kobergj/UserlogService
Userlog Service
2023-02-23 15:33:12 +01:00
Jörn Friedrich Dreyer
a5fb068650 [full-ci] Bump reva to include ini metadata backend (#5613)
* bump reva

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* default to ini backend

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* bump reva, add metadata backend config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* fix tag

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* Update services/storage-system/pkg/config/config.go

Co-authored-by: kobergj <jkoberg@owncloud.com>

* fix storage user metadata config desc and env var

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-02-23 10:54:50 +01:00
David Christofas
3fbb6ca2fe Merge pull request #5617 from owncloud/role-quota
add config option to set default quota per role
2023-02-22 17:08:16 +01:00
David Christofas
67549b4ebd add config option to set default quota per role 2023-02-22 16:22:45 +01:00
Ralf Haferkamp
9e73b17a40 idp: Utilize ownCloudUserEnabled Attribute to filter users
This adds support for configuring an LDAP Attribute that can be used as a flag
to disallow users to login. We currently default to 'ownCloudUserEnabled' as
used in the default configuration of the graph service.
2023-02-22 11:23:26 +01:00
Michael Barz
04afa6d35a Merge pull request #5607 from owncloud/configurable-bundles
load bundles from JSON
2023-02-21 21:58:14 +01:00
Michael Barz
7f6e52c39b load bundles from JSON 2023-02-21 21:25:33 +01:00
jkoberg
d7f57f3a50 changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-21 14:58:24 +01:00
jkoberg
c9dfb778a9 sharpen eventhistory service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-21 10:51:32 +01:00