Commit Graph

1131 Commits

Author SHA1 Message Date
Daniel Swärd
ec5d50149a Update services/graph/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2023-05-10 17:19:53 +02:00
Daniel Swärd
1cc3fc92c0 graph/groups: Fix typos in config. 2023-05-10 16:28:26 +02:00
mmattel
589a0f5ce1 [docs-only] Fix caching envvar use 2023-05-10 11:37:05 +02:00
Roman Perekhod
21dfe2d7ca Merge pull request #6259 from 2403905/issue-5431
Omitempty givenName attribute when create user #5431
2023-05-10 09:52:25 +02:00
Christian Richter
ec9edf5495 Merge pull request #6265 from dragonchaser/issue-5709-restore-last-version-after-positive-result
add debug switch for antivirus
2023-05-09 17:03:55 +02:00
Roman Perekhod
11e51b9812 Omitempty givenName attribute when creating user #5431 2023-05-09 16:40:23 +02:00
ownClouders
13ebe0b0d5 [tx] updated from transifex 2023-05-09 14:05:44 +00:00
Christian Richter
8c2abf33e5 add debug switch for antivirus
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-05-09 14:56:56 +02:00
jkoberg
e3038dd3c1 force pull translations
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-05-09 11:16:10 +02:00
Michael Barz
78f138e9a8 Merge pull request #6233 from rhafer/issue/6219
Allow selected updates even when GRAPH_LDAP_SERVER_WRITE_ENABLED=false
2023-05-08 17:22:33 +02:00
Ralf Haferkamp
906189462c graph: Always allow updates to "local" groups when LDAP
When GRAPH_LDAP_SERVER_WRITE_ENABLED=false still allow updates of groups
if a distinct GRAPH_LDAP_GROUP_CREATE_BASE_DN is configured.

Partial-Fix: #6219
2023-05-08 16:17:25 +02:00
Ralf Haferkamp
046895a831 graph: Allow disabling users via groupmember ship on "read-only" server
When GRAPH_LDAP_SERVER_WRITE_ENABLED is set to false we still allow updates
of the accountEnabled property when OCIS_LDAP_DISABLE_USER_MECHANISM is set
to "group"

Partial-Fix: #6219
2023-05-08 16:17:25 +02:00
Ralf Haferkamp
4b501e93a4 graph/users: Avoid to leak LDAP error messages to the client 2023-05-08 16:17:25 +02:00
Roman Perekhod
d69decdafe fix Graph delete request leaks existence of space #5031 2023-05-08 16:13:52 +02:00
Martin
f209f65eae Merge pull request #6229 from owncloud/deprecate_some_web_ui_ennvars 2023-05-08 13:43:16 +02:00
Michael Barz
86fbfa5d8c make edition configurable 2023-05-08 09:46:41 +02:00
Michael Barz
ff7a1d2efa Merge pull request #6234 from owncloud/bump-web-7.0.0-rc.36
[full-ci] chore: bump web to v7.0.0-rc.36
2023-05-05 15:15:50 +02:00
Martin
edbecf0aa5 Merge pull request #6244 from owncloud/upload_expiration_warning
[docs-only] Add note that uploads could be canceled when setting is too low
2023-05-05 14:26:53 +02:00
mmattel
ab50b9efd1 [docs-only] Add note that uploads could be canceled when setting is too low 2023-05-05 12:57:46 +02:00
mmattel
14e577d452 [docs-only] An envvar in the storage-users service needs separation by semicolon 2023-05-05 12:38:39 +02:00
Benedikt Kulmann
72aa49b9f6 chore: bump web to v7.0.0-rc.36 2023-05-04 23:13:21 +02:00
Edith Parzefall
670aa26975 Apply suggestions from code review
spelling fixes
2023-05-04 16:50:06 +02:00
mmattel
4302eec3ab deprecate some web envvars 2023-05-04 15:48:10 +02:00
Michael Barz
eac3ad38d2 Fix config name for the web logout url 2023-05-04 14:14:44 +02:00
Christian Richter
d73ea1318c Merge pull request #6223 from owncloud/fix_envvar_decr
[docs-only] Fix IDP envvar description
2023-05-04 09:44:54 +02:00
Martin
62a93bc9c4 Apply suggestions from code review 2023-05-04 09:06:46 +02:00
mmattel
e89ea96470 [docs-only] Add readme.md note to not use xattrs anymore 2023-05-04 08:58:56 +02:00
mmattel
67b7b6bad5 [docs-only] Fix IDP envvar description 2023-05-04 08:39:32 +02:00
ownClouders
33d9be3832 [tx] updated from transifex 2023-05-04 00:25:45 +00:00
Martin
4d5f3ddab8 Merge pull request #6218 from owncloud/fix_WEB_UI_THEME_PATH_desc
[docs-only] Fix the WEB_UI_THEME_PATH description
2023-05-03 18:39:35 +02:00
Michael Barz
2116cc577b Merge pull request #6213 from owncloud/set_messagepack_to_default
[docs-only] Set messagepack as default metadata backend
2023-05-03 18:30:45 +02:00
Michael Barz
b354e79bb5 Merge pull request #6189 from owncloud/cache-special-drive-items
cache special drive items until space root changes
2023-05-03 18:16:28 +02:00
mmattel
61037634a1 fix with gofmt -s -w 2023-05-03 16:33:39 +02:00
mmattel
f53d95a416 [docs-only] Fix the WEB_UI_THEME_PATH description 2023-05-03 16:02:12 +02:00
Ralf Haferkamp
f1dbe439a1 graph-ldap: Fix possible races when editing group membership in parallel (#6214)
As the standard LDAP groups (groupOfNames) require at least one "member"
value to be present in a group, we have workarounds in place that add an
empty member ("") when creating a new group or when removing the last
member from the group. This can cause a race condition when e.g. multiple
request to remove members from a group an running in parallel, as we need
to read the group before we can construct the modification request. If
some other request modified the group (e.g. deleted the 2nd last member)
after we read it, we create non-working modification request.

These changes try to catch those errors and retry the modification
request once.

Fixes: #6170
2023-05-03 15:30:10 +02:00
mmattel
037422ba1f [docs-only] Set messagepack as default metadata backend 2023-05-03 12:22:09 +02:00
Jörn Friedrich Dreyer
4eaa90af54 address code smells
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-03 12:15:02 +02:00
Christian Richter
2fa78bff4b Merge pull request #6209 from owncloud/mmattel-patch-1
[docs-only] Typo fix in web service README.md
2023-05-03 11:27:15 +02:00
Jörn Friedrich Dreyer
024e66ffd0 ignore errors when building the cache key hash
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-03 11:26:46 +02:00
Jörn Friedrich Dreyer
c7bbdd2eae add special nodes to cache key
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-03 11:09:55 +02:00
Roman Perekhod
27322c5bbf The email HTML templates added #6146 (#6147)
* The email HTML templates added #6146

* use a single palne text email template. use fs.FS

* Update services/notifications/README.md

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

* Update services/notifications/README.md

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

* fix md

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
2023-05-03 10:47:46 +02:00
Ralf Haferkamp
77e773515d graph/users: gracefully handle PATCH requests with empty bodies
Return as success status code when the PATCH request comes with an empty
body. This is mainly to workaround issues like:
https://github.com/owncloud/web/issues/8946
2023-05-03 09:32:05 +02:00
Ralf Haferkamp
1ad31218ec graph: Allow using binary LDAP UUIDs as user ids
In Active Directories UUID attributes such as "objectGUID" use a binary
syntax (oposed to the standard UUID syntax defined in RFC4530). This
introduces a flag to enable support for binary UUIDs as the id for users
and groups (similar to what the "users" and "groups" services already
support)

Fixes: #5815
2023-05-03 09:32:05 +02:00
Jörn Friedrich Dreyer
13369f8367 only stat if property is set
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-03 09:18:19 +02:00
Martin
6a82d72cfa Typo fix in web service README.md
Typo fix for #6208
2023-05-03 09:13:49 +02:00
mmattel
fc199420d2 [docs-only] Add a readme descriton to webui option envvars 2023-05-03 07:55:56 +02:00
Jörn Friedrich Dreyer
92533895c5 some fixes for the tests and noisy logs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-03 00:21:57 +02:00
Jörn Friedrich Dreyer
40eba0909d fix mocks for stat based special resource handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-02 22:04:04 +02:00
Martin
4ad0638429 Update services/proxy/README.md
Co-authored-by: Michael Barz <mbarz@owncloud.com>
2023-05-02 21:06:25 +02:00
mmattel
1d73b0e025 update proxy_tls description 2023-05-02 20:41:15 +02:00