Commit graph

971 commits

Author SHA1 Message Date
Corry Haines
a590427160
Render the Nginx config to a separate file (#273)
When writing the cache size to nginx config, write it to a
separate file so it doesn't confuse git status/commit.

By using a rendered file, we can ignore the output completely.
2022-12-26 10:40:37 -07:00
Corry Haines
b53504fe64
Basic OpenGraph support (#267)
Creates an OpenGraph template include in base.html including the basic tags expected on all pages.

Then allows any page to add additional expected tags via `context`.

Currently, profiles and posts are enriched to show complete opengraph metadata, and render correctly in Discord.

Note: This does not show posts in Slack like Twitter/Mastodon do. I believe this is due to Slack preferring oembed when present, which is a mastodon API endpoint we may need to create at some point.
2022-12-26 10:39:33 -07:00
Tyler Kennedy
dab8dd59a7
Fallback avatars in about 500 bytes. (#269)
Also create a new re-usable identity banner template. Fix super long handles (closes #270)
2022-12-26 10:14:23 -07:00
Andrew Godwin
d32a686eb1 Persist CWs in replies, expand linked at once
Fixes #268
2022-12-26 10:03:13 -07:00
Andrew Godwin
c9f7a06fe5 Fix notes on invites showing in list view 2022-12-26 09:43:00 -07:00
Michael Manfre
50c07f491e
Guard Post mentions processing from unfetched Identities (#272) 2022-12-25 14:37:31 -07:00
Michael Manfre
d2766860c5
Views that return fixed content only generate the content once (#271) 2022-12-25 14:26:15 -07:00
Michael Manfre
8ab0e97a86
Some servers send object as dict for PostInteraction and Follow (#261)
* Some servers send object as dict for PostInteraction and Follow

* Add core.ld.get_str_or_id helper
2022-12-24 21:24:46 -07:00
Michael Manfre
ab398758a9
Fixed mention linking with mixed case usernames (#265) 2022-12-24 21:04:25 -07:00
Andrew Godwin
da00a67cb5 Don't double escape summary 2022-12-24 12:49:59 -07:00
Andrew Godwin
365b9d49c6 Don't error when we don't have a parent post 2022-12-24 12:28:10 -07:00
Michael Manfre
834282cf54
Remove unused Post.linkify_mentions() (#263) 2022-12-24 15:01:16 -07:00
Andrew Godwin
e2ae2b2948 Releasing 0.6.0 2022-12-24 11:27:45 -07:00
Michael Manfre
a3764df6d6
Prettier debug json (#260) 2022-12-24 11:09:53 -07:00
Michael Manfre
5536397bdb
Prettier debug json (#260) 2022-12-24 11:05:07 -07:00
Andrew Godwin
4339b09dd4 Also catch empty host-meta 2022-12-24 10:56:49 -07:00
Andrew Godwin
a7bbbb5663 Also catch host-meta parse errors 2022-12-24 10:56:22 -07:00
Andrew Godwin
96e95da73f More 0.6 release prep 2022-12-24 10:50:24 -07:00
Andrew Godwin
087cb2a15f Rework post/event querysets to always fetch stuff 2022-12-24 10:50:01 -07:00
Andrew Godwin
a6c973337c Make load more button not do a refresh 2022-12-24 10:27:48 -07:00
Tyler Kennedy
801c807a2b
Simple user stylesheet support. (#258) 2022-12-24 07:28:39 -07:00
Andrew Godwin
cda7467802 Make debug JSON page better 2022-12-24 06:56:33 -07:00
Tyler Kennedy
2889d0f60a
Cap the maximum height of gallery images to 400px. Set object fit to center the image and then crop so they don't get distorted by aspect ratio changes. (#254) 2022-12-24 06:34:33 -07:00
Michael Manfre
c25da3a95f
Better djadmin Identity search (#253) 2022-12-24 06:34:15 -07:00
Andrew Godwin
f5d06d2656 Move wellness options inside Interface 2022-12-23 23:01:27 -07:00
Andrew Godwin
3187d4d180 Fix reaction counts hiding 2022-12-23 22:56:59 -07:00
Tyler Kennedy
b5be9b576d
Ux gallery tweaks (#252)
Tweaks to attachment CSS to show a better looking gallery view, video support
2022-12-23 22:54:03 -07:00
Andrew Godwin
ff32b521ae More small screen fixes 2022-12-23 22:52:20 -07:00
Andrew Godwin
2a79f34f8a Small screen and identity select styling
Fixes #236
2022-12-23 22:46:27 -07:00
Andrew Godwin
6be1e7df44 Make oauth screens plain as well 2022-12-23 22:34:33 -07:00
Michael Manfre
d88db5efbf
BunnyCDN doesn't return content-type (#251) 2022-12-23 22:17:43 -07:00
Michael Manfre
aca77314d1
Fixes #239 - Add option to hide Boost and Like counts (#247) 2022-12-23 22:16:26 -07:00
Michael Manfre
9fb18ac841
Identity background images can be relative (#250) 2022-12-23 21:57:50 -07:00
Andrew Godwin
043a41afd3 Allow turning debug toolbar on separately 2022-12-23 01:59:31 -07:00
Tyler Kennedy
5dcdee237c
Handle host-meta, which is required for webfinger, not optional. (#220) 2022-12-23 21:35:17 -07:00
Andrew Godwin
294095c592 Don't allow trailing period in mention
Fixes #249
2022-12-23 01:47:00 -07:00
Michael Manfre
c969ffc0d6
Ensure OAuth views are provided expected inputs (#246)
Thanks for the report Jochen!
2022-12-23 21:17:13 -07:00
Andrew Godwin
fd87a7cf08 More 0.6 notes 2022-12-23 00:48:15 -07:00
Andrew Godwin
699b6fc29e "Remove posts from front page" option 2022-12-22 14:16:08 -07:00
Andrew Godwin
af6ddcf8f1 Drive user timeline and RSS off a single service 2022-12-22 13:11:47 -08:00
Andrew Godwin
a058140d11 New "plain" page style for most logged out pages 2022-12-22 13:06:35 -08:00
Andrew Godwin
c890382b30 Fix some of that webfinger breakage 2022-12-22 10:43:53 -08:00
Andrew Godwin
01e944176c Add one more feature for 0.7 2022-12-22 18:27:26 +00:00
Andrew Godwin
a4ad5685db More docs updates 2022-12-22 18:10:47 +00:00
Andrew Godwin
f141e6a551 More docs for release prep 2022-12-22 18:03:01 +00:00
Andrew Godwin
dea6c1af9f Add header BG in compact mode 2022-12-22 17:23:59 +00:00
Andrew Godwin
e066641556 Accept emoji using nameMap 2022-12-22 17:19:12 +00:00
Tyler Kennedy
ec3047b304
Swap padding between the menu and its items to make them a little easier to click on mobile (#238) 2022-12-23 12:52:28 +00:00
Andrew Godwin
75f302910f Make home button visible again in thin mode 2022-12-22 17:00:37 +00:00
Andrew Godwin
025fd5cf07 Emoji refactor
Emojis are now prefetched from the post, and if not, looked up
individually by shortcode, to prevent loading hundreds.
2022-12-22 16:55:31 +00:00