Commit Graph

1722 Commits

Author SHA1 Message Date
Ralf Haferkamp dfeff633fa proxy: also set the "Www-Authenticate" header for graph request
There doesn't seem to be a good reason to treat the graph service differently here.
2023-10-16 10:31:39 +02:00
Ralf Haferkamp 951e1e5a09 proxy: Avoid duplicated Www-Authenticate headers
For endpoints in the "ProxyWwwAuthenticate" list we accidently set the Www-Authenticate
header twice.
2023-10-16 10:31:39 +02:00
Ralf Haferkamp 07a718dc8e proxy: User ReverseProxy.Rewrite instead of Director
With Go 1.20 the "Rewrite" hook for ReverseProxy was introduced to
supersede of the "Director" hook (see:
https://github.com/golang/go/commit/a55793835f16d0242be18aff4ec0bd13494175bd)

The Rewrite hooks allows for better separation between the incoming and
outgoing request. In particular it makes it pretty easy to set the
correct X-Forwarded-* Headers on the outgoing request.
The need for using "Rewrite" came up when trying to embed
authelia. It uses the X-Forwarded-Host and X-Forwared-Proto headers to
e.g. compute the correct return values for the various endpoints in
.well-known/openid-configuration.
2023-10-16 10:31:39 +02:00
ownClouders 759ea4ca03 [tx] updated from transifex 2023-10-16 01:14:58 +00:00
Ben Fu 7eba7e0620 Add deprecation params 2023-10-13 09:34:32 -05:00
Ben Fu f7aa2391b5 Fix env name for root tls cert for sharing service 2023-10-13 09:34:32 -05:00
Jannik Stehle 7d4e99240d Merge pull request #7486 from owncloud/add-disabled-extensions-config
feat: add config for disabling web extensions
2023-10-13 13:38:37 +02:00
Jannik Stehle c6533dc2e4 feat: add config for disabling web extensions 2023-10-13 12:53:34 +02:00
Martin 55c9a95eea Update services/frontend/README.md 2023-10-13 12:21:27 +02:00
Martin ed28a04912 Update frontend service README.md
The readme of the forntend service was not in line with the changes made in the code.
2023-10-13 12:17:12 +02:00
mmattel bef11c32f4 small addon fix 2023-10-13 09:51:29 +02:00
Martin accbb31b5c [docs-only] Update README.md of the settings service
Just some smaller doc fixes.
2023-10-13 09:40:56 +02:00
kobergj 5b7535c2cc Merge pull request #7460 from kobergj/SetMountpointOnAutoAccept
[full-ci] Set mountpoints when auto accepting shares
2023-10-13 09:24:56 +02:00
ownClouders 0c792328f2 [tx] updated from transifex 2023-10-13 00:21:41 +00:00
Ralf Haferkamp e316d8ea3a Fix reva config of frontend service
Set an empty Credentials chain. In ocis all non-reva token authentication is
handled by the proxy. This avoid irritating error messages about the missing
'auth-bearer' service.

Fixes: #6692
2023-10-12 09:11:47 +02:00
Christian Richter e56b23541a remove obsolete cli flags
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-10-11 16:31:10 +02:00
jkoberg 7477ed3cda add auth-service to port-ranges
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-10-11 15:14:17 +02:00
jkoberg 88d6edd588 set mountpoint on auto accept
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-10-11 14:20:48 +02:00
Ralf Haferkamp 7dde3a1175 storage-users: pass context to event handling service
This allows to properly shutdown the event handling loop by
cancelling the context.
2023-10-10 12:25:30 +02:00
Ralf Haferkamp 2a53dd89f4 debugServer: Set a base context for the http server
to allow propagating context cancellation
2023-10-10 12:25:30 +02:00
Ralf Haferkamp 54664024c8 storage-users: Properly shutdown debugServer
Trigger a proper debug server shutown in interrupt handler of run.Group.
2023-10-10 12:25:30 +02:00
dependabot[bot] 5f9c91582e Bump postcss from 8.4.29 to 8.4.31 in /services/idp
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.29 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.29...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 11:55:58 +02:00
jkoberg 25e7b1aaaa adjust sse notification layout
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-10-10 10:22:23 +02:00
Roman Perekhod 7f6c832356 the default language added to the setting service (#7417)
* the default language added to the setting service

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

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
2023-10-09 15:31:17 +02:00
ownClouders fc91eea4a2 [tx] updated from transifex 2023-10-08 00:19:40 +00:00
case0sh 06d7702577 revert all changes to ocdav 2023-10-06 11:23:05 +02:00
case0sh 9b291c0739 revert all changes to frontend 2023-10-06 10:53:39 +02:00
case0sh 330e30c38e revert all changes to idp 2023-10-06 10:43:02 +02:00
case0sh ace3664f6a fix formatting 2023-10-06 10:29:08 +02:00
case0sh fac4524dd2 revert all changes to auth-machine 2023-10-06 10:29:08 +02:00
case0sh 24e784ac48 delete web_ui_config_file option 2023-10-06 10:29:08 +02:00
case0sh 8adea0f38e edit wrong named enves 2023-10-06 10:29:08 +02:00
jkoberg f189b11ba9 default async uploads
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-10-05 15:33:42 +02:00
Ralf Haferkamp f6b792a517 notifications: pick SMTP auth method automatically by default
This introduces the new value `auto` for NOTIFICATIONS_SMTP_AUTHENTICATION.
Which will make the notifications service automatically pick an authentication
mechanism that the server supports. This is also the new default behavior.

This also removes most of the other default settings for the SMTP
configuration. The default values were of no real use for this service.

Closes: #7356
2023-10-05 12:37:27 +02:00
Ralf Haferkamp 246ec1ecc9 notifications: Deprecate redundant encryptions settings
'tls' and 'ssl' are duplicates of 'starttls' and 'ssltls' and have been deprecated
in the upstream modules we use for sending mail notifications. Let's deprecate them
as well and issue a warning when they are still used.

Fixes: #7345
2023-10-05 12:37:27 +02:00
dependabot[bot] 81e8d830c7 Bump postcss from 8.4.29 to 8.4.31 in /services/idp
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.29 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.29...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 11:34:13 +02:00
kobergj 19b6c311ed Merge pull request #7410 from kobergj/DeleteUserlogEvents
[full-ci] Delete userlog events
2023-10-05 09:20:25 +02:00
ownClouders ba73588e75 [tx] updated from transifex 2023-10-05 05:58:33 +00:00
jkoberg c47a48a50b delete outdated userlog events
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-10-04 16:37:44 +02:00
Jannik Stehle c1f1b15aec chore: bump web to v8.0.0-alpha.3 2023-10-04 09:52:33 +02:00
ownClouders 582e7474e8 [tx] updated from transifex 2023-10-04 00:54:10 +00:00
ownClouders eb1aa4502e [tx] updated from transifex 2023-10-02 04:33:40 +00:00
ownClouders d098349d20 [tx] updated from transifex 2023-10-01 00:40:41 +00:00
jkoberg 9a981ffe24 make sse service scalable
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-28 14:08:03 +02:00
ownClouders 836106d802 [tx] updated from transifex 2023-09-28 04:05:37 +00:00
Michael Barz b6832257d1 Merge pull request #7311 from owncloud/add-error-body
[docs-only] Add denied error body to docs
2023-09-27 18:55:25 +02:00
Ralf Haferkamp 4465c9385d graph/education: Fix issues reported by sonarcloud 2023-09-27 15:39:00 +02:00
Ralf Haferkamp a34d467285 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)
2023-09-27 15:39:00 +02:00
Ralf Haferkamp 4f59de9c52 graph/education: Check school number for duplicates before adding a school 2023-09-27 15:39:00 +02:00
Ralf Haferkamp e2849bf19d graph/education: Add getSchoolByNumber helper
Sometimes we explicit need to lookup by number and not numberOrID
2023-09-27 15:39:00 +02:00