Commit Graph

569 Commits

Author SHA1 Message Date
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 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
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
Jason McBrayer 4927bf137b Also update accounts_dict on loading settings page 2019-07-01 13:11:19 -04:00
Jason McBrayer 272dd12b43 Update accounts_dict when switching users 2019-07-01 13:06:06 -04:00
Jason McBrayer 1e3cb20b2c Fix breakage of user_search_inner 2019-06-20 17:02:23 -04:00