GRS media db editor
Posted by gregster on 12 Feb 2009 in Academic
Most of the way through an editor for the DB.
Bugs/tasks:
- When in edit mode, new searches do not respect the setting. All new hits display in browse mode.
- When the editor has no image to display it shows a default image. Sometimes, however, the db thinks there *is* an image (sql `has_img`='Yes'). It should check if `has_img`='Yes' AND if there is an image where it's supposed to be. If there is a mismatch there, catch it and warn the editor that they have either a missing image (in which case, change the has_img value) or the image is misnamed (in which case inform me so I can change it).
- Add fields for has_img and definer to editor.
- Set up a script that uses shell_exec to rsync (only update) the images folder in the live DB with a folder that the department sets up for the RA to use. This way, RAs doing the scanning can upload images somewhere (like unix.uvic.ca) and we don't have to give them access to our FS.