Skip to content

Commit

Permalink
Merge branch 'master' into auth-token-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
lhsazevedo committed Aug 28, 2023
2 parents cc912c3 + fc3eef9 commit 79bc6ba
Show file tree
Hide file tree
Showing 529 changed files with 4,617 additions and 5,141 deletions.
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
/apps/oauth2/appinfo/info.xml @julien-nc @ChristophWurst
/apps/provisioning_api/appinfo/info.xml @provokateurin @nickvergessen
/apps/settings/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/sharebymail/appinfo/info.xml @Altahrim
/apps/systemtags/appinfo/info.xml @Antreesy @marcelklehr
/apps/theming/appinfo/info.xml @skjnldsv @juliushaertl
/apps/twofactor_backupcodes/appinfo/info.xml @st3iny @miaulalala @ChristophWurst
Expand All @@ -36,6 +37,10 @@
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen @st3iny
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen @st3iny

# Limit login to IP
# Watch login routes for https://github.com/nextcloud/limit_login_to_ip
/core/routes.php @Altahrim

# OpenAPI
openapi.json @provokateurin
ResponseDefinitions.php @provokateurin
Expand Down
14 changes: 7 additions & 7 deletions apps/dav/l10n/uk.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ OC.L10N.register(
"You deleted to-do {todo} from list {calendar}" : "Ви вилучили завдання {todo} зі списку {calendar}",
"{actor} updated to-do {todo} in list {calendar}" : "{actor} оновив(-ла) завдання {todo} у списку {calendar}",
"You updated to-do {todo} in list {calendar}" : "Ви оновили завдання {todo} у списку {calendar}",
"{actor} solved to-do {todo} in list {calendar}" : "{actor} вирішив(-ла) завдання {todo} у списку {calendar}",
"You solved to-do {todo} in list {calendar}" : "Ви вирішили завдання {todo} у списку {calendar}",
"{actor} solved to-do {todo} in list {calendar}" : "{actor} виконав(-ла) завдання {todo} зі списку {calendar}",
"You solved to-do {todo} in list {calendar}" : "Ви виконали завдання {todo} зі списку {calendar}",
"{actor} reopened to-do {todo} in list {calendar}" : "{actor} знову відкрив(-ла) завдання у списку {calendar}",
"You reopened to-do {todo} in list {calendar}" : "Ви знову відкрили завдання {todo} зі списку {calendar}",
"{actor} moved to-do {todo} from list {sourceCalendar} to list {targetCalendar}" : "{actor} перемістив(-ла) завдання {todo} зі списку {sourceCalendar} до списку {targetCalendar}",
Expand Down Expand Up @@ -154,7 +154,7 @@ OC.L10N.register(
"WebDAV" : "WebDAV",
"WebDAV endpoint" : "Точка доступу WebDAV",
"Availability" : "Доступність",
"If you configure your working hours, other users will see when you are out of office when they book a meeting." : "Якщо ви налаштуєте свій робочий час, інші користувачі побачать, коли вас немає на місці, коли вони бронюють зустріч.",
"If you configure your working hours, other users will see when you are out of office when they book a meeting." : "Будь ласка, налаштуйте ваш робочий час, щоби інші користувачі могли бачити, коли ви відсутні під час бронювання зустрічей.",
"Time zone:" : "Часовий пояс:",
"to" : "до",
"Delete slot" : "Вилучити діапазон",
Expand All @@ -167,17 +167,17 @@ OC.L10N.register(
"Friday" : "П'ятниця",
"Saturday" : "Субота",
"Sunday" : "Неділя",
"Automatically set user status to \"Do not disturb\" outside of availability to mute all notifications." : "Автоматично встановлюйте статус користувача на \"Не турбувати\", коли ви не доступні, щоб вимкнути усі сповіщення.",
"Automatically set user status to \"Do not disturb\" outside of availability to mute all notifications." : "Автоматично встановлювати статус користувача у \"Не турбувати\", коли ви не доступні. В цей проміжок часу ви не отримуватимете сповіщення.",
"Save" : "Зберегти",
"Failed to load availability" : "Не вдалося завантажити доступність",
"Saved availability" : "Збережена наявність",
"Failed to save availability" : "Не вдалося зберегти наявність",
"Calendar server" : "Календар",
"Send invitations to attendees" : "Надіслати запрошення учасникам",
"Automatically generate a birthday calendar" : "Автоматично згенерувати календар днів народження",
"Send invitations to attendees" : "Надсилати запрошення учасникам",
"Automatically generate a birthday calendar" : "Автоматично створити календар днів народження",
"Birthday calendars will be generated by a background job." : "Календар днів народження буде згенеровано у фоновому завданні.",
"Hence they will not be available immediately after enabling but will show up after some time." : "Отже вони не будуть доступні одразу після увімкнення, але з'являться згодом.",
"Send notifications for events" : "Відправити сповіщення для подій",
"Send notifications for events" : "Надсилати сповіщення про події",
"Notifications are sent via background jobs, so these must occur often enough." : "Сповіщення надсилаються у фонових завданнях, тож вони мають запускатися достатньо часто.",
"Send reminder notifications to calendar sharees as well" : "Також надсилайте нагадування користувачам вашого спільного календаря",
"Reminders are always sent to organizers and attendees." : "Нагадування завжди надсилаються організаторам і учасникам.",
Expand Down
14 changes: 7 additions & 7 deletions apps/dav/l10n/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"You deleted to-do {todo} from list {calendar}" : "Ви вилучили завдання {todo} зі списку {calendar}",
"{actor} updated to-do {todo} in list {calendar}" : "{actor} оновив(-ла) завдання {todo} у списку {calendar}",
"You updated to-do {todo} in list {calendar}" : "Ви оновили завдання {todo} у списку {calendar}",
"{actor} solved to-do {todo} in list {calendar}" : "{actor} вирішив(-ла) завдання {todo} у списку {calendar}",
"You solved to-do {todo} in list {calendar}" : "Ви вирішили завдання {todo} у списку {calendar}",
"{actor} solved to-do {todo} in list {calendar}" : "{actor} виконав(-ла) завдання {todo} зі списку {calendar}",
"You solved to-do {todo} in list {calendar}" : "Ви виконали завдання {todo} зі списку {calendar}",
"{actor} reopened to-do {todo} in list {calendar}" : "{actor} знову відкрив(-ла) завдання у списку {calendar}",
"You reopened to-do {todo} in list {calendar}" : "Ви знову відкрили завдання {todo} зі списку {calendar}",
"{actor} moved to-do {todo} from list {sourceCalendar} to list {targetCalendar}" : "{actor} перемістив(-ла) завдання {todo} зі списку {sourceCalendar} до списку {targetCalendar}",
Expand Down Expand Up @@ -152,7 +152,7 @@
"WebDAV" : "WebDAV",
"WebDAV endpoint" : "Точка доступу WebDAV",
"Availability" : "Доступність",
"If you configure your working hours, other users will see when you are out of office when they book a meeting." : "Якщо ви налаштуєте свій робочий час, інші користувачі побачать, коли вас немає на місці, коли вони бронюють зустріч.",
"If you configure your working hours, other users will see when you are out of office when they book a meeting." : "Будь ласка, налаштуйте ваш робочий час, щоби інші користувачі могли бачити, коли ви відсутні під час бронювання зустрічей.",
"Time zone:" : "Часовий пояс:",
"to" : "до",
"Delete slot" : "Вилучити діапазон",
Expand All @@ -165,17 +165,17 @@
"Friday" : "П'ятниця",
"Saturday" : "Субота",
"Sunday" : "Неділя",
"Automatically set user status to \"Do not disturb\" outside of availability to mute all notifications." : "Автоматично встановлюйте статус користувача на \"Не турбувати\", коли ви не доступні, щоб вимкнути усі сповіщення.",
"Automatically set user status to \"Do not disturb\" outside of availability to mute all notifications." : "Автоматично встановлювати статус користувача у \"Не турбувати\", коли ви не доступні. В цей проміжок часу ви не отримуватимете сповіщення.",
"Save" : "Зберегти",
"Failed to load availability" : "Не вдалося завантажити доступність",
"Saved availability" : "Збережена наявність",
"Failed to save availability" : "Не вдалося зберегти наявність",
"Calendar server" : "Календар",
"Send invitations to attendees" : "Надіслати запрошення учасникам",
"Automatically generate a birthday calendar" : "Автоматично згенерувати календар днів народження",
"Send invitations to attendees" : "Надсилати запрошення учасникам",
"Automatically generate a birthday calendar" : "Автоматично створити календар днів народження",
"Birthday calendars will be generated by a background job." : "Календар днів народження буде згенеровано у фоновому завданні.",
"Hence they will not be available immediately after enabling but will show up after some time." : "Отже вони не будуть доступні одразу після увімкнення, але з'являться згодом.",
"Send notifications for events" : "Відправити сповіщення для подій",
"Send notifications for events" : "Надсилати сповіщення про події",
"Notifications are sent via background jobs, so these must occur often enough." : "Сповіщення надсилаються у фонових завданнях, тож вони мають запускатися достатньо часто.",
"Send reminder notifications to calendar sharees as well" : "Також надсилайте нагадування користувачам вашого спільного календаря",
"Reminders are always sent to organizers and attendees." : "Нагадування завжди надсилаються організаторам і учасникам.",
Expand Down
9 changes: 3 additions & 6 deletions apps/dav/lib/Command/SyncSystemAddressBook.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,18 @@
namespace OCA\DAV\Command;

use OCA\DAV\CardDAV\SyncService;
use OCP\IConfig;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

class SyncSystemAddressBook extends Command {

/** @var SyncService */
private $syncService;

/**
* @param SyncService $syncService
*/
public function __construct(SyncService $syncService) {
public function __construct(private SyncService $syncService, private IConfig $config) {
parent::__construct();
$this->syncService = $syncService;
}

protected function configure() {
Expand All @@ -62,6 +58,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int

$progress->finish();
$output->writeln('');
$this->config->setAppValue('dav', 'needs_system_address_book_sync', 'no');
return 0;
}
}
21 changes: 14 additions & 7 deletions apps/dav/lib/Migration/Version1027Date20230504122946.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
use Closure;
use OCA\DAV\CardDAV\SyncService;
use OCP\DB\ISchemaWrapper;
use OCP\IConfig;
use OCP\IUserManager;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
use Psr\Container\ContainerExceptionInterface;
Expand All @@ -37,22 +39,27 @@
use Throwable;

class Version1027Date20230504122946 extends SimpleMigrationStep {
private SyncService $syncService;
private LoggerInterface $logger;

public function __construct(SyncService $syncService, LoggerInterface $logger) {
$this->syncService = $syncService;
$this->logger = $logger;
}
public function __construct(private SyncService $syncService,
private LoggerInterface $logger,
private IUserManager $userManager,
private IConfig $config) {}
/**
* @param IOutput $output
* @param Closure(): ISchemaWrapper $schemaClosure
* @param array $options
*/
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void {
if($this->userManager->countUsers() > 1000) {
$this->config->setAppValue('dav', 'needs_system_address_book_sync', 'yes');
$output->info('Could not sync system address books during update - too many user records have been found. Please call occ dav:sync-system-addressbook manually.');
return;
}

try {
$this->syncService->syncInstance();
$this->config->setAppValue('dav', 'needs_system_address_book_sync', 'no');
} catch (Throwable $e) {
$this->config->setAppValue('dav', 'needs_system_address_book_sync', 'yes');
$this->logger->error('Could not sync system address books during update', [
'exception' => $e,
]);
Expand Down
2 changes: 1 addition & 1 deletion apps/federatedfilesharing/l10n/uk.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ OC.L10N.register(
"Cancel" : "Скасувати",
"Add remote share" : "Додати віддалений каталог",
"Invalid Federated Cloud ID" : "Неправильний Об'єднаний Хмарний Ідентіфікатор ",
"Server to server sharing is not enabled on this server" : "На даному сервері вимкнута можливість передачі даних між серверами",
"Server to server sharing is not enabled on this server" : "На цьому сервері вимкнута можливість передавання даних між серверами",
"Couldn't establish a federated share." : "Не вдалося встановити об’єднаний спільний доступ.",
"Couldn't establish a federated share, maybe the password was wrong." : "Не вдалося встановити спільний доступ до об'єднаної хмари, можливо, пароль неправильний.",
"Federated Share request sent, you will receive an invitation. Check your notifications." : "Запит на Federated Share надіслано, ви отримаєте запрошення. Перевірте сповіщення.",
Expand Down
2 changes: 1 addition & 1 deletion apps/federatedfilesharing/l10n/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Cancel" : "Скасувати",
"Add remote share" : "Додати віддалений каталог",
"Invalid Federated Cloud ID" : "Неправильний Об'єднаний Хмарний Ідентіфікатор ",
"Server to server sharing is not enabled on this server" : "На даному сервері вимкнута можливість передачі даних між серверами",
"Server to server sharing is not enabled on this server" : "На цьому сервері вимкнута можливість передавання даних між серверами",
"Couldn't establish a federated share." : "Не вдалося встановити об’єднаний спільний доступ.",
"Couldn't establish a federated share, maybe the password was wrong." : "Не вдалося встановити спільний доступ до об'єднаної хмари, можливо, пароль неправильний.",
"Federated Share request sent, you will receive an invitation. Check your notifications." : "Запит на Federated Share надіслано, ви отримаєте запрошення. Перевірте сповіщення.",
Expand Down
2 changes: 2 additions & 0 deletions apps/files/l10n/ar.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ OC.L10N.register(
"An unknown error has occurred" : "حدث خطأ غير معروف",
"File could not be uploaded" : "لا يمكن تحميل الملف ",
"Uploading …" : "جاري الرفع...",
"{remainingTime} ({currentNumber}/{total})" : "{remainingTime} ({currentNumber}/{total})",
"Uploading … ({currentNumber}/{total})" : "التحديث جارٍ … ({currentNumber}/{total})",
"{loadedSize} of {totalSize} ({bitrate})" : "{loadedSize} من {totalSize} ({bitrate})",
"Uploading that item is not supported" : "رفع هذا النوع الملفات غير مدعوم",
"Target folder does not exist any more" : "المجلد المراد غير موجود بعد الان",
Expand Down
2 changes: 2 additions & 0 deletions apps/files/l10n/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"An unknown error has occurred" : "حدث خطأ غير معروف",
"File could not be uploaded" : "لا يمكن تحميل الملف ",
"Uploading …" : "جاري الرفع...",
"{remainingTime} ({currentNumber}/{total})" : "{remainingTime} ({currentNumber}/{total})",
"Uploading … ({currentNumber}/{total})" : "التحديث جارٍ … ({currentNumber}/{total})",
"{loadedSize} of {totalSize} ({bitrate})" : "{loadedSize} من {totalSize} ({bitrate})",
"Uploading that item is not supported" : "رفع هذا النوع الملفات غير مدعوم",
"Target folder does not exist any more" : "المجلد المراد غير موجود بعد الان",
Expand Down
4 changes: 4 additions & 0 deletions apps/files/l10n/ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ OC.L10N.register(
"An unknown error has occurred" : "S'ha produït un error desconegut",
"File could not be uploaded" : "No s'ha pogut pujar el fitxer",
"Uploading …" : "S'està pujant…",
"{remainingTime} ({currentNumber}/{total})" : "{remainingTime} ({currentNumber}/{total})",
"Uploading … ({currentNumber}/{total})" : "S'està pujant… ({currentNumber}/{total})",
"{loadedSize} of {totalSize} ({bitrate})" : "{loadedSize} de {totalSize} ({bitrate})",
"Uploading that item is not supported" : "No s'admet la pujada aquest element",
"Target folder does not exist any more" : "La carpeta de destinació ja no existeix",
Expand Down Expand Up @@ -175,6 +177,7 @@ OC.L10N.register(
"Rename file" : "Canvia el nom del fitxer",
"File name" : "Nom del fitxer",
"A long time ago" : "Fa molt de temps",
"This node is unavailable" : "Aquest node no està disponible",
"Download file {name}" : "Baixa el fitxer {name}",
"\"{displayName}\" action executed successfully" : "L'acció «{displayName}» s'ha executat correctament",
"\"{displayName}\" action failed" : "S'ha produït un error en l'acció «{displayName}»",
Expand Down Expand Up @@ -252,6 +255,7 @@ OC.L10N.register(
"No favorites yet" : "Encara no teniu preferits",
"Files and folders you mark as favorite will show up here" : "Els fitxers i les carpetes que marqueu com a preferits es mostraran aquí",
"All files" : "Tots els fitxers",
"List of your files and folders." : "Llista dels vostres fitxers i carpetes.",
"List of recently modified files and folders." : "Llista de fitxers i carpetes modificats recentment.",
"No recently modified files" : "No hi ha cap fitxer modificat recentment",
"Files and folders you recently modified will show up here." : "Els fitxers i les carpetes que heu modificat recentment es mostraran aquí",
Expand Down
Loading

0 comments on commit 79bc6ba

Please sign in to comment.