Add legacy mapping for old material/resource ids
commit2adbd7be54579dde870d489cd90a2d13e57838f6
authorAdrian Moennich <adrian.moennich@cern.ch>
Fri, 3 Jul 2015 13:40:55 +0000 (3 15:40 +0200)
committerAdrian Moennich <adrian.moennich@cern.ch>
Wed, 8 Jul 2015 14:12:48 +0000 (8 16:12 +0200)
tree0f8ff4d83a1375557cf7fa77c59f3653335002e5
parenta35545086788fa29bf14dda00262adf7d951644a
Add legacy mapping for old material/resource ids

Also add legacy redirects for the old material download paths
indico/modules/attachments/blueprint.py
indico/modules/attachments/controllers/compat.py [new file with mode: 0644]
indico/modules/attachments/models/legacy_mapping.py [new file with mode: 0644]
indico/web/flask/blueprints/files.py
indico_zodbimport/modules/attachments.py
migrations/versions/201507031455_3778dc365e54_add_legacy_attachment_mapping_tables.py [new file with mode: 0644]