Commit Graph

653 Commits

Author SHA1 Message Date
Michael Manfre 81fa9a6d34
Ignore badly formed ActivityPub object data (#406) 2023-01-13 13:44:43 -07:00
Michael Manfre cb66b9559d
Allow incoming Posts with Bookwyrm Edition tags (#405) 2023-01-13 13:43:37 -07:00
Michael Manfre fc8b5be4a0
Support future times with timedeltashort tag (#403) 2023-01-13 10:54:02 -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 e68158202e Fix signature typechecking 2023-01-11 11:00:18 -07:00
Andrew Godwin e20aea1b9c Fixed #393: Deal with errors unpacking focalPoint 2023-01-11 10:26:01 -07:00
Andrew Godwin d51a08ef8c Fixed #257: runstator exclude option 2023-01-10 20:44:45 -07:00
Andrew Godwin 113db4ab3a Fixed #376: Emoji admin page
Also did a new table style for admin pages
2023-01-10 20:31:50 -07:00
Andrew Godwin d6f558f89a Bump cryptography version 2023-01-10 17:23:51 -07:00
Corry Haines 28cfbf2ef5
Improve performance on /api/v1/timelines/home (#387)
Prefetch/select required fields for API version of home. Requires considerably more data than HTML version of home.
2023-01-10 17:16:54 -07:00
Steve Ivy 150cd9503d
Update Contributing docs to add docs on using make (#379)
Combine the "make" instructions with the
previous direct installation instructions, add
small section on using a locally-hosted
postgres.
2023-01-09 10:04:11 -07:00
TAKAHASHI Shuuji 0c1e51322f
Add djhtml to pre-commit check (#382) 2023-01-09 09:58:17 -07:00
Andrew Godwin 024d956e5e Handle old IDs coming in for pagination 2023-01-09 09:08:35 -07:00
TAKAHASHI Shuuji 4a1e375e3c
Add side margin to home and login page on small screen (#384) 2023-01-09 09:51:15 -07:00
Andrew Godwin 97d40912ed Fix pagination on home 2023-01-09 09:01:28 -07:00
Andrew Godwin fb881dd5de Fix tests and most of pagination 2023-01-08 23:06:33 -07:00
TAKAHASHI Shuuji 91116fe6f8
Fix image height overflow in the post with single image (#381) 2023-01-09 00:25:54 -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 0cfd0813f2 Fixed #365: Actually clear profile images on check 2023-01-08 14:47:44 -07:00
Andrew Godwin fa003e2be6 Save all animation frames if they make it through 2023-01-08 14:28:25 -07:00
Andrew Godwin 4bea1006b1 Only do the followed query if needed 2023-01-08 14:28:24 -07:00
Steve Ivy f16dcd04e4
Add Makefile targets for some common/useful development tasks (#358) 2023-01-08 14:01:14 -07:00
Andrew Godwin 4276260c2e Delete old fanouts after a day 2023-01-08 13:51:30 -07:00
Andrew Godwin a875dd7a54 Perform shared inbox delivery 2023-01-08 13:46:40 -07:00
Andrew Godwin f4a8a96b81 Add first-class deletion support to Stator 2023-01-08 12:43:52 -07:00
TAKAHASHI Shuuji b5b4a8ac5d
Move initial cursor place to the end for @mention reply (#375) 2023-01-08 12:22:45 -07:00
TAKAHASHI Shuuji c5c0e2bfe5
Fix no opacity transition issue of image viewer when first click (#374) 2023-01-08 12:20:33 -07:00
TAKAHASHI Shuuji d51f2883aa
Allow better keyboard navigation (#373) 2023-01-08 12:20:05 -07:00
Andrew Godwin eede9682b2 Only deliver posts to active follows 2023-01-08 10:36:44 -07:00
Corry Haines 20edb20563
Add debug environment and sentry experiment (#372)
The "debug" environment allows for an additional label in Sentry. I use this to isolate issues/traces only present on my server with DEBUG enabled, for faster development and tracing.

The sentry _experiments is a optional list of beta-grade experiments that Sentry is developing. Profile traces is one of those experiments, to adding it disabled by default. Developers can enable it with the provided setting.
2023-01-07 17:21:41 -07:00
Corry Haines d8cee4097f
Modify emoji loader for cache-optimized return value (#371)
Also fixes an apparent bug in `imageify_emojis.replacer` where `include_local` was not being used correctly (previous code path never returned anything.
2023-01-07 15:19:47 -07:00
Michael Manfre db186fcd73
Lookup nodeinfo url with /.well-known/nodeinfo (#367)
Fixes #364
2023-01-07 10:36:36 -07:00
TAKAHASHI Shuuji 35b14066a5
Adjust icon position on the right sidebar (#368) 2023-01-07 10:34:48 -07:00
TAKAHASHI Shuuji 925ff6edcd
Implement image viewer (#363) 2023-01-07 10:34:11 -07:00
TAKAHASHI Shuuji 326bdec94a
Fix left column height on small screen (#370) 2023-01-07 10:29:36 -07:00
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
Michael Manfre f1fa4aa1e2
Ignore 406 response for webfinger and nodeinfo (#356) 2023-01-04 21:45:29 -07:00
Michael Manfre 1768781fed
Fix typo in Domain.fetch_nodeinfo error handling string (#354) 2023-01-04 21:39:01 -07:00
Andrew Godwin 2da399db42 More permissive nodeinfo schema 2023-01-03 10:31:11 -07:00
Corry Haines 936bb81b45
Update ignore files for broader fly file usage (#353) 2023-01-04 16:43:53 -07:00
Corry Haines 9ae9e03b9d
Re-use page for interaction query (#351)
Original code caused the query on timeline to issue twice. Once to satisfy the interactions lookup (which had no LIMIT) and then again for the page (which had a LIMIT 25).

Presumably we want interactions for the paginated events, especially since the un-LIMITed query would become extremely inefficient.
2023-01-04 16:42:57 -07:00
Michael Manfre 69b0430819
Add custom_head config to inject HTML in to page <head> (#350) 2023-01-04 16:42:03 -07:00
Corry Haines 4547ed1c71
Enable HTTPX integration in Sentry (#352)
I don't know a whole lot about HTTPX, but it seems Sentry has an integration for it. Should it be enabled?
2023-01-04 16:41:27 -07:00
Michael Manfre 801fe2e58a
Add Domain.state with nodeinfo fetching (#347) 2023-01-04 16:40:16 -07:00
Andrew Godwin a7a292a84c Pagination styling and "max users" signup limit 2023-01-03 01:32:00 -07:00
Andrew Godwin 252737f846 Fix mastodon pagination to use returned IDs 2023-01-03 01:01:20 -07:00