Commit graph

1742 commits

Author SHA1 Message Date
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
Mike Macgirvin
37d0ba2878 collection testing 2024-01-26 12:11:36 +11:00
Mike Macgirvin
cfa14a6fbf more testing of collections 2024-01-26 09:09:35 +11:00
Mike Macgirvin
198f875136 make objcache consistent, get rid of jsalmon 2024-01-25 21:56:55 +11:00
Mike Macgirvin
d777aee293 more work on activitypub side of things 2024-01-25 07:01:42 +11:00
Mike Macgirvin
d710cfe2df more testing 2024-01-23 22:04:08 +11:00
Mike Macgirvin
97ef0244f6 prevent recursion 2024-01-23 20:12:39 +11:00
Mike Macgirvin
e592adac19 testing cont. 2024-01-23 20:02:09 +11:00
Mike Macgirvin
3587a36284 testing collection delivery (work in progress) 2024-01-23 08:48:38 +11:00
Mike Macgirvin
3fcd550e20 bring isCollectionOperation to ActivityPub 2024-01-22 20:43:22 +11:00
Mike Macgirvin
6effa8de04 if a collection is targeted, reject non-collection operations. 2024-01-21 06:56:35 +11:00
Mike Macgirvin
f7226e50cf set target for outbound posts that we own 2024-01-18 07:16:07 +11:00
Mike Macgirvin
a23aa82489 3rd effort at collection re-architecture. 2024-01-17 07:18:55 +11:00
Mike Macgirvin
54ffb2039d Merge branch 'dev' into collect 2024-01-15 04:46:56 +11:00
Mike Macgirvin
c31050437d add newline before closing /share tag in case it is needed for markdown 2024-01-14 16:59:46 +11:00
Mike Macgirvin
70e017e764 repeat: add/remove from collection, this time as standalone activities 2024-01-14 10:13:18 +11:00
Mike Macgirvin
88c8459b28 even a link needs a type 2024-01-13 22:04:08 +11:00
Mike Macgirvin
37556b13f6 add proof element 2024-01-12 16:44:08 +11:00
Mike Macgirvin
0baeea3e09 prepare to use DTO for assertions 2024-01-12 16:31:10 +11:00
Mike Macgirvin
0df8511c58 DTOs 2024-01-12 05:34:22 +11:00
Mike Macgirvin
672a5cc2e1 delivery issue for Announce/Invite/Event discovered while fixing the unrelated #140 2024-01-11 07:47:24 +11:00
Mike Macgirvin
18ed2eff93 work in progress 2024-01-09 07:58:16 +11:00
Mike Macgirvin
e5bb5b4c12 only show images in embedphotoswidget when called from profile_photo and cover_photo 2024-01-08 21:32:02 +11:00
Mike Macgirvin
d0f50792dd fix photo title on edit (was using description) 2024-01-08 17:02:50 +11:00
Mike Macgirvin
02b2e5efd4 publish photo if body text is changed during edit 2024-01-08 11:49:14 +11:00
Mike Macgirvin
3b8da3500e fix update 1271 again 2024-01-06 18:49:40 +11:00
Mike Macgirvin
6ffd94fae8 Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-01-06 18:49:22 +11:00
Mike Macgirvin
d25b3f9fc7 missed signature => proof on a few controllers 2024-01-06 06:31:03 +11:00
Mike Macgirvin
934144089d bad signature in Home controller 2024-01-06 06:18:21 +11:00
Mike Macgirvin
bb5c7a2f76 mopping up fep-8b32, also added FEP-2c59 2024-01-05 07:51:37 +11:00
Mike Macgirvin
26f12c2831 Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-01-03 18:06:17 +11:00
Mike Macgirvin
df76f4966f issue #138 - error in postgres db update 1275 2024-01-03 15:33:04 +11:00
Mike Macgirvin
1ed3fcf68e Remove LD-signatures with extreme bias. 2024-01-03 11:17:40 +11:00
Mike Macgirvin
4c4809e787 cleanup 2024-01-02 19:58:31 +11:00
Mike Macgirvin
fe03d1c51a cover all import paths for generating ed25519 keys 2024-01-02 15:47:27 +11:00
Mike Macgirvin
c3aff43552 generate xchan_epubkey on import 2024-01-02 15:40:43 +11:00
Mike Macgirvin
fed01ba62a create and import ed25519 xchan keys 2024-01-02 15:34:19 +11:00
Mike Macgirvin
6b4b05d63e more ed25519 stuff, recursion in system_unavailable. 2024-01-02 12:25:37 +11:00
Mike Macgirvin
24f1df1802 Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-01-01 21:15:50 +11:00
Mike Macgirvin
2cb5218e3b initial (wip) port of ldsignatures to jcseddsa2022, not yet ready for prime time 2024-01-01 21:13:27 +11:00
Mike Macgirvin
459611b889 more complete handling of unfollow 2024-01-01 08:02:52 +11:00
Mike Macgirvin
5c3efea888 deprecate ld-signatures on actor records 2023-12-30 07:49:56 +11:00
Mike Macgirvin
2ac72f0876 undo authenticated fetch change of default 2023-12-28 15:03:14 +11:00
Mike Macgirvin
cce06e5d94 Add attributedTo to paged_collection_init() 2023-12-27 18:38:36 +11:00
Mike Macgirvin
645f5d0a0a Add the ability to filter by user-agent 2023-12-27 07:07:57 +11:00
Mike Macgirvin
40114c6045 log incoming User-Agent (ActivityPub) 2023-12-27 06:47:52 +11:00
Mike Macgirvin
e016007fec zotfinger: use signed requests 2023-12-25 06:14:20 +11:00
Mike Macgirvin
0ccfc10253 bring phpmailer to core 2023-12-24 08:02:43 +11:00
Mike Macgirvin
80bae523a9 Make 'Audience' a default app now that the default audience is no longer "anybody on the internet". 2023-12-23 07:37:29 +11:00
Mike Macgirvin
bee0b051e2 completely remove 2024 config 2023-12-21 09:40:31 +11:00
Mike Macgirvin
31f1563a77 broken migration 2023-12-20 14:27:20 +11:00
Mike Macgirvin
4903951fa9 create hyperdrive connection permission 2023-12-20 14:13:40 +11:00
Mike Macgirvin
fffbb3b789 Change default settings for more privacy 2023-12-20 09:49:54 +11:00
Mike Macgirvin
d7a3d8a083 initialise container branch 2023-12-19 21:08:08 +11:00
Mike Macgirvin
1b68c9a51a add webp support to doco assets 2023-12-19 12:43:47 +11:00
Mike Macgirvin
f4bab2b172 make markdown alt-text visible by adding to the title attribute 2023-12-19 12:27:25 +11:00
Mike Macgirvin
8910f488f0 Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-12-18 05:52:40 +11:00
Mike Macgirvin
b23cef4ca8 fixes from hz 2023-12-18 05:51:37 +11:00
Mike Macgirvin
8a932852a8 refactor activitypub driver 2023-12-17 19:22:20 +11:00
Mike Macgirvin
f71a88c69a Configure ActivityPub driver for using Add activities over signed activities. 2023-12-17 09:23:30 +11:00
Mike Macgirvin
6606357d15 Provide unique message-id for add activity, improve the output of the item inspector. 2023-12-17 08:28:58 +11:00
Mike Macgirvin
c72c37fffb Possible or at least partial solution to issue #133 where Announce activities are filtered to prevent overwhelming conversations with redundant workarounds for Mastodon behaviour. 2023-12-16 08:52:19 +11:00
Mike Macgirvin
f83c17fd64 wordsmith 2023-12-15 08:21:47 +11:00
Mike Macgirvin
92d560745a add requirements for bcmath or gmp to setup checks 2023-12-15 08:19:17 +11:00
Mike Macgirvin
4b02e3ba83 more 2024 cleanup 2023-12-14 23:05:27 +11:00
Mike Macgirvin
1d84f88342 $attributedTo is string in this case. 2023-12-14 22:38:22 +11:00
Mike Macgirvin
50e95cfd69 more 2024 development 2023-12-14 22:36:44 +11:00
Mike Macgirvin
7c03d7144e refactor encode_add_activity(), now logic is done in encode_activity() 2023-12-14 19:25:05 +11:00
Mike Macgirvin
14e9ea1610 code review new changes 2023-12-12 22:08:37 -08:00
Mike Macgirvin
4c229c4fbe encode_add_activity continued 2023-12-12 08:13:34 +11:00
Mike Macgirvin
5da7604d0c Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-12-10 06:53:39 +11:00
Mike Macgirvin
79bb556d27 make assertionMethod an array; check return from Config::Load() and retry on failure. 2023-12-10 06:52:07 +11:00
Mike Macgirvin
20314d2c74 Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-12-09 21:25:48 +11:00
Mike Macgirvin
524fadd91c create encode_add_activity() for future work 2023-12-09 20:57:55 +11:00
Mike Macgirvin
166a69c282 Add fhublocs module/tool to repository (repair damaged or missing hubloc records) 2023-12-09 06:13:30 +11:00
Mike Macgirvin
c5c86a23cd Add sodium to installation requirements and setup tests. Rename getkey operation to rsakey 2023-12-08 08:46:09 +11:00
Mike Macgirvin
12506ed2e0 remove ed25519 key to see if this is responsible for the Mastodon federation issue 2023-12-07 08:48:45 +11:00
Mike Macgirvin
f0583b510f Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-12-06 10:28:52 +11:00
Mike Macgirvin
a931fc2231 Issue #132 - fix db update _1271 for postgres 2023-12-06 10:27:43 +11:00
Mike Macgirvin
93f9add9dc Support and import alt-text supplied by opengraph or image attributes when parsing external links 2023-12-06 06:47:59 +11:00
Mike Macgirvin
27fb8296cd Add AssertionMethod DTO 2023-12-05 07:38:15 +11:00
Mike Macgirvin
82f3b5fab1 Merge branch '2023' into dev 2023-12-04 20:15:43 +11:00
Mike Macgirvin
f97e02706e make sess_data field larger on mysql driver to hold seen_items array > 4k items 2023-12-03 16:12:29 +11:00
Mike Macgirvin
9367014cc2 ASobject and ed25519 work continued 2023-12-01 11:34:16 +11:00
Mike Macgirvin
70a1ee55d3 incorrect conversation pointer 2023-11-30 20:22:11 +11:00
Mike Macgirvin
4f60a86868 more low level ActivityPub object stuff 2023-11-30 18:02:55 +11:00
Mike Macgirvin
06b526d1db Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-11-29 12:16:09 +11:00
Mike Macgirvin
dc353aed18 Add regular expression matching to advanced filters 2023-11-29 12:14:22 +11:00
Mike Macgirvin
1f33333e43 Add redis session driver 2023-11-29 08:07:37 +11:00
Mike Macgirvin
2b35157483 refactor, create Channel::abook_sync() 2023-11-28 22:19:20 +11:00
Mike Macgirvin
74acc80f39 code cleanup 2023-11-28 18:47:38 +11:00
Mike Macgirvin
30268166fa prevent cross protocol delivery loops 2023-11-28 05:45:33 +11:00
Mike Macgirvin
c1ee03b790 Change update message and comparison 2023-11-28 05:21:17 +11:00
Mike Macgirvin
ccc3e36c25 testing 2023-11-27 20:45:54 +11:00
Mike Macgirvin
5e32505d5f syntax 2023-11-27 19:05:22 +11:00
Mike Macgirvin
0072503003 soften the connedit clone warning text 2023-11-27 18:59:47 +11:00
Mike Macgirvin
35c147dfa2 Merge branch 'wip' into dev 2023-11-27 18:31:46 +11:00
Mike Macgirvin
ec471ff469 add message-id to queue records to simplify tracking complex delivery issues 2023-11-27 18:26:13 +11:00
Mike Macgirvin
86b9162a4f wip 2023-11-27 17:10:26 +11:00
Mike Macgirvin
9c8c4c9901 dirblock 2023-11-25 21:03:21 +11:00
Mike Macgirvin
c9183e1b26 undefined class 2023-11-25 17:59:34 +11:00