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
Jason McBrayer
58a18936e1
Fix portrait orientation videos in brutstap theme.
2019-02-08 08:23:41 -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
Jason McBrayer
289bd28e28
Bump patch level for added themes and non-user-visible tweaks
2019-02-05 19:06:10 -05:00
Jason McBrayer
54ef84e0ad
Add OpenGraph and Twitter Card tags to base.html
2019-02-05 19:05:33 -05:00
Jason McBrayer
e40f6bde34
Fix typo in fixture that would cause initial migration to fail
2019-02-05 19:04:48 -05:00
Jason McBrayer
5f28bb5ea5
Fix attachments width on bulma light themes.
2019-02-05 10:53:03 -05:00
Jason McBrayer
3c9b0e13aa
Tweak brutstrap font size
2019-02-05 10:42:44 -05:00
Jason McBrayer
9433381b0e
Fix card width overflow
2019-02-05 10:37:32 -05:00
Jason McBrayer
7d72088422
Fix broken lightbox and attachments-spacing in bulma themes
...
Introduced by changes associated with brutstrap theme
2019-02-05 10:34:03 -05:00
Jason McBrayer
3293ef5ebf
Get username hints implemented in brutstrap
...
Other brutalist themes could be enhanced to add this.
2019-02-05 10:21:53 -05:00
Jason McBrayer
05f2700ddc
Style buttons in brutstrap
2019-02-05 08:31:23 -05:00
Jason McBrayer
650b6a25a8
Tweak figures for brutstrap
2019-02-04 15:24:06 -05:00
Jason McBrayer
46aea0fff9
Add first draft of brutstrap[1] theme.
...
[1]: https://git.sr.ht/~emsenn/brutstrap
2019-02-04 15:06:02 -05:00
Jason McBrayer
bc33dbcb9f
If a link is obviously a UI element, don't necessarily underline it
2019-02-01 09:21:12 -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
f1a7da0039
Don't abuse   for spacing in header; use CSS instead.
...
Thanks, @emsenn!
2019-01-30 10:53:14 -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
McBrayer
7f331eeb48
When going to a thread (via thread or reply), jump to the active toot
2019-01-29 12:57:11 -05:00
McBrayer
b17c56fec3
Reformat preview cards to make better use of space.
...
Also widen the default themes view again. I don't like the long lines,
but I like the way it gives more space for preview cards.
2019-01-28 09:36:54 -05:00
McBrayer
c5b2ca46fd
Tweak the link underlines a little bit
2019-01-28 07:49:40 -05:00
Jason McBrayer
ef8cee932f
Bump minor version because of major Pleroma-related changes
2019-01-27 22:51:02 -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
705ea8917b
Add some underlines to links for accessibility reasons
2019-01-27 21:33:17 -05:00
Jason McBrayer
5b3d34b762
Fix bug with changed message ID format in Pleroma
2019-01-27 21:12:12 -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
2903a5ea6e
Bump patch level to note Pleroma compatibility improvements
2019-01-24 14:26:48 -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
5e9feab403
Add the inline and block tags that Pleroma permits to our scrubber
...
Tags that are not supported:
- inline images
- table tags
- header tags
I may reconsider header tags later.
2019-01-24 09:43:17 -05:00
Jason McBrayer
2d3d88da72
Fix local user references with domain name on Pleroma
2019-01-24 08:48:44 -05:00
Jason McBrayer
dd20a1de36
Unbreak that last fix for Mastodon while keeping it fixed for Pleroma
2019-01-24 08:47:16 -05:00
Jason McBrayer
0bca674f88
Fix links to user profiles from notifications page on Pleroma
...
Still fails for users on the same server -- needs to not include server part
2019-01-24 08:38:47 -05:00
Jason McBrayer
9150ba7629
Improve accuracy of user page link on Pleroma
2019-01-24 08:27:07 -05:00
Jason McBrayer
245f0f7a59
Add migration maybe needed by Django update
2019-01-24 08:26:44 -05:00
Jason McBrayer
7c351ef341
Fix an issue with mentions caused by last update
2019-01-18 08:08:26 -05:00
Jason McBrayer
aa1434e821
Bump minor version: a couple of new features
2019-01-17 21:10:00 -05:00
Jason McBrayer
dfc9becc87
Add mention hints to full post form and fix minor error
2019-01-17 21:06:29 -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
21af4a0ef8
Update version number because of logout fix
2018-12-16 22:02:50 -05:00
Jason McBrayer
9117aeb987
Fix logout behavior with intercooler
2018-12-16 17:52:48 -05:00
Jason McBrayer
9825b67f57
Make toots hint more strongly when they are part of a thread.
2018-12-07 08:57:19 -05:00
Jason McBrayer
ae66d5b064
Bump patch level for bugfix
2018-12-06 10:18:17 -05:00
Jason McBrayer
9d70757988
Fix issue #40 (menu covers posting box in mobile with no JS)
...
Don't pin the menu to the top by default -- add those classes from JavaScript.
This is clearly the best thing on mobile, but it means that on desktop, without
JavaScript, the menu will not be pinned to the top, which used to work.
2018-12-06 10:14:25 -05:00
Jason McBrayer
5266b8df03
Re-fix media attachments overflow
2018-12-04 10:28:49 -05:00
Jason McBrayer
23f7aed095
Confirm log out if JS available
2018-12-03 18:00:25 -05:00
Jason McBrayer
b4822b87ce
Make search link a modal popup if using JS
2018-12-03 17:58:08 -05:00
Jason McBrayer
e42628c6a3
Bump minor version number because of cards feature
2018-12-03 14:14:52 -05:00
Jason McBrayer
23b799c022
Don't show card images where they may be redundant
2018-12-03 08:48:01 -05:00
Jason McBrayer
d1873e3bd8
Really fix card image formatting.
2018-12-03 08:29:59 -05:00
Jason McBrayer
7364ff6baf
Fix a card issue in vt240 themes
2018-12-03 07:50:36 -05:00
Jason McBrayer
16e787f392
Copy formatting changes to dark theme
2018-12-03 07:46:21 -05:00
Jason McBrayer
ecfdf00d6a
Fix formatting of both card images and regular media
2018-12-03 07:42:27 -05:00
Jason McBrayer
afef082319
Fix spacing of cards.
...
Sizing of regular media seems to be broken now, though.
2018-12-03 07:34:05 -05:00
McBrayer
673d7adedd
Add display of cards. This is not 100% complete.
2018-11-30 14:30:46 -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
McBrayer
faace0fa07
Scroll to target on opening a thread
2018-11-13 13:35:08 -05:00
Jason McBrayer
03478ef33f
Remove \n from initial form for replies
2018-11-12 17:55:25 -05:00
Jason McBrayer
ffe50791d1
Indicate on toots if they have replies
2018-11-12 17:54:01 -05:00
Jason McBrayer
16a085fabb
Make the progress bar smol
2018-11-08 20:40:40 -05:00
Jason McBrayer
ae604f85b9
Fix bug in Lux theme
2018-11-07 13:47:44 -05:00
Jason McBrayer
9b5599150f
Fix typo in PostForm update
2018-11-07 13:47:27 -05:00
Jason McBrayer
722b2d7a3d
Add more translation hooks
2018-11-07 13:07:21 -05:00
Jason McBrayer
c719b74a8e
Add pjax to one more navbar link
2018-11-07 13:03:18 -05:00
Jason McBrayer
d5e80966cf
Reset more intercooler values on notifications poll element
2018-11-07 08:49:37 -05:00
Jason McBrayer
1f342a5b70
Bump patch level for fix in last commit
2018-11-07 08:21:22 -05:00
Jason McBrayer
9152cb74d6
Fix annoying notification bug in brutalist themes
2018-11-07 08:21:22 -05:00
Jason McBrayer
a0a4dd2e56
Try harder to not leave the loading animation running
2018-11-06 17:41:03 -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
4052b6216d
Bump minor version because of restoring the PJAX stuff
2018-11-06 17:11:02 -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
9eda3c91cb
Loop videos, on the assumption that most are gifvs.
...
Also, use media.preview_url for the preview image rather than the first frame.
2018-11-06 11:09:05 -05:00
Jason McBrayer
be3bb1ee1a
Bump patch level for lightbox implementation changes
2018-11-06 11:04:54 -05:00
Jason McBrayer
53347efa27
Remove items for old photobox
2018-11-06 11:01:01 -05:00
Jason McBrayer
ae66ccfd7f
Change lightbox to magnific-popup; make videos playable inline.
2018-11-06 10:44:26 -05:00
Jason McBrayer
4907f5c109
Make toot modal work in brutalist themes
2018-11-01 10:24:59 -04:00
Jason McBrayer
e5040b0bbd
Add modal for new toot
2018-11-01 09:53:07 -04:00
Jason McBrayer
0feb9013b4
Keep reverse route for user page for user with null username from crashing
...
I find it inexplicable that this could happen, but there you are.
2018-10-26 14:00:43 -04:00
Jason McBrayer
7c5a03368b
Center and pad some stuff in FULLBRUTALISM
2018-10-24 10:30:09 -04:00
McBrayer
733d8bb453
Make notifications work on brutalist themes
2018-10-19 12:36:52 -04:00
Jason McBrayer
e799c097cc
Add preference for notification poll frequency
2018-10-18 16:04:28 -04:00
Jason McBrayer
221a13c593
Revert "Add animated loading indicator for some links."
...
This reverts commit 0fd520b78b
.
2018-10-14 20:59:38 -04:00
Jason McBrayer
26cd95544a
Use non-depricated format for ready.
2018-10-14 20:31:47 -04:00
Jason McBrayer
c52307fc9d
But don't leave indicator hanging around on 'back'
2018-10-14 20:22:32 -04:00
Jason McBrayer
0fd520b78b
Add animated loading indicator for some links.
...
This is redundant on desktop and for full mobile browser interface,
but useful for minimal mobile browser PWA mode.
2018-10-14 20:14:18 -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
66e53837cf
Truncate file names in file upload buttons
2018-10-14 08:20:11 -04:00
Jason McBrayer
d860ae8513
Bump patch number for lightbox preference
2018-10-09 18:13:32 -04:00
Jason McBrayer
7b8c5dbb59
Add lightbox preference
2018-10-09 18:13:08 -04:00
Jason McBrayer
9bf48fab96
Bump minor version because of JS settings feature
2018-10-09 14:46:02 -04:00
Jason McBrayer
20818fca96
Reorganize options page and add some help text
2018-10-09 14:45:10 -04:00
Jason McBrayer
3acfcdd744
Use notifications setting
2018-10-09 13:17:29 -04:00
Jason McBrayer
2dfcd61989
Use click_to_load preference
2018-10-09 13:11:20 -04:00