Commit Graph

153 Commits

Author SHA1 Message Date
Jason McBrayer b8d29ecc97 Turn off caching for notifications 2019-04-02 14:31:35 -04:00
Jason McBrayer 53a0938f7b Fix filters in notifications 2019-04-02 14:31:10 -04:00
Jason McBrayer 79eea0eed1 Fix issue with poll frequency not saving 2019-03-28 08:24:28 -04:00
Jason McBrayer 67f2ea8149 Finish adding support for follow requests 2019-03-06 14:26:00 -05:00
Jason McBrayer d3ed8eef27 View for handling follow requests 2019-03-05 18:45:14 -05:00
Jason McBrayer 3a9f2b52e0 Fix mentions in redrafts
The obvious failure modes should be taken care of; there may be spacing changes.
2019-03-03 20:40:42 -05:00
Jason McBrayer b06c664cd5 Fix a crash on threads with filters 2019-02-15 20:09:32 -05:00
Jason McBrayer 0007547a7c Allow editing filters 2019-02-15 17:42:36 -05:00
Jason McBrayer e94eec081a Make sure not to match all toots if you don't have any filters 2019-02-15 17:14:05 -05:00
Jason McBrayer 3bfbc30255 Add filter deletion 2019-02-15 17:10:26 -05:00
Jason McBrayer 221f03957e Creation page for filters 2019-02-15 12:02:21 -05:00
Jason McBrayer bdc9524532 Simplify filter matching.
Concatenate filter phrases and do the re.search only once.
2019-02-15 11:28:07 -05:00
Jason McBrayer dfccfab05b List filters, create filters
Template still needs to be created for create filters, will need to update
for list filters when views to edit and delete exist
2019-02-14 22:05:18 -05:00
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