Commit graph

81714 commits

Author SHA1 Message Date
Ferdinand Thiessen
dee8100c37
Merge pull request #53903 from nextcloud/chore/update-openstack
build(deps): Bump php-opencloud/openstack from 3.12.0 to 3.14.0
2025-07-11 00:39:09 +02:00
Ferdinand Thiessen
014ab4d122
build(deps): Bump php-opencloud/openstack from 3.12.0 to 3.14.0
| Production Changes        | From    | To      | Compare                                                                     |
|---------------------------|---------|---------|-----------------------------------------------------------------------------|
| justinrainbow/json-schema | 5.3.0   | 6.4.2   | [...](https://github.com/jsonrainbow/json-schema/compare/5.3.0...6.4.2)     |
| php-opencloud/openstack   | v3.12.0 | v3.14.0 | [...](https://github.com/php-opencloud/openstack/compare/v3.12.0...v3.14.0) |
| symfony/polyfill-php80    | v1.31.0 | v1.32.0 | [...](https://github.com/symfony/polyfill-php80/compare/v1.31.0...v1.32.0)  |
| marc-mabe/php-enum        | NEW     | v4.7.1  |                                                                             |

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-10 22:41:47 +02:00
Joas Schilling
7ac4eb2a4a
Merge pull request #53896 from nextcloud/feat/talk-9679/threads
feat(comments): Allow to filter by topmost parent id
2025-07-10 21:22:10 +02:00
Kate
43a8fc65f2
Merge pull request #53899 from nextcloud/dependabot/composer/icewind/streams-0.7.8
build(deps): Bump icewind/streams from 0.7.7 to 0.7.8
2025-07-10 20:57:27 +02:00
Daniel Calviño Sánchez
d4e9a8ac33
Merge pull request #53501 from nextcloud/fix-theming-for-disabled-accounts
fix: Fix theming for disabled accounts
2025-07-10 20:47:48 +02:00
Joas Schilling
f9f9e80855
build(deps): Bump icewind/streams from 0.7.7 to 0.7.8
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-07-10 19:01:51 +02:00
Daniel Calviño Sánchez
01766b18f8 fix: Fix theming for disabled accounts
The Theming app injects the stylesheets for the different themes in the
"<header>" element of the page, and those stylesheets are then loaded by
the browser from a "Controller" (a plain "Controller", not an
"OCSController"). The stylesheets, in turn, may also get some images
(like the background) also from the "Controller".

When handling a request to "index.php" it is checked whether the user is
logged in and, if not, a login is tried. A disabled user is explicitly
seen as not logged in, so a login is always tried in that case, but
disabled users are also explicitly prevented to log in, so the login
also fails. Due to that trying to get any of the themed stylesheets or
images with a disabled account (to be able to show the "Account
disabled" error page) fails with an HTTP status 401.

To solve that, and to avoid touching this basic logic as much as
possible, the login exception is now ignored (if the user is disabled)
for some specific requests to the Theming app.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-10 15:19:01 +02:00
Daniel Calviño Sánchez
4fcadd630b fix: Throw specific LoginException when the user is disabled
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-10 15:09:25 +02:00
Kate
034246a1a9
Merge pull request #53893 from nextcloud/fix/cleanup-loadapp-calls 2025-07-10 15:06:05 +02:00
Côme Chilliet
c0b31d1e2d
Merge pull request #53892 from nextcloud/fix/cleanup-getinstallpath
fix: Move getInstallPath to Installer class
2025-07-10 13:10:19 +02:00
Joas Schilling
6600c1ad86
feat(comments): Allow to filter by topmost parent id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-07-10 12:58:46 +02:00
Côme Chilliet
da20bbb44d
chore: update psalm baseline
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-10 11:40:27 +02:00
Côme Chilliet
956924bdc9
chore: Remove calls to OC_App in bootstrap.php files for tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-10 11:40:27 +02:00
Côme Chilliet
7127ac4b43
fix: Replace OC_App::loadApp calls by IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-10 11:40:27 +02:00
Côme Chilliet
edf096a09f
chore: Check if apps directory is really writable in Installer
...rather than checkServer.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-10 11:31:59 +02:00
Côme Chilliet
12c0cfc977
fix: Move getInstallPath to Installer class
This method does not need a public API for now, it’s only used
 internally.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-10 09:39:58 +02:00
Joas Schilling
345a0a0735
Merge pull request #53876 from nextcloud/dependabot/composer/pear/pear-core-minimal-1.10.16
build(deps): Bump pear/pear-core-minimal from 1.10.15 to 1.10.16
2025-07-10 09:27:18 +02:00
John Molakvoæ
06183fc75a
Merge pull request #53863 from nextcloud/bug/noid/take-groups-and-circles-into-account-for-unshares 2025-07-10 09:24:29 +02:00
Nextcloud bot
ba57f554a4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-10 00:12:07 +00:00
John Molakvoæ
53028d845a
Merge pull request #53875 from nextcloud/fix/tags-search-case 2025-07-09 20:15:03 +02:00
skjnldsv
cf543bf8b4 fix(files): thead flex height
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-09 19:30:31 +02:00
skjnldsv
51a2125020 fix(systemtags): case-insensitive search & prevent duplicates
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-09 19:28:20 +02:00
John Molakvoæ
6cc5484f0e
Merge pull request #53885 from nextcloud/remove-redundant-setting 2025-07-09 19:27:52 +02:00
nextcloud-command
7f38fdf220 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-09 14:21:33 +00:00
Joas Schilling
731228c86f
build(deps): Bump pear/pear-core-minimal from 1.10.15 to 1.10.16
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-07-09 16:19:47 +02:00
kramo
2f6bf3578a fix(files): Remove redundant setting
This setting is already present in the main view,
where it is much more visible, it is also the only one that is documented.
Having it in both places is redundant and unnecessary clutter.

Signed-off-by: kramo <git@kramo.page>
2025-07-09 14:18:26 +00:00
Joas Schilling
f077bb55f7
Merge pull request #53866 from nextcloud/chore/update-guzzle7
build(deps): Bump php-http/guzzle7-adapter from 1.0.0 to 1.1.0
2025-07-09 16:18:05 +02:00
Daniel Kesselberg
0f4b5e6656
Revert "fix(dav): only consider user's principal for unsharing entries"
This reverts commit 023b98c44b.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-09 16:06:12 +02:00
John Molakvoæ
c7b83ef2e7
Merge pull request #53872 from nextcloud/fix/headers-lifecycle 2025-07-09 15:31:09 +02:00
Ferdinand Thiessen
5b96cca038 chore(Http\Client): fix linting issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-09 14:42:58 +02:00
Ferdinand Thiessen
07825883b0 build(deps): Bump php-http/guzzle7-adapter from 1.0.0 to 1.1.0
- Add support for PHP 8.4, drop support for PHP version 7.2

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-09 14:42:58 +02:00
Kate
3da74810b5
Merge pull request #53537 from nextcloud/fix/cleanup-dependencyanalyser 2025-07-09 13:16:55 +02:00
Joas Schilling
bdc76b804c
Merge pull request #53072 from nextcloud/techdebt/standard-15/consumable-ocp
feat(OCP): Consumable vs. Implementable public API
2025-07-09 11:11:03 +02:00
Joas Schilling
d717dd9850
feat(OCP): Consumable vs. Implementable public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-07-09 10:24:10 +02:00
Côme Chilliet
adb6f00051
chore: update psalm baseline
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-09 10:15:00 +02:00
Nextcloud bot
bbc7041c07
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-09 00:12:29 +00:00
nextcloud-command
4a6bf6c28a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-08 21:23:25 +00:00
skjnldsv
2fdd132325 fix(files): ensure proper headers lifecycle
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-08 23:06:39 +02:00
Lukas Schaefer
8fc9a5d322
Merge pull request #53763 from nextcloud/feat/task/analyze-image
feat(TaskProcessing): Add AnalyzeImage TaskType
2025-07-08 11:10:45 -04:00
Côme Chilliet
1f5e232314
chore: Move info parsing related method from OC_App to InfoParser
Also fix the tests

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 15:57:05 +02:00
Côme Chilliet
fb4e580109
chore: Cleanup DependencyAnalyzer and InfoParser
Also fix support for database dependency with attributes in the info.xml

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 15:51:59 +02:00
Côme Chilliet
b1e58ba1b7
Merge pull request #53523 from nextcloud/fix/cleanup-dicontainer
chore: Cleanup DIContainer class
2025-07-08 15:48:47 +02:00
Lukas Schaefer
4731ecf4d4
Merge branch 'master' into feat/task/analyze-image 2025-07-08 08:35:04 -04:00
Côme Chilliet
2346a528ba
fix: Tidy up middleware registration code and scope them to application container
This make sure that all middlewares get a logger scoped to the
 application id, among other things.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:32:16 +02:00
Côme Chilliet
90a2c77abf
fix: Use Server::get in files_sharing DeletedShareAPIController
In this case we do not want the application DI container because we are
 requesting classes from other applications, so it’s better to ask the
 server container. We use \OCP\Server::get for this.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:32:15 +02:00
Côme Chilliet
7bdfd94246
chore: update psalm baseline
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:32:15 +02:00
Côme Chilliet
580328507f
fix: Do not use deprecated IServerContainer in EventDispatcher
This caused a call to logger too soon in init phase

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:32:15 +02:00
Côme Chilliet
3dd4ba854f
fix: Add back ContainerInterface service to DIContainer
Otherwise it gets resolved to \OC::$server.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:32:15 +02:00
Côme Chilliet
2240acec7f
fix: Put back ScopedPsrLogger service
Cannot use an alias for this one, as it depends upon LoggerInterface so
 that creates an infinite loop.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:32:15 +02:00
Côme Chilliet
bbe766b07a
fix: Make sure Request class can be dependency injected to fix SameSiteCookieMiddleware injection
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-08 13:32:14 +02:00