Commit Graph

355 Commits

Author SHA1 Message Date
Andrew Godwin 1f28361fd9 Return unreviewed emoji in API correctly 2022-12-17 12:20:00 -07:00
Andrew Godwin 0fa5522e6a Handle delete.note as well as delete.tombstone 2022-12-17 12:18:04 -07:00
Andrew Godwin 256ebe56d5 Don't download files with no content-length 2022-12-17 12:16:37 -07:00
Andrew Godwin 5bbcc0f6c3 Add AP output to emoji admin 2022-12-17 12:07:13 -07:00
Andrew Godwin 62f2b867b9 Fix serving of system actor
Fixes #183
2022-12-17 12:00:47 -07:00
Andrew Godwin d7ffb47fb2 Make emoji better on the wire 2022-12-16 22:20:58 -07:00
Andrew Godwin 606c628343 Fanout admin improvements 2022-12-16 21:51:16 -07:00
Andrew Godwin cc3c3d9816 404 deleted posts 2022-12-16 21:32:08 -07:00
Andrew Godwin 23a3f7e9d2 Flatpage styling 2022-12-16 21:27:55 -07:00
Andrew Godwin a7d389020a Handle undos of missing posts 2022-12-16 20:17:19 -07:00
Andrew Godwin f262f582cb Ooh, ooh, ignore server errors too 2022-12-16 20:14:44 -07:00
Andrew Godwin 108afaf6ce We don't care about 404 errors quite as much 2022-12-16 20:14:02 -07:00
Andrew Godwin 727b357744 Fan out replies to the original author's followers
Fixes #64
2022-12-16 20:11:07 -07:00
Andrew Godwin e5b76c120e Fetch emoji for user profiles 2022-12-16 20:04:28 -07:00
Andrew Godwin 4a28e1708e Make the collectstatic hack slightly better 2022-12-16 19:51:19 -07:00
Andrew Godwin 770f6728f6 Fix mastodon LD namespace
Fixes #179
2022-12-16 19:45:39 -07:00
Andrew Godwin 12567f6891 Identity admin/moderation 2022-12-16 19:42:48 -07:00
Andrew Godwin c588567c86 Add follow times 2022-12-16 17:39:10 -07:00
Andrew Godwin be377653fe Fix inbound/outbound links 2022-12-16 17:32:04 -07:00
Andrew Godwin 00795f119e Split Follows page into two types
This overcomes the query problem of pulling a combined list
2022-12-16 17:24:56 -07:00
Gabriel Rodríguez Alberich fb2eea956e
Several pagination improvements (#170)
Home/Notification gets pagination, Follows becomes ListView
2022-12-16 17:06:29 -07:00
Andrew Godwin 45c6978bc3 User admin and LD schema fixes 2022-12-16 16:38:52 -07:00
Andrew Godwin 1bcdff79e7 Fix hashtag linking and API mentions of empty 2022-12-15 19:26:06 -07:00
Andrew Godwin e0f1bb629c URLs can be empty too 2022-12-15 19:10:50 -07:00
Andrew Godwin faca9224ed Handle API identities with no name 2022-12-15 18:59:04 -07:00
Andrew Godwin c0cd5a5553 Some hashtag json-ld fiddling 2022-12-15 18:58:11 -07:00
Andrew Godwin 31dc08ad0d Add hashtags to post objects 2022-12-15 17:00:00 -07:00
Andrew Godwin 3907a10d2e Make emoji picker work on client apps 2022-12-15 16:50:30 -07:00
Michael Manfre 134bacd7ba
Update docker to python 3.11.1 (#174) 2022-12-15 16:36:43 -07:00
Andrew Godwin bce7add2b4 Fix login form errors not appearing
Fixes #175
2022-12-15 16:24:06 -07:00
Andrew Godwin 1a7ffb4bff Add a big warning to secret_key now it's important 2022-12-15 16:02:37 -07:00
Andrew Godwin f55a00ecef Start documenting 0.6 changes 2022-12-15 15:57:29 -07:00
Andrew Godwin 9ad9bdd936 Implement post rate limits, move to signed cookies
Also improve the test harness a little
Fixes #112
2022-12-15 15:55:33 -07:00
Andrew Godwin 612ab4bcdf Fix stator test fixture 2022-12-15 13:48:24 -07:00
Andrew Godwin 13fd3785f2 Handle updates for already deleted posts 2022-12-15 13:47:12 -07:00
Andrew Godwin c5f52581c9 Fix collectstatic 2022-12-15 12:30:23 -07:00
Andrew Godwin 1130c23b1e Stator stats overhaul
Removes the error table, adds a stats table and admin page.
Fixes #166
2022-12-15 12:26:44 -07:00
Andrew Godwin 5e912ecac5 Fix outbound emoji federation 2022-12-15 12:26:44 -07:00
TAKAHASHI Shuuji 61fbda0ebf
Set the correct `Content-Type` header for static WebP images (#171) 2022-12-15 10:31:25 -07:00
Andrew Godwin 2131b40ce0 Fix doc lint 2022-12-15 10:15:17 -07:00
Andrew Godwin 525deb4418 Fix tests with no static collection 2022-12-15 10:09:35 -07:00
Michael Manfre af3142ac3a
Basic Emoji suppport (#157) 2022-12-15 00:50:54 -07:00
Andrew Godwin 69f1b3168a Improve cacheability 2022-12-15 00:43:39 -07:00
Andrew Godwin e0053b69de
Hammer home CDN more 2022-12-14 23:48:28 -07:00
Andrew Godwin 3dc28ea9f2 Fix gs:// settings schema 2022-12-14 21:43:24 -07:00
Andrew Godwin 16005e14ef Make GCS backend handle webp right, and use gs://
Fixes #164
2022-12-14 21:21:18 -07:00
Kromonos 5d8b8212cc
Add a small margin (#167) 2022-12-14 12:46:56 -07:00
Gabriel Rodríguez Alberich 8db05bed95
Prevent n+1 queries when rendering timelines (#165)
The linkify_mentions function is traversing the post's mentions, so
better prefetch those.
2022-12-14 10:16:22 -07:00
Gabriel Rodríguez Alberich d1ce056288
Show follows and following counts on profile page
And let their visibility be configured
2022-12-14 10:15:46 -07:00
Tyler Kennedy 0d8b7db272
Set the content type and disposition of webp files uploaded to S3 2022-12-13 23:26:19 -07:00