Cleaned UTF-8 encoding errors.
Submitting an agree/disagree votes no longer causes the entire single narrative view to be refreshed. Only the vote count is updated.
Add published column in admin view
Add notification for admin that the narrative is deleted
Agree/disagree buttons are disabled upon vote submission. Rails' button_to approach proved too restrictive, so switched to using jQuery to send the Ajax requests.
Added ability to undo an agree or a disagree vote. Clicking on 'agree' or 'disagree' an even number of times will cancel out the vote. Odd number of times will count for a single vote.
Merge branch 'backend-dev' into backend-dev-bookmarks
modify bookmark link
Merge branch 'backend-dev' into backend-dev-bookmarks
add redirection for deleted narrative share link
Agree/disagree works like a toggle as per team's design decision.
Merge branch 'backend-dev' of https://github.com/felixsoum/youdeliberate into backend-dev
Total narrative audio length now computed during narrative upload process. Info gets saved in total_audio_length in narratives' table.
Database now has correct audio lengths for all narratives. Removed entries referring to narratives that do not exist in /public/
This data will be usable in the single narrative view.
It wasn't realistic to do it via jPlayer: https://github.com/happyworm/jPlayer/issues/58
Make the column of the narrative list sortable.
Fix narrative list table header
User cannot flag more than once for a nattative.
Delete ming from gemfile.lock
Change amdin username to soen390youdeliberate@gmail.com
Narrative's total length now displayed in the single narrative view.
Merge branch 'backend-dev' of https://github.com/felixsoum/youdeliberate into backend-dev