Commit Graph

271 Commits

Author SHA1 Message Date
Jason McBrayer c4c95e5cb3 Use latest versions of dependencies in Pipfile 2018-05-19 10:56:12 -04:00
Jason McBrayer dc82c5e9fd Remove stray bracket from home timeline 2018-05-18 09:28:00 -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 ad334315dc Support multi-image posting.
The javascript could be refactored a little cleaner, I think.
2018-05-18 08:00:12 -04:00
Jason McBrayer 3434914241 Switch from using straight pip and virtualenv to pipenv
Need to write an INSTALL.md for this.
2018-05-18 07:36:30 -04:00
Jason McBrayer 22dde23e81 Fix link backgrounds in FULLBRUTALISM mode 2018-05-15 10:08:27 -04:00
Jason McBrayer 741304ee8c Be sure not to include inline scripts in FULLBRUTALISM mode 2018-05-15 10:06:09 -04:00
Jason McBrayer b465dc9870 Very basic support for sensitive images 2018-05-15 10:04:09 -04:00
Jason McBrayer 17769e952c Allow old login method with suitable warning. 2018-05-15 09:52:07 -04:00
Jason McBrayer f4ef673ab7 Missing file from last commit 2018-05-14 16:05:02 -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 df085c5956 Don't show boost button for toots that can't be boosted. 2018-05-13 20:19:34 -04:00
Jason McBrayer d5e224a063 Temporarily remove pagination dummy links 2018-05-13 13:18:56 -04:00
Jason McBrayer 2d9e06ac8f Fix crash on validation error in replies 2018-05-13 13:16:44 -04:00
Jason McBrayer c6e0c7d9c1 Fix up static links in base template 2018-05-13 12:18:09 -04:00
Jason McBrayer ea5f0244af Pretty up the file upload 2018-05-10 07:27:45 -04:00
Jason McBrayer 5bcca98c87 Link from user page to user profile page on home site 2018-05-09 14:52:45 -04:00
Jason McBrayer 0455c6d25f Add javascript to pretty version of media upload 2018-05-09 14:44:45 -04:00
Jason McBrayer 71aa4c0249 Use text-stroke instead of text-shadow in user page titles 2018-05-09 14:23:47 -04:00
Jason McBrayer 56d0ff2158 Add user information to header of user timeline 2018-05-09 14:17:39 -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 9c038a35dd Fix more formatting issues on tag relinking 2018-05-07 09:34:12 -04:00
Jason McBrayer d9de6d7c85 Fix some formatting issues introduced by hashtag parsing 2018-05-07 09:15:22 -04:00
GCU Prosthetic Conscience 8aaef481ea
Update README.md to reflect current project status 2018-05-07 08:52:26 -04:00
Jason McBrayer 63cea9be14 Link in tags to tag timeline.
Currently, only tags in toots from Mastodon servers are relinked,
because they use a consistent and easy-to-support heuristic.
2018-05-07 08:46:59 -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 0090a31388 Change text for unboost/unfav submit button 2018-05-01 08:54:22 -04:00
Jason McBrayer 99a021b5af Fix error when *not* canceling a boost or fav 2018-05-01 08:39:48 -04:00
Jason McBrayer 25cbb258c6 Minor layout fix in toot partial 2018-05-01 08:37:08 -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 882b9db5cc Add cw to posts 2018-04-30 17:59:30 -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 bf3af37003 Add html sanitization.
Probably the html sent by your instance is already sanitized, but I haven't
checked the Mastodon source to be sure.
2018-04-26 20:36:48 -04:00
Jason McBrayer e773511726 Fix formatting on Lynx 2018-04-26 19:46:05 -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 af30107368 Add notification templates 2018-04-26 11:17:20 -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
Jason McBrayer e6f2734208 Add the remaining "easy" timeline views 2018-04-25 20:06:10 -04:00