Commit Graph

381 Commits

Author SHA1 Message Date
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
Ted Unangst 91a7a93cc3 add a server actor 2019-10-25 17:31:48 -04:00
Ted Unangst eafb6203df don't need this debug 2019-10-23 00:30:15 -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 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 c0d7cee48d refresh pages using internal honkid which makes query much faster 2019-10-20 14:36:55 -04:00
Ted Unangst 7830694baa remove the unfinished peep command 2019-10-19 22:53:12 -04:00
Ted Unangst 3de799b34c remove some extra variables 2019-10-19 15:26:36 -04:00
Ted Unangst 341b03b8f0 another try at recontexting friendica threads 2019-10-18 21:22:33 -04:00
Ted Unangst 4a9851c09c only count mentions that are tagged as such 2019-10-16 18:23:25 -04:00
Ted Unangst 5e33ab4c87 slightly simpler 2019-10-16 02:48:33 -04:00
Ted Unangst 881ef2e395 updated junk interface 2019-10-16 02:27:04 -04:00
Ted Unangst bae6e430d6 some cleanups 2019-10-16 02:06:53 -04:00
Ted Unangst da9dccf2fc try a bit harder to avoid duplicate requests in flight 2019-10-13 13:25:12 -04:00
Ted Unangst d357480a1f convert to using library version of cache 2019-10-12 19:25:23 -04:00
Ted Unangst 620729d380 handle the event case without changing too much 2019-10-11 00:17:42 -04:00
Ted Unangst 2bfd2f97c2 recurse into created object instead of assuming honk 2019-10-10 20:19:18 -04:00
Ted Unangst a77cab2538 remove stale debugging 2019-10-10 19:14:11 -04:00
Ted Unangst f5e83b4905 if update without create, just create 2019-10-10 19:12:34 -04:00
Ted Unangst 0aa072baf2 sometimes the orderedcollection only has items, not ordereditems. sigh. 2019-10-10 18:04:42 -04:00
Ted Unangst aa91c7d96c some people forget that hashtags start with hashes... 2019-10-10 17:57:00 -04:00
Ted Unangst bcd4cba30d handle case where attributedto is array of strings 2019-10-10 17:52:36 -04:00
Ted Unangst d0606f1b42 include audio type 2019-10-09 10:55:54 -04:00
Ted Unangst d38fe950fe tweak error mesages 2019-10-08 01:27:27 -04:00
Ted Unangst 5916ae68ab fix refreshing pages with reversed order 2019-10-08 00:58:42 -04:00
Ted Unangst 75fdc3a5f4 ah, look for content in the right object 2019-10-08 00:33:02 -04:00
Ted Unangst 8187aea4f2 cache jonker for a bit 2019-10-07 15:47:37 -04:00
Ted Unangst 2fc3103ad4 cache jonks for AP fetches 2019-10-07 15:22:10 -04:00
Ted Unangst b1e42fdae9 use cache interface for some more things 2019-10-07 14:45:02 -04:00
Ted Unangst 4059b207a1 revise rejection log messages 2019-10-06 22:48:23 -04:00
Ted Unangst 2ae79a2cc1 we need some more debugging for the friendibonks 2019-10-06 22:07:39 -04:00
Ted Unangst d5b99e2b9a allow resubscribing 2019-10-06 21:33:10 -04:00
Ted Unangst a0b6756206 html escape summary fields 2019-10-06 15:23:42 -04:00
Ted Unangst a320b1a2a6 rework markdown module, prepare for embetterment 2019-10-06 15:01:23 -04:00
Ted Unangst d08eab8712 better handling of times and places.. 2019-10-05 16:49:56 -04:00
Ted Unangst 25c46f5839 grotesque workaround for friendica style repeats 2019-10-05 02:46:01 -04:00
Ted Unangst 50e43569e4 finish up some hfcs matching work 2019-10-04 21:47:27 -04:00
Ted Unangst 5672db2380 reduce max size a little 2019-10-04 21:24:15 -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 73d6331c2d reset currettid too 2019-10-03 12:37:15 -04:00
Ted Unangst bcb36d8cff if we make it this far without context, fake one 2019-10-03 12:35:17 -04:00
Ted Unangst 140e96f80e save convoy here 2019-10-03 12:33:19 -04:00
Ted Unangst 341577c35c try a limiter here 2019-10-03 01:17:43 -04:00
Ted Unangst e98366ccb7 add an intake length limit 2019-10-03 00:23:46 -04:00
Ted Unangst 3cd2f57f9e handle durations for times 2019-10-03 00:11:02 -04:00
Ted Unangst 99f0e73394 support inline images in received posts 2019-10-02 23:02:01 -04:00
Ted Unangst 93e541d2a0 look for location as property not just tag 2019-10-02 21:24:40 -04:00
Ted Unangst e3fdf87a00 events with start times. because... because. 2019-10-02 18:20:14 -04:00
Ted Unangst 16212d9dab don't go down if we're going up 2019-10-01 00:01:45 -04:00
Ted Unangst e89bff3051 rework save code to gobble up replies 2019-09-30 23:32:10 -04:00
Ted Unangst 49a2107fdb make a note of replies we see 2019-09-30 23:16:54 -04:00
Ted Unangst 5efa912126 rm useless log 2019-09-30 22:48:55 -04:00
Ted Unangst 3e9899f800 treat tombstone as delete 2019-09-30 14:28:57 -04:00
Ted Unangst d4688e3ff9 rework some of the front end styles for consistency 2019-09-30 14:17:58 -04:00
Ted Unangst a333026b44 cleanup intake a bit, fast path for delete 2019-09-30 01:30:39 -04:00
Ted Unangst dbe8a3c55c split media into separate database. keeps main db nice and tidy. 2019-09-29 21:40:37 -04:00
Ted Unangst 0d0a5677a0 add url to places 2019-09-29 16:07:35 -04:00
Ted Unangst 409d1e9932 media skipping for naughty people 2019-09-28 17:40:24 -04:00
Ted Unangst 42fb29c4e1 process place in updates 2019-09-28 17:16:19 -04:00
Ted Unangst 1b0dc71a71 try harder to not deliver to self. 2019-09-28 17:13:57 -04:00
Ted Unangst 91afec7070 unravel a bit of the big mess 2019-09-28 17:03:05 -04:00
Ted Unangst 0b058562e5 parse location on input 2019-09-28 00:28:26 -04:00
Ted Unangst 2cfa3a71e2 location checkins! waaahahaha 2019-09-28 00:12:50 -04:00
Ted Unangst c4d210fdfb some fixups for the way friendica does context 2019-09-25 12:27:02 -04:00
Ted Unangst d26d4a972c technically, should undo read instead of sending ignore.
not using ignore activity yet
2019-09-22 20:29:10 -04:00
Ted Unangst da7cca5351 prefer object date 2019-09-21 18:28:57 -04:00
Ted Unangst 99efbe1d1f preserve image extension 2019-09-18 15:34:29 -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 4ee7268ca7 don't need this log 2019-09-17 19:00:46 -04:00
Ted Unangst aa0c99ae68 better handling of attachments during edit 2019-09-17 10:44:00 -04:00
Ted Unangst bef74481c8 check for bogus hashtags 2019-09-17 09:53:01 -04:00
Ted Unangst 65eae9dbfc this could never work 2019-09-16 18:05:46 -04:00
Ted Unangst ce764c468d move update log 2019-09-16 18:05:09 -04:00
Ted Unangst b8df8a9b93 beta/prototype of Update 2019-09-16 18:00:13 -04:00
Ted Unangst 4d95d2290a combine delete code into a function 2019-09-16 17:00:50 -04:00
Ted Unangst cba1a5d297 remove extra log 2019-09-12 17:19:17 -04:00
Ted Unangst 56141dbb6f cleanup the honk save code 2019-09-11 16:20:22 -04:00
Ted Unangst ead0b2995e i think this is enough for image descriptions 2019-09-09 09:55:04 -04:00
Ted Unangst 6eb416eea3 another faster check for blocked stuff 2019-09-06 14:44:29 -04:00
Ted Unangst a4fe9fcf25 more info about some errors 2019-08-30 10:16:59 -04:00
Ted Unangst 194c9a1223 few refinements to tags 2019-08-28 12:07:46 -04:00
Ted Unangst 03e948fe3c unbonking should work now 2019-08-27 22:15:53 -04:00
Ted Unangst 91fc33c5dd experimental unbonking 2019-08-27 21:22:59 -04:00
Ted Unangst be64eff398 and save tags on incoming 2019-08-24 23:18:19 -04:00
Ted Unangst 368b4d067e quick fix before tags can go live 2019-08-24 23:11:53 -04:00
Ted Unangst f74b91e15b we're starting to get there with hashtags 2019-08-24 23:03:05 -04:00
Ted Unangst 9a1b98e402 more detail in logging 2019-08-22 11:06:31 -04:00
Ted Unangst 9f26779377 federate read/ignore activities for ack and deack 2019-08-21 01:23:00 -04:00
Ted Unangst e9c5b28217 add approved replies to AP object collection 2019-08-18 23:25:11 -04:00