Commit Graph

570 Commits

Author SHA1 Message Date
Jason McBrayer d199327d35 Refactor more things, make settings and notes respect theme. 2018-04-25 23:07:58 -04:00
Jason McBrayer 12d61820bf Add view for notifications. 2018-04-25 22:50:13 -04:00
Jason McBrayer 51cb1c42fe Refactor some more common stuff for views 2018-04-25 20:51:12 -04:00
Jason McBrayer e6f2734208 Add the remaining "easy" timeline views 2018-04-25 20:06:10 -04:00
Jason McBrayer 498f89b165 Add working logout link, slightly change login logic
On logging in, don't get a new access token if there's one in the database
for this user. Log out link wipes the user's session, but not their database
entry. Those can be cleaned up periodically (after I add a last-used stamp).

Misfeature: user's setting is deleted, too, because it was only in the session.
2018-04-25 17:02:59 -04:00
Jason McBrayer 0594fda487 Add a settings page, controlling whether FULLBRUTALISM is used 2018-04-25 16:45:46 -04:00
Jason McBrayer ba3cc9bbd9 Add FULLBRUTALISM mode (stylesheet resembling NCSA Mosaic).
Also, add new logo.
2018-04-25 09:31:55 -04:00
Jason McBrayer 43e4726c2f Add navbar to top of main template
Also, add stub functions to views to make all the links and reverse routes
work.
2018-04-24 19:20:22 -04:00
Jason McBrayer 267e94077f Add multiuser support
Currently, this uses anonymous sessions. You log in to your instance, and you
get associated with a session. Your client information and account information
are persisted (created only if needed, reattached if not). Passwords are never
stored, only access tokens.
2018-04-24 14:53:05 -04:00
Jason McBrayer 5c48180a7c Add client field to Account 2018-04-24 12:55:44 -04:00
Jason McBrayer 358602edde Added (non-functional) thread link and pagination 2018-04-24 12:40:33 -04:00
Jason McBrayer 791c1aa88c Fix title attribute of image previews -- actually show description 2018-04-24 09:58:42 -04:00
Jason McBrayer 9b0b5e930a Show full @reference for remote users 2018-04-24 09:24:06 -04:00
Jason McBrayer 2310146b5b Little formatting tweak on toots with attachments 2018-04-24 09:16:57 -04:00
Jason McBrayer 651367c0d7 Display boosts correctly 2018-04-24 09:12:13 -04:00
Jason McBrayer b3e0eefba4 Add CWs to toots in timeline 2018-04-24 08:22:03 -04:00
Jason McBrayer f78d24ad07 Add title to timeline; dividers for text/non-css browsers 2018-04-24 08:09:16 -04:00
Jason McBrayer 2608b9ddea Rudimentary media display support 2018-04-23 22:01:37 -04:00
Jason McBrayer 73e105517c Log in to an instance and display a home timeline.
Only supports single user, lots of display elements not supported yet.
But it actually has something to show.

Actually display a home timeline.

Still only single user, doesn't correctly handle boosts, CWs, and
probably a lot of other things.
2018-04-23 20:01:40 -04:00
Jason McBrayer e48ac63cfe Initial project setup 2018-01-05 21:06:07 -05:00