Commit graph

81198 commits

Author SHA1 Message Date
Côme Chilliet
78ff8e233f
fix: Switch lazy object to enabled by default on PHP 8.4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:51:24 +02:00
Côme Chilliet
2eed6d3a89
feat: Add a configuration toggle for lazy objects in DI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:51:24 +02:00
Côme Chilliet
a10182f6fb
fix(tests): Force lazy ghost initialisation in container tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:51:23 +02:00
Côme Chilliet
a42ef7d633
fix: Fix psalm issue and update baseline
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:51:18 +02:00
Côme Chilliet
98b2cfc416
fix: Fix several side effects of lazy ghosts
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:50:42 +02:00
Côme Chilliet
86ff5810d7
fix: Only use Lazy objects if PHP is 8.4 or higher
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:49:58 +02:00
Côme Chilliet
1bf41550d0
chore: Suppress psalm error
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:49:58 +02:00
Côme Chilliet
06c062bebd
feat: Use Lazy ghosts for Dependency injection
This will only work with PHP 8.4, so we’ll need to put it behind a version check later.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:49:38 +02:00
John Molakvoæ
b8b229c133
Merge pull request #52793 from nextcloud/feat/cache-routes 2025-06-05 20:05:05 +02:00
Côme Chilliet
ba53147e10
chore: update psalm baseline
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 18:20:05 +02:00
Côme Chilliet
d0a5eef0b4
Merge pull request #53250 from nextcloud/fix/harmonize-ldap-function-logging
fix(user_ldap): Harmonize parameter obfuscation and serialization accross logging methods
2025-06-05 18:12:08 +02:00
Côme Chilliet
bb485fb733
fix: Load all partially enabled apps routes
This avoids cache issues if some apps are only enabled for some groups,
 by loading the routes from all apps enabled for anyone, not only the
 current user.
If the queried application is disabled for the current user based on
 groups, the middleware will cancel the query.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 18:06:08 +02:00
Côme Chilliet
12e7f46b30
fix: Use application ids as well as versions in the cache prefix
Avoids a corner case issue if one application was disabled and another
 one enabled with the same version, just to be safe.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 18:03:56 +02:00
Côme Chilliet
89f51a8f4e
chore(tests): Add test for AppConfig::getAppInstalledVersions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:55 +02:00
Côme Chilliet
c6f2eff7f7
fix: Fix log display for integration tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +02:00
Côme Chilliet
a2fdeccc31
chore(tests): Adapt AppManager test to the use of searchValues
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +02:00
Côme Chilliet
e8370bf73a
fix: Use only enabled applications versions in the cache prefix
This makes sure the cached routes are updated after enabling a
 previously disabled application

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +02:00
Côme Chilliet
0d78c60759
fix: Fix psalm issue by adding missing parameter for profiler
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +02:00
Côme Chilliet
446b22ac3c
feat(router): Add fallback for legacy action and file routes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +02:00
Côme Chilliet
216da3a81c
fix: Deprecate action and actionInclude from routes and fix actionInclude
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:53 +02:00
Côme Chilliet
5c9092bc5b
fix: Use a more fitting cache key
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:53 +02:00
Côme Chilliet
01575b7d95
feat(router): Use Symfony CompiledUrlMatcherDumper to cache routes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:53 +02:00
Côme Chilliet
ee3abdd81b
feat(router): Cache routes in local cache if possible
This is not ideal because serializing the routecollection is not easy.
It seems Symfony has its own way of doing things by dumping routes to a
 PHP file, maybe that would be better, but it would mean pulling a new
 symfony dependency and maybe refactor our Router.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:46 +02:00
Côme Chilliet
5488f7e8b1
Merge pull request #53352 from nextcloud/fix/install-app-before-enable
fix: Do not enable applications which are not installed yet
2025-06-05 17:55:08 +02:00
Joas Schilling
4b50105fb4
Merge pull request #53315 from nextcloud/refactor/migration-override-attribute
refactor: generate migrations with override attributes
2025-06-05 17:28:01 +02:00
Côme Chilliet
c85f7eacb8
fix: Throw AppNotFoundException from installer when application is not found
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:03:16 +02:00
Côme Chilliet
580911dc89
chore: Disable appstore from integration tests
This avoids spamming the appstore server and getting banned from CI runs

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 16:23:07 +02:00
Côme Chilliet
bf340a576f
fix: Do not enable applications which are not installed yet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 15:39:25 +02:00
Hamza
d6a53ceab0
Merge pull request #51131 from nextcloud/fix/reply-message
fix(imip): dont compare events for the reply message
2025-06-05 14:14:46 +02:00
Ferdinand Thiessen
a7f91799d9
Merge pull request #53291 from nextcloud/fix/legacy-oc-filepicker
fix(core): correctly show displayname when picking a file
2025-06-05 14:04:20 +02:00
dependabot[bot]
89b20c1c94
Merge pull request #53345 from nextcloud/dependabot/npm_and_yarn/webpack-dev-server-5.2.2 2025-06-05 11:44:00 +00:00
dependabot[bot]
8ed234fca6
build(deps-dev): bump webpack-dev-server from 5.1.0 to 5.2.2
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 5.1.0 to 5.2.2.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v5.1.0...v5.2.2)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-version: 5.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-05 11:23:22 +00:00
John Molakvoæ
0ad08c9249
Merge pull request #53341 from nextcloud/fix/release-gen-changelog 2025-06-05 13:19:56 +02:00
skjnldsv
9fd6090194 fix(workflows): releases changelog generator tags handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 12:39:14 +02:00
Hamza Mahjoubi
ed1bfe709e fix(imip): dont compare events for the reply message
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-06-05 12:31:13 +02:00
nextcloud-command
d067032d2c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-05 09:24:01 +00:00
Ferdinand Thiessen
3dea8f7fec fix(core): correctly show displayname when picking a file
Ensure that the display name is shown instead of the filename (important for public shares).
Fixed in the library but the legacy wrapper still uses it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-05 11:13:24 +02:00
Julius Knorr
609c25acfc
Merge pull request #53321 from nextcloud/fix/noid/files-page-heading-theming-name
[FilesList] Use the correct theming instance name from capabilities
2025-06-05 11:12:51 +02:00
Julien Veyssier
91ed3b2c25
chore: compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-05 10:21:09 +02:00
Julien Veyssier
01de909a61
fix(files): use the correct theming instance name from capabilities to set the page title
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-05 10:17:05 +02:00
Joas Schilling
4f41856073
Merge pull request #53328 from nextcloud/automated/noid/master-update-code-signing-crl
[master] fix(security): Update code signing revocation list
2025-06-05 09:54:09 +02:00
John Molakvoæ
f321e0de7b
Merge pull request #53280 from nextcloud/fix/dav-nickname-master 2025-06-05 09:53:06 +02:00
nextcloud-command
d763b4a6a9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-06-05 09:09:17 +02:00
skjnldsv
e41e8de0e2 fix(dav): file drop nickname
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 09:09:17 +02:00
skjnldsv
67e2151ee6 fix(files_sharing): show message when nickname is not valid
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 06:48:32 +00:00
nextcloud-command
65d9d564da fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-06-05 02:39:42 +00:00
Nextcloud bot
0359b7c34a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-05 00:22:37 +00:00
Richard Steinmetz
48f906249e
Merge pull request #53323 from nextcloud/docs/caldav/getCalendarsForUserCount
docs(caldav): improve documentation of CalDavBackend::getCalendarsForUserCount
2025-06-04 16:58:24 +02:00
Richard Steinmetz
3b1947086c
docs(caldav): improve documentation of CalDavBackend::getCalendarsForUserCount
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-04 15:08:45 +02:00
Joas Schilling
54555209ac
Merge pull request #53314 from nextcloud/bugfix/53157/fix-hasNotifier-check
fix(notifications): Fix check for hasNotifiers when all apps use Regi…
2025-06-04 09:00:02 +02:00