Michael Barz and GitHub
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
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
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 and GitHub
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
Benedikt Kulmann
0815eebb3c
chore: update web to v5.7.0-rc.11
2022-09-08 13:10:40 +02:00
jkoberg and kobergj
2f97fa7036
REPORT: add permissions to personal space
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-09-08 12:31:13 +02:00
Michael Barz and GitHub
88a28ca8cd
Merge pull request #4532 from rhafer/issue/4195
...
Fix home space deletion when deleting user by name
2022-09-07 20:34:05 +02:00
Ralf Haferkamp and Ralf Haferkamp
e5543d4465
Add new "delete-all-spaces" permission
...
This is assigned to the Admin role by default and allows to cleanup
orphaned spaces (e.g. where the owner as been deleted)
Fixes : #4196
2022-09-07 18:21:26 +02:00
Ralf Haferkamp
f43a233795
Fix home space deletion when deleting user by name
...
DELETE requess on /graph/v1.0/users also work when specifing a user by
name. For deleting the home space in that case we need to get the User's
id from the backend first.
Fixes : #4195
2022-09-07 18:13:41 +02:00
Michael Barz and GitHub
746a532a76
Merge pull request #4528 from rhafer/issue/4195
...
graph: purge home space when deleting a user
2022-09-07 15:53:29 +02:00
Ralf Haferkamp and Ralf Haferkamp
8ee8842e88
proxy: Avoid sorting endpoints for every single request
...
The endpoints are no longer hashed by path name in the directors map since
that made iterating over the endpoints unstable. They are now stored in a
slice in the order in which the are defined in the configuration.
Closes : #4497
2022-09-07 14:30:19 +02:00
Ralf Haferkamp and Ralf Haferkamp
2c6eb888a8
proxy: Clarify comment
2022-09-07 14:30:19 +02:00
Ralf Haferkamp and Ralf Haferkamp
ab0c82311a
proxy: Fix archiver for public links
...
Allows /archiver to be used the "public-token" auth middleware. The
archiver is a bit of a special case, because it can be uses in several
ways: using 'normal' authentication (basic, oidc), using signed-urls or
using sharetokens. As only the "sharetoken" part is handled by the
"PublicShareAuth" middleware, we needed to special-case it a bit.
2022-09-07 14:30:19 +02:00
Ralf Haferkamp and Ralf Haferkamp
30f4d788f3
proxy: Initialize logger for router
2022-09-07 14:30:19 +02:00
Ralf Haferkamp
e4f9dfa40e
graph: purge home space when deleting a user
...
previously the homespace was just marked as trashed
Fixes : #4195
2022-09-07 14:25:27 +02:00
David Christofas and GitHub
b47409dfc6
Merge pull request #4513 from owncloud/orientate-thumbnails
...
auto orientate pictures for thumbnails
2022-09-06 09:32:48 +02:00
David Christofas
bff9c2b3cd
auto orientate pictures for thumbnails
2022-09-05 16:33:29 +02:00
David Christofas and GitHub
c181e1d392
Merge pull request #4436 from aduffeck/jsoncs3-share-manager
...
Jsoncs3 share manager
2022-09-05 16:16:18 +02:00
Ralf Haferkamp and Ralf Haferkamp
29f52515e1
graph: Fix Status code when updating the password
...
Up to now the /me/changePassword endpoint return a 500 Status when
issue a password change with the old password set to the wrong password.
This changes the code to return 400 (Bad Request) with an additional
message that the old password is wrong. This does not seem to weaken the
security of /me/changePassword (i.e. for allowing easier brute-force
attacks) as the endpoint is only available to already authenticated
users (and only for changing their own passwords)
See #4480
2022-09-05 15:57:46 +02:00
Jannik Stehle
213a68ec69
Fix translations on login page
2022-09-02 15:07:54 +02:00
jkoberg and kobergj
3f5585628d
adjust REPORT to PROPFIND endpoint
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-09-02 15:02:06 +02:00
Jannik Stehle and GitHub
123ae47fe1
Merge pull request #4500 from owncloud/login-screen-design
...
Improve login screen design
2022-09-02 14:58:19 +02:00
David Christofas and GitHub
2051f0d1e1
Merge pull request #4447 from dragonchaser/delete_userspace
...
Delete userspace
2022-09-02 14:41:57 +02:00
Jannik Stehle
a9fd209da8
Use cv11 as font feature setting
2022-09-02 13:51:59 +02:00
Jannik Stehle
99255c1cdd
Add 'Inter' font, change placeholder color to grey
2022-09-02 13:47:52 +02:00
David Christofas
e36cd4fa7f
add returns after rendering errors and simplify loop condition
2022-09-02 11:54:17 +02:00
Jannik Stehle
52b58cd1d9
Move background-size after the background css prop
2022-09-02 09:56:53 +02:00
Jannik Stehle
dff588a621
Improve login screen design
2022-09-02 09:46:32 +02:00
Ralf Haferkamp and Ralf Haferkamp
fed62d4a1e
Evaluate routing rules ordered by path-length
...
This is a quickfix for #4497 . Before evaluating, we now sort the rules
of a specific type by the length of the endpoints and start evaluation
with the most specific endpoint first. There's obviously quite a bit
room for optimization here and this will only fix the issue for routes
of type `PrefixRoute`. But it should solve the immediate issue.
2022-09-01 17:07:17 +02:00
David Christofas and Ralf Haferkamp
bfb26cc660
update tests
2022-09-01 12:43:32 +02:00
David Christofas and Ralf Haferkamp
e20b2b1536
fix default policy and add changelog
2022-09-01 12:43:32 +02:00
David Christofas and Ralf Haferkamp
69de4616b5
fix linting issues
2022-09-01 12:43:32 +02:00
David Christofas and Ralf Haferkamp
90574268d9
add missing unprotected flag and fix proxy test
2022-09-01 12:43:32 +02:00
David Christofas and Ralf Haferkamp
69ba80562e
add unprotected flag to the proxy routes
...
I added an unprotected flag to the proxy routes which is evaluated by
the authentication middleware. This way we won't have to maintain a
hardcoded list of unprotected paths and path prefixes and we will
hopefully reduce the times we encounter the basic auth prompt by web
browsers.
2022-09-01 12:43:32 +02:00
David Christofas and Ralf Haferkamp
4d4f3a16e1
refactor proxy code
...
I refactored the proxy so that we execute the routing before the
authentication middleware. This is necessary so that we can determine
which routes are considered unprotected i.e. which routes don't need
authentication.
2022-09-01 12:43:32 +02:00
Benedikt Kulmann and Ralf Haferkamp
0341097430
fix: disable misconfigured default expiration date public links
2022-08-31 08:23:28 +02:00
Ralf Haferkamp and Ralf Haferkamp
a26b16c41d
graph: Add $expand=memberOf support to /me
...
Fixes : #4283
2022-08-31 07:43:27 +02:00
Christian Richter
6a9d4efef6
add delete home space permission to admin role
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-08-30 11:09:05 +02:00
Christian Richter
05a60fd3a5
add home space deletion on user delete
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-08-26 15:00:55 +02:00
Phil Davis and GitHub
b79de5f356
Merge pull request #4462 from owncloud/fix-typo-2022-08-26
...
[docs-only] Fix typo 2022-08-26
2022-08-26 18:33:53 +05:45
Jörn Friedrich Dreyer
de208f5b87
lint
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-08-26 12:41:16 +00:00
Jörn Friedrich Dreyer
bba00e11a9
use common config for jsoncs3 defaults
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-08-26 12:19:44 +00:00
Jan and GitHub
a999dd1d61
Add previewFileMimeTypes to defaultconfig.go ( #4414 )
...
* Add previewFileMimeTypes to defaultconfig.go
* Add changelog item
* Format
* Remove obsolete hideSearchBar config setting
2022-08-26 11:51:33 +02:00
Benedikt Kulmann
6fc87613d5
fix: add index.html to unprotected paths
2022-08-26 10:37:46 +02:00
Phil Davis
d8dddc8891
Fix typo of 'defines'
2022-08-26 10:34:23 +05:45