Draft: DB hackery = Introduce "dirty", "limbo" states, remove collisions, add extra info field to unknowns, add barcode to extrapage template
Roughly what it says about
-
add a barcode to the extra pages template -
plom-scan spots the barcode and adds extra info to the upload "extra page" -
plom-scan collisions = upload unknowns with extra info to the upload "collision with TPV=blah" -
add new state 'dirty' = group wiped clean (but has been touched at some point) -
decide a better name than 'dirty' -
add new state 'limbo' = group is half-scanned - ie something has been uploaded but it is not ready "todo" -
decide if state limbo should really just be a function - probably - see discussion #1900 -
remove colliding pages (replace by unknowns but with extra info attached) from db and server -
remove colliding pages from manager -
add extra-info field to calls to/from server -
add extra-info field to manage display of unknowns -
tweak db so that extra-page in group is sufficient for it to be ready (ie - similar to hwpages) -
other stuff in this list. -
profit.