[x] extract all previous versions of a file from git (with date stamp as name) [manual|script]
[x] display last update date at question level
[x] provide diffing for any changes over last [3|4|5]? days
[x] refactor how we archive questions (ongoing)
add changes to revisions history as soon as they appear if there's a delta
Possible archive format:
[
{
"id": 4534,
"revs": [
{
"date": "2020-07-13",
"question": "What are the symptoms of CoronaVirus",
"answer": "People with COVID-19 have had a wide range of symptoms reported"
},
{
"date": "2020-07-14",
"question": "What are the symptoms of COVID-19?",
"answer": "People with COVID-19 have had a wide range of symptoms reported"
}
]
}
]
Possible archive format: