Commit graph

254 commits

Author SHA1 Message Date
Mike Macgirvin
a4d3e82a95 likes of comments not displaying properly, item parent was set to target (thr_parent) and not conversation parent (parent_mid) 2022-07-12 12:52:10 -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
066e0cc9be further optimise federated deletes 2022-07-11 15:33:21 -07:00
Mike Macgirvin
2657d7ff4a Merge branch 'dev' of ../rebble.net into dev 2022-07-08 14:25:14 -07:00
Mike Macgirvin
f962bb0d9b fix a "conversation fetch failed" edge case. 2022-07-08 14:23:27 -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
2fa8f1bf60 comanche: add "falsey" test 2022-07-07 18:15:58 +10: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
711de17bb3 change request method for owa 2022-07-01 18:52:59 -07:00
Mike Macgirvin
a4b39055f2 Create new event listener for after successful post storage and remove zotpost 2022-07-01 17:59:04 -07:00
Mike Macgirvin
024e1bec6f Permit context to be an array 2022-06-30 15:07:44 -07:00
Mike Macgirvin
fab6281e81 Rename variable for clarity. 2022-06-29 14:44:00 -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
fd36644baf more webfinger service edits, cloned channels are missing xchan_photo_mimetype. 2022-06-28 22:48:02 -07:00
Mike Macgirvin
bedf049fd9 more webfinger cleanup 2022-06-28 22:30:46 -07:00
Mike Macgirvin
5b957c3514 Remove obsolete services from webfinger. 2022-06-28 22:25:48 -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
f67a6896f6 Wrap stdio calls in error_handler save and restore as @functions are deprecated in php81. 2022-06-26 18:39:23 -07:00
Mike Macgirvin
636688e432 Store only the smallest cover_photos (425x239 or scale '9') in cache/xp .
In setup, check for ther existence of /usr/bin/magick prior to looking for /usr/bin/convert.
2022-06-26 17:17:04 -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
df25574235 Recent change (3 months ago) to deprecate "interactive" drop_item fixed related sync issues but did not federate well.
This has now been fixed but full deprecation including change to drop_item() and drop_items() and dropitem_low_level() calling parameters requires additional effort.
2022-06-25 17:09:35 -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
0c6ac2c721 unit test failure 2022-06-24 14:08:59 -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
7ff75c5ea9 cleanup Stdio::mkdir() 2022-06-24 13:42:26 -07:00
Mike Macgirvin
5277cd3997 Rename Stdio::fpipe => Stdio::fcopy and remove some cruft that is no longer needed. 2022-06-24 13:28:29 -07:00
Mike Macgirvin
82c2e371fa image upload issues (regression) 2022-06-23 23:18:22 -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