Commit Graph

622 Commits

Author SHA1 Message Date
Cy
0b418f985d Trying to figure out why it's not finding accounts
Refactoring the code to be a little more readable...
2020-06-01 08:25:01 +00:00
Cy
dd19608b66
Mastodon.py raises an error when session is expired
Sometimes Brutaldon thinks it has a valid session key, but the upstream Fediverse server does not, and Brutaldon needs to handle that. Brutal probably should un-set its own internal logged-in state when that happens, but for now it just returns the same thing as if you weren't logged into Brutaldon, making you log in again, making Brutaldon get a new session token from upstream.
2020-06-01 00:21:38 +00:00
Cy
9415defede
whoops, left an old mistake in the code 2020-05-31 02:22:47 +00:00
Cy
c0caab4919
Missed a few status_post calls 2020-05-31 01:04:43 +00:00
Cy
39f13d64fd
Allow previewing sensitive images
A setting to not censor sensitive images if you think you're not in danger for looking at them.
2020-05-30 23:23:36 +00:00
Cy
0439440f40
Foreign keys add magic members
Because when you add one field to a class, you clearly want to add two fields to a class, and there's no need to consider the field you never asked to add to be something other than a field.
2020-05-30 23:20:16 +00:00
Cy
0b93eb78f4
Refactoring preferences to be more cohesive
No need to list the preference fields three times in three places in the code. A class decorator ought to be able to sleuth them out from the model itself. Should make it easier to add new preferences.
2020-05-30 23:19:49 +00:00
Cy
12d7b4cb7d
Handle feature_set errors automatically
Recreate the mastodon object if there's an error complaining about a missing feature set. Only happens for status_post I think. Could be further generalized...
2020-05-30 23:10:50 +00:00
Cy
2dfdb0b859
Support feature_set= other than mainline for Mastodon
Pleroma will send records that cause brutaldon to make pleroma-specific responses, which the mastodon python module wigs out on claiming it doesn't support that "feature set" so allow for a feature set to be specified...
2020-05-30 23:07:38 +00:00
Cy
c3f6503bec
random exception when viewing notifications
I think it's a rare occasion that there are no last seen notifications, in which case just ignoring it and setting account.note_seen later works fine.
2020-05-30 21:26:02 +00:00
Cy
bf0394ca36
textareas and inputs in bulmaswatch-darkly were hurting my eyes.
(#fff) is not a good background color to compose posts in, that are then displayed with the dark background color.
2020-05-30 21:23:46 +00:00
Cy
17aae685ea
hiding, I mean, sophistimacatifying the instance url checking 2020-05-30 20:58:21 +00:00
Jason McBrayer
2354dadddb Catch MastodonNotFoundErrors that were not being caught
This will cause a much more sensible error message in the case of
trying to reply to or view the thread of deleted messages
2020-03-10 18:38:03 -04:00
GCU Prosthetic Conscience
00e35409ef
Merge pull request #66 from garbados/master
Bring Brutaldon mirror up to date

Note the primary repository is https://git.carcosa.net/jmcbray/brutaldon
2020-01-31 13:58:33 -05:00
Diana Thayer
aa8585bb24
Merge branch 'master' of github.com:garbados/brutaldon 2020-01-31 03:15:21 +01:00
Jason McBrayer
72c7bbcc3d Bump patch level for bug fixes 2019-11-26 08:51:59 -05:00
Jason McBrayer
31c6d0b5f0 Fix rare crash in notifications 2019-11-26 08:48:50 -05:00
Jason McBrayer
ecdaabff33 Fix accessibility issue with expand CW button 2019-11-08 10:38:46 -05:00
Jason McBrayer
f6d0cfee61 Fix sorting of bundled notifications 2019-11-08 10:24:10 -05:00
Jason McBrayer
428c1e1508 Make bookmarklet available in footer of every page 2019-11-08 10:06:45 -05:00
Jason McBrayer
fb2970af3b Fix a bug in bundling notes 2019-11-08 07:46:22 -05:00
Jason McBrayer
2da4fd0de2 Sharing bookmarklet works 2019-11-07 19:44:09 -05:00
Jason McBrayer
da1de5ea32 Add share view 2019-11-07 13:32:51 -05:00
Jason McBrayer
c836861027 Fix formatting of migrations 2019-11-07 13:32:41 -05:00
Jason McBrayer
eaf0cbd46b Fix emojos in display names in notifications 2019-11-06 12:49:51 -05:00
Jason McBrayer
0604ddffe6 Bump minor version 2019-11-05 19:27:33 -05:00
Jason McBrayer
cf13ad3790 Squashed commit of the following:
commit 0a80206abb8fae7785a59aab88043b2b1974756b
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Nov 5 19:22:00 2019 -0500

    Fix oxford comma in bundled notifications, remove unused dependency

commit e96bd22bdce996734aaaf1d5625e08add3c8fcf7
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Nov 5 19:19:42 2019 -0500

    Now template works with bundled or un-bundled notifications

commit 6f46bef7fdd0defe2f02e09e28558de882ce4456
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Nov 5 19:02:51 2019 -0500

    Bundled toots work; now fix unbundled case

commit 07d9de49f943d019d04a5a5203081e57dc0741d8
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Nov 5 14:09:14 2019 -0500

    Notifications are now sorted by groups, but not collapsed

commit f62666929f12cf0c7db4c68a1468f7e138318a5c
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Tue Nov 5 13:58:41 2019 -0500

    Fix saving of bundle_notifications setting

commit 335d5f985c968bb84e4b459dabf77d1d7ecad646
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Nov 4 18:57:54 2019 -0500

    Forgot to include migration for bundle notifications preference

commit 0e8232591c4f1bb972e9694433c546c9f66b5419
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Nov 4 18:57:35 2019 -0500

    Bundle notifications setting front-end

commit 6e945f1ceb2ff19470e164a946a6a48de4142812
Author: Jason McBrayer <jmcbray@carcosa.net>
Date:   Mon Nov 4 18:54:49 2019 -0500

    Backend code to group notifications
2019-11-05 19:23:58 -05:00
Jason McBrayer
61f8d19879 Fix some formatting for vt240 themes 2019-10-30 08:49:58 -04:00
Jason McBrayer
11f4415788 Bump minor version 2019-10-29 13:44:29 -04:00
Jason McBrayer
0e4402e885 Fix custom emoji in display names 2019-10-29 13:43:51 -04:00
Jason McBrayer
d6ca91999f Basically support 'poll' type notifications.
They could be better, e.g. discriminating between polls you created and polls
you voted in, but I'm disinclined to put in the effort.
2019-10-29 10:58:09 -04:00
Jason McBrayer
507157782d Truncate long card descriptions
This is useful for bots like the Onion repeater that stuff whole
articles into the description field.
2019-10-28 18:35:25 -04:00
Jason McBrayer
9af914db85 Visibility of replies now more restrictive by default
Formerly, the visibility of replies defaulted to the visibility of the post
they were in reply to. Now they default to the more restrictive of the
visibility of the post they were in reply to, or your account's default
visibility. This should be less surprising for people with more restrictive
default visibility settings.
2019-10-28 18:12:20 -04:00
Jason McBrayer
be78053179 Add first draft of material theme 2019-10-15 20:45:56 -04:00
Jason McBrayer
0607dc52cf Upgrade js and css dependencies 2019-10-15 20:41:46 -04:00
Jason McBrayer
798e189815 Don't lazy-load brand image 2019-09-10 20:15:19 -04:00
Jason McBrayer
d8a0e57190 Add polyfill for loading=lazy in Firefox.
Debug some of the issues that brings up, and use "less" lazy-loading on images.
2019-08-26 19:18:21 -04:00
Jason McBrayer
893a9c49d7 Use img loading="lazy" for most images (where available) 2019-08-07 09:21:07 -04:00
GCU Prosthetic Conscience
9744e6f647
Update README for github - moving to gitea. 2019-07-30 07:51:21 -04:00
Jason McBrayer
e1d758765d Try pooling API requests 2019-07-23 09:33:09 -04:00
Jason McBrayer
0efbc552b7 Use DEC Terminal Modern in vt240-xxxx themes if available 2019-07-22 13:56:53 -04:00
Jason McBrayer
ef94e057f7 Always load full threads
This is the first step in the real-threading mod that I'm
working on.
2019-07-19 09:56:52 -04:00
Jason McBrayer
5b7d4e0b68 Polls work with intercooler 2019-07-10 13:25:53 -04:00
Jason McBrayer
3439e8c22e Voting on polls works for both single and multiple 2019-07-10 12:57:58 -04:00
Jason McBrayer
a5a67ccb54 View un-voted-in polls; can't vote in them just yet. 2019-07-09 20:27:09 -04:00
Jason McBrayer
83f46babe5 Support for viewing completed polls 2019-07-09 19:55:05 -04:00
Jason McBrayer
76b50cedd2 Redirect gab users to a configurable URL rather than logging them in.
The default URL is "Never Gonna Give You Up" on invidio.us.
2019-07-09 19:52:50 -04:00
Jason McBrayer
afc62c51e3 Fix a bug in settings page 2019-07-09 12:18:16 -04:00
Jason McBrayer
255d084d57 Another small adjustment to timeline buttons css 2019-07-09 10:10:26 -04:00
McBrayer
8b49c5d373 Try fixing timeline paging button layout.
No actual testing was done.
2019-07-09 10:04:56 -04:00