Commit graph

300 commits

Author SHA1 Message Date
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
Mike Macgirvin
26c7b64e34 add mention and tag count limits to reduce abuse when bypassing permissions 2022-06-23 03:47:35 -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
4cf5fd4a5f relocate patch 2022-06-22 03:34:09 -07:00
Mike Macgirvin
1cc95bc4e9 Committed to wrong dir 2022-06-22 03:32:08 -07:00
Mike Macgirvin
46d3f4cc16 move os_mkdir to Stdio 2022-06-22 03:19:52 -07:00
Mike Macgirvin
c1549be36a Merge branch 'dev' of ../rebble.net into dev 2022-06-22 02:42:08 -07:00
Mike Macgirvin
abcd456461 add Code\Storage\Stdio - start with pipe_streams() refactor 2022-06-22 02:36:53 -07:00
Mike Macgirvin
be9bb9f04d Merge branch 'dev' of ../rebble.net into dev 2022-06-21 20:01:20 -07:00
Mike Macgirvin
593bf652d6 Remove dead code and move account queries to Account class. 2022-06-21 19:59:37 -07:00
Mike Macgirvin
0643d4c487 Improve input sanitisation for Activity share. 2022-06-21 19:12:16 -07:00
Mike Macgirvin
0de1f9b590 Merge branch 'dev' of ../rebble.net into dev 2022-06-21 16:49:30 -07:00
Mike Macgirvin
422b16c2d2 refactor AS validity check 2022-06-21 16:47:52 -07:00
Mike Macgirvin
8d5e923775 Conflict with share class namespace, use Zlib explicitly. Check for missing/null data after unpacking jsalmon from remote. 2022-06-21 16:36:56 -07:00
Mike Macgirvin
981bf00e58 Merge branch 'dev' of ../rebble.net into dev 2022-06-21 16:14:34 -07:00
Mike Macgirvin
0923449a21 Remove some dead code and associated defines. 2022-06-21 16:13:01 -07:00
Mike Macgirvin
17e14ec33a Hide directory cover photo feature until ready for prime time. This also allows it to be turned off in order to save space. 2022-06-21 14:51:29 -07:00
Mike Macgirvin
eb563f2581 cover photos in directory. This will require scaling/caching. 2022-06-21 14:35:48 -07:00
Mike Macgirvin
d5ad4260ba string change 2022-06-21 13:07:49 -07:00
Mike Macgirvin
bd49d7a311 remove vlists app 2022-06-19 19:35:34 -07:00
Mike Macgirvin
911e6431b6 unclutter the user menu 2022-06-19 18:38:20 -07:00
Mike Macgirvin
bb17c462bb capitalisation consistency 2022-06-19 18:07:43 -07:00
Mike Macgirvin
19efd0ead6 Merge branch 'dev' of /home/macgirvin/streams into dev 2022-06-19 17:57:48 -07:00
Mike Macgirvin
189c5b25f9 Merge branch 'dev' of /home/macgirvin/unfediverse.com into dev 2022-06-19 14:05:04 -07:00
Mike Macgirvin
4760766eb8 restrict addon visibility 2022-06-19 14:04:20 -07:00
Mike Macgirvin
20a6104c35 hubloc network upgrade inconsistent 2022-06-19 13:58:49 -07:00
Mike Macgirvin
d377de366d fix anomoly in search results when principal exists on multiple networks 2022-06-19 13:27:14 -07:00
Mike Macgirvin
5814e564c7 remove obsolete comment 2022-06-19 02:46:58 -07:00
Mike Macgirvin
3a0a866c5f xchan_remote_profile_photo storage issue 2022-06-18 18:27:41 -07:00
Mike Macgirvin
cf53a0e101 hyperdrive posts being rejected due to implied_create which is acceptable since it was fetched and not delivered to inbox. 2022-06-18 15:40:39 -07:00
Mike Macgirvin
d711dc141e hubloc refactor continued - hubloc_delete() 2022-06-17 19:24:50 -07:00
Mike Macgirvin
5c329e8829 use unicode_trim for libzot names 2022-06-17 17:05:07 -07:00
Mike Macgirvin
e1e2c68653 rename include/text -> include/misc 2022-06-17 16:59:11 -07:00
Mike Macgirvin
d2e0143ace Trim unicode spaces on imported name field. 2022-06-17 16:22:17 -07:00
Mike Macgirvin
37afc9555f activitystreams url parse issue, re-factor naked links replacement 2022-06-17 15:41:57 -07:00
Mike Macgirvin
e9118b221e tracking down some obscure issues from logs 2022-06-17 00:07:44 -07:00
Mike Macgirvin
704f6e6516 replace auth hubloc lookup 2022-06-16 19:56:53 -07:00
Mike Macgirvin
078cf10bf0 typo check 2022-06-16 19:48:15 -07:00
Mike Macgirvin
35e02f25d6 begin hubloc refactor 2022-06-16 19:46:54 -07:00
Mike Macgirvin
a20156597a use current timestamp for cover_photo_activity object instead of photo timestamp, as the photo could come from media library 2022-06-16 15:00:36 -07:00
Mike Macgirvin
956fda2c21 Merge branch 'dev' of ../rebble.net into dev 2022-06-16 14:49:32 -07:00
Mike Macgirvin
526b9e41d2 slightly more aggressive/proactive hubloc filtering 2022-06-16 14:48:13 -07:00
Mike Macgirvin
49015e288a malformed reject/note activity 2022-06-16 13:40:47 -07:00
Mike Macgirvin
63194eab33 hubloc confusion 2022-06-15 03:06:39 -07:00
Mike Macgirvin
5928477b76 image description escaping continued 2022-06-10 02:18:37 -07:00
Mike Macgirvin
e47ddf4262 typo 2022-06-08 19:22:31 -07:00
Mike Macgirvin
e060d6ef5d remove tracker enablers 2022-06-08 16:54:50 -07:00
Mike Macgirvin
dcc294d67a remove all remote tracking services and their enablers 2022-06-08 16:48:07 -07:00
Mike Macgirvin
38a4527d21 use unicode full width bracket to escape brackets in alt text 2022-06-07 00:45:57 -07:00
Mike Macgirvin
4780df8a63 escape brackets in alt tags from remote sources. 2022-06-07 00:25:27 -07:00
Mike Macgirvin
3518f5f2de more directory stuff 2022-06-06 20:46:07 -07:00
Mike Macgirvin
29423d8039 deprecate directory stuff 2022-06-06 20:41:40 -07:00
Mike Macgirvin
d22c7e5aef Merge branch 'dev' of ../rebble.net into dev 2022-06-06 19:01:38 -07:00
Mike Macgirvin
27461b58ab fixes from upstream 2022-06-06 18:55:58 -07:00
Mike Macgirvin
502edd94e5 remove comment that no longer applies 2022-06-05 20:30:46 -07:00