The display logic in viewers.py needs to be consolidated to eliminate code duplication. The primary candidates are displayTitleContent/displayTitleContentClone/displayTitleContentNew and displayOtherContent/displayOtherContentClone/displayOtherContentNew.
2023-02-10 note: This SR was used as the development vehicle for upgrading the code that displays Metadata sections. Now that it's done, I am going to close it. See FR 1558 for Contents sections.
Anonymous
Moved HTML print functions from library.py to viewers.py now that they are only called from viewers.py. This will make library.py, which is imported from many other modules, smaller:
Installed in r2014-235 on 2014-10-07. Keeping the SR open.
Last edit: Ahasuerus 2022-07-13
Part 2 - Started adding support for converting viewers.py functions to methods :
Installed in SVN 957 on 2022-07-13. Keeping the SR open.
Part 3 - Fixed a bug introduced in Part 2. Implemented in mod/isfdblib.py, installed in SVN 958 on 2022-07-13.
Part 4 - Converted Add/Edit Template to methods:
Installed in SVN 959 on 2022-07-14.
Part 5 - Convert Add/Edit Verification Source to methods and improve the class layout:
Installed in SVN 962 on 2022-07-23.
Part 6 - Convert Add New Award Type and further improve the new classes:
Installed in SVN 964 on 2022-07-29, but the SR wasn't updated until 2022-08-13 due to human error.
Part 7 - Upgrade Make Variant and once again rewrite the new classes:
Installed in SVN 968 on 2022-08-13.
Part 8 - Fixed 2 Make Variant bugs introduced in Part 7. Implemented in common/viewers.py , installed in SVN 969 on 2022-08-13.
Part 9 - Fixed a bug when creating Make Variant submissions as a non-moderator:
Installed in SVN 971 on 2022-08-16.
Part 10 - Eliminate duplicate references to viewers in submit scripts:
Installed in SVN 972 on 2022-08-23.
Part 11 - Add New Language migration:
Installed in SVN 976 on 2022-08-26.
Part 12 - Migrate Add Variant Title:
Installed in SVN 977 on 2022-08-26.
Part 13 - Delete Award Type:
Installed in SVN 978 on 2022-08-27.
Part 14 - Edit Award Type:
Installed in SVN 979 on 2022-08-28.
Part 15 - Award Category Add/Delete/Edit:
Installed in SVN 983 on 2022-08-29.
Part 16 - Series Deletion migration:
Installed in SVN 1019 on 2022-10-04.
Part 17 - Publication Deletion migration:
Installed in SVN 1020 on 2022-10-05.
Part 18 - Title Deletion migration:
Installed in SVN 1021 on 2022-10-06.
Part 19 - Title Deletion - Review display fix:
Installed in SVN 1022 on 2022-10-07.
Part 20 - Display cover scans for COVERART MakeVariant submissions. Implemented in common/viewers.py, installed in SVN 1026 on 2022-10-10.
Part 21 - Remove Alternate Name migration:
Installed in SVN 1027 on 2022-10-12.
Part 22 - Link Award migration:
Installed in SVN 1028 on 2022-10-13.
Part 23 - Link Review migration:
Installed in SVN 1029 on 2022-10-14.
Part 24 - Edit Publication Series migration:
Installed in SVN 1030 on 2022-10-14.