Commit Graph

23061 Commits (f712ff2d0e95ffafe2419bedcd2384e3eac8604f)

Author SHA1 Message Date
Nextcloud bot 2b1057721a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-11 00:19:34 +07:00
Git'Fellow b03199e1cb
Merge pull request #42991 from nextcloud/lowToInfo
Lower failed movie preview generation logs to level info
2024-02-10 13:46:27 +07:00
Git'Fellow 786894f15c Fix typo in var
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-09 14:41:26 +07:00
Robin Appelman 963721330f only get the path for the users cached mount info when we use it
most of the time we shouldn't need it so we can save joining on the filecache

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-09 09:50:43 +07:00
Ferdinand Thiessen a37b6c7e5f
fix!: Remove deprecated `RegisterWidgetEvent`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 01:34:03 +07:00
Côme Chilliet 303e2febc7
Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs 2024-02-08 18:27:44 +07:00
Simon L 8fd2289058
Merge pull request #43357 from nextcloud/enh/41253/fix-occ-upgrade
fix(migration): Make naming constraint fail softer on updates
2024-02-08 18:27:39 +07:00
Ferdinand Thiessen cdf7840d00
Merge pull request #43454 from nextcloud/fix/cleanup-cron-php
Cleanup cron.php method calls
2024-02-08 16:21:02 +07:00
Louis Chemineau 898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server"
This reverts commit d9d60238c7, reversing
changes made to ba3fdb0cdc.
2024-02-08 15:31:19 +07:00
Côme Chilliet cf6a0e0833
chore: Deprecate OC_App::loadApps and add missing return type in Server
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 14:34:01 +07:00
Côme Chilliet e78e27187a chore: Delete deprecated internal Job classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 10:28:29 +07:00
Côme Chilliet 65981f99bf chore: Migrate away from internal Job classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 10:28:29 +07:00
Côme Chilliet 166773879b fix!: Migrate jobs away from deprecated interfaces
BREAKING CHANGE: Removed ILogFactory::getCustomLogger deprecated method

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 10:28:29 +07:00
Joas Schilling 487c33f479
fix(migration): Make naming constraint fail softer on updates
Only on installation we want to break hard, so that all developers notice
the bugs when installing the app on any database or CI, and can work on
fixing their migrations before releasing a version incompatible with Postgres.

In case of updates we might be running on production instances and the
administrators being faced with the error would not know how to resolve it
anyway. This can also happen with instances, that had the issue before the
current update, so we don't want to make their life more complicated
than needed.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-07 20:45:51 +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
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