Commit graph

236 commits

Author SHA1 Message Date
Ted Unangst
25a367d61c revert the funny addressing bits. for now. 2020-02-26 10:37:54 -05:00
Ted Unangst
cd7537c110 better handling of address input 2020-02-25 13:37:44 -05:00
Ted Unangst
0b38c46d37 avoid empty strings 2020-02-25 13:29:09 -05:00
Ted Unangst
5628d0376a experiment with an out of band address input field 2020-02-18 15:45:22 -05:00
Ted Unangst
f2bf894513 need to close a tag for missing img 2020-01-25 18:08:13 -05:00
Ted Unangst
d6e1690192 add support for ed25519 httpsig keys 2020-01-19 03:44:38 -05:00
Ted Unangst
049a15612d if key fetch fails, save the failure so we don't retry again too quickly 2019-12-26 14:46:37 -05:00
Ted Unangst
5222332d91 order some filtering loops better to avoid repeated lookups 2019-12-23 06:13:07 -05:00
Ted Unangst
87d0cabb67 repair some logic differentiating local posts and bonks 2019-12-13 20:23:53 -05:00
Ted Unangst
50fb0d5e09 make redoimages a separate function 2019-12-04 02:30:07 -05:00
Ted Unangst
e421c0ba20 only need the handle rename logic for !local 2019-12-01 13:16:10 -05:00
Ted Unangst
d5d943b203 can simplify the reverb logic some 2019-12-01 12:34:08 -05:00
Ted Unangst
d164471a92 rework emu save slightly for local emus. no need for database copy 2019-12-01 12:27:09 -05:00
Ted Unangst
b76f377ca9 quick mention should allow trailing . 2019-11-29 14:53:25 -05:00
Ted Unangst
0b89e1b06c save mentions in honkmeta 2019-11-27 14:36:29 -05:00
Ted Unangst
02433181f4 the avatar regexp should match the meme one. keep together. 2019-11-26 13:48:39 -05:00
Haelwenn (lanodan) Monnier
ef845b2a2c Add support for [^\n] meme files & hgignore
Should be done in separated commits but my mercurial-fu is bad.
2019-11-26 10:35:10 +00:00
Ted Unangst
83c89df14b i thought i compiled this 2019-11-25 15:55:30 -05:00
Ted Unangst
d167f26418 try a little harder to recover from httpsig failures 2019-11-25 15:54:29 -05:00
Ted Unangst
b63031da52 fix a dumb bug caused by err shadow which prevented pubkey loading from working 2019-11-18 15:18:07 -05:00
Ted Unangst
7bffa8414d consistent order of variables and row scans 2019-11-13 11:00:25 -05:00
Ted Unangst
65af1f4ac3 handle case where hahstag begins a newline 2019-11-12 19:03:48 -05:00
Ted Unangst
89aa0a821d put a limit on some caches that may grow kinda large 2019-11-11 18:30:40 -05:00
Ted Unangst
46e6d99eda add some logging so i can see the magic happen 2019-11-11 12:56:37 -05:00
Ted Unangst
5032f180d1 also save handle when ingesting 2019-11-11 12:52:08 -05:00
Ted Unangst
528e768278 avoid some unnessary requests by fully processing what we get 2019-11-11 12:03:00 -05:00
Ted Unangst
4fc4b67f91 normalize image urls 2019-11-10 23:49:09 -05:00
Ted Unangst
d8f6060163 better quick rename needs to be earlier for consistency 2019-11-09 16:33:34 -05:00
Ted Unangst
d59a13efd3 rm dead function 2019-11-08 16:58:36 -05:00
Ted Unangst
fe1ef8d89e require a letter in hashtags. sorry #1 2019-11-05 02:51:30 -05:00
Ted Unangst
5604522c54 markdown and emus in subject. naturally. 2019-10-30 17:14:27 -04:00
Ted Unangst
ea2ea2d94c there's always a funner name to be found 2019-10-30 03:39:56 -04:00
Ted Unangst
c0c51e84d0 pleroma is better behaved now, but keep the function 2019-10-30 03:31:39 -04:00
Ted Unangst
df1b5af40a cleanup and cache pubkeys 2019-10-30 03:31:16 -04:00
Ted Unangst
295f558560 incrementally closer to consistent html processing 2019-10-29 16:24:32 -04:00
Ted Unangst
f97692c875 glow the selected honk if not first 2019-10-29 16:00:41 -04:00
Ted Unangst
3b70052f3d can use the cache functions for handles now 2019-10-29 14:18:13 -04:00
Ted Unangst
9594c5be2a hackish, but yet more effective, means of getting class=mention on all links 2019-10-28 16:05:18 -04:00
Ted Unangst
58292a808c some code towards enabling following a collection 2019-10-26 18:31:42 -04:00
Ted Unangst
3f67140c76 rework delivery and key loading to use userid 2019-10-25 18:46:27 -04:00
Ted Unangst
aebc6c8981 more robust shortcut.. return hash of long xid instead of tail.
sometimes the suffix is common to many activities.
noticed by micropub.
2019-10-22 13:06:43 -04:00
Ted Unangst
acd96f17ee bump htfilter 2019-10-22 02:02:36 -04:00
Ted Unangst
1bd7069515 should be ok and may be useful to save our own images 2019-10-22 00:21:21 -04:00
Ted Unangst
054aa15a17 composition support for inline images 2019-10-22 00:19:31 -04:00
Ted Unangst
b4901ad975 fix inline imgs so they don't lose the donks 2019-10-21 23:12:43 -04:00
Ted Unangst
9d89310be0 style consistency 2019-10-21 01:29:39 -04:00
Ted Unangst
ec15e6041a rewrite oneofakind with map since we're starting to see longer arrays 2019-10-19 15:37:33 -04:00
Ted Unangst
a5f2dd74c2 rearrange the html filtering to make rewrite rules more predictable 2019-10-16 18:04:38 -04:00
Ted Unangst
fcd4170bb2 modestly better search, with parameters 2019-10-15 23:27:30 -04:00
Ted Unangst
d357480a1f convert to using library version of cache 2019-10-12 19:25:23 -04:00
Ted Unangst
878c3c28e9 translate known actors to shortnames 2019-10-12 10:34:23 -04:00
Ted Unangst
543a16f6f4 allow renames at end of noise 2019-10-10 18:51:09 -04:00
Ted Unangst
4dc2ada944 we may need to expand short mentions more than once 2019-10-10 18:48:03 -04:00
Ted Unangst
b32b7b9dcc syntax highlighting because why not. go code or go home. 2019-10-10 00:40:29 -04:00
Ted Unangst
d1473997ce add [link](url) support to markdown 2019-10-09 14:03:16 -04:00
Ted Unangst
cad9d2a299 let's try without the unicrud translation 2019-10-06 21:49:04 -04:00
Ted Unangst
d38d50d143 finish up the hfcs filtering work 2019-10-06 20:26:21 -04:00
Ted Unangst
a320b1a2a6 rework markdown module, prepare for embetterment 2019-10-06 15:01:23 -04:00
Ted Unangst
93d89a31e2 make the length limit a bit larger 2019-10-05 13:53:41 -04:00
Ted Unangst
07b041fc26 some more bits of hfcs 2019-10-04 21:57:53 -04:00
Ted Unangst
de36230cec enough of the honk filtering and censoring system (hfcs) to get going. 2019-10-04 16:30:33 -04:00
Ted Unangst
4fdc81cbed add a little length filter 2019-10-03 00:22:01 -04:00
Ted Unangst
99f0e73394 support inline images in received posts 2019-10-02 23:02:01 -04:00
Ted Unangst
bb52c24c31 fix meme saving. again. 2019-10-02 17:14:14 -04:00
Ted Unangst
c6b4cb22f7 hide the danger zone for muggles 2019-09-30 22:28:53 -04:00
Ted Unangst
409d1e9932 media skipping for naughty people 2019-09-28 17:40:24 -04:00
Ted Unangst
a85f05c86b allow a few more chars in bold 2019-09-26 10:31:53 -04:00
Ted Unangst
6ea1f7bfa0 rework stealth mode 2019-09-21 18:20:50 -04:00
Ted Unangst
d97d815dae filter on image desc too 2019-09-21 10:24:38 -04:00
Ted Unangst
d21f39d0e5 slightly better inline img replacement 2019-09-19 00:50:26 -04:00
Ted Unangst
07bf86afde emuxify subjects too 2019-09-18 15:08:50 -04:00
Ted Unangst
1b945c5cac only replace memes in our posts 2019-09-18 14:23:47 -04:00
Ted Unangst
d62486db27 fix memes 2019-09-18 14:02:49 -04:00
Ted Unangst
2584f31e17 save honks in markdown, convert on the fly 2019-09-18 13:46:42 -04:00
Ted Unangst
210597dd68 flag is already set 2019-09-18 12:57:08 -04:00
Ted Unangst
9a0586a2fa allow #0day 2019-09-17 09:58:18 -04:00
Ted Unangst
9680e472f8 allow _ in hashtag 2019-09-17 09:56:20 -04:00
Ted Unangst
4f7f82d916 quick mention @alias 2019-09-10 14:30:52 -04:00
Ted Unangst
688d6be957 log what we don't like 2019-09-04 13:59:27 -04:00
Ted Unangst
b1f7c8540b unlink tag links... sigh. 2019-09-01 18:04:30 -04:00
Ted Unangst
a4fe9fcf25 more info about some errors 2019-08-30 10:16:59 -04:00
Ted Unangst
108973ef7b catching too much stuff 2019-08-28 11:58:57 -04:00
Ted Unangst
2b8a6ddd20 require leading alpha for hashtag 2019-08-28 11:40:54 -04:00
Ted Unangst
3057c3d255 need to lowercase here 2019-08-27 22:25:02 -04:00
Ted Unangst
03e948fe3c unbonking should work now 2019-08-27 22:15:53 -04:00
Ted Unangst
ff756fedae i will allow hyphens in hashtags 2019-08-27 21:44:56 -04:00
Ted Unangst
2c1af70ace remove stray log 2019-08-24 23:14:57 -04:00
Ted Unangst
f74b91e15b we're starting to get there with hashtags 2019-08-24 23:03:05 -04:00
Ted Unangst
a9f0fad050 only first class honks in rss 2019-08-23 20:35:58 -04:00
Ted Unangst
27b5bc5f5f prefetch handle info instead of waiting for load 2019-08-18 18:32:44 -04:00
Ted Unangst
42931c4e10 delete all the bloat 2019-08-16 00:28:16 -04:00
Ted Unangst
0192c82046 that's a bad log 2019-08-16 00:18:12 -04:00
Ted Unangst
5b309bb846 a cache for handles 2019-08-16 00:11:30 -04:00
Ted Unangst
953f7c5743 switch to using handles on xzone page 2019-08-16 00:05:22 -04:00
Ted Unangst
8886e78b8c better handle lookup that doesn't keep hammering failures 2019-08-15 23:38:01 -04:00
Ted Unangst
617cdd5fd8 better handle AP usernames. don't require manual entry 2019-08-15 23:27:55 -04:00
Ted Unangst
21ca139a31 bloat: counter.cgi 2019-08-15 09:25:36 -04:00
Ted Unangst
c91fd71e1e apply unicode filtering to summary too 2019-08-08 12:37:05 -04:00
Ted Unangst
29334c3116 fast track blocks by objid 2019-08-06 16:31:54 -04:00
Ted Unangst
073e9db255 remove useless log 2019-08-05 20:39:18 -04:00