Open shariboodts opened 7 months ago
This issue divides into two parts: (1) Manuscripts, (2) Authority Files
Having worked with previous Manuscript data import, these are the lessons learned from it, some of which translate immediately into a test:
["AU Fau 12, 30+AU Ps 113, 1, 3-5+AU Jo 11, 4.16-41+AU Jo 26, 11.2-20, 11.41-12+AU Jo 45, 9.25-39"]
might be the wrong way to add data that should actually be: ["AU Fau 12, 30", "AU Ps 113, 1, 3-5", "AU Jo 11, 4.16-41", "AU Jo 26, 11.2-20, 11.41-12", "AU Jo 45, 9.25-39"]
An editor (with upload-rights?) should be able to 'submit' a manuscript (defined in an Excel) for import in this way:
submit to moderator
serves to submit the import request to someone in Passim with moderator rights.
submit to moderator
button:
ImportSet
MyPassimEdit
> get_related_objects()
Manuscript
Sermons
ImportReview
ImportSet
ImportSetDownload
- doneImportSet
object from ImportReview
details view - doneImportReview
on the MyPassim
site of anyone who is moderator
order
in ImportReview
after all, to show it correctly in MyPassim
ImportReview
is created (i.e. submitter presses submit), moderator may not be filled in yetOkay, should be working now. TODO: final double check...
do_import()
ImportSetProject
to provide the link between import and projectprojlist
+ only allow projects for which user has edit rights - worksafter_save()
to process the m2m - worksdo_import()
custom_add()
of SermonDescr
and of Manuscript
, so that projects
can be transferred via kwargs
and applied accordinglyno time
ImportSetManuTempDownload
for this fileTODO: copy description to import manual (task for myself after launch)
As we noticed with Elisa's request, data import can still be more complicated than anticipated. It would be good to have a clear pipeline for this, including:
This would allow users to import their own datasets, but with a simple security measure: it can only be done when you have editor status and a project label to which your editor status is connected, so you have to be in touch with PASSIM admin to make this possible. It would mean, however, that for smaller bulk imports, no help from ICT developers is necessary.