]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
18 months agoMerge branch 'master' into patch-20
Jérôme Herbinet [Wed, 19 Apr 2023 14:32:01 +0000 (16:32 +0200)]
Merge branch 'master' into patch-20

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
18 months agoMerge pull request #37674 from nextcloud/feature/speech-to-text
Joas Schilling [Wed, 19 Apr 2023 14:29:44 +0000 (16:29 +0200)]
Merge pull request #37674 from nextcloud/feature/speech-to-text

feat(SpeechToText): Add SpeechToText OCP provider API

18 months agonpm run build
Jérôme Herbinet [Wed, 19 Apr 2023 14:28:53 +0000 (16:28 +0200)]
npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
18 months agoFollowing Artonge suggestion
Jérôme Herbinet [Wed, 19 Apr 2023 14:15:17 +0000 (16:15 +0200)]
Following Artonge suggestion

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
18 months agoMerge pull request #37451 from Fenn-CS/fix/36437/deprecate-php-8.0
Andy Scherzinger [Wed, 19 Apr 2023 13:28:12 +0000 (15:28 +0200)]
Merge pull request #37451 from Fenn-CS/fix/36437/deprecate-php-8.0

Deprecate PHP8.0

18 months agoMerge pull request #37817 from nextcloud/Jerome-Herbinet-theming-patch-1
Simon L [Wed, 19 Apr 2023 12:57:35 +0000 (14:57 +0200)]
Merge pull request #37817 from nextcloud/Jerome-Herbinet-theming-patch-1

Improvement of the theme selection UI

18 months agoMerge pull request #37790 from nextcloud/fix/files-store-mixin
John Molakvoæ [Wed, 19 Apr 2023 12:26:18 +0000 (14:26 +0200)]
Merge pull request #37790 from nextcloud/fix/files-store-mixin

fix(files): fix sorting mixin usage

18 months agofix(autoloader): Rebuild 37674/head
Joas Schilling [Wed, 19 Apr 2023 11:45:44 +0000 (13:45 +0200)]
fix(autoloader): Rebuild

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agonpm run sass 37817/head
Jérôme Herbinet [Wed, 19 Apr 2023 11:34:35 +0000 (13:34 +0200)]
npm run sass

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
18 months agoImprovement of the theme selection UI
Jérôme Herbinet [Wed, 19 Apr 2023 11:27:45 +0000 (13:27 +0200)]
Improvement of the theme selection UI

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
18 months agoFix(docs): Fix parameter type in doc block
Joas Schilling [Wed, 19 Apr 2023 10:42:23 +0000 (12:42 +0200)]
Fix(docs): Fix parameter type in doc block

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agoContext params: Make userId nullable
Marcel Klehr [Wed, 19 Apr 2023 10:39:39 +0000 (12:39 +0200)]
Context params: Make userId nullable

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agoSpeechToTextManager#scheduleFileTranscription: Take context params and expose them...
Marcel Klehr [Wed, 19 Apr 2023 10:35:13 +0000 (12:35 +0200)]
SpeechToTextManager#scheduleFileTranscription: Take context params and expose them on the Transcription*Events

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agofix(files): forward arguments to store creation 37790/head
John Molakvoæ [Wed, 19 Apr 2023 09:56:27 +0000 (11:56 +0200)]
fix(files): forward arguments to store creation

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
18 months agofix(files): fix sorting mixin usage
John Molakvoæ [Tue, 18 Apr 2023 09:55:49 +0000 (11:55 +0200)]
fix(files): fix sorting mixin usage

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
18 months agoTranscriptionJob: Add owner argument to simplify filesystem setup
Marcel Klehr [Wed, 19 Apr 2023 09:26:04 +0000 (11:26 +0200)]
TranscriptionJob: Add owner argument to simplify filesystem setup

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 19 Apr 2023 02:28:19 +0000 (02:28 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
18 months agoMerge pull request #37582 from Jerome-Herbinet/patch-16
Simon L [Tue, 18 Apr 2023 21:48:18 +0000 (23:48 +0200)]
Merge pull request #37582 from Jerome-Herbinet/patch-16

To be consistent with the same field's title in the list of users

18 months agoMerge pull request #33434 from Jerome-Herbinet/patch-2
Simon L [Tue, 18 Apr 2023 21:47:29 +0000 (23:47 +0200)]
Merge pull request #33434 from Jerome-Herbinet/patch-2

Highlight selected file version (Nextcloud Office)

18 months agoMerge pull request #36854 from nextcloud/feature/36852/allow-to-revert-automated...
Joas Schilling [Tue, 18 Apr 2023 20:51:32 +0000 (22:51 +0200)]
Merge pull request #36854 from nextcloud/feature/36852/allow-to-revert-automated-status

Allow to revert automated status

18 months agoMerge pull request #37795 from nextcloud/techdebt/noid/improve-ci
Joas Schilling [Tue, 18 Apr 2023 19:07:38 +0000 (21:07 +0200)]
Merge pull request #37795 from nextcloud/techdebt/noid/improve-ci

fix(CI): Disable unstable test until someone can have a look at it

18 months agoMerge pull request #36343 from nextcloud/feat/app-framework/middleware-argument-types
Joas Schilling [Tue, 18 Apr 2023 18:55:55 +0000 (20:55 +0200)]
Merge pull request #36343 from nextcloud/feat/app-framework/middleware-argument-types

feat(app-framework): Add native argument types for middleware

18 months agofeat(app-framework): Add native argument types for middleware 36343/head
Christoph Wurst [Wed, 25 Jan 2023 08:56:44 +0000 (09:56 +0100)]
feat(app-framework): Add native argument types for middleware

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
18 months agoTranscriptionJob: Ensure filesystem is setup before trying to retrieve file
Marcel Klehr [Tue, 18 Apr 2023 14:23:45 +0000 (16:23 +0200)]
TranscriptionJob: Ensure filesystem is setup before trying to retrieve file

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agoRun cs:fix
Marcel Klehr [Tue, 18 Apr 2023 13:47:45 +0000 (15:47 +0200)]
Run cs:fix

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agoMerge pull request #37794 from nextcloud/update/psr-container
Joas Schilling [Tue, 18 Apr 2023 14:03:41 +0000 (16:03 +0200)]
Merge pull request #37794 from nextcloud/update/psr-container

fix: Use current `3rdparty` master branch

18 months agoMerge pull request #37175 from nextcloud/rakekniven-patch-1
Simon L [Tue, 18 Apr 2023 13:53:03 +0000 (15:53 +0200)]
Merge pull request #37175 from nextcloud/rakekniven-patch-1

fix(l10n): Fixed grammar

18 months agoTo be consistent with the list of users 37582/head
Jérôme Herbinet [Wed, 5 Apr 2023 08:15:03 +0000 (10:15 +0200)]
To be consistent with the list of users

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
18 months agoHighlight selected file version (Nextcloud Office) 33434/head
Jérôme Herbinet [Tue, 2 Aug 2022 12:38:28 +0000 (14:38 +0200)]
Highlight selected file version (Nextcloud Office)

After my PR #32492 fail, I create a new PR.

Signed-off-by: Jérôme Herbinet <jerome.herbinet@arawa.fr>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
18 months agoUpdate lib/private/SpeechToText/SpeechToTextManager.php
Marcel Klehr [Tue, 18 Apr 2023 13:24:14 +0000 (15:24 +0200)]
Update lib/private/SpeechToText/SpeechToTextManager.php

Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agochore(assets): Recompile JS 36854/head
Maksim Sukharev [Tue, 18 Apr 2023 13:06:46 +0000 (15:06 +0200)]
chore(assets): Recompile JS

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
18 months agofix(status): Store locally status message when editing
Maksim Sukharev [Tue, 18 Apr 2023 13:06:29 +0000 (15:06 +0200)]
fix(status): Store locally status message when editing

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
18 months agofix(status): Fix infinite loading of predefined statuses
Maksim Sukharev [Tue, 18 Apr 2023 13:06:08 +0000 (15:06 +0200)]
fix(status): Fix infinite loading of predefined statuses

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
18 months agochore(assets): Recompile JS
Joas Schilling [Fri, 14 Apr 2023 13:29:11 +0000 (15:29 +0200)]
chore(assets): Recompile JS

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agofix(status): Correctly set the message and predefined message using the store
Joas Schilling [Fri, 14 Apr 2023 13:28:43 +0000 (15:28 +0200)]
fix(status): Correctly set the message and predefined message using the store

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agofeat(status): Add a capability for the restore
Joas Schilling [Fri, 14 Apr 2023 12:08:27 +0000 (14:08 +0200)]
feat(status): Add a capability for the restore

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agochore(assets): Recompile JS
Joas Schilling [Fri, 14 Apr 2023 11:47:09 +0000 (13:47 +0200)]
chore(assets): Recompile JS

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agofeat(user_status): Allow to manually revert an automated status
Joas Schilling [Fri, 24 Feb 2023 15:38:32 +0000 (16:38 +0100)]
feat(user_status): Allow to manually revert an automated status

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agofix(CI): Move cron job times so it doesn't overlap with translations 37795/head
Joas Schilling [Tue, 18 Apr 2023 12:00:40 +0000 (14:00 +0200)]
fix(CI): Move cron job times so it doesn't overlap with translations

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agofix(CI): Disable unstable test until someone can have a look at it
Joas Schilling [Tue, 18 Apr 2023 11:59:35 +0000 (13:59 +0200)]
fix(CI): Disable unstable test until someone can have a look at it

Passes locally 100% and on CI 50% of the time

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agoMerge pull request #37766 from nextcloud/enh/noid/add-db-file-locking-check
Simon L [Tue, 18 Apr 2023 11:31:57 +0000 (13:31 +0200)]
Merge pull request #37766 from nextcloud/enh/noid/add-db-file-locking-check

add an admin check for db file locking

18 months agofix: Use current `3rdparty` master branch 37794/head
Ferdinand Thiessen [Tue, 18 Apr 2023 11:04:20 +0000 (13:04 +0200)]
fix: Use current `3rdparty` master branch

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
18 months agoCompile assets 37175/head
nextcloud-command [Tue, 18 Apr 2023 10:46:09 +0000 (10:46 +0000)]
Compile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
18 months agoMerge pull request #37046 from max65482/fix_event_moving
Simon L [Tue, 18 Apr 2023 10:36:41 +0000 (12:36 +0200)]
Merge pull request #37046 from max65482/fix_event_moving

Fix event moving issues

18 months agoMerge pull request #37772 from nextcloud/enh/30986/follow-up
Simon L [Tue, 18 Apr 2023 10:18:14 +0000 (12:18 +0200)]
Merge pull request #37772 from nextcloud/enh/30986/follow-up

Prevent the OpenDocument preview generator from trying to open empty files

18 months agofix(l10n):Aligned spelling of ScienceMesh
rakekniven [Tue, 14 Mar 2023 16:40:06 +0000 (17:40 +0100)]
fix(l10n):Aligned spelling of ScienceMesh

18 months agofix(l10n): Fixed grammar
rakekniven [Mon, 13 Mar 2023 10:36:07 +0000 (11:36 +0100)]
fix(l10n): Fixed grammar

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
18 months agoUpdate apps/files_sharing/lib/Controller/ShareAPIController.php
rakekniven [Mon, 13 Mar 2023 10:31:20 +0000 (11:31 +0100)]
Update apps/files_sharing/lib/Controller/ShareAPIController.php

Co-authored-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
18 months agofix(l10n): Fixed grammar
rakekniven [Fri, 10 Mar 2023 17:02:50 +0000 (18:02 +0100)]
fix(l10n): Fixed grammar

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
18 months agoMerge pull request #37770 from nextcloud/enh/32032/follow-up
Simon L [Tue, 18 Apr 2023 09:53:14 +0000 (11:53 +0200)]
Merge pull request #37770 from nextcloud/enh/32032/follow-up

l10n: Change to a capital letter

18 months agoMerge pull request #37522 from nextcloud/fix/css-placeholder-color
Simon L [Tue, 18 Apr 2023 09:49:00 +0000 (11:49 +0200)]
Merge pull request #37522 from nextcloud/fix/css-placeholder-color

Ungroup `placeholder` css rules to prevent browsers from removing all rules

18 months agoMerge pull request #36617 from nextcloud/update/psr-container
Simon L [Tue, 18 Apr 2023 09:40:12 +0000 (11:40 +0200)]
Merge pull request #36617 from nextcloud/update/psr-container

chore: Update PSR container to 2.0.2

18 months agoMerge pull request #37316 from nextcloud/fix/security/strict-cookie-check-status...
Simon L [Tue, 18 Apr 2023 09:39:18 +0000 (11:39 +0200)]
Merge pull request #37316 from nextcloud/fix/security/strict-cookie-check-status-codes

fix(security)!: Use consistent HTTP status for strict cookie checks

18 months agoMerge pull request #32632 from nextcloud/smb-353
Simon L [Tue, 18 Apr 2023 09:37:51 +0000 (11:37 +0200)]
Merge pull request #32632 from nextcloud/smb-353

update icewind/smb to 3.5.4

18 months agoaddress review and fix tests 37766/head
Simon L [Tue, 18 Apr 2023 09:33:53 +0000 (11:33 +0200)]
address review and fix tests

Signed-off-by: Simon L <szaimen@e.mail.de>
18 months agoMerge pull request #37241 from nextcloud/feature/allow-any-image-size
Joas Schilling [Tue, 18 Apr 2023 08:20:21 +0000 (10:20 +0200)]
Merge pull request #37241 from nextcloud/feature/allow-any-image-size

Allow images of any size as profile pictures

18 months agoFix missing import
Joas Schilling [Tue, 18 Apr 2023 08:01:00 +0000 (10:01 +0200)]
Fix missing import

Signed-off-by: Joas Schilling <coding@schilljs.com>
18 months agofix event move issue 37046/head
Maximilian Martin [Fri, 3 Mar 2023 21:02:44 +0000 (16:02 -0500)]
fix event move issue

Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
18 months agoMerge pull request #37731 from nextcloud/feat/viewconfig-api
John Molakvoæ [Tue, 18 Apr 2023 07:43:09 +0000 (09:43 +0200)]
Merge pull request #37731 from nextcloud/feat/viewconfig-api

feat(files): add view config service to store user-config per view

18 months agofeat(files): add view config service to store user-config per view 37731/head
John Molakvoæ [Fri, 14 Apr 2023 10:40:08 +0000 (12:40 +0200)]
feat(files): add view config service to store user-config per view

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
18 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 18 Apr 2023 02:37:16 +0000 (02:37 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
18 months agoMerge pull request #36774 from nextcloud/bugfix/noid/sabre-nodes
Simon L [Tue, 18 Apr 2023 02:11:44 +0000 (04:11 +0200)]
Merge pull request #36774 from nextcloud/bugfix/noid/sabre-nodes

fix: always use proper path on node api when calling the view

18 months agoMerge pull request #37330 from Al2Klimov/http-enough
Simon L [Tue, 18 Apr 2023 01:18:54 +0000 (03:18 +0200)]
Merge pull request #37330 from Al2Klimov/http-enough

Omit "Accessing site insecurely via HTTP." warning if HTTP is secure enough

18 months agoMerge pull request #37762 from nextcloud/Jerome-Herbinet-patch-1
Simon L [Tue, 18 Apr 2023 00:19:12 +0000 (02:19 +0200)]
Merge pull request #37762 from nextcloud/Jerome-Herbinet-patch-1

Fix wording meaning (placeholder)

18 months agoMerge pull request #36528 from nextcloud/dav-backend-transations
Simon L [Mon, 17 Apr 2023 22:55:29 +0000 (00:55 +0200)]
Merge pull request #36528 from nextcloud/dav-backend-transations

CalDAV/CardDAV: put every method from backends that does multiple DB calls in transactions

18 months agoDeprecate PHP8.0 37451/head
fenn-cs [Tue, 28 Mar 2023 13:32:11 +0000 (14:32 +0100)]
Deprecate PHP8.0

PHP8.0 would stop receiving security support on 26 Nov 2023
 hence this deprecation. Next, is the eventual drop of PHP8.0 before its EOL.

This commit also updates the message type from INFO to WARNING if the php
 on file has reached its EOL.

See: https://www.php.net/supported-versions.php

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
18 months agofix(core): Ungroup `placeholder` css rules to prevent browsers from removing all... 37522/head
Ferdinand Thiessen [Fri, 31 Mar 2023 14:50:51 +0000 (16:50 +0200)]
fix(core): Ungroup `placeholder` css rules to prevent browsers from removing all rules

When rules are grouped using the comma operator and one selector is invalid / unknown then the whole group is invalidated[1].
In this case `::-ms-input-placeholder` is unknown to Firefox and Chrome, so the `::placeholder` rule is never applied.
[1]: https://www.w3.org/TR/selectors-3/#grouping

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
18 months agoMerge pull request #37534 from Rsplwe/master
Simon L [Mon, 17 Apr 2023 22:16:38 +0000 (00:16 +0200)]
Merge pull request #37534 from Rsplwe/master

Adjust the value of the "max-parts" parameter of the object storage 'ListPart' interface to 1000

18 months agoMerge pull request #37324 from nextcloud/fix/mapper-exception
Simon L [Mon, 17 Apr 2023 22:10:44 +0000 (00:10 +0200)]
Merge pull request #37324 from nextcloud/fix/mapper-exception

Allow to catch `IMapperException` by implementing `Throwable`

18 months agoMerge pull request #37645 from nextcloud/fix/improve-imip-emails
Simon L [Mon, 17 Apr 2023 21:49:16 +0000 (23:49 +0200)]
Merge pull request #37645 from nextcloud/fix/improve-imip-emails

fix(dav): Parse sender PARTSTAT in REPLYs

18 months agoMerge pull request #37676 from nextcloud/fix/auth/atomic-password-db-statements
Simon L [Mon, 17 Apr 2023 21:48:24 +0000 (23:48 +0200)]
Merge pull request #37676 from nextcloud/fix/auth/atomic-password-db-statements

fix(auth): Run token bulk update statements in atomic transaction

18 months agotests: Adapt node related unit tests mocks to required root view 36774/head
Julius Härtl [Mon, 20 Feb 2023 21:12:00 +0000 (22:12 +0100)]
tests: Adapt node related unit tests mocks to required root view

Signed-off-by: Julius Härtl <jus@bitgrid.net>
18 months agofix: Use proper path when creating node instances
Julius Härtl [Sat, 18 Feb 2023 14:43:39 +0000 (15:43 +0100)]
fix: Use proper path when creating node instances

Signed-off-by: Julius Härtl <jus@bitgrid.net>
18 months agoMerge pull request #32314 from nextcloud/object-mkdir-logging
Simon L [Mon, 17 Apr 2023 21:42:08 +0000 (23:42 +0200)]
Merge pull request #32314 from nextcloud/object-mkdir-logging

additional logging when mkdir fails for object storage

18 months agoDrop broken unit test 37330/head
Alexander A. Klimov [Sat, 25 Mar 2023 00:38:38 +0000 (01:38 +0100)]
Drop broken unit test

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
18 months agoOmit "Accessing site insecurely via HTTP." warning if HTTP is secure enough
Alexander A. Klimov [Tue, 21 Mar 2023 21:50:08 +0000 (22:50 +0100)]
Omit "Accessing site insecurely via HTTP." warning if HTTP is secure enough

This is the case for localhost and Tor hidden services.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
18 months agoMerge pull request #35129 from Glandos/previewperf2
Simon L [Mon, 17 Apr 2023 18:22:39 +0000 (20:22 +0200)]
Merge pull request #35129 from Glandos/previewperf2

[Performance] Reuse preview directory listing

18 months agoMerge pull request #31286 from rotdrop/bugfix/dont-start-session-when-session-is...
Simon L [Mon, 17 Apr 2023 18:14:53 +0000 (20:14 +0200)]
Merge pull request #31286 from rotdrop/bugfix/dont-start-session-when-session-is-already-open

Don't call session_start() when PHP session is still or already open.

18 months agoAllow images of any size as profile pictures 37241/head
Simon L [Mon, 17 Apr 2023 14:48:47 +0000 (16:48 +0200)]
Allow images of any size as profile pictures

Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
18 months agofix: Adjust console formatter code to match with Symfony type hints 36617/head
Ferdinand Thiessen [Wed, 8 Feb 2023 16:47:49 +0000 (17:47 +0100)]
fix: Adjust console formatter code to match with Symfony type hints

Symfony has added type hints on the `OutputFormatterInterface`,
so we must adjust our type hints to match with Symfony.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
18 months agochore: Update PSR container to 2.0.2, matching `3rdparty` nextcloud/3rdparty#1311
Ferdinand Thiessen [Wed, 8 Feb 2023 16:13:49 +0000 (17:13 +0100)]
chore: Update PSR container to 2.0.2, matching `3rdparty` nextcloud/3rdparty#1311

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
18 months agorefactor(dav): Since we're in a transaction, use QB properly when incrementing synctoken 36528/head
Thomas Citharel [Mon, 20 Mar 2023 16:45:50 +0000 (17:45 +0100)]
refactor(dav): Since we're in a transaction, use QB properly when incrementing synctoken

Now that we're in a transaction, we can reuse the sync token's previous value without trouble, and rewrite the increment UPDATE query without dirty direct SQL.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
18 months agofix(CalDAV/CardDAV): put every method from Cal/CardDAV backends that does multiple...
Thomas Citharel [Fri, 10 Feb 2023 11:17:27 +0000 (12:17 +0100)]
fix(CalDAV/CardDAV): put every method from Cal/CardDAV backends that does multiple DB calls in transactions

In a lot of methods we're doing read-after-writes (for instance calling
updateProperties after touching calendar objects).
There's also a lot of deleting methods that do stuff sequentially which
could cause trouble.
This should avoid this kind of issues.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
18 months agofix(security)!: Use consistent HTTP status for strict cookie checks 37316/head
Christoph Wurst [Tue, 21 Mar 2023 08:11:00 +0000 (09:11 +0100)]
fix(security)!: Use consistent HTTP status for strict cookie checks

Before: 503/412
Now: 412 + json body explaining the error

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
18 months agoupdate icewind/smb to 3.5.4 32632/head
Robin Appelman [Mon, 30 May 2022 15:40:29 +0000 (17:40 +0200)]
update icewind/smb to 3.5.4

Signed-off-by: Robin Appelman <robin@icewind.nl>
18 months agoupdate icewind/smb to 3.5.3
Robin Appelman [Fri, 27 May 2022 15:37:45 +0000 (17:37 +0200)]
update icewind/smb to 3.5.3

Signed-off-by: Robin Appelman <robin@icewind.nl>
18 months agofix: Allow to catch `IMapperException` by implementing `Throwable` 37324/head
Ferdinand Thiessen [Tue, 21 Mar 2023 14:12:17 +0000 (15:12 +0100)]
fix: Allow to catch `IMapperException` by implementing `Throwable`

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
18 months agol10n: Change to a capital letter 37770/head
Simon L [Mon, 17 Apr 2023 14:06:15 +0000 (16:06 +0200)]
l10n: Change to a capital letter

Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
18 months agoMerge pull request #37724 from nextcloud/fix/encryption-signature-check-logic
Christoph Wurst [Mon, 17 Apr 2023 15:39:34 +0000 (17:39 +0200)]
Merge pull request #37724 from nextcloud/fix/encryption-signature-check-logic

Cleanup signature checking logic in encryption

18 months agofix php-lint 37772/head
Simon L [Mon, 17 Apr 2023 15:18:09 +0000 (17:18 +0200)]
fix php-lint

Signed-off-by: Simon L <szaimen@e.mail.de>
18 months agoSpeechToTextManager#transcribeFile: Try next provider if one fails
Marcel Klehr [Mon, 17 Apr 2023 14:58:14 +0000 (16:58 +0200)]
SpeechToTextManager#transcribeFile: Try next provider if one fails

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agoMerge pull request #35744 from nextcloud/mimeloader-transaction
Simon L [Mon, 17 Apr 2023 14:58:36 +0000 (16:58 +0200)]
Merge pull request #35744 from nextcloud/mimeloader-transaction

Put Mimeloader insertion and read in the same transaction

18 months agoUpdate lib/public/SpeechToText/ISpeechToTextManager.php
Marcel Klehr [Mon, 17 Apr 2023 14:43:43 +0000 (16:43 +0200)]
Update lib/public/SpeechToText/ISpeechToTextManager.php

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agoUpdate lib/public/SpeechToText/ISpeechToTextManager.php
Marcel Klehr [Mon, 17 Apr 2023 14:43:28 +0000 (16:43 +0200)]
Update lib/public/SpeechToText/ISpeechToTextManager.php

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agoUpdate lib/public/SpeechToText/ISpeechToTextManager.php
Marcel Klehr [Mon, 17 Apr 2023 14:43:19 +0000 (16:43 +0200)]
Update lib/public/SpeechToText/ISpeechToTextManager.php

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
18 months agotry to make linters happy 35129/head
Glandos [Sun, 13 Nov 2022 21:20:16 +0000 (22:20 +0100)]
try to make linters happy

Signed-off-by: Glandos <bugs-github@antipoul.fr>
18 months agogather code from small and max preview
Glandos [Sat, 5 Nov 2022 22:03:58 +0000 (23:03 +0100)]
gather code from small and max preview

use directory listing in both functions to gain 25% speed on run where
every preview already exist.

Signed-off-by: Glandos <bugs-github@antipoul.fr>
18 months agoadapt test to new workflow
Glandos [Thu, 3 Nov 2022 22:27:55 +0000 (23:27 +0100)]
adapt test to new workflow

getDirectoryListing should return all files
getFile is not called anymore

Signed-off-by: Glandos <bugs-github@antipoul.fr>
18 months agoRevert 0e49b40
Glandos [Wed, 2 Nov 2022 20:35:54 +0000 (21:35 +0100)]
Revert 0e49b40

Signed-off-by: Glandos <bugs-github@antipoul.fr>
18 months agoimprove parameter doc
Glandos [Wed, 2 Nov 2022 20:35:16 +0000 (21:35 +0100)]
improve parameter doc

Signed-off-by: Glandos <bugs-github@antipoul.fr>