Commit Graph

570 Commits

Author SHA1 Message Date
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
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
Jason McBrayer cae6a1d2c5 Fix stale own account info when switching accounts 2019-06-20 16:41:20 -04:00
Jason McBrayer 7c3b1106d1 Make pagination buttons the same as each other on timeline 2019-05-21 14:17:07 -04:00
Jason McBrayer 426faa1c2e Make thread availability more visible 2019-05-20 13:40:21 -04:00
Jason McBrayer 5443b41c0e Reformat everything with black 2019-05-17 13:07:11 -04:00
Jason McBrayer 82404c98b6 Add Solar theme.
This is not recommended for users with low vision because of poor contrast.
But if it works for you, it looks nice.
2019-05-17 11:03:31 -04:00
Jason McBrayer 00ec38ccaf Bump patch level for bug fixes 2019-05-12 07:00:41 -04:00
Jason McBrayer 2dbb508fb4 Fix searching with new Mastodon.py 2019-05-12 06:55:25 -04:00
Jason McBrayer dc6260d406 Remove remaining usages of since_id 2019-05-06 13:14:19 -04:00
Jason McBrayer 0a7ac8d4e9 Maybe fix crash on user page back paging 2019-05-06 10:55:45 -04:00
Jason McBrayer 5843a7e053 Increase length of version field for Pleroma compatibility 2019-05-06 09:38:43 -04:00
Jason McBrayer e380382757 Fix accounts icon 2019-05-05 08:40:28 -04:00
Jason McBrayer 18ffeb4aa4 Fix color of bell icon (changed by fork-awesome?) 2019-05-05 08:38:23 -04:00
Jason McBrayer 5c11d3c871 Add back support for backwards paging 2019-05-04 20:20:59 -04:00
Jason McBrayer 8dbebea29a Catch KeyError where we currently catch AttributError
This fixes up some issues with the updated Mastodon.py
2019-05-03 09:56:19 -04:00
Jason McBrayer 4de237a1b5 Store instance version in the client table
It is updated on new login, on entering the settings page, and on
timeline load. The last may be too often, but I thought the other
two were not often enough.
2019-04-29 14:41:11 -04:00
Jason McBrayer 21da39c422 Bump minor version 2019-04-28 09:14:12 -04:00
Jason McBrayer 250837b2c9 Don't switch accounts if deleting not the active account 2019-04-27 20:51:41 -04:00
Jason McBrayer 0c3d4f8405 Fix permission issues after removing an account and refactor 2019-04-27 20:32:09 -04:00
Jason McBrayer 5612965b45 Forgetting the last account works 2019-04-27 20:28:03 -04:00
Jason McBrayer 59f2a9cf1e Forgetting a logged-in account now works 2019-04-27 20:22:27 -04:00
Jason McBrayer f11e816426 Revert an over-aggressive refactor 2019-04-24 09:41:45 -04:00
Jason McBrayer 1c13a9a04b Return a response in worst old_login case 2019-04-24 09:20:49 -04:00
Jason McBrayer f2abaaa885 Correct last commit 2019-04-24 09:18:51 -04:00
Jason McBrayer b1eb270881 Try to fix up account_id value in accounts_dict for mismatched logins 2019-04-24 09:13:12 -04:00
Jason McBrayer a427273f63 Hopefully fix issue with re-login with different method 2019-04-24 09:03:56 -04:00
Jason McBrayer 6ce142e11a Update fork-awesome 2019-04-24 06:41:50 -04:00
Jason McBrayer acd39378bb Replace logout with accounts in ui 2019-04-24 06:32:57 -04:00
Jason McBrayer d19abee083 Fix error in oath_callback 2019-04-24 06:26:11 -04:00
Jason McBrayer 372422f9a3 Make account switching work 2019-04-23 22:29:47 -04:00
Jason McBrayer 3289adde09 Add a template for accounts list 2019-04-23 21:53:21 -04:00
Jason McBrayer c1b5eb6359 Add an endpoint for /accounts
It still needs a template.
2019-04-23 19:20:37 -04:00
Jason McBrayer 90ff4927ef Implement switch_accounts helper function 2019-04-23 18:46:54 -04:00
Jason McBrayer b5f8175b0e Fix visibility of navbar entries when logged in 2019-04-23 18:29:30 -04:00
Jason McBrayer 8a33d255bd Fix a crash in login 2019-04-23 18:25:55 -04:00
Jason McBrayer ebf58264e8 Add accounts_dict to session, update it on logging in. 2019-04-23 18:18:11 -04:00
Jason McBrayer d911da51bc Rename some session variables
This is in preparation for adding the session dictionary of accounts
2019-04-23 18:06:57 -04:00
Jason McBrayer f76600ffed Make self avatar in post form a link to own profile 2019-04-06 19:57:19 -04:00
Jason McBrayer e76a644c27 Boost patch level for fix to unknown thread issue 2019-04-06 17:58:41 -04:00
Jason McBrayer a099738cbb Make thread() throw an error 404 rather than 500 on a missing status 2019-04-06 16:51:13 -04:00
Jason McBrayer 300040bdb4 Bump patch level for filter bug fix 2019-04-02 14:32:01 -04:00
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 1a14dd8c3b Tweak cards on minimal small and dark 2019-03-28 08:45:48 -04:00
Jason McBrayer 79eea0eed1 Fix issue with poll frequency not saving 2019-03-28 08:24:28 -04:00
Jason McBrayer e0bc0eba26 Mess around with card formatting some more 2019-03-28 07:58:31 -04:00
Jason McBrayer 7e1ade6d70 Use minimal-ui for PWA 2019-03-27 22:35:50 -04:00
Jason McBrayer ce825a8612 Fix issue with card images in mobile view 2019-03-27 22:34:20 -04:00
Jason McBrayer f27451bb6f Add minimal dark theme 2019-03-22 19:02:05 -04:00
Jason McBrayer 3296e9b685 Limit size of card images 2019-03-22 12:03:19 -04:00
Jason McBrayer c9e49b5525 Include styling for lightbox even for brutalist themes
It may make sense to use the lightbox with a brutalist theme, and without the
included stylesheet, it may look like ass.
2019-03-22 08:31:31 -04:00
Jason McBrayer e4c0f42b14 Set font size in minimal-small in points
so that it is more consistent between devices
2019-03-19 19:10:37 -04:00
Jason McBrayer 0ffdc87c5d Fix width of container in minimal-small 2019-03-19 16:35:02 -04:00
Jason McBrayer 35d8f5b599 Fix navbar spacing in minimal-small theme 2019-03-19 15:53:32 -04:00
Jason McBrayer 4c51916d38 Add minimalist small css theme 2019-03-17 17:12:50 -04:00
Jason McBrayer 8202045158 Pack brutaldon header image with pngcrush 2019-03-17 17:01:14 -04:00
Jason McBrayer ba9b2d3d69 Bump minor version on account of follow requests support 2019-03-06 14:27:03 -05: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 c192d0056e Bump patch level for bug fixes 2019-03-03 20:42:26 -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 882a713788 Remove intercooler attributes from redraft link 2019-03-03 20:04:29 -05:00
Jason McBrayer 5877344c16 Fix (again) overflowing attachment boxes
This time, it makes them multiline.
2019-02-28 12:15:04 -05:00
Jason McBrayer 333976dae5 Fix filter list layout in brutstrap 2019-02-16 10:53:46 -05:00
Jason McBrayer 5061800d69 Bump minor version number for filters feature 2019-02-16 10:22:27 -05:00
Jason McBrayer 7f8641aa06 Fix settings layout a bit 2019-02-15 20:57:02 -05:00
Jason McBrayer fa9fa8ceef Remove some css classes that were no longer needed (in default themes) 2019-02-15 20:10:28 -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 73459106e8 Allow filters that never expire 2019-02-15 17:19:17 -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 6bbd211678 Add FilterForm to forms.py
Form to create or edit a filter.
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 ee3b4bdb72 Resize card images if necessary 2019-02-14 22:05:18 -05:00
Jason McBrayer 0aac9cd826 Tweak brutstrap css further for mobile 2019-02-12 09:14:37 -05:00