Commit Graph

127 Commits

Author SHA1 Message Date
Ted Unangst 4c2d24a05c maybe works better if we set the magic directMessage flag 2019-05-28 03:54:03 -04:00
Ted Unangst 0faf2b0556 allow replying to private messages with private replies 2019-05-28 02:36:47 -04:00
Ted Unangst 233f80fa4a log excessive attachment separately 2019-05-25 14:34:46 -04:00
Ted Unangst dcc055ace1 cleanup images after 30 days if we don't need them 2019-05-25 13:34:41 -04:00
Ted Unangst 09b471b8de stop abusing rid for deletion, just use xid like normal 2019-05-21 19:32:43 -04:00
Ted Unangst fc4f13d9e0 the number of unreliable servers in the federation is too damn high! 2019-05-21 19:09:28 -04:00
Ted Unangst d8d439e596 consume activities in a goroutine other than the web handler 2019-05-21 18:51:04 -04:00
Ted Unangst d4d2483ee0 add better origin checks for all activities 2019-05-21 13:56:15 -04:00
Ted Unangst 18bb5dbd99 log reception of xonk 2019-05-20 10:53:16 -04:00
Ted Unangst 8fe575dcf3 reget bonks even when embedded 2019-05-20 10:51:15 -04:00
Ted Unangst 5e7ed058c1 user-agent for posts as well 2019-05-20 10:48:42 -04:00
Ted Unangst 24006757e0 rework honk to make local and remote about the same.
indicate the difference with a flag, not magic values in various columns.
2019-05-20 10:48:02 -04:00
Ted Unangst 90c7001e15 rework honk schema to store more information.
add original honker for bonks.
add separate precis field for summary.
add format to prepare for changing how html is saved.
2019-05-15 16:27:50 -04:00
Ted Unangst ed357653a8 some minor cleanup 2019-05-13 13:02:12 -04:00
Ted Unangst e10c9d801b support Page objects too 2019-05-13 09:36:28 -04:00
Ted Unangst 6be21e9f0b can cache fishing results in db 2019-05-10 18:18:32 -04:00
Ted Unangst f1b4c45088 try logging only unknown activities for a while 2019-05-07 20:55:11 -04:00
Ted Unangst adcc0a1339 don't leave attachment linkage in db after deletion in case id is reused 2019-05-05 13:52:46 -04:00
Ted Unangst af849f4371 switch image code to webs 2019-05-04 18:05:15 -04:00
Ted Unangst 996cd76baa the danger zone 2019-05-04 12:28:00 -04:00
Ted Unangst bf18145db8 zonking of bonking 2019-05-03 14:43:08 -04:00
Ted Unangst 90a6e0f7c3 people really want to believe that deletion can work.
i think it's dangerous to perpetuate this belief,
but i'm not interested in being the internet archive either.
2019-05-03 13:42:39 -04:00
Ted Unangst 64d9c67c35 more than 4 attachments seems execessive, leave the rest off. 2019-05-01 23:13:00 -04:00
Ted Unangst dee1eda34e pixelfed sends attachments as Image.
as most implementations probably should actually.
2019-05-01 14:25:06 -04:00
Ted Unangst 99c41825ed more context about xonks we're ignoring 2019-04-30 15:51:09 -04:00
Ted Unangst ef7880cadc rework xonk saving to avoid crawling threads we won't ever save 2019-04-29 14:06:34 -04:00
Ted Unangst 370268399d convert a few one off db queries to statements 2019-04-28 22:48:46 -04:00
Ted Unangst cd7626a515 save links to the external attachments we don't want to save 2019-04-28 22:28:59 -04:00
Ted Unangst 46cc488d19 set a user-agent 2019-04-28 17:30:32 -04:00
Ted Unangst b0b0ad21df bloaty pig posters and their images of unusual size 2019-04-26 17:01:17 -04:00
Ted Unangst 6ce45d2f23 expansive search of the federation did not reveal any signs of intelligent gifs 2019-04-26 15:46:55 -04:00
Ted Unangst 2a0c9e5082 take me off this list!!! 2019-04-26 15:31:42 -04:00
Ted Unangst 4da06786e9 clemency for the sinners. allow pardon of zonkers. 2019-04-26 15:11:24 -04:00
Ted Unangst 9e726bde40 few more improvements to blocking 2019-04-26 09:35:22 -04:00
Ted Unangst 5183a83124 if an emu doesn't have a type, make a png 2019-04-25 14:18:33 -04:00
Ted Unangst a1445cb118 crawl up reply chain looking for oneups 2019-04-25 13:23:18 -04:00
Ted Unangst bf634b8224 don't fetch bonks if we already have them 2019-04-25 01:18:39 -04:00
Ted Unangst 99d89bb62c sometimes the honk is inside the bonk! 2019-04-25 00:50:41 -04:00
Ted Unangst 23cea380b0 add empty follow collections 2019-04-25 00:35:19 -04:00
Ted Unangst d728004cad only delete honks for user that receives deletion 2019-04-24 17:34:58 -04:00
Ted Unangst e28d07968d requesting bonks with the old activity name may work better 2019-04-23 15:58:13 -04:00
Ted Unangst 4e9987abca if content doesn't start with <p>, make it so 2019-04-22 15:05:44 -04:00
Ted Unangst 30e1657d7a start saving boxes in the db 2019-04-20 11:38:16 -04:00
Ted Unangst 770e57797e @me page just for me 2019-04-20 11:17:00 -04:00
Ted Unangst e8c5a307ce sigh. need to defer mentionize to avoid collecting our own html 2019-04-19 23:23:22 -04:00
Ted Unangst d75cbe1c3d prefer the activitypub context name for conversation 2019-04-19 12:48:44 -04:00
Ted Unangst 7219332e0a a convoy is a whole fleet of honks, coming at ya 2019-04-19 11:50:35 -04:00
Ted Unangst b5249fd53d schema updates for future changes. xonkers, zonkers, and convoys, oh my. 2019-04-19 11:08:22 -04:00
Ted Unangst 1417812419 201 is an ok status too 2019-04-18 16:09:10 -04:00
Ted Unangst d542796944 i think we're ready to try delivery in parallel 2019-04-16 20:22:16 -04:00
Ted Unangst 3dfe29724a don't try looking up boxes concurrently 2019-04-16 20:20:42 -04:00
Ted Unangst 3d0cb6c737 refine delivery some more 2019-04-16 20:14:24 -04:00
Ted Unangst 28a39e7f23 the delete object may also be just the id string 2019-04-16 15:09:57 -04:00
Ted Unangst ca85e502d2 oops, sharedInbox is hiding under endpoints 2019-04-16 14:47:08 -04:00
Ted Unangst 6ec4352d69 use shared inbox for delivery 2019-04-16 14:40:23 -04:00
Ted Unangst 3a03baf1de allow zonking of anything, but be clear that disavow is not delete 2019-04-15 16:18:38 -04:00
Ted Unangst 1fb1523f54 change finger accept type to yet another mime 2019-04-15 10:27:36 -04:00
Ted Unangst 7b12715d1e allow plaintext attachments 2019-04-15 10:04:41 -04:00
Ted Unangst efbd541381 small logging fix 2019-04-14 22:53:26 -04:00
Ted Unangst 7152549c99 add a null summary to please plemora 2019-04-14 21:38:47 -04:00
Ted Unangst b24f484a84 further prep for retries 2019-04-14 15:57:14 -04:00
Ted Unangst 8bb2a31118 we always need to be eradicated xonks 2019-04-14 13:38:05 -04:00
Ted Unangst 2436a76b7e don't cache box lookup failure. don't hold lock for too long. 2019-04-14 13:23:27 -04:00
Ted Unangst 1acb85d047 we can ignore incoming xonks that originated as self 2019-04-14 10:15:47 -04:00
Ted Unangst 68c465c4ad reduce duplicate bonks received slightly 2019-04-14 10:10:08 -04:00
Ted Unangst 5d340cd1ab rework deliveration to prepare for retries 2019-04-14 10:06:26 -04:00
Ted Unangst a21eccc71c oops, want summary, not context x2 2019-04-13 19:36:50 -04:00
Ted Unangst 7f7f8390ff remove unused function 2019-04-13 16:00:21 -04:00
Ted Unangst d52111ca8e looks like we can just treat article as a long note 2019-04-13 15:57:25 -04:00
Ted Unangst c163c74499 aesthetic shuffling of the deck chairs 2019-04-13 13:58:42 -04:00
Ted Unangst df1f73f45e if the summary isn't blank, add it to the content 2019-04-13 13:21:32 -04:00
Ted Unangst 02da8c739a better herding of emus 2019-04-13 12:32:24 -04:00
Ted Unangst f472979b2d custom emus 2019-04-12 15:02:56 -04:00
Ted Unangst 9a0b9a90bf can improve efficiency of dedupe slightly without much complication 2019-04-11 11:11:30 -04:00
Ted Unangst 8d966a1d50 try to get original audience for remote replies 2019-04-11 10:44:50 -04:00
Ted Unangst 21024fcd56 sign the content-type instead of content-length 2019-04-10 19:54:46 -04:00
Ted Unangst 7420c88f84 maybe 0.1 2019-04-09 07:59:33 -04:00