Commit Graph

17 Commits

Author SHA1 Message Date
St John Karp d95406c407 Hide statuses if they have spoiler text
Hide statuses behind an HTML details element if they have
spoiler text.
2018-08-19 10:30:15 -07:00
St John Karp dbbe307a03 Add navigation to the top of the page, rework some CSS
Added navigation links to the top of the timeline pages.
Updated the HTML/CSS to be a bit more semantic (using article tags),
and replaced the broken tooltips with HTML title attributes.
2018-08-19 10:02:02 -07:00
St John Karp 636f682b0e Remove old-timey ligatures
Ditch the old-timey ligatures, which got carried across from the
stylesheet I copied as a baseline.
2018-08-19 09:51:58 -07:00
St John Karp e628d8b8b9 Break pagination elements into their own component
Split off the pagination into its own component and added some
styling.
2018-08-19 09:39:31 -07:00
St John Karp eb513faf9b Tidy up some of the status routing
Status routes were a bit of a mess and involved redirects,
which is only going to slow things down. I've amalgamated them
into one route and used query parameters to determine any actions
being performed.
2018-08-19 09:24:28 -07:00
St John Karp d8f88af21b Move user authorization checks into a route middleware class
Moved the check for the user's session out of individual views
and into a route middleware class.
2018-08-18 15:57:39 -07:00
St John Karp 1ca86208d5 Add ability to favourite a status
Implemented the ability to favourite and unfavourite a status.
2018-08-18 15:52:42 -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
St John Karp be9e3c3603 Implement posting a status
Split the timeline views into home and public, and added a form
at the top of the home timeline for posting a new status.
2018-08-13 21:31:20 -07:00
St John Karp 50bf84c4e4 Show status timestamps
Show how long ago the status was posted. Includes support for
Swatch Internet time if SHOW_BEATS=true.
2018-08-12 17:05:48 -07:00
St John Karp 3902114ac0 Introduce pagination and action icons
Added action icons (reply, favourite, etc.) to the bottom of
every status. Implemented pagination on the timeline views.
2018-08-12 16:28:45 -07:00
St John Karp 0143d70112 Display reblogs
Made statuses a recursive component so we can display reblogs
correctly.
2018-08-12 09:58:34 -07:00
St John Karp b5f39c096a Bump users to the login page
Redirect users to the login page if they try to access a page
that requires their account.
2018-08-12 07:40:07 -07:00
St John Karp 87e1fbd3aa Replace regex with media attachments
Replaced the regex that embedded images and switched to using
proper media attachments. Currently only supporting images.
2018-08-12 07:39:01 -07:00
St John Karp 144848225f Support login workflow
Added basic support for logging in and viewing your home timeline.
Created a sqlite DB for managing app credentials.
2018-08-12 07:26:26 -07:00
St John Karp d7a3e81cff Implement public timeline view
Created a view to show the public timeline. Added logic to embed
images instead of having to follow a link.
2018-08-11 10:38:31 -07:00
St John Karp 6021bb0391 Base commit
Initial commit of base Laravel 5.5 without modifications.
2018-08-11 10:32:56 -07:00