Compare commits

...

24 Commits

Author SHA1 Message Date
Julius Härtl
2e8bb35d22 Use composer directory for autoloading
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-06 23:14:37 +02:00
Julius Härtl
c925f82b5e Merge pull request #2361 from nextcloud/removeCommentCheck2
Comments do not depend on the comments app
2020-10-06 23:01:55 +02:00
Morris Jobke
06bd894f05 Merge pull request #2363 from nextcloud/bugfix/noid/uid-sharee-results
Use uid instead of displayname for sharee results
2020-10-06 16:05:55 +02:00
Julius Härtl
de37a4b4f0 Use uid instead of displayname for sharee results
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-06 15:34:46 +02:00
Jakob Röhrl
ed6b3a6f94 removeCommentCheck
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2020-10-06 13:20:04 +02:00
Nextcloud bot
0ed5545b2f [tx-robot] updated from transifex 2020-10-06 02:29:43 +00:00
Nextcloud bot
186e9954b6 [tx-robot] updated from transifex 2020-10-04 02:29:26 +00:00
Julius Härtl
06ab9fd304 Merge pull request #2337 from nextcloud/dependabot/npm_and_yarn/acorn-8.0.3
Bump acorn from 8.0.1 to 8.0.3
2020-10-03 11:58:59 +02:00
Julius Härtl
f5bf01a460 Merge pull request #2338 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.5
Bump vue-router from 3.4.4 to 3.4.5
2020-10-03 11:58:47 +02:00
Julius Härtl
8c205a8fe5 Merge pull request #2340 from nextcloud/dependabot/npm_and_yarn/vue-easymde-1.3.0
Bump vue-easymde from 1.2.2 to 1.3.0
2020-10-03 11:58:35 +02:00
Julius Härtl
9b56d1ac55 Merge pull request #2339 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.22.1
Bump eslint-plugin-import from 2.22.0 to 2.22.1
2020-10-03 11:57:23 +02:00
dependabot[bot]
bfa37adb69 Bump vue-easymde from 1.2.2 to 1.3.0
Bumps [vue-easymde](https://github.com/NikulinIlya/vue-easymde) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/NikulinIlya/vue-easymde/releases)
- [Commits](https://github.com/NikulinIlya/vue-easymde/compare/v1.2.2...1.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-03 01:04:38 +00:00
dependabot[bot]
b057801f9c Bump eslint-plugin-import from 2.22.0 to 2.22.1
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-03 01:03:47 +00:00
dependabot[bot]
663e7ff889 Bump vue-router from 3.4.4 to 3.4.5
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.4 to 3.4.5.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.4.4...v3.4.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-03 01:03:13 +00:00
dependabot[bot]
62fa40fbd6 Bump acorn from 8.0.1 to 8.0.3
Bumps [acorn](https://github.com/acornjs/acorn) from 8.0.1 to 8.0.3.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.0.1...8.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-03 01:02:46 +00:00
Julius Härtl
85377154ff Merge pull request #2336 from nextcloud/tests/php-githubactions 2020-10-02 21:58:40 +02:00
Julius Härtl
66e3dd9914 Remove drone tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-02 21:47:07 +02:00
Julius Härtl
5ac3baa050 Move to OCP\Util
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-02 21:37:24 +02:00
Julius Härtl
7ca5a95182 Merge pull request #2330 from nextcloud/enh/ToastUndo2
undo with toasts
2020-10-02 21:32:10 +02:00
Julius Härtl
fc68972fd0 Check app code
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-02 21:30:12 +02:00
Julius Härtl
e8f2c2569c Remove travis
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-02 21:28:49 +02:00
Julius Härtl
4688db43b7 Run unit tests on github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-02 21:23:50 +02:00
Julius Härtl
26b1dadb80 Bump version to 1.2.0-dev1
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-02 21:17:30 +02:00
Jakob Röhrl
5752b987c1 undo with toasts
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2020-09-28 14:38:54 +02:00
37 changed files with 434 additions and 268 deletions

View File

@@ -1,131 +0,0 @@
kind: pipeline
name: checkers
steps:
- name: compatibility
image: nextcloudci/php7.3:latest
environment:
APP_NAME: deck
CORE_BRANCH: master
DB: sqlite
commands:
# Pre-setup steps
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server
# Code checker
- ./occ app:check-code $APP_NAME -c strong-comparison
- ./occ app:check-code $APP_NAME -c deprecation
- cd apps/$APP_NAME/
- name: syntax-php7.2
image: nextcloudci/php7.2:latest
environment:
APP_NAME: deck
CORE_BRANCH: master
DB: sqlite
commands:
- composer install
- ./vendor/bin/parallel-lint --exclude ./vendor/ .
- name: syntax-php7.3
image: nextcloudci/php7.3:php7.3-2
environment:
APP_NAME: deck
CORE_BRANCH: master
DB: sqlite
commands:
- composer install
- ./vendor/bin/parallel-lint --exclude ./vendor/ .
- name: syntax-php7.4
image: nextcloudci/php7.4:latest
environment:
APP_NAME: deck
CORE_BRANCH: master
DB: sqlite
commands:
- composer install
- ./vendor/bin/parallel-lint --exclude ./vendor/ .
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: unit-php7.3
steps:
- name: php7.3
image: nextcloudci/php7.3:latest
environment:
APP_NAME: deck
CORE_BRANCH: master
DB: sqlite
commands:
# Pre-setup steps
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/
- php occ app:enable deck
- cd apps/$APP_NAME
- composer install
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
kind: pipeline
name: unit-php7.4
steps:
- name: php7.4
image: nextcloudci/php7.4:latest
environment:
APP_NAME: deck
CORE_BRANCH: master
DB: sqlite
commands:
# Pre-setup steps
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/
- php occ app:enable deck
- cd apps/$APP_NAME
- composer install
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: integration
steps:
- name: integration
image: nextcloudci/php7.3:latest
environment:
APP_NAME: deck
CORE_BRANCH: master
DB: sqlite
commands:
# Pre-setup steps
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
- cd ../server/
- php occ app:enable deck
- cd apps/$APP_NAME
- cd tests/integration
- ./run.sh || true
trigger:
branch:
- master
- stable*
event:
- pull_request
- push

55
.github/workflows/app-code-check.yml vendored Normal file
View File

@@ -0,0 +1,55 @@
name: PHP AppCode Check
on:
pull_request:
push:
branches:
- master
- stable*
env:
APP_NAME: deck
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4']
server-versions: ['master', 'stable18', 'stable19', 'stable20']
name: AppCode check php${{ matrix.php-versions }}-${{ matrix.server-versions }}
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Checkout app
uses: actions/checkout@v2
with:
path: apps/${{ env.APP_NAME }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite
- name: Checkout app
uses: actions/checkout@v2
with:
path: apps/${{ env.APP_NAME }}
- name: App code check
run: php occ app:check-code ${{ env.APP_NAME }}

215
.github/workflows/phpunit.yml vendored Normal file
View File

@@ -0,0 +1,215 @@
name: PHPUnit
on:
pull_request:
push:
branches:
- master
- stable*
env:
APP_NAME: deck
jobs:
php:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4']
databases: ['sqlite']
server-versions: ['master']
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Checkout app
uses: actions/checkout@v2
with:
path: apps/${{ env.APP_NAME }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite
coverage: none
- name: Set up PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: composer i
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml
- name: PHPUnit integration
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.integration.xml
mysql:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.3', '7.4']
databases: ['mysql']
server-versions: ['master']
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
services:
mysql:
image: mariadb
ports:
- 4444:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Checkout app
uses: actions/checkout@v2
with:
path: apps/${{ env.APP_NAME }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, iconv, fileinfo, intl, mysql, pdo_mysql
coverage: none
- name: Set up PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: composer i
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml
- name: PHPUnit integration
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.integration.xml
pgsql:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4']
databases: ['pgsql']
server-versions: ['master']
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
services:
postgres:
image: postgres
ports:
- 4444:5432/tcp
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: rootpassword
POSTGRES_DB: nextcloud
options: --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Checkout app
uses: actions/checkout@v2
with:
path: apps/${{ env.APP_NAME }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, iconv, fileinfo, intl, pgsql, pdo_pgsql
coverage: none
- name: Set up PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: composer i
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml
- name: PHPUnit integration
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.integration.xml

View File

@@ -1,36 +0,0 @@
language: php
services:
- mysql
php:
- 7.3
env:
- CORE_BRANCH=master DB=mysql
matrix:
include:
- php: 7.2
env: "DB=sqlite CORE_BRANCH=stable20"
before_install:
- export PATH="$PWD/vendor/bin:$PATH"
- phpunit --version
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
- bash ./before_install.sh deck $CORE_BRANCH $DB
- cd ../server
- ./occ app:enable deck
before_script:
- cd apps/deck
script:
- composer install
- make test-unit
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- cat ../../data/nextcloud.log
notifications:
email: false

View File

@@ -23,12 +23,15 @@ install-deps: install-deps-js
install-deps-nodev: install-deps-js
composer install --no-dev
autoloader:
composer dump-autoload
install-deps-js:
npm ci
build: clean-dist install-deps build-js
release: clean-dist install-deps-nodev build-js
release: clean-dist install-deps-nodev autoloader build-js
build-js: install-deps-js
npm run build

View File

@@ -1,29 +0,0 @@
<?php
/**
* @copyright Copyright (c) 2016 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\Deck\AppInfo;
/**
* Additional autoloader registration, e.g. registering composer autoloaders
*/
require_once __DIR__ . '/../vendor/autoload.php';

View File

@@ -17,7 +17,7 @@
- 🚀 Get your project organized
</description>
<version>1.1.0</version>
<version>1.2.0-dev1</version>
<licence>agpl</licence>
<author>Julius Härtl</author>
<namespace>Deck</namespace>

View File

@@ -1,31 +1,38 @@
{
"name": "nextcloud/deck",
"type": "project",
"license": "AGPLv3",
"authors": [
{
"name": "Julius Härtl",
"email": "jus@bitgrid.net"
}
],
"require": {
"cogpowered/finediff": "0.3.*"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"christophwurst/nextcloud": "^17",
"jakub-onderka/php-parallel-lint": "^1.0.0",
"phpunit/phpunit": "^8",
"nextcloud/coding-standard": "^0.3.0",
"symfony/event-dispatcher": "^4.0"
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix"
}
"name": "nextcloud/deck",
"type": "project",
"license": "AGPLv3",
"authors": [
{
"name": "Julius Härtl",
"email": "jus@bitgrid.net"
}
],
"require": {
"cogpowered/finediff": "0.3.*"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"christophwurst/nextcloud": "^17",
"jakub-onderka/php-parallel-lint": "^1.0.0",
"phpunit/phpunit": "^8",
"nextcloud/coding-standard": "^0.3.0",
"symfony/event-dispatcher": "^4.0"
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"vendor-dir": "composer",
"autoloader-suffix": "Deck"
},
"autoload" : {
"psr-4": {
"OCA\\Deck\\": "lib/"
}
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix"
}
}

View File

@@ -160,6 +160,7 @@ OC.L10N.register(
"Archive all cards in this list" : "Archivovat všechny karty v tomto seznamu",
"Add a new card" : "Přidat novou kartu",
"Card name" : "Název karty",
"List deleted" : "Seznam smazán",
"Edit" : "Upravit",
"Add a new tag" : "Přidat nový štítek",
"title and color value must be provided" : "je třeba zadat nadpis a zvolit barvu",
@@ -209,6 +210,7 @@ OC.L10N.register(
"Move card" : "Přesunout kartu",
"Move card to another board" : "Přesunout kartu na jinou tabuli",
"Select a list" : "Vyberte sloupec",
"Card deleted" : "Karta smazána",
"seconds ago" : "před několika sekundami",
"All boards" : "Všechny tabule",
"Archived boards" : "Archivované tabule",

View File

@@ -158,6 +158,7 @@
"Archive all cards in this list" : "Archivovat všechny karty v tomto seznamu",
"Add a new card" : "Přidat novou kartu",
"Card name" : "Název karty",
"List deleted" : "Seznam smazán",
"Edit" : "Upravit",
"Add a new tag" : "Přidat nový štítek",
"title and color value must be provided" : "je třeba zadat nadpis a zvolit barvu",
@@ -207,6 +208,7 @@
"Move card" : "Přesunout kartu",
"Move card to another board" : "Přesunout kartu na jinou tabuli",
"Select a list" : "Vyberte sloupec",
"Card deleted" : "Karta smazána",
"seconds ago" : "před několika sekundami",
"All boards" : "Všechny tabule",
"Archived boards" : "Archivované tabule",

View File

@@ -160,6 +160,7 @@ OC.L10N.register(
"Archive all cards in this list" : "Alle Karten in dieser Liste archivieren",
"Add a new card" : "Neue Karte hinzufügen",
"Card name" : "Kartenname",
"List deleted" : "Liste gelöscht",
"Edit" : "Bearbeiten",
"Add a new tag" : "Neues Schlagwort hinzufügen",
"title and color value must be provided" : "Titel und Farbwert müssen angegeben werden",
@@ -209,6 +210,7 @@ OC.L10N.register(
"Move card" : "Karte verschieben",
"Move card to another board" : "Karte auf ein anderes Board verschieben",
"Select a list" : "Eine Liste auswählen",
"Card deleted" : "Karte gelöscht",
"seconds ago" : "Gerade eben",
"All boards" : "Alle Boards",
"Archived boards" : "Archivierte Boards",

View File

@@ -158,6 +158,7 @@
"Archive all cards in this list" : "Alle Karten in dieser Liste archivieren",
"Add a new card" : "Neue Karte hinzufügen",
"Card name" : "Kartenname",
"List deleted" : "Liste gelöscht",
"Edit" : "Bearbeiten",
"Add a new tag" : "Neues Schlagwort hinzufügen",
"title and color value must be provided" : "Titel und Farbwert müssen angegeben werden",
@@ -207,6 +208,7 @@
"Move card" : "Karte verschieben",
"Move card to another board" : "Karte auf ein anderes Board verschieben",
"Select a list" : "Eine Liste auswählen",
"Card deleted" : "Karte gelöscht",
"seconds ago" : "Gerade eben",
"All boards" : "Alle Boards",
"Archived boards" : "Archivierte Boards",

View File

@@ -160,6 +160,7 @@ OC.L10N.register(
"Archive all cards in this list" : "Alle Karten in dieser Liste archivieren",
"Add a new card" : "Neue Karte hinzufügen",
"Card name" : "Kartenname",
"List deleted" : "Liste gelöscht",
"Edit" : "Bearbeiten",
"Add a new tag" : "Neues Schlagwort hinzufügen",
"title and color value must be provided" : "Titel und Farbwert müssen angegeben werden",
@@ -209,6 +210,7 @@ OC.L10N.register(
"Move card" : "Karte verschieben",
"Move card to another board" : "Karte auf ein anderes Board verschieben",
"Select a list" : "Eine Liste auswählen",
"Card deleted" : "Karte gelöscht",
"seconds ago" : "Gerade eben",
"All boards" : "Alle Boards",
"Archived boards" : "Archivierte Boards",

View File

@@ -158,6 +158,7 @@
"Archive all cards in this list" : "Alle Karten in dieser Liste archivieren",
"Add a new card" : "Neue Karte hinzufügen",
"Card name" : "Kartenname",
"List deleted" : "Liste gelöscht",
"Edit" : "Bearbeiten",
"Add a new tag" : "Neues Schlagwort hinzufügen",
"title and color value must be provided" : "Titel und Farbwert müssen angegeben werden",
@@ -207,6 +208,7 @@
"Move card" : "Karte verschieben",
"Move card to another board" : "Karte auf ein anderes Board verschieben",
"Select a list" : "Eine Liste auswählen",
"Card deleted" : "Karte gelöscht",
"seconds ago" : "Gerade eben",
"All boards" : "Alle Boards",
"Archived boards" : "Archivierte Boards",

View File

@@ -160,6 +160,7 @@ OC.L10N.register(
"Archive all cards in this list" : "Archivar todas las tarjetas en esta lista",
"Add a new card" : "Añadir una nueva tarjeta",
"Card name" : "Nombre de la tarjeta",
"List deleted" : "Lista borrada",
"Edit" : "Editar",
"Add a new tag" : "Añade una nueva etiqueta",
"title and color value must be provided" : "Se debe indicar un valor para título y color ",
@@ -209,6 +210,7 @@ OC.L10N.register(
"Move card" : "Mover tarjeta",
"Move card to another board" : "Mover la tarjeta a otro tablero",
"Select a list" : "Seleccionar una lista",
"Card deleted" : "Tarjeta borrada",
"seconds ago" : "hace unos segundos",
"All boards" : "Todos los tableros",
"Archived boards" : "Tableros archivados",

View File

@@ -158,6 +158,7 @@
"Archive all cards in this list" : "Archivar todas las tarjetas en esta lista",
"Add a new card" : "Añadir una nueva tarjeta",
"Card name" : "Nombre de la tarjeta",
"List deleted" : "Lista borrada",
"Edit" : "Editar",
"Add a new tag" : "Añade una nueva etiqueta",
"title and color value must be provided" : "Se debe indicar un valor para título y color ",
@@ -207,6 +208,7 @@
"Move card" : "Mover tarjeta",
"Move card to another board" : "Mover la tarjeta a otro tablero",
"Select a list" : "Seleccionar una lista",
"Card deleted" : "Tarjeta borrada",
"seconds ago" : "hace unos segundos",
"All boards" : "Todos los tableros",
"Archived boards" : "Tableros archivados",

View File

@@ -92,6 +92,9 @@ OC.L10N.register(
"List name" : "Listan nimi",
"Apply filter" : "Toteuta suodatus",
"Filter by tag" : "Suodata tunnisteen perusteella",
"Filter by assigned user" : "Suodata määritetyn käyttäjän mukaan",
"Unassigned" : "Määrittämätön",
"Filter by due date" : "Suodata määräpäivän mukaan",
"Overdue" : "Myöhässä",
"Next 24 hours" : "Seuraavat 24 tuntia",
"Next 7 days" : "Seuraavat 7 päivää",

View File

@@ -90,6 +90,9 @@
"List name" : "Listan nimi",
"Apply filter" : "Toteuta suodatus",
"Filter by tag" : "Suodata tunnisteen perusteella",
"Filter by assigned user" : "Suodata määritetyn käyttäjän mukaan",
"Unassigned" : "Määrittämätön",
"Filter by due date" : "Suodata määräpäivän mukaan",
"Overdue" : "Myöhässä",
"Next 24 hours" : "Seuraavat 24 tuntia",
"Next 7 days" : "Seuraavat 7 päivää",

View File

@@ -160,6 +160,7 @@ OC.L10N.register(
"Archive all cards in this list" : "Arquivar todas as tarxetas desta lista",
"Add a new card" : "Engadir unha nova tarxeta",
"Card name" : "Nome da tarxeta",
"List deleted" : "Lista eliminada",
"Edit" : "Editar",
"Add a new tag" : "Engadir unha nova etiqueta",
"title and color value must be provided" : "debe indicar o título e o valor da cor",
@@ -209,6 +210,7 @@ OC.L10N.register(
"Move card" : "Mover a tarxeta",
"Move card to another board" : "Mover a tarxeta a outro taboleiro",
"Select a list" : "Seleccionar unha lista",
"Card deleted" : "Tarxeta eliminada",
"seconds ago" : "hai uns segundos",
"All boards" : "Todos os taboleiros",
"Archived boards" : "Taboleiros arquivados",

View File

@@ -158,6 +158,7 @@
"Archive all cards in this list" : "Arquivar todas as tarxetas desta lista",
"Add a new card" : "Engadir unha nova tarxeta",
"Card name" : "Nome da tarxeta",
"List deleted" : "Lista eliminada",
"Edit" : "Editar",
"Add a new tag" : "Engadir unha nova etiqueta",
"title and color value must be provided" : "debe indicar o título e o valor da cor",
@@ -207,6 +208,7 @@
"Move card" : "Mover a tarxeta",
"Move card to another board" : "Mover a tarxeta a outro taboleiro",
"Select a list" : "Seleccionar unha lista",
"Card deleted" : "Tarxeta eliminada",
"seconds ago" : "hai uns segundos",
"All boards" : "Todos os taboleiros",
"Archived boards" : "Taboleiros arquivados",

View File

@@ -160,6 +160,7 @@ OC.L10N.register(
"Archive all cards in this list" : "Archivia tutte le schede in questo elenco",
"Add a new card" : "Aggiungi una nuova scheda",
"Card name" : "Nome scheda",
"List deleted" : "Elenco eliminato",
"Edit" : "Modifica",
"Add a new tag" : "Aggiungi una nuova etichetta",
"title and color value must be provided" : "devono essere forniti il titolo e il valore del colore",
@@ -209,6 +210,7 @@ OC.L10N.register(
"Move card" : "Sposta scheda",
"Move card to another board" : "Sposta scheda in un'altra lavagna",
"Select a list" : "Seleziona un elenco",
"Card deleted" : "Scheda eliminata",
"seconds ago" : "secondi fa",
"All boards" : "Tutte le lavagne",
"Archived boards" : "Lavagne archiviate",

View File

@@ -158,6 +158,7 @@
"Archive all cards in this list" : "Archivia tutte le schede in questo elenco",
"Add a new card" : "Aggiungi una nuova scheda",
"Card name" : "Nome scheda",
"List deleted" : "Elenco eliminato",
"Edit" : "Modifica",
"Add a new tag" : "Aggiungi una nuova etichetta",
"title and color value must be provided" : "devono essere forniti il titolo e il valore del colore",
@@ -207,6 +208,7 @@
"Move card" : "Sposta scheda",
"Move card to another board" : "Sposta scheda in un'altra lavagna",
"Select a list" : "Seleziona un elenco",
"Card deleted" : "Scheda eliminata",
"seconds ago" : "secondi fa",
"All boards" : "Tutte le lavagne",
"Archived boards" : "Lavagne archiviate",

View File

@@ -160,6 +160,7 @@ OC.L10N.register(
"Archive all cards in this list" : "Zarchiwizuj wszystkie karty na tej liście",
"Add a new card" : "Dodaj nową kartę",
"Card name" : "Nazwa karty",
"List deleted" : "Lista usunięta",
"Edit" : "Edycja",
"Add a new tag" : "Dodaj nową etykietę",
"title and color value must be provided" : "należy podać tytuł i kolor",
@@ -209,6 +210,7 @@ OC.L10N.register(
"Move card" : "Przenieś kartę",
"Move card to another board" : "Przenieś kartę na inną tablicę",
"Select a list" : "Wybierz listę",
"Card deleted" : "Karta usunięta",
"seconds ago" : "przed chwilą",
"All boards" : "Wszystkie tablice",
"Archived boards" : "Zarchiwizowane tablice",

View File

@@ -158,6 +158,7 @@
"Archive all cards in this list" : "Zarchiwizuj wszystkie karty na tej liście",
"Add a new card" : "Dodaj nową kartę",
"Card name" : "Nazwa karty",
"List deleted" : "Lista usunięta",
"Edit" : "Edycja",
"Add a new tag" : "Dodaj nową etykietę",
"title and color value must be provided" : "należy podać tytuł i kolor",
@@ -207,6 +208,7 @@
"Move card" : "Przenieś kartę",
"Move card to another board" : "Przenieś kartę na inną tablicę",
"Select a list" : "Wybierz listę",
"Card deleted" : "Karta usunięta",
"seconds ago" : "przed chwilą",
"All boards" : "Wszystkie tablice",
"Archived boards" : "Zarchiwizowane tablice",

View File

@@ -160,6 +160,7 @@ OC.L10N.register(
"Archive all cards in this list" : "Arquivar todos os cartões desta lista",
"Add a new card" : "Adicionar um novo cartão",
"Card name" : "Nome do cartão",
"List deleted" : "Lista excluída",
"Edit" : "Editar",
"Add a new tag" : "Adicionar uma nova etiqueta",
"title and color value must be provided" : "o título e o valor da cor devem ser fornecidos",
@@ -191,6 +192,7 @@ OC.L10N.register(
"Select Date" : "Selecionar Data",
"Modified" : "Modificado",
"Created" : "Criado",
"The title cannot be empty." : "O título não pode ficar em branco.",
"No comments yet. Begin the discussion!" : "Nenhum comentário ainda. Inicie a conversa!",
"Save" : "Salvar",
"The comment cannot be empty." : "O comentário não pode zer vazio.",
@@ -208,6 +210,7 @@ OC.L10N.register(
"Move card" : "Mover cartão",
"Move card to another board" : "Mover o cartão para outro painel",
"Select a list" : "Selecione uma lista",
"Card deleted" : "Cartão excluído",
"seconds ago" : "segundos atrás",
"All boards" : "Todos os painéis",
"Archived boards" : "Painéis arquivados",
@@ -216,6 +219,7 @@ OC.L10N.register(
"Show boards in calendar/tasks" : "Mostrar painéis em calendários/tarefas",
"Limit deck usage of groups" : "Limitar o uso de grupos no deck",
"Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them." : "Limitar o Deck impedirá que usuários que não fazem parte desses grupos criem seus próprios painéis. Os usuários ainda poderão trabalhar em pastas que foram compartilhadas com eles.",
"Board name" : "Nome do painel",
"Edit board" : "Editar painel",
"Clone board " : "Clonar painel",
"Unarchive board " : "Desarquivar painel",

View File

@@ -158,6 +158,7 @@
"Archive all cards in this list" : "Arquivar todos os cartões desta lista",
"Add a new card" : "Adicionar um novo cartão",
"Card name" : "Nome do cartão",
"List deleted" : "Lista excluída",
"Edit" : "Editar",
"Add a new tag" : "Adicionar uma nova etiqueta",
"title and color value must be provided" : "o título e o valor da cor devem ser fornecidos",
@@ -189,6 +190,7 @@
"Select Date" : "Selecionar Data",
"Modified" : "Modificado",
"Created" : "Criado",
"The title cannot be empty." : "O título não pode ficar em branco.",
"No comments yet. Begin the discussion!" : "Nenhum comentário ainda. Inicie a conversa!",
"Save" : "Salvar",
"The comment cannot be empty." : "O comentário não pode zer vazio.",
@@ -206,6 +208,7 @@
"Move card" : "Mover cartão",
"Move card to another board" : "Mover o cartão para outro painel",
"Select a list" : "Selecione uma lista",
"Card deleted" : "Cartão excluído",
"seconds ago" : "segundos atrás",
"All boards" : "Todos os painéis",
"Archived boards" : "Painéis arquivados",
@@ -214,6 +217,7 @@
"Show boards in calendar/tasks" : "Mostrar painéis em calendários/tarefas",
"Limit deck usage of groups" : "Limitar o uso de grupos no deck",
"Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them." : "Limitar o Deck impedirá que usuários que não fazem parte desses grupos criem seus próprios painéis. Os usuários ainda poderão trabalhar em pastas que foram compartilhadas com eles.",
"Board name" : "Nome do painel",
"Edit board" : "Editar painel",
"Clone board " : "Clonar painel",
"Unarchive board " : "Desarquivar painel",

View File

@@ -67,13 +67,14 @@ OC.L10N.register(
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Spremembe v programu <strong>Deck</strong>",
"A <strong>comment</strong> was created on a card" : "Nalogi je dodana nova <strong>opomba</strong>",
"Upcoming cards" : "Prihajajoče naloge",
"Personal" : "Osebno",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Nalogo »%s« na »%s« vam dodeli %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} vam dodeli nalogo »%s« na »%s«.",
"The card \"%s\" on \"%s\" has reached its due date." : "Naloga »%s« na »%s« je dosegla datum preteka.",
"%s has mentioned you in a comment on \"%s\"." : "%s vas omeni v opombi na »%s«.",
"{user} has mentioned you in a comment on \"%s\"." : "{user} vas omeni v opombi na »%s«.",
"The board \"%s\" has been shared with you by %s." : "Zborko »%s« vam dodeli %s.",
"The board \"%s\" has been shared with you by %s." : "Zbirko »%s« vam dodeli %s.",
"{user} has shared the board %s with you." : "{user} vam omogoča souporabo zbirke %s.",
"No data was provided to create an attachment." : "Ni podanih podatkov za ustvarjanje priloge.",
"Finished" : "Končano",
@@ -134,6 +135,8 @@ OC.L10N.register(
"Toggle compact mode" : "Preklopi način prikaza",
"Details" : "Podrobnosti",
"Loading board" : "Poteka nalaganje zbirke",
"No lists available" : "Ni razpoložljivih seznamov",
"Create a new list to add cards to this board" : "Ustvari nov seznam in doda kartice v zbirko",
"Board not found" : "Zbirke ni mogoče najti",
"Sharing" : "Souporaba",
"Tags" : "Oznake",
@@ -151,9 +154,13 @@ OC.L10N.register(
"Can manage" : "Lahko upravlja",
"Delete" : "Izbriši",
"Add a new list" : "Dodaj nov seznam",
"Archive all cards" : "Arhiviraj vse kartice",
"Delete list" : "Izbriši seznam",
"Add card" : "Dodaj nalogo",
"Archive all cards in this list" : "Arhiviraj vse kartice tega seznama",
"Add a new card" : "Dodaj novo nalogo",
"Card name" : "Ime kartice",
"List deleted" : "Seznam je izbrisan",
"Edit" : "Uredi",
"Add a new tag" : "Dodaj novo oznako",
"title and color value must be provided" : "navedena morata biti podatka naslova in barve",
@@ -163,6 +170,8 @@ OC.L10N.register(
"Add this attachment" : "Dodaj prilogo",
"Delete Attachment" : "Izbriši prilogo",
"Restore Attachment" : "Obnovi prilogo",
"Open in sidebar view" : "Odpri v bočnem pogledu",
"Open in bigger view" : "Odpri v povečanem pogledu",
"Assign a tag to this card…" : "Dodeli oznako nalogi ...",
"Assign to users" : "Dodeli uporabnikom",
"Assign to users/groups/circles" : "Dodeli uporabnikom/skupinam/krogom",
@@ -183,6 +192,7 @@ OC.L10N.register(
"Select Date" : "Izbor datuma",
"Modified" : "Spremenjeno",
"Created" : "Ustvarjeno",
"The title cannot be empty." : "Polje naslova ne sme biti prazno.",
"No comments yet. Begin the discussion!" : "Ni še odzivov, bodite prvi!",
"Save" : "Shrani",
"The comment cannot be empty." : "Polje opombe ne sme biti prazno.",
@@ -200,12 +210,16 @@ OC.L10N.register(
"Move card" : "Premakni nalogo",
"Move card to another board" : "Premakni nalogo v drugo zbirko",
"Select a list" : "Izbor seznama",
"Card deleted" : "Naloga je izbrisana",
"seconds ago" : "pred nekaj sekundami",
"All boards" : "Vse zbirke",
"Archived boards" : "Arhivirane zbirke",
"Shared with you" : "V souporabi z vami",
"Use modal card view" : "Uporabi modalni pogled nalog",
"Show boards in calendar/tasks" : "Pokaži zbirke v koledarjem in med opravili",
"Limit deck usage of groups" : "Omeji uporabo zbirk na skupine",
"Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them." : "Omejevanje programa prepreči uporabnikom, ki niso del teh skupin, ustvarjanje novih zbirk. Uporabniki bodo še vedno lahko spreminjali zbirke, ki so jih dobili v souporabo.",
"Board name" : "Ime zbirke",
"Edit board" : "Uredi zbirko",
"Clone board " : "Kloniraj zbirko",
"Unarchive board " : "Povrni zbirko iz arhiva",
@@ -216,9 +230,13 @@ OC.L10N.register(
"An error occurred" : "Prišlo je do napake.",
"Are you sure you want to delete the board {title}? This will delete all the data of this board." : "Ali ste prepričani, da želite izbrisati zbirko »{title}«? S tem boste izbrisali tudi vse podatke zbirke.",
"Delete the board?" : "Ali želite izbrisati zbirko?",
"Loading filtered view" : "Poteka nalaganje filtriranega pogleda",
"Today" : "Danes",
"Tomorrow" : "Jutri",
"This week" : "Ta teden",
"No due" : "Ni datuma preteka",
"No upcoming cards" : "Ni prihajajočih nalog",
"upcoming cards" : "prihajajoče naloge",
"Link to a board" : "Povezava do zbirke",
"Link to a card" : "Povezava do naloge",
"Something went wrong" : "Prišlo je do napake ...",

View File

@@ -65,13 +65,14 @@
"Deck" : "Deck",
"Changes in the <strong>Deck app</strong>" : "Spremembe v programu <strong>Deck</strong>",
"A <strong>comment</strong> was created on a card" : "Nalogi je dodana nova <strong>opomba</strong>",
"Upcoming cards" : "Prihajajoče naloge",
"Personal" : "Osebno",
"The card \"%s\" on \"%s\" has been assigned to you by %s." : "Nalogo »%s« na »%s« vam dodeli %s.",
"{user} has assigned the card \"%s\" on \"%s\" to you." : "{user} vam dodeli nalogo »%s« na »%s«.",
"The card \"%s\" on \"%s\" has reached its due date." : "Naloga »%s« na »%s« je dosegla datum preteka.",
"%s has mentioned you in a comment on \"%s\"." : "%s vas omeni v opombi na »%s«.",
"{user} has mentioned you in a comment on \"%s\"." : "{user} vas omeni v opombi na »%s«.",
"The board \"%s\" has been shared with you by %s." : "Zborko »%s« vam dodeli %s.",
"The board \"%s\" has been shared with you by %s." : "Zbirko »%s« vam dodeli %s.",
"{user} has shared the board %s with you." : "{user} vam omogoča souporabo zbirke %s.",
"No data was provided to create an attachment." : "Ni podanih podatkov za ustvarjanje priloge.",
"Finished" : "Končano",
@@ -132,6 +133,8 @@
"Toggle compact mode" : "Preklopi način prikaza",
"Details" : "Podrobnosti",
"Loading board" : "Poteka nalaganje zbirke",
"No lists available" : "Ni razpoložljivih seznamov",
"Create a new list to add cards to this board" : "Ustvari nov seznam in doda kartice v zbirko",
"Board not found" : "Zbirke ni mogoče najti",
"Sharing" : "Souporaba",
"Tags" : "Oznake",
@@ -149,9 +152,13 @@
"Can manage" : "Lahko upravlja",
"Delete" : "Izbriši",
"Add a new list" : "Dodaj nov seznam",
"Archive all cards" : "Arhiviraj vse kartice",
"Delete list" : "Izbriši seznam",
"Add card" : "Dodaj nalogo",
"Archive all cards in this list" : "Arhiviraj vse kartice tega seznama",
"Add a new card" : "Dodaj novo nalogo",
"Card name" : "Ime kartice",
"List deleted" : "Seznam je izbrisan",
"Edit" : "Uredi",
"Add a new tag" : "Dodaj novo oznako",
"title and color value must be provided" : "navedena morata biti podatka naslova in barve",
@@ -161,6 +168,8 @@
"Add this attachment" : "Dodaj prilogo",
"Delete Attachment" : "Izbriši prilogo",
"Restore Attachment" : "Obnovi prilogo",
"Open in sidebar view" : "Odpri v bočnem pogledu",
"Open in bigger view" : "Odpri v povečanem pogledu",
"Assign a tag to this card…" : "Dodeli oznako nalogi ...",
"Assign to users" : "Dodeli uporabnikom",
"Assign to users/groups/circles" : "Dodeli uporabnikom/skupinam/krogom",
@@ -181,6 +190,7 @@
"Select Date" : "Izbor datuma",
"Modified" : "Spremenjeno",
"Created" : "Ustvarjeno",
"The title cannot be empty." : "Polje naslova ne sme biti prazno.",
"No comments yet. Begin the discussion!" : "Ni še odzivov, bodite prvi!",
"Save" : "Shrani",
"The comment cannot be empty." : "Polje opombe ne sme biti prazno.",
@@ -198,12 +208,16 @@
"Move card" : "Premakni nalogo",
"Move card to another board" : "Premakni nalogo v drugo zbirko",
"Select a list" : "Izbor seznama",
"Card deleted" : "Naloga je izbrisana",
"seconds ago" : "pred nekaj sekundami",
"All boards" : "Vse zbirke",
"Archived boards" : "Arhivirane zbirke",
"Shared with you" : "V souporabi z vami",
"Use modal card view" : "Uporabi modalni pogled nalog",
"Show boards in calendar/tasks" : "Pokaži zbirke v koledarjem in med opravili",
"Limit deck usage of groups" : "Omeji uporabo zbirk na skupine",
"Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them." : "Omejevanje programa prepreči uporabnikom, ki niso del teh skupin, ustvarjanje novih zbirk. Uporabniki bodo še vedno lahko spreminjali zbirke, ki so jih dobili v souporabo.",
"Board name" : "Ime zbirke",
"Edit board" : "Uredi zbirko",
"Clone board " : "Kloniraj zbirko",
"Unarchive board " : "Povrni zbirko iz arhiva",
@@ -214,9 +228,13 @@
"An error occurred" : "Prišlo je do napake.",
"Are you sure you want to delete the board {title}? This will delete all the data of this board." : "Ali ste prepričani, da želite izbrisati zbirko »{title}«? S tem boste izbrisali tudi vse podatke zbirke.",
"Delete the board?" : "Ali želite izbrisati zbirko?",
"Loading filtered view" : "Poteka nalaganje filtriranega pogleda",
"Today" : "Danes",
"Tomorrow" : "Jutri",
"This week" : "Ta teden",
"No due" : "Ni datuma preteka",
"No upcoming cards" : "Ni prihajajočih nalog",
"upcoming cards" : "prihajajoče naloge",
"Link to a board" : "Povezava do zbirke",
"Link to a card" : "Povezava do naloge",
"Something went wrong" : "Prišlo je do napake ...",

View File

@@ -23,7 +23,7 @@
namespace OCA\Deck\AppInfo;
$version = \OC_Util::getVersion()[0];
$version = \OCP\Util::getVersion()[0];
if ($version >= 20) {
class Application extends Application20 {
}

View File

@@ -24,7 +24,6 @@
namespace OCA\Deck\AppInfo;
use Exception;
use OC_Util;
use OCA\Deck\Activity\CommentEventHandler;
use OCA\Deck\Capabilities;
use OCA\Deck\Collaboration\Resources\ResourceProvider;
@@ -172,7 +171,7 @@ class ApplicationLegacy extends App {
}
protected function registerCollaborationResources(): void {
$version = OC_Util::getVersion()[0];
$version = \OCP\Util::getVersion()[0];
if ($version < 16) {
return;
}

View File

@@ -532,7 +532,7 @@ class BoardService {
$this->changeHelper->boardChanged($boardId);
// TODO: use the dispatched event for this
$version = \OC_Util::getVersion()[0];
$version = \OCP\Util::getVersion()[0];
if ($version >= 16) {
try {
$resourceProvider = \OC::$server->query(\OCA\Deck\Collaboration\Resources\ResourceProvider::class);
@@ -621,7 +621,7 @@ class BoardService {
$this->activityManager->triggerEvent(ActivityManager::DECK_OBJECT_BOARD, $acl, ActivityManager::SUBJECT_BOARD_UNSHARE);
$this->changeHelper->boardChanged($acl->getBoardId());
$version = \OC_Util::getVersion()[0];
$version = \OCP\Util::getVersion()[0];
if ($version >= 16) {
try {
$resourceProvider = \OC::$server->query(\OCA\Deck\Collaboration\Resources\ResourceProvider::class);

52
package-lock.json generated
View File

@@ -4182,9 +4182,9 @@
}
},
"acorn": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.0.1.tgz",
"integrity": "sha512-dmKn4pqZ29iQl2Pvze1zTrps2luvls2PBY//neO2WJ0s10B3AxJXshN+Ph7B4GrhfGhHXrl4dnUwyNNXQcnWGQ==",
"version": "8.0.3",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.0.3.tgz",
"integrity": "sha512-uRMbCU3bM1L697KISxvkd9TA2zASoGFDODzFFdQR4qNpPffj6ZMdp5J4ffXUXR9G0PVPsN0enEkCrvssCkoPsw==",
"dev": true
},
"acorn-globals": {
@@ -6289,9 +6289,9 @@
"dev": true
},
"codemirror": {
"version": "5.56.0",
"resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.56.0.tgz",
"integrity": "sha512-MfKVmYgifXjQpLSgpETuih7A7WTTIsxvKfSLGseTY5+qt0E1UD1wblZGM6WLenORo8sgmf+3X+WTe2WF7mufyw=="
"version": "5.58.1",
"resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.58.1.tgz",
"integrity": "sha512-UGb/ueu20U4xqWk8hZB3xIfV2/SFqnSLYONiM3wTMDqko0bsYrsAkGGhqUzbRkYm89aBKPyHtuNEbVWF9FTFzw=="
},
"codemirror-spell-checker": {
"version": "1.1.2",
@@ -7354,13 +7354,13 @@
}
},
"easymde": {
"version": "2.11.0",
"resolved": "https://registry.npmjs.org/easymde/-/easymde-2.11.0.tgz",
"integrity": "sha512-d7HtwPXqqARY6KMCMe0EWUfNvoMh/VzHystKZE35mkL7x4z6ZsVBIPyRviGxYyix2qkC3zFGh1A0uo9hLpNuBg==",
"version": "2.12.0",
"resolved": "https://registry.npmjs.org/easymde/-/easymde-2.12.0.tgz",
"integrity": "sha512-R899trkHlkp48GkLbeZ/01exmhSzVgKiHmzbQiAcMAzyqjyd6L110iv+csE+RnRLddJKIilPvJqInJ+E7ILrYg==",
"requires": {
"codemirror": "^5.55.0",
"codemirror": "^5.58.1",
"codemirror-spell-checker": "1.1.2",
"marked": "^1.1.1"
"marked": "^1.2.0"
}
},
"ecc-jsbn": {
@@ -8112,9 +8112,9 @@
}
},
"eslint-plugin-import": {
"version": "2.22.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.0.tgz",
"integrity": "sha512-66Fpf1Ln6aIS5Gr/55ts19eUuoDhAbZgnr6UxK5hbDx6l/QgQgx61AePq+BV4PP2uXQFClgMVzep5zZ94qqsxg==",
"version": "2.22.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz",
"integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==",
"dev": true,
"requires": {
"array-includes": "^3.1.1",
@@ -8122,7 +8122,7 @@
"contains-path": "^0.1.0",
"debug": "^2.6.9",
"doctrine": "1.5.0",
"eslint-import-resolver-node": "^0.3.3",
"eslint-import-resolver-node": "^0.3.4",
"eslint-module-utils": "^2.6.0",
"has": "^1.0.3",
"minimatch": "^3.0.4",
@@ -13194,9 +13194,9 @@
}
},
"marked": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/marked/-/marked-1.1.1.tgz",
"integrity": "sha512-mJzT8D2yPxoPh7h0UXkB+dBj4FykPJ2OIfxAWeIHrvoHDkFxukV/29QxoFQoPM6RLEwhIFdJpmKBlqVM3s2ZIw=="
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/marked/-/marked-1.2.0.tgz",
"integrity": "sha512-tiRxakgbNPBr301ihe/785NntvYyhxlqcL3YaC8CaxJQh7kiaEtrN9B/eK2I2943Yjkh5gw25chYFDQhOMCwMA=="
},
"material-colors": {
"version": "1.2.6",
@@ -19274,12 +19274,12 @@
}
},
"vue-easymde": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/vue-easymde/-/vue-easymde-1.2.2.tgz",
"integrity": "sha512-Dt4kGiQ0VfpCOZ5OgeE9L58Er2/r482VBTfwd6Ky0wqEGXknGmiMXEsZ1MvZf8bZQIPS9nhGlV4B+n1hb8VHPg==",
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/vue-easymde/-/vue-easymde-1.3.0.tgz",
"integrity": "sha512-VkeSkxH3uhGWqxIt73WLbLzCZP/4yHY05cMYVfL7RFUf4bB9WTjrHEWVLRDCvEToVcxNR7uLpNDE4XtljDuCcg==",
"requires": {
"easymde": "^2.10.1",
"marked": "^1.1.1"
"easymde": "^2.12.0",
"marked": "^1.2.0"
}
},
"vue-eslint-parser": {
@@ -19382,9 +19382,9 @@
"integrity": "sha512-bhP7MlgJQ8TIkZJXAfDf78uJO+mEI3CaLABLjv0WNzr4CcGRGPIAItyWYnP6LsPA4Oq0WE+suidNs6dgpO4RHg=="
},
"vue-router": {
"version": "3.4.4",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.4.tgz",
"integrity": "sha512-qFfwwLvxUYq+iDJ0UoE8HMnuZEDtIDA+p573brVMb7NZr0t1vhMeMWDTvgF2b8MqAFOc77bNOTSSwYcR4pCZlg=="
"version": "3.4.5",
"resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.5.tgz",
"integrity": "sha512-ioRY5QyDpXM9TDjOX6hX79gtaMXSVDDzSlbIlyAmbHNteIL81WIVB2e+jbzV23vzxtoV0krdS2XHm+GxFg+Nxg=="
},
"vue-smooth-dnd": {
"version": "0.8.1",

View File

@@ -54,9 +54,9 @@
"vue": "^2.6.12",
"vue-at": "^2.5.0-beta.2",
"vue-click-outside": "^1.1.0",
"vue-easymde": "^1.2.2",
"vue-easymde": "^1.3.0",
"vue-infinite-loading": "^2.4.5",
"vue-router": "^3.4.4",
"vue-router": "^3.4.5",
"vue-smooth-dnd": "^0.8.1",
"vuex": "^3.5.1",
"vuex-router-sync": "^5.0.0"
@@ -76,7 +76,7 @@
"@nextcloud/eslint-plugin": "^1.4.0",
"@nextcloud/webpack-vue-config": "^1.4.1",
"@vue/test-utils": "^1.1.0",
"acorn": "^8.0.1",
"acorn": "^8.0.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
@@ -85,7 +85,7 @@
"eslint-config-standard": "^12.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^3.0.4",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",

View File

@@ -102,7 +102,7 @@ export default {
formatedSharees() {
return this.unallocatedSharees.map(item => {
const sharee = {
user: item.label,
user: item.value.shareWith,
displayName: item.label,
icon: 'icon-user',
multiselectKey: item.shareType + ':' + item.primaryKey,

View File

@@ -117,9 +117,11 @@ import { mapGetters, mapState } from 'vuex'
import { Container, Draggable } from 'vue-smooth-dnd'
import { Actions, ActionButton, Modal } from '@nextcloud/vue'
import { showError } from '@nextcloud/dialogs'
import { showError, showUndo } from '@nextcloud/dialogs'
import CardItem from '../cards/CardItem'
import '@nextcloud/dialogs/styles/toast.scss'
export default {
name: 'Stack',
components: {
@@ -210,6 +212,7 @@ export default {
},
deleteStack(stack) {
this.$store.dispatch('deleteStack', stack)
showUndo(t('deck', 'List deleted'), () => this.$store.dispatch('stackUndoDelete', stack))
},
archiveAllCardsFromStack(stack) {

View File

@@ -179,7 +179,7 @@
<CardSidebarTabAttachments :card="currentCard" />
</AppSidebarTab>
<AppSidebarTab v-if="hasComments"
<AppSidebarTab
id="comments"
:order="2"
:name="t('deck', 'Comments')"
@@ -283,7 +283,6 @@ export default {
descriptionSaveTimeout: null,
descriptionSaving: false,
hasActivity: capabilities && capabilities.activity,
hasComments: !!OC.appswebroots['comments'],
modalShow: false,
lang: {
days: getDayNamesMin(),

View File

@@ -75,6 +75,8 @@ import { mapGetters, mapState } from 'vuex'
import axios from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
import { getCurrentUser } from '@nextcloud/auth'
import { showUndo } from '@nextcloud/dialogs'
import '@nextcloud/dialogs/styles/toast.scss'
export default {
name: 'CardMenu',
@@ -129,6 +131,7 @@ export default {
},
deleteCard() {
this.$store.dispatch('deleteCard', this.card)
showUndo(t('deck', 'Card deleted'), () => this.$store.dispatch('cardUndoDelete', this.card))
},
archiveUnarchiveCard() {
this.$store.dispatch('archiveUnarchiveCard', { ...this.card, archived: !this.card.archived })