Commit Graph

615 Commits

Author SHA1 Message Date
Jason McBrayer
dc5d5f4176 Remove a bit of debug logging 2018-06-06 15:25:10 -04:00
Jason McBrayer
5bdd29f12e Merge branch 'master' of github.com:jfmcbrayer/brutaldon 2018-06-06 15:23:19 -04:00
Jason McBrayer
d0770dbbe1 Fix unescaping of html in template filters.
This was not a security bug, because it was done before passing code to
sanitize, but it was totally an annoying UI bug.
2018-06-06 15:21:00 -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
9e04cf13ff Remove paging placeholder from user timeline 2018-06-04 10:11:14 -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
dd8eb95a42 More padding for media 2018-06-03 16:47:46 -04:00
Jason McBrayer
687de7e571 Add padding in fullbrutalism 2018-06-03 15:48:48 -04:00
Jason McBrayer
1bfeb80646 Add source link to footer 2018-06-01 18:46:44 -04:00
Jason McBrayer
2869d0a41f Leave the footer on in FULLBRUTALISM mode 2018-06-01 18:42:52 -04:00
GCU Prosthetic Conscience
82a513efcf
Create LICENSE 2018-06-01 15:15:29 -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
097dd694fb Fix summary/details arrow styling in FULLBRUTALISM mode 2018-05-31 18:47:11 -04:00
Jason McBrayer
0745e1730f Arrange screenshots? 2018-05-31 18:24:51 -04:00
Jason McBrayer
184151c746 Add missing screenshot and resize images in README 2018-05-31 18:21:18 -04:00
Jason McBrayer
8058c12e50 Add screenshots to README 2018-05-31 18:13:22 -04:00
Jason McBrayer
351c0ea2e2 Return max image preview dimension to 128px 2018-05-30 12:53:22 -04:00
Jason McBrayer
6c855dbaae Make image previews keep aspect ratio of original, and larger max size. 2018-05-30 12:44:53 -04:00
Jason McBrayer
3d95a65f53 Fill in about and privacy pages 2018-05-27 13:43:20 -04:00
Jason McBrayer
4fa527a4d8 Fix 'boost' note on fav notifications 2018-05-26 13:49:04 -04:00
Jason McBrayer
507c52bb96 Add about and privacy pages 2018-05-26 13:28:13 -04:00
Jason McBrayer
722a5c73fd Remove more boxes. 2018-05-23 14:31:35 -04:00
Jason McBrayer
e9097a950d Fix one more place where I didn't update templates 2018-05-23 14:04:51 -04:00
Jason McBrayer
b0a2657296 Link brand to home (useful on mobile) 2018-05-23 10:07:15 -04:00
Jason McBrayer
9ee6e3f5f7 Fix formatting of replies 2018-05-23 10:05:13 -04:00
Jason McBrayer
7e449992f4 Fix issue of mobile without javascript not having a menu 2018-05-23 09:52:15 -04:00
Jason McBrayer
ff2754e33b Convert the navbar menu into a dropdown on mobile
This *may* break browsers that support css media types but not javascript.
This set appears to include dillo, evergreen browsers with js turned off.

One thought on how to fix this is to set is-active on the menu by default,
don't include the burger. Add the burger from javascript and remove is-active
from the menu.
2018-05-23 09:18:23 -04:00
Jason McBrayer
1ad74ffcef Fix class name typo 2018-05-23 09:03:15 -04:00
Jason McBrayer
e566512a98 Fix things that got broken by mobile fixes 2018-05-23 08:56:34 -04:00
Jason McBrayer
c2fe241281 Adjust fullbrutalism mode for media fix changes 2018-05-23 08:40:11 -04:00
Jason McBrayer
69a678a5ce Fix a bunch of mobile formatting issues 2018-05-23 08:27:45 -04:00
Jason McBrayer
9e1a82655e Put spoilers in details/summary element.
This gives us expandable CWs without JS. On Lynx, nothing actually changes.
2018-05-22 14:53:14 -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
40df8fd1fb Update installation instructions. 2018-05-20 18:37:42 -04:00
Jason McBrayer
a17d8d0057 Update installation instructions. 2018-05-20 18:35:08 -04:00
Jason McBrayer
c9658b9532 Update the README. 2018-05-20 17:37:02 -04:00
Jason McBrayer
a807158490 Add install document. 2018-05-20 17:30:50 -04:00
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