Граф коммитов

35 Коммитов

Автор SHA1 Сообщение Дата
Julius Härtl 54176e2723
fix: Avoid duplicate data on board export
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl 39320a9bac
fix: request full details for board export
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl e7d5fbff63
feat: Let occ deck:import default to deck json importer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 18:21:09 +02:00
Julius Härtl 894c415bfd
feat: Add app version to the deck app export
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 14:44:57 +02:00
Julius Härtl 56e16b2d3f
feat: Implement logic to import multiple boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 14:44:57 +02:00
Julius Härtl b57827023b
fix: Properly export cards as a child element of the related stack
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-11 14:44:55 +02:00
Max ff16f95b57
fix: execute return int for export command
Signed-off-by: Max <max@nextcloud.com>
2023-06-14 11:17:50 +02:00
Julius Härtl 0985f24f57
chore: Fix php-cs-fixer errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-05 22:26:08 +02:00
Carl Schwan 44481e1c2a
Switch from OC::$server->get to OCP\Server::get
And add a bit more typing to some classes + psalm issues

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 10:55:36 +02:00
Raul 7b7af75802 Update Card serialization (`jsonSerialize` usages) to use CardDetails model
Signed-off-by: Raul <raul@nextcloud.com>
2022-05-06 11:29:13 +02:00
Julius Härtl 23f0b16a5a
Handle board exceptions more gracefully
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:30 +01:00
Julius Härtl 4f13977851
Reuse single board transfer for all user boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:29 +01:00
Julius Härtl a45e46f80a
Allow transfer of single boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:29 +01:00
Luka Trovic afbbdf0c1b
fix: unit test & psalm static code analysis issues
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-03-22 08:23:28 +01:00
Julius Härtl 3e7d0d3d72
Use proper description of what gets transferred
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-22 08:23:27 +01:00
Sergey Shliakhov b45c454ce2
Fix code style
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
2022-03-22 08:23:26 +01:00
Sergey Shliakhov 19a2aeb5e5
Update docs
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>

fix: conflicts
2022-03-22 08:23:26 +01:00
Sergey Shliakhov 5d0b8d878b
Add deck:transfer-ownership command
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
2022-03-22 08:23:26 +01:00
Vitor Mattos f2b6934ac3
Move all classes to a sub-namespace
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:50 +01:00
Vitor Mattos 202ea30090
Start implementing Trello API service
Implement name of system to import
Implement need validate data
Fix allowed system list
Start implementing Trello API service

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:49 +01:00
Vitor Mattos 6714c89220
Remove interact from command and implement bootstrap method
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:49 +01:00
Vitor Mattos e01e4cf1a7
Create route to get json schema to validate config
Fix visibility
Make compatible with php 7.2
Remove returing instance
Increase coverage
Reduce psalm info
Throw exception if system not defined
Increment coverage

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:49 +01:00
Vitor Mattos 4138953208
Changes to make possible implement api endpoint
Update documentation
Start implementing getSystems route
Code to route getSystems
Controller to board import
Change return
Increase coverage

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:49 +01:00
Vitor Mattos c5d10dafb8
Import participants
Big refactor to create route
Import participants

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:48 +01:00
Vitor Mattos fd92fc3c4d
Refactor and improvements on command
Check available helpers
Default permission: view only
Moved validate setting from helper to command
Turn more easy create a importer
Docblock and improvements on interface
lcfirst on system property
Helper moved to ImporHelper folder
Moved fixtures to ImportHelper
Rename settings to config
Big refactor to move import methods to service

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:48 +01:00
Vitor Mattos eb8bf3f22b
Translations and tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:48 +01:00
Vitor Mattos e28a47e9e0
Update UserExport.php
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:48 +01:00
Vitor Mattos 48df98ce67
Add new command
Clean code
Add new command
Import last modified and deleted date
Replace arrow functions by lambda functions
Add properties to class
Add dependency to composer.json
Signed-off-by: Vitor Mattos <vitor@php.rio>
Turn private methods
Add output messages and associate users to cards

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:46 +01:00
Vitor Mattos 89028c74cb
Command to import from Trello
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:34 +01:00
Julius Härtl 9b366857ab
Rename find to findAll
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-10 15:25:25 +01:00
Julius Härtl 67fe250248
Refactor class names to Assignment
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-10 15:25:24 +01:00
Julius Härtl 52febb396c
Fix php cs issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-22 19:57:19 +02:00
Julius Härtl c3c48b84ed
Make user id from occ command available in the service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-19 21:54:53 +01:00
Julius Härtl 8d60a4379d
Add rough test and fix card array
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-02 11:51:53 +02:00
Julius Härtl 4e96dec474
Implement user data export via occ command
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-02 11:06:13 +02:00