Commit Graph

7 Commits

Author SHA1 Message Date
St John Karp d0e5b5fe67 Use dynamically generated links
Removed hard-coded and relative links and replaced them with
dynamically generated ones. Should allow Planiverse to be served
from a subfolder.
2018-09-09 20:55:08 -07:00
St John Karp 0247f8b57e Favour redirects over re-using the same paths
I was re-using the same paths for a bunch of stuff in order to
minimise redirects (POSTing new statuses to the timeline, or performing
actions on a status), but then this breaks the behaviour of the
browser's refresh button. I've moved all those actions to their
own paths, which helps break up the code, makes the URLs more
semantic, and lets you use the refresh button without accidentally
performing an action.

This is at the expense of an additional HTTP request, but I've
tried to minimise the cost by passing through the status from the
previous action so we don't have to requery for it on the server
side.
2018-08-26 14:34:01 -07:00
St John Karp efcdf76c3e Prefix mentions with an @
Prefix mentions with an @ so they get parsed properly instead
of showing up as plain text.
2018-08-25 10:22:46 -07:00
St John Karp 48a758d45e Don't strip out content warnings in replies
By default include the original spoiler text in replies
so as not to accidentally strip out content warnings.
2018-08-25 10:01:44 -07:00
St John Karp 7d68f883ea Prepopulate mentions in replies
When posting a reply, pre-populate the account to which you're
replying, plus any mentions.
2018-08-25 09:53:40 -07:00
St John Karp d2c1874f0b Implement reblogging
Implemented ability to reblog a status.
2018-08-19 10:50:28 -07:00
St John Karp 7cd1d14d8a Implement reply functionality
Created a new status view that shows a single status and permits
replies if you're logged in.
2018-08-14 08:14:39 -07:00