Compare commits
53 Commits
stable32
...
fix/7263-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c37f6f92c4 | ||
|
|
4abf895d22 | ||
|
|
d216e56dac | ||
|
|
15514162f3 | ||
|
|
b3bb29157c | ||
|
|
12b656dd8c | ||
|
|
661eea3018 | ||
|
|
ecd3cb42de | ||
|
|
f49c8f6ee4 | ||
|
|
96b56a2447 | ||
|
|
26badb58dd | ||
|
|
04d9433bdd | ||
|
|
a69eb654fd | ||
|
|
ab5ccb7bc1 | ||
|
|
f054cc2fbd | ||
|
|
1afc5cdbcc | ||
|
|
1a6e5929b2 | ||
|
|
74a3ab5008 | ||
|
|
0ebd05e649 | ||
|
|
3611c8f8ac | ||
|
|
da3b857ab0 | ||
|
|
199b698cb7 | ||
|
|
fb1132652a | ||
|
|
f78c3d42df | ||
|
|
4a879ab1fb | ||
|
|
b4e9dd39cc | ||
|
|
9035a23af8 | ||
|
|
bffa4d0925 | ||
|
|
516294ee23 | ||
|
|
5a39996357 | ||
|
|
569a0961fd | ||
|
|
376f46b7ba | ||
|
|
447dc60f37 | ||
|
|
480af39d56 | ||
|
|
7d18f3a48b | ||
|
|
51f5b8f023 | ||
|
|
1e68e1ff03 | ||
|
|
a13619690e | ||
|
|
3115363c28 | ||
|
|
6ace1867e1 | ||
|
|
af4a610a25 | ||
|
|
d40661a985 | ||
|
|
0a14a0dfd8 | ||
|
|
72d3cfa771 | ||
|
|
411c0d9d46 | ||
|
|
ec33c26fe4 | ||
|
|
8fcb4a47ae | ||
|
|
44d244f9aa | ||
|
|
3ed1fbcc40 | ||
|
|
7394cb2d48 | ||
|
|
4f39328d59 | ||
|
|
a3fa72341d | ||
|
|
152181ff67 |
17
.github/dependabot.yml
vendored
17
.github/dependabot.yml
vendored
@@ -13,6 +13,23 @@ updates:
|
||||
- juliushaertl
|
||||
- luka-nextcloud
|
||||
|
||||
- package-ecosystem: npm
|
||||
target-branch: stable32
|
||||
versioning-strategy: lockfile-only
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: saturday
|
||||
time: "03:15"
|
||||
timezone: Europe/Paris
|
||||
ignore:
|
||||
- dependency-name: "*"
|
||||
update-types: ["version-update:semver-major"]
|
||||
open-pull-requests-limit: 30
|
||||
labels:
|
||||
- 3. to review
|
||||
- dependencies
|
||||
|
||||
- package-ecosystem: npm
|
||||
target-branch: stable31
|
||||
versioning-strategy: lockfile-only
|
||||
|
||||
2
.github/workflows/cypress-e2e.yml
vendored
2
.github/workflows/cypress-e2e.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
node-version: [20.x]
|
||||
# containers: [1, 2, 3]
|
||||
php-versions: [ '8.2' ]
|
||||
server-versions: [ 'stable32' ]
|
||||
server-versions: [ 'master' ]
|
||||
|
||||
env:
|
||||
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, zip, gd, apcu
|
||||
|
||||
2
.github/workflows/integration.yml
vendored
2
.github/workflows/integration.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
matrix:
|
||||
php-versions: ['8.1']
|
||||
databases: ['sqlite', 'mysql', 'pgsql']
|
||||
server-versions: ['stable32']
|
||||
server-versions: ['master']
|
||||
|
||||
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
|
||||
|
||||
|
||||
2
.github/workflows/npm-audit-fix.yml
vendored
2
.github/workflows/npm-audit-fix.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
branches: ['main', 'master', 'stable31', 'stable30']
|
||||
branches: ['main', 'master', 'stable32', 'stable31', 'stable30']
|
||||
|
||||
name: npm-audit-fix-${{ matrix.branches }}
|
||||
|
||||
|
||||
2
.github/workflows/update-nextcloud-ocp.yml
vendored
2
.github/workflows/update-nextcloud-ocp.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
branches: ['main', 'master', 'stable31', 'stable30']
|
||||
branches: ['main', 'master', 'stable32', 'stable31', 'stable30']
|
||||
|
||||
name: update-nextcloud-ocp-${{ matrix.branches }}
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
- Adrian Missy <adrian.missy@onewavestudios.com>
|
||||
- Alexandru Puiu <alexpuiu20@yahoo.com>
|
||||
- Arne Bartelt <arne.bartelt@gmail.com>
|
||||
- Chandi Langecker <git@chandi.it>
|
||||
- Christoph Wurst <christoph@winzerhof-wurst.at>
|
||||
- Gary Kim <gary@garykim.dev>
|
||||
|
||||
18
CHANGELOG.md
18
CHANGELOG.md
@@ -5,24 +5,6 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## 1.16.0
|
||||
### Added
|
||||
- feat: update default content @luka-nextcloud [#6740](https://github.com/nextcloud/deck/pull/6740)
|
||||
- feat: add board import and export @luka-nextcloud [#6872](https://github.com/nextcloud/deck/pull/6872)
|
||||
- feat: use outline icons @luka-nextcloud [#7114](https://github.com/nextcloud/deck/pull/7114)
|
||||
- Add OCC commands for global calendar feature opt-in and opt-out in Deck @Fledermaus-20 [#7080](https://github.com/nextcloud/deck/pull/7080)
|
||||
- [stable32] Migrate delete icon to Material Symbol outline variant @backportbot [#7211](https://github.com/nextcloud/deck/pull/7211)
|
||||
- Chore(deps): Bump @nextcloud/vue from 8.27.0 to 8.31.0 @luka-nextcloud [#7271](https://github.com/nextcloud/deck/pull/7271)
|
||||
|
||||
### Fixed
|
||||
- CSV export fixes @gidan80 [#6800](https://github.com/nextcloud/deck/pull/6800)
|
||||
- [stable32] fix: Fix colors from due dates and done @backportbot [#7239](https://github.com/nextcloud/deck/pull/7239)
|
||||
- [stable32] fix(darkmode): Fix activity icon colors @backportbot [#7241](https://github.com/nextcloud/deck/pull/7241)
|
||||
- [stable32] fix: redirect to cleaner URL if RewriteBase is enabled @backportbot [#7268](https://github.com/nextcloud/deck/pull/7268)
|
||||
- [stable32] fix: missing push notifications @backportbot [#7270](https://github.com/nextcloud/deck/pull/7270)
|
||||
- [stable32] fix: use text cursor for card title on dashboard @backportbot [#7273](https://github.com/nextcloud/deck/pull/7273)
|
||||
- [stable32] fix: parse arguments to CardService.reorder correctly to int @backportbot [#7276](https://github.com/nextcloud/deck/pull/7276)
|
||||
|
||||
## 1.16.0-beta.1
|
||||
|
||||
### Added
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
- 🚀 Get your project organized
|
||||
|
||||
</description>
|
||||
<version>1.16.0</version>
|
||||
<version>2.0.0-dev.0</version>
|
||||
<licence>agpl</licence>
|
||||
<author>Julius Härtl</author>
|
||||
<namespace>Deck</namespace>
|
||||
@@ -42,7 +42,7 @@
|
||||
<database min-version="9.4">pgsql</database>
|
||||
<database>sqlite</database>
|
||||
<database min-version="8.0">mysql</database>
|
||||
<nextcloud min-version="32" max-version="32"/>
|
||||
<nextcloud min-version="33" max-version="33"/>
|
||||
</dependencies>
|
||||
<background-jobs>
|
||||
<job>OCA\Deck\Cron\DeleteCron</job>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"roave/security-advisories": "dev-master",
|
||||
"phpunit/phpunit": "^9",
|
||||
"nextcloud/coding-standard": "^1.1",
|
||||
"nextcloud/ocp": "dev-stable32",
|
||||
"nextcloud/ocp": "dev-master",
|
||||
"psalm/phar": "^5.13"
|
||||
},
|
||||
"config": {
|
||||
|
||||
17
composer.lock
generated
17
composer.lock
generated
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "a802f567c811977afdf6203368ae43e9",
|
||||
"content-hash": "6950663d9d213151028e780637480220",
|
||||
"packages": [
|
||||
{
|
||||
"name": "justinrainbow/json-schema",
|
||||
@@ -376,16 +376,16 @@
|
||||
},
|
||||
{
|
||||
"name": "nextcloud/ocp",
|
||||
"version": "dev-stable32",
|
||||
"version": "dev-master",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nextcloud-deps/ocp.git",
|
||||
"reference": "5f0db0fc0e5f09a4c8ac06ebc5dedefd21d53603"
|
||||
"reference": "d927392a2a368c372ef80096171139d4287b2339"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/5f0db0fc0e5f09a4c8ac06ebc5dedefd21d53603",
|
||||
"reference": "5f0db0fc0e5f09a4c8ac06ebc5dedefd21d53603",
|
||||
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/d927392a2a368c372ef80096171139d4287b2339",
|
||||
"reference": "d927392a2a368c372ef80096171139d4287b2339",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -395,10 +395,11 @@
|
||||
"psr/event-dispatcher": "^1.0",
|
||||
"psr/log": "^3.0.2"
|
||||
},
|
||||
"default-branch": true,
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-stable32": "32.0.0-dev"
|
||||
"dev-master": "33.0.0-dev"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
@@ -418,9 +419,9 @@
|
||||
"description": "Composer package containing Nextcloud's public OCP API and the unstable NCU API",
|
||||
"support": {
|
||||
"issues": "https://github.com/nextcloud-deps/ocp/issues",
|
||||
"source": "https://github.com/nextcloud-deps/ocp/tree/stable32"
|
||||
"source": "https://github.com/nextcloud-deps/ocp/tree/master"
|
||||
},
|
||||
"time": "2025-09-10T00:46:52+00:00"
|
||||
"time": "2025-09-16T00:45:42+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nikic/php-parser",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
input[type=submit].icon-confirm {
|
||||
border-color: var(--color-border-maxcontrast) !important;
|
||||
border-style: solid;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
|
||||
24
docs/API.md
24
docs/API.md
@@ -6,7 +6,7 @@ The REST API provides access for authenticated users to their data inside the De
|
||||
|
||||
# Prerequisites
|
||||
|
||||
- All requests require a `OCS-APIRequest` HTTP header to be set to `true` and a `Content-Type` of `application/json`.
|
||||
- All requests require a `OCS-APIRequest` HTTP header to be set to `true` and a `Content-Type` of `application/json`. This does not apply to the endpoint for uploading attachments, which consumes `multipart/form-data`.
|
||||
- The API is located at https://nextcloud.local/index.php/apps/deck/api/v1.0
|
||||
- All request parameters are required, unless otherwise specified
|
||||
|
||||
@@ -733,6 +733,7 @@ The board list endpoint supports setting an `If-Modified-Since` header to limit
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | --------------------------------------- |
|
||||
| labelId | Integer | The label id to assign to the card |
|
||||
|
||||
#### Response
|
||||
|
||||
##### 200 Success
|
||||
@@ -997,10 +998,12 @@ The request can fail with a bad request response for the following reasons:
|
||||
|
||||
#### Request data
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | --------------------------------------------- |
|
||||
| type | String | The type of the attachement |
|
||||
| file | Binary | File data to add as an attachment |
|
||||
The request is performed as `multipart/form-data`.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | ----------------------------------------------------------------------------------------------- |
|
||||
| type | String | The type of the attachement. Use `file` or `deck_file`. |
|
||||
| file | Binary | File data to add as an attachment together with the `filename` parameter according to RFC 7578. |
|
||||
|
||||
- Prior to Deck version v1.3.0 (API v1.0), attachments were stored within deck. For this type of attachments `deck_file` was used as the default type of attachments
|
||||
- Starting with Deck version 1.3.0 (API v1.1) files are stored within the users regular Nextcloud files and the type `file` has been introduced for that
|
||||
@@ -1022,12 +1025,13 @@ The request can fail with a bad request response for the following reasons:
|
||||
|
||||
#### Request data
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | --------------------------------------------- |
|
||||
| type | String | The type of the attachement |
|
||||
| file | Binary | File data to add as an attachment |
|
||||
The request is performed as `multipart/form-data`.
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------- | ----------------------------------------------------------------------------------------------- |
|
||||
| type | String | The type of the attachement. For now only `deck_file` is supported as an attachment type. |
|
||||
| file | Binary | File data to add as an attachment together with the `filename` parameter according to RFC 7578. |
|
||||
|
||||
For now only `deck_file` is supported as an attachment type.
|
||||
|
||||
#### Response
|
||||
|
||||
|
||||
@@ -9,11 +9,9 @@ OC.L10N.register(
|
||||
"Missing a temporary folder" : "Адсутнічае часовая папка",
|
||||
"Could not write file to disk" : "Не ўдалося запісаць файл на дыск",
|
||||
"A PHP extension stopped the file upload" : "Пашырэнне PHP спыніла запампоўванне файла",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Файл не запампаваны, або памер файла перавышае максімальны %s",
|
||||
"copy" : "копія",
|
||||
"Done" : "Гатова",
|
||||
"File" : "Файл",
|
||||
"Invalid date, date format must be YYYY-MM-DD" : "Памылковая дата, дата павінна быць у фармаце ГГГГ-ММ-ДД",
|
||||
"Cancel" : "Скасаваць",
|
||||
"Drop your files to upload" : "Перацягніце файлы для запампоўвання",
|
||||
"File already exists" : "Файл ужо існуе",
|
||||
@@ -52,7 +50,6 @@ OC.L10N.register(
|
||||
"Reply" : "Адказаць",
|
||||
"Update" : "Абнавіць",
|
||||
"Description" : "Апісанне",
|
||||
"Formatting help" : "Даведка па фармаціраванні",
|
||||
"Later today – {timeLocale}" : "Пазней сёння – {timeLocale}",
|
||||
"Set due date for later today" : "Задаць дату выканання на пазней сёння",
|
||||
"Tomorrow – {timeLocale}" : "Заўтра – {timeLocale}",
|
||||
@@ -60,7 +57,6 @@ OC.L10N.register(
|
||||
"Set due date for this weekend" : "Задаць дату выканання на гэты ўік-энд",
|
||||
"Next week – {timeLocale}" : "На наступным тыдні – {timeLocale}",
|
||||
"Set due date for next week" : "Задаць дату выканання на наступны тыдзень",
|
||||
"Create a new tag:" : "Стварыць новы тэг:",
|
||||
"(group)" : "(група)",
|
||||
"Open link" : "Адкрыць спасылку",
|
||||
"Edit title" : "Рэдагаваць загаловак",
|
||||
@@ -69,7 +65,6 @@ OC.L10N.register(
|
||||
"Keyboard shortcut" : "Спалучэнне клавіш",
|
||||
"Action" : "Дзеянне",
|
||||
"Shift" : "Shift",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Пошук",
|
||||
"Enter" : "Enter",
|
||||
"Shared with you" : "Абагулена з вамі",
|
||||
@@ -84,9 +79,6 @@ OC.L10N.register(
|
||||
"Failed to upload {name}" : "Не ўдалося запампаваць {name}",
|
||||
"Share" : "Абагуліць",
|
||||
"Personal" : "Асабістыя",
|
||||
"Example Task 3" : "Прыклад задання 3",
|
||||
"Example Task 2" : "Прыклад задання 2",
|
||||
"Example Task 1" : "Прыклад задання 1",
|
||||
"Today" : "Сёння",
|
||||
"Tomorrow" : "Заўтра"
|
||||
},
|
||||
|
||||
@@ -7,11 +7,9 @@
|
||||
"Missing a temporary folder" : "Адсутнічае часовая папка",
|
||||
"Could not write file to disk" : "Не ўдалося запісаць файл на дыск",
|
||||
"A PHP extension stopped the file upload" : "Пашырэнне PHP спыніла запампоўванне файла",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Файл не запампаваны, або памер файла перавышае максімальны %s",
|
||||
"copy" : "копія",
|
||||
"Done" : "Гатова",
|
||||
"File" : "Файл",
|
||||
"Invalid date, date format must be YYYY-MM-DD" : "Памылковая дата, дата павінна быць у фармаце ГГГГ-ММ-ДД",
|
||||
"Cancel" : "Скасаваць",
|
||||
"Drop your files to upload" : "Перацягніце файлы для запампоўвання",
|
||||
"File already exists" : "Файл ужо існуе",
|
||||
@@ -50,7 +48,6 @@
|
||||
"Reply" : "Адказаць",
|
||||
"Update" : "Абнавіць",
|
||||
"Description" : "Апісанне",
|
||||
"Formatting help" : "Даведка па фармаціраванні",
|
||||
"Later today – {timeLocale}" : "Пазней сёння – {timeLocale}",
|
||||
"Set due date for later today" : "Задаць дату выканання на пазней сёння",
|
||||
"Tomorrow – {timeLocale}" : "Заўтра – {timeLocale}",
|
||||
@@ -58,7 +55,6 @@
|
||||
"Set due date for this weekend" : "Задаць дату выканання на гэты ўік-энд",
|
||||
"Next week – {timeLocale}" : "На наступным тыдні – {timeLocale}",
|
||||
"Set due date for next week" : "Задаць дату выканання на наступны тыдзень",
|
||||
"Create a new tag:" : "Стварыць новы тэг:",
|
||||
"(group)" : "(група)",
|
||||
"Open link" : "Адкрыць спасылку",
|
||||
"Edit title" : "Рэдагаваць загаловак",
|
||||
@@ -67,7 +63,6 @@
|
||||
"Keyboard shortcut" : "Спалучэнне клавіш",
|
||||
"Action" : "Дзеянне",
|
||||
"Shift" : "Shift",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Пошук",
|
||||
"Enter" : "Enter",
|
||||
"Shared with you" : "Абагулена з вамі",
|
||||
@@ -82,9 +77,6 @@
|
||||
"Failed to upload {name}" : "Не ўдалося запампаваць {name}",
|
||||
"Share" : "Абагуліць",
|
||||
"Personal" : "Асабістыя",
|
||||
"Example Task 3" : "Прыклад задання 3",
|
||||
"Example Task 2" : "Прыклад задання 2",
|
||||
"Example Task 1" : "Прыклад задання 1",
|
||||
"Today" : "Сёння",
|
||||
"Tomorrow" : "Заўтра"
|
||||
},"pluralForm" :"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);"
|
||||
|
||||
@@ -51,8 +51,8 @@ OC.L10N.register(
|
||||
"{user} has assigned the card {deck-card} on {deck-board} to you." : "{user} har tilknyttet kortet {deck-card} på {deck-board} til dig.",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Kortet \"%s\" på \"%s\" har nået sin forfaldsdato.",
|
||||
"The card {deck-card} on {deck-board} has reached its due date." : "Kortet {deck-card} på {deck-board} har nået sin forfaldsdato.",
|
||||
"%s has mentioned you in a comment on \"%s\"." : " %s har omtalt dig i en kommentar på \"%s\".",
|
||||
"{user} has mentioned you in a comment on {deck-card}." : "{user} har omtalt dig i en kommentar på {deck-card}.",
|
||||
"%s has mentioned you in a comment on \"%s\"." : " %s har nævnt dig i en kommentar på \"%s\".",
|
||||
"{user} has mentioned you in a comment on {deck-card}." : "{user} har nævnt dig i en kommentar på {deck-card}.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Tavlen \"%s\" er blevet delt med dig af %s.",
|
||||
"{user} has shared {deck-board} with you." : "{user} har delt {deck-board} med dig.",
|
||||
"Deck board" : "Opslagstavle",
|
||||
@@ -188,10 +188,6 @@ OC.L10N.register(
|
||||
"Add Attachment" : "Tilføj vedhæftning",
|
||||
"Choose attachment" : "Vælg en vedhæftning",
|
||||
"Select Date" : "Vælg dato",
|
||||
"Later today – {timeLocale}" : "Senere i dag – {timeLocale}",
|
||||
"Tomorrow – {timeLocale}" : "I morgen – {timeLocale}",
|
||||
"This weekend – {timeLocale}" : "Denne weekend – {timeLocale}",
|
||||
"Next week – {timeLocale}" : "Næste uge – {timeLocale}",
|
||||
"Set a due date" : "Angiv en forfaldsdato",
|
||||
"Remove due date" : "Fjern forfaldsdato",
|
||||
"Mark as done" : "Marker som færdig",
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
"{user} has assigned the card {deck-card} on {deck-board} to you." : "{user} har tilknyttet kortet {deck-card} på {deck-board} til dig.",
|
||||
"The card \"%s\" on \"%s\" has reached its due date." : "Kortet \"%s\" på \"%s\" har nået sin forfaldsdato.",
|
||||
"The card {deck-card} on {deck-board} has reached its due date." : "Kortet {deck-card} på {deck-board} har nået sin forfaldsdato.",
|
||||
"%s has mentioned you in a comment on \"%s\"." : " %s har omtalt dig i en kommentar på \"%s\".",
|
||||
"{user} has mentioned you in a comment on {deck-card}." : "{user} har omtalt dig i en kommentar på {deck-card}.",
|
||||
"%s has mentioned you in a comment on \"%s\"." : " %s har nævnt dig i en kommentar på \"%s\".",
|
||||
"{user} has mentioned you in a comment on {deck-card}." : "{user} har nævnt dig i en kommentar på {deck-card}.",
|
||||
"The board \"%s\" has been shared with you by %s." : "Tavlen \"%s\" er blevet delt med dig af %s.",
|
||||
"{user} has shared {deck-board} with you." : "{user} har delt {deck-board} med dig.",
|
||||
"Deck board" : "Opslagstavle",
|
||||
@@ -186,10 +186,6 @@
|
||||
"Add Attachment" : "Tilføj vedhæftning",
|
||||
"Choose attachment" : "Vælg en vedhæftning",
|
||||
"Select Date" : "Vælg dato",
|
||||
"Later today – {timeLocale}" : "Senere i dag – {timeLocale}",
|
||||
"Tomorrow – {timeLocale}" : "I morgen – {timeLocale}",
|
||||
"This weekend – {timeLocale}" : "Denne weekend – {timeLocale}",
|
||||
"Next week – {timeLocale}" : "Næste uge – {timeLocale}",
|
||||
"Set a due date" : "Angiv en forfaldsdato",
|
||||
"Remove due date" : "Fjern forfaldsdato",
|
||||
"Mark as done" : "Marker som færdig",
|
||||
|
||||
@@ -373,7 +373,6 @@ OC.L10N.register(
|
||||
"Note: Only the JSON format is supported for importing back into the Deck app." : "Megjegyzés: Csak a JSON formátum támogatott a Kártyák alkalmazásba való importáláskor.",
|
||||
"Export" : "Exportálás",
|
||||
"Loading filtered view" : "Szűrt nézet betöltése",
|
||||
"Search for {searchQuery} in other boards" : "Keresés a(z) {searchQuery} kifejezésre a többi táblában",
|
||||
"Search for {searchQuery} in all boards" : "Keresés a(z) {searchQuery} kifejezésre az összes táblában",
|
||||
"No results found" : "Nincs találat",
|
||||
"Deck board {name}\n* Last modified on {lastMod}" : "{name} kártyatábla\n* Legutóbb módosítva: {lastMod}",
|
||||
|
||||
@@ -371,7 +371,6 @@
|
||||
"Note: Only the JSON format is supported for importing back into the Deck app." : "Megjegyzés: Csak a JSON formátum támogatott a Kártyák alkalmazásba való importáláskor.",
|
||||
"Export" : "Exportálás",
|
||||
"Loading filtered view" : "Szűrt nézet betöltése",
|
||||
"Search for {searchQuery} in other boards" : "Keresés a(z) {searchQuery} kifejezésre a többi táblában",
|
||||
"Search for {searchQuery} in all boards" : "Keresés a(z) {searchQuery} kifejezésre az összes táblában",
|
||||
"No results found" : "Nincs találat",
|
||||
"Deck board {name}\n* Last modified on {lastMod}" : "{name} kártyatábla\n* Legutóbb módosítva: {lastMod}",
|
||||
|
||||
@@ -6,19 +6,16 @@ OC.L10N.register(
|
||||
"No file was uploaded" : "Ulac afaylu i d-yettwasulin",
|
||||
"Missing a temporary folder" : "Ixuṣ ukaram akudan",
|
||||
"Finished" : "Immed",
|
||||
"copy" : "nɣel",
|
||||
"Done" : "Immed",
|
||||
"Attachments" : "Ticeqqufin",
|
||||
"File" : "Afaylu",
|
||||
"Cancel" : "Sefsex",
|
||||
"Open" : "Ldi",
|
||||
"Completed" : "Yemmed",
|
||||
"Open details" : "Ldi talqayt",
|
||||
"Details" : "Talqayt",
|
||||
"Sharing" : "Beṭṭu",
|
||||
"Tags" : "Tibzimin",
|
||||
"Activity" : "Armud",
|
||||
"Transfer" : "Seḍfeṛ",
|
||||
"Owner" : "Bab",
|
||||
"Delete" : "Kkes",
|
||||
"Edit" : "Ẓreg",
|
||||
@@ -29,9 +26,6 @@ OC.L10N.register(
|
||||
"Save" : "Sekles",
|
||||
"Cancel reply" : "Semmet tiririt.",
|
||||
"Reply" : "Err",
|
||||
"Description" : "Aglam",
|
||||
"Open link" : "Nɣel aseɣwen",
|
||||
"Keyboard shortcuts" : "Inegzumen n unasiw",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Nadi",
|
||||
"Cancel edit" : "Sefsex aseẓreg",
|
||||
|
||||
@@ -4,19 +4,16 @@
|
||||
"No file was uploaded" : "Ulac afaylu i d-yettwasulin",
|
||||
"Missing a temporary folder" : "Ixuṣ ukaram akudan",
|
||||
"Finished" : "Immed",
|
||||
"copy" : "nɣel",
|
||||
"Done" : "Immed",
|
||||
"Attachments" : "Ticeqqufin",
|
||||
"File" : "Afaylu",
|
||||
"Cancel" : "Sefsex",
|
||||
"Open" : "Ldi",
|
||||
"Completed" : "Yemmed",
|
||||
"Open details" : "Ldi talqayt",
|
||||
"Details" : "Talqayt",
|
||||
"Sharing" : "Beṭṭu",
|
||||
"Tags" : "Tibzimin",
|
||||
"Activity" : "Armud",
|
||||
"Transfer" : "Seḍfeṛ",
|
||||
"Owner" : "Bab",
|
||||
"Delete" : "Kkes",
|
||||
"Edit" : "Ẓreg",
|
||||
@@ -27,9 +24,6 @@
|
||||
"Save" : "Sekles",
|
||||
"Cancel reply" : "Semmet tiririt.",
|
||||
"Reply" : "Err",
|
||||
"Description" : "Aglam",
|
||||
"Open link" : "Nɣel aseɣwen",
|
||||
"Keyboard shortcuts" : "Inegzumen n unasiw",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Nadi",
|
||||
"Cancel edit" : "Sefsex aseẓreg",
|
||||
|
||||
140
l10n/mk.js
140
l10n/mk.js
@@ -12,7 +12,7 @@ OC.L10N.register(
|
||||
"You have removed {acl} from the board {board}" : "Го избришавте {acl} од таблата {board}",
|
||||
"{user} has removed {acl} from the board {board}" : "{user} го избриша {acl} од таблата {board}",
|
||||
"You have renamed the board {before} to {board}" : "Ја преименувавте таблата {before} во {board}",
|
||||
"{user} has renamed the board {before} to {board}" : "{user} ја преименуваше таблата {before} во {board}",
|
||||
"{user} has renamed the board {before} to {board}" : "{user} ја преименување таблата {before} во {board}",
|
||||
"You have archived the board {board}" : "Ја архивиравте таблата {board}",
|
||||
"{user} has archived the board {before}" : "{user} ја архивирање таблата {before}",
|
||||
"You have unarchived the board {board}" : "Ја вративте од архива таблата {board}",
|
||||
@@ -20,7 +20,7 @@ OC.L10N.register(
|
||||
"You have created a new list {stack} on board {board}" : "Креиравте нова листа {stack} на таблата {board}",
|
||||
"{user} has created a new list {stack} on board {board}" : "{user} креирање нова листа {stack} на таблата {board}",
|
||||
"You have renamed list {before} to {stack} on board {board}" : "Ја преименувавте листа {before} во {stack} на таблата {board}",
|
||||
"{user} has renamed list {before} to {stack} on board {board}" : "{user} ја преименуваше листата {before} во {stack} на таблата {board}",
|
||||
"{user} has renamed list {before} to {stack} on board {board}" : "{user} ја преименување листата {before} во {stack} на таблата {board}",
|
||||
"You have deleted list {stack} on board {board}" : "Ја избришавте листата {stack} од таблата {board}",
|
||||
"{user} has deleted list {stack} on board {board}" : "{user} ја избриша листата {stack} од таблата {board}",
|
||||
"You have created card {card} in list {stack} on board {board}" : "Креиравте картица {card} во листата {stack} на таблата {board}",
|
||||
@@ -28,7 +28,7 @@ OC.L10N.register(
|
||||
"You have deleted card {card} in list {stack} on board {board}" : "Избришавте картица {card} во листата {stack} на таблата {board}",
|
||||
"{user} has deleted card {card} in list {stack} on board {board}" : "{user} избриша картица {card} во листата {stack} на таблата {board}",
|
||||
"You have renamed the card {before} to {card}" : "Ја преименувавте картицата {before} во {card}",
|
||||
"{user} has renamed the card {before} to {card}" : "{user} ја преименуваше картицата {before} во {card}",
|
||||
"{user} has renamed the card {before} to {card}" : "{user} ја преименување картицата {before} во {card}",
|
||||
"You have added a description to card {card} in list {stack} on board {board}" : "Додадовте опис на картицата {card} во листата {stack} на таблата {board}",
|
||||
"{user} has added a description to card {card} in list {stack} on board {board}" : "{user} додаде опис на картицата {card} во листата {stack} на таблата {board}",
|
||||
"You have updated the description of card {card} in list {stack} on board {board}" : "Го ажуриравте описот на картицата {card} во листата {stack} на таблата {board}",
|
||||
@@ -37,10 +37,6 @@ OC.L10N.register(
|
||||
"{user} has archived card {card} in list {stack} on board {board}" : "{user} ја архивираше картицата {card} во листата {stack} на таблата {board}",
|
||||
"You have unarchived card {card} in list {stack} on board {board}" : "Ја вративте од архива картицата {card} во листата {stack} на таблата {board}",
|
||||
"{user} has unarchived card {card} in list {stack} on board {board}" : "{user} ја врати од архива картицата {card} во листата {stack} на таблата {board}",
|
||||
"You have marked the card {card} as done in list {stack} on board {board}" : "Ја означивте картицата {card} како завршена во листата {stack} на таблата {board}",
|
||||
"{user} has marked card {card} as done in list {stack} on board {board}" : "{user} ја означи картичката {card} како завршена во листата {stack} на таблата {board}",
|
||||
"You have marked the card {card} as undone in list {stack} on board {board}" : "Ја означивте картицата {card} како не-завршена во листата {stack} на таблата {board}",
|
||||
"{user} has marked the card {card} as undone in list {stack} on board {board}" : "{user} ја означи картичката {card} како не-завршена во листата {stack} на таблата {board}",
|
||||
"You have removed the due date of card {card}" : "Го избришавте датумот на истекување на картицата {card}",
|
||||
"{user} has removed the due date of card {card}" : "{user} го избриша датумот на истекување на картицата {card}",
|
||||
"You have set the due date of card {card} to {after}" : "Поставивте датум на истекување на картицата {card}",
|
||||
@@ -69,9 +65,7 @@ OC.L10N.register(
|
||||
"{user} has commented on card {card}" : "{user} коментирање на картицата {card}",
|
||||
"Deck" : "Deck",
|
||||
"Changes in the <strong>Deck app</strong>" : "Промени во <strong>апликацијата Deck</strong>",
|
||||
"A <strong>board, list or card</strong> was changed" : "Променета е <strong>табла, листа или картица</strong>",
|
||||
"A <strong>comment</strong> was created on a card" : "<strong>Коментар</strong> е креиран на картица",
|
||||
"A <strong>card description</strong> has been changed" : "Променет е <strong>опис на картица</strong> ",
|
||||
"The file was uploaded" : "Датотеката е прикачена",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Подигнатата датотека ја надминува upload_max_filesize директивата во php.ini",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Големината на датотеката ја надминува MAX_FILE_SIZE директивата која беше специфицирана во HTML формата",
|
||||
@@ -81,66 +75,35 @@ OC.L10N.register(
|
||||
"Could not write file to disk" : "Неможе да се запишува на дискот",
|
||||
"A PHP extension stopped the file upload" : "PHP додаток го стопираше прикачувањето на датотеката",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Нема прикачена дадотека или големината го надмминува максимумот од %s",
|
||||
"Invalid file type. Only JSON files are allowed." : "Невалиден тип на датотека. Дозволени се само JSON датотеки.",
|
||||
"Invalid JSON data" : "Невалидни JSON податоци",
|
||||
"Failed to import board" : "Неуспешен увоз на табла",
|
||||
"Cards due today" : "Картици со рок до денес",
|
||||
"Cards due tomorrow" : "Картици со рок до утре",
|
||||
"Upcoming cards" : "Престојни картици",
|
||||
"Load more" : "Вчитај повеќе",
|
||||
"Welcome to Nextcloud Deck!" : "Добредојдовте во Nextcloud Deck!",
|
||||
"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\" го достигна датумот на истекување.",
|
||||
"The card {deck-card} on {deck-board} has reached its due date." : "Картицата {deck-card} на {deck-board} го достигна рокот.",
|
||||
"%s has mentioned you in a comment on \"%s\"." : "%s те спомна во коментар на \"%s\".",
|
||||
"{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" : "Табла",
|
||||
"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",
|
||||
"Create a new deck card" : "Креирај нова картица",
|
||||
"Card comments" : "Коментари на картица",
|
||||
"%s on %s" : "%s на %s",
|
||||
"Deck boards and cards" : "Табли и картици",
|
||||
"No data was provided to create an attachment." : "Нема податоци за креирање на прилог.",
|
||||
"Finished" : "Завршено",
|
||||
"To review" : "На ревизија",
|
||||
"Action needed" : "Потребна е акција",
|
||||
"Later" : "Покасно",
|
||||
"copy" : "копирај",
|
||||
"Read more inside" : "Прочитај повеќе",
|
||||
"Custom lists - click to rename!" : "Прилагодени листи – кликнете за преименување!",
|
||||
"To Do" : "За правење",
|
||||
"In Progress" : "Во тек",
|
||||
"Done" : "Готово",
|
||||
"1. Open to learn more about boards and cards" : "1. Отворете за да дознаете повеќе за таблите и картичките",
|
||||
"2. Drag cards left and right, up and down" : "2. Влечете ги картичките лево и десно, горе и долу",
|
||||
"3. Apply rich formatting and link content" : "3. Применете богато форматирање и поврзете содржина",
|
||||
"4. Share, comment and collaborate!" : "4. Споделувајте, коментирајте и соработувајте!",
|
||||
"Create your first card!" : "Креирајте ја вашата прва картичка!",
|
||||
"This comment has more than %s characters.\nAdded as an attachment to the card with name %s.\nAccessible on URL: %s." : "Коментарот има повеќе од %s карактери.\nДодаден е како пролог на картицата со име %s.\nДостапен е на линк: %s.",
|
||||
"Attachments" : "Прилози",
|
||||
"File" : "Датотека",
|
||||
"date" : "датум",
|
||||
"Card not found" : "Картицата не е пронајдена",
|
||||
"Path is already shared with this card" : "Патеката веќе е споделена со оваа картица",
|
||||
"Invalid date, date format must be YYYY-MM-DD" : "Невалиден датум, форматот мора да биде ГГГГ-ММ-ДД",
|
||||
"Personal planning and team project organization" : "Персонален планер и тимски проект организер",
|
||||
"Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in Markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 📎 Attach files and embed them in your Markdown description\n- 💬 Discuss with your team using comments\n- ⚡ Keep track of changes in the activity stream\n- 🚀 Get your project organized" : "Deck е алатка за организација во стил на kanban, наменета за лични планови и организација на проекти за тимови интегрирани со Nextcloud.\n\n\n📥 Додај ги задачите на картички и подреди ги\n📄 Запиши дополнителни белешки во Markdown\n🔖 Додели етикети за уште подобра организација\n👥 Сподели со твојот тим, пријатели или семејство\n📎 Прикачи датотеки и вметни ги во Markdown описот\n💬 Дискутирај со твојот тим преку коментари\n⚡ Следи ги промените во активностите\n🚀 Организирај го твојот проект",
|
||||
"Add board" : "Додади табла",
|
||||
"Card details" : "Детали за картица",
|
||||
"Select the board to link to a project" : "Избери табла за поврзување со проект",
|
||||
"Search by board title" : "Барај по име на табла",
|
||||
"Select board" : "Избери табла",
|
||||
"Move/copy card" : "Премести/копирај картица",
|
||||
"Select a board" : "Избери табла",
|
||||
"No lists available" : "Нема достапни листи",
|
||||
"Select a list" : "Избери листа",
|
||||
"Move card" : "Премести картица",
|
||||
"Copy card" : "Копирај картица",
|
||||
"Select the card to link to a project" : "Избери картица за поврзување со проект",
|
||||
"Link to card" : "Линк до картица",
|
||||
"Select a card" : "Избери картица",
|
||||
@@ -161,8 +124,6 @@ OC.L10N.register(
|
||||
"Filter by tag" : "Филтрирај по ознака",
|
||||
"Filter by assigned user" : "Филтрирај по назначени корисници",
|
||||
"Unassigned" : "Неназначени",
|
||||
"Filter by status" : "Филтрирај по статус",
|
||||
"Open and completed" : "Отворени и завршени",
|
||||
"Open" : "Отвори",
|
||||
"Completed" : "Завршено",
|
||||
"Filter by due date" : "Филтрирај по краен рок",
|
||||
@@ -172,17 +133,12 @@ OC.L10N.register(
|
||||
"Next 30 days" : "Следни 30 дена",
|
||||
"No due date" : "Нема краен рок",
|
||||
"Clear filter" : "Исчисти филтри",
|
||||
"View Modes" : "Режими на приказ",
|
||||
"Toggle View Modes" : "Промени режими на приказ",
|
||||
"Hide archived cards" : "Сокриј ги архивираните картици",
|
||||
"Show archived cards" : "Прикажи ги архивираните картици",
|
||||
"Toggle compact mode" : "Вклучи компактен мод",
|
||||
"Hide card cover images" : "Сокриј насловни слики на картици",
|
||||
"Show card cover images" : "Прикажи насловни слики на картици",
|
||||
"Open details" : "Отвори детали",
|
||||
"Details" : "Детали",
|
||||
"Currently present people" : "Моментално приситни корисници",
|
||||
"Loading board" : "Вчитување на табла",
|
||||
"Loading board" : "Вчирување на табла",
|
||||
"Board not found" : "Таблата не е пронајдена",
|
||||
"Create a new list to add cards to this board" : "Додадете нова листа за да додадете картици на таблата",
|
||||
"Sharing" : "Споделување",
|
||||
@@ -193,29 +149,19 @@ OC.L10N.register(
|
||||
"Undo" : "Врати",
|
||||
"Deleted cards" : "Избришани картици",
|
||||
"Failed to create share with {displayName}" : "Неможе да се сподели со {displayName}",
|
||||
"Are you sure you want to transfer the board {title} to {user}?" : "Дали сте сигурни дека сакате да ја префрлите таблата {title} на {user}?",
|
||||
"Transfer the board." : "Префрли табла.",
|
||||
"Transfer" : "Трансфер",
|
||||
"The board has been transferred to {user}" : "Таблата е префрлена на {user}",
|
||||
"Failed to transfer the board to {user}" : "Неуспешно префрлање на таблата на {user}",
|
||||
"Share board with a user, group or team …" : "Сподели табла со корисник, група или тим...",
|
||||
"Searching for users, groups and teams …" : "Пребарување на корисници, групи или тимови...",
|
||||
"No participants found" : "Не се пронајдени учесници",
|
||||
"Board owner" : "Сопственик на таблата",
|
||||
"(Group)" : "(Група)",
|
||||
"(Team)" : "(Тим)",
|
||||
"Can edit" : "Може да се уредува",
|
||||
"Can share" : "Can share",
|
||||
"Can manage" : "Може да ја менаџира",
|
||||
"Owner" : "Сопственик",
|
||||
"Delete" : "Избриши",
|
||||
"List deleted" : "Листата е избришана",
|
||||
"Edit list title" : "Удери наслов на листата",
|
||||
"Archive all cards" : "Архивирај ги сите картици",
|
||||
"Unarchive all cards" : "Врати ги од архива сите картици",
|
||||
"Delete list" : "Избриши листа",
|
||||
"Archive all cards in this list" : "Архивирај ги сите картици во листата",
|
||||
"Unarchive all cards in this list" : "Врати ги од архива сите картици во оваа листа",
|
||||
"Add a new card" : "Додади нова картица",
|
||||
"Card name" : "Име на картицата",
|
||||
"title and color value must be provided" : "Мора да се внесе наслов и боја",
|
||||
@@ -223,39 +169,32 @@ OC.L10N.register(
|
||||
"Add a new tag" : "Додади нова ознака",
|
||||
"Board name" : "Име на табла",
|
||||
"Members" : "Членови",
|
||||
"Assign to users/groups/team" : "Додели на корисници/групи/тимови",
|
||||
"Assign a user to this card…" : "Додели корисник на оваа картица...",
|
||||
"Select a user to assign to this card…" : "Избери на кого да се додели оваа картица…",
|
||||
"File to share" : "Датотека за споделување",
|
||||
"Invalid path selected" : "Избрана невалидна патека",
|
||||
"Upload new files" : "Прикачи нови датотеки",
|
||||
"Share from Files" : "Сподели од датотеките",
|
||||
"Pending share" : "Споделување на чекање",
|
||||
"Add this attachment" : "Додади го овој прилог",
|
||||
"Show in Files" : "Прикажи во датотеките",
|
||||
"Download" : "Преземи",
|
||||
"Remove attachment" : "Отстрани прилог",
|
||||
"Delete Attachment" : "Избриши прилог",
|
||||
"Restore Attachment" : "Врати прилог",
|
||||
"Modified" : "Изменето",
|
||||
"Created" : "Креирано",
|
||||
"The title cannot be empty." : "Насловот неможе да биде празен.",
|
||||
"Cannot close unsaved card!" : "Неможе да се затвори незачувана картица!",
|
||||
"Open in sidebar view" : "Отвори страничен поглед",
|
||||
"Open in bigger view" : "Отвори на голем екран",
|
||||
"Comments" : "Коментари",
|
||||
"Failed to load comments" : "Неуспешно вчитување на коментари",
|
||||
"No comments yet. Begin the discussion!" : "Сеуште нема коментари. Започни дискусија!",
|
||||
"The comment cannot be empty." : "Коментарот неможе да биде празен.",
|
||||
"The comment cannot be longer than 1000 characters." : "Коментарот неможе да биде поголем од 1000 карактери.",
|
||||
"Save" : "Зачувај",
|
||||
"Created:" : "Создадено:",
|
||||
"In reply to" : "Како одговор на",
|
||||
"Cancel reply" : "Откажи одговор",
|
||||
"Reply" : "Одговор",
|
||||
"Update" : "Ажурирај",
|
||||
"Write a description …" : "Напиши опис ...",
|
||||
"Could not save description" : "Неможе да се зачува описот",
|
||||
"Description" : "Опис",
|
||||
"(Unsaved)" : "(Незачувано)",
|
||||
"(Saving…)" : "(Снимање…)",
|
||||
@@ -266,135 +205,67 @@ OC.L10N.register(
|
||||
"Choose attachment" : "Избери прилог",
|
||||
"Select Date" : "Избери датум",
|
||||
"Later today – {timeLocale}" : "Денес покасно – {timeLocale}",
|
||||
"Set due date for later today" : "Постави краен рок за денес подоцна",
|
||||
"Tomorrow – {timeLocale}" : "Утре – {timeLocale}",
|
||||
"Set due date for tomorrow" : "Постави краен рок за утре",
|
||||
"This weekend – {timeLocale}" : "Овој викенд – {timeLocale}",
|
||||
"Set due date for this weekend" : "Постави краен рок за овој викенд",
|
||||
"Next week – {timeLocale}" : "Следна недела – {timeLocale}",
|
||||
"Set due date for next week" : "Постави краен рок за следната недела",
|
||||
"Set due date for this weekend" : "Постави рок за овој викенд",
|
||||
"Assign a due date to this card…" : "Додели рок за оваа картица…",
|
||||
"Set a due date" : "Постави краен рок",
|
||||
"Add due date" : "Додади краен рок",
|
||||
"Choose a date" : "Избери датум",
|
||||
"Remove due date" : "Отстрани краен рок",
|
||||
"Mark as done" : "Означи како готово",
|
||||
"Due at:" : "Краен рок:",
|
||||
"Not done" : "Не е завршено",
|
||||
"Unarchive card" : "Врати картица од архива",
|
||||
"Archive card" : "Архивирај картица",
|
||||
"Assign a tag to this card…" : "Додади ознака на оваа картица...",
|
||||
"Select or create a tag…" : "Избери или креирај ознака...",
|
||||
"Create a new tag:" : "Направи нова ознака:",
|
||||
"(group)" : "(group)",
|
||||
"{count} comments, {unread} unread" : "{count} коментари, {unread} непрочитани",
|
||||
"Todo items" : "Задачи",
|
||||
"Edit card title" : "Измени наслов на картица",
|
||||
"Open link" : "Отвори линк",
|
||||
"Card deleted" : "Картицата е избришана",
|
||||
"Edit title" : "Удери наслов",
|
||||
"Assign to me" : "Доделени мене",
|
||||
"Unassign myself" : "Откажи се",
|
||||
"Mark as not done" : "Означи како не-готово",
|
||||
"Delete card" : "Избриши картица",
|
||||
"seconds ago" : "пред неколку секунди",
|
||||
"Keyboard shortcuts" : "Кратенки преку тастатура",
|
||||
"Boost your productivity using Deck with keyboard shortcuts." : "Зголеми ја продуктивноста со користење на кратенки преку тастатура.",
|
||||
"Board actions" : "Акции за табла",
|
||||
"Keyboard shortcut" : "Кратенка преку тастатура",
|
||||
"Action" : "Акција",
|
||||
"Shift" : "Shift",
|
||||
"Scroll" : "Scroll",
|
||||
"Scroll sideways" : "Лизгај странично",
|
||||
"Navigate between cards" : "Навигација помеѓу картиците",
|
||||
"Esc" : "Esc",
|
||||
"Close card details" : "Затвори детали на картица",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Барај",
|
||||
"Show card filters" : "Прикажи филтри за картици",
|
||||
"Clear card filters" : "Исчисти филтри за картици",
|
||||
"Show help dialog" : "Прикажи дијалог за помош",
|
||||
"Card actions" : "Акции за картици",
|
||||
"The following actions can be triggered on the currently highlighted card" : "Следните акции можат да се активираат на моментално обележаната картичка",
|
||||
"Enter" : "Ентер",
|
||||
"Space" : "Празно место",
|
||||
"Open card details" : "Отвори детали на картица",
|
||||
"Edit the card title" : "Измени наслов на картица",
|
||||
"Assign yourself to the current card" : "Доделете се себеси на тековната картица",
|
||||
"Archive/unarchive the current card" : "Архивирај/одархивирај тековната картица",
|
||||
"Mark card as completed/not completed" : "Означи ја картицата како завршена/незавршена",
|
||||
"Open card menu" : "Отвори мени на картица",
|
||||
"All boards" : "Сите табли",
|
||||
"Archived boards" : "Архивирани табли",
|
||||
"Shared with you" : "Споделено со тебе",
|
||||
"Deck settings" : "Deck параметри",
|
||||
"Use bigger card view" : "Користи поголем преглед на картици",
|
||||
"Show card ID badge" : "Прикажи ID на картиците",
|
||||
"Show boards in calendar/tasks" : "Прикажи ги таблите во календарнот",
|
||||
"Limit board creation to some groups" : "Ограничи го креирањето на нови табли само на овие групи",
|
||||
"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." : "Корисниците кој што не се во овие групи нема да можат да прават нови таби, но ќе можат да работат на таблите кој ќе бидат споделени со нив.",
|
||||
"Cancel edit" : "Откажи ажурирање",
|
||||
"Save board" : "Зачувај табла",
|
||||
"Board {0} deleted" : "Таблата {0} е избришана",
|
||||
"All cards" : "Сите картици",
|
||||
"Only assigned cards" : "Само доделени картици",
|
||||
"No reminder" : "Нема потсетник",
|
||||
"An error occurred" : "Настана грешка",
|
||||
"Are you sure you want to delete the board {title}? This will delete all the data of this board including archived cards." : "Дали сте сигурени дека сакате да ја избришете оваа табла {title}? Ова ќе ги избрише и сите податоци во таблата и архивираните картици.",
|
||||
"Delete the board?" : "Бришење на таблата?",
|
||||
"Exporting board..." : "Извоз на табла...",
|
||||
"Board details" : "Детали за таблата",
|
||||
"Edit board" : "Измени табла",
|
||||
"Clone board" : "Клонирај табла",
|
||||
"Unarchive board" : "Врати табла од архива",
|
||||
"Archive board" : "Архивирај табла",
|
||||
"Export board" : "Извези табла",
|
||||
"Turn on due date reminders" : "Вклучи потсетници за крајните рокови",
|
||||
"Turn off due date reminders" : "Исклучи потсетници за крајните рокови",
|
||||
"Due date reminders" : "Потсетници за крајните рокови",
|
||||
"Assigned cards" : "Доделени картици",
|
||||
"No notifications" : "Нема известувања",
|
||||
"Delete board" : "Избриши табла",
|
||||
"Importing board..." : "Увезување табла...",
|
||||
"Board imported successfully" : "Таблата е успешно увезена",
|
||||
"Import board" : "Увези табла",
|
||||
"Clone {boardTitle}" : "Клонирај {boardTitle}",
|
||||
"Clone cards" : "Клинирај картици",
|
||||
"Clone assignments" : "Клонирај задачи",
|
||||
"Clone labels" : "Клонирај ознаки",
|
||||
"Clone due dates" : "Клонирај крајни рокови",
|
||||
"Advanced options" : "Напредни опции",
|
||||
"Move all cards to the first list" : "Помести ги сите картици во првата листа",
|
||||
"Restore archived cards" : "Врати архивирани картици",
|
||||
"Clone" : "Клонирај",
|
||||
"Export {boardTitle}" : "Извези {boardTitle}",
|
||||
"Export as JSON" : "Извези како JSON",
|
||||
"Export as CSV" : "Извези како CSV",
|
||||
"Note: Only the JSON format is supported for importing back into the Deck app." : "Забелешка: Поддржан е само JSON формат за увоз назад во апликацијата Deck.",
|
||||
"Export" : "Извези",
|
||||
"Loading filtered view" : "Вчитување на филтриран поглед",
|
||||
"Search for {searchQuery} in other boards" : "Барај {searchQuery} во други табли",
|
||||
"Search for {searchQuery} in all boards" : "Барај {searchQuery} во сите табли",
|
||||
"No results found" : "Нема пронајдено резултати",
|
||||
"Deck board {name}\n* Last modified on {lastMod}" : "Табла {name}\n* Последна промена на {lastMod}",
|
||||
"* Created on {created}\n* Last modified on {lastMod}\n* {nbAttachments} attachments\n* {nbComments} comments" : "* Креирана на {created}\n* Последна промена на {lastMod}\n* {nbAttachments} прилози\n* {nbComments} коментари",
|
||||
"{nbCards} cards" : "{nbCards} картици",
|
||||
"Due on {date}" : "Истекува на {date}",
|
||||
"{stack} in {board}" : "{stack} во {board}",
|
||||
"Click to expand description" : "Кликнни за проширување на опис",
|
||||
"Click to expand comment" : "Кликнни за проширување на коментарот",
|
||||
"Create card" : "Креирајте картица",
|
||||
"Create a new card" : "Креирајте нова картица",
|
||||
"Card title" : "Наслов на картицата",
|
||||
"Creating the new card …" : "Креирање нова картица ...",
|
||||
"Card \"{card}\" was added to \"{board}\"" : "Картицата \"{card}\" е додадена во \"{board}\"",
|
||||
"Open card" : "Отвори картица",
|
||||
"Close" : "Затвори",
|
||||
"No upcoming cards" : "Нема престојни картици",
|
||||
"upcoming cards today" : "престојни картици за денес",
|
||||
"upcoming cards tomorrow" : "престојни картици за утре",
|
||||
"upcoming cards" : "престојни картици",
|
||||
"New card" : "Нова картица",
|
||||
"Link to a board" : "Линк до табла",
|
||||
"Link to a card" : "Линк до картица",
|
||||
"Create a card" : "Креирајте картица",
|
||||
@@ -402,7 +273,6 @@ OC.L10N.register(
|
||||
"Something went wrong" : "Нешто не е во ред",
|
||||
"Failed to upload {name}" : "Неуспешно прикачување {name}",
|
||||
"Maximum file size of {size} exceeded" : "Максималната големина на датотека од {size} е достигната",
|
||||
"Assigned users" : "Доделени корисници",
|
||||
"Due date" : "До датум",
|
||||
"Error creating the share" : "Грешка при креирање на споделување",
|
||||
"Share with a Deck card" : "Споделено со Deck картица",
|
||||
|
||||
140
l10n/mk.json
140
l10n/mk.json
@@ -10,7 +10,7 @@
|
||||
"You have removed {acl} from the board {board}" : "Го избришавте {acl} од таблата {board}",
|
||||
"{user} has removed {acl} from the board {board}" : "{user} го избриша {acl} од таблата {board}",
|
||||
"You have renamed the board {before} to {board}" : "Ја преименувавте таблата {before} во {board}",
|
||||
"{user} has renamed the board {before} to {board}" : "{user} ја преименуваше таблата {before} во {board}",
|
||||
"{user} has renamed the board {before} to {board}" : "{user} ја преименување таблата {before} во {board}",
|
||||
"You have archived the board {board}" : "Ја архивиравте таблата {board}",
|
||||
"{user} has archived the board {before}" : "{user} ја архивирање таблата {before}",
|
||||
"You have unarchived the board {board}" : "Ја вративте од архива таблата {board}",
|
||||
@@ -18,7 +18,7 @@
|
||||
"You have created a new list {stack} on board {board}" : "Креиравте нова листа {stack} на таблата {board}",
|
||||
"{user} has created a new list {stack} on board {board}" : "{user} креирање нова листа {stack} на таблата {board}",
|
||||
"You have renamed list {before} to {stack} on board {board}" : "Ја преименувавте листа {before} во {stack} на таблата {board}",
|
||||
"{user} has renamed list {before} to {stack} on board {board}" : "{user} ја преименуваше листата {before} во {stack} на таблата {board}",
|
||||
"{user} has renamed list {before} to {stack} on board {board}" : "{user} ја преименување листата {before} во {stack} на таблата {board}",
|
||||
"You have deleted list {stack} on board {board}" : "Ја избришавте листата {stack} од таблата {board}",
|
||||
"{user} has deleted list {stack} on board {board}" : "{user} ја избриша листата {stack} од таблата {board}",
|
||||
"You have created card {card} in list {stack} on board {board}" : "Креиравте картица {card} во листата {stack} на таблата {board}",
|
||||
@@ -26,7 +26,7 @@
|
||||
"You have deleted card {card} in list {stack} on board {board}" : "Избришавте картица {card} во листата {stack} на таблата {board}",
|
||||
"{user} has deleted card {card} in list {stack} on board {board}" : "{user} избриша картица {card} во листата {stack} на таблата {board}",
|
||||
"You have renamed the card {before} to {card}" : "Ја преименувавте картицата {before} во {card}",
|
||||
"{user} has renamed the card {before} to {card}" : "{user} ја преименуваше картицата {before} во {card}",
|
||||
"{user} has renamed the card {before} to {card}" : "{user} ја преименување картицата {before} во {card}",
|
||||
"You have added a description to card {card} in list {stack} on board {board}" : "Додадовте опис на картицата {card} во листата {stack} на таблата {board}",
|
||||
"{user} has added a description to card {card} in list {stack} on board {board}" : "{user} додаде опис на картицата {card} во листата {stack} на таблата {board}",
|
||||
"You have updated the description of card {card} in list {stack} on board {board}" : "Го ажуриравте описот на картицата {card} во листата {stack} на таблата {board}",
|
||||
@@ -35,10 +35,6 @@
|
||||
"{user} has archived card {card} in list {stack} on board {board}" : "{user} ја архивираше картицата {card} во листата {stack} на таблата {board}",
|
||||
"You have unarchived card {card} in list {stack} on board {board}" : "Ја вративте од архива картицата {card} во листата {stack} на таблата {board}",
|
||||
"{user} has unarchived card {card} in list {stack} on board {board}" : "{user} ја врати од архива картицата {card} во листата {stack} на таблата {board}",
|
||||
"You have marked the card {card} as done in list {stack} on board {board}" : "Ја означивте картицата {card} како завршена во листата {stack} на таблата {board}",
|
||||
"{user} has marked card {card} as done in list {stack} on board {board}" : "{user} ја означи картичката {card} како завршена во листата {stack} на таблата {board}",
|
||||
"You have marked the card {card} as undone in list {stack} on board {board}" : "Ја означивте картицата {card} како не-завршена во листата {stack} на таблата {board}",
|
||||
"{user} has marked the card {card} as undone in list {stack} on board {board}" : "{user} ја означи картичката {card} како не-завршена во листата {stack} на таблата {board}",
|
||||
"You have removed the due date of card {card}" : "Го избришавте датумот на истекување на картицата {card}",
|
||||
"{user} has removed the due date of card {card}" : "{user} го избриша датумот на истекување на картицата {card}",
|
||||
"You have set the due date of card {card} to {after}" : "Поставивте датум на истекување на картицата {card}",
|
||||
@@ -67,9 +63,7 @@
|
||||
"{user} has commented on card {card}" : "{user} коментирање на картицата {card}",
|
||||
"Deck" : "Deck",
|
||||
"Changes in the <strong>Deck app</strong>" : "Промени во <strong>апликацијата Deck</strong>",
|
||||
"A <strong>board, list or card</strong> was changed" : "Променета е <strong>табла, листа или картица</strong>",
|
||||
"A <strong>comment</strong> was created on a card" : "<strong>Коментар</strong> е креиран на картица",
|
||||
"A <strong>card description</strong> has been changed" : "Променет е <strong>опис на картица</strong> ",
|
||||
"The file was uploaded" : "Датотеката е прикачена",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" : "Подигнатата датотека ја надминува upload_max_filesize директивата во php.ini",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" : "Големината на датотеката ја надминува MAX_FILE_SIZE директивата која беше специфицирана во HTML формата",
|
||||
@@ -79,66 +73,35 @@
|
||||
"Could not write file to disk" : "Неможе да се запишува на дискот",
|
||||
"A PHP extension stopped the file upload" : "PHP додаток го стопираше прикачувањето на датотеката",
|
||||
"No file uploaded or file size exceeds maximum of %s" : "Нема прикачена дадотека или големината го надмминува максимумот од %s",
|
||||
"Invalid file type. Only JSON files are allowed." : "Невалиден тип на датотека. Дозволени се само JSON датотеки.",
|
||||
"Invalid JSON data" : "Невалидни JSON податоци",
|
||||
"Failed to import board" : "Неуспешен увоз на табла",
|
||||
"Cards due today" : "Картици со рок до денес",
|
||||
"Cards due tomorrow" : "Картици со рок до утре",
|
||||
"Upcoming cards" : "Престојни картици",
|
||||
"Load more" : "Вчитај повеќе",
|
||||
"Welcome to Nextcloud Deck!" : "Добредојдовте во Nextcloud Deck!",
|
||||
"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\" го достигна датумот на истекување.",
|
||||
"The card {deck-card} on {deck-board} has reached its due date." : "Картицата {deck-card} на {deck-board} го достигна рокот.",
|
||||
"%s has mentioned you in a comment on \"%s\"." : "%s те спомна во коментар на \"%s\".",
|
||||
"{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" : "Табла",
|
||||
"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",
|
||||
"Create a new deck card" : "Креирај нова картица",
|
||||
"Card comments" : "Коментари на картица",
|
||||
"%s on %s" : "%s на %s",
|
||||
"Deck boards and cards" : "Табли и картици",
|
||||
"No data was provided to create an attachment." : "Нема податоци за креирање на прилог.",
|
||||
"Finished" : "Завршено",
|
||||
"To review" : "На ревизија",
|
||||
"Action needed" : "Потребна е акција",
|
||||
"Later" : "Покасно",
|
||||
"copy" : "копирај",
|
||||
"Read more inside" : "Прочитај повеќе",
|
||||
"Custom lists - click to rename!" : "Прилагодени листи – кликнете за преименување!",
|
||||
"To Do" : "За правење",
|
||||
"In Progress" : "Во тек",
|
||||
"Done" : "Готово",
|
||||
"1. Open to learn more about boards and cards" : "1. Отворете за да дознаете повеќе за таблите и картичките",
|
||||
"2. Drag cards left and right, up and down" : "2. Влечете ги картичките лево и десно, горе и долу",
|
||||
"3. Apply rich formatting and link content" : "3. Применете богато форматирање и поврзете содржина",
|
||||
"4. Share, comment and collaborate!" : "4. Споделувајте, коментирајте и соработувајте!",
|
||||
"Create your first card!" : "Креирајте ја вашата прва картичка!",
|
||||
"This comment has more than %s characters.\nAdded as an attachment to the card with name %s.\nAccessible on URL: %s." : "Коментарот има повеќе од %s карактери.\nДодаден е како пролог на картицата со име %s.\nДостапен е на линк: %s.",
|
||||
"Attachments" : "Прилози",
|
||||
"File" : "Датотека",
|
||||
"date" : "датум",
|
||||
"Card not found" : "Картицата не е пронајдена",
|
||||
"Path is already shared with this card" : "Патеката веќе е споделена со оваа картица",
|
||||
"Invalid date, date format must be YYYY-MM-DD" : "Невалиден датум, форматот мора да биде ГГГГ-ММ-ДД",
|
||||
"Personal planning and team project organization" : "Персонален планер и тимски проект организер",
|
||||
"Deck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud.\n\n\n- 📥 Add your tasks to cards and put them in order\n- 📄 Write down additional notes in Markdown\n- 🔖 Assign labels for even better organization\n- 👥 Share with your team, friends or family\n- 📎 Attach files and embed them in your Markdown description\n- 💬 Discuss with your team using comments\n- ⚡ Keep track of changes in the activity stream\n- 🚀 Get your project organized" : "Deck е алатка за организација во стил на kanban, наменета за лични планови и организација на проекти за тимови интегрирани со Nextcloud.\n\n\n📥 Додај ги задачите на картички и подреди ги\n📄 Запиши дополнителни белешки во Markdown\n🔖 Додели етикети за уште подобра организација\n👥 Сподели со твојот тим, пријатели или семејство\n📎 Прикачи датотеки и вметни ги во Markdown описот\n💬 Дискутирај со твојот тим преку коментари\n⚡ Следи ги промените во активностите\n🚀 Организирај го твојот проект",
|
||||
"Add board" : "Додади табла",
|
||||
"Card details" : "Детали за картица",
|
||||
"Select the board to link to a project" : "Избери табла за поврзување со проект",
|
||||
"Search by board title" : "Барај по име на табла",
|
||||
"Select board" : "Избери табла",
|
||||
"Move/copy card" : "Премести/копирај картица",
|
||||
"Select a board" : "Избери табла",
|
||||
"No lists available" : "Нема достапни листи",
|
||||
"Select a list" : "Избери листа",
|
||||
"Move card" : "Премести картица",
|
||||
"Copy card" : "Копирај картица",
|
||||
"Select the card to link to a project" : "Избери картица за поврзување со проект",
|
||||
"Link to card" : "Линк до картица",
|
||||
"Select a card" : "Избери картица",
|
||||
@@ -159,8 +122,6 @@
|
||||
"Filter by tag" : "Филтрирај по ознака",
|
||||
"Filter by assigned user" : "Филтрирај по назначени корисници",
|
||||
"Unassigned" : "Неназначени",
|
||||
"Filter by status" : "Филтрирај по статус",
|
||||
"Open and completed" : "Отворени и завршени",
|
||||
"Open" : "Отвори",
|
||||
"Completed" : "Завршено",
|
||||
"Filter by due date" : "Филтрирај по краен рок",
|
||||
@@ -170,17 +131,12 @@
|
||||
"Next 30 days" : "Следни 30 дена",
|
||||
"No due date" : "Нема краен рок",
|
||||
"Clear filter" : "Исчисти филтри",
|
||||
"View Modes" : "Режими на приказ",
|
||||
"Toggle View Modes" : "Промени режими на приказ",
|
||||
"Hide archived cards" : "Сокриј ги архивираните картици",
|
||||
"Show archived cards" : "Прикажи ги архивираните картици",
|
||||
"Toggle compact mode" : "Вклучи компактен мод",
|
||||
"Hide card cover images" : "Сокриј насловни слики на картици",
|
||||
"Show card cover images" : "Прикажи насловни слики на картици",
|
||||
"Open details" : "Отвори детали",
|
||||
"Details" : "Детали",
|
||||
"Currently present people" : "Моментално приситни корисници",
|
||||
"Loading board" : "Вчитување на табла",
|
||||
"Loading board" : "Вчирување на табла",
|
||||
"Board not found" : "Таблата не е пронајдена",
|
||||
"Create a new list to add cards to this board" : "Додадете нова листа за да додадете картици на таблата",
|
||||
"Sharing" : "Споделување",
|
||||
@@ -191,29 +147,19 @@
|
||||
"Undo" : "Врати",
|
||||
"Deleted cards" : "Избришани картици",
|
||||
"Failed to create share with {displayName}" : "Неможе да се сподели со {displayName}",
|
||||
"Are you sure you want to transfer the board {title} to {user}?" : "Дали сте сигурни дека сакате да ја префрлите таблата {title} на {user}?",
|
||||
"Transfer the board." : "Префрли табла.",
|
||||
"Transfer" : "Трансфер",
|
||||
"The board has been transferred to {user}" : "Таблата е префрлена на {user}",
|
||||
"Failed to transfer the board to {user}" : "Неуспешно префрлање на таблата на {user}",
|
||||
"Share board with a user, group or team …" : "Сподели табла со корисник, група или тим...",
|
||||
"Searching for users, groups and teams …" : "Пребарување на корисници, групи или тимови...",
|
||||
"No participants found" : "Не се пронајдени учесници",
|
||||
"Board owner" : "Сопственик на таблата",
|
||||
"(Group)" : "(Група)",
|
||||
"(Team)" : "(Тим)",
|
||||
"Can edit" : "Може да се уредува",
|
||||
"Can share" : "Can share",
|
||||
"Can manage" : "Може да ја менаџира",
|
||||
"Owner" : "Сопственик",
|
||||
"Delete" : "Избриши",
|
||||
"List deleted" : "Листата е избришана",
|
||||
"Edit list title" : "Удери наслов на листата",
|
||||
"Archive all cards" : "Архивирај ги сите картици",
|
||||
"Unarchive all cards" : "Врати ги од архива сите картици",
|
||||
"Delete list" : "Избриши листа",
|
||||
"Archive all cards in this list" : "Архивирај ги сите картици во листата",
|
||||
"Unarchive all cards in this list" : "Врати ги од архива сите картици во оваа листа",
|
||||
"Add a new card" : "Додади нова картица",
|
||||
"Card name" : "Име на картицата",
|
||||
"title and color value must be provided" : "Мора да се внесе наслов и боја",
|
||||
@@ -221,39 +167,32 @@
|
||||
"Add a new tag" : "Додади нова ознака",
|
||||
"Board name" : "Име на табла",
|
||||
"Members" : "Членови",
|
||||
"Assign to users/groups/team" : "Додели на корисници/групи/тимови",
|
||||
"Assign a user to this card…" : "Додели корисник на оваа картица...",
|
||||
"Select a user to assign to this card…" : "Избери на кого да се додели оваа картица…",
|
||||
"File to share" : "Датотека за споделување",
|
||||
"Invalid path selected" : "Избрана невалидна патека",
|
||||
"Upload new files" : "Прикачи нови датотеки",
|
||||
"Share from Files" : "Сподели од датотеките",
|
||||
"Pending share" : "Споделување на чекање",
|
||||
"Add this attachment" : "Додади го овој прилог",
|
||||
"Show in Files" : "Прикажи во датотеките",
|
||||
"Download" : "Преземи",
|
||||
"Remove attachment" : "Отстрани прилог",
|
||||
"Delete Attachment" : "Избриши прилог",
|
||||
"Restore Attachment" : "Врати прилог",
|
||||
"Modified" : "Изменето",
|
||||
"Created" : "Креирано",
|
||||
"The title cannot be empty." : "Насловот неможе да биде празен.",
|
||||
"Cannot close unsaved card!" : "Неможе да се затвори незачувана картица!",
|
||||
"Open in sidebar view" : "Отвори страничен поглед",
|
||||
"Open in bigger view" : "Отвори на голем екран",
|
||||
"Comments" : "Коментари",
|
||||
"Failed to load comments" : "Неуспешно вчитување на коментари",
|
||||
"No comments yet. Begin the discussion!" : "Сеуште нема коментари. Започни дискусија!",
|
||||
"The comment cannot be empty." : "Коментарот неможе да биде празен.",
|
||||
"The comment cannot be longer than 1000 characters." : "Коментарот неможе да биде поголем од 1000 карактери.",
|
||||
"Save" : "Зачувај",
|
||||
"Created:" : "Создадено:",
|
||||
"In reply to" : "Како одговор на",
|
||||
"Cancel reply" : "Откажи одговор",
|
||||
"Reply" : "Одговор",
|
||||
"Update" : "Ажурирај",
|
||||
"Write a description …" : "Напиши опис ...",
|
||||
"Could not save description" : "Неможе да се зачува описот",
|
||||
"Description" : "Опис",
|
||||
"(Unsaved)" : "(Незачувано)",
|
||||
"(Saving…)" : "(Снимање…)",
|
||||
@@ -264,135 +203,67 @@
|
||||
"Choose attachment" : "Избери прилог",
|
||||
"Select Date" : "Избери датум",
|
||||
"Later today – {timeLocale}" : "Денес покасно – {timeLocale}",
|
||||
"Set due date for later today" : "Постави краен рок за денес подоцна",
|
||||
"Tomorrow – {timeLocale}" : "Утре – {timeLocale}",
|
||||
"Set due date for tomorrow" : "Постави краен рок за утре",
|
||||
"This weekend – {timeLocale}" : "Овој викенд – {timeLocale}",
|
||||
"Set due date for this weekend" : "Постави краен рок за овој викенд",
|
||||
"Next week – {timeLocale}" : "Следна недела – {timeLocale}",
|
||||
"Set due date for next week" : "Постави краен рок за следната недела",
|
||||
"Set due date for this weekend" : "Постави рок за овој викенд",
|
||||
"Assign a due date to this card…" : "Додели рок за оваа картица…",
|
||||
"Set a due date" : "Постави краен рок",
|
||||
"Add due date" : "Додади краен рок",
|
||||
"Choose a date" : "Избери датум",
|
||||
"Remove due date" : "Отстрани краен рок",
|
||||
"Mark as done" : "Означи како готово",
|
||||
"Due at:" : "Краен рок:",
|
||||
"Not done" : "Не е завршено",
|
||||
"Unarchive card" : "Врати картица од архива",
|
||||
"Archive card" : "Архивирај картица",
|
||||
"Assign a tag to this card…" : "Додади ознака на оваа картица...",
|
||||
"Select or create a tag…" : "Избери или креирај ознака...",
|
||||
"Create a new tag:" : "Направи нова ознака:",
|
||||
"(group)" : "(group)",
|
||||
"{count} comments, {unread} unread" : "{count} коментари, {unread} непрочитани",
|
||||
"Todo items" : "Задачи",
|
||||
"Edit card title" : "Измени наслов на картица",
|
||||
"Open link" : "Отвори линк",
|
||||
"Card deleted" : "Картицата е избришана",
|
||||
"Edit title" : "Удери наслов",
|
||||
"Assign to me" : "Доделени мене",
|
||||
"Unassign myself" : "Откажи се",
|
||||
"Mark as not done" : "Означи како не-готово",
|
||||
"Delete card" : "Избриши картица",
|
||||
"seconds ago" : "пред неколку секунди",
|
||||
"Keyboard shortcuts" : "Кратенки преку тастатура",
|
||||
"Boost your productivity using Deck with keyboard shortcuts." : "Зголеми ја продуктивноста со користење на кратенки преку тастатура.",
|
||||
"Board actions" : "Акции за табла",
|
||||
"Keyboard shortcut" : "Кратенка преку тастатура",
|
||||
"Action" : "Акција",
|
||||
"Shift" : "Shift",
|
||||
"Scroll" : "Scroll",
|
||||
"Scroll sideways" : "Лизгај странично",
|
||||
"Navigate between cards" : "Навигација помеѓу картиците",
|
||||
"Esc" : "Esc",
|
||||
"Close card details" : "Затвори детали на картица",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Барај",
|
||||
"Show card filters" : "Прикажи филтри за картици",
|
||||
"Clear card filters" : "Исчисти филтри за картици",
|
||||
"Show help dialog" : "Прикажи дијалог за помош",
|
||||
"Card actions" : "Акции за картици",
|
||||
"The following actions can be triggered on the currently highlighted card" : "Следните акции можат да се активираат на моментално обележаната картичка",
|
||||
"Enter" : "Ентер",
|
||||
"Space" : "Празно место",
|
||||
"Open card details" : "Отвори детали на картица",
|
||||
"Edit the card title" : "Измени наслов на картица",
|
||||
"Assign yourself to the current card" : "Доделете се себеси на тековната картица",
|
||||
"Archive/unarchive the current card" : "Архивирај/одархивирај тековната картица",
|
||||
"Mark card as completed/not completed" : "Означи ја картицата како завршена/незавршена",
|
||||
"Open card menu" : "Отвори мени на картица",
|
||||
"All boards" : "Сите табли",
|
||||
"Archived boards" : "Архивирани табли",
|
||||
"Shared with you" : "Споделено со тебе",
|
||||
"Deck settings" : "Deck параметри",
|
||||
"Use bigger card view" : "Користи поголем преглед на картици",
|
||||
"Show card ID badge" : "Прикажи ID на картиците",
|
||||
"Show boards in calendar/tasks" : "Прикажи ги таблите во календарнот",
|
||||
"Limit board creation to some groups" : "Ограничи го креирањето на нови табли само на овие групи",
|
||||
"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." : "Корисниците кој што не се во овие групи нема да можат да прават нови таби, но ќе можат да работат на таблите кој ќе бидат споделени со нив.",
|
||||
"Cancel edit" : "Откажи ажурирање",
|
||||
"Save board" : "Зачувај табла",
|
||||
"Board {0} deleted" : "Таблата {0} е избришана",
|
||||
"All cards" : "Сите картици",
|
||||
"Only assigned cards" : "Само доделени картици",
|
||||
"No reminder" : "Нема потсетник",
|
||||
"An error occurred" : "Настана грешка",
|
||||
"Are you sure you want to delete the board {title}? This will delete all the data of this board including archived cards." : "Дали сте сигурени дека сакате да ја избришете оваа табла {title}? Ова ќе ги избрише и сите податоци во таблата и архивираните картици.",
|
||||
"Delete the board?" : "Бришење на таблата?",
|
||||
"Exporting board..." : "Извоз на табла...",
|
||||
"Board details" : "Детали за таблата",
|
||||
"Edit board" : "Измени табла",
|
||||
"Clone board" : "Клонирај табла",
|
||||
"Unarchive board" : "Врати табла од архива",
|
||||
"Archive board" : "Архивирај табла",
|
||||
"Export board" : "Извези табла",
|
||||
"Turn on due date reminders" : "Вклучи потсетници за крајните рокови",
|
||||
"Turn off due date reminders" : "Исклучи потсетници за крајните рокови",
|
||||
"Due date reminders" : "Потсетници за крајните рокови",
|
||||
"Assigned cards" : "Доделени картици",
|
||||
"No notifications" : "Нема известувања",
|
||||
"Delete board" : "Избриши табла",
|
||||
"Importing board..." : "Увезување табла...",
|
||||
"Board imported successfully" : "Таблата е успешно увезена",
|
||||
"Import board" : "Увези табла",
|
||||
"Clone {boardTitle}" : "Клонирај {boardTitle}",
|
||||
"Clone cards" : "Клинирај картици",
|
||||
"Clone assignments" : "Клонирај задачи",
|
||||
"Clone labels" : "Клонирај ознаки",
|
||||
"Clone due dates" : "Клонирај крајни рокови",
|
||||
"Advanced options" : "Напредни опции",
|
||||
"Move all cards to the first list" : "Помести ги сите картици во првата листа",
|
||||
"Restore archived cards" : "Врати архивирани картици",
|
||||
"Clone" : "Клонирај",
|
||||
"Export {boardTitle}" : "Извези {boardTitle}",
|
||||
"Export as JSON" : "Извези како JSON",
|
||||
"Export as CSV" : "Извези како CSV",
|
||||
"Note: Only the JSON format is supported for importing back into the Deck app." : "Забелешка: Поддржан е само JSON формат за увоз назад во апликацијата Deck.",
|
||||
"Export" : "Извези",
|
||||
"Loading filtered view" : "Вчитување на филтриран поглед",
|
||||
"Search for {searchQuery} in other boards" : "Барај {searchQuery} во други табли",
|
||||
"Search for {searchQuery} in all boards" : "Барај {searchQuery} во сите табли",
|
||||
"No results found" : "Нема пронајдено резултати",
|
||||
"Deck board {name}\n* Last modified on {lastMod}" : "Табла {name}\n* Последна промена на {lastMod}",
|
||||
"* Created on {created}\n* Last modified on {lastMod}\n* {nbAttachments} attachments\n* {nbComments} comments" : "* Креирана на {created}\n* Последна промена на {lastMod}\n* {nbAttachments} прилози\n* {nbComments} коментари",
|
||||
"{nbCards} cards" : "{nbCards} картици",
|
||||
"Due on {date}" : "Истекува на {date}",
|
||||
"{stack} in {board}" : "{stack} во {board}",
|
||||
"Click to expand description" : "Кликнни за проширување на опис",
|
||||
"Click to expand comment" : "Кликнни за проширување на коментарот",
|
||||
"Create card" : "Креирајте картица",
|
||||
"Create a new card" : "Креирајте нова картица",
|
||||
"Card title" : "Наслов на картицата",
|
||||
"Creating the new card …" : "Креирање нова картица ...",
|
||||
"Card \"{card}\" was added to \"{board}\"" : "Картицата \"{card}\" е додадена во \"{board}\"",
|
||||
"Open card" : "Отвори картица",
|
||||
"Close" : "Затвори",
|
||||
"No upcoming cards" : "Нема престојни картици",
|
||||
"upcoming cards today" : "престојни картици за денес",
|
||||
"upcoming cards tomorrow" : "престојни картици за утре",
|
||||
"upcoming cards" : "престојни картици",
|
||||
"New card" : "Нова картица",
|
||||
"Link to a board" : "Линк до табла",
|
||||
"Link to a card" : "Линк до картица",
|
||||
"Create a card" : "Креирајте картица",
|
||||
@@ -400,7 +271,6 @@
|
||||
"Something went wrong" : "Нешто не е во ред",
|
||||
"Failed to upload {name}" : "Неуспешно прикачување {name}",
|
||||
"Maximum file size of {size} exceeded" : "Максималната големина на датотека од {size} е достигната",
|
||||
"Assigned users" : "Доделени корисници",
|
||||
"Due date" : "До датум",
|
||||
"Error creating the share" : "Грешка при креирање на споделување",
|
||||
"Share with a Deck card" : "Споделено со Deck картица",
|
||||
|
||||
@@ -266,7 +266,6 @@ OC.L10N.register(
|
||||
"{count} comments, {unread} unread" : "{count} reacties, {unread} ongelezen",
|
||||
"Todo items" : "Te doen onderwerpen",
|
||||
"Edit card title" : "Wijzig de titel van de kaart",
|
||||
"Open link" : "Open link",
|
||||
"Card deleted" : "Kaart verwijderd",
|
||||
"Edit title" : "Titel bewerken",
|
||||
"Assign to me" : "Aan mij toewijzen",
|
||||
@@ -280,7 +279,6 @@ OC.L10N.register(
|
||||
"Shift" : "Shift",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Zoeken",
|
||||
"Enter" : "Enter",
|
||||
"All boards" : "Alle borden",
|
||||
"Archived boards" : "Gearchiveerde borden",
|
||||
"Shared with you" : "Deelde met jou",
|
||||
|
||||
@@ -264,7 +264,6 @@
|
||||
"{count} comments, {unread} unread" : "{count} reacties, {unread} ongelezen",
|
||||
"Todo items" : "Te doen onderwerpen",
|
||||
"Edit card title" : "Wijzig de titel van de kaart",
|
||||
"Open link" : "Open link",
|
||||
"Card deleted" : "Kaart verwijderd",
|
||||
"Edit title" : "Titel bewerken",
|
||||
"Assign to me" : "Aan mij toewijzen",
|
||||
@@ -278,7 +277,6 @@
|
||||
"Shift" : "Shift",
|
||||
"Ctrl" : "Ctrl",
|
||||
"Search" : "Zoeken",
|
||||
"Enter" : "Enter",
|
||||
"All boards" : "Alle borden",
|
||||
"Archived boards" : "Gearchiveerde borden",
|
||||
"Shared with you" : "Deelde met jou",
|
||||
|
||||
@@ -185,7 +185,7 @@ class CardApiController extends ApiController {
|
||||
* Reorder cards
|
||||
*/
|
||||
public function reorder($stackId, $order) {
|
||||
$card = $this->cardService->reorder((int)$this->request->getParam('cardId'), (int)$stackId, (int)$order);
|
||||
$card = $this->cardService->reorder($this->request->getParam('cardId'), $stackId, $order);
|
||||
return new DataResponse($card, HTTP::STATUS_OK);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,18 +77,33 @@ class AssignmentMapper extends DeckMapper implements IPermissionMapper {
|
||||
}
|
||||
|
||||
public function deleteByParticipantOnBoard(string $participant, int $boardId, $type = Assignment::TYPE_USER) {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
// Step 1: Get all card IDs for the board that have assignments for this participant
|
||||
// This avoids MySQL Error 1093 by separating the SELECT from the DELETE operation
|
||||
$cardIdQuery = $this->db->getQueryBuilder();
|
||||
$cardIdQuery->select('a.card_id')
|
||||
->from('deck_assigned_users', 'a')
|
||||
->innerJoin('a', 'deck_cards', 'c', 'c.id = a.card_id')
|
||||
->innerJoin('c', 'deck_stacks', 's', 's.id = c.stack_id')
|
||||
->where($cardIdQuery->expr()->eq('a.participant', $qb->createNamedParameter($participant, IQueryBuilder::PARAM_STR)))
|
||||
->andWhere($cardIdQuery->expr()->eq('s.board_id', $qb->createNamedParameter($boardId, IQueryBuilder::PARAM_INT)))
|
||||
->andWhere($cardIdQuery->expr()->eq('a.type', $qb->createNamedParameter($type, IQueryBuilder::PARAM_INT)));
|
||||
$qb->delete('deck_assigned_users')
|
||||
->where($qb->expr()->in('card_id', $qb->createFunction($cardIdQuery->getSQL()), IQueryBuilder::PARAM_INT_ARRAY));
|
||||
$qb->executeStatement();
|
||||
->where($cardIdQuery->expr()->eq('a.participant', $cardIdQuery->createNamedParameter($participant, IQueryBuilder::PARAM_STR)))
|
||||
->andWhere($cardIdQuery->expr()->eq('s.board_id', $cardIdQuery->createNamedParameter($boardId, IQueryBuilder::PARAM_INT)))
|
||||
->andWhere($cardIdQuery->expr()->eq('a.type', $cardIdQuery->createNamedParameter($type, IQueryBuilder::PARAM_INT)));
|
||||
|
||||
$result = $cardIdQuery->executeQuery();
|
||||
$cardIds = [];
|
||||
while ($row = $result->fetch()) {
|
||||
$cardIds[] = $row['card_id'];
|
||||
}
|
||||
$result->closeCursor();
|
||||
|
||||
// Step 2: If we have card IDs, delete the assignments
|
||||
if (!empty($cardIds)) {
|
||||
$deleteQuery = $this->db->getQueryBuilder();
|
||||
$deleteQuery->delete('deck_assigned_users')
|
||||
->where($deleteQuery->expr()->eq('participant', $deleteQuery->createNamedParameter($participant, IQueryBuilder::PARAM_STR)))
|
||||
->andWhere($deleteQuery->expr()->eq('type', $deleteQuery->createNamedParameter($type, IQueryBuilder::PARAM_INT)))
|
||||
->andWhere($deleteQuery->expr()->in('card_id', $deleteQuery->createNamedParameter($cardIds, IQueryBuilder::PARAM_INT_ARRAY)));
|
||||
$deleteQuery->executeStatement();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -131,7 +131,11 @@ class CardMapper extends QBMapper implements IPermissionMapper {
|
||||
return $card;
|
||||
}
|
||||
|
||||
public function findAll($stackId, $limit = null, $offset = null, $since = -1) {
|
||||
/**
|
||||
* @return Card[]
|
||||
* @throws \OCP\DB\Exception
|
||||
*/
|
||||
public function findAll($stackId, ?int $limit = null, ?int $offset = null, int $since = -1) {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
$qb->select('*')
|
||||
->from('deck_cards')
|
||||
@@ -146,6 +150,32 @@ class CardMapper extends QBMapper implements IPermissionMapper {
|
||||
return $this->findEntities($qb);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int[] $stackIds
|
||||
* @return array<int, null|Card[]>
|
||||
* @throws \OCP\DB\Exception
|
||||
*/
|
||||
public function findAllForStacks(array $stackIds, ?int $limit = null, ?int $offset = null, int $since = -1): array {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
$qb->select('*')
|
||||
->from('deck_cards')
|
||||
->where($qb->expr()->in('stack_id', $qb->createNamedParameter($stackIds, IQueryBuilder::PARAM_INT_ARRAY)))
|
||||
->andWhere($qb->expr()->eq('archived', $qb->createNamedParameter(false, IQueryBuilder::PARAM_BOOL)))
|
||||
->andWhere($qb->expr()->eq('deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT)))
|
||||
->andWhere($qb->expr()->gt('last_modified', $qb->createNamedParameter($since, IQueryBuilder::PARAM_INT)))
|
||||
->setMaxResults($limit)
|
||||
->setFirstResult($offset)
|
||||
->orderBy('order')
|
||||
->addOrderBy('id');
|
||||
|
||||
$rawCards = $this->findEntities($qb);
|
||||
$cards = array_fill_keys($stackIds, null);
|
||||
foreach ($rawCards as $card) {
|
||||
$cards[$card->getStackId()][] = $card;
|
||||
}
|
||||
return $cards;
|
||||
}
|
||||
|
||||
public function queryCardsByBoard(int $boardId): IQueryBuilder {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
$qb->select('c.*')
|
||||
|
||||
@@ -15,6 +15,7 @@ use Sabre\VObject\Component\VCalendar;
|
||||
* @method int getDeletedAt()
|
||||
* @method int getLastModified()
|
||||
* @method int getOrder()
|
||||
* @method Card[] getCards()
|
||||
*/
|
||||
class Stack extends RelationalEntity {
|
||||
protected $title;
|
||||
|
||||
@@ -77,12 +77,10 @@ class StackMapper extends DeckMapper implements IPermissionMapper {
|
||||
|
||||
/**
|
||||
* @param numeric $boardId
|
||||
* @param int|null $limit
|
||||
* @param int|null $offset
|
||||
* @return Stack[]
|
||||
* @throws \OCP\DB\Exception
|
||||
*/
|
||||
public function findAll($boardId, $limit = null, $offset = null): array {
|
||||
public function findAll($boardId, ?int $limit = null, ?int $offset = null): array {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
$qb->select('*')
|
||||
->from($this->getTableName())
|
||||
|
||||
@@ -77,7 +77,7 @@ class Notifier implements INotifier {
|
||||
*/
|
||||
public function prepare(INotification $notification, string $languageCode): INotification {
|
||||
$l = $this->l10nFactory->get('deck', $languageCode);
|
||||
if ($notification->getApp() !== 'deck' || $notification->getObjectType() === 'activity_notification') {
|
||||
if ($notification->getApp() !== 'deck') {
|
||||
throw new UnknownNotificationException();
|
||||
}
|
||||
$notification->setIcon($this->url->getAbsoluteURL($this->url->imagePath('deck', 'deck-dark.svg')));
|
||||
|
||||
@@ -64,6 +64,7 @@ class BoardReferenceProvider implements IReferenceProvider {
|
||||
$reference = new Reference($referenceText);
|
||||
$reference->setTitle($this->l10n->t('Deck board') . ': ' . $board['title']);
|
||||
$ownerDisplayName = $board['owner']['displayname'] ?? $board['owner']['uid'] ?? '???';
|
||||
// TRANSLATORS Owned by {boardOwnerName}
|
||||
$reference->setDescription($this->l10n->t('Owned by %1$s', [$ownerDisplayName]));
|
||||
$imageUrl = $this->urlGenerator->getAbsoluteURL(
|
||||
$this->urlGenerator->imagePath(Application::APP_ID, 'deck-dark.svg')
|
||||
|
||||
@@ -90,6 +90,7 @@ class CommentReferenceProvider implements IReferenceProvider {
|
||||
$reference->setTitle($comment['message']);
|
||||
$boardOwnerDisplayName = $board['owner']['displayname'] ?? $board['owner']['uid'] ?? '???';
|
||||
$reference->setDescription(
|
||||
// TRANSLATORS From {userName}, in {boardTitle}/{stackTitle}, owned by {boardOwnerName}
|
||||
$this->l10n->t('From %1$s, in %2$s/%3$s, owned by %4$s', [
|
||||
$comment['actorDisplayName'],
|
||||
$board['title'],
|
||||
|
||||
@@ -439,7 +439,7 @@ class CardService {
|
||||
* @throws \OCP\AppFramework\Db\MultipleObjectsReturnedException
|
||||
* @throws BadRequestException
|
||||
*/
|
||||
public function reorder(int $id, int $stackId, int $order) {
|
||||
public function reorder($id, $stackId, $order) {
|
||||
$this->cardServiceValidator->check(compact('id', 'stackId', 'order'));
|
||||
|
||||
$this->permissionService->checkPermission($this->cardMapper, $id, Acl::PERMISSION_EDIT);
|
||||
|
||||
@@ -75,19 +75,22 @@ class StackService {
|
||||
$this->stackServiceValidator = $stackServiceValidator;
|
||||
}
|
||||
|
||||
private function enrichStackWithCards($stack, $since = -1) {
|
||||
$cards = $this->cardMapper->findAll($stack->getId(), null, null, $since);
|
||||
/** @param Stack[] $stacks */
|
||||
private function enrichStacksWithCards(array $stacks, $since = -1): void {
|
||||
$cardsByStackId = $this->cardMapper->findAllForStacks(array_map(fn (Stack $stack) => $stack->getId(), $stacks), null, null, $since);
|
||||
|
||||
if (\count($cards) === 0) {
|
||||
return;
|
||||
}
|
||||
foreach ($cardsByStackId as $stackId => $cards) {
|
||||
if (!$cards) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$stack->setCards($this->cardService->enrichCards($cards));
|
||||
}
|
||||
|
||||
private function enrichStacksWithCards($stacks, $since = -1) {
|
||||
foreach ($stacks as $stack) {
|
||||
$this->enrichStackWithCards($stack, $since);
|
||||
foreach ($stacks as $stack) {
|
||||
if ($stack->getId() === $stackId) {
|
||||
$stack->setCards($this->cardService->enrichCards($cards));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -124,9 +127,9 @@ class StackService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $boardId
|
||||
* @param mixed $boardId
|
||||
*
|
||||
* @return array
|
||||
* @return Stack[]
|
||||
* @throws \OCA\Deck\NoPermissionException
|
||||
* @throws BadRequestException
|
||||
*/
|
||||
@@ -247,7 +250,7 @@ class StackService {
|
||||
);
|
||||
$this->changeHelper->boardChanged($stack->getBoardId());
|
||||
$this->eventDispatcher->dispatchTyped(new BoardUpdatedEvent($stack->getBoardId()));
|
||||
$this->enrichStackWithCards($stack);
|
||||
$this->enrichStacksWithCards([$stack]);
|
||||
|
||||
return $stack;
|
||||
}
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "deck",
|
||||
"version": "1.16.0",
|
||||
"version": "2.0.0-dev.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "deck",
|
||||
"version": "1.16.0",
|
||||
"version": "2.0.0-dev.0",
|
||||
"license": "agpl",
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "^7.12.1",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "deck",
|
||||
"description": "",
|
||||
"version": "1.16.0",
|
||||
"version": "2.0.0-dev.0",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Julius Härtl",
|
||||
|
||||
@@ -107,10 +107,6 @@ export default {
|
||||
this.$store.dispatch('loadSharees')
|
||||
},
|
||||
mounted() {
|
||||
// Redirect to cleaner URL (without /index.php) if RewriteBase is enabled
|
||||
if (this.$route.path.startsWith('/index.php')) {
|
||||
window.location.href = this.$route.fullPath.replace('/index.php', '')
|
||||
}
|
||||
// Set navigation to initial state and update in case it gets toggled
|
||||
emit('toggle-navigation', { open: !this.isMobile && this.navShown, _initial: true })
|
||||
this.$nextTick(() => {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<template>
|
||||
<div class="attachments-drag-zone"
|
||||
@dragover.prevent="!isDraggingOver && (isDraggingOver = true)"
|
||||
@dragover.prevent="handleDragOver"
|
||||
@dragleave.prevent="isDraggingOver && (isDraggingOver = false)"
|
||||
@drop.prevent="handleDropFiles">
|
||||
<slot />
|
||||
@@ -83,6 +83,13 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
handleDragOver(event) {
|
||||
if (!event.dataTransfer || event.dataTransfer.items?.length <= 0) {
|
||||
return
|
||||
}
|
||||
!this.isDraggingOver && (this.isDraggingOver = true)
|
||||
},
|
||||
|
||||
handleDropFiles(event) {
|
||||
event.dataTransfer.dropEffect = 'copy'
|
||||
this.isDraggingOver = false
|
||||
|
||||
@@ -276,18 +276,15 @@ export default {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: calc(100vh - 50px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.board {
|
||||
padding-left: $board-spacing;
|
||||
position: relative;
|
||||
max-height: calc(100% - var(--default-clickable-area));
|
||||
overflow: hidden;
|
||||
overflow-x: auto;
|
||||
flex-grow: 1;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -297,11 +294,15 @@ export default {
|
||||
.smooth-dnd-container.horizontal {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
gap: $board-gap;
|
||||
padding: 0 $board-gap;
|
||||
height: 100%;
|
||||
|
||||
&:deep(.stack-draggable-wrapper.smooth-dnd-draggable-wrapper) {
|
||||
display: flex;
|
||||
height: auto;
|
||||
flex: 0 1 $card-max-width;
|
||||
min-width: $card-min-width;
|
||||
|
||||
.stack {
|
||||
display: flex;
|
||||
@@ -309,16 +310,13 @@ export default {
|
||||
position: relative;
|
||||
|
||||
.smooth-dnd-container.vertical {
|
||||
flex-grow: 1;
|
||||
$margin-x: calc($stack-gap * -1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
// Margin left instead of padidng to avoid jumps on dropping a card
|
||||
margin-left: $stack-spacing;
|
||||
padding-right: $stack-spacing;
|
||||
overflow-x: hidden;
|
||||
gap: $stack-gap;
|
||||
padding: $stack-gap;
|
||||
margin: 0 $margin-x;
|
||||
overflow-y: auto;
|
||||
padding-top: 15px;
|
||||
margin-top: -10px;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
{{ stack.title }}
|
||||
</h3>
|
||||
<h3 v-else-if="!editing"
|
||||
title="stack.title"
|
||||
dir="auto"
|
||||
tabindex="0"
|
||||
:aria-label="stack.title"
|
||||
:title="stack.title"
|
||||
class="stack__title"
|
||||
@click="startEditing(stack)"
|
||||
@keydown.enter="startEditing(stack)">
|
||||
@@ -108,7 +108,7 @@
|
||||
</Container>
|
||||
|
||||
<transition name="slide-bottom" appear>
|
||||
<div v-show="showAddCard" class="stack__card-add">
|
||||
<div v-if="showAddCard" class="stack__card-add">
|
||||
<form :class="{ 'icon-loading-small': stateCardCreating }"
|
||||
@submit.prevent.stop="clickAddCard()">
|
||||
<label for="new-stack-input-main" class="hidden-visually">{{ t('deck', 'Add a new card') }}</label>
|
||||
@@ -365,37 +365,31 @@ export default {
|
||||
@import './../../css/variables';
|
||||
|
||||
.stack {
|
||||
width: $stack-width + $stack-spacing * 3;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.stack__header {
|
||||
display: flex;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
height: var(--default-clickable-area);
|
||||
z-index: 100;
|
||||
padding-left: $card-spacing;
|
||||
padding-right: $card-spacing;
|
||||
margin: 6px;
|
||||
margin-top: 0;
|
||||
cursor: grab;
|
||||
background-color: var(--color-main-background);
|
||||
|
||||
// Smooth fade out of the cards at the top
|
||||
&:before {
|
||||
content: ' ';
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: calc(100% - 16px);
|
||||
height: 20px;
|
||||
top: 30px;
|
||||
left: 0px;
|
||||
width: 100%;
|
||||
height: $stack-gap;
|
||||
bottom: 0;
|
||||
z-index: 99;
|
||||
transition: top var(--animation-slow);
|
||||
|
||||
background-image: linear-gradient(180deg, var(--color-main-background) 3px, rgba(255, 255, 255, 0) 100%);
|
||||
body.theme--dark & {
|
||||
background-image: linear-gradient(180deg, var(--color-main-background) 3px, rgba(0, 0, 0, 0) 100%);
|
||||
}
|
||||
background-image: linear-gradient(180deg, var(--color-main-background) 0%, transparent 100%);
|
||||
transform: translateY(100%);
|
||||
}
|
||||
|
||||
& > * {
|
||||
@@ -404,8 +398,10 @@ export default {
|
||||
}
|
||||
|
||||
h3, form {
|
||||
flex-grow: 1;
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: inherit;
|
||||
margin: 0;
|
||||
|
||||
@@ -418,9 +414,8 @@ export default {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: calc($stack-width - 60px);
|
||||
border-radius: 3px;
|
||||
padding: 4px 4px;
|
||||
padding: $card-padding;
|
||||
font-size: var(--default-font-size);
|
||||
|
||||
&:focus-visible {
|
||||
@@ -430,7 +425,6 @@ export default {
|
||||
}
|
||||
|
||||
form {
|
||||
margin: -4px;
|
||||
input {
|
||||
font-weight: bold;
|
||||
padding: 0 6px;
|
||||
@@ -453,14 +447,25 @@ export default {
|
||||
flex-shrink: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
margin-bottom: 5px;
|
||||
padding-top: var(--default-grid-baseline);
|
||||
padding-bottom: $stack-gap;
|
||||
background-color: var(--color-main-background);
|
||||
position: relative;
|
||||
|
||||
// Smooth fade out of the cards at the top
|
||||
&:before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: $stack-gap;
|
||||
z-index: 99;
|
||||
transition: bottom var(--animation-slow);
|
||||
background-image: linear-gradient(0deg, var(--color-main-background) 0%, transparent 100%);
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
margin-left: $stack-spacing;
|
||||
margin-right: $stack-spacing;
|
||||
width: 100%;
|
||||
border: 2px solid var(--color-border-maxcontrast);
|
||||
border-radius: var(--border-radius-large);
|
||||
@@ -481,7 +486,6 @@ export default {
|
||||
input {
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -101,6 +101,8 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './../../css/variables';
|
||||
|
||||
.badges {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
@@ -111,6 +113,7 @@ export default {
|
||||
.icon-badge {
|
||||
color: var(--color-text-maxcontrast);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 2px;
|
||||
|
||||
span,
|
||||
@@ -125,6 +128,7 @@ export default {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 3px;
|
||||
height: var(--default-clickable-area);
|
||||
}
|
||||
|
||||
.badge-left, .badge-right {
|
||||
|
||||
@@ -4,13 +4,10 @@
|
||||
-->
|
||||
|
||||
<template>
|
||||
<div v-if="referencePreview" class="card-cover">
|
||||
<div class="image-wrapper rounded-left rounded-right" :style="{ backgroundImage: `url(${referencePreview})`}" />
|
||||
</div>
|
||||
<div v-else-if="cardId && ( attachments.length > 0 )" class="card-cover">
|
||||
<div v-for="(attachment, index) in attachments"
|
||||
<div v-if="cardId && ( attachments.length > 0 )" class="card-cover">
|
||||
<div v-for="attachment in attachments"
|
||||
:key="attachment.id"
|
||||
:class="['image-wrapper', { 'rounded-left': index === 0 }, { 'rounded-right': index === attachments.length - 1 }]"
|
||||
class="image-wrapper"
|
||||
:style="{ backgroundImage: `url(${attachmentPreview(attachment)})` }" />
|
||||
</div>
|
||||
</template>
|
||||
@@ -77,9 +74,7 @@ export default {
|
||||
.card-cover {
|
||||
height: 90px;
|
||||
display: flex;
|
||||
margin-top: -4px;
|
||||
margin-left: -4px;
|
||||
margin-right: -4px;
|
||||
margin: $card-image-margin $card-image-margin 0;
|
||||
|
||||
.image-wrapper {
|
||||
flex: 1;
|
||||
@@ -87,12 +82,6 @@ export default {
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
&.rounded-left {
|
||||
border-top-left-radius: calc(var(--border-radius-large) - 1px);
|
||||
}
|
||||
&.rounded-right {
|
||||
border-top-right-radius: calc(var(--border-radius-large) - 1px);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<template>
|
||||
<AttachmentDragAndDrop v-if="card" :card-id="card.id" class="drop-upload--card">
|
||||
<div :ref="`card${card.id}`"
|
||||
:class="{'compact': compactMode, 'current-card': currentCard, 'has-labels': card.labels && card.labels.length > 0, 'card__editable': canEdit, 'card__archived': card.archived, 'card__highlight': highlight}"
|
||||
:class="{'compact': compactMode, 'current-card': currentCard, 'no-labels': !hasLabels, 'card__editable': canEdit, 'card__archived': card.archived, 'card__highlight': highlight}"
|
||||
tag="div"
|
||||
:tabindex="0"
|
||||
class="card"
|
||||
@@ -331,16 +331,17 @@ export default {
|
||||
border-radius: var(--border-radius-large);
|
||||
font-size: 100%;
|
||||
background-color: var(--color-main-background);
|
||||
margin-bottom: $card-spacing;
|
||||
padding: var(--default-grid-baseline) $card-padding;
|
||||
padding: $card-padding;
|
||||
border: 2px solid var(--color-border-dark);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: $card-gap;
|
||||
overflow: hidden;
|
||||
|
||||
&:deep(*:not(.dragDisabled)) {
|
||||
cursor: pointer;
|
||||
}
|
||||
&:deep(*) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&.current-card {
|
||||
border: 2px solid var(--color-primary-element);
|
||||
@@ -359,12 +360,10 @@ export default {
|
||||
h4 {
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
padding: var(--default-grid-baseline);
|
||||
flex-grow: 1;
|
||||
font-size: 100%;
|
||||
overflow: hidden;
|
||||
word-wrap: break-word;
|
||||
padding-left: 4px;
|
||||
align-self: center;
|
||||
|
||||
:deep(a) {
|
||||
@@ -374,9 +373,6 @@ export default {
|
||||
&.editable {
|
||||
span {
|
||||
cursor: text;
|
||||
padding-right: 8px;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
|
||||
&:focus, &:focus-visible {
|
||||
outline: none;
|
||||
@@ -385,6 +381,7 @@ export default {
|
||||
|
||||
&:focus-within {
|
||||
outline: 2px solid var(--color-border-dark);
|
||||
outline-offset: 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
@@ -427,8 +424,6 @@ export default {
|
||||
.card-labels {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
padding-left: var(--default-grid-baseline);
|
||||
padding-top: var(--default-grid-baseline);
|
||||
|
||||
.labels {
|
||||
flex-wrap: wrap;
|
||||
@@ -444,7 +439,7 @@ export default {
|
||||
|
||||
.card-related {
|
||||
display: flex;
|
||||
padding: 12px;
|
||||
padding: 4px;
|
||||
padding-bottom: 0px;
|
||||
color: var(--color-text-maxcontrast);
|
||||
|
||||
@@ -469,8 +464,8 @@ export default {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
}
|
||||
&.has-labels {
|
||||
padding-bottom: $card-padding;
|
||||
&.no-labels {
|
||||
padding-bottom: var(--default-grid-baseline);
|
||||
}
|
||||
.labels {
|
||||
height: 6px;
|
||||
|
||||
@@ -14,45 +14,25 @@
|
||||
</div>
|
||||
|
||||
<div v-else-if="isValidFilter" class="overview">
|
||||
<div class="dashboard-column">
|
||||
<h3>{{ t('deck', 'Overdue') }}</h3>
|
||||
<div v-for="card in sortCards('overdue')" :key="card.id">
|
||||
<CardItem :id="card.id" />
|
||||
<div v-for="columnProps in columnPropsList" :key="columnProps.title" class="dashboard-column">
|
||||
<div class="dashboard-column__header">
|
||||
<h3 class="dashboard-column__header-title"
|
||||
:title="columnProps.title"
|
||||
:aria-label="columnProps.title">
|
||||
{{ t('deck', columnProps.title) }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-column">
|
||||
<h3>{{ t('deck', 'Today') }}</h3>
|
||||
<div v-for="card in sortCards('today')" :key="card.id">
|
||||
<CardItem :id="card.id" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-column">
|
||||
<h3>{{ t('deck', 'Tomorrow') }}</h3>
|
||||
<div v-for="card in sortCards('tomorrow')" :key="card.id">
|
||||
<CardItem :id="card.id" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-column">
|
||||
<h3>{{ t('deck', 'Next 7 days') }}</h3>
|
||||
<div v-for="card in sortCards('nextSevenDays')" :key="card.id">
|
||||
<CardItem :id="card.id" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-column">
|
||||
<h3>{{ t('deck', 'Later') }}</h3>
|
||||
<div v-for="card in sortCards('later')" :key="card.id">
|
||||
<CardItem :id="card.id" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dashboard-column">
|
||||
<h3>{{ t('deck', 'No due') }}</h3>
|
||||
<div v-for="card in assignedCardsDashboard.nodue" :key="card.id">
|
||||
<CardItem :id="card.id" />
|
||||
<div class="dashboard-column__list">
|
||||
<template v-if="columnProps.sort === false">
|
||||
<CardItem v-for="card in filterCards(columnProps.filter)"
|
||||
:id="card.id"
|
||||
:key="card.id" />
|
||||
</template>
|
||||
<template v-else>
|
||||
<CardItem v-for="card in sortCards(filterCards(columnProps.filter))"
|
||||
:id="card.id"
|
||||
:key="card.id" />
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -73,6 +53,34 @@ const SUPPORTED_FILTERS = [
|
||||
FILTER_UPCOMING,
|
||||
]
|
||||
|
||||
const COLUMN_PROPS_LIST = [
|
||||
{
|
||||
title: 'Overdue',
|
||||
filter: 'overdue',
|
||||
},
|
||||
{
|
||||
title: 'Today',
|
||||
filter: 'today',
|
||||
},
|
||||
{
|
||||
title: 'Tomorrow',
|
||||
filter: 'tomorrow',
|
||||
},
|
||||
{
|
||||
title: 'Next 7 days',
|
||||
filter: 'nextSevenDays',
|
||||
},
|
||||
{
|
||||
title: 'Later',
|
||||
filter: 'later',
|
||||
},
|
||||
{
|
||||
title: 'No due',
|
||||
filter: 'nodue',
|
||||
sort: false,
|
||||
},
|
||||
]
|
||||
|
||||
export default {
|
||||
name: 'Overview',
|
||||
components: {
|
||||
@@ -89,6 +97,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
loading: true,
|
||||
columnPropsList: COLUMN_PROPS_LIST,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -125,16 +134,16 @@ export default {
|
||||
}
|
||||
this.loading = false
|
||||
},
|
||||
sortCards(when) {
|
||||
const cards = this.assignedCardsDashboard[when]
|
||||
|
||||
filterCards(when) {
|
||||
return this.assignedCardsDashboard[when]
|
||||
},
|
||||
sortCards(cards) {
|
||||
if (!cards) {
|
||||
return null
|
||||
} else {
|
||||
return cards.toSorted((current, next) => {
|
||||
const currentDueDate = new Date(current.duedate)
|
||||
const nextDueDate = new Date(next.duedate)
|
||||
|
||||
return currentDueDate - nextDueDate
|
||||
})
|
||||
}
|
||||
@@ -151,38 +160,75 @@ export default {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: calc(100vh - 50px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.overview {
|
||||
position: relative;
|
||||
height: calc(100% - var(--default-clickable-area));
|
||||
overflow-x: scroll;
|
||||
overflow-x: auto;
|
||||
flex-grow: 1;
|
||||
scrollbar-gutter: stable;
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
padding-left: $board-spacing;
|
||||
padding-right: $board-spacing;
|
||||
gap: $board-gap;
|
||||
padding: 0 $board-gap;
|
||||
|
||||
.dashboard-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: $stack-width;
|
||||
width: $stack-width;
|
||||
margin-left: $stack-spacing;
|
||||
margin-right: $stack-spacing;
|
||||
flex: 0 1 $card-max-width;
|
||||
min-width: $card-min-width;
|
||||
|
||||
h3 {
|
||||
font-size: var(--default-font-size);
|
||||
margin: -6px;
|
||||
margin-bottom: 12px;
|
||||
padding: 6px 13px;
|
||||
.dashboard-column__header {
|
||||
display: flex;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
height: var(--default-clickable-area);
|
||||
z-index: 100;
|
||||
margin-top: 0;
|
||||
background-color: var(--color-main-background);
|
||||
border: 1px solid var(--color-main-background);
|
||||
|
||||
// Smooth fade out of the cards at the top
|
||||
&:before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
top: 30px;
|
||||
left: 0px;
|
||||
z-index: 99;
|
||||
transition: top var(--animation-slow);
|
||||
background-image: linear-gradient(180deg, var(--color-main-background) 3px, rgba(255, 255, 255, 0) 100%);
|
||||
|
||||
body.theme--dark & {
|
||||
background-image: linear-gradient(180deg, var(--color-main-background) 3px, rgba(0, 0, 0, 0) 100%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dashboard-column__header-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: var(--default-clickable-area);
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
padding: $card-padding;
|
||||
font-size: var(--default-font-size);
|
||||
}
|
||||
|
||||
.dashboard-column__list {
|
||||
$margin-x: calc($stack-gap * -1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: $stack-gap;
|
||||
padding: $stack-gap;
|
||||
margin: 0 $margin-x;
|
||||
overflow-y: auto;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,16 +4,19 @@
|
||||
-->
|
||||
|
||||
<template>
|
||||
<div v-if="searchQuery!==''" class="global-search">
|
||||
<h2>
|
||||
<NcRichText :text="t('deck', 'Search for {searchQuery} in all boards')" :arguments="queryStringArgs" />
|
||||
<div v-if="loading" class="icon-loading-small" />
|
||||
</h2>
|
||||
<NcActions>
|
||||
<NcActionButton icon="icon-close" @click="$store.commit('setSearchQuery', '')" />
|
||||
</NcActions>
|
||||
<section v-if="searchQuery!==''" class="global-search">
|
||||
<header class="search-header">
|
||||
<h2>
|
||||
<NcRichText :text="$route.params.id ? t('deck', 'Search for {searchQuery} in other boards') : t('deck', 'Search for {searchQuery} in all boards')"
|
||||
:arguments="queryStringArgs" />
|
||||
<span v-if="loading" class="icon-loading-small" />
|
||||
</h2>
|
||||
<NcActions>
|
||||
<NcActionButton icon="icon-close" @click="$store.commit('setSearchQuery', '')" />
|
||||
</NcActions>
|
||||
</header>
|
||||
<div class="search-wrapper">
|
||||
<div v-if="loading || filteredResults.length > 0" class="search-results">
|
||||
<template v-if="loading || filteredResults.length > 0">
|
||||
<CardItem v-for="card in filteredResults"
|
||||
:id="card.id"
|
||||
:key="card.id"
|
||||
@@ -26,12 +29,12 @@
|
||||
{{ t('deck', 'No results found') }}
|
||||
</div>
|
||||
</InfiniteLoading>
|
||||
</div>
|
||||
<div v-else>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p>{{ t('deck', 'No results found') }}</p>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -159,7 +162,7 @@ export default {
|
||||
|
||||
.global-search {
|
||||
width: 100%;
|
||||
padding: $board-spacing + $stack-spacing;
|
||||
padding: $board-gap;
|
||||
padding-bottom: 0;
|
||||
overflow: hidden;
|
||||
min-height: 35vh;
|
||||
@@ -169,17 +172,24 @@ export default {
|
||||
border-top: 1px solid var(--color-border);
|
||||
z-index: 1010;
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.action-item.icon-close {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
}
|
||||
.search-wrapper {
|
||||
overflow: scroll;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
padding: 10px;
|
||||
|
||||
.search-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
padding: var(--default-grid-baseline) var(--default-grid-baseline) $board-gap;
|
||||
}
|
||||
|
||||
h2 > div {
|
||||
@@ -189,23 +199,24 @@ export default {
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
h2:deep(span) {
|
||||
background-color: var(--color-background-dark);
|
||||
padding: 3px;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.search-results {
|
||||
.search-wrapper {
|
||||
overflow: auto;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: $stack-gap;
|
||||
|
||||
& > div {
|
||||
flex-grow: 0;
|
||||
& > .drop-upload--card {
|
||||
flex: 0 1 $card-max-width;
|
||||
min-width: $card-min-width;
|
||||
}
|
||||
}
|
||||
&:deep(.card) {
|
||||
width: $stack-width;
|
||||
margin-right: $stack-spacing;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -62,14 +62,13 @@ export default {
|
||||
$clickable-area: var(--default-clickable-area);
|
||||
|
||||
.card--placeholder {
|
||||
width: $stack-width;
|
||||
margin-right: $stack-spacing;
|
||||
min-width: $card-min-width;
|
||||
max-width: $card-min-width;
|
||||
padding: $card-padding;
|
||||
transition: box-shadow 0.1s ease-in-out;
|
||||
box-shadow: 0 0 2px 0 var(--color-box-shadow);
|
||||
border-radius: var(--border-radius-large);
|
||||
font-size: 100%;
|
||||
margin-bottom: $card-spacing;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
$card-spacing: 8px;
|
||||
$card-padding: 4px;
|
||||
$stack-spacing: 12px;
|
||||
$stack-width: 280px;
|
||||
$board-spacing: 16px;
|
||||
$card-min-width: 216px;
|
||||
$card-max-width: 300px;
|
||||
$card-padding: calc(var(--default-grid-baseline) * 2) calc(var(--default-grid-baseline) * 2) var(--default-grid-baseline);
|
||||
$card-gap: calc(var(--default-grid-baseline) * 3);
|
||||
$card-image-margin: calc(var(--default-grid-baseline) * -2);
|
||||
$stack-gap: calc(var(--default-grid-baseline) * 3);
|
||||
$board-gap: calc(var(--default-grid-baseline) * 4);
|
||||
|
||||
@@ -189,7 +189,7 @@ export default {
|
||||
card.assignedUsers = card.assignedUsers || []
|
||||
const existingIndex = state.cards.findIndex(_card => _card.id === card.id)
|
||||
if (existingIndex !== -1) {
|
||||
const existingCard = state.cards.find(_card => _card.id === card.id)
|
||||
const existingCard = state.cards[existingIndex]
|
||||
Vue.set(state.cards, existingIndex, Object.assign({}, existingCard, card))
|
||||
} else {
|
||||
state.cards.push(card)
|
||||
|
||||
@@ -1 +1 @@
|
||||
82773
|
||||
81373
|
||||
|
||||
@@ -129,12 +129,17 @@ class StackServiceTest extends TestCase {
|
||||
}
|
||||
)
|
||||
);
|
||||
$this->cardMapper->expects($this->any())->method('findAll')->willReturn($this->getCards(222));
|
||||
|
||||
$this->cardMapper->expects($this->any())->method('findAllForStacks')->willReturnCallback(function (array $stackIds) {
|
||||
$r = [];
|
||||
foreach ($stackIds as $stackId) {
|
||||
$r[$stackId] = $this->getCards(222);
|
||||
}
|
||||
return $r;
|
||||
});
|
||||
|
||||
$actual = $this->stackService->findAll(123);
|
||||
for ($stackId = 0; $stackId < 3; $stackId++) {
|
||||
for ($cardId = 0;$cardId < 10;$cardId++) {
|
||||
for ($cardId = 0; $cardId < 10; $cardId++) {
|
||||
$this->assertEquals($actual[0]->getCards()[$cardId]->getId(), $cardId);
|
||||
$this->assertEquals($actual[0]->getCards()[$cardId]->getStackId(), 222);
|
||||
$this->assertEquals($actual[0]->getCards()[$cardId]->getLabels(), $this->getLabels()[$cardId]);
|
||||
@@ -211,7 +216,7 @@ class StackServiceTest extends TestCase {
|
||||
$stackToBeDeleted->setBoardId(1);
|
||||
$this->stackMapper->expects($this->once())->method('find')->willReturn($stackToBeDeleted);
|
||||
$this->stackMapper->expects($this->once())->method('update')->willReturn($stackToBeDeleted);
|
||||
$this->cardMapper->expects($this->once())->method('findAll')->willReturn([]);
|
||||
$this->cardMapper->expects($this->once())->method('findAllForStacks')->willReturn([]);
|
||||
$this->stackService->delete(123);
|
||||
$this->assertTrue($stackToBeDeleted->getDeletedAt() <= time(), 'deletedAt is in the past');
|
||||
$this->assertTrue($stackToBeDeleted->getDeletedAt() > 0, 'deletedAt is set');
|
||||
|
||||
Reference in New Issue
Block a user