Commit Graph

297 Commits

Author SHA1 Message Date
Ted Unangst 956af445ae allow acking a honk 2019-08-16 15:35:12 -04:00
Ted Unangst 840224e3b9 schema change to add flags to honks 2019-08-16 15:13:33 -04:00
Ted Unangst 55f4c74ed0 include bonked posts in honker listing 2019-08-16 01:26:58 -04:00
Ted Unangst 42931c4e10 delete all the bloat 2019-08-16 00:28:16 -04:00
Ted Unangst fbe47a0895 every database exec must have error checking 2019-08-16 00:15:55 -04:00
Ted Unangst 953f7c5743 switch to using handles on xzone page 2019-08-16 00:05:22 -04:00
Ted Unangst 617cdd5fd8 better handle AP usernames. don't require manual entry 2019-08-15 23:27:55 -04:00
Ted Unangst 988f16aca8 test function to undo the bloat 2019-08-15 23:03:21 -04:00
Ted Unangst 21ca139a31 bloat: counter.cgi 2019-08-15 09:25:36 -04:00
Ted Unangst cbf2756712 try showing only unkown honkers in xzone 2019-08-14 15:46:21 -04:00
Ted Unangst 13662ccb2a log repeated sign failure 2019-08-13 14:13:07 -04:00
Ted Unangst 2c0ca19dc6 don't care about question updates 2019-08-03 22:18:03 -04:00
Ted Unangst 2ef8cc8a80 save attached images past preview 2019-08-02 10:38:42 -04:00
Ted Unangst 63b1e59b83 keep reply to during preview 2019-07-30 21:20:56 -04:00
Ted Unangst 9f5d3cccde link should be noreferrer 2019-07-28 22:01:34 -04:00
Ted Unangst d6cc646200 a little more type safety with less interface 2019-07-28 20:01:12 -04:00
Ted Unangst 7e1bf702cc switch to common version of httpsig code 2019-07-28 19:44:27 -04:00
Ted Unangst 5a5080496c add link to remote user profile 2019-07-28 19:00:35 -04:00
Ted Unangst 686d139f54 delete old muted threads from db 2019-07-28 18:42:21 -04:00
Ted Unangst 26cb0ee381 allow modifying url patterns to better imitate other software. kinda. 2019-07-23 13:21:09 -04:00
Ted Unangst ad4a21d642 keep the robots out of more stuff that's annoying 2019-07-18 19:16:12 -04:00
Ted Unangst 4aba1ba5fd simplify cleanup command 2019-07-15 20:49:01 -04:00
Ted Unangst 7e66d52af5 when deleting, have to make it public to federate 2019-07-11 01:10:35 -04:00
Ted Unangst eab34a6104 zilence (collapse) posts matching regex 2019-07-10 17:39:41 -04:00
Ted Unangst babda8d0a7 experiment with collapsing posts 2019-07-10 14:36:14 -04:00
Ted Unangst 7b6321302a support a few more actor types 2019-07-10 01:21:56 -04:00
Ted Unangst 216907c4c0 include oonker in the xonker query... 2019-07-09 23:43:46 -04:00
Ted Unangst a3efd5794c don't grab honks from other users when constructing convoys 2019-07-09 23:37:30 -04:00
Ted Unangst 998c59d623 if it's not our honk, don't show controls 2019-07-09 23:31:57 -04:00
Ted Unangst f8ec7800f4 allow ximport by handle as well 2019-07-08 21:18:37 -04:00
Ted Unangst 7837d50fd4 upon further consultation with the golden goose,
tonks will henceforth be known as honk backs.
2019-07-07 20:24:54 -04:00
Ted Unangst 0b1f182a94 print original name in handle format 2019-07-05 13:07:59 -04:00
Ted Unangst ac5112757e still allow viewing unpublic honks when logged in 2019-07-04 10:52:22 -04:00
Ted Unangst 8935b8a01c if something bad happens, don't just show blank page 2019-07-01 19:31:14 -04:00
Ted Unangst 6aaa0fe5cb i think it's better to show the new honk just after posting 2019-07-01 19:29:50 -04:00
Ted Unangst 227a6a38c4 remove inline meme text from post 2019-06-30 19:04:37 -04:00
Ted Unangst 67d57f56d8 optional skinny column mode 2019-06-27 22:36:55 -04:00
Ted Unangst 5e59b3ecef allow for custom user options in the database 2019-06-27 22:15:59 -04:00
Ted Unangst e89d24ac20 add some more info to bonks.
notably adding /followers is required for pleroma to ack it.
2019-06-26 17:19:45 -04:00
Ted Unangst 12ca40538e fix stale pubkey deletion 2019-06-25 20:49:25 -04:00
Ted Unangst 265ca7128a show an error to user for honk to nowhere 2019-06-25 19:17:39 -04:00
Ted Unangst aad6f60e85 here comes 7.2 2019-06-25 12:03:37 -04:00
Ted Unangst 42f6aab4e5 first part of a do not federate firewall 2019-06-24 21:14:47 -04:00
Ted Unangst 222efa77ea remove cache controls where we may want more auth control 2019-06-24 18:39:19 -04:00
Ted Unangst b242186b29 funzone for the fun stuff 2019-06-24 00:31:34 -04:00
Ted Unangst 1181ee6acf a few more urls for ease of use 2019-06-23 22:43:47 -04:00
Ted Unangst 9149144a2b rename some zonk stuff 2019-06-23 22:21:59 -04:00
Ted Unangst 9cabbd2be5 unlink convoy unless logged in 2019-06-20 15:15:50 -04:00
Ted Unangst 4cc4eda76f only hide keywords on some pages, so threads are complete. 2019-06-18 01:35:58 -04:00
Ted Unangst 6e86d9ca50 default robots.txt 2019-06-17 13:06:54 -04:00
Ted Unangst 22401dfbdb tombstones for zonks 2019-06-17 12:18:37 -04:00
Ted Unangst 42d9306893 simplify the async zonking 2019-06-17 12:10:36 -04:00
Ted Unangst 50f0222eb1 allow import the most recent honks for a xonker 2019-06-16 22:36:52 -04:00
Ted Unangst 2ac28709ea close some queries when done 2019-06-16 21:21:56 -04:00
Ted Unangst aee4ad54b1 add some recent honkers to the xzone and allow viewing their honks 2019-06-16 15:05:50 -04:00
Ted Unangst bd2e7cf9c7 sort the zonkzone 2019-06-16 14:41:47 -04:00
Ted Unangst 423d018059 preview button now that there's more things that can go wrong 2019-06-16 14:11:23 -04:00
Ted Unangst 90bb84246a deleting threads in cleanup might be surprising, let that be for now 2019-06-13 16:21:47 -04:00
Ted Unangst c6d50c9cfd the 304 logic doesn't always work? just remove it.
only need to load servermsg once, btw.
2019-06-11 23:11:18 -04:00
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