CTPUG/wafer

Allow for file attachments on talks

Opened this issue · 4 comments

gwolf commented

We have got several mails at DebConf content team from people sending us their talk slides. We are basically just copy+pasting the URLs into the abstract. It would be great if Wafer allowed to attach files to talks - Even more so: Would make a lot of sense to allow for this even in approved talks (because authors very seldom have their talk material ready weeks before they present it!)

One can already attach URLs to talks (http://wafer.readthedocs.io/en/latest/talks.html#talk-urls) although it's only possible via the API and the admin interface currently. Questions:

  • Is adding a link rather than uploading a file sufficient? E.g. Upload file to the Internet Archive and then link to that, or similar?

  • Is requiring an admin to add a link sufficient? Or do we need something more?

gwolf commented

We have support for uploading content already for pages, but that does require admin access

We need to provide some wrapper around uploading with suitable permissions checks and automatically generate an url pointing to the internal location. We may need some additional namespacing to avoid name collisions (everyone uses slides.pdf) an maybe some admin options for setting size limits?

We need to provide some wrapper around uploading with suitable permissions checks and automatically generate an url pointing to the internal location. We may need some additional namespacing to avoid name collisions (everyone uses slides.pdf) an maybe some admin options for setting size limits?

Django's media handling should give us that out of the box. It'll rename files to avoid conflicts. But yes, namespacing them is probably going to be even prettier.