Commit Graph

21426 Commits

Author SHA1 Message Date
Christoph Wurst
ad00a149ea Merge pull request #36310 from nextcloud/feat/app-framework/global-middlewares
feat(app-framework): Add support for global middlewares
2023-01-26 15:17:38 +01:00
Christoph Wurst
033b03def0 Merge pull request #36341 from nextcloud/fix/app-framework/middleware-before-controller-returns-void
fix(app-framework): Specify return type of Middleware::beforeController
2023-01-26 13:18:19 +01:00
Christoph Wurst
8d9af3e262 feat(app-framework): Add support for global middlewares
This allows apps to register middlewares that always register, not just
for the app's own requests

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-26 11:54:28 +01:00
Vincent Petry
9ecec2fd75 Merge pull request #35894 from nextcloud/move-from-encryption
fix moving files of encrypted local storage to unencrypted local storage
2023-01-26 09:45:12 +01:00
Christoph Wurst
40425035d2 Merge pull request #36347 from nextcloud/chore/autoloader/composer-2.5.1-autoloader-files
chore(autoloaders): Update autoloader files for Composer 2.5.1
2023-01-26 09:17:52 +01:00
Nextcloud bot
4caa90dfb6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-26 02:25:08 +00:00
Simon L
352bd7ecea Merge pull request #36352 from nextcloud/enh/noid/imaginary-add-tiff
imaginary - add tiff to supported formats
2023-01-25 21:06:11 +01:00
Christoph Wurst
b58d4f7d22 Merge pull request #36298 from nextcloud/perf/app-framework/lazy-middleware-registration
perf(app-framework): Make app middleware registration even lazier
2023-01-25 17:37:56 +01:00
Julius Härtl
919a840f34 Merge pull request #32798 from nextcloud/enh/sse-c
[S3] Add option to specify an SSE-C customer provided key
2023-01-25 15:59:26 +01:00
Daniel
75e8636ef2 Merge pull request #36187 from nextcloud/psalm-ocp-since-checker
ci: migrate ocp since checker to psalm
2023-01-25 12:44:01 +01:00
Simon L
9a64d95676 imaginary - add tiff to supported formats
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-25 11:53:16 +01:00
Christoph Wurst
aee9941fed chore(autoloaders): Update autoloader files for Composer 2.5.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 10:42:34 +01:00
Christoph Wurst
6d7339b0ff fix(app-framework): Specify return type of Middleware::beforeController
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 09:30:58 +01:00
Christoph Wurst
907ff68bfc perf(app-framework): Make the app middleware registration lazy
Before this patch, app middlewares were registered on the dispatcher for
every app loaded in a Nextcloud process. With the patch, only
middlewares belonging to the same app of a dispatcher instance are
loaded.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 09:27:24 +01:00
Robin Appelman
33b90d28f8 fix moving files of encrypted local storage to unencrypted local storage
for example when moving encrypted files to a groupfolder

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-24 16:40:41 +00:00
Thomas Citharel
00d9d49303 Add app config for default template path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-24 09:39:31 +00:00
Julius Härtl
159a0c8411 feat(s3): Add option to specify an SSE-C customer provided key
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-24 10:36:03 +01:00
Daniel Kesselberg
258c919b3c ci: migrate ocp since checker to psalm
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-24 10:02:41 +01:00
Nextcloud bot
f867a2d65e Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-24 02:25:20 +00:00
Joas Schilling
ecad09b38a Merge pull request #36261 from nextcloud/techdebt/noid/warn-devs-about-potential-bugs
fix(querybuilder): Log a warning if where() is called again on a quer…
2023-01-23 18:47:25 +01:00
Joas Schilling
f565cacaf3 Fix double where() usage in resource manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-23 08:48:01 +01:00
Nextcloud bot
cfc93d8b0a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-23 02:25:26 +00:00
Nextcloud bot
2ff877f105 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-22 02:25:24 +00:00
Nextcloud bot
b7d884355b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-21 02:24:42 +00:00
Côme Chilliet
f5c361cf44 composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:45:08 +01:00
Côme Chilliet
2a5e18b67a Fix types in OCS json answer (status code is an int)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Côme Chilliet
f2cdc4f47d Fix crash in OCS when getting info about an application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Côme Chilliet
0c466b7ff5 Attempt at reducing psalm errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Côme Chilliet
e91457d9cd Improve typing in Entity.php
Removing @method in Entity brings even more errors.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +01:00
Côme Chilliet
f27c3d0a04 composer update php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:08 +01:00
Côme Chilliet
9369b67df3 Drop PHP 7.4 support for master (26)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:07 +01:00
Joas Schilling
7f0a54c558 fix(querybuilder): Log a warning if where() is called again on a query builder object
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 07:41:19 +01:00
Nextcloud bot
5e3a3c0c8f Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-20 02:29:40 +00:00
Daniel Kesselberg
ffb76d5475 docs: document types flag for search options
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-19 09:33:53 +00:00
Nextcloud bot
aaf759bbb0 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-19 02:27:03 +00:00
Simon L
752f3a39f9 Merge pull request #36225 from Jachhj-sc/patch-1
Add check config.php for ffmpeg_path in PreviewManager.php. fix for snap no video preview
2023-01-18 22:14:22 +01:00
William
fa12219629 Update lib/private/PreviewManager.php
fix lint issue

Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 20:32:09 +01:00
Simon L
06a572ff55 Merge pull request #27492 from cyclops8456/feature/24301-remove-can-install-on-occ-maintenance-install
Remove the CAN_INSTALL file when occ maintenance:install is complete
2023-01-18 19:53:02 +01:00
William
57a3a17db7 Merge branch 'nextcloud:master' into patch-1 2023-01-18 19:31:39 +01:00
William
1409a7cc92 Update PreviewManager.php
add a check in config.php for a configured movieBinary path.
so now it first checks in config.php if  preview_ffmpeg_path is configured.

Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 16:30:41 +01:00
Christoph Wurst
20fcfb5739 feat(app framework)!: Inject services into controller methods
Usually Nextcloud DI goes through constructor injection. This has the
implication that each instance of a class builds the full DI tree. That
is the injected services, their services, etc. Occasionally there is a
service that is only needed for one controller method. Then the DI tree
is build regardless if used or not.

If services are injected into the method, we only build the DI tree if
that method gets executed.

This is also how Laravel allows injection.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 14:00:38 +01:00
John Molakvoæ
1a0f9b57be Merge pull request #36002 from nextcloud/feat/files2vue-quota
feat(files): Quota in navigation
2023-01-18 08:05:04 +01:00
Nextcloud bot
4dc3f4dcac Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-18 02:25:23 +00:00
John Molakvoæ
b9906fb21e feat(files): Quota in navigation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-17 18:30:41 +01:00
Christoph Wurst
312f19d6a4 Merge pull request #36166 from nextcloud/fix/php82/declare-symfony-console-application-property
fix(PHP8.2): Declare Symfony Application property in console application
2023-01-17 18:25:56 +01:00
John Molakvoæ
9af7ee8d11 Revert "Add alt to the logo, adapt css for logo"
This reverts commit bba5ab0532.
2023-01-17 14:19:23 +01:00
Nextcloud bot
7ab34eefc5 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-17 02:26:53 +00:00
Christoph Wurst
e2f4110a3f fix(PHP8.2): Declare Symfony Application property in console application
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-16 14:55:16 +01:00
Julius Härtl
8557c61389 Merge pull request #35970 from nextcloud/perf/noid/exception-serializer 2023-01-16 14:00:57 +01:00
blizzz
dbfe7b1816 Merge pull request #36073 from nextcloud/fix/fix-background-job-list
Use a Generator for job list to fix background-job:list command
2023-01-16 11:10:10 +01:00