Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
51d2289
Add trashbin migrator to export and import trashbin data
come-nc Mar 15, 2022
865ac4b
Rename $insert var to $qb
come-nc Mar 17, 2022
ee88887
Fixes the undefined index error with the DAV property getlastmodified
Maaxxs Mar 19, 2022
e0a5fe6
Fix typo.
Maaxxs Mar 20, 2022
53c731d
Rename PATH constants to show if folder or file
come-nc Mar 22, 2022
3a135f0
Set `mtime` to null instead of false if `getlastmodified` does not ex…
Maaxxs Mar 23, 2022
ecbcfca
Improve wording of output for trashbin migrator
come-nc Mar 24, 2022
6be7aa1
Migrate from ILogger to LoggerInterface in lib/private
come-nc Mar 17, 2022
eb961e4
Adapted Server to logger migration in constructors
come-nc Mar 17, 2022
ea23523
Adapt more code to migration to LoggerInterface
come-nc Mar 17, 2022
e8c1f75
Fixing psalm errors
come-nc Mar 21, 2022
61f7f13
Migrate from ILogger to LoggerInterface where needed in the tests
come-nc Mar 21, 2022
1809386
Fix codestyle
come-nc Mar 21, 2022
25e7374
Fix ILogger instances in application tests for core parameters
come-nc Mar 21, 2022
3546cfb
Fix more ILogger related problems from tests
come-nc Mar 21, 2022
f1febfe
Fix log level for exception in QueryBuilder
come-nc Mar 22, 2022
6d35459
Prepare for ILogger drop in RootCollectionTest
come-nc Mar 22, 2022
7fa8b2e
Add a guard to check that trashbin folder is a folder
come-nc Mar 24, 2022
c572286
Add oauth2_clients migration for Owncloud
artonge Dec 16, 2021
7dc3eb1
Use getLengthExpression to measure field length instead of like
come-nc Mar 24, 2022
efebbac
Add octetLength and charLength to function builder, and tests
come-nc Mar 24, 2022
bfd09a0
Avoid select with no FROM clause for Oracle in tests
come-nc Mar 24, 2022
25af856
Use OCTET_LENGTH which is more common than LENGTHB
come-nc Mar 24, 2022
e8122f2
show warning in update admin overview
szaimen Mar 11, 2022
7bcc183
Set max length to app token field to match backend
PVince81 Mar 25, 2022
de5af8e
invalidate mount cache after accepting or renaming federated share
icewind1991 Mar 25, 2022
13b7dfa
Merge pull request #31708 from nextcloud/enh/noid/apptoken-maxlength
Pytal Mar 25, 2022
5b42a64
Bump babel-loader from 8.2.3 to 8.2.4
dependabot[bot] Mar 26, 2022
08b72fe
Bump @testing-library/jest-dom from 5.16.2 to 5.16.3
dependabot[bot] Mar 26, 2022
ba1b20a
[tx-robot] updated from transifex
nextcloud-bot Mar 26, 2022
2e86f22
Merge pull request #31715 from nextcloud/dependabot/npm_and_yarn/babe…
dependabot[bot] Mar 26, 2022
b98824e
Bump minimist from 1.2.5 to 1.2.6
dependabot[bot] Mar 26, 2022
d715a22
Merge pull request #31722 from nextcloud/dependabot/npm_and_yarn/mini…
dependabot[bot] Mar 26, 2022
7407a32
Fix LENGTH function name across databases
come-nc Mar 27, 2022
53180f4
[tx-robot] updated from transifex
nextcloud-bot Mar 28, 2022
8038866
Add direct arg to login flow
PVince81 Jan 25, 2022
9db75db
Merge pull request #30276 from nextcloud/feature/add_oauth2_migration
artonge Mar 28, 2022
d116622
Bump @nextcloud/vue from 5.1.1 to 5.2.1
dependabot[bot] Mar 28, 2022
e72b82d
Merge pull request #31716 from nextcloud/dependabot/npm_and_yarn/next…
dependabot[bot] Mar 28, 2022
9509cb6
Bump jquery-migrate from 3.3.2 to 3.4.0
dependabot[bot] Mar 28, 2022
ee00656
migration generator also includes copyright section
blizzz Mar 28, 2022
427001b
Merge pull request #31717 from nextcloud/dependabot/npm_and_yarn/jque…
dependabot[bot] Mar 28, 2022
39494fb
Merge pull request #31718 from nextcloud/dependabot/npm_and_yarn/test…
artonge Mar 28, 2022
d31bc9f
Disable bulk upload by not advertising it
PVince81 Feb 14, 2022
e1e003f
Also comment out in test
nickvergessen Feb 15, 2022
4e11d7d
address reviews
szaimen Mar 25, 2022
8acefc9
Merge pull request #31537 from nextcloud/enh/31533/disable-webupdater…
szaimen Mar 28, 2022
2952c7d
Use the null coalescing operator to set the value of `size`.
Maaxxs Mar 28, 2022
c28a4c2
[tx-robot] updated from transifex
nextcloud-bot Mar 29, 2022
bdfc656
Merge pull request #31736 from nextcloud/bugfix/noid/disable-bulkupload
nickvergessen Mar 29, 2022
4a4f250
Merge pull request #31696 from nextcloud/fix/user_ldap-fix-migration-…
come-nc Mar 29, 2022
765999f
Merge pull request #31609 from nextcloud/fix/migrate-away-from-ilogger
come-nc Mar 29, 2022
262d22f
Merge pull request #31711 from nextcloud/mount-cache-external-share
PVince81 Mar 29, 2022
ae1a820
Fix user counts updates on user add/remove
Mar 7, 2022
7d2cb35
Merge pull request #31632 from Maaxxs/fix-undefined-index-dav
artonge Mar 29, 2022
93d0c60
Merge pull request #31697 from nextcloud/enh/27607/fix-user-count
artonge Mar 29, 2022
b984cd1
Merge pull request #31575 from nextcloud/enh/add-trashbin-migrator
come-nc Mar 29, 2022
9191ca4
Merge pull request #31735 from nextcloud/fix/noid/mig-generator-copyr…
come-nc Mar 29, 2022
576e4e8
Merge pull request #31592 from nextcloud/fix/direct-arg-flow-v2
PVince81 Mar 29, 2022
e4f1d41
Skip import of current calendar on error
Pytal Mar 24, 2022
cdb93e7
Show filename in output message
Pytal Mar 29, 2022
c57a001
Merge pull request #31690 from nextcloud/fix/throw-import-calendar-error
Pytal Mar 30, 2022
cf4c77e
[tx-robot] updated from transifex
nextcloud-bot Mar 30, 2022
86821dd
Increase check if support reactions
vitormattos Mar 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/accessibility/l10n/ru.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/accessibility/l10n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"Accessibility options for nextcloud" : "Настройки доступности для Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Предлагает дополнительные настройки для упрощения использования Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Доступная среда очень важна для нас. При разработке мы следуем веб-стандартам, контролируя возможность пользования всем сервисом без помощи мыши и с использованием вспомогательных программ, например, выполняющих чтение с экрана. Мы стремимся к выполнению рекомендаций {guidelines}Руководства доступности Веб-Контента{linkend} 2.1 на уровне АА, а при использовании режима высокой контрастности — даже на уровне ААА.",
"If you find any issues, don’t hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "При обнаружении ошибок, не стесняйтесь сообщать о них {issuetracker}на наш форум{linkend}. Если Вы заинтересованы в продвижении проекта присоединяйтесь к {designteam}команде дизайнеров{linkend}!"
"If you find any issues, don’t hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "При обнаружении ошибок, не стесняйтесь сообщать о них {issuetracker}на наш форум{linkend}. Если Вы заинтересованы в продвижении проекта присоединяйтесь к {designteam}нашей команде дизайнеров{linkend}!"
},"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"
}
1 change: 1 addition & 0 deletions apps/dashboard/l10n/el.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ OC.L10N.register(
{
"Dashboard" : "Πίνακας ελέγχου",
"Dashboard app" : "Εφαρμογή Πίνακα Ελέγχου",
"Start your day informed\n\nThe Nextcloud Dashboard is your starting point of the day, giving you an\noverview of your upcoming appointments, urgent emails, chat messages,\nincoming tickets, latest tweets and much more! Users can add the widgets\nthey like and change the background to their liking." : "Ξεκινήστε τη μέρα σας ενημερωμένοι\n\nΤο Nextcloud Dashboard είναι το σημείο εκκίνησης της ημέρας, δίνοντάς σας μια επισκόπηση των επερχόμενων ραντεβού, των επειγόντων email, των μηνυμάτων συνομιλίας, και πολλά άλλα!\nΟι χρήστες μπορούν να προσθέσουν μικροεφαρμογές και να αλλάζουν το φόντο σύμφωνα με τις προτιμήσεις τους.",
"Customize" : "Προσαρμογή",
"Edit widgets" : "Επεξεργασία μικροεφαρμογών",
"Get more widgets from the App Store" : "Λάβετε περισσότερες μικροεφαρμογές από το App Store",
Expand Down
1 change: 1 addition & 0 deletions apps/dashboard/l10n/el.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ "translations": {
"Dashboard" : "Πίνακας ελέγχου",
"Dashboard app" : "Εφαρμογή Πίνακα Ελέγχου",
"Start your day informed\n\nThe Nextcloud Dashboard is your starting point of the day, giving you an\noverview of your upcoming appointments, urgent emails, chat messages,\nincoming tickets, latest tweets and much more! Users can add the widgets\nthey like and change the background to their liking." : "Ξεκινήστε τη μέρα σας ενημερωμένοι\n\nΤο Nextcloud Dashboard είναι το σημείο εκκίνησης της ημέρας, δίνοντάς σας μια επισκόπηση των επερχόμενων ραντεβού, των επειγόντων email, των μηνυμάτων συνομιλίας, και πολλά άλλα!\nΟι χρήστες μπορούν να προσθέσουν μικροεφαρμογές και να αλλάζουν το φόντο σύμφωνα με τις προτιμήσεις τους.",
"Customize" : "Προσαρμογή",
"Edit widgets" : "Επεξεργασία μικροεφαρμογών",
"Get more widgets from the App Store" : "Λάβετε περισσότερες μικροεφαρμογές από το App Store",
Expand Down
3 changes: 2 additions & 1 deletion apps/dav/lib/Capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public function getCapabilities() {
return [
'dav' => [
'chunking' => '1.0',
'bulkupload' => '1.0',
// disabled because of https://github.com/nextcloud/desktop/issues/4243
// 'bulkupload' => '1.0',
]
];
}
Expand Down
37 changes: 22 additions & 15 deletions apps/dav/lib/UserMigration/CalendarMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,10 @@ private function initCalendarObject(): VCalendar {
return $vCalendarObject;
}

private function importCalendarObject(int $calendarId, VCalendar $vCalendarObject, OutputInterface $output): void {
/**
* @throws InvalidCalendarException
*/
private function importCalendarObject(int $calendarId, VCalendar $vCalendarObject, string $filename, OutputInterface $output): void {
try {
$this->calDavBackend->createCalendarObject(
$calendarId,
Expand All @@ -327,14 +330,14 @@ private function importCalendarObject(int $calendarId, VCalendar $vCalendarObjec
CalDavBackend::CALENDAR_TYPE_CALENDAR,
);
} catch (Throwable $e) {
// Rollback creation of calendar on error
$output->writeln('Error creating calendar object, rolling back creation of calendar…');
$output->writeln("Error creating calendar object, rolling back creation of \"$filename\" calendar…");
$this->calDavBackend->deleteCalendar($calendarId, true);
throw new InvalidCalendarException();
}
}

/**
* @throws CalendarMigratorException
* @throws InvalidCalendarException
*/
private function importCalendar(IUser $user, string $filename, string $initialCalendarUri, VCalendar $vCalendar, OutputInterface $output): void {
$principalUri = $this->getPrincipalUri($user);
Expand Down Expand Up @@ -392,7 +395,7 @@ function (array $componentNames, VObjectComponent $component) {
$vCalendarObject->add($component);
}
}
$this->importCalendarObject($calendarId, $vCalendarObject, $output);
$this->importCalendarObject($calendarId, $vCalendarObject, $filename, $output);
}

foreach ($ungroupedCalendarComponents as $component) {
Expand All @@ -401,7 +404,7 @@ function (array $componentNames, VObjectComponent $component) {
foreach ($this->getRequiredImportComponents($vCalendar, $component) as $component) {
$vCalendarObject->add($component);
}
$this->importCalendarObject($calendarId, $vCalendarObject, $output);
$this->importCalendarObject($calendarId, $vCalendarObject, $filename, $output);
}
}

Expand Down Expand Up @@ -446,15 +449,19 @@ public function import(IUser $user, IImportSource $importSource, OutputInterface
}
[$initialCalendarUri, $suffix] = $splitFilename;

$this->importCalendar(
$user,
$filename,
$initialCalendarUri,
$vCalendar,
$output,
);

$vCalendar->destroy();
try {
$this->importCalendar(
$user,
$filename,
$initialCalendarUri,
$vCalendar,
$output,
);
} catch (InvalidCalendarException $e) {
// Allow this exception to skip a failed import
} finally {
$vCalendar->destroy();
}
}
}
}
3 changes: 2 additions & 1 deletion apps/dav/tests/unit/CapabilitiesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public function testGetCapabilities() {
$expected = [
'dav' => [
'chunking' => '1.0',
'bulkupload' => '1.0',
// disabled because of https://github.com/nextcloud/desktop/issues/4243
// 'bulkupload' => '1.0',
],
];
$this->assertSame($expected, $capabilities->getCapabilities());
Expand Down
8 changes: 4 additions & 4 deletions apps/dav/tests/unit/Comments/RootCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class RootCollectionTest extends \Test\TestCase {
protected $commentsManager;
/** @var \OCP\IUserManager|\PHPUnit\Framework\MockObject\MockObject */
protected $userManager;
/** @var \OCP\ILogger|\PHPUnit\Framework\MockObject\MockObject */
/** @var LoggerInterface|\PHPUnit\Framework\MockObject\MockObject */
protected $logger;
/** @var \OCA\DAV\Comments\RootCollection */
protected $collection;
Expand All @@ -70,14 +70,14 @@ protected function setUp(): void {
$this->userSession = $this->getMockBuilder(IUserSession::class)
->disableOriginalConstructor()
->getMock();
$this->logger = $this->getMockBuilder(ILogger::class)
$this->logger = $this->getMockBuilder(LoggerInterface::class)
->disableOriginalConstructor()
->getMock();
$this->dispatcher = new SymfonyAdapter(
new EventDispatcher(
new \Symfony\Component\EventDispatcher\EventDispatcher(),
\OC::$server,
$this->createMock(LoggerInterface::class)
$this->logger
),
$this->logger
);
Expand All @@ -87,7 +87,7 @@ protected function setUp(): void {
$this->userManager,
$this->userSession,
$this->dispatcher,
$this->logger
$this->createMock(ILogger::class)
);
}

Expand Down
Loading