Commit Graph

1543 Commits

Author SHA1 Message Date
Ralf Haferkamp
3141f4f659 graph/education: Fix issues reported by sonarcloud
(cherry picked from commit 4465c9385d)
2023-09-27 15:49:15 +02:00
Ralf Haferkamp
9a9dba7ca7 graph/education: slightly improve error handling and logging
- Use var for common errors
- Add the addition error message to the Error() output of errorcode.Error
- in PatchEducationSchool() use errorcode.RenderError() to turn the errorcode
  in to the right HTTP Status (instead of return 500 always)

(cherry picked from commit a34d467285)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp
cc5b0ee002 graph/education: Check school number for duplicates before adding a school
(cherry picked from commit 4f59de9c52)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp
8f91c67603 graph/education: Add getSchoolByNumber helper
Sometimes we explicit need to lookup by number and not numberOrID

(cherry picked from commit e2849bf19d)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp
852b8e07ec graph/education: Remove unreachable code
An LDAP Modify operation never returns LDAPResultEntryAlreadyExists errors.
That error can only happen for LDAPAdd or LDAPModifyDN.

(cherry picked from commit ce808eaa17)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp
4d9d40e1ba graph/education: Use helper for creating attribute list
(cherry picked from commit 16debe6fa5)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp
b6ddfcccfb graph/education: Don't leak LDAP errors into the graph error message
(cherry picked from commit 164edd16c0)
2023-09-27 15:45:36 +02:00
Ralf Haferkamp
c8c1cc76d8 users: fixup LDAP_BIND_PASSWORD
LDAP_BIND_PASSWORD was accidently removed in previous commit

Partial: #7176
(cherry picked from commit 8f262c1dff)
2023-09-21 16:55:13 +02:00
Ralf Haferkamp
6bf4dc5e0e users: revive USERS_LDAP_USER_SCHEMA_ID variable
The config variable was accidently removed when cleaning up deprecated variables
for the 4.0.0 release

Fixes: #7312
(cherry picked from commit 7b9200ff5d)
2023-09-21 16:55:13 +02:00
Ralf Haferkamp
3f41dd7601 Add OCIS_LDAP_BIND_PASSWORD envvar and deprecate LDAP_BIND_PASSWORD
For some reason LDAP_BIND_PASSWORD was forgotten when all the other global LDAP_
variables got renamed.

Also marks LDAP_BIND_PASSWORD and LDAP_USER_SCHEMA_ID_IS_OCTETSTRING for removal with 5.0.0

Partial: #7176
(cherry picked from commit 8f284e7c2b)
2023-09-21 16:55:13 +02:00
Jörn Friedrich Dreyer
7867841f7f actually use skip user info config option (#7220)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-09-08 13:04:24 +02:00
Florian Schade
a885c8ad5c fix: failing tests and filter out specific matches 2023-09-01 10:38:30 +02:00
Florian Schade
b984c1ad01 fix: acceptance tests to include path resource 2023-09-01 09:15:10 +02:00
Florian Schade
8255d9ac1b fix: search mount point inclusion 2023-09-01 09:03:33 +02:00
Florian Schade
8cfecd8a97 fix: search share expost 2023-08-31 16:49:39 +02:00
kobergj
55127fe413 Merge pull request #7106 from owncloud/allow-skip-userinfo
allow skipping userinfo call
2023-08-23 15:12:22 +02:00
Jörn Friedrich Dreyer
eb6c0a840a fix docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-08-23 14:37:16 +02:00
Jörn Friedrich Dreyer
91a77d1671 Update services/proxy/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2023-08-23 13:56:48 +02:00
Jörn Friedrich Dreyer
5422586bfa allow skipping userinfo call
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-08-23 13:56:48 +02:00
Florian Schade
fe3bf61f5f chore: Update web to v7.1.0 final 2023-08-23 12:19:16 +02:00
Christian Richter
ab0a676dee Fix broken map
Co-authored-by: Julian Koberg <jkoberg@owncloud.com>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Christian Richter
d7139d4127 remove deprecated variables
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
jkoberg
7db9bf02db remove endpoint envvars from gateway
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-22 10:43:00 +02:00
Daniël Franke
a2f02d8a89 Merge pull request #7079 from owncloud/ainmosni/tracing/av
Add tracing to antivirus.
2023-08-22 09:33:46 +02:00
ownClouders
085c5d5c8d [tx] updated from transifex 2023-08-22 00:45:12 +00:00
Daniel Swärd
49d47ff917 Re-enable commented out tracing in frontend. 2023-08-21 12:43:22 +02:00
Daniel Swärd
f805589e9d Update sharing and ocdav tracing. (#7014) 2023-08-21 12:27:37 +02:00
Daniël Franke
8b5687e811 Add tracing to antivirus.
This PR adds tracing to the Antivirus service.
2023-08-21 12:04:54 +02:00
ownClouders
407e08f6f4 [tx] updated from transifex 2023-08-21 00:20:39 +00:00
ownClouders
e94ddbf3bc [tx] updated from transifex 2023-08-19 00:22:40 +00:00
Ralf Haferkamp
c0181f8144 graph: honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting
Fixes: #7032
2023-08-17 11:06:34 +02:00
jkoberg
49cdcad129 unify eventstream creation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-16 10:14:12 +02:00
ownClouders
ee3d709ec2 [tx] updated from transifex 2023-08-15 01:16:59 +00:00
Jan
dccfc2fcef It's only one role per user at a time 2023-08-14 14:34:26 +02:00
Jan
fb340ad42d Enhance description of ReadOnlyUserAttributes 2023-08-14 14:34:26 +02:00
ownClouders
806e0d09db [tx] updated from transifex 2023-08-12 01:14:57 +00:00
Daniël Franke
97dd855a63 Add reusable context. 2023-08-11 12:01:23 +02:00
Daniël Franke
952ebe7d7d Pass context to event publishing.
To allow tracing propagation via events, we need to pass the context
to the `Publish` function of reva events. This adds the context
everywhere where events are published. If there was no context to pass,
we started a new one with `context.Background()`.
2023-08-11 12:01:19 +02:00
Michael Barz
90307c2b89 Merge pull request #6944 from owncloud/bump-web-v7.1.0-rc.5
[full-ci] chore: bump web to v7.1.0-rc.5
2023-08-09 13:12:51 +02:00
Michael Barz
ae2dcf48f1 Merge pull request #6953 from owncloud/dependabot/npm_and_yarn/services/idp/xmldom/xmldom-0.8.10
Bump @xmldom/xmldom from 0.8.2 to 0.8.10 in /services/idp
2023-08-09 08:55:35 +02:00
Michael Barz
96e5e2e1ba Merge pull request #6951 from owncloud/dependabot/npm_and_yarn/services/idp/tough-cookie-4.1.3
Bump tough-cookie from 4.0.0 to 4.1.3 in /services/idp
2023-08-08 22:54:02 +02:00
Michael Barz
8b001fbc03 Merge pull request #6952 from owncloud/dependabot/npm_and_yarn/services/idp/json5-1.0.2
Bump json5 from 1.0.1 to 1.0.2 in /services/idp
2023-08-08 22:53:20 +02:00
Michael Barz
4d3b3d4f3c Merge pull request #6860 from owncloud/dependabot/npm_and_yarn/services/idp/word-wrap-1.2.4
Bump word-wrap from 1.2.3 to 1.2.4 in /services/idp
2023-08-08 22:52:42 +02:00
Michael Barz
3d98af9d8e Merge pull request #6950 from owncloud/dependabot/npm_and_yarn/services/idp/decode-uri-component-0.2.2
Bump decode-uri-component from 0.2.0 to 0.2.2 in /services/idp
2023-08-08 22:50:54 +02:00
Jannik Stehle
952892713f chore: bump web to v7.1.0-rc.5 2023-08-08 16:24:31 +02:00
Daniel Swärd
fc3dce05f4 Add missing tracing initialization for graph service (#6988)
* Convert webdav to service trace provider

* graph: Add missing tracing initialization to graph service
2023-08-08 13:14:45 +02:00
kobergj
0b10050b20 Merge pull request #6946 from kobergj/DeprovisionNotificationStaticSecret
Global Notifications Static Secret
2023-08-08 10:42:46 +02:00
ownClouders
712d98e0a2 [tx] updated from transifex 2023-08-08 01:27:09 +00:00
Daniel Swärd
0c81ec594e Merge pull request #6956 from owncloud/ainmosni/tracing/web
Convert web to service trace provider.
2023-08-07 10:42:54 +02:00
Daniel Swärd
a5f242f683 Convert webfinger to use service trace provider 2023-08-07 09:54:27 +02:00