Commit graph

372 commits

Author SHA1 Message Date
Ted Unangst
6ffec8f58a allow object type field to be an array 2021-05-24 18:28:37 -04:00
Ted Unangst
532185a560 attachment summary field needs to be de-html on import 2021-04-05 14:09:11 -04:00
Ted Unangst
ebd7173e5b fix Update processing broken in activity rework some time ago 2021-01-05 16:07:49 -05:00
Ted Unangst
59b5b61890 handle reject follow 2020-10-13 15:12:56 -04:00
Ted Unangst
023073de03 switch to only generating xid for donks where needed 2020-09-30 11:35:18 -04:00
Ted Unangst
69fea996ad don't need to retry low prio communications 2020-09-29 21:16:07 -04:00
Ted Unangst
534691a61a some brave souls decided to return 202 for get requests 2020-09-27 17:59:11 -04:00
Ted Unangst
d6ade574f0 support hashtags in bios 2020-09-25 19:09:01 -04:00
Ted Unangst
f6995ce94e handle markdown in bios better 2020-09-25 19:02:26 -04:00
Ted Unangst
8f9c838a07 don't fool around with adding /followers to addressing 2020-09-25 18:49:47 -04:00
Ted Unangst
ec9f909473 allow unfollow by id 2020-09-14 15:44:21 -04:00
Ted Unangst
f3a9f7711a try a little harder to remember follow ids 2020-09-14 14:59:45 -04:00
Ted Unangst
1b2394f95b can use getnumber instead of casting 2020-09-10 15:04:29 -04:00
Ted Unangst
cd3f4eac24 reuse correct apid for undo follow 2020-09-10 14:52:24 -04:00
Ted Unangst
a7aa60aeca move final bits of follow into activty 2020-09-10 14:46:36 -04:00
Ted Unangst
1e632a8ddb move more follow code into activity.go 2020-09-09 14:33:12 -04:00
Ted Unangst
4ffc647549 move follow code into activity.go 2020-09-09 13:58:48 -04:00
Ted Unangst
3702ab34ef cheat a bit by using random id for follows 2020-08-10 15:16:42 -04:00
Ted Unangst
4e052bcfde try the shared inbox for update deliveries 2020-07-29 02:42:11 -04:00
Ted Unangst
d11ce38a6f better outbound emoji 2020-07-27 00:30:01 -04:00
Ted Unangst
34adc4b8dc debug http client for attachments 2020-07-27 00:05:21 -04:00
Ted Unangst
7fb5c94554 move mentions to mz module 2020-07-20 23:28:42 -04:00
Ted Unangst
c600581c90 promote flag: feature out of the experimental sandbox 2020-07-07 20:34:59 -04:00
Ted Unangst
46238c0ec4 tidy and simplify some activity parsing 2020-05-22 00:15:48 -04:00
Ted Unangst
22ea1b382f be more specific about attachment mediatype lookup 2020-05-18 18:09:18 -04:00
Ted Unangst
e7ce8c5281 some debug code for chatter 2020-05-17 21:26:59 -04:00
Ted Unangst
0b0d4eaedf conclusion of the donks for chonks trilogy 2020-05-17 21:09:54 -04:00
Ted Unangst
4b493f2162 assume media type jpeg for now 2020-05-15 00:22:36 -04:00
Ted Unangst
5acf6ef5ce more robust parsing of attachment json 2020-05-15 00:18:40 -04:00
Ted Unangst
a48f58fbec save donks for chonks 2020-05-14 23:51:42 -04:00
Ted Unangst
b7ec6b50d8 translate chat to html 2020-05-14 23:06:23 -04:00
Ted Unangst
3b792bbcea handle attachment url that's a map 2020-05-14 17:45:11 -04:00
Ted Unangst
249105f131 handle single attachment not in array 2020-05-14 17:42:57 -04:00
Ted Unangst
74b55fec6f Boing boom tschak chonky chatter 2020-05-13 17:15:29 -04:00
Ted Unangst
8196f8b53e in debug mode, disable https checking 2020-05-13 17:00:34 -04:00
Ted Unangst
4721226402 redo create ingestion to follow normal pipeline (again?) 2020-05-13 14:36:16 -04:00
Ted Unangst
8171d5af89 custom flags 2020-05-11 16:24:18 -04:00
Ted Unangst
4944996253 add timeout to last remaining http get 2020-05-11 00:52:17 -04:00
Ted Unangst
c2454d117d context timeout for postmsg 2020-05-09 19:25:25 -04:00
Ted Unangst
751245469e fix update activity 2020-05-01 01:34:08 -04:00
Ted Unangst
49e2070b69 reduce scope a bit 2020-04-30 11:06:26 -04:00
Ted Unangst
12183bb0f7 more control over reaction in web backend 2020-04-26 14:36:11 -04:00
Ted Unangst
6a7f2b4a6c factor out submitdonk for api use. mostly from moon. 2020-04-24 13:48:12 -04:00
Ted Unangst
3eee0f63ca in case webfinger fails, only cache one minute 2020-04-22 18:37:26 -04:00
Ted Unangst
0fbfb1750f oh, right, image is background not an alias for icon. don't want. 2020-04-03 22:09:03 -04:00
Ted Unangst
c19340849b fixing caching for jonkers 2020-04-01 00:10:35 -04:00
Ted Unangst
af96a9e668 add an image property to person too? 2020-04-01 00:08:10 -04:00
Ted Unangst
52ce2d2743 send updates for profile changes 2020-03-31 23:50:47 -04:00
Ted Unangst
b949478f50 use saved mentions when creating ap object 2020-02-18 15:49:10 -05:00
Ted Unangst
87104be774 consolidate dumpactivity 2020-02-18 12:50:19 -05:00
Ted Unangst
285f3cb5ac lain is a fickle mistress 2020-02-07 11:57:00 -05:00
Ted Unangst
8fd2e42878 clear out the friendica compat clutter 2020-02-04 13:50:33 -05:00
Ted Unangst
94e45ae56f require replyto to exist (would crash otherwise anyway) 2020-02-04 11:30:13 -05:00
Ted Unangst
49972dd5fd log error fetching donk 2020-01-25 18:12:47 -05:00
Ted Unangst
eb34f8f555 reduce duplicate log messages 2020-01-24 20:12:58 -05:00
Ted Unangst
b7e7576f4e make sure we get id from object 2020-01-23 22:32:52 -05:00
Ted Unangst
5a318202a0 rework activity injesting to reject attachments sooner 2020-01-23 20:41:30 -05:00
Ted Unangst
3c3f81e548 experimental reactions 2020-01-23 18:08:15 -05:00
Ted Unangst
d6e1690192 add support for ed25519 httpsig keys 2020-01-19 03:44:38 -05:00
Ted Unangst
91346fa369 name property is plaintext 2020-01-12 11:26:52 -05:00
Ted Unangst
9b415b7445 better handling of name, summary, content 2020-01-12 01:43:31 -05:00
Ted Unangst
19cb38f9a7 add Image as supported type 2020-01-12 01:15:20 -05:00
Ted Unangst
5f690af54b cleanup a few if statements 2019-12-24 08:28:25 -05:00
Ted Unangst
3562c42e3c handle objects with both name and summary 2019-12-24 08:17:06 -05:00
Ted Unangst
4efda0c551 minimal support for Move activity 2019-12-24 08:08:40 -05:00
Ted Unangst
eb3ea156a6 fast skip announce from rejected domains 2019-12-08 19:09:56 -05:00
Ted Unangst
50fb0d5e09 make redoimages a separate function 2019-12-04 02:30:07 -05:00
Ted Unangst
f994120a87 xonks without https are simply invalid 2019-11-30 17:51:27 -05:00
Ted Unangst
c77ef4636c it seems some implementations do check context for a uri, so add data: 2019-11-27 14:48:18 -05:00
Ted Unangst
35375d2be9 simplify update save code 2019-11-27 14:44:16 -05:00
Ted Unangst
0b89e1b06c save mentions in honkmeta 2019-11-27 14:36:29 -05:00
Ted Unangst
3014826f6f add a raw sendactivity API action 2019-11-26 14:57:23 -05:00
Ted Unangst
97e84447c3 save federated pdfs 2019-11-26 02:32:23 -05:00
Ted Unangst
a719f9a03e fix another case of bad err shadowing 2019-11-26 00:42:32 -05:00
Ted Unangst
ecbd80352f when sending updates or deletes, send to all fetch recipients too 2019-11-26 00:29:31 -05:00
Ted Unangst
577eb7068d add some re: re: re: to replies 2019-11-25 22:14:27 -05:00
Ted Unangst
c871ba9468 don't make two attachment requests concurrently either 2019-11-25 22:00:33 -05:00
Ted Unangst
c9aba7ecba save timestamp for xonker additions 2019-11-25 15:50:17 -05:00
Ted Unangst
0a6ec93384 update whofore after an update 2019-11-20 11:35:34 -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
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
8a6eaf5fe1 move the memory intensive and sometimes fragile image code
to a special backend process
2019-11-09 02:15:15 -05:00
Ted Unangst
778a3b1d79 read avatar option from db 2019-11-06 21:33:13 -05:00
Ted Unangst
5139949a5a let's try to stick with AP/AS defined locations 2019-11-06 15:17:53 -05:00
Ted Unangst
693c7fe6e2 include context in read activities 2019-10-29 19:50:45 -04:00
Ted Unangst
295f558560 incrementally closer to consistent html processing 2019-10-29 16:24:32 -04:00
Ted Unangst
3b70052f3d can use the cache functions for handles now 2019-10-29 14:18:13 -04:00
Ted Unangst
f27a4d9ce2 new day, new libs. use gate library. 2019-10-29 13:38:51 -04:00
Ted Unangst
c9aaab4869 fix some format string mismatches 2019-10-28 16:03:32 -04:00
Ted Unangst
dd048cc9ba include hash in hashtag collection name 2019-10-28 15:40:13 -04:00
Ted Unangst
c0717679ed basic Add support 2019-10-27 01:22:43 -04:00
Ted Unangst
58292a808c some code towards enabling following a collection 2019-10-26 18:31:42 -04:00
Ted Unangst
4ee177e157 handle importing collection of strings 2019-10-26 17:35:44 -04:00
Ted Unangst
077e2570d0 not sure this works, but untested code to handle collection follow 2019-10-25 20:31:07 -04:00
Ted Unangst
3f67140c76 rework delivery and key loading to use userid 2019-10-25 18:46:27 -04:00
Ted Unangst
e1add4f012 can simplify a bit with new functions 2019-10-25 17:44:46 -04:00