Commit graph

87857 commits

Author SHA1 Message Date
Benjamin Gaussorgues
a8428f883d
Merge pull request #59002 from nextcloud/fix/remove-static-vars
Remove usage of static vars or properties
2026-06-02 11:28:20 +02:00
Kate
3bf88ae963
Merge pull request #60809 from nextcloud/fix/share/manager-api-allow-links-user-parameter
fix(Share): Add missing optional parameter to IManager::shareApiAllowLinks()
2026-06-02 11:27:23 +02:00
Carl Schwan
b7ee8e7545
Merge pull request #59813 from nextcloud/fix/noid/fix-owncloud-group-share-rename
fix(sharing): set STATUS_ACCEPTED when creating USERGROUP subshare on…
2026-06-02 11:14:13 +02:00
Julius Knorr
62dd632533
Merge pull request #59933 from nextcloud/feat/euro-office-switcher
feat(settings): replace OnlyOffice with Euro-Office in office suite s…
2026-06-02 10:07:25 +02:00
Côme Chilliet
6a69c43526
chore: composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:47:06 +02:00
Côme Chilliet
2357612b11
fix: Make sure getNumConcurrentPreviews never returns 0
Tests were stuck forever waiting for a semaphore because concurrency was
 returning 0. It was previously working by chance because cache of the
 value in a static var was leaking through tests.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:20 +02:00
Côme Chilliet
256c449d62
chore: Get cache lazily in OC\Memcache\Redis
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:20 +02:00
Côme Chilliet
9c92cc1617
chore: Suppress last known impure static properties
We will keep these legacy ones for now. We can search for the
 ImpureStaticProperty suppression and add special treatement for them in
 the frankenphp PR if needed.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:20 +02:00
Côme Chilliet
3659b13cd2
chore(files_versions): Be extra-cautious to please psalm
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:19 +02:00
Côme Chilliet
84ba78fe6d
fix(user_ldap): Move accesses to AccessFactory instead of static var
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:19 +02:00
Côme Chilliet
8acc505aef
chore: Silence psalm false-positives
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:19 +02:00
Côme Chilliet
68f417b354
chore(user_ldap): Move static var to static property and silence warning
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:19 +02:00
Côme Chilliet
54be8ca769
chore: Remove dead code detected by psalm
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:19 +02:00
Côme Chilliet
a62bff17f2
fix: Fix suppressing ImpureStaticProperty and suppress it in a few places
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:18 +02:00
Côme Chilliet
504a02b04e
fix: Remove static property use in SeekableHttpStream
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:18 +02:00
Côme Chilliet
1d21a93e56
fix: Turn static var into standard one in Tags class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:18 +02:00
Côme Chilliet
0887810eb9
fix: Use a CappedMemoryCache instead of an array to cache stuff in user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:18 +02:00
Côme Chilliet
18dddbc3b5
fix: Remove static var is Access class
It’s actually more correct to cache this per-instance.
What’s less clear is whether this can always fit in memory.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:18 +02:00
Côme Chilliet
b1f07e887e
fix: Remove static vars in preview Generator
There is only one instance so caching in a property is enough.
There were two levels of caching, removed one.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:17 +02:00
Côme Chilliet
2ef982d402
fix: Fix TemplateLayout tests
The behaviour of getAppNameFromPath is really different from what was
 mocked, so I’m not sure whether the class behaves as initially
 intended. I adapted the test to match the class behavior for now.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:17 +02:00
Côme Chilliet
2aeac5ed7c
fix: Add a factory for Memcached object instead of a static var
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:17 +02:00
Côme Chilliet
ac8cd6846d
chore: Remove static vars in TemplateLayout
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:17 +02:00
Côme Chilliet
b848be3513
chore: Move Util static property to top of the file
It’s not easy to remove this one but at least make it visible

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:17 +02:00
Côme Chilliet
9d7c277668
fix: Remove static vars in trashbin, versions and storages
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:16 +02:00
Côme Chilliet
8b5bc09cbe
feat: Add a psalm plugin to forbid static properties and variables
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:16 +02:00
Côme Chilliet
0d90f4272a
chore: Remove types from const properties
Support was added in PHP 8.3 and we need to support 8.2

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:16 +02:00
Côme Chilliet
b44f6a2957
fix: Remove static vars in TaskProcessing, TextProcessing, TextToImage
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:16 +02:00
Côme Chilliet
c3db7fa0e8
fix: Remove static var in Memcache/Redis
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-02 09:46:03 +02:00
Kate
0a193a3f7e
Merge pull request #60728 from nextcloud/fix/mail-plugin/pagination
fix(MailPlugin): Stop applying the offset twice and the limit per wide/exact
2026-06-02 07:42:13 +02:00
Nextcloud bot
1bcfdf6d12
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-02 00:27:29 +00:00
Andy Scherzinger
17622d0944
Merge pull request #60908 from nextcloud/dependabot/npm_and_yarn/glob-10.5.0
chore(deps): Bump glob from 10.4.5 to 10.5.0
2026-06-02 00:24:37 +02:00
Andy Scherzinger
1a43e657ce
Merge pull request #60896 from nextcloud/chore/deps/flake-nixos-26.05
chore(deps): Update flake to NixOS 26.05
2026-06-01 21:23:06 +02:00
dependabot[bot]
990cf68d7f
chore(deps): Bump glob from 10.4.5 to 10.5.0
Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.5 to 10.5.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.4.5...v10.5.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-01 19:18:31 +00:00
Andy Scherzinger
1726e1fa5e
Merge pull request #60855 from nextcloud/dependabot/npm_and_yarn/build/frontend-legacy/sass-1.100.0
chore(deps-dev): Bump sass from 1.99.0 to 1.100.0 in /build/frontend-legacy
2026-06-01 21:16:10 +02:00
Andy Scherzinger
83950fe4b8
Merge pull request #60847 from nextcloud/dependabot/npm_and_yarn/build/frontend-legacy/axios-1.16.1
chore(deps): Bump axios from 1.15.0 to 1.16.1 in /build/frontend-legacy
2026-06-01 21:13:31 +02:00
nextcloud-command
ac918059dd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-06-01 19:21:05 +02:00
dependabot[bot]
e77181ea9a chore(deps): Bump axios from 1.15.0 to 1.16.1 in /build/frontend-legacy
Bumps [axios](https://github.com/axios/axios) from 1.15.0 to 1.16.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.15.0...v1.16.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.16.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-01 19:21:05 +02:00
Andy Scherzinger
af39b4b46b
Merge pull request #60852 from nextcloud/dependabot/npm_and_yarn/cypress-if-1.16.1
chore(deps-dev): Bump cypress-if from 1.13.2 to 1.16.1
2026-06-01 19:15:59 +02:00
Andy Scherzinger
b09e9d56a6
Merge pull request #60851 from nextcloud/dependabot/npm_and_yarn/stylelint-17.12.0
chore(deps-dev): Bump stylelint from 17.11.1 to 17.12.0
2026-06-01 19:14:50 +02:00
dependabot[bot]
f446e81f6b
chore(deps-dev): Bump stylelint from 17.11.1 to 17.12.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 17.11.1 to 17.12.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/17.11.1...17.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-01 16:34:17 +00:00
Andy Scherzinger
7930199bca
Merge pull request #60770 from nextcloud/dependabot/npm_and_yarn/build/frontend-legacy/tmp-0.2.6
chore(deps-dev): Bump tmp from 0.2.5 to 0.2.6 in /build/frontend-legacy
2026-06-01 18:09:19 +02:00
Kate
5cddbdb11d
Merge pull request #60817 from nextcloud/update-storaged-login-credentials
fix: actually register listener for updating stored external storage credentials
2026-06-01 18:08:37 +02:00
Andy Scherzinger
06d064cdeb
Merge pull request #60848 from nextcloud/dependabot/composer/vendor-bin/rector/rector/rector-2.4.5
chore(deps-dev): Bump rector/rector from 2.4.4 to 2.4.5 in /vendor-bin/rector
2026-06-01 18:08:29 +02:00
github-actions[bot]
9cf1614a5f
Merge pull request #60850 from nextcloud/dependabot/npm_and_yarn/vitest-df360c5056
chore(deps-dev): Bump the vitest group across 2 directories with 2 updates
2026-06-01 18:07:43 +02:00
Ferdinand Thiessen
f8f5e9e7f9
Merge pull request #59610 from nextcloud/feat/versions-wfe
feat(files_versions): allow to block version creation using WFE
2026-06-01 18:05:23 +02:00
Andy Scherzinger
21dbac587f
Merge pull request #60853 from nextcloud/dependabot/npm_and_yarn/sass-1.100.0
chore(deps-dev): Bump sass from 1.99.0 to 1.100.0
2026-06-01 18:03:57 +02:00
provokateurin
80ec3b1b0a
fix(MailPlugin): Stop applying the offset twice and the limit per wide/exact
Signed-off-by: provokateurin <kate@provokateurin.de>
2026-06-01 14:24:01 +02:00
provokateurin
5c21fb5062
perf(MailPlugin): Optimize checking group memberships
Signed-off-by: provokateurin <kate@provokateurin.de>
2026-06-01 14:22:45 +02:00
provokateurin
1c7e381858
refactor(MailPlugin): Continue execution after extracting email instead of calling itself
Signed-off-by: provokateurin <kate@provokateurin.de>
2026-06-01 14:22:45 +02:00
provokateurin
d92aac8f7d
fix(MailPlugin): Use correct type for exact id match
Signed-off-by: provokateurin <kate@provokateurin.de>
2026-06-01 14:22:45 +02:00