Commit Graph
405 Commits
Author SHA1 Message Date
Martin Mattel b81886a662 [master] [PR 11782] [docs-only][7.3] Replace envvar Balch text entries with 7.3.0
Backport of PR #11782
2025-11-04 09:39:35 +01:00
Lukas Hirt f0b2693cd3 feat(proxy): [OCISDEV-342] set referrer-policy to no-referrer
Change the Referrer-Policy from 'strict-origin-when-cross-origin'
to 'no-referrer' to enhance user privacy and security.

Previously, the origin was sent on cross-origin requests. This change
completely removes the Referrer header from all outgoing requests,
preventing any potential leakage of browsing information to third parties.
This is a more robust approach to protecting user privacy.
2025-10-27 09:38:36 +01:00
Roman Perekhod fb2e048864 feat: [OCISDEV-284] Respect changed user type in OIDC claim (#11684)
* feat: [OCISDEV-284] Respect changed user type in OIDC claim

* check the permission insted of the role
2025-10-02 15:37:48 +02:00
Julian Koberg f9c095b36e Revert "fix: [OCISDEV-237] fix proxy"
This reverts commit 7ec667d4b1.
2025-10-01 15:20:16 +02:00
Lukas Hirt c620c0c030 Merge pull request #11687 from owncloud/feat/drop-remote-php
[full-ci] feat: [OCISDEV-330] drop remote.php prefix
2025-09-25 09:36:49 +02:00
kobergj 2f1ab88b8b Merge pull request #11603 from owncloud/oidc_claims_checker
feat: add a way to check for specific OIDC claims
2025-09-24 13:43:53 +02:00
Lukas Hirt 1b83d986f9 feat: [OCISDEV-330] drop remote.php prefix
The `remote.php` prefix is now fully optional in WebDAV endpoints and is never returned in responses.
2025-09-24 11:25:27 +02:00
Lukas Hirt 9df76933da fix(proxy): [OCISDEV-330] add webdav without trailing slash
Added the `/webdav` endpoint without a trailing slash into the proxy default config.
This makes sure that requests to `/webdav` without a trailing slash are handled
by ocdav service instead of web service.
2025-09-22 11:54:54 +02:00
Lukas Hirt de179bba6a Merge pull request #11665 from owncloud/fix/capabilities-public-path 2025-09-22 10:54:10 +02:00
Roman PerekhodandMartin d307b3f945 feat: [OCISDEV-226] Allow wildcards in role assignments (#11663)
* feat: [OCISDEV-226] Allow wildcards in role assignments

* Update services/proxy/README.md

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

---------

Co-authored-by: Martin <github@diemattels.at>
2025-09-20 09:38:07 +02:00
Julian Koberg dda6104722 feat: document mfa package
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-18 16:23:14 +02:00
Julian Koberg 824a71dbe2 feat: clean up mfa middleware
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-17 15:56:04 +02:00
Lukas Hirt dcd3dc6a77 fix: [OCISDEV-330] add OCS v2 capabilities endpoint to public paths
Following the same behavior as OCS v1, we added the OCS v2 capabilities
endpoint to the public paths.
2025-09-17 14:54:16 +02:00
Julian Koberg eeeeba199b feat: move mfa checks to handlers
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-17 12:42:28 +02:00
Julian Koberg 5052c65526 feat: use middleware for mfa checks
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-17 12:42:28 +02:00
Juan Pablo Villafáñez b738f8256e docs: add missing doc information 2025-09-17 12:42:28 +02:00
Juan Pablo Villafáñez 7b053e808a fix: adjust unit tests 2025-09-17 12:42:28 +02:00
Juan Pablo Villafáñez c0e5c1678d feat: allow custom headers on authentication failures 2025-09-17 12:42:28 +02:00
Juan Pablo Villafáñez 789ac03817 fix: CI complains 2025-09-17 12:42:28 +02:00
Juan Pablo Villafáñez ed95f21269 feat: add a way to check for specific OIDC claims
For now, only some hardcoded paths will check the claims (if there is a
checker configured). If the check fails for those paths, the
authentication will fail and it will return a 401 error
2025-09-17 12:42:28 +02:00
Roman Perekhod 1800cc85b1 Merge pull request #11628 from 2403905/issues/OCISDEV-278
feat: [OCISDEV-278] X-XSS-Protection header removed
2025-09-16 16:39:34 +02:00
Michal Klos 70dd34eb84 fix: [ocisdev-266] code scan #27 2025-09-04 15:14:19 +02:00
Roman Perekhod 7ec667d4b1 fix: [OCISDEV-237] fix proxy 2025-09-04 11:38:06 +02:00
Roman Perekhod d9bf69014f feat: [OCISDEV-278] X-XSS-Protection header removed 2025-09-02 18:02:53 +02:00
Roman Perekhod 55fe5bd3ec feat: [OCISDEV-147] use the signing-key for a public link 2025-08-19 17:42:26 +02:00
Juan Pablo Villafañez a46cd29cc9 Merge pull request #11573 from owncloud/otelhttp_for_tracing
Otelhttp for tracing
2025-08-07 13:48:02 +02:00
861b20dc9d chore(deps): bump github.com/olekukonko/tablewriter from 0.0.5 to 1.0.9 (#11570)
* chore(deps): bump github.com/olekukonko/tablewriter from 0.0.5 to 1.0.9

Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 0.0.5 to 1.0.9.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.5...v1.0.9)

---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
  dependency-version: 1.0.9
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: adjust to tablewriter 1.0.9 (AI-powered)

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

* update to NewTable

* bring back a Footer

* fix the tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
2025-08-06 09:39:49 +02:00
Juan Pablo Villafáñez 8b8c7f02bf fix: replace hardcoded services names for variables 2025-08-05 10:00:24 +02:00
Michal Klos 112ed96f2b fix: hsts 2025-08-04 11:54:12 +02:00
Juan Pablo Villafáñez a30475660b fix: sonarcloud issues
Use pointer receivers and use methods instead of attributes for proto
fields
2025-08-04 10:04:07 +02:00
Juan Pablo Villafáñez 01a9713b52 feat: use otelhttp for tracing, fix tracing in proxy
otelchi and other custom solutions have been replaced with otelhttp to
trace HTTP requests; new middleware is provided to be used across the
platform.

The proxy service will use a custom HTTP client to forward the headers
needed for telemetry automatically (also based on otelhttp)
2025-07-31 11:06:33 +02:00
Juan Pablo Villafáñez 641fa42f8d chore: add otlp as supported tracing type
This is just for documentation purposes. There is no code change.
2025-07-14 15:29:16 +02:00
Roman Perekhod 4fc4822696 collect the errors from group runner 2025-06-13 16:14:41 +02:00
Martin Mattel 3236074f64 Replace new envvars introduction version %%NEXT%% with 7.2.0 2025-06-13 09:43:14 +02:00
Michal Klos 6e118bb6c5 fix: cookies, missing SameSite 2025-06-12 10:49:44 +02:00
Michal Klos ae73db933b fix: cookie, missing secure flag 2025-06-10 10:24:58 +02:00
Roman Perekhod d31ca63af1 set default timeouts and clean up 2025-05-28 12:21:50 +02:00
Roman Perekhod e1325ca40f to separate controll ower the http and grpc driven services 2025-05-28 12:21:50 +02:00
Juan Pablo Villafáñez 399a24e9b6 feat: use runners to startup the services 2025-05-28 12:21:49 +02:00
Martin Mattel 385150a8c6 adding a unified envvar description and update readme's 2025-05-21 09:49:28 +02:00
Julian Koberg 746adb66b0 feat(proxy): allow multiple space claims
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-05-06 15:23:31 +02:00
Martin 2d12ee374c Update services/proxy/pkg/config/config.go 2025-05-06 10:38:42 +02:00
Martin Mattel 52c19ec43d [docs-only] Update OCIS_CLAIM_xxx envvar texts 2025-05-06 10:18:17 +02:00
kobergjandMartin 808a375267 feat(proxy): Improve config docs
Co-authored-by: Martin <github@diemattels.at>
2025-05-02 13:17:37 +02:00
Julian Koberg 02072c37c4 feat(proxy): claim managed spaces
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-04-30 17:20:23 +02:00
Juan Pablo Villafáñez f4644a6225 chore: change constant name to camelcase 2025-04-01 14:49:08 +02:00
Juan Pablo Villafáñez 62f5228ca4 feat: use names for connections to the nats event bus 2025-04-01 14:49:07 +02:00
Roman Perekhod bb9d09b627 Allow the app-auth announce www-authenticate: basic header. 2025-03-12 09:18:38 +01:00
Julian Koberg b979844791 feat(ocis): adjust reva imports
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-05 11:14:44 +01:00
Julian Koberg 0c0c8c5ca3 fix(ocis): update mockery to 2.52.3
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-26 15:51:04 +01:00