Corry Haines
be7ce6ed62
Improve /api/v1/accounts/{id}/statuses perf ( #355 )
2023-01-05 22:51:02 -07:00
Michael Manfre
1425ae0bde
Update emoji for domain when shortcode doesn't match uri ( #359 )
2023-01-05 19:57:57 -07:00
Michael Manfre
af47e9dfd6
Guess Post attachment mimetype when 'mediaType' field not provided ( #360 )
2023-01-05 19:48:03 -07:00
Andrew Godwin
e1363f0dac
Authors should also see their own posts
2023-01-02 17:21:56 -07:00
Andrew Godwin
110ae452b6
Hide individual posts if people can't see them
2023-01-02 17:15:38 -07:00
Michael Manfre
5f1d7b5253
Add indexes for Stator and some of its common tasks ( #332 )
2023-01-01 10:58:13 -07:00
Andrew Godwin
b522f43ffc
Improve interaction fanout
2022-12-31 14:47:46 -07:00
Andrew Godwin
15159418df
Handle CW classes for non-ascii characters
...
Fixes #337
2022-12-31 13:52:30 -07:00
Andrew Godwin
0fc8ff4965
Move like/boost/reply counts onto Post model
2022-12-31 13:52:30 -07:00
Cosmin Stejerean
eea83214cb
Option to show/hide boosts for a followed user ( #317 )
2022-12-30 15:03:11 -07:00
Andrew Godwin
011c51b3c4
Implement progressive thread parent fetching
2022-12-30 11:48:42 -07:00
Andrew Godwin
d3fd365a37
Add boost JSON
...
(also fix hashtag URLs)
Fixes #313
2022-12-29 10:53:31 -07:00
Corry Haines
165d84abbf
Fixes developed from mypy_django script ( #312 )
2022-12-29 10:35:14 -07:00
Tyler Kennedy
cc7824394b
Fixes for the Toot! client ( #248 ) ( #275 )
...
* Various Toot! fixes
* Use a fallback 1x1 pixel image for missing headers, same as Mastodon. The header and header_static are _not_ optional nor nullable according to the spec.
* Try removing some fields which probably shouldn't be set.
* Pagination with next/prev.
2022-12-29 10:31:32 -07:00
Andrew Godwin
b03d9f0e12
Handle deletions of post URIs
...
Fixes #306
2022-12-28 22:47:28 -07:00
Andrew Godwin
6137149f55
Improve cache busting proxy URLs with file exts
...
Fixes #287 .
2022-12-28 11:57:54 -07:00
Corry Haines
296780d5cc
Use cache-busting URLs for proxied files ( #294 )
...
Migrates (in a backwards-compatible way) from `/proxy/identity_image/271/` to `/proxy/identity_image/271/f5d8e72f2b/`.
dently).
2022-12-28 11:39:40 -07:00
Michael Manfre
4df4f19856
Remove unneeded join from Post to Identity ( #301 )
2022-12-28 11:14:41 -07:00
Andrew Godwin
e38e985e73
Fall post URLs back to their ID
...
Fixes #302
2022-12-28 11:12:40 -07:00
Michael Manfre
cf8c5476e6
Hashtag stats are only computed when a Post is edited or updated ( #299 )
2022-12-27 19:42:38 -07:00
Michael Manfre
26f64bfc06
Guess emoji mimetype if not provided in tag ( #298 )
2022-12-27 19:41:16 -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
Andrew Godwin
d32a686eb1
Persist CWs in replies, expand linked at once
...
Fixes #268
2022-12-26 10:03:13 -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
834282cf54
Remove unused Post.linkify_mentions() ( #263 )
2022-12-24 15:01:16 -07:00
Andrew Godwin
087cb2a15f
Rework post/event querysets to always fetch stuff
2022-12-24 10:50:01 -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
294095c592
Don't allow trailing period in mention
...
Fixes #249
2022-12-23 01:47:00 -07:00
Andrew Godwin
e066641556
Accept emoji using nameMap
2022-12-22 17:19:12 +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
Andrew Godwin
79fd800a78
Accept objects with contentMap only
2022-12-22 05:29:49 +00:00
Andrew Godwin
02f942f1ad
Add boost/like count to more timelines
2022-12-22 04:27:02 +00:00
Michael Manfre
ed83726247
Identity fanout ( #196 )
2022-12-21 17:13:39 +00:00
Andrew Godwin
3b3285964e
Fix inbound/outbound targeting
2022-12-20 14:20:11 +00:00
Andrew Godwin
51d34eda9c
Significantly better hashtag link parsing
...
Fixes #203
2022-12-20 13:55:14 +00:00
Andrew Godwin
4ad4f468a4
Refactor HTML rendering into one place
...
Also suppress using external <a> tags for now, until we can separate
them from hashtags properly.
2022-12-20 11:39:45 +00:00
Andrew Godwin
db3fc7c53c
Fetch actors with posts when needed
...
Fixes #190 , #205
2022-12-20 10:17:52 +00:00
Andrew Godwin
9067caf9a3
Add expanded post context
...
Fixes #120
2022-12-20 09:59:06 +00:00
Andrew Godwin
e28294c81a
Hashtag admin simplification
2022-12-20 09:16:03 +00:00
Andrew Godwin
f4f575d22f
Type and fanout fixes
2022-12-20 07:01:30 +00:00
Andrew Godwin
985bb95aca
Add error states, use for fanout
2022-12-20 06:23:50 +00:00
Andrew Godwin
3de188e406
Fix Accept header and supply actor outbox
...
Should help with Mitra among others. Refs #207 .
2022-12-19 02:47:35 +00:00
Andrew Godwin
48174d84a4
Don't linkify mentions inside links
2022-12-19 00:27:05 +00:00
Andrew Godwin
3544aa0c8b
Don't use domain on hashtags for local disp
...
Fixes #200
2022-12-19 00:05:58 +00:00
Andrew Godwin
9e2092c4b2
Fix new focalpoint parsing
2022-12-18 14:16:26 -07:00
Andrew Godwin
bfe015ebd8
Don't worry about interactions on dead posts
2022-12-18 14:14:49 -07:00
Andrew Godwin
58e11ae3b6
Debug JSON view, json fixes
2022-12-18 11:00:21 -07:00
Andrew Godwin
770aa1531a
Do actual ISO date parsing
...
Fixes #187
2022-12-18 10:45:32 -07:00
Andrew Godwin
b8dca2b71f
Do not allow posts from blocked domains in
...
Fixes #172
2022-12-18 09:58:43 -07:00
Andrew Godwin
bcd48368b5
Don't notify if we mention ourselves
...
Fixes #191
2022-12-18 09:48:18 -07:00