Commit Graph

23206 Commits (680f439f736e199576844cd2d3cc3854e95201af)

Author SHA1 Message Date
Maxence Lange ae8d6b6b69 debug lazy loadConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-07 08:35:00 +07:00
John Molakvoæ bea8bf9032
Merge pull request #43317 from nextcloud/fix/contacts-name 2024-02-07 10:23:22 +07:00
Robin Appelman 5ea69768b0
Merge pull request #41015 from nextcloud/background-scan-catch-storage-error
continue background scanning different storages if one fails
2024-02-07 10:06:32 +07:00
Ferdinand Thiessen 414a4caa65
Merge pull request #43361 from nextcloud/fix/add-missing-phpdoc-template-parameters
chore: Add missing ArrayAccess template parameters
2024-02-06 15:11:50 +07:00
Christoph Wurst 67a3ab48b5
Merge pull request #43131 from nextcloud/fix/files/cache-wrapper-no-partial-cache-entry-formatting
fix(files): Don't attempt to format a partial cache entry
2024-02-06 13:51:51 +07:00
Côme Chilliet f73f966c98 chore: Add missing ArrayAccess template parameters
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-06 10:24:41 +07:00
Maxence Lange 8ba2cd4a07 returns non lazy value while searching for lazy
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-06 00:00:58 +07:00
Maxence Lange f910baf9f7
Merge pull request #43275 from nextcloud/enh/noid/no-exception-on-missing-key-updatelazy-updatesensitie
return false on AppConfigUnknownKeyException
2024-02-05 16:21:02 +07:00
Côme Chilliet d97567a7fd chore: Add references to phpdoc deprecation notice for IL10N
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-02-05 11:16:04 +07:00
Côme Chilliet b2e9e0fa0d chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +07:00
Côme Chilliet 961ccee5f6 Make it clear in the deprecation comment that DI is preferred
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +07:00
Côme Chilliet 1332078be1 Use OCP\Util::getL10N instead of OC::$server->getL10N
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +07:00
Git'Fellow 6f4d0fe79c Lower failed movie preview to info
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-03 18:52:05 +07:00
Ferdinand Thiessen 2c8aee8f99
fix(ContactsStore): Sanitize user ID given to guest avatar route
It is not allowed to use slashes within path parameters, so they would need to be encoded.
But URL encoded slashes are not suported by Apache, so instead replace slash with space.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-03 11:32:51 +07:00
Arthur Schiwon 8a4bd3b932
Merge pull request #40981 from nextcloud/fix/object-storage-user
fix(objectstorage): cleanup HomeObjectStoreStorage
2024-02-02 20:57:01 +07:00
Thomas Citharel 30798eb6c2
refactor(objectstorage): cleanup types
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-02 14:59:21 +07:00
Thomas Citharel 3be3dbdb3b
refactor(objectstorage): move $user property from ObjectStoreStorage class to HomeObjectStoreStorage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-02 14:59:21 +07:00
Thomas Citharel 4c618c4bf1
fix(objectstorage): cleanup HomeObjectStoreStorage
Fix invalid signature for getUser() method and change occurences of OC\User\User for OCP\IUser

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-02 14:59:20 +07:00
Robin Appelman 860caa0849 make failure to load app commands non-fatal
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-02 13:47:17 +07:00
Maxence Lange 1b2e503e7f return false on AppConfigUnknownKeyException
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-01 21:51:17 +07:00
Maxence Lange b838237f82
Merge pull request #43132 from nextcloud/enh/41755/update-appframework-api
sync with new OCP\IAppConfig
2024-02-01 19:51:47 +07:00
Robin Appelman edaa436345
add key location to info:file output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-01 15:32:33 +07:00
Joas Schilling 4993dac98f
Merge pull request #43203 from nextcloud/fix/cleanup-register-command-with-di
Use Dependency Injection in register_commands.php
2024-02-01 14:44:07 +07:00
Côme Chilliet 2bfb6fc731
fix: Make Repair object injectable and fix BackgroundRepair test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-01 09:49:32 +07:00
Maxence Lange e1d7328bb2 adding test
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-31 21:13:32 +07:00
Maxence Lange 51fa22dc26 fix psalm
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-31 21:13:32 +07:00
Maxence Lange 86835ee899 sync with new OCP\IAppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-31 21:13:32 +07:00
Robin Appelman 3066687c7d
Merge branch 'master' into background-scan-catch-storage-error 2024-01-31 19:42:58 +07:00
Robin Appelman b777304a77
also updated parent etags when a changed etag is detected during scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:06:18 +07:00
Robin Appelman e14bceb63f
dont reuse etag for folders marked explicitly unscanned
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:05:09 +07:00
Lorenz Brun a6f879e154 dav: fix wrong decoding of pluses in URLs
PHP's urldecode function does not decode URLs according to RFC 3986, but
according to the HTML 4.01 query parameter
encoding. This results in pluses being wrongly decoded to spaces even
though they should not be decoded at all.

Use rawurldecode instead, which follows RFC 3986 properly.

This fixes an issue where files on DAV shares containing pluses were
incorrectly decoded to spaces.

Fixes: #15849
Signed-off-by: Lorenz Brun <lorenz@brun.one>
2024-01-31 13:26:04 +07:00
Louis 7dc5a91f71
Merge pull request #38173 from arawa/feature/37677/exclude-some-groups-from-sharing-with-users
New core setting : shareapi_only_share_with_group_members_exclude_gro…
2024-01-31 13:24:47 +07:00
Christoph Wurst 6594360638
Merge pull request #42933 from nextcloud/fix/db/dirty-read-on-primary
fix(db): Execute dirty reads on the primary node
2024-01-31 10:55:05 +07:00
Baptiste Fotia 9af96d9f9a feat(php,vue): Create a new parameter
Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2024-01-31 10:44:40 +07:00
Maxence Lange 6c49e9c68a Revert "switching to new IAppConfig"
This reverts commit c693c58d25.


Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-30 18:37:09 +07:00
Maxence Lange c693c58d25 switching to new IAppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-30 18:33:50 +07:00
Côme Chilliet ceff16bbf9
chore: Fix DI for integrity checker before installation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:31:05 +07:00
Côme Chilliet 0e1931754a
chore: use DI for \OC\Repair
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:07:02 +07:00
Côme Chilliet c1d67cc614
chore: Fix DI for Encryption\DecryptAll command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:17 +07:00
Côme Chilliet 52f3616254
Merge pull request #43194 from nextcloud/fix/fix-psalm-missing-template-parameter 2024-01-30 15:24:42 +07:00
Christoph Wurst 97152de9bf
fix(db): Execute dirty reads on the primary node
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-30 12:17:39 +07:00
Joas Schilling e0053e1c06
Merge pull request #43185 from nextcloud/feat/db/dirty-queries-production
feat(db): Make dirty query logging available in production
2024-01-30 12:05:49 +07:00
Côme Chilliet 6533431c36
Merge pull request #43191 from nextcloud/fix/use-di-for-setup-class 2024-01-30 11:10:52 +07:00
Côme Chilliet 8bcc2d352e chore: Fix missing template parameter for IEventListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +07:00
Christoph Wurst 911ab393c0
feat(db): Make dirty query logging available in production
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-30 10:31:03 +07:00
Côme Chilliet 1f6279fa76
Merge pull request #43031 from nextcloud/fix/fix-throw-phpdoc-in-setupresult 2024-01-29 22:10:53 +07:00
Ferdinand Thiessen 85978593fe
Merge pull request #42794 from nextcloud/fix/invalid-trusted-proxies
fix(Request): Catch exceptions in `isTrustedProxy`
2024-01-29 16:19:51 +07:00
Côme Chilliet 67e3ecef98
chore: Cleanup Installer class as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 16:10:31 +07:00
Côme Chilliet ccc66e912b
fix: Use DI for Setup class and move away from deprecated methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 15:28:00 +07:00
Côme Chilliet a2eacf4487 Document throwing behavior of SetupResult upon invalid rich object
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 14:14:17 +07:00
Arthur Schiwon 3749c2c79b
Merge pull request #42930 from nextcloud/fix/6914/overwritecond
Fix: config param 'overwritecondaddr' not working
2024-01-29 09:56:56 +07:00
Nextcloud bot f36a9d09f2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-28 00:19:08 +07:00
Pavel Kryl 30ad530814 code style: ommited space, reverted [code review] 2024-01-27 15:11:26 +07:00
Pavel Kryl 446ecbc454 fixing bug #6914: Config Param 'overwritecondaddr' not working
- just ignoring/removing extra parameter 'protocol' as suggested by
  blizzz

Signed-off-by: Pavel Kryl <pavel@kryl.eu>
2024-01-27 15:11:26 +07:00
Ferdinand Thiessen 7620d230df
fix(Request): Catch exceptions in `isTrustedProxy`
The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw.
But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 14:59:51 +07:00
Nextcloud bot 764f34c4f6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-27 00:19:36 +07:00
Christoph Wurst 7e5303bec7
fix(files): Don't attempt to format a partial cache entry
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-25 19:30:38 +07:00
Maxence Lange 8362025643 better indexes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-24 20:01:56 +07:00
Julius Härtl 8c777145f2
Merge pull request #42597 from nextcloud/perf/s3-mkdir-update-size
perf: Avoid updating the folder size if we know the size difference
2024-01-23 19:39:28 +07:00
Joas Schilling 582ec1294a
fix(apps): Fix type information of app manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-23 09:55:06 +07:00
Christoph Wurst 033a654389
Merge pull request #42929 from nextcloud/fix/db/transacted-read-not-dirty
fix(db): Do not log transacted reads as dirty read
2024-01-23 09:34:20 +07:00
Christoph Wurst 03774ad77c
Merge pull request #42971 from nextcloud/fix/auth/login-email-password-login-name-mismatch
fix(auth): Fix logging in with email and app password
2024-01-22 10:41:48 +07:00
Nextcloud bot af313a79e8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 00:19:16 +07:00
Christoph Wurst 7f2fdd8843
fix(auth): Fix logging in with email, password and login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-19 19:29:41 +07:00
FedericoHeichou 3cf66ae156 Add "-i" to sendmail's pipe
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
2024-01-19 17:08:01 +07:00
Nextcloud bot 9f6df9171b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-19 00:19:27 +07:00
Christoph Wurst ab0d7c007d fix(db): Remove very verbose dirty query logs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-18 18:33:07 +07:00
Christoph Wurst f54b08c224
fix(db): Do not log transacted reads as dirty read
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-18 13:37:36 +07:00
Arthur Schiwon c4f4c5a3fb
Merge pull request #41067 from Murena-SAS/preview-folder-deletes
Fix for previews not being generated sometimes
2024-01-18 11:46:12 +07:00
Joas Schilling 0e40457b86
Merge pull request #42847 from nextcloud/fix/42843/exception-on-their-own
exceptions on their own
2024-01-18 09:59:36 +07:00
Pytal e42f511412
Merge pull request #42860 from nextcloud/jr/fix/i42858
Update ContactsStore: Avoid exceptions on empties
2024-01-17 10:39:16 +07:00
Robin Appelman 0492e0f1d4
Revert "add key location to info:file output"
This reverts commit 7bf82fc312.
2024-01-17 17:53:37 +07:00
Robin Appelman 7bf82fc312
add key location to info:file output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-17 17:47:01 +07:00
Git'Fellow 72e0618f20
fix(session): Avoid two useless authtoken DB queries for every anonymous request
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-17 09:17:23 +07:00
Josh 36e0b02712
Update ContactsStore: Avoid exceptions on empties
Fixes #42858 and makes things more robust

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-16 23:57:58 +07:00
Maxence Lange db8636ac1a exceptions on their own
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-16 12:48:27 +07:00
Maxence Lange addd678682 returns default on exception
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-16 12:35:24 +07:00
Maxence Lange fdd38b46e3
Merge pull request #41755 from nextcloud/enh/noid/lazyconfig
Lazy grouping within IAppConfig
2024-01-16 08:39:13 +07:00
John Molakvoæ 85849767f2
Merge pull request #42806 from nextcloud/bugfix/noid/only-send-subscription-key-to-our-appstore 2024-01-16 10:16:05 +07:00
Côme Chilliet 80d58f0162
Merge pull request #41312 from nextcloud/feat/migrate-code-integrity-check 2024-01-16 09:04:24 +07:00
Nextcloud bot 587057b0ed
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-16 00:18:51 +07:00
Maxence Lange 94fe48c998 small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Maxence Lange 6daea857ab fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
d

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Maxence Lange f7d0c74b10 lazy AppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Joas Schilling 57a30e9bbe
fix(appstore): Only send subscription keys to valid appstores
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-15 15:39:45 +07:00
Côme Chilliet d481515081
Improve validator output in case of invalid RichObject
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:48 +07:00
Git'Fellow 32bf74af16
Merge pull request #42768 from nextcloud/errorToWarn
(dashboard): Lower error to warning log message
2024-01-15 11:38:05 +07:00
Maxence Lange 083a9d8fb2
Merge pull request #42670 from nextcloud/enh/noid/occ-background-job-delete
occ background-job:delete
2024-01-15 09:36:36 +07:00
Git'Fellow 53ad3a58ab
Lower to info
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-15 09:29:22 +07:00
Alexander Piskun 243d352b26
result of build/autoloaderchecker.sh
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-01-15 10:35:09 +07:00
Alexander Piskun 913f62982e
Merge branch 'master' into enh/speech-to-text-provider-with-userid 2024-01-15 10:32:25 +07:00
Faraz Samapoor cdf9d94423 Adds new exception to check for the availability of the index.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-01-15 10:36:02 +07:00
Faraz Samapoor 2845071854 Refactors lib/private/FullTextSearch.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-01-15 10:36:02 +07:00
Git'Fellow d01f9e5fd5
Lower error to warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-14 22:45:48 +07:00
Alexander Piskun 156013a711
introduce IProviderWithUserId
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-01-14 22:44:37 +07:00
Andrey Borysenko ea7f1f9ecd
move setting of userId before provider execution
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-01-14 20:44:43 +07:00
Andrey Borysenko 13588c7566
Introduce ISpeechToTextProviderWithUserId
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-01-14 18:47:40 +07:00
Julius Härtl 296096e069
fix: Add reconnect check in case of timeouts on the db side
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 14:38:01 +07:00
Julius Härtl cc75294eb6 perf: Avoid updating the folder size if we know the size difference
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 14:21:08 +07:00
Julius Härtl c17c42a0b2 feat: First attempt to track dirty tables after writes and switch back to replicas if reads go to other tables
Signed-off-by: Julius Härtl <jus@bitgrid.net>

debug: error log

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 11:02:50 +07:00
Julius Härtl 3e60092b7d feat: Add logging for transaction time
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 11:02:50 +07:00
Maxence Lange bd3df759fb occ background-job:delete
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-11 23:17:57 +07:00
Julius Härtl 2df26608ef
Merge pull request #42649 from nextcloud/enh/machine-translation-provider-with-id 2024-01-11 21:50:50 +07:00
Côme Chilliet f789732922
Merge pull request #42640 from nextcloud/fix/fix-authentication-exceptions-2
Always catch OCP versions of authentication exceptions
2024-01-11 18:51:43 +07:00
Côme Chilliet a526a382bf
Import OCP IToken as OCPIToken to avoid a name clash in lib/private
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 15:45:14 +07:00
Côme Chilliet 6fc224dfce Document new throw possibility in SetupResult
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +07:00
Côme Chilliet a78abd84ce Validate rich objects passed to SetupResult
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +07:00
Côme Chilliet f34865eb4e Add RichObject support for SetupChecks descriptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +07:00
Côme Chilliet 37a6e15f87 Use OCP version of IToken in AppPasswordCreatedEvent
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
Côme Chilliet 8fc39aeb1c Use IToken from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
Côme Chilliet 95ea6188dc Suppress or fix psalm errors related to InvalidTokenException
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
Côme Chilliet eee9f1eec4 Always catch OCP versions of authentication exceptions
And always throw OC versions for BC

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
Marcel Klehr 477630ed78
Merge branch 'master' into enh/machine-translation-provider-with-id 2024-01-11 13:27:13 +07:00
Joas Schilling cfd1cc54c1
Merge pull request #42658 from nextcloud/bugfix/42530/mark-more-configs-as-sensitive
fix(systemreport): Mark more configs as sensitive
2024-01-11 12:33:45 +07:00
Marcel Klehr a6513336b4 fix(autoloaders)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-11 09:32:30 +07:00
Marcel Klehr 970eb692d1 fix(coding style)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 16:15:06 +07:00
Marcel Klehr 1db8888f99 enh(OCP\Translation): Introduce ITranslationProviderWithUserId
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 16:00:24 +07:00
Marcel Klehr 4bfa3d34fc enh(OCP\Translation): Make ITranslationProviderWithId extend ITranslationProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 14:08:03 +07:00
Marcel Klehr c148f84ff7 Rebuild autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 11:16:14 +07:00
Marcel Klehr 1fd0c2979e enh(OCP\Translation): Add ITranslationProviderWithId
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 11:16:14 +07:00
Joas Schilling c4d233a892
Merge pull request #42377 from nextcloud/fix/text-to-image-manager
Fix(text2image): Return providers as indexed array
2024-01-10 09:28:45 +07:00
Joas Schilling 7981a4bc82
Merge pull request #42391 from nextcloud/bugfix/noid/warn-on-excessive-memory-consumption-in-background-jobs
feat(cron): Warn on excessive memory consumption in background jobs
2024-01-10 09:15:14 +07:00
Joas Schilling 6294f0f4bc
fix(systemreport): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-09 13:08:27 +07:00
John Molakvoæ 82b5a19a35
fix: public dav and files_sharing testing fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:14 +07:00
John Molakvoæ 7b6a650b6e
feat: public dav endpoint v2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:06 +07:00
Marcel Klehr 997f6c33cd fix(psalm issues)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-09 10:11:39 +07:00
Maxence Lange dd8297553c
Merge pull request #42560 from nextcloud/fix/42308/logs-more
debug logs on huge metadata
2024-01-08 11:45:54 +07:00
Maxence Lange 4367a5e633
blurhash generation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-05 11:50:51 +07:00
Maxence Lange e5bee95f05 debug logs on huge metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-04 21:51:56 +07:00
Maxence Lange 71bdda42e4 initialize variables
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-04 10:59:22 +07:00
Nextcloud bot 6690eebff4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-04 00:19:57 +07:00
Hamid Dehnavi 799928c63d
Merge branch 'master' into refactor_lib_private_notification 2024-01-03 10:22:40 +07:00
Nextcloud bot 89ee85938e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-03 00:20:07 +07:00
Hamid Dehnavi 82a503a50a Make adjustments based on the review
Co-authored-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-01-02 16:54:54 +07:00
Hamid Dehnavi 32ee6f7d04 Add adjustments based on the review
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-01-02 16:54:54 +07:00
Hamid Dehnavi 0ac1480be2 refactor lib/private/Notification
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-01-02 16:54:54 +07:00
Nextcloud bot 982fc73c3e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-02 00:19:09 +07:00
Josh Richards 7a212b1f38 Fix log rotation notification level (warning->info)
Fixes #42537 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-31 20:26:39 +07:00
Nextcloud bot c9611c0f5d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-30 00:22:10 +07:00
Julius Härtl 6a63974bf5
Merge pull request #26540 from nextcloud/bugfix/noid/sqlite-datetime
Cast datetime columns in sqlite before comparing
2023-12-29 11:52:32 +07:00
Julius Härtl 77cec80feb
Merge pull request #41914 from nextcloud/s3-copy-size-limit
only do a multipart s3 copy when above the regular copy limit
2023-12-29 11:28:54 +07:00
Julius Härtl 86dc766276 Cast datetime columns in sqlite before comparing
Move the logic to prepare a column to the parent ExpressionBuilder so
that it can be reused for OCI and sqlite

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-29 10:36:59 +07:00
Alexander Piskun cdc2723d97
Merge pull request #42479 from nextcloud/appapi-twofactor
AppAPI: allow to bypass Two-Factor
2023-12-29 11:29:29 +07:00
Alexander Piskun 26d343d33a
AppAPI: allowed to bypass Two-Factor
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-12-28 20:59:02 +07:00
Julius Härtl e4054370b1
fix(s3): Add config option to disable multipart copy for certain s3 providers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-28 15:31:38 +07:00
Robin Appelman 1043c21b35
only do a multipart s3 copy when above the regular copy limit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-28 15:31:37 +07:00
Julius Härtl 81b089cf30
fix: Avoid using replicas during setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-28 11:51:35 +07:00
Daniel b9b0ca6dea
Merge pull request #41998 from nextcloud/enh/read-replica 2023-12-27 21:57:30 +07:00
Nextcloud bot 4c75c8ca1a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-23 00:20:10 +07:00
Stephan Orbaugh 7d8741c53f
Merge pull request #37469 from nextcloud/lock-restore-ttl
restore shared lock ttl to previous value when releasing
2023-12-22 10:43:04 +07:00
Robin Appelman ff62154a79 adjust redis compareSetTTL to use a lua script
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-21 15:14:27 +07:00
Robin Appelman 7394645eb7 restore shared lock ttl when releasing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-21 15:14:27 +07:00
Joas Schilling b8c57efaad
fix(log): Improve logging of background job details for better reproduction/debugging
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-20 15:35:40 +07:00
Joas Schilling 4cb5501a3f
fix(cron): Reset the reserved_at when force executing from CLI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-20 10:07:41 +07:00
MB-Finski f27d2bf352 Update doc blocks
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
2023-12-20 07:49:09 +07:00
Git'Fellow 5077d0a10b
Merge pull request #42298 from nextcloud/readOnlyFSFalse
Don't write back .htaccess file on a RO filesystem
2023-12-19 21:34:16 +07:00
Marcel Klehr 53be798a70
Merge branch 'master' into enh/text-processing-provider-with-id 2023-12-19 16:14:13 +07:00
Marcel Klehr e5622171b4 Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 15:01:03 +07:00
Sami Finnilä 8904bf645b Return providers as indexed array
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
2023-12-19 13:25:45 +07:00
Marcel Klehr 6f0b192fcb Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 13:59:30 +07:00
Marcel Klehr 52d729c69e cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 13:32:15 +07:00
Marcel Klehr 928fee8ab4 enh(SpeechToText): Allow providers to declare a dynamic ID instead of using className
this allows AppAPI to register anonymous classes as SpeechToText providers

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:31:21 +07:00
Marcel Klehr 2e0141165a
Merge branch 'master' into enh/text-processing-provider-with-id
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:29:03 +07:00
Louis Chemineau a39b3a3d84
Add global accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 10:21:13 +07:00
Eduardo Morales 24f97a57e2 fix(manager): removed dead code
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-18 12:29:50 +07:00
Anna Larch fc4ef6133b fix(ooo): add new ooo status with new emoji
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 11:35:00 +07:00
Nextcloud bot 0ff674607f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-18 00:19:21 +07:00
Nextcloud bot 84e0b9007c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-17 00:18:58 +07:00
Julius Härtl 79c4986354
enh: Implement PrimaryReadReplicaConnection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-16 20:27:37 +07:00
Nextcloud bot 538041b6e7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-16 00:19:23 +07:00
Anna Larch dc87c531b5 fix(joblist): also reset last_run timestamp on updating an existing job
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-15 11:49:51 +07:00
Git'Fellow b22ac93606
Read Only FS return false
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-12-15 08:35:15 +07:00
Joas Schilling 6056928dc6
feat(comments): Add a meta data column for comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-14 14:32:00 +07:00
fenn-cs 0b171f6095 Rename "global search" to "unified search"
- Changes appearances of "Global search" to "Unified search" in UI
- Refactors code, to remove usage of term "GlobalSearch" in files and code
 structure
- Rename old unified search to `legacy-unified-search`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 20:34:37 +07:00
Nextcloud bot 6aeb5d4a08
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-12 00:18:52 +07:00
Nextcloud bot 1f10b28c22
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-11 00:24:21 +07:00
Arthur Schiwon 70c2f574d2
Merge pull request #42093 from nextcloud/fix/l10n/init-race-condition
fix(l10n): fix translations for init scripts
2023-12-08 14:34:29 +07:00
John Molakvoæ ceb2d41503
fix(l10n): fix translations for init scripts
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-08 12:36:39 +07:00
Ferdinand Thiessen b1fffb0d3b
enh(NavigationManager): Use ID as fallback for `app` property of entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 15:46:22 +07:00
Andy Scherzinger 13eecbba06
Merge pull request #42011 from nextcloud/techdebt/noid/allow-to-load-multiple-metadata-with-1-query
fix(metadata): Fix copy-paste doc block throws
2023-12-06 00:07:27 +07:00
Julius Härtl 6c52242fb1
Merge pull request #41927 from nextcloud/perf/login-with-email-token 2023-12-05 11:11:33 +07:00
Joas Schilling fffbb06417
Merge pull request #41962 from nextcloud/fix/dav/check-current-ooo-time
fix(dav): Make current ooo info time-dependent
2023-12-05 10:52:28 +07:00
Christoph Wurst 9a206c6282
fix(dav): Make current ooo info time-dependent
* If there is an out of office absence info and it happens now -> return
  data
* Else: return no data

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-05 08:36:50 +07:00
Maxence Lange 43469337b4 +files_metadata_installed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-05 01:37:41 +07:00
Joas Schilling b6e9132a5a
fix(metadata): Fix copy-paste doc block throws
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 14:57:32 +07:00
Joas Schilling 2a0daf7aff
fix(metadata): Allow to load metadata of multiple files at once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 13:34:10 +07:00
Joas Schilling 89aa3957ce
Merge pull request #41999 from nextcloud/bugfix/noid/handle-idn_to_utf8-returning-false
fix(security): Handle idn_to_utf8 returning false
2023-12-04 11:46:27 +07:00
Joas Schilling 33e1c8b236
fix(security): Handle idn_to_utf8 returning false
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 10:38:46 +07:00
Marcel Klehr 062a0efed5 fix(TemplateManager): Bail early if templatedirectory is empty
fixes #39266

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-04 08:53:52 +07:00
Nextcloud bot df7bc46eab
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-04 00:18:27 +07:00
Nextcloud bot 4efa24bd3f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-02 00:21:18 +07:00
Pytal 294330454b
Merge pull request #40169 from nextcloud/enh/load-disabled-users-directly
enh(settings): Load from disabled users endpoint
2023-12-01 08:42:04 +07:00
Marcel Klehr fe6d9e33b4 fix(TextProcessing): Make task type template param covariant
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-01 11:52:42 +07:00
Joas Schilling 3267ad7630
Merge pull request #41931 from nextcloud/techdebt/noid/add-typing
techdebt(Middleware): Add more specific array types so its clickable in IDEs
2023-12-01 08:00:00 +07:00
Côme Chilliet adc43eae9b Invert parameter order in getDisabledUserList to be consistent
This matches what was done in the calls and so fixes getting disabled
 user list when there are several backends returning disabled users.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-30 17:15:12 +07:00
Julius Härtl 3cd1d74a81
fix: Only apply cast if needed when searching users for value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 20:51:48 +07:00
Julius Härtl a3a343ce41
perf: Use more performant way to obtain and check the email as a login name with token login
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 20:51:47 +07:00
Joas Schilling ce583cb67b
techdebt(Middleware): Add more specific array types so its clickable in IDEs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 12:27:08 +07:00
fenn-cs b5981f67b4 Enable new global search by default
The new global search would now be activated by default and users,
 have the option to revert to the old unified search by setting `unified_search.enabled`
to true in the NC `config.php` file.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 12:20:13 +07:00
Louis bdc7c64ec7
Merge pull request #41765 from nextcloud/artonge/feat/sync_live_photos
Synchronize operation on live photo files
2023-11-30 10:33:42 +07:00