Commit graph

143 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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