Commit Graph

58 Commits

Author SHA1 Message Date
Jason McBrayer bdb6dc16fd Add paging for user pages 2018-06-24 17:07:43 -04:00
Jason McBrayer 025a6f736d Fix presence of newer link when no new notifications 2018-06-24 15:09:09 -04:00
Jason McBrayer f64f4f92cf Pass correct variables to notifications template 2018-06-24 14:33:44 -04:00
Jason McBrayer 52e83814b6 Add paging to notifications. Untested 2018-06-24 14:19:35 -04:00
Jason McBrayer 320164a5d3 Don't add blank line to replies with no mentions (self-replies) 2018-06-22 08:40:46 -04:00
Jason McBrayer 2ce118080d Work harder to not mention yourself. 2018-06-13 13:42:40 -04:00
Jason McBrayer 4d31412e75 Add blocking and muting 2018-06-11 19:38:49 -04:00
Jason McBrayer d0bed792b2 Add mention to user actions 2018-06-11 19:19:22 -04:00
Jason McBrayer 9122a44216 Implement follow/unfollow 2018-06-11 19:09:12 -04:00
Jason McBrayer 51f26e2b25 Template changes for user actions 2018-06-11 18:16:32 -04:00
Jason McBrayer b719cce139 URL routes and stub view functions 2018-06-11 14:34:38 -04:00
Jason McBrayer cce0fe0186 Complete searching feature for brutaldon 2018-06-09 13:49:04 -04:00
Jason McBrayer 5e2b025042 A bit more on search templates 2018-06-08 19:03:02 -04:00
Jason McBrayer f2c8036bc0 Fix tag timeline titles 2018-06-08 19:02:46 -04:00
Jason McBrayer dc5d5f4176 Remove a bit of debug logging 2018-06-06 15:25:10 -04:00
Jason McBrayer d2de96fceb Views and routes for search 2018-06-05 18:36:44 -04:00
Jason McBrayer e05601db22 Add extra debug logging to production 2018-06-05 08:24:07 -04:00
Jason McBrayer e63d6b86f5 Add connection pooling for Mastodon objects
brutaldon has really bad latency. Some part of it is reconnecting to the
mastodon server every request, even with a cached auth token. This commit
adds a singleton object that caches mastodon.Mastodon objects.
2018-06-05 08:08:12 -04:00
Jason McBrayer aa763cc1d0 Don't include self-mention when replying on a thread you're in. 2018-06-04 09:09:34 -04:00
Jason McBrayer e1c77dd483 Direct people to the about page if not logged in. 2018-06-01 09:22:17 -04:00
Jason McBrayer 3d95a65f53 Fill in about and privacy pages 2018-05-27 13:43:20 -04:00
Jason McBrayer 507c52bb96 Add about and privacy pages 2018-05-26 13:28:13 -04:00
Jason McBrayer 2895bae6bc Allow deleting your own toots 2018-05-22 09:41:11 -04:00
Jason McBrayer ac02b941c0 Fix bug with posting media on replies 2018-05-22 09:05:16 -04:00
Jason McBrayer 02f0ee560a Mini-post form and default post privacy 2018-05-22 08:57:45 -04:00
Jason McBrayer 7af72887e9 Change rate limit method from pace to throw
This will help with debugging.
2018-05-22 08:12:39 -04:00
Jason McBrayer 50a44d1a43 Don't show actions bar when you're only showing a toot for confirmation 2018-05-22 08:12:21 -04:00
Jason McBrayer bfa9e8e86b Add user's acct to session on login 2018-05-20 20:28:53 -04:00
Jason McBrayer dd88bcea29 Home, local, and public timelines have simple pagination.
Notification and tag timelines should also have pagination, but they have
to be done separately.
2018-05-18 09:22:27 -04:00
Jason McBrayer f40cc58852 Switch authentication over to OAuth.
Going to add fallback for running locally.
2018-05-14 15:35:10 -04:00
Jason McBrayer 2d9e06ac8f Fix crash on validation error in replies 2018-05-13 13:16:44 -04:00
Jason McBrayer 0191bc2f98 Support user timelines.
Other user stuff (profile info, follows/followers) and operations on users
(follow, block, report) are not added, but relatively easy.
2018-05-08 21:47:17 -04:00
Jason McBrayer 7b4c449179 Tag timelines implemented, but not reachable from anywhere
Except knowing the URL, of course.
2018-05-06 19:46:51 -04:00
Jason McBrayer d39593868d Respect FULLBRUTALISM flag when boosting or faving 2018-05-04 10:58:37 -04:00
Jason McBrayer 1004b88779 Make media posting work, with limitations.
Doesn't work with replies (for reasons I don't 100% understand yet).

Only one media field set in the form, though the rest could be added.
2018-05-01 14:44:56 -04:00
Jason McBrayer f3d34733fe Forgot one @never_cache 2018-05-01 10:32:21 -04:00
Jason McBrayer ae7362903a Make replies inherit visibility and spoiler text from parent 2018-05-01 09:34:14 -04:00
Jason McBrayer 511f5db546 Disable cacheing for most views 2018-05-01 09:28:57 -04:00
Jason McBrayer 99a021b5af Fix error when *not* canceling a boost or fav 2018-05-01 08:39:48 -04:00
Jason McBrayer 8d6ebfc0b2 Quick fix for a security issue with login form 2018-04-30 20:32:50 -04:00
Jason McBrayer 421d27ef07 Correctly cancel out of (un)boosting or faving toots 2018-04-30 18:53:11 -04:00
Jason McBrayer 804a4dfd67 Add boosting, with same caveats as faving 2018-04-30 18:49:06 -04:00
Jason McBrayer 1b561fa90e Enable favoriting toots.
The user flow for this is kind of crap right now; it will get better once some
intercooler is applied on top, but will stay the same in lynx and FULLBRUTALISM
2018-04-30 18:40:41 -04:00
Jason McBrayer d6fe609b29 Add replies 2018-04-30 14:31:59 -04:00
Jason McBrayer 2f448242f8 Add posting support 2018-04-30 08:58:10 -04:00
Jason McBrayer 3ce20bd91c Form and view for plain tooting.
Does not include media yet, although the form does.
2018-04-27 14:12:29 -04:00
Jason McBrayer 2e7fc810ac Add support for basic threading.
It works the same as the Mastodon web UI for now - active toot is highlighted,
ancestors displayed in order above, descendants in order below. I hope to
add actual full threading one day.
2018-04-26 18:49:43 -04:00
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