Skip to content

Commit 4d56826

Browse files
Merge remote-tracking branch 'origin/master' into feat/dav/upcoming-events-api
2 parents 6965ba0 + cee227a commit 4d56826

File tree

966 files changed

+8190
-4230
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

966 files changed

+8190
-4230
lines changed

apps/admin_audit/l10n/es_MX.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ OC.L10N.register(
22
"admin_audit",
33
{
44
"Auditing / Logging" : "Auditoría / Registros",
5-
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Habilita las opciones de bitácora de Nextcloud tales como registro de acceso a archivos o de acciones delicadas."
5+
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, tales como el registro de accesos a archivos o de acciones delicadas."
66
},
77
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");

apps/admin_audit/l10n/es_MX.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{ "translations": {
22
"Auditing / Logging" : "Auditoría / Registros",
3-
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Habilita las opciones de bitácora de Nextcloud tales como registro de acceso a archivos o de acciones delicadas."
3+
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, tales como el registro de accesos a archivos o de acciones delicadas."
44
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
55
}

apps/admin_audit/lib/Actions/Files.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88
namespace OCA\AdminAudit\Actions;
99

10+
use OC\Files\Node\NonExistingFile;
1011
use OCP\Files\Events\Node\BeforeNodeReadEvent;
1112
use OCP\Files\Events\Node\BeforeNodeRenamedEvent;
1213
use OCP\Files\Events\Node\BeforeNodeWrittenEvent;
@@ -35,9 +36,10 @@ class Files extends Action {
3536
*/
3637
public function read(BeforeNodeReadEvent $event): void {
3738
try {
39+
$node = $event->getNode();
3840
$params = [
39-
'id' => $event->getNode()->getId(),
40-
'path' => mb_substr($event->getNode()->getInternalPath(), 5),
41+
'id' => $node instanceof NonExistingFile ? null : $node->getId(),
42+
'path' => mb_substr($node->getInternalPath(), 5),
4143
];
4244
} catch (InvalidPathException|NotFoundException $e) {
4345
\OCP\Server::get(LoggerInterface::class)->error(

apps/comments/l10n/hu.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ OC.L10N.register(
1010
"{author} commented on {file}" : "{author} hozzászólt ehhez: {file}",
1111
"<strong>Comments</strong> for files" : "<strong>Hozzászólások</strong> fájlokhoz",
1212
"Files" : "Fájlok",
13+
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Megemlítették ennél: „{file}”, egy már törölt fiók hozzászólásában",
1314
"{user} mentioned you in a comment on \"{file}\"" : "{user} megemlítette egy hozzászólásban ennél: „{file}”",
1415
"Files app plugin to add comments to files" : "A Fájlok alkalmazás bővítménye, amellyel megjegyzések adhatóak a fájlokhoz",
1516
"Edit comment" : "Hozzászólás szerkesztése",
1617
"Delete comment" : "Hozzászólás törlése",
1718
"Cancel edit" : "Változások elvetése",
19+
"New comment" : "Új hozzászólás",
20+
"Write a comment …" : "Hozzászólás írása…",
1821
"Post comment" : "Hozzászólás közzététele",
1922
"@ for mentions, : for emoji, / for smart picker" : "@ az említésekhez, : az emodzsikhoz, / az okos választóhoz",
2023
"Could not reload comments" : "Nem sikerült a megjegyzések újratöltése.",
@@ -30,6 +33,7 @@ OC.L10N.register(
3033
"An error occurred while trying to delete the comment" : "Hiba történt a megjegyzés törlése közben",
3134
"An error occurred while trying to create the comment" : "Hiba történt a megjegyzés létrehozása közben",
3235
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Megemlítették ennél: „{file}”, egy már törölt felhasználó hozzászólásában",
36+
"Write a message …" : "Üzenet írása…",
3337
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@” az említésekhez, „:” az emodzsikhoz, „/” az okos választához",
3438
"_%n unread comment_::_%n unread comments_" : ["%n olvasatlan hozzászólás","%n olvasatlan hozzászólás"]
3539
},

apps/comments/l10n/hu.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@
88
"{author} commented on {file}" : "{author} hozzászólt ehhez: {file}",
99
"<strong>Comments</strong> for files" : "<strong>Hozzászólások</strong> fájlokhoz",
1010
"Files" : "Fájlok",
11+
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Megemlítették ennél: „{file}”, egy már törölt fiók hozzászólásában",
1112
"{user} mentioned you in a comment on \"{file}\"" : "{user} megemlítette egy hozzászólásban ennél: „{file}”",
1213
"Files app plugin to add comments to files" : "A Fájlok alkalmazás bővítménye, amellyel megjegyzések adhatóak a fájlokhoz",
1314
"Edit comment" : "Hozzászólás szerkesztése",
1415
"Delete comment" : "Hozzászólás törlése",
1516
"Cancel edit" : "Változások elvetése",
17+
"New comment" : "Új hozzászólás",
18+
"Write a comment …" : "Hozzászólás írása…",
1619
"Post comment" : "Hozzászólás közzététele",
1720
"@ for mentions, : for emoji, / for smart picker" : "@ az említésekhez, : az emodzsikhoz, / az okos választóhoz",
1821
"Could not reload comments" : "Nem sikerült a megjegyzések újratöltése.",
@@ -28,6 +31,7 @@
2831
"An error occurred while trying to delete the comment" : "Hiba történt a megjegyzés törlése közben",
2932
"An error occurred while trying to create the comment" : "Hiba történt a megjegyzés létrehozása közben",
3033
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Megemlítették ennél: „{file}”, egy már törölt felhasználó hozzászólásában",
34+
"Write a message …" : "Üzenet írása…",
3135
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@” az említésekhez, „:” az emodzsikhoz, „/” az okos választához",
3236
"_%n unread comment_::_%n unread comments_" : ["%n olvasatlan hozzászólás","%n olvasatlan hozzászólás"]
3337
},"pluralForm" :"nplurals=2; plural=(n != 1);"

apps/dashboard/img/dashboard.svg

Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
SPDX-FileCopyrightText: 2018-2024 Google LLC
22
SPDX-License-Identifier: Apache-2.0
33

4-
Source: Material Symbols icon "dashboard"
4+
Source: Material Symbols icon "View Column"

apps/dav/appinfo/v2/publicremote.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use OC\Files\Storage\Wrapper\PermissionsMask;
1111
use OC\Files\View;
1212
use OCA\DAV\Storage\PublicOwnerWrapper;
13+
use OCA\DAV\Storage\PublicShareWrapper;
1314
use OCA\FederatedFileSharing\FederatedShareProvider;
1415
use OCP\EventDispatcher\IEventDispatcher;
1516
use OCP\Files\Mount\IMountManager;
@@ -98,6 +99,12 @@
9899
return new PublicOwnerWrapper(['storage' => $storage, 'owner' => $share->getShareOwner()]);
99100
});
100101

102+
// Ensure that also private shares have the `getShare` method
103+
/** @psalm-suppress MissingClosureParamType */
104+
Filesystem::addStorageWrapper('getShare', function ($mountPoint, $storage) use ($share) {
105+
return new PublicShareWrapper(['storage' => $storage, 'share' => $share]);
106+
}, 0);
107+
101108
/** @psalm-suppress InternalMethod */
102109
Filesystem::logWarningWhenAddingStorageWrapper($previousLog);
103110

apps/dav/composer/composer/autoload_classmap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@
353353
'OCA\\DAV\\SetupChecks\\NeedsSystemAddressBookSync' => $baseDir . '/../lib/SetupChecks/NeedsSystemAddressBookSync.php',
354354
'OCA\\DAV\\SetupChecks\\WebdavEndpoint' => $baseDir . '/../lib/SetupChecks/WebdavEndpoint.php',
355355
'OCA\\DAV\\Storage\\PublicOwnerWrapper' => $baseDir . '/../lib/Storage/PublicOwnerWrapper.php',
356+
'OCA\\DAV\\Storage\\PublicShareWrapper' => $baseDir . '/../lib/Storage/PublicShareWrapper.php',
356357
'OCA\\DAV\\SystemTag\\SystemTagList' => $baseDir . '/../lib/SystemTag/SystemTagList.php',
357358
'OCA\\DAV\\SystemTag\\SystemTagMappingNode' => $baseDir . '/../lib/SystemTag/SystemTagMappingNode.php',
358359
'OCA\\DAV\\SystemTag\\SystemTagNode' => $baseDir . '/../lib/SystemTag/SystemTagNode.php',

apps/dav/composer/composer/autoload_static.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ class ComposerStaticInitDAV
368368
'OCA\\DAV\\SetupChecks\\NeedsSystemAddressBookSync' => __DIR__ . '/..' . '/../lib/SetupChecks/NeedsSystemAddressBookSync.php',
369369
'OCA\\DAV\\SetupChecks\\WebdavEndpoint' => __DIR__ . '/..' . '/../lib/SetupChecks/WebdavEndpoint.php',
370370
'OCA\\DAV\\Storage\\PublicOwnerWrapper' => __DIR__ . '/..' . '/../lib/Storage/PublicOwnerWrapper.php',
371+
'OCA\\DAV\\Storage\\PublicShareWrapper' => __DIR__ . '/..' . '/../lib/Storage/PublicShareWrapper.php',
371372
'OCA\\DAV\\SystemTag\\SystemTagList' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagList.php',
372373
'OCA\\DAV\\SystemTag\\SystemTagMappingNode' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagMappingNode.php',
373374
'OCA\\DAV\\SystemTag\\SystemTagNode' => __DIR__ . '/..' . '/../lib/SystemTag/SystemTagNode.php',

0 commit comments

Comments
 (0)