The Import page reads nine more kinds of export, each into the view it
is for: mail (mbox, .eml) as cards of Board View / Email, one per
conversation with the replies as comments; an .ics file's tasks by
status and its events, with their dates; a Google Takeout .zip as one
board with a swimlane per product (Mail, Tasks, Keep, Calendar, Google
Chat); a Slack workspace export, a Mattermost bulk export, Telegram
Desktop's JSON, a WhatsApp chat .txt and a DiscordChatExporter JSON as
channels whose messages are comments, for Board View / Chat; and an
Evernote .enex as notes with their to-dos as checklists. The Export menu
writes a board as an .mbox, an .enex and a Mattermost bulk import file,
each read back by the same import.
MIME is decoded with mailparser and ENEX with htmlparser2 on the server,
and the zips are read under the zip-bomb guards of the other zip imports.
An imported message's Message-IDs pass the import sanitizer without
their brackets, so a later reply to the board joins the thread. The
instructions of the nine are translated into every language. TODO.md
also gets the next items: grouped menus, large-file import and export,
and the reports to add.
Thanks to xet7 !
Kanri's Import & Export page writes, and its Import from Kanri reads, one
board (Partial Export: id, title, columns of cards, background, globalTags)
or all data (Full Export: the app settings and every board). Columns
become lists, cards become cards with their description, due date and
due-date-done flag and the card id as source reference, a card's tasks a
Tasks checklist, tags labels with their colors, and Kanri's card colors
WeKan's (teal and custom colors as hex). One import makes one board, so
from all data the first board is imported and the others are reported, as
are the background image, the countdown due date display, tags no card
uses and colors that are not colors. Imported labels now keep a source's
label color, and the collected export carries the card color and due-date
done. Export writes a single-board file Kanri's Partial import accepts.
tests/kanriFormat.test.cjs covers the mapping, all-data files, the round
trip and the negatives; Playwright cases import a board and an all-data
file through the page, and the export audit fetches the new format. New
instruction text is in English, pending Transifex.
Thanks to xet7 !
Both were reported as losses because an import never grants access. A
watcher needs none: a source watcher now becomes a card watcher when the
members mapping maps them to a member of the new board. Anyone else -
unmapped, or mapped to a user who is not a board member and would
otherwise receive a private board's notifications - is counted in the
import's loss report instead. Nextcloud Deck sharing rules stay a
reported loss by design.
The planner tests pin board-member-only watching and the count of the
rest; the Asana and OpenProject tests pin the mapping from their
fixtures. A source guard for GitLab's Requested By follows the
gitlabUser helper introduced for the GitLab adapter.
Thanks to xet7 !
JiraCreator dropped comments, sub-tasks, the parent hierarchy, priority,
components, fix versions and ordinary custom fields, and sorted every card
at -1. It now imports comments with ADF bodies as text, shown by the
author's display name and posted by the mapped user when the account id
was mapped; links sub-tasks and child issues imported together to their
parent and lists the others as a Sub-tasks checklist; makes priority,
components and fix versions board labels; imports customfield_ values
named from the search response's names map, except the field already
mapped as the estimate; and keeps the search order.
The checklist and comment inserts are shared with the other external
importers. jiraPageWarnings recognizes an incomplete enhanced or classic
search page for the import report.
Thanks to xet7 !
The OpenProject parser kept subject, description, due date, status,
assignee and type. It now also keeps start and creation dates, spent time
from ISO 8601 durations, priority, category, version, responsible and
author, embedded comments, the parent hierarchy and embedded relations.
Custom fields take their names from embedded schemas; estimated time and
progress become number custom fields instead of being lost. Watchers and
attachment metadata are listed in the unsupported report.
External imports can now carry custom-field values, parent links and
dependencies. The creator makes one board custom field per source field,
typed number, checkbox or text from the values present, and links cards
once every card exists. Links resolve only within the same import;
unknown targets, duplicate ids and parent cycles are reported, never
guessed.
Thanks to xet7 !
The Deck parser kept title, description, due date, one assignee and label
names. It now keeps every assignee as a card member when mapped, comments
embedded from the OCS comments API, archive state, done and creation
times, and stack and card order. Trashed stacks and cards are skipped and
counted in warnings. Sharing rules never become board members, because a
file naming a user must not grant access; they and Nextcloud attachments
are listed in the unsupported report.
External imports now keep the source order of cards instead of giving
them all sort 0, and create checklists and comments through the writer
that keeps their dates.
Thanks to xet7 !
Every external import goes through KanboardCreator, which wrote a card and
nothing else, so a parser had nowhere to put a subtask, a comment, a start
or end date, a closed state or a card color. The normalized task now
carries them, models/lib/importedTaskPlan.js decides what each becomes, and
the creator inserts checklists, comments with their addComment activities,
and the card fields the plan returns.
Dates that do not parse, and Kanboard's "0" for no date, are no longer
stored as Invalid Date or 1970. A comment by an unmapped author is posted
by the importing user with the author's name leading the text.
Thanks to xet7 !