Commit Graph

640 Commits

Author SHA1 Message Date
Jason McBrayer 58a18936e1 Fix portrait orientation videos in brutstap theme. 2019-02-08 08:23:41 -05:00
Jason McBrayer 5c45a31cf1 Update userinfo on settings page
There are cases where your session['user'] dictionary can be out of date, like
if you change your avatar. In that case, brutaldon will display a broken image
instead of your avatar in various places. This change updates your settings info
when you go to the settings page, in addition to as it normally does when you
log in.

Updating on every request would be possible, but it's another round trip to the
instance, and I don't want the performance hit.
2019-02-06 08:49:50 -05:00
Jason McBrayer 289bd28e28 Bump patch level for added themes and non-user-visible tweaks 2019-02-05 19:06:10 -05:00
Jason McBrayer 54ef84e0ad Add OpenGraph and Twitter Card tags to base.html 2019-02-05 19:05:33 -05:00
Jason McBrayer e40f6bde34 Fix typo in fixture that would cause initial migration to fail 2019-02-05 19:04:48 -05:00
Jason McBrayer c080832633 Remove required python_version from Pipfile
I'm not sure what the actual minimum requirement is; I've used 3.6-3.7 while
developing it, and I'm pretty sure 3.5 will work.
2019-02-05 19:03:47 -05:00
Jason McBrayer 5f28bb5ea5 Fix attachments width on bulma light themes. 2019-02-05 10:53:03 -05:00
Jason McBrayer 3c9b0e13aa Tweak brutstrap font size 2019-02-05 10:42:44 -05:00
Jason McBrayer 9433381b0e Fix card width overflow 2019-02-05 10:37:32 -05:00
Jason McBrayer 7d72088422 Fix broken lightbox and attachments-spacing in bulma themes
Introduced by changes associated with brutstrap theme
2019-02-05 10:34:03 -05:00
Jason McBrayer 3293ef5ebf Get username hints implemented in brutstrap
Other brutalist themes could be enhanced to add this.
2019-02-05 10:21:53 -05:00
Jason McBrayer 05f2700ddc Style buttons in brutstrap 2019-02-05 08:31:23 -05:00
Jason McBrayer 650b6a25a8 Tweak figures for brutstrap 2019-02-04 15:24:06 -05:00
Jason McBrayer 46aea0fff9 Add first draft of brutstrap[1] theme.
[1]: https://git.sr.ht/~emsenn/brutstrap
2019-02-04 15:06:02 -05:00
Jason McBrayer bc33dbcb9f If a link is obviously a UI element, don't necessarily underline it 2019-02-01 09:21:12 -05:00
McBrayer bc5e9e091d Remove some of the cacheing that was just added 2019-01-30 12:33:18 -05:00
McBrayer 6a6bf32646 Enable some more cacheing.
I'm not sure all of this is a good idea, and I'm not sure if all of it actually
works; in particular the fragment cacheing for toots.
2019-01-30 10:56:13 -05:00
McBrayer f1a7da0039 Don't abuse &nbsp for spacing in header; use CSS instead.
Thanks, @emsenn!
2019-01-30 10:53:14 -05:00
McBrayer c4c3117caa After submitting a reply, jump right to the message you are replying to. 2019-01-29 13:38:07 -05:00
McBrayer a4dbe81aa1 Add id targets to redirects from boost/fav without JS. Resolves #48 2019-01-29 13:06:04 -05:00
McBrayer 7f331eeb48 When going to a thread (via thread or reply), jump to the active toot 2019-01-29 12:57:11 -05:00
McBrayer b17c56fec3 Reformat preview cards to make better use of space.
Also widen the default themes view again. I don't like the long lines,
but I like the way it gives more space for preview cards.
2019-01-28 09:36:54 -05:00
McBrayer c5b2ca46fd Tweak the link underlines a little bit 2019-01-28 07:49:40 -05:00
Jason McBrayer ef8cee932f Bump minor version because of major Pleroma-related changes 2019-01-27 22:51:02 -05:00
Jason McBrayer 856b502cbf Fix an issue with duplicate mentions in replies on Pleroma 2019-01-27 22:50:11 -05:00
Jason McBrayer 5072defbbd Make fix to Pleroma notifications not depend on Mastodon.py fix 2019-01-27 22:46:41 -05:00
Jason McBrayer e4bbd29cc8 Fix pagination on Pleroma (probably) 2019-01-27 22:27:46 -05:00
Jason McBrayer 01f2cc7d35 Fix more ID format issues with Pleroma
Paging is still not working.
2019-01-27 22:16:15 -05:00
Jason McBrayer 705ea8917b Add some underlines to links for accessibility reasons 2019-01-27 21:33:17 -05:00
Jason McBrayer 5b3d34b762 Fix bug with changed message ID format in Pleroma 2019-01-27 21:12:12 -05:00
Jason McBrayer f0843488d1 Use a simpler check for whether content_type argument can be used to post 2019-01-27 21:06:55 -05:00
Jason McBrayer 2903a5ea6e Bump patch level to note Pleroma compatibility improvements 2019-01-24 14:26:48 -05:00
Jason McBrayer 8fc464939c Be more specific with user searches in case of Pleroma 2019-01-24 14:22:17 -05:00
Jason McBrayer cce4198a3b Use content_type when posting if it's available in your Mastodon.py
This feature hasn't been merged to mainline yet, and then it will probably
take a little longer for it to get on pip, so brutaldon has to be belt-and-
suspenders when using it.
2019-01-24 14:10:02 -05:00
Jason McBrayer 5e9feab403 Add the inline and block tags that Pleroma permits to our scrubber
Tags that are not supported:
- inline images
- table tags
- header tags

I may reconsider header tags later.
2019-01-24 09:43:17 -05:00
Jason McBrayer 2d3d88da72 Fix local user references with domain name on Pleroma 2019-01-24 08:48:44 -05:00
Jason McBrayer dd20a1de36 Unbreak that last fix for Mastodon while keeping it fixed for Pleroma 2019-01-24 08:47:16 -05:00
Jason McBrayer 0bca674f88 Fix links to user profiles from notifications page on Pleroma
Still fails for users on the same server -- needs to not include server part
2019-01-24 08:38:47 -05:00
Jason McBrayer 9150ba7629 Improve accuracy of user page link on Pleroma 2019-01-24 08:27:07 -05:00
Jason McBrayer 245f0f7a59 Add migration maybe needed by Django update 2019-01-24 08:26:44 -05:00
Jason McBrayer 7c351ef341 Fix an issue with mentions caused by last update 2019-01-18 08:08:26 -05:00
Jason McBrayer aa1434e821 Bump minor version: a couple of new features 2019-01-17 21:10:00 -05:00
Jason McBrayer dfc9becc87 Add mention hints to full post form and fix minor error 2019-01-17 21:06:29 -05:00
Jason McBrayer 8615c8f801 Add username hints while typing mentions in compose box 2019-01-17 21:02:23 -05:00
Jason McBrayer 10019b34b0 Handle case of no notes seen before checking notifications 2019-01-17 19:13:08 -05:00
Jason McBrayer c7fb38b57c Add 'filter notifications" option
This reduces the number of notifications in both your tab bar and your
notifications page, by showing only mentions and new subscribers (i.e.,
things that are actionable by you).
2019-01-14 09:08:36 -05:00
Jason McBrayer 21af4a0ef8 Update version number because of logout fix 2018-12-16 22:02:50 -05:00
Jason McBrayer 9117aeb987 Fix logout behavior with intercooler 2018-12-16 17:52:48 -05:00
Jason McBrayer 9825b67f57 Make toots hint more strongly when they are part of a thread. 2018-12-07 08:57:19 -05:00
Jason McBrayer ae66d5b064 Bump patch level for bugfix 2018-12-06 10:18:17 -05:00