Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable27] enh/import from deck #5003

Merged
merged 25 commits into from
Aug 12, 2023
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
4e4da92
fix: Properly export cards as a child element of the related stack
juliusknorr Jul 17, 2023
b381588
fix: Avoid failing due to uninitialized acces of systemInstance
juliusknorr Jul 17, 2023
c683044
WIP: enh(import): import deck json exports
max-nextcloud Jul 12, 2023
4c05c40
feat: Implement logic to import multiple boards
juliusknorr Jul 17, 2023
7a4ae5f
feat: Add app version to the deck app export
juliusknorr Jul 17, 2023
fb7f316
test: Add some basic integration test skeleton for import
juliusknorr Jul 18, 2023
6318a31
test: Add example test data for deck import
juliusknorr Jul 18, 2023
ab8d4b8
docs: Add dedicated documentation section for import/export
juliusknorr Jul 19, 2023
e2ac4df
feat: Let occ deck:import default to deck json importer
juliusknorr Jul 19, 2023
e48a1c6
draft: todos
juliusknorr Jul 19, 2023
5f4c4cd
fix: request full details for board export
juliusknorr Jul 20, 2023
73c6487
test: Add reimport test case
juliusknorr Jul 20, 2023
8cabd60
fix: Avoid duplicate data on board export
juliusknorr Jul 27, 2023
cc9750a
fix: Only set last modified if not already set manually
juliusknorr Jul 27, 2023
4b9bae2
fix: Do not fail on missing owner details
juliusknorr Jul 27, 2023
0af05d6
tests: assert json diff between import/export
juliusknorr Jul 27, 2023
8feeb70
fix: Add output for individual failures or skipped parts
juliusknorr Aug 11, 2023
b0af2fe
fix: Map card assignments through mapping config
juliusknorr Aug 11, 2023
a8466d1
chore: Cleanup some outdated fixme comments
juliusknorr Aug 11, 2023
07ba4b2
fix: Only map owner for user mapping
juliusknorr Aug 11, 2023
1881010
tests: ignore version of stored json for import tests
juliusknorr Aug 11, 2023
beafcfa
style: fix php-cs
juliusknorr Aug 11, 2023
3da4e24
fix: use proper owner source
juliusknorr Aug 12, 2023
84c8d70
ci(cypress): Catch resize observer loop limit
juliusknorr Aug 12, 2023
4881de7
ci(cypress): Catch resize observer loop limit (2)
juliusknorr Aug 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Do not fail on missing owner details
Signed-off-by: Julius Härtl <jus@bitgrid.net>
juliusknorr committed Aug 11, 2023
commit 4b9bae2753a7e6b412730af19950480fbcd70499
2 changes: 1 addition & 1 deletion lib/Service/Importer/Systems/DeckJsonService.php
Original file line number Diff line number Diff line change
@@ -134,7 +134,7 @@ public function getBoard(): Board {
}
$importBoard = $this->getImportService()->getData();
$board->setTitle($importBoard->title);
$board->setOwner($importBoard->owner->uid);
$board->setOwner($importBoard->owner?->uid ?? $importBoard->owner);
$board->setColor($importBoard->color);
$board->setArchived($importBoard->archived);
$board->setDeletedAt($importBoard->deletedAt);