Commit graph

408 commits

Author SHA1 Message Date
Mike Macgirvin
2a2f59c9d9 regression: fix return types for AccessList 2022-08-24 12:37:45 -07:00
Mike Macgirvin
aefc39762a cleanup 2022-08-23 21:01:09 +10:00
Mike Macgirvin
94e4d277a6 cleanup 2022-08-23 20:15:05 +10:00
Mike Macgirvin
977bdc4a86 provide better notification for poll updates 2022-08-22 22:13:33 -07:00
Mike Macgirvin
0d6fd8f5a6 cleanup 2022-08-22 20:28:48 +10:00
Mike Macgirvin
0c1a256139 more cleanup 2022-08-21 17:36:09 +10:00
Mike Macgirvin
3623e8a01a cleanup 2022-08-21 10:15:14 +10:00
Mike Macgirvin
3a6c50cadc cleanup 2022-08-21 09:11:42 +10:00
Mike Macgirvin
f8e63c5fe7 cleanup 2022-08-21 08:07:53 +10:00
Mike Macgirvin
62dff11083 Calling syntax for ActivityStreams::get_compound_property() incompatible with type declaration. Some other minor cleanup. 2022-08-20 13:10:18 +10:00
Mike Macgirvin
a33312d135 cleanup 2022-08-16 19:07:47 +10:00
Mike Macgirvin
6d16d97332 more cleaning 2022-08-15 21:19:29 +10:00
Mike Macgirvin
683b3c13a7 wrong return type for Lib/Verify->create() 2022-08-14 19:42:08 -07:00
Mike Macgirvin
afc54a530c Merge branch 'dev' of codeberg.org:streams/streams into dev 2022-08-14 19:49:02 +10:00
Mike Macgirvin
27aae8e2c2 Merge branch 'dev' of ../unfediverse.com into dev 2022-08-14 02:32:28 -07:00
Mike Macgirvin
2842bca97a make base mixed everywhere 2022-08-14 02:32:01 -07:00
Mike Macgirvin
c0c6701d74 Merge branch 'dev' of ../unfediverse.com into dev 2022-08-14 02:27:20 -07:00
Mike Macgirvin
cb1133e487 base can be string 2022-08-14 02:26:50 -07:00
Mike Macgirvin
864e6f19fa code cleanup 2022-08-14 19:20:43 +10:00
Mike Macgirvin
2da2317f7d Merge branch 'dev' of codeberg.org:streams/streams into dev 2022-08-13 14:08:06 -07:00
Mike Macgirvin
30afc93246 whitespace 2022-08-14 07:04:15 +10:00
Mike Macgirvin
41055b60a7 more cleanup 2022-08-13 21:34:00 +10:00
Mike Macgirvin
6f2d46947d code cleanup 2022-08-13 20:57:14 +10:00
Mike Macgirvin
1e1d7f6ddd provide debug output on Activity::fetch if signature fails 2022-08-10 14:24:55 -07:00
Mike Macgirvin
1abebeefb4 add preview_outbox setting 2022-08-09 14:39:09 -07:00
Mike Macgirvin
0889f83fc1 whitespace 2022-08-05 14:14:47 -07:00
Mike Macgirvin
40de3a15a0 collection work 2022-08-05 14:12:53 -07:00
Mike Macgirvin
f63eca280d FEP-e232 - implement quote url as tags in addition to the other dozen ways of doing it. 2022-08-04 07:23:36 +10:00
Mike Macgirvin
394c729616 Duplicated images from Friendica - refactor because it wasn't working correctly. 2022-07-29 14:46:26 -07:00
Mike Macgirvin
2cc78a4a8b whitespace 2022-07-26 14:50:52 -07:00
Mike Macgirvin
8dc6b8cce1 make "scrollto" work again on mod_display after mid changes 2022-07-24 03:31:38 -07:00
Mike Macgirvin
90049a4b91 Missing ActivityPub address fields in Hubzilla. Maybe only when AP is turned off, but still... 2022-07-21 21:05:44 -07:00
Mike Macgirvin
5fdcc4d6ac whitespace 2022-07-21 19:40:58 +10:00
Mike Macgirvin
816e0af37f whitespace 2022-07-21 17:25:07 +10:00
Mike Macgirvin
7b5ebfd80b cleanup lib/addon 2022-07-21 15:32:00 +10:00
Mike Macgirvin
15a0a1a2ca typo in apschema 2022-07-20 04:57:20 -07:00
Mike Macgirvin
b24ac794b1 cleaner display urls 2022-07-20 04:26:28 -07:00
Mike Macgirvin
306444319b tabs->spaces 2022-07-20 15:31:55 +10:00
Mike Macgirvin
1a3b2497b5 tabs->spaces 2022-07-20 15:27:23 +10:00
Mike Macgirvin
fe3d85fd67 remote deletion issue 2022-07-19 17:43:27 -07:00
Mike Macgirvin
9460058cce refactor Url::ssl_exception and fix top-level addressing in Activity::encode_activity 2022-07-18 15:03:22 -07:00
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
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
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
29423d8039 deprecate directory stuff 2022-06-06 20:41:40 -07:00
Mike Macgirvin
27461b58ab fixes from upstream 2022-06-06 18:55:58 -07:00
Mike Macgirvin
943fce51fd deprecate block_public 2022-06-01 14:18:51 -07:00
Mike Macgirvin
de966207d7 cleanup and reduce log noise 2022-05-30 13:54:08 -07:00
Mike Macgirvin
eeec41258e cleanup 2022-05-25 13:11:38 -07:00
Mike Macgirvin
d587a4d367 wrong hublocs being assigned 2022-05-24 20:56:49 -07:00
Mike Macgirvin
e621a25e9a Merge branch 'dev' of ../unfediverse.com into dev 2022-05-24 17:29:05 -07:00
Mike Macgirvin
c252f33375 bugfixes with linkinfo and zotobj 2022-05-24 17:28:11 -07:00
Mike Macgirvin
661d27427e disable newmember widget by default 2022-05-23 20:21:34 -07:00
Mike Macgirvin
cf2b8fdb30 deprecate ostatus:conversation 2022-05-19 13:47:30 -07:00
Mike Macgirvin
0218221db5 extra paren 2022-05-11 15:26:06 -07:00
Mike Macgirvin
0606efd21f item.route unused, but needs to be set or DB will complain 2022-05-11 14:12:35 -07:00
Mike Macgirvin
363c660bad refactor app sync logic 2022-05-11 03:57:37 -07:00
nobody
a76ed6cc0e translate script 2022-05-06 05:08:09 -07:00
nobody
7b538cb9f1 adjust permissions from other import/sync platforms if they don't include deliver_stream 2022-05-05 22:32:09 -07:00
nobody
80e1607944 one more typo 2022-05-05 13:53:37 -07:00
nobody
fd59d52731 typos 2022-05-05 13:17:09 -07:00
nobody
c7eee4fdad delivery issue 2022-05-05 06:04:30 -07:00
nobody
7f131b9266 Merge branch 'dev' of ../rebble.net into dev 2022-05-03 15:56:50 -07:00
nobody
2a6734fa96 move customsql back to admin and turn it into an app 2022-05-03 15:36:46 -07:00
nobody
8de852c189 Merge branch 'dev' of /home/macgirvin/./streams into dev 2022-05-01 03:00:01 -07:00
nobody
7ba7ccf32d Merge branch 'dev' of ../rebble.net into dev 2022-05-01 02:27:30 -07:00
nobody
4f8814f587 no more route 2022-05-01 01:24:52 -07:00
nobody
325d85c969 correctly mirror "Answer" activities. 2022-04-30 22:57:46 -07:00
nobody
1acaf94793 doc block 2022-04-29 23:27:17 -07:00
nobody
5b134eecb5 provide ActivityStreams->objprop() to save a lot of array existence checks on $AS->obj and its potential children which have been cluttering the code since php8. 2022-04-29 14:32:41 -07:00
nobody
ad487eefe7 slight improvements in handling empty objects 2022-04-29 02:48:06 -07:00
nobody
4aabd68c61 reject activities that reference unfetchable objects 2022-04-29 00:52:52 -07:00
nobody
2875b6e7bd more fixes for unfetchable object 2022-04-29 00:13:41 -07:00
nobody
9215bf0ea8 This issue runs deep 2022-04-28 18:34:47 -07:00
nobody
23007a14e4 more error check 2022-04-28 17:23:59 -07:00
nobody
232724cd88 regressions 2022-04-28 14:05:27 -07:00
nobody
ac4a3ab873 remove deprecated rating feature 2022-04-25 04:15:05 -07:00
nobody
da75d15bfe clone confusion 2022-04-24 22:14:15 -07:00
nobody
2a1a7e2e46 couple of tweaks 2022-04-24 17:22:18 -07:00
nobody
59c252dcd8 more AS attachment stuff 2022-04-21 14:46:21 -07:00
nobody
13741a848c php warnings 2022-04-13 14:06:57 -07:00
nobody
17ce7e115d Merge branch 'dev' of ../unfediverse.com into dev 2022-04-10 14:01:45 -07:00
nobody
c67c565ff5 Use 'Join' wherever there's a Connect button referencing a group. 2022-04-10 14:00:37 -07:00
nobody
2759fc6dd9 last minute updates 2022-04-06 16:12:46 -07:00
nobody
04c94dad86 link regression 2022-04-06 03:19:30 -07:00
nobody
edf192dcd9 fix channel adddresses in "via" hovertips 2022-04-04 03:46:22 -07:00
nobody
746f206205 fix item owner from feeds/collections. 2022-04-04 01:28:22 -07:00
nobody
ceaafb5a45 missing namespace 2022-04-01 21:03:04 -07:00
nobody
75a40ce96e php warnings 2022-04-01 13:36:55 -07:00
nobody
e480852a97 sync fixes 2022-03-31 12:21:52 -07:00
nobody
38c8e9df31 sync issue 2022-03-25 13:49:50 -07:00
nobody
ec26a43103 php warnings 2022-03-23 14:09:37 -07:00
nobody
6633dc0e7e sync xchans for superblock 2022-03-22 12:45:55 -07:00
nobody
0b09613cc5 synchronisation issues, cont. 2022-03-20 14:39:58 -07:00
nobody
30d9547f29 sites => communities 2022-03-18 12:38:08 -07:00
nobody
3903d4a3a6 never import xchan photos for local channels - even if it's a clone 2022-03-18 03:48:13 -07:00
nobody
f1362d0408 various php 8 and php 8.1 warnings 2022-03-17 22:48:35 -07:00
nobody
60e73c01ac task sync 2022-03-17 19:26:10 -07:00
nobody
eff0b62be7 incorrect namespace 2022-03-16 22:14:45 -07:00
nobody
4233a13679 Merge branch 'dev' of /home/macgirvin/unfediverse.com into dev 2022-03-15 17:07:40 -07:00
nobody
aeb06b8576 issues with replyto occasionally getting set incorrectly. 2022-03-15 17:06:52 -07:00
nobody
d88245e088 federation issue 2022-03-15 15:15:39 -07:00
nobody
68e87cf3a1 Merge branch 'dev' of ../unfediverse.com into dev 2022-03-15 01:44:14 -07:00
nobody
7cab493e6c php 8.1 changes 2022-03-15 01:42:34 -07:00
nobody
e95471cbc5 Merge branch 'dev' of ../unfediverse.com into dev 2022-03-14 03:09:28 -07:00
nobody
d4b0fd8f81 c2s 2022-03-14 03:09:03 -07:00
nobody
1481b6b639 Merge branch 'dev' of ../unfediverse.com into dev 2022-03-11 21:18:12 -08:00
nobody
fefa91bfba php8 warnings 2022-03-11 21:17:09 -08:00
nobody
431f144897 Honour Pleroma's "invisible" actor flag 2022-03-07 13:54:11 -08:00
nobody
dd78da0d81 only use one yaml library 2022-03-06 21:39:21 -08:00
nobody
e7cc38a2f8 auto-generate addon yaml 2022-03-06 16:03:26 -08:00
nobody
b8ebde4ba9 issues from the php log 2022-03-04 23:01:35 -08:00
nobody
be89c1ee86 handle sitename better 2022-03-02 15:32:54 -08:00
nobody
68688a355b cleanup 2022-03-02 14:54:19 -08:00
nobody
ad4f0a0f8e namespace issue 2022-03-02 14:22:01 -08:00
nobody
b23863654e re-rooted namespaces 2022-03-02 10:13:46 -08:00
nobody
e311856ec0 caldav is not supported. 2022-03-01 15:45:04 -08:00
nobody
a3ab2d9d23 enhance the messagefilter 2022-02-27 21:58:50 -08:00
nobody
f897c008d4 fix missing author in rare cases and update strings for this repository 2022-02-27 12:15:20 -08:00
nobody
4e84fce37f ajax load sites 2022-02-26 00:36:05 -08:00
nobody
c5bd389e23 unit tests 2022-02-20 00:12:31 -08:00
nobody
cfa5328c70 add deliver_stream permission 2022-02-18 14:14:22 -08:00
nobody
47206383b4 minor fixes 2022-02-17 22:14:27 -08:00
nobody
2a3ade5f89 set xchan_type for new accounts and remove deprecated directory realm code 2022-02-17 19:06:17 -08:00
nobody
3e383fd71d more unbranding 2022-02-17 12:39:21 -08:00
nobody
b5a8d2f6a0 more site channel stuff 2022-02-17 12:08:59 -08:00
nobody
5ed020ec14 remove old updates; allow the system_channel to have admin rights 2022-02-16 21:00:35 -08:00
nobody
19f5fc8a57 issue with group check for DM button 2022-02-16 12:09:51 -08:00
nobody
2188da42db add some top padding to the vcard photo 2022-02-16 11:17:58 -08:00
nobody
447f5c4099 file renames 2022-02-15 20:50:35 -08:00
nobody
a8e96322f0 it's done 2022-02-15 20:08:28 -08:00