aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix: Correctly ignore lazy ghost initialization in debug warning about ↵fix/fix-warning-lazy-ghost-applicationCôme Chilliet2025-06-161-2/+4
| | | | | | direct constructor call Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(l10n): Update translations from TransifexNextcloud bot2025-06-164-6/+10
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(l10n): Update translations from TransifexNextcloud bot2025-06-152-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(l10n): Update translations from TransifexNextcloud bot2025-06-146-2/+14
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(router): In debug mode, cache routes only for 3 secondsfix/do-not-cache-routes-on-debug-modeCôme Chilliet2025-06-122-2/+2
| | | | | | | This allows testing a newly added or changed route in your application without having to wait 1 hour or bump the application version. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #51113 from mickenordin/masterAndy Scherzinger2025-06-127-30/+144
|\ | | | | feat(OCM-invites): Implementation of invitation flow for OCM 1.1.0
| * feat(OCM-invites): Implementation of invitation flowMicke Nordin2025-06-127-30/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patchset: * implements the /invite-accepted endpoint * adds capabilities and inviteAceptDialog to the discovery * adds a FederatedInviteAcceptedEvent https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post Co-authored-by: Anna <anna@nextcloud.com> Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Co-authored-by: Navid Shokri <navid.pdp11@gmail.com> Signed-off-by: Micke Nordin <kano@sunet.se>
* | Merge pull request #53427 from nextcloud/shard-key-hint-partitionMaxence Lange2025-06-121-0/+15
|\ \ | |/ |/| fix: allow hinting the shard keys for joined tables
| * fix: allow hinting the shard keys for joined tablesshard-key-hint-partitionRobin Appelman2025-06-101-0/+15
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-06-122-0/+6
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | feat(files_sharing): show Account menu on public pagesskjnldsv2025-06-111-0/+1
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-06-112-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #53000 from nextcloud/fix/noid/stuck-ffmpegDaniel2025-06-101-1/+1
|\ \ | |/ |/| fix: unblock ffmpeg on some broken videos
| * fix: unbloc ffmpeg on some broken videosfix/noid/stuck-ffmpegArthur Schiwon2025-05-201-1/+1
| | | | | | | | | | Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #52743 from nextcloud/bug/noid/expires-date-formatKate2025-06-102-3/+3
|\ \
| * | fix: use correct format for expires, last-modified, and if-modified-since ↵Daniel Kesselberg2025-06-102-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | headers Before: Sat, 10 May 2025 18:17:41 +0000 After: Sat, 10 May 2025 18:17:41 GMT RFC: https://httpwg.org/specs/rfc9110.html#http.date Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #52913 from nextcloud/debt/noid/use-logical-operatorKate2025-06-101-1/+1
|\ \ \
| * | | fix: use logical operator instead of bitwiseDaniel Kesselberg2025-06-101-1/+1
| |/ / | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | feat(core): Add option to disable creating an admin user when installingfeat/core/install-without-admin-userprovokateurin2025-06-101-36/+43
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | refactor(Setup): When creating a DB user don't use the admin usernameprovokateurin2025-06-106-12/+8
|/ / | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #52538 from nextcloud/feat/use-php84-lazy-objectsCôme Chilliet2025-06-103-10/+34
|\ \ | | | | | | Use PHP 8.4 lazy ghosts for Dependency injection
| * | fix: Switch lazy object to enabled by default on PHP 8.4feat/use-php84-lazy-objectsCôme Chilliet2025-06-051-1/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | feat: Add a configuration toggle for lazy objects in DICôme Chilliet2025-06-052-1/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Fix several side effects of lazy ghostsCôme Chilliet2025-06-052-0/+9
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Only use Lazy objects if PHP is 8.4 or higherCôme Chilliet2025-06-051-34/+42
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | chore: Suppress psalm errorCôme Chilliet2025-06-051-2/+3
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | feat: Use Lazy ghosts for Dependency injectionCôme Chilliet2025-06-051-36/+37
| | | | | | | | | | | | | | | | | | 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>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-06-102-14/+14
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-06-092-0/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-06-074-0/+28
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix: Run cleanByMoundId query on all shardsJoas Schilling2025-06-061-0/+1
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix: Load all partially enabled apps routesCôme Chilliet2025-06-051-2/+2
| | | | | | | | | | | | | | | | | | | | 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>
* | fix: Use application ids as well as versions in the cache prefixCôme Chilliet2025-06-051-1/+1
| | | | | | | | | | | | | | 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>
* | chore(tests): Adapt AppManager test to the use of searchValuesCôme Chilliet2025-06-051-0/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Use only enabled applications versions in the cache prefixCôme Chilliet2025-06-057-10/+18
| | | | | | | | | | | | | | This makes sure the cached routes are updated after enabling a previously disabled application Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Fix psalm issue by adding missing parameter for profilerCôme Chilliet2025-06-051-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat(router): Add fallback for legacy action and file routesCôme Chilliet2025-06-052-15/+81
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Deprecate action and actionInclude from routes and fix actionIncludeCôme Chilliet2025-06-053-9/+9
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Use a more fitting cache keyCôme Chilliet2025-06-051-2/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat(router): Use Symfony CompiledUrlMatcherDumper to cache routesCôme Chilliet2025-06-051-47/+37
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat(router): Cache routes in local cache if possibleCôme Chilliet2025-06-051-0/+59
| | | | | | | | | | | | | | | | | | 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>
* | fix: Throw AppNotFoundException from installer when application is not foundCôme Chilliet2025-06-054-2/+19
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Do not enable applications which are not installed yetCôme Chilliet2025-06-051-0/+9
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(dav): file drop nicknameskjnldsv2025-06-053-0/+23
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-06-052-30/+30
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix(notifications): Fix check for hasNotifiers when all apps use ↵bugfix/53157/fix-hasNotifier-checkJoas Schilling2025-06-041-1/+3
| | | | | | | | | | | | RegistrationContext Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat(RequestHeader): Add indirect parameterfeat/requestheader/indirect-parameterprovokateurin2025-06-031-0/+2
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | refactor(RequestHeader): Make parameter types stricterprovokateurin2025-06-031-2/+2
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | chore(RequestHeader): Remove unnecessary gettersprovokateurin2025-06-031-18/+0
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-06-032-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>