Commit graph

1742 commits

Author SHA1 Message Date
Mike Macgirvin
40784903a4 federated delete ownership check 2024-02-28 07:36:58 +11:00
Mike Macgirvin
10c5eb896d federated delete issue 2024-02-28 06:04:39 +11:00
Mike Macgirvin
2f715412ce Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-02-27 21:43:20 +11:00
Mike Macgirvin
688e0af581 sql error mod_conversation 2024-02-27 21:42:44 +11:00
Mike Macgirvin
5cb8bfee9c remove commentPolicy 2024-02-27 21:32:38 +11:00
Mike Macgirvin
7994e52f00 add archive ui element for conversation snapshots 2024-02-27 20:01:01 +11:00
Mike Macgirvin
b30597afbf use zid in convo link 2024-02-27 16:24:17 +11:00
Mike Macgirvin
61dc841a5c use the copy of data 2024-02-27 11:01:23 +11:00
Mike Macgirvin
8c65f81cae simplify dual signature code 2024-02-27 10:59:14 +11:00
Mike Macgirvin
78cb511778 make container icon link to parent conversation 2024-02-27 08:18:25 +11:00
Mike Macgirvin
17fe2ed042 mod_conversation should contain all activities 2024-02-27 08:03:56 +11:00
Mike Macgirvin
42096ddc1a validate hubzilla dual signatures 2024-02-27 07:25:46 +11:00
Mike Macgirvin
cbc53143dc Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-02-26 02:48:48 -08:00
Mike Macgirvin
686b88f6ea prohibit remote overwrite 2024-02-26 02:48:04 -08:00
Mike Macgirvin
2cb7da6863 hubzilla compatibility at least until next hz release 2024-02-26 11:13:39 +11:00
Mike Macgirvin
76c8d3dca9 relay issue 2024-02-26 08:53:53 +11:00
Mike Macgirvin
5c86943112 remove all the FEP-5624 stuff - it is no longer compatible 2024-02-25 09:43:13 +11:00
Mike Macgirvin
3607a9dd82 missing line from editor 2024-02-24 19:13:54 +11:00
Mike Macgirvin
3e98b825b7 fill in a few missing (but non-essential) fields in the add activity 2024-02-24 19:07:13 +11:00
Mike Macgirvin
f4b0ac2a17 reply theming part1 2024-02-24 14:51:17 +11:00
Mike Macgirvin
c75d82a7f6 Testing of containerised moderation. 2024-02-24 07:11:32 +11:00
Mike Macgirvin
aa71776b33 Merge branch 'dev' into collect 2024-02-22 06:58:05 +11:00
Mike Macgirvin
365ed9ed92 add collection support to moderation 2024-02-22 06:55:20 +11:00
Mike Macgirvin
ea06ecbc7d provide storage for a forthcoming registration 'reason' and let them tell us why they want an account on our site. 2024-02-21 13:49:10 +11:00
Mike Macgirvin
eccdc85c4e added captcha to register workflow 2024-02-21 08:06:38 +11:00
Mike Macgirvin
be98b1756a add captcha generator 2024-02-21 07:12:13 +11:00
Mike Macgirvin
8a0af11efb Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-02-19 16:26:27 +11:00
Mike Macgirvin
ac3a83a597 more group work - primarily over nomad 2024-02-18 13:13:10 +11:00
Mike Macgirvin
38141de5be remove announce special case 2024-02-17 05:12:34 +11:00
Mike Macgirvin
301d99a649 cleanup handling of Announce activities 2024-02-17 05:11:05 +11:00
Mike Macgirvin
02155bc9af fixed non-owner observer fails to fetch conversation 2024-02-16 07:38:39 +11:00
Mike Macgirvin
f5f9b5ce3c Merge branch 'dev' into collect 2024-02-15 19:24:30 +11:00
Mike Macgirvin
7fe9105cda Merge branch 'collect' of codeberg.org:streams/streams into collect 2024-02-15 19:24:16 +11:00
Mike Macgirvin
40514594bd reset defaults for max_imported_follow, but let htconfig over-ride 2024-02-15 11:06:49 +11:00
Mike Macgirvin
41f16e3ab0 Add contentious default settings to htconfig 2024-02-15 11:02:54 +11:00
Mike Macgirvin
9dcd4a180f Set discovery to 0 by default. 2024-02-15 06:55:37 +11:00
Mike Macgirvin
616eda356e Don't validate signatures on requests for the public site actor. 2024-02-14 08:27:04 +11:00
Mike Macgirvin
1ee931c9ea refactor the section that recursed earlier 2024-02-13 19:57:09 +11:00
Mike Macgirvin
61fdbe403a Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-02-13 19:21:38 +11:00
Mike Macgirvin
e192da4bff key value in wrong place 2024-02-13 19:20:56 +11:00
Mike Macgirvin
0399d8b02a make webfinger recursion tracing configurable
util/config system.webfinger_trace 1
2024-02-13 19:02:38 +11:00
Mike Macgirvin
aeb51a00d3 remove backtrace of webfinger - found what we were looking for 2024-02-13 14:53:28 +11:00
Mike Macgirvin
82ea5e1ae0 stop recursion 2024-02-13 09:20:11 +11:00
Mike Macgirvin
0594e93f21 backtrace to find the recursion 2024-02-13 09:04:21 +11:00
Mike Macgirvin
864a25fa65 Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-02-13 09:03:02 +11:00
Mike Macgirvin
60e2390071 Add targets to top-level activities we create which don't already have one 2024-02-13 07:06:28 +11:00
Mike Macgirvin
8073947704 Merge branch 'dev' into collect 2024-02-12 18:17:28 +11:00
Mike Macgirvin
aa93814642 Partially support Pleroma emoji reaction with a shortname instead of an icon. Show the shortname. 2024-02-12 10:04:56 +11:00
Mike Macgirvin
9aa7da034f more heavy lifting on conversation collections. This optionally brings collection support into item_store() and also performs clone sync, removing a lot of duplicate code. Events needed significant refactoring. We cannot combine message delivery of standard items and collection activities, so this will have an impact on outgoing message queue size and processing. 2024-02-11 06:22:39 +11:00
Mike Macgirvin
14291ec1b9 Merge branch 'dev' into collect 2024-02-10 09:15:02 +11:00
Mike Macgirvin
ad906c83e7 ide cleanup 2024-02-10 09:14:39 +11:00
Mike Macgirvin
ef35357fab fix the documentation about the verify flag. 2024-02-10 08:47:20 +11:00
Mike Macgirvin
8e80bea77e issue #146 cont. don't fetch webfinger key if either # or ? is present; do verify http signature if verify is false but you're looking at a Nomad actor record which has a key. This is not intuitive, but the purpose of setting verify false is to avoid lookup recursion, not to allow forgeries. If we can verify the data without performing any additional network fetches, win-win. 2024-02-10 08:37:27 +11:00
Mike Macgirvin
0ba405cb70 still trying to stop the recursion in issue #146 - a bit brutal, but this should do it. 2024-02-10 07:37:26 +11:00
Mike Macgirvin
17fc8c24f8 Merge branch 'dev' into collect 2024-02-09 08:03:37 +11:00
Mike Macgirvin
7823857e85 visually indicate order of precedence for the benefit of future travelers. 2024-02-09 08:02:11 +11:00
Mike Macgirvin
47fee178c7 issue #146 continued - unmessify some ancient logic 2024-02-09 05:40:41 +11:00
Mike Macgirvin
7fa8e763f8 issue #146 chanview recursion 2024-02-09 05:15:58 +11:00
Mike Macgirvin
4afd433528 more progress on containerising groups, also provide container indicator 2024-02-03 09:50:15 +11:00
Mike Macgirvin
2292387f02 Merge branch 'collect' of codeberg.org:streams/streams into collect 2024-02-01 08:00:49 +11:00
Mike Macgirvin
a67c610129 Merge branch 'dev' into collect 2024-02-01 05:09:44 +11:00
Mike Macgirvin
fdfd319804 Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-02-01 05:07:17 +11:00
Mike Macgirvin
2bb550aa3f add fhublocs as cli util 2024-02-01 05:05:47 +11:00
Mike Macgirvin
95daa90dfc conflicts 2024-01-31 20:39:48 +11:00
Mike Macgirvin
85dd35848d Merge branch 'dev' into collect 2024-01-31 20:33:02 +11:00
Mike Macgirvin
016f2be995 remove collection filtering until it works correctly 2024-01-31 20:12:03 +11:00
Mike Macgirvin
96af21b5cf block activities that haven't been invented yet 2024-01-31 20:01:35 +11:00
Mike Macgirvin
5c6006581e Merge branch 'dev' into collect 2024-01-31 19:21:57 +11:00
Mike Macgirvin
93cecb8c3d Merge branch 'collect' of codeberg.org:streams/streams into collect 2024-01-31 17:57:02 +11:00
Mike Macgirvin
066b3189dd Merge branch 'dev' into collect 2024-01-31 16:54:55 +11:00
Mike Macgirvin
7f7d24d269 array assignment issue 2024-01-31 15:21:46 +11:00
Mike Macgirvin
9c2f3c11ac fail zotinfo if no locations discovered 2024-01-31 15:04:06 +11:00
Mike Macgirvin
f27cf184bc Merge branch 'dev' into collect 2024-01-31 09:17:40 +11:00
Mike Macgirvin
946584eaf3 more recursion prevention 2024-01-31 09:16:02 +11:00
Mike Macgirvin
fd0b6b5f1f Merge branch 'dev' into collect 2024-01-31 08:45:06 +11:00
Mike Macgirvin
0dc9a8f86d Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-01-31 08:41:49 +11:00
Mike Macgirvin
882c789010 webfinger: don't redirect, possibility of recursion 2024-01-31 08:40:50 +11:00
Mike Macgirvin
d94a1bebe8 fix unresolved context, html escape inspector output 2024-01-31 06:55:02 +11:00
Mike Macgirvin
24943db46d add some more conversation debugging stuff 2024-01-31 06:35:48 +11:00
Mike Macgirvin
64188555f9 Merge branch 'dev' into collect 2024-01-30 20:07:36 +11:00
Mike Macgirvin
2fc3801215 hyperdrive toggle not working due to name. Issue #142 2024-01-30 18:41:52 +11:00
Mike Macgirvin
37ddd25bea mod_inbox: reject check_channelallowed() channels before storing the actor info 2024-01-30 12:03:53 +11:00
Mike Macgirvin
e5a1776255 Ensure Add activities have ld-contexts 2024-01-30 08:29:12 +11:00
Mike Macgirvin
672e1a3482 fix conversation fetch 2024-01-30 07:59:07 +11:00
Mike Macgirvin
ba1d0ee3e9 cleanup 2024-01-29 22:06:05 +11:00
Mike Macgirvin
e7240a9867 recover jsalmon unpacking - we'll need that for backward compatibility 2024-01-28 09:31:44 +11:00
Mike Macgirvin
868d8a3e7c remove remnants of fep-5624. 2024-01-28 08:07:05 +11:00
Mike Macgirvin
11c8b74993 same change to prevent duplicate item_update on the activitypub side 2024-01-27 15:09:39 +11:00
Mike Macgirvin
a857b7e524 don't store redundant update collection activities 2024-01-27 15:01:09 +11:00
Mike Macgirvin
9966ad264b more validation before adding to collection 2024-01-27 14:15:13 +11:00
Mike Macgirvin
e5f69f4fa0 add more trace logging 2024-01-27 12:59:03 +11:00
Mike Macgirvin
22b061082e set collection per item when fetching parents 2024-01-27 09:45:04 +11:00
Mike Macgirvin
05a17baa4e fix conversation query 2024-01-27 08:45:46 +11:00
Mike Macgirvin
12bcc7bccd add observer info to channel if it isn't there. 2024-01-27 08:35:39 +11:00
Mike Macgirvin
a1f101d1a1 fix permissions 2024-01-27 08:02:50 +11:00
Mike Macgirvin
3979aed07c Merge branch 'collect' of codeberg.org:streams/streams into collect 2024-01-27 07:41:09 +11:00
Mike Macgirvin
69411bab64 collections - testing activitypub cont. 2024-01-27 07:40:25 +11:00
Mike Macgirvin
7a756eaf56 cache-control 2024-01-27 06:19:53 +11:00
Mike Macgirvin
5fe246bd89 cache-control 2024-01-27 06:19:17 +11:00
Mike Macgirvin
389f76ce7b offset issue 2024-01-26 16:32:34 +11:00