Commit Graph

140 Commits

Author SHA1 Message Date
Jason McBrayer 8c2f357d3c Initial implementation of filters
You can't add, delete, or edit filters from brutaldon yet, but they are
applied in your timelines.
2019-02-14 22:05:18 -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
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 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
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 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 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 2d3d88da72 Fix local user references with domain name on Pleroma 2019-01-24 08:48:44 -05:00
Jason McBrayer 9150ba7629 Improve accuracy of user page link on Pleroma 2019-01-24 08:27:07 -05:00
Jason McBrayer 7c351ef341 Fix an issue with mentions caused by last update 2019-01-18 08:08:26 -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 b4822b87ce Make search link a modal popup if using JS 2018-12-03 17:58:08 -05:00
Jason McBrayer 4676c49482 Take out the PJAX again.
It seems initially to work with notifications, but ultimately it just doesn't
quite.
2018-11-15 14:45:40 -05:00
Jason McBrayer 03478ef33f Remove \n from initial form for replies 2018-11-12 17:55:25 -05:00
Jason McBrayer 722b2d7a3d Add more translation hooks 2018-11-07 13:07:21 -05:00
Jason McBrayer 0232ec9fd3 Add i18n hooks to models 2018-11-06 17:11:54 -05:00
Jason McBrayer b003a94fd0 Add i18n in views 2018-11-06 17:11:54 -05:00
Jason McBrayer 347ccb4bbe Restore all of the PJAX stuff because I figured out what was going wrong 2018-11-06 17:05:03 -05:00
Jason McBrayer e5040b0bbd Add modal for new toot 2018-11-01 09:53:07 -04:00
McBrayer 733d8bb453 Make notifications work on brutalist themes 2018-10-19 12:36:52 -04:00
Jason McBrayer bb65be3e8b Don't lose text or spoiler text when expanding toot form 2018-10-14 08:36:47 -04:00
Jason McBrayer 7b8c5dbb59 Add lightbox preference 2018-10-09 18:13:08 -04:00
Jason McBrayer 275e6b1fca Fix some whitespace 2018-10-09 13:00:44 -04:00
Jason McBrayer 60748e5c4b Add javascript granular settings to forms, templates, settings view 2018-10-02 12:14:03 -04:00
Jason McBrayer af4173742b Remove service worker for now (it clashed with notifications implementation) 2018-09-24 10:32:30 -04:00
Jason McBrayer e57497e957 Ensure more pages have notification badges 2018-09-21 07:32:48 -04:00
Jason McBrayer 5ced45c50b More work on notifications - polling doesn't work
It looks like it might be an intercooler limitation/bug.

May try removing the pjaxing to see if that works
2018-09-20 15:00:31 -04:00
Jason McBrayer 86ec6aed95 Non-working implementation of ajax notification badge 2018-09-20 13:00:25 -04:00
Jason McBrayer 5d848715da Fix path service worker is served from 2018-09-19 10:19:34 -04:00
Jason McBrayer b456681de4 Fix crash in privacy page 2018-09-07 18:45:36 -04:00
Jason McBrayer 07932b775b Improve character count in over-length method 2018-09-07 16:43:51 -04:00
Jason McBrayer ccb21b0cdc Fix formatting problem with redrafts and tags
Plus misc. redraft problems
2018-09-06 20:51:18 -04:00
Jason McBrayer 6e087eb45f Make AJAX version of toot deletion work better 2018-09-06 11:45:28 -04:00
Jason McBrayer 8ab83275f6 AJAX-ify the delete link on a toot 2018-09-05 21:29:12 -04:00
Jason F. McBrayer 43d4b6a30d Add long post validation also to reply and redraft 2018-09-05 10:01:00 -04:00
Jason McBrayer 928f0fd7a7 Instead of setting a max_length on posts, catch API error on posting 2018-09-04 19:19:35 -04:00
Jason McBrayer 1dd8b1a316 Hijax block button 2018-09-02 19:52:48 -04:00
Jason McBrayer 3e7c81fc02 Hijax the muting button 2018-09-02 19:47:21 -04:00
Jason F. McBrayer bd663e7539 AJAX the follow button 2018-08-31 15:55:05 -04:00
Jason F. McBrayer 8cdefb5e90 Enhance boost/fav toot with intercooler
Currently, this only works with CSRF protection turned off. Next
job is to fix that.
2018-08-30 16:42:01 -04:00
Jason McBrayer b57d6f68df Fix import that was broken by merge 2018-08-29 10:50:54 -04:00
Jason McBrayer 4e1005c184 Fix previous issues (probably) 2018-08-29 08:46:31 -04:00