Compare commits
17 Commits
v1.8.4
...
backport/4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0cf40ae9af | ||
|
|
083db2f3b6 | ||
|
|
cfd0fc828f | ||
|
|
b0ebb34fb8 | ||
|
|
e72b654bc6 | ||
|
|
d5ae69afce | ||
|
|
5dfe12a302 | ||
|
|
103a2c8508 | ||
|
|
4120f2e7ee | ||
|
|
9f9ef99a31 | ||
|
|
7ce6e1779a | ||
|
|
5cc075cbf9 | ||
|
|
150e663283 | ||
|
|
2bdaba5c85 | ||
|
|
3c3837c8d3 | ||
|
|
c30e253f83 | ||
|
|
c3acf91184 |
@@ -1,6 +1,13 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## 1.8.5
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- fix: Properly overwrite z-index of datepicker above modal [#4667](https://github.com/nextcloud/deck/pull/4667)
|
||||||
|
|
||||||
|
|
||||||
## 1.8.4
|
## 1.8.4
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
- 🚀 Get your project organized
|
- 🚀 Get your project organized
|
||||||
|
|
||||||
</description>
|
</description>
|
||||||
<version>1.8.4</version>
|
<version>1.8.5</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author>Julius Härtl</author>
|
<author>Julius Härtl</author>
|
||||||
<namespace>Deck</namespace>
|
<namespace>Deck</namespace>
|
||||||
|
|||||||
8
composer.lock
generated
8
composer.lock
generated
@@ -1196,12 +1196,12 @@
|
|||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/nextcloud-deps/ocp.git",
|
"url": "https://github.com/nextcloud-deps/ocp.git",
|
||||||
"reference": "91e61aba842365691d63a086dba68c3f3ccc3689"
|
"reference": "1e34a80be034fe9a58057d2e756913363675bddb"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/91e61aba842365691d63a086dba68c3f3ccc3689",
|
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/1e34a80be034fe9a58057d2e756913363675bddb",
|
||||||
"reference": "91e61aba842365691d63a086dba68c3f3ccc3689",
|
"reference": "1e34a80be034fe9a58057d2e756913363675bddb",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@@ -1231,7 +1231,7 @@
|
|||||||
"issues": "https://github.com/nextcloud-deps/ocp/issues",
|
"issues": "https://github.com/nextcloud-deps/ocp/issues",
|
||||||
"source": "https://github.com/nextcloud-deps/ocp/tree/stable25"
|
"source": "https://github.com/nextcloud-deps/ocp/tree/stable25"
|
||||||
},
|
},
|
||||||
"time": "2023-04-13T00:33:11+00:00"
|
"time": "2023-05-13T00:33:04+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nikic/php-parser",
|
"name": "nikic/php-parser",
|
||||||
|
|||||||
50
l10n/ast.js
50
l10n/ast.js
@@ -1,50 +0,0 @@
|
|||||||
OC.L10N.register(
|
|
||||||
"deck",
|
|
||||||
{
|
|
||||||
"Deck" : "Deck",
|
|
||||||
"Personal" : "Personal",
|
|
||||||
"%s on %s" : "%s en %s",
|
|
||||||
"Finished" : "Finó",
|
|
||||||
"Action needed" : "Precísase aición",
|
|
||||||
"Later" : "Más sero",
|
|
||||||
"Done" : "Fecho",
|
|
||||||
"The file was uploaded" : "Xubióse'l ficheru",
|
|
||||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "El ficheru xubíu perpasa la direutiva de xuba upload_max_filesize en php.ini",
|
|
||||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "El ficheru xubíu perpasa la direutiva \"MAX_FILE_SIZE\" especificada nel formulariu HTML",
|
|
||||||
"No file was uploaded" : "Nun se xubieron fichjeros",
|
|
||||||
"Missing a temporary folder" : "Falta un direutoriu temporal",
|
|
||||||
"Could not write file to disk" : "Nun pudo escribise nel discu'l ficheru",
|
|
||||||
"A PHP extension stopped the file upload" : "Una estensión de PHP paró la xuba de ficheros",
|
|
||||||
"Invalid date, date format must be YYYY-MM-DD" : "Data non válida, el formatu ha ser AAAA-MM-DD",
|
|
||||||
"Cancel" : "Encaboxar",
|
|
||||||
"Close" : "Zarrar",
|
|
||||||
"File already exists" : "Yá esiste'l ficheru",
|
|
||||||
"Show archived cards" : "Amosar tarxetes archivaes",
|
|
||||||
"Details" : "Detalles",
|
|
||||||
"Sharing" : "Compartiendo",
|
|
||||||
"Tags" : "Etiquetes",
|
|
||||||
"Undo" : "Desfacer",
|
|
||||||
"Can edit" : "Can edit",
|
|
||||||
"Can share" : "Can share",
|
|
||||||
"Owner" : "Owner",
|
|
||||||
"Delete" : "Desaniciar",
|
|
||||||
"Edit" : "Editar",
|
|
||||||
"Members" : "Miembros",
|
|
||||||
"Download" : "Baxar",
|
|
||||||
"Attachments" : "Axuntos",
|
|
||||||
"Comments" : "Comentarios",
|
|
||||||
"Modified" : "Modificóse'l",
|
|
||||||
"Created" : "Creóse",
|
|
||||||
"Today" : "Güei",
|
|
||||||
"Tomorrow" : "Mañana",
|
|
||||||
"Save" : "Guardar",
|
|
||||||
"Reply" : "Rempuesta",
|
|
||||||
"Update" : "Anovar",
|
|
||||||
"Description" : "Descripción",
|
|
||||||
"(group)" : "(grupu)",
|
|
||||||
"seconds ago" : "hai segundos",
|
|
||||||
"Shared with you" : "Shared with you",
|
|
||||||
"No notifications" : "Ensin avisos",
|
|
||||||
"Share" : "Share"
|
|
||||||
},
|
|
||||||
"nplurals=2; plural=(n != 1);");
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
{ "translations": {
|
|
||||||
"Deck" : "Deck",
|
|
||||||
"Personal" : "Personal",
|
|
||||||
"%s on %s" : "%s en %s",
|
|
||||||
"Finished" : "Finó",
|
|
||||||
"Action needed" : "Precísase aición",
|
|
||||||
"Later" : "Más sero",
|
|
||||||
"Done" : "Fecho",
|
|
||||||
"The file was uploaded" : "Xubióse'l ficheru",
|
|
||||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "El ficheru xubíu perpasa la direutiva de xuba upload_max_filesize en php.ini",
|
|
||||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "El ficheru xubíu perpasa la direutiva \"MAX_FILE_SIZE\" especificada nel formulariu HTML",
|
|
||||||
"No file was uploaded" : "Nun se xubieron fichjeros",
|
|
||||||
"Missing a temporary folder" : "Falta un direutoriu temporal",
|
|
||||||
"Could not write file to disk" : "Nun pudo escribise nel discu'l ficheru",
|
|
||||||
"A PHP extension stopped the file upload" : "Una estensión de PHP paró la xuba de ficheros",
|
|
||||||
"Invalid date, date format must be YYYY-MM-DD" : "Data non válida, el formatu ha ser AAAA-MM-DD",
|
|
||||||
"Cancel" : "Encaboxar",
|
|
||||||
"Close" : "Zarrar",
|
|
||||||
"File already exists" : "Yá esiste'l ficheru",
|
|
||||||
"Show archived cards" : "Amosar tarxetes archivaes",
|
|
||||||
"Details" : "Detalles",
|
|
||||||
"Sharing" : "Compartiendo",
|
|
||||||
"Tags" : "Etiquetes",
|
|
||||||
"Undo" : "Desfacer",
|
|
||||||
"Can edit" : "Can edit",
|
|
||||||
"Can share" : "Can share",
|
|
||||||
"Owner" : "Owner",
|
|
||||||
"Delete" : "Desaniciar",
|
|
||||||
"Edit" : "Editar",
|
|
||||||
"Members" : "Miembros",
|
|
||||||
"Download" : "Baxar",
|
|
||||||
"Attachments" : "Axuntos",
|
|
||||||
"Comments" : "Comentarios",
|
|
||||||
"Modified" : "Modificóse'l",
|
|
||||||
"Created" : "Creóse",
|
|
||||||
"Today" : "Güei",
|
|
||||||
"Tomorrow" : "Mañana",
|
|
||||||
"Save" : "Guardar",
|
|
||||||
"Reply" : "Rempuesta",
|
|
||||||
"Update" : "Anovar",
|
|
||||||
"Description" : "Descripción",
|
|
||||||
"(group)" : "(grupu)",
|
|
||||||
"seconds ago" : "hai segundos",
|
|
||||||
"Shared with you" : "Shared with you",
|
|
||||||
"No notifications" : "Ensin avisos",
|
|
||||||
"Share" : "Share"
|
|
||||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
|
||||||
}
|
|
||||||
@@ -81,6 +81,7 @@ OC.L10N.register(
|
|||||||
"Deck board" : "Доска",
|
"Deck board" : "Доска",
|
||||||
"Owned by %1$s" : "Владелец: %1$s",
|
"Owned by %1$s" : "Владелец: %1$s",
|
||||||
"Deck boards, cards and comments" : "Доски, карточки и комментарии",
|
"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",
|
||||||
"Card comments" : "Комментарии карточки",
|
"Card comments" : "Комментарии карточки",
|
||||||
"%s on %s" : "%s на %s",
|
"%s on %s" : "%s на %s",
|
||||||
"Deck boards and cards" : "Доски и карточки",
|
"Deck boards and cards" : "Доски и карточки",
|
||||||
@@ -156,6 +157,7 @@ OC.L10N.register(
|
|||||||
"Toggle compact mode" : "Выбор компактного или обычного режима просмотра",
|
"Toggle compact mode" : "Выбор компактного или обычного режима просмотра",
|
||||||
"Open details" : "Открыть подробности",
|
"Open details" : "Открыть подробности",
|
||||||
"Details" : "Свойства",
|
"Details" : "Свойства",
|
||||||
|
"Currently present people" : "Присутствующие в настоящее время люди",
|
||||||
"Loading board" : "Загрузка доски",
|
"Loading board" : "Загрузка доски",
|
||||||
"No lists available" : "Нет ни одного списка",
|
"No lists available" : "Нет ни одного списка",
|
||||||
"Create a new list to add cards to this board" : "Создайте список чтобы добавить карточки на эту доску",
|
"Create a new list to add cards to this board" : "Создайте список чтобы добавить карточки на эту доску",
|
||||||
@@ -296,10 +298,12 @@ OC.L10N.register(
|
|||||||
"Deck board {name}\n* Last modified on {lastMod}" : "Доска «{name}»\n* Последнее изменение: {lastMod}",
|
"Deck board {name}\n* Last modified on {lastMod}" : "Доска «{name}»\n* Последнее изменение: {lastMod}",
|
||||||
"{stack} in {board}" : "«{stack}» с доски «{board}»",
|
"{stack} in {board}" : "«{stack}» с доски «{board}»",
|
||||||
"Click to expand description" : "Нажмите, чтобы развернуть поле описания",
|
"Click to expand description" : "Нажмите, чтобы развернуть поле описания",
|
||||||
|
"* Created on {created}\n* Last modified on {lastMod}\n* {nbAttachments} attachments\n* {nbComments} comments" : "* Создано {created}\n* Последнее изменение {lastMod}\n* {nbAttachments} вложений\n* {nbComments} комментариев",
|
||||||
"{nbCards} cards" : "карточек: {nbCards}",
|
"{nbCards} cards" : "карточек: {nbCards}",
|
||||||
"Click to expand comment" : "Нажмите, чтобы развернуть комментарии",
|
"Click to expand comment" : "Нажмите, чтобы развернуть комментарии",
|
||||||
"No upcoming cards" : "Отсутствуют карточки, ожидающие выполнения",
|
"No upcoming cards" : "Отсутствуют карточки, ожидающие выполнения",
|
||||||
"upcoming cards" : "карточки, ожидающие выполнения",
|
"upcoming cards" : "карточки, ожидающие выполнения",
|
||||||
|
"New card" : "Новая карточка",
|
||||||
"Due on {date}" : "Дата исполнения: {date}",
|
"Due on {date}" : "Дата исполнения: {date}",
|
||||||
"Link to a board" : "Ссылка на доску",
|
"Link to a board" : "Ссылка на доску",
|
||||||
"Link to a card" : "Ссылка на карточку",
|
"Link to a card" : "Ссылка на карточку",
|
||||||
|
|||||||
@@ -79,6 +79,7 @@
|
|||||||
"Deck board" : "Доска",
|
"Deck board" : "Доска",
|
||||||
"Owned by %1$s" : "Владелец: %1$s",
|
"Owned by %1$s" : "Владелец: %1$s",
|
||||||
"Deck boards, cards and comments" : "Доски, карточки и комментарии",
|
"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",
|
||||||
"Card comments" : "Комментарии карточки",
|
"Card comments" : "Комментарии карточки",
|
||||||
"%s on %s" : "%s на %s",
|
"%s on %s" : "%s на %s",
|
||||||
"Deck boards and cards" : "Доски и карточки",
|
"Deck boards and cards" : "Доски и карточки",
|
||||||
@@ -154,6 +155,7 @@
|
|||||||
"Toggle compact mode" : "Выбор компактного или обычного режима просмотра",
|
"Toggle compact mode" : "Выбор компактного или обычного режима просмотра",
|
||||||
"Open details" : "Открыть подробности",
|
"Open details" : "Открыть подробности",
|
||||||
"Details" : "Свойства",
|
"Details" : "Свойства",
|
||||||
|
"Currently present people" : "Присутствующие в настоящее время люди",
|
||||||
"Loading board" : "Загрузка доски",
|
"Loading board" : "Загрузка доски",
|
||||||
"No lists available" : "Нет ни одного списка",
|
"No lists available" : "Нет ни одного списка",
|
||||||
"Create a new list to add cards to this board" : "Создайте список чтобы добавить карточки на эту доску",
|
"Create a new list to add cards to this board" : "Создайте список чтобы добавить карточки на эту доску",
|
||||||
@@ -294,10 +296,12 @@
|
|||||||
"Deck board {name}\n* Last modified on {lastMod}" : "Доска «{name}»\n* Последнее изменение: {lastMod}",
|
"Deck board {name}\n* Last modified on {lastMod}" : "Доска «{name}»\n* Последнее изменение: {lastMod}",
|
||||||
"{stack} in {board}" : "«{stack}» с доски «{board}»",
|
"{stack} in {board}" : "«{stack}» с доски «{board}»",
|
||||||
"Click to expand description" : "Нажмите, чтобы развернуть поле описания",
|
"Click to expand description" : "Нажмите, чтобы развернуть поле описания",
|
||||||
|
"* Created on {created}\n* Last modified on {lastMod}\n* {nbAttachments} attachments\n* {nbComments} comments" : "* Создано {created}\n* Последнее изменение {lastMod}\n* {nbAttachments} вложений\n* {nbComments} комментариев",
|
||||||
"{nbCards} cards" : "карточек: {nbCards}",
|
"{nbCards} cards" : "карточек: {nbCards}",
|
||||||
"Click to expand comment" : "Нажмите, чтобы развернуть комментарии",
|
"Click to expand comment" : "Нажмите, чтобы развернуть комментарии",
|
||||||
"No upcoming cards" : "Отсутствуют карточки, ожидающие выполнения",
|
"No upcoming cards" : "Отсутствуют карточки, ожидающие выполнения",
|
||||||
"upcoming cards" : "карточки, ожидающие выполнения",
|
"upcoming cards" : "карточки, ожидающие выполнения",
|
||||||
|
"New card" : "Новая карточка",
|
||||||
"Due on {date}" : "Дата исполнения: {date}",
|
"Due on {date}" : "Дата исполнения: {date}",
|
||||||
"Link to a board" : "Ссылка на доску",
|
"Link to a board" : "Ссылка на доску",
|
||||||
"Link to a card" : "Ссылка на карточку",
|
"Link to a card" : "Ссылка на карточку",
|
||||||
|
|||||||
14
l10n/sv.js
14
l10n/sv.js
@@ -78,7 +78,7 @@ OC.L10N.register(
|
|||||||
"{user} has mentioned you in a comment on {deck-card}." : "{user} har nämnt dig i en kommentar i {deck-card}.",
|
"{user} has mentioned you in a comment on {deck-card}." : "{user} har nämnt dig i en kommentar i {deck-card}.",
|
||||||
"The board \"%s\" has been shared with you by %s." : "Tavlan \"%s\" har delats med dig av %s.",
|
"The board \"%s\" has been shared with you by %s." : "Tavlan \"%s\" har delats med dig av %s.",
|
||||||
"{user} has shared {deck-board} with you." : "{user} har delat {deck-board} med dig.",
|
"{user} has shared {deck-board} with you." : "{user} har delat {deck-board} med dig.",
|
||||||
"Deck board" : "Deck-plank",
|
"Deck board" : "Deck-tavla",
|
||||||
"Owned by %1$s" : "Ägd av %1$s",
|
"Owned by %1$s" : "Ägd av %1$s",
|
||||||
"Deck boards, cards and comments" : "Deck tavlor, kort och kommentarer",
|
"Deck boards, cards and comments" : "Deck tavlor, kort och kommentarer",
|
||||||
"From %1$s, in %2$s/%3$s, owned by %4$s" : "Från %1$s, i %2$s/%3$s, ägd av %4$s",
|
"From %1$s, in %2$s/%3$s, owned by %4$s" : "Från %1$s, i %2$s/%3$s, ägd av %4$s",
|
||||||
@@ -92,7 +92,7 @@ OC.L10N.register(
|
|||||||
"Later" : "Senare",
|
"Later" : "Senare",
|
||||||
"copy" : "kopiera",
|
"copy" : "kopiera",
|
||||||
"To do" : "Att göra",
|
"To do" : "Att göra",
|
||||||
"Doing" : "Gör",
|
"Doing" : "Pågående",
|
||||||
"Done" : "Klart",
|
"Done" : "Klart",
|
||||||
"Example Task 3" : "Exempeluppgift 3",
|
"Example Task 3" : "Exempeluppgift 3",
|
||||||
"Example Task 2" : "Exempeluppgift 2",
|
"Example Task 2" : "Exempeluppgift 2",
|
||||||
@@ -249,7 +249,7 @@ OC.L10N.register(
|
|||||||
"Write a description …" : "Ange en beskrivning ...",
|
"Write a description …" : "Ange en beskrivning ...",
|
||||||
"Choose attachment" : "Välj bilaga",
|
"Choose attachment" : "Välj bilaga",
|
||||||
"(group)" : " (grupp)",
|
"(group)" : " (grupp)",
|
||||||
"Todo items" : "Todo saker",
|
"Todo items" : "Att göra saker",
|
||||||
"{count} comments, {unread} unread" : "{count} kommentarer, {unread} olästa",
|
"{count} comments, {unread} unread" : "{count} kommentarer, {unread} olästa",
|
||||||
"Edit card title" : "Ändra korttitel",
|
"Edit card title" : "Ändra korttitel",
|
||||||
"Assign to me" : "Tilldela till mig",
|
"Assign to me" : "Tilldela till mig",
|
||||||
@@ -289,7 +289,7 @@ OC.L10N.register(
|
|||||||
"Only assigned cards" : "Bara tilldelade kort",
|
"Only assigned cards" : "Bara tilldelade kort",
|
||||||
"No reminder" : "Ingen påminnelse",
|
"No reminder" : "Ingen påminnelse",
|
||||||
"An error occurred" : "Ett fel uppstod",
|
"An error occurred" : "Ett fel uppstod",
|
||||||
"Are you sure you want to delete the board {title}? This will delete all the data of this board including archived cards." : "Är du säker på att du vill radera brädet {title}? Detta kommer radera all data som tillhör brädet inklusive arkiverade kort.",
|
"Are you sure you want to delete the board {title}? This will delete all the data of this board including archived cards." : "Är du säker på att du vill radera tavla {title}? Detta kommer radera all data som tillhör tavlan inklusive arkiverade kort.",
|
||||||
"Delete the board?" : "Ta bort tavlan?",
|
"Delete the board?" : "Ta bort tavlan?",
|
||||||
"Loading filtered view" : "Laddar filtrerad vy",
|
"Loading filtered view" : "Laddar filtrerad vy",
|
||||||
"No due" : "Inget slut",
|
"No due" : "Inget slut",
|
||||||
@@ -316,9 +316,9 @@ OC.L10N.register(
|
|||||||
"Share with a Deck card" : "Dela med ett Deck-kort",
|
"Share with a Deck card" : "Dela med ett Deck-kort",
|
||||||
"Share {file} with a Deck card" : "Dela {file} med ett Deck-kort",
|
"Share {file} with a Deck card" : "Dela {file} med ett Deck-kort",
|
||||||
"Share" : "Dela",
|
"Share" : "Dela",
|
||||||
"Are you sure you want to transfer the board {title} for {user}?" : "Är du säker på att du vill överföra brädet {title} för {user}?",
|
"Are you sure you want to transfer the board {title} for {user}?" : "Är du säker på att du vill överföra tavla {title} för {user}?",
|
||||||
"Transfer the board for {user} successfully" : "Överförde brädet för {user}",
|
"Transfer the board for {user} successfully" : "Överförde tavlan för {user}",
|
||||||
"Failed to transfer the board for {user}" : "Misslyckades med att överföra brädet för {user}",
|
"Failed to transfer the board for {user}" : "Misslyckades med att överföra tavlan för {user}",
|
||||||
"Add a new list" : "Lägg till en ny lista",
|
"Add a new list" : "Lägg till en ny lista",
|
||||||
"Are you sure you want to delete the board {title}? This will delete all the data of this board." : "Är du säker på att du vill radera tavla {title}? Detta kommer att radera all information från denna tavla."
|
"Are you sure you want to delete the board {title}? This will delete all the data of this board." : "Är du säker på att du vill radera tavla {title}? Detta kommer att radera all information från denna tavla."
|
||||||
},
|
},
|
||||||
|
|||||||
14
l10n/sv.json
14
l10n/sv.json
@@ -76,7 +76,7 @@
|
|||||||
"{user} has mentioned you in a comment on {deck-card}." : "{user} har nämnt dig i en kommentar i {deck-card}.",
|
"{user} has mentioned you in a comment on {deck-card}." : "{user} har nämnt dig i en kommentar i {deck-card}.",
|
||||||
"The board \"%s\" has been shared with you by %s." : "Tavlan \"%s\" har delats med dig av %s.",
|
"The board \"%s\" has been shared with you by %s." : "Tavlan \"%s\" har delats med dig av %s.",
|
||||||
"{user} has shared {deck-board} with you." : "{user} har delat {deck-board} med dig.",
|
"{user} has shared {deck-board} with you." : "{user} har delat {deck-board} med dig.",
|
||||||
"Deck board" : "Deck-plank",
|
"Deck board" : "Deck-tavla",
|
||||||
"Owned by %1$s" : "Ägd av %1$s",
|
"Owned by %1$s" : "Ägd av %1$s",
|
||||||
"Deck boards, cards and comments" : "Deck tavlor, kort och kommentarer",
|
"Deck boards, cards and comments" : "Deck tavlor, kort och kommentarer",
|
||||||
"From %1$s, in %2$s/%3$s, owned by %4$s" : "Från %1$s, i %2$s/%3$s, ägd av %4$s",
|
"From %1$s, in %2$s/%3$s, owned by %4$s" : "Från %1$s, i %2$s/%3$s, ägd av %4$s",
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
"Later" : "Senare",
|
"Later" : "Senare",
|
||||||
"copy" : "kopiera",
|
"copy" : "kopiera",
|
||||||
"To do" : "Att göra",
|
"To do" : "Att göra",
|
||||||
"Doing" : "Gör",
|
"Doing" : "Pågående",
|
||||||
"Done" : "Klart",
|
"Done" : "Klart",
|
||||||
"Example Task 3" : "Exempeluppgift 3",
|
"Example Task 3" : "Exempeluppgift 3",
|
||||||
"Example Task 2" : "Exempeluppgift 2",
|
"Example Task 2" : "Exempeluppgift 2",
|
||||||
@@ -247,7 +247,7 @@
|
|||||||
"Write a description …" : "Ange en beskrivning ...",
|
"Write a description …" : "Ange en beskrivning ...",
|
||||||
"Choose attachment" : "Välj bilaga",
|
"Choose attachment" : "Välj bilaga",
|
||||||
"(group)" : " (grupp)",
|
"(group)" : " (grupp)",
|
||||||
"Todo items" : "Todo saker",
|
"Todo items" : "Att göra saker",
|
||||||
"{count} comments, {unread} unread" : "{count} kommentarer, {unread} olästa",
|
"{count} comments, {unread} unread" : "{count} kommentarer, {unread} olästa",
|
||||||
"Edit card title" : "Ändra korttitel",
|
"Edit card title" : "Ändra korttitel",
|
||||||
"Assign to me" : "Tilldela till mig",
|
"Assign to me" : "Tilldela till mig",
|
||||||
@@ -287,7 +287,7 @@
|
|||||||
"Only assigned cards" : "Bara tilldelade kort",
|
"Only assigned cards" : "Bara tilldelade kort",
|
||||||
"No reminder" : "Ingen påminnelse",
|
"No reminder" : "Ingen påminnelse",
|
||||||
"An error occurred" : "Ett fel uppstod",
|
"An error occurred" : "Ett fel uppstod",
|
||||||
"Are you sure you want to delete the board {title}? This will delete all the data of this board including archived cards." : "Är du säker på att du vill radera brädet {title}? Detta kommer radera all data som tillhör brädet inklusive arkiverade kort.",
|
"Are you sure you want to delete the board {title}? This will delete all the data of this board including archived cards." : "Är du säker på att du vill radera tavla {title}? Detta kommer radera all data som tillhör tavlan inklusive arkiverade kort.",
|
||||||
"Delete the board?" : "Ta bort tavlan?",
|
"Delete the board?" : "Ta bort tavlan?",
|
||||||
"Loading filtered view" : "Laddar filtrerad vy",
|
"Loading filtered view" : "Laddar filtrerad vy",
|
||||||
"No due" : "Inget slut",
|
"No due" : "Inget slut",
|
||||||
@@ -314,9 +314,9 @@
|
|||||||
"Share with a Deck card" : "Dela med ett Deck-kort",
|
"Share with a Deck card" : "Dela med ett Deck-kort",
|
||||||
"Share {file} with a Deck card" : "Dela {file} med ett Deck-kort",
|
"Share {file} with a Deck card" : "Dela {file} med ett Deck-kort",
|
||||||
"Share" : "Dela",
|
"Share" : "Dela",
|
||||||
"Are you sure you want to transfer the board {title} for {user}?" : "Är du säker på att du vill överföra brädet {title} för {user}?",
|
"Are you sure you want to transfer the board {title} for {user}?" : "Är du säker på att du vill överföra tavla {title} för {user}?",
|
||||||
"Transfer the board for {user} successfully" : "Överförde brädet för {user}",
|
"Transfer the board for {user} successfully" : "Överförde tavlan för {user}",
|
||||||
"Failed to transfer the board for {user}" : "Misslyckades med att överföra brädet för {user}",
|
"Failed to transfer the board for {user}" : "Misslyckades med att överföra tavlan för {user}",
|
||||||
"Add a new list" : "Lägg till en ny lista",
|
"Add a new list" : "Lägg till en ny lista",
|
||||||
"Are you sure you want to delete the board {title}? This will delete all the data of this board." : "Är du säker på att du vill radera tavla {title}? Detta kommer att radera all information från denna tavla."
|
"Are you sure you want to delete the board {title}? This will delete all the data of this board." : "Är du säker på att du vill radera tavla {title}? Detta kommer att radera all information från denna tavla."
|
||||||
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
},"pluralForm" :"nplurals=2; plural=(n != 1);"
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ OC.L10N.register(
|
|||||||
"Can manage" : "可以管理",
|
"Can manage" : "可以管理",
|
||||||
"Owner" : "所有者",
|
"Owner" : "所有者",
|
||||||
"Delete" : "删除",
|
"Delete" : "删除",
|
||||||
"Failed to create share with {displayName}" : "用 {displayName} 创建分享失败",
|
"Failed to create share with {displayName}" : "用{displayName}创建分享失败",
|
||||||
"Transfer" : "传输",
|
"Transfer" : "传输",
|
||||||
"Archive all cards" : "归档所有卡片",
|
"Archive all cards" : "归档所有卡片",
|
||||||
"Delete list" : "删除列表",
|
"Delete list" : "删除列表",
|
||||||
@@ -285,7 +285,7 @@ OC.L10N.register(
|
|||||||
"Create a card" : "创建一张卡片",
|
"Create a card" : "创建一张卡片",
|
||||||
"Message from {author} in {conversationName}" : "{conversationName} 会话中来自 {author} 的消息",
|
"Message from {author} in {conversationName}" : "{conversationName} 会话中来自 {author} 的消息",
|
||||||
"Something went wrong" : "发生了错误",
|
"Something went wrong" : "发生了错误",
|
||||||
"Failed to upload {name}" : "未能上传 {name}",
|
"Failed to upload {name}" : "未能上传{name}",
|
||||||
"Maximum file size of {size} exceeded" : "文件容量已超过 {size} 的上限",
|
"Maximum file size of {size} exceeded" : "文件容量已超过 {size} 的上限",
|
||||||
"Error creating the share" : "创建分享出错",
|
"Error creating the share" : "创建分享出错",
|
||||||
"Share with a Deck card" : "分享给一张看板卡片",
|
"Share with a Deck card" : "分享给一张看板卡片",
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
"Can manage" : "可以管理",
|
"Can manage" : "可以管理",
|
||||||
"Owner" : "所有者",
|
"Owner" : "所有者",
|
||||||
"Delete" : "删除",
|
"Delete" : "删除",
|
||||||
"Failed to create share with {displayName}" : "用 {displayName} 创建分享失败",
|
"Failed to create share with {displayName}" : "用{displayName}创建分享失败",
|
||||||
"Transfer" : "传输",
|
"Transfer" : "传输",
|
||||||
"Archive all cards" : "归档所有卡片",
|
"Archive all cards" : "归档所有卡片",
|
||||||
"Delete list" : "删除列表",
|
"Delete list" : "删除列表",
|
||||||
@@ -283,7 +283,7 @@
|
|||||||
"Create a card" : "创建一张卡片",
|
"Create a card" : "创建一张卡片",
|
||||||
"Message from {author} in {conversationName}" : "{conversationName} 会话中来自 {author} 的消息",
|
"Message from {author} in {conversationName}" : "{conversationName} 会话中来自 {author} 的消息",
|
||||||
"Something went wrong" : "发生了错误",
|
"Something went wrong" : "发生了错误",
|
||||||
"Failed to upload {name}" : "未能上传 {name}",
|
"Failed to upload {name}" : "未能上传{name}",
|
||||||
"Maximum file size of {size} exceeded" : "文件容量已超过 {size} 的上限",
|
"Maximum file size of {size} exceeded" : "文件容量已超过 {size} 的上限",
|
||||||
"Error creating the share" : "创建分享出错",
|
"Error creating the share" : "创建分享出错",
|
||||||
"Share with a Deck card" : "分享给一张看板卡片",
|
"Share with a Deck card" : "分享给一张看板卡片",
|
||||||
|
|||||||
44
package-lock.json
generated
44
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "deck",
|
"name": "deck",
|
||||||
"version": "1.8.3",
|
"version": "1.8.5",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "deck",
|
"name": "deck",
|
||||||
"version": "1.8.3",
|
"version": "1.8.5",
|
||||||
"license": "agpl",
|
"license": "agpl",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/polyfill": "^7.12.1",
|
"@babel/polyfill": "^7.12.1",
|
||||||
@@ -3101,11 +3101,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@nextcloud/event-bus": {
|
"node_modules/@nextcloud/event-bus": {
|
||||||
"version": "3.0.2",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-3.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-3.1.0.tgz",
|
||||||
"integrity": "sha512-svXCZa4UkoZKsBiGzTi0cVcbPFUOhCm7pMKjGumRwBvHywX+8by478IQ8Grw75PFHxajMJZ0KrOTTM8WnzzEAw==",
|
"integrity": "sha512-purXQsXbhbmpcDsbDuR0i7vwUgOsqnIUa7QAD3lV/UZUkUT94SmxBM5LgQ8iV8TQBWWleEwQHy5kYfHeTGF9wg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"semver": "^7.3.7"
|
"semver": "^7.5.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^16.0.0",
|
"node": "^16.0.0",
|
||||||
@@ -3124,9 +3124,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@nextcloud/event-bus/node_modules/semver": {
|
"node_modules/@nextcloud/event-bus/node_modules/semver": {
|
||||||
"version": "7.3.7",
|
"version": "7.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz",
|
||||||
"integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==",
|
"integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lru-cache": "^6.0.0"
|
"lru-cache": "^6.0.0"
|
||||||
},
|
},
|
||||||
@@ -3341,9 +3341,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@nextcloud/vue": {
|
"node_modules/@nextcloud/vue": {
|
||||||
"version": "7.11.2",
|
"version": "7.11.6",
|
||||||
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-7.11.2.tgz",
|
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-7.11.6.tgz",
|
||||||
"integrity": "sha512-BK/+IC312Q6iUKrg+aycxPF5w14LT8qcnpqH3iFGykx6V+yyqEAHIwXTqXwnnQ5QzcC5WPtErSxsLN3ydknFzA==",
|
"integrity": "sha512-HqstdUdQYHMFx/xD36OElbE0DvXmGSnPI9/stvRDlTYV+aG2XNQPn57k5cXjsQe5LAFv0SXwXVTzKA6q5+wuoA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@floating-ui/dom": "^1.1.0",
|
"@floating-ui/dom": "^1.1.0",
|
||||||
"@nextcloud/auth": "^2.0.0",
|
"@nextcloud/auth": "^2.0.0",
|
||||||
@@ -22322,11 +22322,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@nextcloud/event-bus": {
|
"@nextcloud/event-bus": {
|
||||||
"version": "3.0.2",
|
"version": "3.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-3.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-3.1.0.tgz",
|
||||||
"integrity": "sha512-svXCZa4UkoZKsBiGzTi0cVcbPFUOhCm7pMKjGumRwBvHywX+8by478IQ8Grw75PFHxajMJZ0KrOTTM8WnzzEAw==",
|
"integrity": "sha512-purXQsXbhbmpcDsbDuR0i7vwUgOsqnIUa7QAD3lV/UZUkUT94SmxBM5LgQ8iV8TQBWWleEwQHy5kYfHeTGF9wg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"semver": "^7.3.7"
|
"semver": "^7.5.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lru-cache": {
|
"lru-cache": {
|
||||||
@@ -22338,9 +22338,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"semver": {
|
"semver": {
|
||||||
"version": "7.3.7",
|
"version": "7.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz",
|
||||||
"integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==",
|
"integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"lru-cache": "^6.0.0"
|
"lru-cache": "^6.0.0"
|
||||||
}
|
}
|
||||||
@@ -22504,9 +22504,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@nextcloud/vue": {
|
"@nextcloud/vue": {
|
||||||
"version": "7.11.2",
|
"version": "7.11.6",
|
||||||
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-7.11.2.tgz",
|
"resolved": "https://registry.npmjs.org/@nextcloud/vue/-/vue-7.11.6.tgz",
|
||||||
"integrity": "sha512-BK/+IC312Q6iUKrg+aycxPF5w14LT8qcnpqH3iFGykx6V+yyqEAHIwXTqXwnnQ5QzcC5WPtErSxsLN3ydknFzA==",
|
"integrity": "sha512-HqstdUdQYHMFx/xD36OElbE0DvXmGSnPI9/stvRDlTYV+aG2XNQPn57k5cXjsQe5LAFv0SXwXVTzKA6q5+wuoA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@floating-ui/dom": "^1.1.0",
|
"@floating-ui/dom": "^1.1.0",
|
||||||
"@nextcloud/auth": "^2.0.0",
|
"@nextcloud/auth": "^2.0.0",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "deck",
|
"name": "deck",
|
||||||
"description": "",
|
"description": "",
|
||||||
"version": "1.8.4",
|
"version": "1.8.5",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Julius Härtl",
|
"name": "Julius Härtl",
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
"build": "NODE_ENV=production webpack --progress --config webpack.js",
|
"build": "NODE_ENV=production webpack --progress --config webpack.js",
|
||||||
"dev": "NODE_ENV=development webpack --progress --config webpack.js",
|
"dev": "NODE_ENV=development webpack --progress --config webpack.js",
|
||||||
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.js",
|
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.js",
|
||||||
|
"serve": "webpack serve --node-env development --allowed-hosts all --config webpack.js",
|
||||||
"lint": "eslint --ext .js,.vue src",
|
"lint": "eslint --ext .js,.vue src",
|
||||||
"lint:fix": "eslint --ext .js,.vue src --fix",
|
"lint:fix": "eslint --ext .js,.vue src --fix",
|
||||||
"stylelint": "stylelint src",
|
"stylelint": "stylelint src",
|
||||||
|
|||||||
@@ -442,6 +442,6 @@ export default {
|
|||||||
<style>
|
<style>
|
||||||
.mx-datepicker-main.mx-datepicker-popup {
|
.mx-datepicker-main.mx-datepicker-popup {
|
||||||
/* above the modal */
|
/* above the modal */
|
||||||
z-index: 9999;
|
z-index: 9999 !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -23,6 +23,8 @@
|
|||||||
import { subscribe } from '@nextcloud/event-bus'
|
import { subscribe } from '@nextcloud/event-bus'
|
||||||
import { generateUrl } from '@nextcloud/router'
|
import { generateUrl } from '@nextcloud/router'
|
||||||
|
|
||||||
|
import './shared-init.js'
|
||||||
|
|
||||||
subscribe('calendar:handle-todo-click', ({ calendarId, taskId }) => {
|
subscribe('calendar:handle-todo-click', ({ calendarId, taskId }) => {
|
||||||
const deckAppPrefix = 'app-generated--deck--board-'
|
const deckAppPrefix = 'app-generated--deck--board-'
|
||||||
if (calendarId.startsWith(deckAppPrefix)) {
|
if (calendarId.startsWith(deckAppPrefix)) {
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ import CardReferenceWidget from './views/CardReferenceWidget.vue'
|
|||||||
|
|
||||||
import { translate, translatePlural } from '@nextcloud/l10n'
|
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||||
|
|
||||||
|
import './shared-init.js'
|
||||||
|
|
||||||
Vue.prototype.t = translate
|
Vue.prototype.t = translate
|
||||||
Vue.prototype.n = translatePlural
|
Vue.prototype.n = translatePlural
|
||||||
Vue.prototype.OC = window.OC
|
Vue.prototype.OC = window.OC
|
||||||
|
|||||||
@@ -26,10 +26,7 @@ import './../css/collections.css'
|
|||||||
import FileSharingPicker from './views/FileSharingPicker.js'
|
import FileSharingPicker from './views/FileSharingPicker.js'
|
||||||
import { buildSelector } from './helpers/selector.js'
|
import { buildSelector } from './helpers/selector.js'
|
||||||
|
|
||||||
// eslint-disable-next-line
|
import './shared-init.js'
|
||||||
__webpack_nonce__ = btoa(OC.requestToken);
|
|
||||||
// eslint-disable-next-line
|
|
||||||
__webpack_public_path__ = OC.linkTo('deck', 'js/');
|
|
||||||
|
|
||||||
Vue.prototype.t = t
|
Vue.prototype.t = t
|
||||||
Vue.prototype.n = n
|
Vue.prototype.n = n
|
||||||
|
|||||||
@@ -27,10 +27,7 @@ import CardCreateDialog from './CardCreateDialog.vue'
|
|||||||
import { buildSelector } from './helpers/selector.js'
|
import { buildSelector } from './helpers/selector.js'
|
||||||
import './init-collections.js'
|
import './init-collections.js'
|
||||||
|
|
||||||
// eslint-disable-next-line
|
import './shared-init.js'
|
||||||
__webpack_nonce__ = btoa(OC.requestToken);
|
|
||||||
// eslint-disable-next-line
|
|
||||||
__webpack_public_path__ = OC.linkTo('deck', 'js/');
|
|
||||||
|
|
||||||
Vue.prototype.t = t
|
Vue.prototype.t = t
|
||||||
Vue.prototype.n = n
|
Vue.prototype.n = n
|
||||||
|
|||||||
@@ -25,22 +25,16 @@ import router from './router.js'
|
|||||||
import store from './store/main.js'
|
import store from './store/main.js'
|
||||||
import { sync } from 'vuex-router-sync'
|
import { sync } from 'vuex-router-sync'
|
||||||
import { translate, translatePlural } from '@nextcloud/l10n'
|
import { translate, translatePlural } from '@nextcloud/l10n'
|
||||||
import { generateFilePath } from '@nextcloud/router'
|
|
||||||
import { showError } from '@nextcloud/dialogs'
|
import { showError } from '@nextcloud/dialogs'
|
||||||
import { subscribe } from '@nextcloud/event-bus'
|
import { subscribe } from '@nextcloud/event-bus'
|
||||||
import { Tooltip } from '@nextcloud/vue'
|
import { Tooltip } from '@nextcloud/vue'
|
||||||
import ClickOutside from 'vue-click-outside'
|
import ClickOutside from 'vue-click-outside'
|
||||||
|
import './shared-init.js'
|
||||||
import './models/index.js'
|
import './models/index.js'
|
||||||
|
|
||||||
// the server snap.js conflicts with vertical scrolling so we disable it
|
// the server snap.js conflicts with vertical scrolling so we disable it
|
||||||
document.body.setAttribute('data-snap-ignore', 'true')
|
document.body.setAttribute('data-snap-ignore', 'true')
|
||||||
|
|
||||||
// eslint-disable-next-line
|
|
||||||
__webpack_nonce__ = btoa(OC.requestToken)
|
|
||||||
if (!process.env.HOT) {
|
|
||||||
// eslint-disable-next-line
|
|
||||||
__webpack_public_path__ = generateFilePath('deck', '', 'js/')
|
|
||||||
}
|
|
||||||
sync(store, router)
|
sync(store, router)
|
||||||
|
|
||||||
Vue.prototype.t = translate
|
Vue.prototype.t = translate
|
||||||
|
|||||||
12
src/shared-init.js
Normal file
12
src/shared-init.js
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import { generateFilePath } from '@nextcloud/router'
|
||||||
|
|
||||||
|
// eslint-disable-next-line
|
||||||
|
__webpack_nonce__ = btoa(OC.requestToken)
|
||||||
|
|
||||||
|
if (!process.env.WEBPACK_SERVE) {
|
||||||
|
// eslint-disable-next-line
|
||||||
|
__webpack_public_path__ = generateFilePath('deck', '', 'js/')
|
||||||
|
} else {
|
||||||
|
// eslint-disable-next-line
|
||||||
|
__webpack_public_path__ = 'http://127.0.0.1:3000/'
|
||||||
|
}
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
const webpack = require('webpack');
|
|
||||||
const merge = require('webpack-merge');
|
|
||||||
const dev = require('./webpack.dev.js');
|
|
||||||
|
|
||||||
module.exports = merge(dev, {
|
|
||||||
devServer: {
|
|
||||||
hot: true,
|
|
||||||
port: 3000,
|
|
||||||
/**
|
|
||||||
* This makes sure the main entrypoint is written to disk so it is
|
|
||||||
* loaded by Nextcloud though our existing addScript calls
|
|
||||||
*/
|
|
||||||
writeToDisk: (filePath) => {
|
|
||||||
return /deck\.js$/.test(filePath);
|
|
||||||
},
|
|
||||||
headers: {
|
|
||||||
'Access-Control-Allow-Origin': '*'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
plugins: [
|
|
||||||
new webpack.DefinePlugin({
|
|
||||||
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV),
|
|
||||||
'process.env.HOT': true
|
|
||||||
})
|
|
||||||
]
|
|
||||||
})
|
|
||||||
24
webpack.js
24
webpack.js
@@ -1,10 +1,11 @@
|
|||||||
const webpackConfig = require('@nextcloud/webpack-vue-config')
|
const webpackConfig = require('@nextcloud/webpack-vue-config')
|
||||||
|
const webpack = require('webpack')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const ESLintPlugin = require('eslint-webpack-plugin')
|
const ESLintPlugin = require('eslint-webpack-plugin')
|
||||||
const StyleLintPlugin = require('stylelint-webpack-plugin')
|
const StyleLintPlugin = require('stylelint-webpack-plugin')
|
||||||
|
|
||||||
const buildMode = process.env.NODE_ENV
|
const buildMode = process.env.NODE_ENV
|
||||||
const isDev = buildMode === 'development'
|
const isDevServer = process.env.WEBPACK_SERVE
|
||||||
|
|
||||||
webpackConfig.entry = {
|
webpackConfig.entry = {
|
||||||
...webpackConfig.entry,
|
...webpackConfig.entry,
|
||||||
@@ -15,12 +16,21 @@ webpackConfig.entry = {
|
|||||||
'card-reference': path.join(__dirname, 'src', 'init-card-reference.js'),
|
'card-reference': path.join(__dirname, 'src', 'init-card-reference.js'),
|
||||||
}
|
}
|
||||||
|
|
||||||
webpackConfig.stats = {
|
if (isDevServer) {
|
||||||
context: path.resolve(__dirname, 'src'),
|
webpackConfig.output.publicPath = 'http://127.0.0.1:3000/'
|
||||||
assets: true,
|
webpackConfig.plugins.push(
|
||||||
entrypoints: true,
|
new webpack.DefinePlugin({
|
||||||
chunks: true,
|
'process.env.WEBPACK_SERVE': true,
|
||||||
modules: true,
|
})
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
webpackConfig.stats = {
|
||||||
|
context: path.resolve(__dirname, 'src'),
|
||||||
|
assets: true,
|
||||||
|
entrypoints: true,
|
||||||
|
chunks: true,
|
||||||
|
modules: true,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
webpackConfig.plugins.push(
|
webpackConfig.plugins.push(
|
||||||
|
|||||||
Reference in New Issue
Block a user