Commit graph

21392 commits

Author SHA1 Message Date
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
Julius Härtl
cf1bd0eb70
chore: Add typings to Log properties
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +01:00
Julius Härtl
7daa20d309
fix(ExceptionSerializer): encode arguments before filtering the trace
This will avoid running into a Nesting level too deep error as the
encodeArg calls will limit potential recursive calls on the arguments to
a nesting level of 5

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +01:00
Julius Härtl
00b7575c89
perf(logging): Return early when log level does not match before serializing an exception
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +01:00
Côme Chilliet
5e090d044d
Merge pull request #36075 from fmenabe/s3-storage-class
Add support for s3 storage classes
2023-01-16 09:43:53 +01:00
Nextcloud bot
269bcdc17a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-16 02:24:58 +00:00
Nextcloud bot
4267698115
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-15 02:24:46 +00:00
Nextcloud bot
5866418098
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-14 02:26:37 +00:00
blizzz
2db1e75be2
Merge pull request #36067 from nextcloud/enh/noid/spaces-are-allowed-in-userids
spaces are allowed in userids
2023-01-13 10:45:27 +01:00
Nextcloud bot
9c01fed263
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-13 02:26:35 +00:00
Côme Chilliet
d74044f634
Fix API breakage by using a new method instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:18:59 +01:00
Côme Chilliet
e74f464662
Remove deprecated method getAll instead of breaking API on deprecated method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:13:08 +01:00
François Ménabé
cf9bdc0274 Manage s3 storage class in objectstore
Signed-off-by: François Ménabé <francois.menabe@gmail.com>
2023-01-12 14:58:27 +01:00
Julius Härtl
19e521e3cc
Merge pull request #35844 from nextcloud/debt/noid/add-explanation-for-get-new-preview-locations
doc: add description how BackgroundCleanupJob.getNewPreviewLocations works
2023-01-12 11:19:04 +01:00
Vincent Petry
c2165b84e6
Merge pull request #36001 from nextcloud/validate-user-tz
Validate user timezone given from login data before saving it
2023-01-11 19:53:37 +01:00
Git'Fellow
e855298b3c Switch logical operators
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-01-11 16:27:33 +00:00
Julien Veyssier
b82db5fd5f
Merge pull request #36071 from nextcloud/enh/36043/improve-link-reference-content-type-check
improve link reference content-type check
2023-01-11 11:02:38 +01:00
Nextcloud bot
380e5a4ee1
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-11 02:24:41 +00:00
Côme Chilliet
679682c186
Use a Generator for job list to fix background-job:list command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-10 18:20:31 +01:00
Julien Veyssier
f0589523c8
improve link reference content-type check, accept 'text/html;*'
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-10 16:17:52 +01:00
Joas Schilling
fc096ae9db
Merge pull request #36048 from nextcloud/bugfix/36046/only-verify-the-same-hash-once
fix(authentication): Only verify each hash once
2023-01-10 15:40:11 +01:00
Simon L
7271ec7acf spaces are allowed in userids
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-10 13:25:27 +01:00
Alex Harpin
644df591b1 Rename canInstallExists method and add new method for removal
Rename canInstallExists to shouldRemoveCanInstallFile to cover removal of this file for non-git channels and logging any failure to remove it.

Add new method to detect if this file exists during web based installation.

Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:06 +00:00
Alex Harpin
72af140723 Move CAN_INSTALL check to method and remove unlink from SetupController
Move the check for the CAN_INSTALL file in the config directory to a method in the Setup class and remove the call to unlink from the SetupController as this in now handled in the Setup class.

Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:06 +00:00
Alex Harpin
467c8a9d78 Remove the CAN_INSTALL file when occ maintenance:install is complete
When occ maintenance:install is run from the CLI, the CAN_INSTALL in the config directory is left in place when installed is set to true, whereas this file is removed when the web installer is used.  Removing this file in the CLI command maintains consistency between the two.  This allows automation tools an easier way to determine if this process has been completed.

Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:05 +00:00
Vincent Petry
0c37d059dc
Merge pull request #35964 from nextcloud/IMigrationStep-fix
IMigrationStep progress bar fix
2023-01-10 12:39:31 +01:00
Julius Härtl
32e691f2f6
Merge pull request #35966 from nextcloud/chore/remove-deprecated-dashboard 2023-01-10 12:08:52 +01:00
Nextcloud bot
1cfea13e94
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-10 02:24:52 +00:00
Joas Schilling
2fb4dac7ad
fix(authentication): Update the token when the hash is null or can not be verified
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 16:32:36 +01:00
Joas Schilling
28b18d561c
fix(authentication): Only hash the new password when needed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 15:58:26 +01:00
Joas Schilling
c5bb19641c
fix(authentication): Invert the logic to the original intention
We need to store the new authentication details when the hash did **not** verify
the old password.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 15:13:08 +01:00
Joas Schilling
55d8aec759
fix(authentication): Only verify each hash once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 14:53:12 +01:00
Julien Veyssier
b07adddf39
in the link reference provider, check if the link content type begins with text/html
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-09 11:08:56 +01:00
Nextcloud bot
ff0a32f70f
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-09 02:24:48 +00:00
Nextcloud bot
0489921f3f
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-08 02:24:44 +00:00