Create a possibility to upload tournament replay
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Widelands Website |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Having a tournament is nice, but handling the replays is complicated because the users have to upload it somewhere or send it to GunChleoc or other admins.
Uploading as an attachment to a post in the forum would be a possibility once we allow attachments, but the replays will be spread over several sites in a thread then.
So i think we should have a possibility to upload replays on our site. Not sure how this should be implemented:
1. Should uploading be restricted to specific users? E.g. only the tournament organizer will have the right to upload replays?
2. A replay consist of two files. Should we zip them together or should zipping be done by an uploader?
Any other things to consider, or ideas for implementing?
Related branches
- GunChleoc: Approve
- kaputtnik (community): Needs Resubmitting
-
Diff: 947 lines (+425/-111)16 files modifiedmainpage/settings.py (+46/-5)
mainpage/validators.py (+30/-0)
pip_requirements.txt (+1/-0)
pybb/admin.py (+9/-2)
pybb/forms.py (+20/-13)
pybb/models.py (+14/-11)
pybb/settings.py (+1/-0)
pybb/static/css/forum.css (+4/-1)
pybb/templates/pybb/base.html (+1/-1)
pybb/templates/pybb/delete_post.html (+7/-2)
pybb/templates/pybb/inlines/attachment.html (+11/-0)
pybb/templates/pybb/inlines/post.html (+5/-9)
pybb/templates/pybb/post_form.html (+39/-1)
pybb/util.py (+149/-1)
pybb/views.py (+46/-27)
wlmaps/forms.py (+42/-38)
Changed in widelands-website: | |
status: | New → Fix Released |
1. If we restrict them, how is that different from uploading to a Launchpad bug?
2. It would be neat if done with an uploader.
3. How about a downloader?
Wiki attachments could also be an option, but we'll have to consider abuse if we allow general zip files there.