Commit Graph

294 Commits

Author SHA1 Message Date
Michael Barz
9ef2f742a2 Merge pull request #4615 from rhafer/issue/3713
Restrict admins from self-removal
2022-09-26 11:24:47 +02:00
David Christofas
f3a6f92dd6 Merge pull request #4601 from wkloucek/remove-default-insecure
change the default value for PROXY_OIDC_INSECURE to false
2022-09-26 11:19:10 +02:00
Willy Kloucek
569ffd41f8 Merge branch 'master' into remove-default-insecure 2022-09-26 08:59:18 +02:00
Willy Kloucek
e4dc458b3e remove extra <> 2022-09-26 08:25:01 +02:00
Willy Kloucek
89dd329280 fix notifications config 2022-09-23 15:44:33 +02:00
Willy Kloucek
a10047c2bc Merge pull request #4634 from owncloud/thumbnail-support-tiff-bmp
add thumbnail support for tiff and bmp files
2022-09-23 12:10:05 +02:00
David Christofas
3914f644e6 add tiff and bmp to the preview app config 2022-09-23 10:43:06 +02:00
Ralf Haferkamp
cc53071f63 Forbid to remove own user account
And admin user is no longer allowed to remove its own user account.
This to prevent admins from locking themselves out.

Fixes: #3713
2022-09-23 09:13:46 +02:00
Ralf Haferkamp
87eaf72020 Forbid to edit/remove own role assignements
And admin user is no longer allowed to edit/remove its own assignments.
This to prevent admins from locking themselves out.

Fixes: #3713
2022-09-23 09:13:46 +02:00
mmattel
7315dac100 Update Notification Service eMail Template env var text string 2022-09-22 14:26:32 +02:00
David Christofas
d7b6ecfaff Merge pull request #4564 from dragonchaser/email-template
Add email templating
2022-09-22 14:02:36 +02:00
Christian Richter
e96ab9f9c8 incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 13:13:30 +02:00
Christian Richter
7a8e1b8106 backport url.JoinPath for go1.18
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:39:50 +02:00
Christian Richter
94024125fb enhance templating
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter
0422af2a11 handle spaceshared event
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter
c2ef67f661 fix SpacesShared
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter
8e0b07b200 add share url to email text
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter
6ea8623b55 add email subject
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter
daaa08aa09 bugfixes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter
70690a318d add space notification
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter
22369b33f5 make email templates configurable
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter
817ac00393 embedd templates
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter
acdfbabd47 add email templating
Signed-off-by: Christian Richter <crichter@owncloud.com>
Co-authored-by: Jörn Dreyer <jfd@butonic.de>
2022-09-22 09:38:11 +02:00
David Christofas
20026faac2 fix wopi access to publicly shared files 2022-09-22 08:27:41 +02:00
David Christofas
0d1d9f2f25 add thumbnail support for tiff and bmp files 2022-09-22 01:30:49 +02:00
Juan Pablo Villafañez
6ee4a084a2 Use go-micro store to cache the roles (#4337)
* Use go-micro store to cache the roles

Add custom in-memory implementation

* replace redis with custom etcd implementation

* adjust table name for the cache in the roles manager

* Fix tests

* Fix sonarcloud issues

* Refactor for sonarcloud

* Allow configuration of cache per service

* Reuse parent context in etcd implementation
2022-09-16 15:42:47 +02:00
Willy Kloucek
71790089fd change insecure option defaulting to false 2022-09-16 12:40:24 +02:00
Willy Kloucek
2d16779652 fix the oidc provider cache 2022-09-16 12:34:12 +02:00
Michael Barz
2ac074c186 Merge pull request #4596 from owncloud/remove-google-font
remove the Open Sans font
2022-09-15 14:50:33 +02:00
Michael Barz
5c94bf8dc3 Merge pull request #4590 from owncloud/3-fixes
[full-ci] add web url to graph api and update reva
2022-09-15 14:10:17 +02:00
David Christofas
cb7d26d061 remove the Open Sans font 2022-09-15 13:39:26 +02:00
Michael Barz
a129ea6abe fix unit tests 2022-09-15 10:42:00 +02:00
jkoberg
0ee2b7b33c add README to notifications service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-15 09:54:56 +02:00
Michael Barz
23da13b35f add web url to graph api and update reva 2022-09-15 09:30:36 +02:00
Jörn Friedrich Dreyer
d4d2fefb80 forward trace context in graph service (#4582)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-14 14:23:15 +02:00
Ralf Haferkamp
fffd49fc4e Introduce "noop" go-micro broker
This introduces a no op broker for go-micro. It is set as the default
broker for all ocis http services. To avoid starting the default http
broker, which opens an unused random http port.

Fixes: https://github.com/owncloud/ocis/issues/3829
2022-09-14 12:22:23 +02:00
David Christofas
b71eeb9f54 Merge pull request #4578 from owncloud/web-configuration-applications
allow to configure applications for web
2022-09-14 11:32:14 +02:00
Jörn Friedrich Dreyer
2d445c6e95 fix search report webdav permissions (#4579)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-14 11:22:51 +02:00
Willy Kloucek
1caffa3bb8 allow to configure applications for web 2022-09-14 10:09:38 +02:00
André Duffeck
6bcf17a7cc Add config variable for configuring the jsoncs3 share manager cache ttl 2022-09-13 16:25:46 +02:00
Jörn Friedrich Dreyer
b0fa917eae enable a 300sec in memory cache for resource infos when listing shares on the ocs API (#4438)
* enable a 300sec in memory cache for resource infos when listing shares on the ocs API

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

* lint

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

* disable ocs cache by default

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-12 16:05:24 +02:00
Michael Barz
1e82d80c1d Merge pull request #4548 from aduffeck/jsoncs3-publicshare-manager
[full-ci] Add support for the jsoncs3 public share manager
2022-09-09 21:16:01 +02:00
Benedikt Kulmann
bb54554cdb chore: bump web to v5.7.0 (final) 2022-09-09 20:07:17 +02:00
Andre Duffeck
291e191490 Update services/sharing/pkg/revaconfig/config.go
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-09 15:33:31 +02:00
Andre Duffeck
a107924a4c Update services/sharing/pkg/config/config.go
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-09 15:25:06 +02:00
Jörn Friedrich Dreyer
40b7aaa7ec make jsoncs3 default public share backend
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-09 11:54:18 +00:00
André Duffeck
1f68321acc Add support for the jsoncs3 public share manager 2022-09-09 13:07:01 +02:00
Benedikt Kulmann
01f6ca12f0 chore: update web to v5.7.0-rc.13 2022-09-09 10:56:04 +02:00
Benedikt Kulmann
dce41c34c5 Merge pull request #4508 from owncloud/update-web-5.7.0-rc.11
[full-ci] update web to v5.7.0-rc.11
2022-09-08 14:55:20 +02:00
David Christofas
3640243492 update reva and jsoncs3 share manager config 2022-09-08 13:22:17 +02:00