spring / upq

extracts metadata of game and map files of the spring engine
https://springfiles.springrts.com/
GNU General Public License v3.0
2 stars 5 forks source link

Add description property to each file #76

Open springraaar opened 3 years ago

springraaar commented 3 years ago

there should be a description property on each file, filled in on the upload/edit form.

there the uploader could write a few paragraphs of text, and even add some basic html like bold formatting, images (hosted somewhere else), links, etc.

abma commented 3 years ago

IMHO this should be editable after uploading

abma commented 3 years ago

IMHO markdown syntax would be fine!?

https://github.com/Python-Markdown/markdown

springraaar commented 3 years ago

Yes, the uploader should be allowed to edit existing content.

I'm ambivalent about markdown. People could add some html tags for richer descriptions.

With markdown people might need to be careful with some sequences as, for example, text between "" ... "" becomes italic : imagem

abma commented 3 years ago

accountid is stored at least: https://github.com/spring/upq/commit/f9f819e2af6fce6736045211514758d3aacb6bdb

abma commented 3 years ago

wrt markdown, i don't see issues: its commonly used at github without much problems AND its much simpler than bb code and html and the text-only form is readable as well.

abma commented 3 years ago

allowing html would be very difficult to filter stuff which makes it insecure and its a lot more complex.

springraaar commented 2 years ago

note : on https://github.com/spring/upq/pull/85 , the details page shows the description that's retrieved in the metadata attribute.