Commit Graph

1693 Commits

Author SHA1 Message Date
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
Ralf Haferkamp
ce808eaa17 graph/education: Remove unreachable code
An LDAP Modify operation never returns LDAPResultEntryAlreadyExists errors.
That error can only happen for LDAPAdd or LDAPModifyDN.
2023-09-27 15:39:00 +02:00
Ralf Haferkamp
16debe6fa5 graph/education: Use helper for creating attribute list 2023-09-27 15:39:00 +02:00
Ralf Haferkamp
164edd16c0 graph/education: Don't leak LDAP errors into the graph error message 2023-09-27 15:39:00 +02:00
jkoberg
2cd6ee361e dont reload web config on request
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-27 11:44:52 +02:00
Jörn Friedrich Dreyer
c083f598b7 fix group id claim (#7352)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-09-26 15:13:15 +02:00
ownClouders
a1b7dc34cd [tx] updated from transifex 2023-09-26 00:05:55 +00:00
dependabot[bot]
fda2b0e626 Bump jest and @types/jest in /services/idp
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together.

Updates `jest` from 29.6.4 to 29.7.0
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest)

Updates `@types/jest` from 29.5.4 to 29.5.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@types/jest"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 17:14:08 +02:00
dependabot[bot]
50d8cf4c9b Bump webpack from 4.46.0 to 4.47.0 in /services/idp
Bumps [webpack](https://github.com/webpack/webpack) from 4.46.0 to 4.47.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.46.0...v4.47.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 11:52:07 +02:00
dependabot[bot]
8b0217147a Bump @testing-library/user-event from 14.4.3 to 14.5.1 in /services/idp
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.4.3 to 14.5.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.4.3...v14.5.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 10:28:02 +02:00
ownClouders
9e274e07a0 [tx] updated from transifex 2023-09-25 04:25:12 +00:00
kobergj
0535c62b63 Merge pull request #7325 from kobergj/SEEImprovements
Improve SSE Notifications
2023-09-22 12:45:11 +02:00
kobergj
8bf3f2f84e Merge pull request #7309 from kobergj/ChaseThePipelineGhost
[full-ci] Chase the pipline ghost
2023-09-22 11:03:05 +02:00
jkoberg
586bae4455 make picky variable namers happy
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-22 10:49:03 +02:00
Jörn Friedrich Dreyer
1a874ca89a store: decrease log level (#7329)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-09-22 09:33:28 +02:00
ownClouders
c5ff99ec38 [tx] updated from transifex 2023-09-22 05:04:46 +00:00
Michael Barz
8931ee1187 Merge pull request #7330 from owncloud/idp-fix-panic
prevent panic when session is nil
2023-09-21 21:03:31 +02:00
Jörn Friedrich Dreyer
ea5a60cf56 prevent panic when session is nil
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-09-21 17:19:51 +02:00
Jörn Friedrich Dreyer
3efe843742 prevent panic when user is nil
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-09-21 17:19:18 +02:00
Ralf Haferkamp
8f262c1dff users: fixup LDAP_BIND_PASSWORD
LDAP_BIND_PASSWORD was accidently removed in previous commit

Partial: #7176
2023-09-21 15:58:27 +02:00
jkoberg
1f1aa50c54 hard exit when services fail
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-21 13:53:18 +02:00
Roman Perekhod
2e7b423dcc Added an option to enable a password check against a Banned-Password List (#7315)
* Added an option to enable a password check against a Banned-Password-List

* Update services/frontend/README.md

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

Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de>

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de>
2023-09-21 12:31:48 +02:00
jkoberg
b59fec9e4e improve sse sending in clientlog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-21 11:59:29 +02:00
jkoberg
6e8f168157 improve sse for userlog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-21 10:17:06 +02:00
Ralf Haferkamp
7b9200ff5d 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
2023-09-20 19:00:11 +02:00
Ralf Haferkamp
8f284e7c2b 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
2023-09-20 19:00:11 +02:00
dependabot[bot]
cb837af8be Bump @testing-library/jest-dom from 6.1.2 to 6.1.3 in /services/idp
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.1.2 to 6.1.3.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.2...v6.1.3)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 12:11:37 +02:00
Jan
e1148c6493 Add web config var LoginURL (#7317)
* Add web config var LoginURL

* Add changelog item
2023-09-20 10:45:11 +02:00
Michael Barz
b09a90b927 Update services/policies/README.md
Co-authored-by: Martin <github@diemattels.at>
2023-09-20 10:16:13 +02:00
Michael Barz
4ba3a82973 Add denied error body to docs 2023-09-19 15:55:02 +02:00