Compare commits
1 Commits
dependabot
...
get-cards-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce5faf05ab |
8
composer.lock
generated
8
composer.lock
generated
@@ -380,12 +380,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nextcloud-deps/ocp.git",
|
||||
"reference": "1baa9849e11228754ed6027612e4e140cb855185"
|
||||
"reference": "c2c75ad8fdc54cbc6341764b5a2a8ecf860e6160"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/1baa9849e11228754ed6027612e4e140cb855185",
|
||||
"reference": "1baa9849e11228754ed6027612e4e140cb855185",
|
||||
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/c2c75ad8fdc54cbc6341764b5a2a8ecf860e6160",
|
||||
"reference": "c2c75ad8fdc54cbc6341764b5a2a8ecf860e6160",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -421,7 +421,7 @@
|
||||
"issues": "https://github.com/nextcloud-deps/ocp/issues",
|
||||
"source": "https://github.com/nextcloud-deps/ocp/tree/master"
|
||||
},
|
||||
"time": "2025-08-22T00:50:40+00:00"
|
||||
"time": "2025-08-10T01:01:23+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nikic/php-parser",
|
||||
|
||||
22
l10n/be.js
22
l10n/be.js
@@ -1,9 +1,6 @@
|
||||
OC.L10N.register(
|
||||
"deck",
|
||||
{
|
||||
"The file was uploaded" : "Файл быў запампаваны.",
|
||||
"The file was only partially uploaded" : "Файл быў запампаваны толькі часткова",
|
||||
"No file was uploaded" : "Ніводзін файл не быў запампаваны",
|
||||
"Missing a temporary folder" : "Адсутнічае часовая папка",
|
||||
"Could not write file to disk" : "Не ўдалося запісаць файл на дыск",
|
||||
"A PHP extension stopped the file upload" : "Пашырэнне PHP спыніла запампоўванне файла",
|
||||
@@ -11,39 +8,22 @@ OC.L10N.register(
|
||||
"Done" : "Гатова",
|
||||
"File" : "Файл",
|
||||
"Cancel" : "Скасаваць",
|
||||
"File already exists" : "Файл ужо існуе",
|
||||
"A file with the name {filename} already exists." : "Файл з назвай {filename} ужо існуе.",
|
||||
"Do you want to overwrite it?" : "Хочаце перазапісаць яго?",
|
||||
"Overwrite file" : "Перазапісаць файл",
|
||||
"Keep existing file" : "Пакінуць існуючы файл",
|
||||
"Active filters" : "Актыўныя фільтры",
|
||||
"Apply filter" : "Ужыць фільтр",
|
||||
"Open" : "Адкрыць",
|
||||
"Clear filter" : "Ачысціць фільтр",
|
||||
"Open details" : "Адкрыць падрабязнасці",
|
||||
"Details" : "Падрабязнасці",
|
||||
"Sharing" : "Абагульванне",
|
||||
"Tags" : "Тэгі",
|
||||
"Activity" : "Актыўнасць",
|
||||
"Undo" : "Адрабіць",
|
||||
"Transfer" : "Перадаць",
|
||||
"(Group)" : "(Група)",
|
||||
"Can edit" : "Можа рэдагаваць",
|
||||
"Can share" : "Можа абагульваць",
|
||||
"Owner" : "Уладальнік",
|
||||
"Delete" : "Выдаліць",
|
||||
"Edit" : "Рэдагаваць",
|
||||
"Members" : "Удзельнікі",
|
||||
"Show in Files" : "Паказаць у Файлах",
|
||||
"Download" : "Спампаваць",
|
||||
"Modified" : "Зменены",
|
||||
"Comments" : "Каментарыі",
|
||||
"Save" : "Захаваць",
|
||||
"Created:" : "Створана:",
|
||||
"Reply" : "Адказаць",
|
||||
"Update" : "Абнавіць",
|
||||
"Description" : "Апісанне",
|
||||
"(group)" : "(група)",
|
||||
"Open link" : "Адкрыць спасылку",
|
||||
"seconds ago" : "с таму",
|
||||
"Keyboard shortcuts" : "Спалучэнні клавіш",
|
||||
@@ -51,10 +31,8 @@ OC.L10N.register(
|
||||
"Action" : "Дзеянне",
|
||||
"Search" : "Пошук",
|
||||
"Shared with you" : "Абагулена з вамі",
|
||||
"Cancel edit" : "Скасаваць рэдагаванне",
|
||||
"An error occurred" : "Узнікла памылка",
|
||||
"No notifications" : "Няма апавяшчэнняў",
|
||||
"Export" : "Экспарт",
|
||||
"Today" : "Сёння",
|
||||
"Close" : "Закрыць",
|
||||
"Share" : "Абагуліць"
|
||||
|
||||
22
l10n/be.json
22
l10n/be.json
@@ -1,7 +1,4 @@
|
||||
{ "translations": {
|
||||
"The file was uploaded" : "Файл быў запампаваны.",
|
||||
"The file was only partially uploaded" : "Файл быў запампаваны толькі часткова",
|
||||
"No file was uploaded" : "Ніводзін файл не быў запампаваны",
|
||||
"Missing a temporary folder" : "Адсутнічае часовая папка",
|
||||
"Could not write file to disk" : "Не ўдалося запісаць файл на дыск",
|
||||
"A PHP extension stopped the file upload" : "Пашырэнне PHP спыніла запампоўванне файла",
|
||||
@@ -9,39 +6,22 @@
|
||||
"Done" : "Гатова",
|
||||
"File" : "Файл",
|
||||
"Cancel" : "Скасаваць",
|
||||
"File already exists" : "Файл ужо існуе",
|
||||
"A file with the name {filename} already exists." : "Файл з назвай {filename} ужо існуе.",
|
||||
"Do you want to overwrite it?" : "Хочаце перазапісаць яго?",
|
||||
"Overwrite file" : "Перазапісаць файл",
|
||||
"Keep existing file" : "Пакінуць існуючы файл",
|
||||
"Active filters" : "Актыўныя фільтры",
|
||||
"Apply filter" : "Ужыць фільтр",
|
||||
"Open" : "Адкрыць",
|
||||
"Clear filter" : "Ачысціць фільтр",
|
||||
"Open details" : "Адкрыць падрабязнасці",
|
||||
"Details" : "Падрабязнасці",
|
||||
"Sharing" : "Абагульванне",
|
||||
"Tags" : "Тэгі",
|
||||
"Activity" : "Актыўнасць",
|
||||
"Undo" : "Адрабіць",
|
||||
"Transfer" : "Перадаць",
|
||||
"(Group)" : "(Група)",
|
||||
"Can edit" : "Можа рэдагаваць",
|
||||
"Can share" : "Можа абагульваць",
|
||||
"Owner" : "Уладальнік",
|
||||
"Delete" : "Выдаліць",
|
||||
"Edit" : "Рэдагаваць",
|
||||
"Members" : "Удзельнікі",
|
||||
"Show in Files" : "Паказаць у Файлах",
|
||||
"Download" : "Спампаваць",
|
||||
"Modified" : "Зменены",
|
||||
"Comments" : "Каментарыі",
|
||||
"Save" : "Захаваць",
|
||||
"Created:" : "Створана:",
|
||||
"Reply" : "Адказаць",
|
||||
"Update" : "Абнавіць",
|
||||
"Description" : "Апісанне",
|
||||
"(group)" : "(група)",
|
||||
"Open link" : "Адкрыць спасылку",
|
||||
"seconds ago" : "с таму",
|
||||
"Keyboard shortcuts" : "Спалучэнні клавіш",
|
||||
@@ -49,10 +29,8 @@
|
||||
"Action" : "Дзеянне",
|
||||
"Search" : "Пошук",
|
||||
"Shared with you" : "Абагулена з вамі",
|
||||
"Cancel edit" : "Скасаваць рэдагаванне",
|
||||
"An error occurred" : "Узнікла памылка",
|
||||
"No notifications" : "Няма апавяшчэнняў",
|
||||
"Export" : "Экспарт",
|
||||
"Today" : "Сёння",
|
||||
"Close" : "Закрыць",
|
||||
"Share" : "Абагуліць"
|
||||
|
||||
@@ -124,7 +124,6 @@ OC.L10N.register(
|
||||
"This comment has more than %s characters.\nAdded as an attachment to the card with name %s.\nAccessible on URL: %s." : "Ez a megjegyzés több mint %s karakter hosszú.\nMellékletként lett hozzáadva a(z) %s nevű kártyához.\nEzen az URL-en érhető el: %s.",
|
||||
"Attachments" : "Mellékletek",
|
||||
"File" : "Fájl",
|
||||
"date" : "dátum",
|
||||
"Card not found" : "A kártya nem található",
|
||||
"Path is already shared with this card" : "Az útvonal már meg van osztva ezzel a kártyával",
|
||||
"Invalid date, date format must be YYYY-MM-DD" : "Érvénytelen dátum, a dátumnak YYYY-MM-DD formátumúnak kell lennie",
|
||||
@@ -240,7 +239,6 @@ OC.L10N.register(
|
||||
"Modified" : "Módosítva",
|
||||
"Created" : "Létrehozva",
|
||||
"The title cannot be empty." : "A cím nem lehet üres.",
|
||||
"Cannot close unsaved card!" : "A mentetlen kártya nem zárható be!",
|
||||
"Open in sidebar view" : "Oldalsáv nézet megnyitása",
|
||||
"Open in bigger view" : "Megtekintés nagyobb nézetben",
|
||||
"Comments" : "Hozzászólások",
|
||||
@@ -255,7 +253,6 @@ OC.L10N.register(
|
||||
"Reply" : "Válasz",
|
||||
"Update" : "Frissítés",
|
||||
"Write a description …" : "Leírás megadása…",
|
||||
"Could not save description" : "A leírás mentése sikertelen",
|
||||
"Description" : "Leírás",
|
||||
"(Unsaved)" : "(Nem mentett)",
|
||||
"(Saving…)" : "(Mentés…)",
|
||||
|
||||
@@ -122,7 +122,6 @@
|
||||
"This comment has more than %s characters.\nAdded as an attachment to the card with name %s.\nAccessible on URL: %s." : "Ez a megjegyzés több mint %s karakter hosszú.\nMellékletként lett hozzáadva a(z) %s nevű kártyához.\nEzen az URL-en érhető el: %s.",
|
||||
"Attachments" : "Mellékletek",
|
||||
"File" : "Fájl",
|
||||
"date" : "dátum",
|
||||
"Card not found" : "A kártya nem található",
|
||||
"Path is already shared with this card" : "Az útvonal már meg van osztva ezzel a kártyával",
|
||||
"Invalid date, date format must be YYYY-MM-DD" : "Érvénytelen dátum, a dátumnak YYYY-MM-DD formátumúnak kell lennie",
|
||||
@@ -238,7 +237,6 @@
|
||||
"Modified" : "Módosítva",
|
||||
"Created" : "Létrehozva",
|
||||
"The title cannot be empty." : "A cím nem lehet üres.",
|
||||
"Cannot close unsaved card!" : "A mentetlen kártya nem zárható be!",
|
||||
"Open in sidebar view" : "Oldalsáv nézet megnyitása",
|
||||
"Open in bigger view" : "Megtekintés nagyobb nézetben",
|
||||
"Comments" : "Hozzászólások",
|
||||
@@ -253,7 +251,6 @@
|
||||
"Reply" : "Válasz",
|
||||
"Update" : "Frissítés",
|
||||
"Write a description …" : "Leírás megadása…",
|
||||
"Could not save description" : "A leírás mentése sikertelen",
|
||||
"Description" : "Leírás",
|
||||
"(Unsaved)" : "(Nem mentett)",
|
||||
"(Saving…)" : "(Mentés…)",
|
||||
|
||||
@@ -63,7 +63,7 @@ OC.L10N.register(
|
||||
"Reply" : "Atbildēt",
|
||||
"Update" : "Atjaunināt",
|
||||
"Description" : "Apraksts",
|
||||
"Select Date" : "Atlasīt datumu",
|
||||
"Select Date" : "Izvēlieties datumu",
|
||||
"Later today – {timeLocale}" : "Vēlāk šodien – {timeLocale}",
|
||||
"Set due date for later today" : "Iestatīt beigu datumu vēlāk šodienā",
|
||||
"(group)" : "(grupa)",
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
"Reply" : "Atbildēt",
|
||||
"Update" : "Atjaunināt",
|
||||
"Description" : "Apraksts",
|
||||
"Select Date" : "Atlasīt datumu",
|
||||
"Select Date" : "Izvēlieties datumu",
|
||||
"Later today – {timeLocale}" : "Vēlāk šodien – {timeLocale}",
|
||||
"Set due date for later today" : "Iestatīt beigu datumu vēlāk šodienā",
|
||||
"(group)" : "(grupa)",
|
||||
|
||||
58
l10n/pl.js
58
l10n/pl.js
@@ -81,14 +81,10 @@ OC.L10N.register(
|
||||
"Could not write file to disk" : "Nie można zapisać pliku na dysk",
|
||||
"A PHP extension stopped the file upload" : "Rozszerzenie PHP zatrzymało wysyłanie pliku",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Brak wysłanego pliku lub rozmiar pliku przekracza maksymalny limit %s",
|
||||
"Invalid file type. Only JSON files are allowed." : "Nieprawidłowy typ pliku. Dozwolone są tylko pliki JSON.",
|
||||
"Invalid JSON data" : "Nieprawidłowe dane JSON",
|
||||
"Failed to import board" : "Nie udało się zaimportować tablicy",
|
||||
"Cards due today" : "Karty na dzisiaj",
|
||||
"Cards due tomorrow" : "Karty na jutro",
|
||||
"Upcoming cards" : "Nadchodzące karty",
|
||||
"Load more" : "Wczytaj więcej",
|
||||
"Welcome to Nextcloud Deck!" : "Witamy w Nextcloud Deck!",
|
||||
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Karta \"%s\" na \"%s\" została przydzielona Tobie przez %s.",
|
||||
"{user} has assigned the card {deck-card} on {deck-board} to you." : "{user} przydzielił Tobie kartę {deck-card} na {deck-board}.",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Karta \"%s\" na \"%s\" wygasła.",
|
||||
@@ -111,20 +107,12 @@ OC.L10N.register(
|
||||
"Action needed" : "Wymagana akcja",
|
||||
"Later" : "Później",
|
||||
"copy" : "kopiuj",
|
||||
"Read more inside" : "Czytaj więcej w środku",
|
||||
"Custom lists - click to rename!" : "Listy niestandardowe – kliknij, aby zmienić nazwę!",
|
||||
"To Do" : "Do zrobienia",
|
||||
"In Progress" : "W trakcie",
|
||||
"Done" : "Zrobione",
|
||||
"1. Open to learn more about boards and cards" : "1. Otwórz, aby dowiedzieć się więcej o tablicach i kartach",
|
||||
"2. Drag cards left and right, up and down" : "2. Przeciągaj karty w lewo, prawo, w górę i w dół",
|
||||
"3. Apply rich formatting and link content" : "3. Zastosuj formatowanie i dodaj linki",
|
||||
"4. Share, comment and collaborate!" : "4. Udostępniaj, komentuj i współpracuj!",
|
||||
"Create your first card!" : "Utwórz swoją pierwszą kartę!",
|
||||
"This comment has more than %s characters.\nAdded as an attachment to the card with name %s.\nAccessible on URL: %s." : "Ten komentarz ma więcej niż %s znaków.\nDodany jako załącznik do karty o nazwie %s.\nDostępne pod adresem URL: %s.",
|
||||
"Attachments" : "Załączniki",
|
||||
"File" : "Plik",
|
||||
"date" : "data",
|
||||
"Card not found" : "Nie znaleziono karty",
|
||||
"Path is already shared with this card" : "Ścieżka jest już udostępniona dla tej karty",
|
||||
"Invalid date, date format must be YYYY-MM-DD" : "Nieprawidłowa data, format daty to RRRR-MM-DD",
|
||||
@@ -135,12 +123,10 @@ OC.L10N.register(
|
||||
"Select the board to link to a project" : "Wybierz tablicę, aby połączyć się z projektem",
|
||||
"Search by board title" : "Szukaj według tytułu tablicy",
|
||||
"Select board" : "Wybierz tablicę",
|
||||
"Move/copy card" : "Przenieś/skopiuj kartę",
|
||||
"Select a board" : "Wybierz tablicę",
|
||||
"No lists available" : "Brak dostępnych list",
|
||||
"Select a list" : "Wybierz listę",
|
||||
"Move card" : "Przenieś kartę",
|
||||
"Copy card" : "Skopiuj kartę",
|
||||
"Select the card to link to a project" : "Wybierz kartę, aby połączyć z projektem",
|
||||
"Link to card" : "Link do karty",
|
||||
"Select a card" : "Wybierz kartę",
|
||||
@@ -161,8 +147,6 @@ OC.L10N.register(
|
||||
"Filter by tag" : "Filtruj według etykiety",
|
||||
"Filter by assigned user" : "Filtruj według przydzielonego użytkownika",
|
||||
"Unassigned" : "Nieprzydzielone",
|
||||
"Filter by status" : "Filtruj według statusu",
|
||||
"Open and completed" : "Otwarte i zakończone",
|
||||
"Open" : "Otwórz",
|
||||
"Completed" : "Zakończone",
|
||||
"Filter by due date" : "Filtruj według terminu",
|
||||
@@ -198,12 +182,9 @@ OC.L10N.register(
|
||||
"Transfer" : "Przenieś",
|
||||
"The board has been transferred to {user}" : "Tablica została przeniesiona do {user}",
|
||||
"Failed to transfer the board to {user}" : "Nie udało się przenieść tablicy do {user}",
|
||||
"Share board with a user, group or team …" : "Udostępnij tablicę użytkownikowi, grupie lub zespołowi…",
|
||||
"Searching for users, groups and teams …" : "Wyszukiwanie użytkowników, grup i zespołów…",
|
||||
"No participants found" : "Nie znaleziono uczestników",
|
||||
"Board owner" : "Właściciel tablicy",
|
||||
"(Group)" : "(Grupa)",
|
||||
"(Team)" : "(Zespół)",
|
||||
"Can edit" : "Może edytować",
|
||||
"Can share" : "Może udostępnić",
|
||||
"Can manage" : "Może zarządzać",
|
||||
@@ -223,9 +204,7 @@ OC.L10N.register(
|
||||
"Add a new tag" : "Dodaj nową etykietę",
|
||||
"Board name" : "Nazwa tablicy",
|
||||
"Members" : "Członkowie",
|
||||
"Assign to users/groups/team" : "Przypisz do użytkowników/grup/zespołu",
|
||||
"Assign a user to this card…" : "Przypisz użytkownika do tej karty…",
|
||||
"Select a user to assign to this card…" : "Wybierz użytkownika, aby przypisać do tej karty…",
|
||||
"File to share" : "Plik do udostępnienia",
|
||||
"Invalid path selected" : "Wybrano nieprawidłową ścieżkę",
|
||||
"Upload new files" : "Wyślij nowe pliki",
|
||||
@@ -240,7 +219,6 @@ OC.L10N.register(
|
||||
"Modified" : "Zmodyfikowany",
|
||||
"Created" : "Utworzono",
|
||||
"The title cannot be empty." : "Tytuł nie może być pusty.",
|
||||
"Cannot close unsaved card!" : "Nie można zamknąć niezapisanej karty!",
|
||||
"Open in sidebar view" : "Otwórz w widoku paska bocznego",
|
||||
"Open in bigger view" : "Otwórz w dużym widoku",
|
||||
"Comments" : "Komentarze",
|
||||
@@ -255,7 +233,6 @@ OC.L10N.register(
|
||||
"Reply" : "Odpowiedz",
|
||||
"Update" : "Aktualizuj",
|
||||
"Write a description …" : "Napisz opis…",
|
||||
"Could not save description" : "Nie udało się zapisać opisu",
|
||||
"Description" : "Opis",
|
||||
"(Unsaved)" : "(Niezapisane)",
|
||||
"(Saving…)" : "(Zapisywanie…)",
|
||||
@@ -284,7 +261,6 @@ OC.L10N.register(
|
||||
"Unarchive card" : "Nie archiwizuj karty",
|
||||
"Archive card" : "Zarchiwizuj kartę",
|
||||
"Assign a tag to this card…" : "Przypisz etykietę do tej karty…",
|
||||
"Select or create a tag…" : "Wybierz lub utwórz tag…",
|
||||
"Create a new tag:" : "Utwórz nową etykietę:",
|
||||
"(group)" : "(grupa)",
|
||||
"{count} comments, {unread} unread" : "Komentarze: {count}, nieprzeczytane: {unread}",
|
||||
@@ -299,31 +275,12 @@ OC.L10N.register(
|
||||
"Delete card" : "Usuń kartę",
|
||||
"seconds ago" : "przed chwilą",
|
||||
"Keyboard shortcuts" : "Skróty klawiaturowe",
|
||||
"Boost your productivity using Deck with keyboard shortcuts." : "Zwiększ swoją produktywność, korzystając z Deck i skrótów klawiaturowych.",
|
||||
"Board actions" : "Akcje tablicy",
|
||||
"Keyboard shortcut" : "Skrót klawiaturowy",
|
||||
"Action" : "Akcja",
|
||||
"Shift" : "Shift",
|
||||
"Scroll" : "Przewijanie",
|
||||
"Scroll sideways" : "Przewijanie w bok",
|
||||
"Navigate between cards" : "Nawigacja między kartami",
|
||||
"Esc" : "Esc",
|
||||
"Close card details" : "Zamknij szczegóły karty",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Szukaj",
|
||||
"Show card filters" : "Pokaż filtry kart",
|
||||
"Clear card filters" : "Wyczyść filtry kart",
|
||||
"Show help dialog" : "Pokaż okno pomocy",
|
||||
"Card actions" : "Akcje karty",
|
||||
"The following actions can be triggered on the currently highlighted card" : "Poniższe akcje mogą być wykonane na aktualnie podświetlonej karcie",
|
||||
"Enter" : "Wpisz",
|
||||
"Space" : "Spacja",
|
||||
"Open card details" : "Otwórz szczegóły karty",
|
||||
"Edit the card title" : "Edytuj tytuł karty",
|
||||
"Assign yourself to the current card" : "Przypisz siebie do tej karty",
|
||||
"Archive/unarchive the current card" : "Archiwizuj/odarchiwizuj tę kartę",
|
||||
"Mark card as completed/not completed" : "Oznacz kartę jako ukończoną/nieukończoną",
|
||||
"Open card menu" : "Otwórz menu karty",
|
||||
"All boards" : "Wszystkie tablice",
|
||||
"Archived boards" : "Zarchiwizowane tablice",
|
||||
"Shared with you" : "Udostępnione Tobie",
|
||||
@@ -334,7 +291,6 @@ OC.L10N.register(
|
||||
"Limit board creation to some groups" : "Ogranicz tworzenie tablic dla niektórych grup",
|
||||
"Users outside of those groups will not be able to create their own boards, but will still be able to work on boards that have been shared with them." : "Użytkownicy spoza tych grup nie będą mogli tworzyć własnych tablic, ale nadal będą mogli pracować na tablicach, które zostały im udostępnione.",
|
||||
"Cancel edit" : "Anuluj edycję",
|
||||
"Save board" : "Zapisz tablicę",
|
||||
"Board {0} deleted" : "Tablica {0} została usunięta",
|
||||
"All cards" : "Wszystkie karty",
|
||||
"Only assigned cards" : "Tylko przydzielone karty",
|
||||
@@ -342,7 +298,6 @@ OC.L10N.register(
|
||||
"An error occurred" : "Wystąpił błąd",
|
||||
"Are you sure you want to delete the board {title}? This will delete all the data of this board including archived cards." : "Czy na pewno chcesz usunąć tablicę {title}? Spowoduje to usunięcie wszystkich danych z tej tablicy łącznie z zarchiwizowanymi kartami.",
|
||||
"Delete the board?" : "Usunąć tablicę?",
|
||||
"Exporting board..." : "Eksportowanie tablicy…",
|
||||
"Board details" : "Szczegóły tablicy",
|
||||
"Edit board" : "Edytuj tablicę",
|
||||
"Clone board" : "Klonuj tablicę",
|
||||
@@ -355,22 +310,10 @@ OC.L10N.register(
|
||||
"Assigned cards" : "Przydzielone karty",
|
||||
"No notifications" : "Brak powiadomień",
|
||||
"Delete board" : "Usuń tablicę",
|
||||
"Importing board..." : "Importowanie tablicy…",
|
||||
"Board imported successfully" : "Tablica została pomyślnie zaimportowana",
|
||||
"Import board" : "Importuj tablicę",
|
||||
"Clone {boardTitle}" : "Klonuj {boardTitle}",
|
||||
"Clone cards" : "Klonuj karty",
|
||||
"Clone assignments" : "Klonuj przypisania",
|
||||
"Clone labels" : "Klonuj etykiety",
|
||||
"Clone due dates" : "Klonuj terminy",
|
||||
"Advanced options" : "Opcje zaawansowane",
|
||||
"Move all cards to the first list" : "Przenieś wszystkie karty na pierwszą listę",
|
||||
"Restore archived cards" : "Przywróć zarchiwizowane karty",
|
||||
"Clone" : "Klonuj",
|
||||
"Export {boardTitle}" : "Eksportuj {boardTitle}",
|
||||
"Export as JSON" : "Eksportuj jako JSON",
|
||||
"Export as CSV" : "Eksportuj jako CSV",
|
||||
"Note: Only the JSON format is supported for importing back into the Deck app." : "Uwaga: tylko format JSON jest obsługiwany przy imporcie z powrotem do aplikacji Deck.",
|
||||
"Export" : "Eksportuj",
|
||||
"Loading filtered view" : "Wczytywanie przefiltrowanego widoku",
|
||||
"Today" : "Dzisiaj",
|
||||
@@ -404,7 +347,6 @@ OC.L10N.register(
|
||||
"Something went wrong" : "Coś poszło nie tak",
|
||||
"Failed to upload {name}" : "Nie udało się wysłać {name}",
|
||||
"Maximum file size of {size} exceeded" : "Przekroczono maksymalny rozmiar pliku {size}",
|
||||
"Assigned users" : "Przypisani użytkownicy",
|
||||
"Due date" : "Data realizacji",
|
||||
"Error creating the share" : "Błąd podczas tworzenia udostępnienia",
|
||||
"Share with a Deck card" : "Udostępnij za pomocą karty Tablicy",
|
||||
|
||||
58
l10n/pl.json
58
l10n/pl.json
@@ -79,14 +79,10 @@
|
||||
"Could not write file to disk" : "Nie można zapisać pliku na dysk",
|
||||
"A PHP extension stopped the file upload" : "Rozszerzenie PHP zatrzymało wysyłanie pliku",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Brak wysłanego pliku lub rozmiar pliku przekracza maksymalny limit %s",
|
||||
"Invalid file type. Only JSON files are allowed." : "Nieprawidłowy typ pliku. Dozwolone są tylko pliki JSON.",
|
||||
"Invalid JSON data" : "Nieprawidłowe dane JSON",
|
||||
"Failed to import board" : "Nie udało się zaimportować tablicy",
|
||||
"Cards due today" : "Karty na dzisiaj",
|
||||
"Cards due tomorrow" : "Karty na jutro",
|
||||
"Upcoming cards" : "Nadchodzące karty",
|
||||
"Load more" : "Wczytaj więcej",
|
||||
"Welcome to Nextcloud Deck!" : "Witamy w Nextcloud Deck!",
|
||||
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Karta \"%s\" na \"%s\" została przydzielona Tobie przez %s.",
|
||||
"{user} has assigned the card {deck-card} on {deck-board} to you." : "{user} przydzielił Tobie kartę {deck-card} na {deck-board}.",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Karta \"%s\" na \"%s\" wygasła.",
|
||||
@@ -109,20 +105,12 @@
|
||||
"Action needed" : "Wymagana akcja",
|
||||
"Later" : "Później",
|
||||
"copy" : "kopiuj",
|
||||
"Read more inside" : "Czytaj więcej w środku",
|
||||
"Custom lists - click to rename!" : "Listy niestandardowe – kliknij, aby zmienić nazwę!",
|
||||
"To Do" : "Do zrobienia",
|
||||
"In Progress" : "W trakcie",
|
||||
"Done" : "Zrobione",
|
||||
"1. Open to learn more about boards and cards" : "1. Otwórz, aby dowiedzieć się więcej o tablicach i kartach",
|
||||
"2. Drag cards left and right, up and down" : "2. Przeciągaj karty w lewo, prawo, w górę i w dół",
|
||||
"3. Apply rich formatting and link content" : "3. Zastosuj formatowanie i dodaj linki",
|
||||
"4. Share, comment and collaborate!" : "4. Udostępniaj, komentuj i współpracuj!",
|
||||
"Create your first card!" : "Utwórz swoją pierwszą kartę!",
|
||||
"This comment has more than %s characters.\nAdded as an attachment to the card with name %s.\nAccessible on URL: %s." : "Ten komentarz ma więcej niż %s znaków.\nDodany jako załącznik do karty o nazwie %s.\nDostępne pod adresem URL: %s.",
|
||||
"Attachments" : "Załączniki",
|
||||
"File" : "Plik",
|
||||
"date" : "data",
|
||||
"Card not found" : "Nie znaleziono karty",
|
||||
"Path is already shared with this card" : "Ścieżka jest już udostępniona dla tej karty",
|
||||
"Invalid date, date format must be YYYY-MM-DD" : "Nieprawidłowa data, format daty to RRRR-MM-DD",
|
||||
@@ -133,12 +121,10 @@
|
||||
"Select the board to link to a project" : "Wybierz tablicę, aby połączyć się z projektem",
|
||||
"Search by board title" : "Szukaj według tytułu tablicy",
|
||||
"Select board" : "Wybierz tablicę",
|
||||
"Move/copy card" : "Przenieś/skopiuj kartę",
|
||||
"Select a board" : "Wybierz tablicę",
|
||||
"No lists available" : "Brak dostępnych list",
|
||||
"Select a list" : "Wybierz listę",
|
||||
"Move card" : "Przenieś kartę",
|
||||
"Copy card" : "Skopiuj kartę",
|
||||
"Select the card to link to a project" : "Wybierz kartę, aby połączyć z projektem",
|
||||
"Link to card" : "Link do karty",
|
||||
"Select a card" : "Wybierz kartę",
|
||||
@@ -159,8 +145,6 @@
|
||||
"Filter by tag" : "Filtruj według etykiety",
|
||||
"Filter by assigned user" : "Filtruj według przydzielonego użytkownika",
|
||||
"Unassigned" : "Nieprzydzielone",
|
||||
"Filter by status" : "Filtruj według statusu",
|
||||
"Open and completed" : "Otwarte i zakończone",
|
||||
"Open" : "Otwórz",
|
||||
"Completed" : "Zakończone",
|
||||
"Filter by due date" : "Filtruj według terminu",
|
||||
@@ -196,12 +180,9 @@
|
||||
"Transfer" : "Przenieś",
|
||||
"The board has been transferred to {user}" : "Tablica została przeniesiona do {user}",
|
||||
"Failed to transfer the board to {user}" : "Nie udało się przenieść tablicy do {user}",
|
||||
"Share board with a user, group or team …" : "Udostępnij tablicę użytkownikowi, grupie lub zespołowi…",
|
||||
"Searching for users, groups and teams …" : "Wyszukiwanie użytkowników, grup i zespołów…",
|
||||
"No participants found" : "Nie znaleziono uczestników",
|
||||
"Board owner" : "Właściciel tablicy",
|
||||
"(Group)" : "(Grupa)",
|
||||
"(Team)" : "(Zespół)",
|
||||
"Can edit" : "Może edytować",
|
||||
"Can share" : "Może udostępnić",
|
||||
"Can manage" : "Może zarządzać",
|
||||
@@ -221,9 +202,7 @@
|
||||
"Add a new tag" : "Dodaj nową etykietę",
|
||||
"Board name" : "Nazwa tablicy",
|
||||
"Members" : "Członkowie",
|
||||
"Assign to users/groups/team" : "Przypisz do użytkowników/grup/zespołu",
|
||||
"Assign a user to this card…" : "Przypisz użytkownika do tej karty…",
|
||||
"Select a user to assign to this card…" : "Wybierz użytkownika, aby przypisać do tej karty…",
|
||||
"File to share" : "Plik do udostępnienia",
|
||||
"Invalid path selected" : "Wybrano nieprawidłową ścieżkę",
|
||||
"Upload new files" : "Wyślij nowe pliki",
|
||||
@@ -238,7 +217,6 @@
|
||||
"Modified" : "Zmodyfikowany",
|
||||
"Created" : "Utworzono",
|
||||
"The title cannot be empty." : "Tytuł nie może być pusty.",
|
||||
"Cannot close unsaved card!" : "Nie można zamknąć niezapisanej karty!",
|
||||
"Open in sidebar view" : "Otwórz w widoku paska bocznego",
|
||||
"Open in bigger view" : "Otwórz w dużym widoku",
|
||||
"Comments" : "Komentarze",
|
||||
@@ -253,7 +231,6 @@
|
||||
"Reply" : "Odpowiedz",
|
||||
"Update" : "Aktualizuj",
|
||||
"Write a description …" : "Napisz opis…",
|
||||
"Could not save description" : "Nie udało się zapisać opisu",
|
||||
"Description" : "Opis",
|
||||
"(Unsaved)" : "(Niezapisane)",
|
||||
"(Saving…)" : "(Zapisywanie…)",
|
||||
@@ -282,7 +259,6 @@
|
||||
"Unarchive card" : "Nie archiwizuj karty",
|
||||
"Archive card" : "Zarchiwizuj kartę",
|
||||
"Assign a tag to this card…" : "Przypisz etykietę do tej karty…",
|
||||
"Select or create a tag…" : "Wybierz lub utwórz tag…",
|
||||
"Create a new tag:" : "Utwórz nową etykietę:",
|
||||
"(group)" : "(grupa)",
|
||||
"{count} comments, {unread} unread" : "Komentarze: {count}, nieprzeczytane: {unread}",
|
||||
@@ -297,31 +273,12 @@
|
||||
"Delete card" : "Usuń kartę",
|
||||
"seconds ago" : "przed chwilą",
|
||||
"Keyboard shortcuts" : "Skróty klawiaturowe",
|
||||
"Boost your productivity using Deck with keyboard shortcuts." : "Zwiększ swoją produktywność, korzystając z Deck i skrótów klawiaturowych.",
|
||||
"Board actions" : "Akcje tablicy",
|
||||
"Keyboard shortcut" : "Skrót klawiaturowy",
|
||||
"Action" : "Akcja",
|
||||
"Shift" : "Shift",
|
||||
"Scroll" : "Przewijanie",
|
||||
"Scroll sideways" : "Przewijanie w bok",
|
||||
"Navigate between cards" : "Nawigacja między kartami",
|
||||
"Esc" : "Esc",
|
||||
"Close card details" : "Zamknij szczegóły karty",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Szukaj",
|
||||
"Show card filters" : "Pokaż filtry kart",
|
||||
"Clear card filters" : "Wyczyść filtry kart",
|
||||
"Show help dialog" : "Pokaż okno pomocy",
|
||||
"Card actions" : "Akcje karty",
|
||||
"The following actions can be triggered on the currently highlighted card" : "Poniższe akcje mogą być wykonane na aktualnie podświetlonej karcie",
|
||||
"Enter" : "Wpisz",
|
||||
"Space" : "Spacja",
|
||||
"Open card details" : "Otwórz szczegóły karty",
|
||||
"Edit the card title" : "Edytuj tytuł karty",
|
||||
"Assign yourself to the current card" : "Przypisz siebie do tej karty",
|
||||
"Archive/unarchive the current card" : "Archiwizuj/odarchiwizuj tę kartę",
|
||||
"Mark card as completed/not completed" : "Oznacz kartę jako ukończoną/nieukończoną",
|
||||
"Open card menu" : "Otwórz menu karty",
|
||||
"All boards" : "Wszystkie tablice",
|
||||
"Archived boards" : "Zarchiwizowane tablice",
|
||||
"Shared with you" : "Udostępnione Tobie",
|
||||
@@ -332,7 +289,6 @@
|
||||
"Limit board creation to some groups" : "Ogranicz tworzenie tablic dla niektórych grup",
|
||||
"Users outside of those groups will not be able to create their own boards, but will still be able to work on boards that have been shared with them." : "Użytkownicy spoza tych grup nie będą mogli tworzyć własnych tablic, ale nadal będą mogli pracować na tablicach, które zostały im udostępnione.",
|
||||
"Cancel edit" : "Anuluj edycję",
|
||||
"Save board" : "Zapisz tablicę",
|
||||
"Board {0} deleted" : "Tablica {0} została usunięta",
|
||||
"All cards" : "Wszystkie karty",
|
||||
"Only assigned cards" : "Tylko przydzielone karty",
|
||||
@@ -340,7 +296,6 @@
|
||||
"An error occurred" : "Wystąpił błąd",
|
||||
"Are you sure you want to delete the board {title}? This will delete all the data of this board including archived cards." : "Czy na pewno chcesz usunąć tablicę {title}? Spowoduje to usunięcie wszystkich danych z tej tablicy łącznie z zarchiwizowanymi kartami.",
|
||||
"Delete the board?" : "Usunąć tablicę?",
|
||||
"Exporting board..." : "Eksportowanie tablicy…",
|
||||
"Board details" : "Szczegóły tablicy",
|
||||
"Edit board" : "Edytuj tablicę",
|
||||
"Clone board" : "Klonuj tablicę",
|
||||
@@ -353,22 +308,10 @@
|
||||
"Assigned cards" : "Przydzielone karty",
|
||||
"No notifications" : "Brak powiadomień",
|
||||
"Delete board" : "Usuń tablicę",
|
||||
"Importing board..." : "Importowanie tablicy…",
|
||||
"Board imported successfully" : "Tablica została pomyślnie zaimportowana",
|
||||
"Import board" : "Importuj tablicę",
|
||||
"Clone {boardTitle}" : "Klonuj {boardTitle}",
|
||||
"Clone cards" : "Klonuj karty",
|
||||
"Clone assignments" : "Klonuj przypisania",
|
||||
"Clone labels" : "Klonuj etykiety",
|
||||
"Clone due dates" : "Klonuj terminy",
|
||||
"Advanced options" : "Opcje zaawansowane",
|
||||
"Move all cards to the first list" : "Przenieś wszystkie karty na pierwszą listę",
|
||||
"Restore archived cards" : "Przywróć zarchiwizowane karty",
|
||||
"Clone" : "Klonuj",
|
||||
"Export {boardTitle}" : "Eksportuj {boardTitle}",
|
||||
"Export as JSON" : "Eksportuj jako JSON",
|
||||
"Export as CSV" : "Eksportuj jako CSV",
|
||||
"Note: Only the JSON format is supported for importing back into the Deck app." : "Uwaga: tylko format JSON jest obsługiwany przy imporcie z powrotem do aplikacji Deck.",
|
||||
"Export" : "Eksportuj",
|
||||
"Loading filtered view" : "Wczytywanie przefiltrowanego widoku",
|
||||
"Today" : "Dzisiaj",
|
||||
@@ -402,7 +345,6 @@
|
||||
"Something went wrong" : "Coś poszło nie tak",
|
||||
"Failed to upload {name}" : "Nie udało się wysłać {name}",
|
||||
"Maximum file size of {size} exceeded" : "Przekroczono maksymalny rozmiar pliku {size}",
|
||||
"Assigned users" : "Przypisani użytkownicy",
|
||||
"Due date" : "Data realizacji",
|
||||
"Error creating the share" : "Błąd podczas tworzenia udostępnienia",
|
||||
"Share with a Deck card" : "Udostępnij za pomocą karty Tablicy",
|
||||
|
||||
@@ -88,7 +88,7 @@ OC.L10N.register(
|
||||
"Cards due tomorrow" : "Картки на завтра",
|
||||
"Upcoming cards" : "Очікують на виконання",
|
||||
"Load more" : "Більше",
|
||||
"Welcome to Nextcloud Deck!" : "Ласкаво просимо до Колоди для Nextcloud!",
|
||||
"Welcome to Nextcloud Deck!" : "Ласкаво просимо до колоди Nextcloud!",
|
||||
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Картка \"%s\" на \"%s\" була призначена вам %s.",
|
||||
"{user} has assigned the card {deck-card} on {deck-board} to you." : "{user} призначив вам карту {deck-card} на {deck-board}.",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Термін дії картки \"%s\" на \"%s\" закінчився.",
|
||||
@@ -97,7 +97,7 @@ OC.L10N.register(
|
||||
"{user} has mentioned you in a comment on {deck-card}." : "{user} згадав вас у коментарі до {deck-card}.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Дошку \"%s\" з вами поділився %s.",
|
||||
"{user} has shared {deck-board} with you." : "{user} поділився з вами {deck-board}.",
|
||||
"Deck board" : "Дошка колоди",
|
||||
"Deck board" : "Дошка Deck",
|
||||
"Owned by %1$s" : "Належить %1$s",
|
||||
"Deck boards, cards and comments" : "Дошки колод, карти та коментарі",
|
||||
"From %1$s, in %2$s/%3$s, owned by %4$s" : "З %1$s, в %2$s/%3$s, у власності %4$s",
|
||||
@@ -327,7 +327,7 @@ OC.L10N.register(
|
||||
"All boards" : "Усі дошки",
|
||||
"Archived boards" : "Архівні дошки",
|
||||
"Shared with you" : "Вам надано доступ",
|
||||
"Deck settings" : "Налаштування",
|
||||
"Deck settings" : "Налаштування колоди",
|
||||
"Use bigger card view" : "Режим перегляду зі збільшеними картками",
|
||||
"Show card ID badge" : "Покажіть бейдж з ідентифікаційною карткою",
|
||||
"Show boards in calendar/tasks" : "Показувати дошки в календарі та завданнях",
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
"Cards due tomorrow" : "Картки на завтра",
|
||||
"Upcoming cards" : "Очікують на виконання",
|
||||
"Load more" : "Більше",
|
||||
"Welcome to Nextcloud Deck!" : "Ласкаво просимо до Колоди для Nextcloud!",
|
||||
"Welcome to Nextcloud Deck!" : "Ласкаво просимо до колоди Nextcloud!",
|
||||
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Картка \"%s\" на \"%s\" була призначена вам %s.",
|
||||
"{user} has assigned the card {deck-card} on {deck-board} to you." : "{user} призначив вам карту {deck-card} на {deck-board}.",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Термін дії картки \"%s\" на \"%s\" закінчився.",
|
||||
@@ -95,7 +95,7 @@
|
||||
"{user} has mentioned you in a comment on {deck-card}." : "{user} згадав вас у коментарі до {deck-card}.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Дошку \"%s\" з вами поділився %s.",
|
||||
"{user} has shared {deck-board} with you." : "{user} поділився з вами {deck-board}.",
|
||||
"Deck board" : "Дошка колоди",
|
||||
"Deck board" : "Дошка Deck",
|
||||
"Owned by %1$s" : "Належить %1$s",
|
||||
"Deck boards, cards and comments" : "Дошки колод, карти та коментарі",
|
||||
"From %1$s, in %2$s/%3$s, owned by %4$s" : "З %1$s, в %2$s/%3$s, у власності %4$s",
|
||||
@@ -325,7 +325,7 @@
|
||||
"All boards" : "Усі дошки",
|
||||
"Archived boards" : "Архівні дошки",
|
||||
"Shared with you" : "Вам надано доступ",
|
||||
"Deck settings" : "Налаштування",
|
||||
"Deck settings" : "Налаштування колоди",
|
||||
"Use bigger card view" : "Режим перегляду зі збільшеними картками",
|
||||
"Show card ID badge" : "Покажіть бейдж з ідентифікаційною карткою",
|
||||
"Show boards in calendar/tasks" : "Показувати дошки в календарі та завданнях",
|
||||
|
||||
@@ -14,7 +14,6 @@ use OCA\Deck\Db\CardMapper;
|
||||
use OCA\Deck\Db\StackMapper;
|
||||
use OCA\Deck\InvalidAttachmentType;
|
||||
use OCA\Deck\Service\AttachmentService;
|
||||
use OCA\Deck\Sharing\DeckShareProvider;
|
||||
use OCP\AppFramework\Utility\ITimeFactory;
|
||||
use OCP\BackgroundJob\IJob;
|
||||
use OCP\BackgroundJob\TimedJob;
|
||||
@@ -31,25 +30,14 @@ class DeleteCron extends TimedJob {
|
||||
private $attachmentMapper;
|
||||
/** @var StackMapper */
|
||||
private $stackMapper;
|
||||
/** @var DeckShareProvider */
|
||||
private $deckShareProvider;
|
||||
|
||||
public function __construct(
|
||||
ITimeFactory $time,
|
||||
BoardMapper $boardMapper,
|
||||
CardMapper $cardMapper,
|
||||
AttachmentService $attachmentService,
|
||||
AttachmentMapper $attachmentMapper,
|
||||
StackMapper $stackMapper,
|
||||
DeckShareProvider $deckShareProvider,
|
||||
) {
|
||||
public function __construct(ITimeFactory $time, BoardMapper $boardMapper, CardMapper $cardMapper, AttachmentService $attachmentService, AttachmentMapper $attachmentMapper, StackMapper $stackMapper) {
|
||||
parent::__construct($time);
|
||||
$this->boardMapper = $boardMapper;
|
||||
$this->cardMapper = $cardMapper;
|
||||
$this->attachmentService = $attachmentService;
|
||||
$this->attachmentMapper = $attachmentMapper;
|
||||
$this->stackMapper = $stackMapper;
|
||||
$this->deckShareProvider = $deckShareProvider;
|
||||
|
||||
$this->setInterval(60 * 60 * 24);
|
||||
$this->setTimeSensitivity(IJob::TIME_INSENSITIVE);
|
||||
@@ -82,12 +70,6 @@ class DeleteCron extends TimedJob {
|
||||
$this->attachmentMapper->delete($attachment);
|
||||
}
|
||||
|
||||
// Delete orphaned attachment shares
|
||||
$shares = $this->deckShareProvider->getOrphanedAttachmentShares();
|
||||
foreach ($shares as $share) {
|
||||
$this->deckShareProvider->delete($share);
|
||||
}
|
||||
|
||||
$stacks = $this->stackMapper->findToDelete();
|
||||
foreach ($stacks as $stack) {
|
||||
$this->stackMapper->delete($stack);
|
||||
|
||||
@@ -645,16 +645,4 @@ class CardMapper extends QBMapper implements IPermissionMapper {
|
||||
|
||||
$result->closeCursor();
|
||||
}
|
||||
|
||||
public function getAllCardIds(): array {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
$qb->select('id')
|
||||
->from('deck_cards');
|
||||
$result = $qb->executeQuery();
|
||||
$ids = [];
|
||||
while ($row = $result->fetch()) {
|
||||
$ids[] = (int)$row['id'];
|
||||
}
|
||||
return $ids;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ use OCA\Deck\Db\CardMapper;
|
||||
use OCA\Deck\Db\ChangeHelper;
|
||||
use OCA\Deck\Db\Label;
|
||||
use OCA\Deck\Db\LabelMapper;
|
||||
use OCA\Deck\Db\Stack;
|
||||
use OCA\Deck\Db\StackMapper;
|
||||
use OCA\Deck\Event\CardCreatedEvent;
|
||||
use OCA\Deck\Event\CardDeletedEvent;
|
||||
@@ -64,31 +65,47 @@ class CardService {
|
||||
) {
|
||||
}
|
||||
|
||||
public function enrichCards($cards) {
|
||||
/**
|
||||
* @param Card[] $cards
|
||||
* @return CardDetails[]
|
||||
*/
|
||||
public function enrichCards(array $cards, Stack $stack = null): array {
|
||||
if (!$cards) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$user = $this->userManager->get($this->userId);
|
||||
|
||||
$cardIds = array_map(function (Card $card) use ($user) {
|
||||
$cardIds = array_map(function (Card $card) use ($user, $stack) {
|
||||
// Everything done in here might be heavy as it is executed for every card
|
||||
$cardId = $card->getId();
|
||||
$this->cardMapper->mapOwner($card);
|
||||
|
||||
$card->setAttachmentCount($this->attachmentService->count($cardId));
|
||||
|
||||
// TODO We should find a better way just to get the comment count so we can save 1-3 queries per card here
|
||||
$countComments = $this->commentsManager->getNumberOfCommentsForObject('deckCard', (string)$card->getId());
|
||||
$lastRead = $countComments > 0 ? $this->commentsManager->getReadMark('deckCard', (string)$card->getId(), $user) : null;
|
||||
$countUnreadComments = $lastRead ? $this->commentsManager->getNumberOfCommentsForObject('deckCard', (string)$card->getId(), $lastRead) : 0;
|
||||
$card->setCommentsUnread($countUnreadComments);
|
||||
$card->setCommentsCount($countComments);
|
||||
|
||||
$stack = $this->stackMapper->find($card->getStackId());
|
||||
if ($stack === null) {
|
||||
$stack = $this->stackMapper->find($card->getStackId());
|
||||
}
|
||||
$board = $this->boardService->find($stack->getBoardId(), false);
|
||||
$card->setRelatedStack($stack);
|
||||
$card->setRelatedBoard($board);
|
||||
|
||||
return $card->getId();
|
||||
return $cardId;
|
||||
}, $cards);
|
||||
|
||||
$commentsCountPerCardId = $this->commentsManager->getNumberOfCommentsForObjects('deckCard', $cardIds);
|
||||
$unreadCommentsCountPerCardId = $this->commentsManager->getNumberOfUnreadCommentsForObjects('deckCard', $cardIds, $user);
|
||||
|
||||
foreach ($commentsCountPerCardId as $cardId => $commentCounts) {
|
||||
foreach ($cards as $card) {
|
||||
if ($card->getId() === $cardId) {
|
||||
$card->setCommentsUnread($unreadCommentsCountPerCardId[$cardId]);
|
||||
$card->setCommentsCount($commentCounts);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$assignedLabels = $this->labelMapper->findAssignedLabelsForCards($cardIds);
|
||||
$assignedUsers = $this->assignedUsersMapper->findIn($cardIds);
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ class StackService {
|
||||
return;
|
||||
}
|
||||
|
||||
$stack->setCards($this->cardService->enrichCards($cards));
|
||||
$stack->setCards($this->cardService->enrichCards($cards, $stack));
|
||||
}
|
||||
|
||||
private function enrichStacksWithCards($stacks, $since = -1) {
|
||||
|
||||
@@ -1046,21 +1046,4 @@ class DeckShareProvider implements \OCP\Share\IShareProvider {
|
||||
}
|
||||
$cursor->closeCursor();
|
||||
}
|
||||
|
||||
public function getOrphanedAttachmentShares(): array {
|
||||
$allCardIds = $this->cardMapper->getAllCardIds();
|
||||
$qb = $this->dbConnection->getQueryBuilder();
|
||||
$qb->select('*')
|
||||
->from('share', 's')
|
||||
->where($qb->expr()->eq('s.share_type', $qb->createNamedParameter(IShare::TYPE_DECK)))
|
||||
->andWhere($qb->expr()->notIn('s.share_with', $qb->createNamedParameter($allCardIds, IQueryBuilder::PARAM_STR_ARRAY)));
|
||||
|
||||
$cursor = $qb->execute();
|
||||
$shares = [];
|
||||
while ($data = $cursor->fetch()) {
|
||||
$shares[] = $this->createShareObject($data);
|
||||
}
|
||||
|
||||
return $shares;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,8 +178,7 @@ export default {
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
currentCard(newCard, oldCard) {
|
||||
if (newCard.id === oldCard.id) return
|
||||
currentCard() {
|
||||
this.focusHeader()
|
||||
},
|
||||
'currentCard.title': {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~9",
|
||||
"behat/behat": "~3.23.0",
|
||||
"guzzlehttp/guzzle": "7.10.0",
|
||||
"guzzlehttp/guzzle": "7.9.2",
|
||||
"jarnaiz/behat-junit-formatter": "^1.3",
|
||||
"sabre/dav": "4.7.0",
|
||||
"symfony/event-dispatcher": "~5.4"
|
||||
|
||||
@@ -35,7 +35,6 @@ use OCA\Deck\Db\StackMapper;
|
||||
use OCA\Deck\InvalidAttachmentType;
|
||||
use OCA\Deck\Service\AttachmentService;
|
||||
use OCA\Deck\Service\IAttachmentService;
|
||||
use OCA\Deck\Sharing\DeckShareProvider;
|
||||
use OCP\AppFramework\Utility\ITimeFactory;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use Test\TestCase;
|
||||
@@ -54,8 +53,6 @@ class DeleteCronTest extends TestCase {
|
||||
private $attachmentMapper;
|
||||
/** @var StackMapper|MockObject */
|
||||
private $stackMapper;
|
||||
/** @var DeckShareProvider */
|
||||
private $deckShareProvider;
|
||||
/** @var DeleteCron */
|
||||
protected $deleteCron;
|
||||
|
||||
@@ -67,16 +64,7 @@ class DeleteCronTest extends TestCase {
|
||||
$this->attachmentService = $this->createMock(AttachmentService::class);
|
||||
$this->attachmentMapper = $this->createMock(AttachmentMapper::class);
|
||||
$this->stackMapper = $this->createMock(StackMapper::class);
|
||||
$this->deckShareProvider = $this->createMock(DeckShareProvider::class);
|
||||
$this->deleteCron = new DeleteCron(
|
||||
$this->timeFactory,
|
||||
$this->boardMapper,
|
||||
$this->cardMapper,
|
||||
$this->attachmentService,
|
||||
$this->attachmentMapper,
|
||||
$this->stackMapper,
|
||||
$this->deckShareProvider,
|
||||
);
|
||||
$this->deleteCron = new DeleteCron($this->timeFactory, $this->boardMapper, $this->cardMapper, $this->attachmentService, $this->attachmentMapper, $this->stackMapper);
|
||||
}
|
||||
|
||||
protected function getBoard($id) {
|
||||
|
||||
Reference in New Issue
Block a user