Commit graph

167 commits

Author SHA1 Message Date
Mike Macgirvin
2abdeff494 more activity recipient cleanup 2022-07-18 05:27:03 -07:00
Mike Macgirvin
d9228a8085 cleanup collect_recips 2022-07-18 04:51:54 -07:00
Mike Macgirvin
9008a0ad3a deal with recipient mismatches between activity and object, prevent fetched polls from entering the notifier 2022-07-18 03:47:05 -07:00
Mike Macgirvin
1996983924 add configuration for ssl exceptions for testing and development 2022-07-16 17:25:58 -07:00
Mike Macgirvin
d6435de364 doco change 2022-07-15 18:18:10 +10:00
Mike Macgirvin
2a4eaabf0c minor code refactor 2022-07-15 18:14:44 +10:00
Mike Macgirvin
46fec47fdb useragent consistency issue discovered in code review 2022-07-14 17:28:54 -07:00
Mike Macgirvin
0fa3363656 tighten up the specificity of the most recent change to Activity::media_not_in_body() 2022-07-14 15:32:15 -07:00
Mike Macgirvin
1de017db1b Add all the special cases to Activity::media_not_in_body() to deal with Hubzilla's implementation of bbcode img.alt tags. 2022-07-14 15:27:23 -07:00
Mike Macgirvin
4f98b9e5a9 Merge branch 'dev' of /home/macgirvin/streams into dev 2022-07-14 14:09:58 -07:00
Mike Macgirvin
97a641f2f8 optimisations: deprecate Libzot::fetch() 2022-07-14 14:09:15 -07:00
Mike Macgirvin
1c0fe25cbe Merge branch 'dev' of ../rebble.net into dev 2022-07-14 04:19:33 -07:00
Mike Macgirvin
ae801b869e refactor site_info() 2022-07-14 04:09:45 -07:00
Mike Macgirvin
7c6277dd87 more thorough check of object actor to ensure it represents a record array and not an id string. 2022-07-13 17:32:34 -07:00
Mike Macgirvin
0c5d237e02 use zot_record_preferred in find_best_identity() - not certain why this wasn't done initially. 2022-07-13 17:16:02 -07:00
Mike Macgirvin
dd7e51b496 when matching sender against author and owner, find the "best identity" with which to compare all of them - in this case the sender did not get the same treatment as the others. 2022-07-13 17:05:49 -07:00
Mike Macgirvin
1b9bf72614 add google useragent hack to oembed to that std_embeds will work 2022-07-11 20:58:22 -07:00
Mike Macgirvin
2dac64d87f unnecessary line 2022-07-11 19:42:38 -07:00
Mike Macgirvin
f683369f9d fix black youtube previews 2022-07-11 19:39:31 -07:00
Mike Macgirvin
88651ae243 Merge branch 'dev' of ../rebble.net into dev 2022-07-07 15:33:14 -07:00
Mike Macgirvin
bbf098c071 Fix double images from Friendica sources where the attachment url is different from the link in the body. 2022-07-07 15:31:16 -07:00
Mike Macgirvin
49af66bb4f describe each filter type 2022-07-07 18:12:48 +10:00
Mike Macgirvin
c6a433a1e8 Merge branch 'dev' of ../rebble.net into dev 2022-07-05 19:14:13 -07:00
Mike Macgirvin
c26c7f09d6 hidden mentions not being preserved across edits. 2022-07-05 19:13:38 -07:00
Mike Macgirvin
1e0413f431 provide actual http error_code in Url get/post failure detail rather than just the curl error code. 2022-07-05 17:27:11 -07:00
Mike Macgirvin
1b03b1beda Refactor default arguments 2022-07-05 20:20:26 +10:00
Mike Macgirvin
6b26dbb3de attempt to dbesc an array from a malformed activity 2022-07-04 19:48:49 -07:00
nobody
9dc37df489 refactor language detection 2022-07-05 11:34:07 +10:00
Mike Macgirvin
0a08fc732f whitespace 2022-07-03 00:48:30 -07:00
Mike Macgirvin
df4eabd23b refactor language checking in MessageFilter to account for ambiguous language results. 2022-07-02 22:36:49 -07:00
Mike Macgirvin
50a0b22d00 Add 'falsiness' check to MessageFilter. 2022-07-02 18:19:32 -07:00
Mike Macgirvin
024e1bec6f Permit context to be an array 2022-06-30 15:07:44 -07:00
Mike Macgirvin
1bfc965f33 Force Activity::update_poll to honour the item_store() delivery setting. 2022-06-29 13:28:05 -07:00
Mike Macgirvin
89a6485642 deprecate zoturl 2022-06-28 22:19:12 -07:00
Mike Macgirvin
3b81e762e1 more work on federated quoted notes 2022-06-27 22:15:19 -07:00
Mike Macgirvin
fa6bfd2bf3 more work on quoted post federation 2022-06-27 20:10:51 -07:00
Mike Macgirvin
2bd649d453 More compatibility fixes related to federation of "quoteUrl". 2022-06-27 18:48:48 -07:00
Mike Macgirvin
5b25adb86c Reduce code inconsistencies between get_default_profile_photo() and get_default_cover_photo() 2022-06-26 21:35:29 -07:00
Mike Macgirvin
2cf3f9ed9d Change the default cover photo and the default_cover_photo logic. 2022-06-26 15:40:09 -07:00
Mike Macgirvin
330c31a4e9 deprecate the interactive argument to drop_item() 2022-06-26 01:36:02 -07:00
Mike Macgirvin
7d7b8b1c50 Change default curl UA string to remove branding. 2022-06-25 21:52:59 -07:00
Mike Macgirvin
7d290c6d80 Create DReport::is_expired(). Currently static but this may change.
Refactor datetime_convert() to use position independent arguments.
2022-06-25 00:25:10 -07:00
Mike Macgirvin
ff936b55b3 Don't censor your own images. For one thing this makes your posts difficult to preview, but in any case we're assuming you are tolerant to your own content. 2022-06-24 14:55:13 -07:00
Mike Macgirvin
1e9cc85947 Add the importer to MessageFilter evaluation to match language filters for completed conversations.
Remove the arbitrary thread fetch count limit.
2022-06-24 13:59:30 -07:00
Mike Macgirvin
7a6267dea3 wrap create_table_from_array() query in a transaction and convert xprof to use it in libzotdir.
This should eliminate any impact due to duplicate creates caused by race conditions, though they will probably still be logged.
2022-06-23 18:03:49 -07:00
Mike Macgirvin
9e8ab96c2f typo 2022-06-23 16:39:49 -07:00
Mike Macgirvin
c5fce31c46 Fix a couple of minor anomalies discovered in AS encoding of items (attachments and propertyvalues) 2022-06-23 16:37:11 -07:00
Mike Macgirvin
594f0cb76e This should fix the double share issue 2022-06-23 13:44:21 -07:00
Mike Macgirvin
bb9c687de3 deprecate z_fetch_url() and friends. Now use Code\Lib\Url::{fetch|get}() 2022-06-23 00:38:34 -07:00
Mike Macgirvin
1cc95bc4e9 Committed to wrong dir 2022-06-22 03:32:08 -07:00