Commit Graph

238 Commits

Author SHA1 Message Date
Ted Unangst 44d75b3a55 allow cleanup for shorter durations 2019-06-11 14:46:42 -04:00
Ted Unangst 889026e80d push the junky json code out a little more 2019-06-11 10:14:12 -04:00
Ted Unangst d76dc7bf98 rework all the follow stuff a bit 2019-06-10 23:57:03 -04:00
Ted Unangst 6ee7cbcf24 xzone to start importing external content 2019-06-10 22:28:09 -04:00
Ted Unangst 4b86ec5962 update of person is frequent and useless 2019-06-10 14:50:26 -04:00
Ted Unangst b0b12e5a6f add an about page 2019-06-08 15:31:00 -04:00
Ted Unangst 05f2f11525 add a reduce command to eliminate pic posters 2019-06-08 14:26:30 -04:00
Ted Unangst 72a92a992c hoot support! 2019-06-05 03:52:56 -04:00
Ted Unangst f4b8fd8b97 better image toolkit for prettier screenshots 2019-06-05 02:13:01 -04:00
Ted Unangst ed0c28b6a2 dig into actor url to verify id 2019-06-03 03:20:03 -04:00
Ted Unangst cb901a727c split handle and username into two fields 2019-06-03 00:22:00 -04:00
Ted Unangst f29f31d32c less awkard use of xonkers table 2019-06-03 00:15:06 -04:00
Ted Unangst c6cef9e79e preserve threads we've participated in 2019-06-02 20:52:16 -04:00
Ted Unangst d000b6da8b ouch, bonks need to be public or they don't go anywhere 2019-06-02 15:13:19 -04:00
Ted Unangst 10f35f7eb0 only pull in hidden audience if public 2019-06-02 02:36:10 -04:00
Ted Unangst 06b22605cb killing is mean. zonking is nicer. 2019-06-01 22:58:46 -04:00
Ted Unangst 9c265b9f14 faster and simpler cleanup by deleting everything older than 30 days 2019-05-31 03:43:08 -04:00
Ted Unangst 759f922736 memes 2019-05-31 00:24:18 -04:00
Ted Unangst d3e480d6fc zword zonking 2019-05-30 18:29:59 -04:00
Ted Unangst 2fdd553d8e even if we don't save the file, save a donk 2019-05-28 04:23:36 -04:00
Ted Unangst 014ceea415 don't cleanup private files either 2019-05-28 04:00:58 -04:00
Ted Unangst 0faf2b0556 allow replying to private messages with private replies 2019-05-28 02:36:47 -04:00
Ted Unangst 8cd2d1c9fa rework honkers page some 2019-05-26 16:04:39 -04:00
Ted Unangst e05c112af4 make sure we don't zap our own files 2019-05-25 14:44:40 -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 4e18304369 delete dead threads when cleaning up 2019-05-22 15:49:31 -04:00
Ted Unangst 5c06453f53 discouraged adduser command 2019-05-22 15:11:39 -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 f55e212238 cleanup command to collect database garbage 2019-05-21 14:06:17 -04:00
Ted Unangst d4d2483ee0 add better origin checks for all activities 2019-05-21 13:56:15 -04:00
Ted Unangst a11ab06762 the original should be the original original where possible 2019-05-20 18:30:29 -04:00
Ted Unangst ee6ec4896e remove dead code chunk 2019-05-20 12:01:15 -04:00
Ted Unangst 73e5d9ce3a fix finding one honk 2019-05-20 11:48:37 -04:00
Ted Unangst c7cca54c35 oops, fix XID for honks 2019-05-20 11:41:23 -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 1f3e7a8479 use htfilter from webs 2019-05-17 19:37:43 -04:00
Ted Unangst cead81bccb homepage change: only followed honkers shown, allow silence with -. 2019-05-17 17:53:06 -04:00
Ted Unangst 098e5bd200 we're only saving oonker for bonks 2019-05-16 11:44:52 -04:00
Ted Unangst 8d4bfcc627 rss links are permalinks 2019-05-16 00:49:13 -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 94fd2347c9 rework some account stuff, change passwords 2019-05-14 19:18:29 -04:00
Ted Unangst ed357653a8 some minor cleanup 2019-05-13 13:02:12 -04:00
Ted Unangst eed4d3b421 when showing a single honk, include some others for context 2019-05-13 13:00:56 -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 f722e168ca will need donks for bonks, too 2019-05-05 14:08:27 -04:00
Ted Unangst 6d0a5590a4 that was dumb. fix compilation. 2019-05-05 14:06:29 -04:00
Ted Unangst 8143593f8c only need to load donks in one case of getxonk 2019-05-05 14:03:12 -04:00
Ted Unangst 2b390a6b92 just public audience for bonks 2019-05-05 14:01:34 -04:00
Ted Unangst a8c24583ea not sure what the right data range is, but make it a week 2019-05-05 13:54:13 -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 a9d5bb35e9 use webs/rss now 2019-05-04 22:56:58 -04:00
Ted Unangst af849f4371 switch image code to webs 2019-05-04 18:05:15 -04:00
Ted Unangst d121408464 don't index into empty string 2019-05-04 17:47:17 -04:00
Ted Unangst 18821eb09b don't sort by date, causes unpredictable insertions with new arrivals. 2019-05-03 17:30:44 -04:00
Ted Unangst f298f545bd date limit more queries to reduce response size 2019-05-03 15:28:56 -04:00
Ted Unangst bf18145db8 zonking of bonking 2019-05-03 14:43:08 -04:00
Ted Unangst 5ef64966f3 don't address to followers while the posts go on the wrong timelines 2019-05-03 14:09: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 36b3f6e1e1 quick add a list of all combos 2019-04-30 18:48:13 -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 f5db025ebd rename all the view functions to show 2019-04-29 13:32:16 -04:00
Ted Unangst 8aed2d59ab move templates code into another project 2019-04-29 13:15:14 -04:00
Ted Unangst bf505478ce only allow big M to forge new content 2019-04-28 23:26:12 -04:00
Ted Unangst 370268399d convert a few one off db queries to statements 2019-04-28 22:48:46 -04:00
Ted Unangst ab8d03ffef oops, need one more param for queries now 2019-04-28 20:51:12 -04:00
Ted Unangst 0b114ead3e more consistent thread kill 2019-04-28 18:57:43 -04:00
Ted Unangst 5c47dbfc04 limit all honk queries to 250 2019-04-28 18:52:50 -04:00
Ted Unangst 27980a7dca indicate received honks that aren't fully public 2019-04-28 18:41:10 -04:00
Ted Unangst b0b0ad21df bloaty pig posters and their images of unusual size 2019-04-26 17:01:17 -04:00
Ted Unangst 20b67a8030 make sure to update the right honker 2019-04-26 16:27:29 -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 c9075e46ff add more kill controls 2019-04-26 09:07:13 -04:00
Ted Unangst 02f1ae8221 expand rid to full when we save the reply 2019-04-25 13:10:26 -04:00
Ted Unangst bf634b8224 don't fetch bonks if we already have them 2019-04-25 01:18:39 -04:00
Ted Unangst 4441d906f6 can only follow users, not anything else 2019-04-25 00:59:20 -04:00
Ted Unangst 986ae581fc go fmt 2019-04-25 00:49:40 -04:00
Ted Unangst 23cea380b0 add empty follow collections 2019-04-25 00:35:19 -04:00
Ted Unangst 723efee364 the login code lives in a library now 2019-04-24 23:57:01 -04:00
Ted Unangst d728004cad only delete honks for user that receives deletion 2019-04-24 17:34:58 -04:00
Ted Unangst b49520582e provide more info on pages 2019-04-24 03:16:43 -04:00
Ted Unangst f939082d8a allow viewing public part of a convoy 2019-04-24 03:04:20 -04:00
Ted Unangst 7fb565851e combine common query fragments 2019-04-24 02:52:08 -04:00
Ted Unangst 84bab001d3 link to get all the honks in a convoy 2019-04-24 02:37:36 -04:00
Ted Unangst 8f12af0612 all honk operations on all the pages 2019-04-23 16:48:25 -04:00
Ted Unangst af961c701c start consolidating templates 2019-04-23 11:22:31 -04:00
Ted Unangst 86764b327f allow resigned content from trusted honkers.
but keep a log of their deceptions.
2019-04-23 11:02:43 -04:00
Ted Unangst cf9a144a6c add combos for the micromanagement of friends 2019-04-22 17:03:55 -04:00
Ted Unangst 0bc4ea427f put some routes in the right subrouter 2019-04-22 16:14:32 -04:00
Ted Unangst 99abc6a0e9 add the killzone for fine grained management of enemies 2019-04-22 13:08:35 -04:00
Ted Unangst 6cbbc38a4d signature failure fix: makeitworksomehowwithoutregardforkeycontinuity 2019-04-20 16:12:41 -04:00
Ted Unangst 3cf015d636 the trouble with liking things is you change your mind and then
my log fills up with undo commands
2019-04-20 11:50:01 -04:00
Ted Unangst 770e57797e @me page just for me 2019-04-20 11:17:00 -04:00
Ted Unangst 58c0db0296 no rows is not an error 2019-04-19 23:00:46 -04:00
Ted Unangst 2442bcebd4 userid for thread kill query 2019-04-19 22:40:13 -04:00
Ted Unangst 6d18b97b62 dost thou bite thy thumb at me? 2019-04-19 22:35:21 -04:00
Ted Unangst 6283a96e4d don't show honks from zonvoys 2019-04-19 22:10:58 -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 ff0e899b7a don't need to fill saved inbox with boring noise 2019-04-18 16:39:29 -04:00
Ted Unangst 52f93b3534 make extra sure emus don't slip out as attachments 2019-04-18 16:34:51 -04:00
Ted Unangst d067bebbd2 i guess this should be nosniff? 2019-04-17 12:32:50 -04:00
Ted Unangst 61b91a84f1 speed up the home page 2019-04-16 22:26:17 -04:00
Ted Unangst c4b14dd513 add some caching times willy nilly 2019-04-16 22:23:50 -04:00
Ted Unangst 6ec4352d69 use shared inbox for delivery 2019-04-16 14:40:23 -04:00
Ted Unangst 8da5d74c31 print the failing statement 2019-04-16 11:16:43 -04:00
Ted Unangst a5f21922e9 don't hold mutex across net calls 2019-04-15 23:54:29 -04:00
Ted Unangst 7cb9c093c0 introduce some variation to caching to stagger refresh 2019-04-15 20:52:24 -04:00
Ted Unangst 2a06f69aa0 can use prepend here 2019-04-15 18:03:36 -04:00
Ted Unangst fd632ab1d4 xid failure should just panic 2019-04-15 18:01:30 -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 91678975d0 update rss for some recent changes 2019-04-15 10:56:43 -04:00
Ted Unangst 7b12715d1e allow plaintext attachments 2019-04-15 10:04:41 -04:00
Ted Unangst 4f58ceb491 we know what like is, we just don't like it 2019-04-14 22:57:00 -04:00
Ted Unangst bf323bd0e5 the spice must flow. redeliverate with extreme prejudice. 2019-04-14 21:35:42 -04:00
Ted Unangst 4e223b7922 eliminate repeated error tests 2019-04-14 17:09:08 -04:00
Ted Unangst 85e3d2a71a behold the pristine beauty of dbversion 1 2019-04-14 16:43:03 -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 da61c262ec maybe try limiting results to two days worth 2019-04-13 23:04:17 -04:00
Ted Unangst b867a2bba3 clean up honk queries some 2019-04-13 22:57:16 -04:00
Ted Unangst c163c74499 aesthetic shuffling of the deck chairs 2019-04-13 13:58:42 -04:00
Ted Unangst 02da8c739a better herding of emus 2019-04-13 12:32:24 -04:00
Ted Unangst 106edfb77d save our own emus so they appear in web view 2019-04-12 15:26:29 -04:00
Ted Unangst 80f8f9b935 allow _ in names too 2019-04-12 15:18:18 -04:00
Ted Unangst f472979b2d custom emus 2019-04-12 15:02:56 -04:00
Ted Unangst 75cd95d751 allow overriding css with local.css. from qbit@bsd.network 2019-04-12 13:12:18 -04:00
Ted Unangst 272be9d0bd a ping extension to hlp debug network problems 2019-04-12 12:32:07 -04:00
Ted Unangst 8d966a1d50 try to get original audience for remote replies 2019-04-11 10:44:50 -04:00
Ted Unangst fde8a2d085 don't crash if xonk not found during reply 2019-04-11 10:30:53 -04:00
Ted Unangst 659d2b9ebc last-modified caching interferes with debug 2019-04-11 10:05:37 -04:00
Ted Unangst 53aa979d5b fix handle extraction if no match found 2019-04-10 21:26:15 -04:00
Ted Unangst d3b4e07565 reply with 304 if there's no new content to save some traffic 2019-04-10 19:25:32 -04:00
Ted Unangst 9f5569c518 only looking for type key when querying keyname 2019-04-10 18:42:22 -04:00
Ted Unangst 7420c88f84 maybe 0.1 2019-04-09 07:59:33 -04:00