Commit Graph

3050 Commits

Author SHA1 Message Date
Florian Schade
c1050c46e3 Merge pull request #10139 from fschade/csp-conf-auto-loading
enhancement: Load CSP configuration file if it exists
2024-09-24 12:45:01 +02:00
dependabot[bot]
8ba090e1e2 chore(deps-dev): bump webpack-manifest-plugin in /services/idp
Bumps [webpack-manifest-plugin](https://github.com/shellscape/webpack-manifest-plugin) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/shellscape/webpack-manifest-plugin/releases)
- [Commits](https://github.com/shellscape/webpack-manifest-plugin/compare/v4.1.1...v5.0.0)

---
updated-dependencies:
- dependency-name: webpack-manifest-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 08:06:03 +02:00
kobergj
8344424679 Merge pull request #10136 from kobergj/ForbidActivitiesForSharees
[full-ci] Forbid Sharee access to Activities
2024-09-23 18:15:18 +02:00
Michael Barz
87626077cc Merge pull request #10133 from owncloud/gtw-selector
[full-ci] fix: always select next gateway client
2024-09-23 17:19:55 +02:00
Michael Barz
04ebb3def5 fix: use dedicated config values for grpc TLS 2024-09-23 16:52:02 +02:00
Michael Barz
0ce0ac5af7 fix: add missing error handling 2024-09-23 16:39:30 +02:00
Florian Schade
349a25169b enhancement: Load CSP configuration file if it exists 2024-09-23 16:30:54 +02:00
jkoberg
e2e80326fd fix(activitylog): forbid sharees access to activities
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-09-23 15:01:14 +02:00
Michael Barz
6cf7841f4c chore: remove unused helper method 2024-09-23 12:58:03 +02:00
Michael Barz
8cd9176e49 fix: always select next gateway client 2024-09-23 12:47:36 +02:00
Roman Perekhod
f629f9cb66 Merge pull request #10104 from 2403905/issue-10011
Added the ShareUpdate activity in the space context.
2024-09-23 11:19:10 +02:00
Ralf Haferkamp
34cc7b2e56 feat(graph): Add $filter support for lastSuccessfulSignInDateTime
It is now possible to filter users based on the lastSuccessfulSignInDateTime attribute
using query filter like:
 '$filter=signInActivity/lastSuccessfulSignInDateTime le 2021-09-01T00:00:00Z'

Note: This does only work with LDAP servers actually supporting '<=' filters.
The built-in LDAP server (idm) does not support this feature.
2024-09-23 10:49:49 +02:00
Ralf Haferkamp
231128950f feat(graph): expose 'signinactivity' for users 2024-09-23 10:49:49 +02:00
Ralf Haferkamp
724755426e graph: remove some code duplication 2024-09-23 10:49:49 +02:00
Roman Perekhod
1a23ea5a78 added the translation 2024-09-23 10:37:23 +02:00
Roman Perekhod
b65355c03c Added the ShareUpdate activity in the space context. 2024-09-23 10:37:23 +02:00
ownClouders
0f7293a6a5 [tx] updated from transifex 2024-09-21 00:45:28 +00:00
Christian Richter
e79edddbf3 Merge pull request #10049 from dragonchaser/fix-activity-parent-ref
update events
2024-09-20 11:05:16 +00:00
Jörn Friedrich Dreyer
15a112c83b Merge pull request #10039 from nazliyanik/fix-proxy-build-info
Changing the "versions" string to "version" for Proxy Service
2024-09-20 12:46:43 +02:00
Christian Richter
74ce6b5a6b readd lost code for folder in resource
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-09-20 11:26:14 +02:00
jkoberg
7bafe7f66e fix(activitylog): space -> folder
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-09-20 11:26:14 +02:00
Viktor Scharf
79c4ce3abf fix test 2024-09-20 11:26:14 +02:00
jkoberg
220cde8440 feat(activitylog): Add FileUpdated Activity
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-09-20 11:26:13 +02:00
Christian Richter
1213a734cb Add folder to WithResource function
Signed-off-by: Christian Richter <crichter@owncloud.com>

Co-authored-by: Julian Koberg <jkoberg@owncloud.com>
Co-authored-by: Victor Scharf <vscharf@owncloud.com>
2024-09-20 11:26:13 +02:00
Christian Richter
3c8d85b05d Fix po files
Signed-off-by: Christian Richter <crichter@owncloud.com>

Co-authored-by: Martin Mattel <github@diemattels.at>
Co-authored-by: Florian Schade <fschade@owncloud.com>
Co-authored-by: Julian Koberg <jkoberg@owncloud.com>

# Conflicts:
#	services/activitylog/pkg/service/l10n/locale/de/LC_MESSAGES/activitylog.po
2024-09-20 11:26:13 +02:00
Christian Richter
505f760339 reword and rollback
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-09-20 11:26:13 +02:00
Christian Richter
a4f67a22a7 split events
Signed-off-by: Christian Richter <crichter@owncloud.com>

# Conflicts:
#	services/activitylog/pkg/service/http.go
#	services/activitylog/pkg/service/response.go

# Conflicts:
#	services/activitylog/pkg/service/response.go
2024-09-20 11:26:12 +02:00
Juan Pablo Villafañez
4ef821788e Merge pull request #10112 from owncloud/collaboration_info_notfound_error_code
fix: return 404 code if file isn't found on CheckFileInfo request
2024-09-20 11:10:08 +02:00
ownClouders
cb64d5cb51 [tx] updated from transifex 2024-09-19 15:06:10 +00:00
jkoberg
4a911ac047 feat(storage-users): remove metadata backend envvar
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-09-19 12:29:41 +02:00
Juan Pablo Villafáñez
153502189d fix: return 404 code if file isn't found on CheckFileInfo request 2024-09-19 10:51:28 +02:00
Juan Pablo Villafañez
fddad3780d Merge pull request #10101 from owncloud/collaboration_wopicontext_logging
fix: include additional logging in the wopicontext middleware
2024-09-19 10:32:25 +02:00
ownClouders
052644a1a2 [tx] updated from transifex 2024-09-19 00:43:59 +00:00
Roman Perekhod
9c0f51b06b Merge pull request #10085 from 2403905/issue-10012
Added the LinkUpdated activity in the space context
2024-09-18 16:55:22 +02:00
Juan Pablo Villafáñez
4fcf6c1863 fix: include additional logging in the wopicontext middleware 2024-09-18 13:19:16 +02:00
Juan Pablo Villafañez
ceb29e63fc Merge pull request #10084 from owncloud/collaboration_tracing_fix
fix: missing return in the tracing middleware if we want to skip it
2024-09-18 11:19:02 +02:00
kobergj
6fe9923b08 Merge pull request #10072 from kobergj/FileUpdatedActivity
Add FileUpdated Activity
2024-09-18 11:15:06 +02:00
jkoberg
e3d2f24fd8 fix(activitylog): space -> folder
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-09-18 10:46:26 +02:00
jkoberg
bed59dd9fd fix(activitylog): fix unauthorized activity get
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-09-18 10:22:53 +02:00
Roman Perekhod
a5f6482f6f Added the LinkUpdated activity in the space context 2024-09-18 08:00:31 +02:00
Jannik Stehle
b29538b11b Merge pull request #10076 from owncloud/fix/web-ui-contrasts-control-elements
fix(theme): input border color contrasts
2024-09-18 06:49:25 +02:00
Juan Pablo Villafáñez
8a02b926a5 fix: missing return in the tracing middleware if we want to skip it 2024-09-17 17:57:44 +02:00
Martin Mattel
4417db4d45 [docs-only] Fix translatable text string in notifications 2024-09-17 17:36:55 +02:00
Martin
16a1f82042 Merge pull request #10080 from rhafer/graph-users-readme
[docs-only] graph(docs): More details for the README
2024-09-17 16:35:10 +02:00
Ralf Haferkamp
103400f8bf Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2024-09-17 16:29:31 +02:00
Ralf Haferkamp
f0bc37b250 graph(docs): More details for the README
Add some details about the users and groups endpoints provided by
the graph service.
2024-09-17 16:06:24 +02:00
jkoberg
ab6abbd1b4 fix(activitylog): fix typo in envvar
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-09-17 16:05:18 +02:00
Ralf Haferkamp
0bd4b90d7f fix: Make linter happy 2024-09-17 16:02:47 +02:00
Ralf Haferkamp
8e158d52bb graph(oidc): Consume UserSignedIn events in graph service
Pass them to the identity backend to update the last sign-in date of the user.
2024-09-17 16:02:47 +02:00
Ralf Haferkamp
cb8934081f proxy(oidc): Emit a UserSignedIn event on new session
Every time the OIDC middleware sees a new access token (i.e when it needs
to update the userinfo cache) we consider that as a new login. In this case
the middleware add a new flag to the context, which is then used by the
accountresolver middleware to publish a UserSignedIn event.
The event needs to be sent by the accountresolver middleware, because only
at that point we know the user id of the user that just logged in.

(It would probably makes sense to merge the auth and account middleware into a
single component to avoid passing flags around via context)
2024-09-17 16:02:47 +02:00