Commit graph

79037 commits

Author SHA1 Message Date
Andy Scherzinger
3604f0b0e6
Merge pull request #50481 from nextcloud/backport/45364/stable31
[stable31] fix(user_ldap): Do not map groups we do not know if they match filter
2025-01-27 18:13:22 +01:00
Andy Scherzinger
9b6258ac68
Merge pull request #50477 from nextcloud/backport/50464/stable31
[stable31] Hide "Create templates folder" option if templates are disabled
2025-01-27 18:11:55 +01:00
Andy Scherzinger
e916fff40f
Merge pull request #50474 from nextcloud/backport/48581/stable31
[stable31] fix: Filter for folders in cleanup old preview job
2025-01-27 18:10:36 +01:00
nextcloud-command
1b5abc40ff chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-27 16:31:51 +00:00
Côme Chilliet
128b2e1cec fix(user_ldap): Do not map groups we do not know if they match filter
When nesting is enabled, filterValidGroups is supposed to check for each
 groups if it actually exist, because it may not be visible to
 Nextcloud. So in this codepath we disable automapping of groups.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-27 16:31:14 +00:00
Pawel Boguslawski
64e261dad7 fix: Hide "Create templates folder" option if templates are disabled in configuration
When both `skeletondirectory` and `templatedirectory` are set to empty
strings in configuration, templates folder creation should be disabled
and no Create templates folder option should be present
in new folder menu.

Related: https://github.com/nextcloud/server/issues/39266
Related: https://github.com/nextcloud/server/issues/46455
Author-Change-Id: IB#1156403

Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-01-27 16:19:00 +00:00
Dario Mehlich
72a43a17f5 fix(preview): Filter for folders in cleanup old preview job
Fixes #35936.
When running `OC\Preview\BackgroundCleanupJob`, the main iteration loop
in `run()` expects a folder, however, `getOldPreviewLocations()`
currently does not filter by mimetype and therefore can yield a
non-folder entry which causes an Exception when constructing the Folder
impl.
Filtering for `httpd/unix-directory`, as `getNewPreviewLocations()`
already does, fixes this issue.

Signed-off-by: Dario Mehlich <d.mehlich@gmail.com>
2025-01-27 15:11:26 +00:00
Andy Scherzinger
62a74d8264
Merge pull request #50458 from nextcloud/backport/50298/stable31
[stable31] fix: detect deleted items as updated for smb storage
2025-01-27 12:23:26 +01:00
Joas Schilling
1c89327141
Merge pull request #50453 from nextcloud/chore/update-symfony
[stable31] chore(deps): Bump the symfony dependency group
2025-01-27 12:19:19 +01:00
Joas Schilling
39cb18de4f
Merge pull request #50461 from nextcloud/backport/50455/stable31
[stable31] fix(log): Fix log level handling
2025-01-27 12:18:51 +01:00
Ferdinand Thiessen
edf3032183
chore(deps): Bump the symfony dependency group
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 11:33:02 +01:00
Joas Schilling
e78cec5d7b fix(log): Fix log level handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-27 10:23:28 +00:00
Robin Appelman
5c0d4a4bea fix: detect deleted items as updated for smb storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-27 09:22:03 +00:00
Andy Scherzinger
46c4013b51
Merge pull request #50337 from nextcloud/dependabot/npm_and_yarn/stable31/wait-on-8.0.2
chore(deps-dev): bump wait-on from 8.0.1 to 8.0.2
2025-01-27 09:58:03 +01:00
Nextcloud bot
d06a26d58b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-27 00:21:51 +00:00
Andy Scherzinger
fa6dac457b
Merge pull request #50450 from nextcloud/backport/48672/stable31
[stable31] fix(settings): Add some context to the PHP memory limit error
2025-01-26 23:17:04 +01:00
Andy Scherzinger
1c28ae4aeb
Merge pull request #50451 from nextcloud/backport/50425/stable31
[stable31] Fix outdated OpenAPI specs
2025-01-26 22:34:30 +01:00
provokateurin
8e0b72184a fix(settings): Add back adminstration scope for LogSettingsController
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-26 21:10:29 +00:00
provokateurin
f741fd16ca chore(federation): Remove outdated OpenAPI spec
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-26 21:10:29 +00:00
Josh
5a8242feea fix(settings): Add some context to the PHP memory limit error
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 20:48:16 +00:00
Andy Scherzinger
4701b61e5d
Merge pull request #50449 from nextcloud/backport/50447/stable31
[stable31] fix: Ensure `label` is always a string
2025-01-26 21:34:13 +01:00
Ferdinand Thiessen
57949b2e22 fix: Ensure label is always a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 20:00:33 +00:00
dependabot[bot]
065974cffa
chore(deps-dev): bump wait-on from 8.0.1 to 8.0.2
Bumps [wait-on](https://github.com/jeffbski/wait-on) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/jeffbski/wait-on/releases)
- [Commits](https://github.com/jeffbski/wait-on/compare/v8.0.1...v8.0.2)

---
updated-dependencies:
- dependency-name: wait-on
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-26 18:07:19 +00:00
Andy Scherzinger
f5d3aea2b8
Merge pull request #50344 from nextcloud/dependabot/npm_and_yarn/stable31/pinia-2.3.1
chore(deps): bump pinia from 2.3.0 to 2.3.1
2025-01-26 18:52:01 +01:00
nextcloud-command
b6ab6a12c0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-26 18:09:33 +01:00
dependabot[bot]
03ee0d83df chore(deps): bump pinia from 2.3.0 to 2.3.1
Bumps [pinia](https://github.com/vuejs/pinia) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: pinia
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-26 18:09:33 +01:00
Andy Scherzinger
fcb73d7217
Merge pull request #50438 from nextcloud/backport/49440/stable31
[stable31] fix(SetupChecks): Pass webfinger if the handler returns 400 too
2025-01-26 17:46:03 +01:00
Andy Scherzinger
1124eaac83
Merge pull request #50442 from nextcloud/backport/50430/stable31
[stable31] files: harden thumbnail endpoint
2025-01-26 16:58:53 +01:00
Ferdinand Thiessen
76ac30f576 fix(files): Harden thumbnail endpoint
- Catch all thrown exceptions and handle in such a way you do not get
  information about forbidden files.
- Resepect download permissions of shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 15:20:35 +00:00
Josh
92c603b082 fix(SetupChecks): Pass webfinger if a handler is there
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 14:37:05 +00:00
Andy Scherzinger
e5d4bddc91
Merge pull request #50433 from nextcloud/automated/noid/stable31-fix-npm-audit
[stable31] Fix npm audit
2025-01-26 12:10:02 +01:00
nextcloud-command
a64814dfc3 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2025-01-26 02:46:20 +00:00
Nextcloud bot
b380f25af4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-26 00:22:40 +00:00
Andy Scherzinger
8a78feb7f2
Merge pull request #50347 from nextcloud/dependabot/npm_and_yarn/stable31/sass-loader-16.0.4
chore(deps-dev): bump sass-loader from 16.0.2 to 16.0.4
2025-01-25 20:29:32 +01:00
nextcloud-command
f8de5a73a7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 18:44:50 +00:00
dependabot[bot]
3e6b5f46f3
chore(deps-dev): bump sass-loader from 16.0.2 to 16.0.4
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 16.0.2 to 16.0.4.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v16.0.2...v16.0.4)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-25 18:40:33 +00:00
Andy Scherzinger
7cd21b7d91
Merge pull request #50339 from nextcloud/dependabot/npm_and_yarn/stable31/jsdoc-4.0.4
chore(deps-dev): bump jsdoc from 4.0.3 to 4.0.4
2025-01-25 19:38:39 +01:00
dependabot[bot]
2a9102d7d0
chore(deps-dev): bump jsdoc from 4.0.3 to 4.0.4
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/4.0.4/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/4.0.3...4.0.4)

---
updated-dependencies:
- dependency-name: jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-25 18:12:18 +00:00
Andy Scherzinger
cac5830746
Merge pull request #50427 from nextcloud/backport/50426/stable31
[stable31] fix(occ): hide sensitive data while config:app:set
2025-01-25 19:03:32 +01:00
Andy Scherzinger
e6089ee599
Merge pull request #50428 from nextcloud/backport/50320/stable31
[stable31] fix(theming): remove node-vibrant dependency and usage (was moved to backend)
2025-01-25 18:44:32 +01:00
nextcloud-command
56a57e9b77 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 17:18:10 +00:00
Ferdinand Thiessen
f7318c17a6 fix(theming): remove node-vibrant dependency and usage (was moved to backend)
The color extraction is handled by the backend nowadays, this was not
used by the backend anymore.
Reduce depdencies + compiled size + security warning on that dependency.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-25 17:11:34 +00:00
Misha M.-Kupriyanov
744d57d5d8 fix(occ): hide sensitive data while config:app:set
in order to hide sensitive data from logs

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-01-25 16:52:54 +00:00
Andy Scherzinger
abab62b12f
Merge pull request #50419 from nextcloud/backport/50331/stable31
[stable31] fix(taskprocessing): More caching
2025-01-25 14:42:29 +01:00
Marcel Klehr
35052624b9 fix(TaskProcessing): Cache providersById in getPreferredProviders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr
6e59f9a693 fix: copypasta
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr
215f6c6418 fix(taskprocessing): cache provider settings in distributed cache as well
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr
c88c2216ae fix(taskprocessing): Fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr
8c81f9e0fa fix(TaskProcessing\Manager): Cache the result of parsing JSON
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00
Marcel Klehr
e2bef275ec fix(taskprocessing): Cache result of getAvailableTaskTypes between requests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-25 13:08:19 +01:00