Commit Graph

600 Commits

Author SHA1 Message Date
Andrew Godwin c3a60bbf13 Remove identity avatar fetching 2022-12-19 20:55:27 +00:00
Andrew Godwin 0dca7eae5f Implement API follow/unfollow
Fixes #198
2022-12-19 20:54:09 +00:00
Andrew Godwin c7409b3500 Get nginx to proxy stuff for us! 2022-12-19 07:26:38 +00:00
Andrew Godwin a26263fb05 Nginx now bundled in image, does media caching
Also serves static files. Old media caching removed.
2022-12-19 04:26:42 +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 ecde831e77 Sample way less transactions 2022-12-19 00:42:08 +00:00
Andrew Godwin 48174d84a4 Don't linkify mentions inside links 2022-12-19 00:27:05 +00:00
Andrew Godwin 5844b8c18c Emoji API should not need auth
Fixes #204
2022-12-19 00:13:13 +00:00
Tyler Kennedy cfa97b9740
Mitra Fixes (#207)
Don't send a list when populating Accept header. This seems to work fine on Mastodon and friends, and fixes a bug with the Mitra server until resolved upstream.
2022-12-19 11:21:04 +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 5e343d2129 Tweak to predictable image namer 2022-12-18 23:47:49 +00:00
Tyler Kennedy b5895e4d28
Stop saving infinite files. (#208)
Use a consistent name for Identity.icon as a quick fix to stop flooding object storage.
2022-12-19 10:53:13 +00:00
Andrew Godwin 5ba9ed6428 Allow signing content-length header 2022-12-18 16:12:57 -07: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
NaphalSec da3c0d5bbf
Add "AWS_S3_CUSTOM_DOMAIN" for S3 Media Backend CDN support 2022-12-18 14:04:46 -07:00
Andrew Godwin adf245b416 Follow webfinger redirects 2022-12-18 14:00:28 -07:00
Andrew Godwin 6cdcbcfab9 Remove test URL 2022-12-18 11:14:19 -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 5d6ff57b5f Don't include broken users in reply mentions
Fixes #192
2022-12-18 09:50:29 -07:00
Andrew Godwin bcd48368b5 Don't notify if we mention ourselves
Fixes #191
2022-12-18 09:48:18 -07:00
Andrew Godwin 90c7b615fd Move timelines to published date all around 2022-12-18 09:44:56 -07:00
Andrew Godwin 35102fbdd4 Merge timelineevent, urls and post type migration 2022-12-18 09:22:15 -07:00
Michael Manfre a408cbaa27
Post types (#182)
Initial support for Posts of type other than 'Note'. Render special Post types with templates.
2022-12-18 09:09:25 -07:00
Michael Manfre 86bc48f3e0
Add github action timeouts (#195) 2022-12-17 22:26:15 -07:00
Michael Manfre bb81f0e559
Process Identity metadata name same as value (#194) 2022-12-17 21:15:11 -07:00
Tyler Kennedy fc79551656
Increase the allowed size of URIs
Increase the allowed size of Post.object_uri and Post.url from 500 characters to a more reasonable 2048. See https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers.
2022-12-17 20:20:51 -07:00
Andrew Godwin b6a8737d2e Some more JSON-LD namespace fixing 2022-12-17 17:48:33 -07:00
Andrew Godwin c5e00a2c73 Switch ordering for domain default field 2022-12-17 17:17:59 -07:00
Andrew Godwin 2772ee7188 Let's use dev version numbers 2022-12-17 17:03:24 -07:00
Andrew Godwin 77ef358fef Allow markdown on signup text 2022-12-17 17:02:54 -07:00
Andrew Godwin 03929e12ea We got some stuff done! 2022-12-17 17:02:54 -07:00
Kromonos f02f1541ad
Implement lazy loading (#188) 2022-12-17 17:01:07 -07:00
Andrew Godwin 17d75c4797 Allow for attachments with no width/height
Fixes #186
2022-12-17 15:45:54 -07:00
Michael Manfre ea99f65c26
Icon and image for Identity could be a list 2022-12-17 15:42:29 -07:00
Andrew Godwin 24b5d08f9b Update all main pages to no-store 2022-12-17 15:35:22 -07:00
Andrew Godwin 4d71da7ae1 Allow for remote policy pages 2022-12-17 15:30:51 -07:00
Andrew Godwin d08324e159 Handle timeouts on image fetch 2022-12-17 15:00:50 -07:00
Andrew Godwin 64f113dd8d Receive inbound reports 2022-12-17 14:58:04 -07:00
Andrew Godwin e8d6dccbb2 Report function and admin 2022-12-17 14:45:31 -07:00
Andrew Godwin b3b2c6effd Shrink emoji in posts a little 2022-12-17 13:31:52 -07:00
Andrew Godwin 2eb07a5f5f Download and store user avatars locally if small 2022-12-17 12:53:13 -07:00
Andrew Godwin 24a4fbe1f8 Catch all possible request errors 2022-12-17 12:29:48 -07:00
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