Commit graph

127 commits

Author SHA1 Message Date
Henri Dickson
70b9e3b900
Support follow requests (#625) 2023-08-18 15:49:45 +09:30
Andrew Godwin
0c72327ab7 Fix state graph 2023-08-08 09:04:21 -06:00
Andrew Godwin
84703bbc45 Lay groundwork for moved identity state 2023-08-08 08:55:16 -06:00
Andrew Godwin
4a8bdec90c Implement inbound account migration 2023-07-22 11:46:35 -06:00
Andrew Godwin
759d5ac052 Fixed #616: Do followers-only properly 2023-07-22 10:38:22 -06:00
Andrew Godwin
188e5a2446 Remove all remaining async code for now 2023-07-17 00:37:47 -06:00
Andrew Godwin
0915b17c4b Prune some unnecessary async usage 2023-07-17 00:18:00 -06:00
Osma Ahvenlampi
1cc9c16b8c
Use 400 and 401 error codes as OAuth2 documents, accept 400 as webfinger error code (#597) 2023-07-10 10:19:20 -06:00
Andrew Godwin
709f2527ac Refresh identities half as frequently 2023-07-07 15:52:12 -06:00
Andrew Godwin
7f483af8d3 Rework Stator to use a next field and no async 2023-07-07 15:14:06 -06:00
Humberto Rocha
226a60bec7
Fix canonicalize (#590) 2023-06-24 08:53:42 -06:00
Humberto Rocha
9038e498d5
Fix identity metadata not properly propagating through AP (#589) 2023-06-22 17:09:19 -06:00
Christof Dorner
cec04e8ddb
Fixes various issues with pinned posts - continued (#581) 2023-05-15 11:36:33 -06:00
Christof Dorner
9bc18a1190
Fixes various issues with pinned posts (#580) 2023-05-15 10:54:32 -06:00
Andrew Godwin
888f4ad36c Move from index_together to indexes 2023-05-13 11:30:42 -06:00
Andrew Godwin
f5a3971ef8 Implement replies profile tab and boosts option 2023-05-13 11:07:57 -06:00
Andrew Godwin
1fb02b06e1 Fixed #577: Send bot property down API right 2023-05-13 06:00:48 -06:00
Christof Dorner
d6c9ba0819
Pinned posts (#561) 2023-05-13 10:01:27 -06:00
Andrew Godwin
8f57aa5f37
UI/Domains Refactor
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00
Andrew Godwin
f7948a55bf Actually do the right indexes in migrations 2023-02-03 22:24:28 -07:00
Andrew Godwin
a6922cb9d6 Move to a new HTML parser/stripper
This removes the use of the EOL'd Bleach, and also integrates hashtag,
mention and emoji searching into one single place.
2023-01-29 17:47:06 -07:00
Andrew Godwin
1670c92269 Send out emoji tags for identities 2023-01-28 11:01:42 -07:00
Andrew Godwin
ee3b51c28f Fix username display to yourself in clients 2023-01-19 16:34:49 -07:00
Michael Manfre
51ae78a33c
Downgrade most fetch related errors to capture_message (#443) 2023-01-19 13:14:55 -07:00
Andrew Godwin
cfb4975fdf Unlinkify profile values in edit fields 2023-01-19 10:30:42 -07:00
Andrew Godwin
57dfc330e0 Fix source for no bio 2023-01-15 16:29:11 -07:00
Andrew Godwin
de9261251e Fixed #421: Allow profile editing via API 2023-01-15 16:15:57 -07:00
Michael Manfre
1f44e93518
Handle servers that return wrong webfinger payload (#415) 2023-01-14 14:19:47 -07:00
Michael Manfre
18b50ce0e6
Silence a few common errors when fetching (#404)
Downgrade nodeinfo json error to a captured message
2023-01-13 10:53:02 -07:00
Andrew Godwin
fa688a5a73 Fixed #383: Render links in API metadata values 2023-01-11 22:04:03 -07:00
Humberto Rocha
ae74d65157
Fix identity not fetching emoji (#397) 2023-01-11 17:07:59 -07:00
Andrew Godwin
ecec5d6c0a Implement snowflake IDs for some models.
Still needs fixes to the client API paginator.
2023-01-08 18:05:29 -07:00
Andrew Godwin
f4a8a96b81 Add first-class deletion support to Stator 2023-01-08 12:43:52 -07:00
Corry Haines
be7ce6ed62
Improve /api/v1/accounts/{id}/statuses perf (#355) 2023-01-05 22:51:02 -07:00
Michael Manfre
f1fa4aa1e2
Ignore 406 response for webfinger and nodeinfo (#356) 2023-01-04 21:45:29 -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
ae12aadd38 Include actor URI in another error
Fixes #331
2022-12-31 13:53:21 -07:00
Andrew Godwin
13fc4b42de Handle Diaspora's XML webfinger 2022-12-31 11:13:51 -07:00
Michael Manfre
75c17c0766
Correctly handle response.raise_for_status() and guard search from bubbling parse errors (#322) 2022-12-30 01:02:33 -07:00
Michael Manfre
0250f2800b
Identity profile menus 2022-12-30 01:01:03 -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
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
f17f9df27e
Identity.by_username_and_domain has more awareness of Domain (#303) 2022-12-28 10:52:39 -07:00
Michael Manfre
c6c3914cc7
Include Identity metadata fields in ActivityPub messages (#295) 2022-12-27 17:42:30 -07:00
Michael Manfre
ca40a0d150
Set User-Agent and Accept for outbound requests (#293) 2022-12-27 16:50:39 -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
da00a67cb5 Don't double escape summary 2022-12-24 12:49:59 -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