IACR / latex-submit

Web server to receive uploaded LaTeX and execute it in a docker container.
GNU Affero General Public License v3.0
11 stars 0 forks source link

Show title of paper in admin view #52

Closed kmccurley closed 10 months ago

kmccurley commented 11 months ago

In the admin view whenever we show the state of a paper, we only show the paperid and link back to hotcrp, but this doesn't allow the editor enough information to remember what the paper is. This was requested by Andreas.

The reason for this is that all such views are based on the PaperStatus table which does not contain any title information. The title is really only associated with the CompileRecord rather than the PaperStatus since the title can change between the time the candidate version is submitted and the final version is submitted. A paper may have multiple CompileRecord values, but they move through a progression from candidate to copyedit to final (the final version might be replaced by another candidate version).

I propose that when a compilation is finished for the paper, the title should be back-propagated from the CompileRecord to the PaperStatus table so that we can show a more informative summary view of papers. This would presumably happen in run_latex_task in tasks.py. There is some danger that if the title is in dispute during copy editing then the PaperStatus record may show the wrong title.

kmccurley commented 11 months ago

I've added something like this now, but the code seems fragile because it depends on a REST API call from publish.iacr.org to submit.iacr.org.