Files
wekan/server/methods
Lauri Ojansivu c5b3b597e8 Disable all import: the Trello API, iCalendar and Scrum transfer imports are refused on the server too.
"Disable all import" says the server rejects any import request, and most
import paths asked assertImportEnabled(), but trelloStartImport and
trelloResumeImport, importIcsToBoard and its REST route, and
scrum.importIntoBoard did not. They ask now, after their argument checks.

tests/importDisabledEverywhere.test.cjs holds it tree-wide: every server
method or REST route whose name says it imports asks assertImportEnabled(),
directly, through a file-local helper or by handing the request to
importBoard, or is listed with the reason it is no import of board data.

Thanks to xet7 !
2026-11-22 18:49:01 +02:00
..