Commit Graph

581 Commits

Author SHA1 Message Date
GCU Prosthetic Conscience ab5b734dbb
Merge pull request #77 from cyisfor/catch_session_expiration_error
Mastodon.py raises an error when session is expired
2020-07-01 08:37:40 -04:00
GCU Prosthetic Conscience a05d09289a
Merge pull request #74 from cyisfor/sophistifimacation
hiding, I mean, sophistimacatifying the instance url checking
2020-06-01 10:40:42 -04:00
GCU Prosthetic Conscience 9a99f34945
Merge pull request #73 from cyisfor/last_seen_index_error
random exception when viewing notifications
2020-06-01 10:36:23 -04:00
GCU Prosthetic Conscience 12f0fab3b2
Merge pull request #72 from cyisfor/dark_textareas
textareas and inputs in bulmaswatch-darkly were hurting my eyes.
2020-06-01 10:34:14 -04:00
Jason McBrayer b2d13e4520 Add help to preview_sensitive preference 2020-06-01 10:32:43 -04:00
Jason McBrayer b806d6c89d Reformat settings.html 2020-06-01 10:26:25 -04:00
Jason McBrayer 0971997ad3 Rearrange/reorganize settings 2020-06-01 10:25:43 -04:00
Jason McBrayer 391f31c76c Add migration for last config change 2020-06-01 10:22:28 -04:00
GCU Prosthetic Conscience a536c35dfd
Merge pull request #71 from cyisfor/preview_sensitive
Preview sensitive media
2020-06-01 10:15:25 -04:00
GCU Prosthetic Conscience 62362d8ab6
Merge pull request #70 from cyisfor/cohesive_preferences_code
Cohesive preferences code
2020-06-01 10:09:55 -04:00
Jason McBrayer 496d045356 Apparently we were missing a migration?
Hope this doesn't break anything for anyone else.
2020-06-01 09:53:58 -04:00
cyisfor 22036aa22c
Flake ids (#68)
This is a series of squashed commits from cysfor @ github.

* Pleroma base62 "flake_id" isn't a decimal integer

* Is it the path order?

Still learning Django, making sure it's not erroring out because the path order is backwards. /user/:id dies saying /user/:id/next/:thingy won't parse, so I thought they might be out of order. But actually the template main/user.html silently recurses when you do /user/:id sending another query for /user/:id/next/:etc.

* I figure out flake_ids

Go figure Pleroma can't even use hexadecimal numbers. Nope, base62 is clearly the way to go. They're working for me, at any rate.

Co-authored-by: Cy <autocommit>
Co-authored-by: Cy <email>
2020-06-01 09:43:54 -04:00
Jason McBrayer ae7be271c9 Update notification about github mirror 2020-06-01 09:41:33 -04:00
Jason McBrayer 9a89664baf Merge branch 'master' of github.com:jfmcbrayer/brutaldon 2020-06-01 09:40:02 -04: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 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 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