Commit graph

1719 commits

Author SHA1 Message Date
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
Mike Macgirvin
e13e3e66ee variable overloading 2023-11-25 17:58:24 +11:00
Mike Macgirvin
7734e07a66 Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-11-25 17:49:32 +11:00
Mike Macgirvin
f703baaef4 encode argument to dircensor 2023-11-25 17:48:08 +11:00
Mike Macgirvin
51a99f0de2 issue #131 2023-11-25 08:11:50 +11:00
Mike Macgirvin
80d75c20aa composer update - needs 8.1 and 8.0 is EOL tomorrow. 2023-11-25 07:32:30 +11:00
Mike Macgirvin
4e3a68d457 Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-11-25 07:30:09 +11:00
Mike Macgirvin
39d185fa5d improve directory censor 2023-11-24 21:18:40 +11:00
Mike Macgirvin
4e662ced31 refactor multibase 2023-11-24 19:34:59 +11:00
Mike Macgirvin
3f529297da if xchan_censored is 2, don't refresh profile photo 2023-11-24 17:07:37 +11:00
Mike Macgirvin
c502b1153a Add basic multibase codec 2023-11-24 16:17:00 +11:00
Mike Macgirvin
0f2d3da8a4 default it here also 2023-11-22 06:59:00 +11:00
Mike Macgirvin
4b177d1658 default to false 2023-11-22 06:55:47 +11:00
Mike Macgirvin
f182cb5d22 create display option for chanview redirect 2023-11-22 06:54:47 +11:00
Mike Macgirvin
50655ae1ec new tab/window fixes 2023-11-22 06:42:11 +11:00
Mike Macgirvin
3aecbe4cff make directory images a wee bit larger 2023-11-19 08:12:06 +11:00
Mike Macgirvin
4611b9b932 slight revision of the last commit for edge cases 2023-11-17 06:09:59 +11:00
Mike Macgirvin
fd960c7b98 possible privacy issue 2023-11-17 05:52:38 +11:00
Mike Macgirvin
4417f5489c fix poll response addressing and spinners spinning 2023-11-15 18:52:44 +11:00
Mike Macgirvin
e988af3e44 Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-11-15 18:24:41 +11:00
Mike Macgirvin
5f89295f78 poll response addressing empty 2023-11-15 18:24:10 +11:00
Mike Macgirvin
eb18f62f5f idn_to_ascii does strtolower as an undocumented side effect 2023-11-15 07:44:37 +11:00
Mike Macgirvin
f9e3470e20 store vapid key, initialise web-push in serviceWorker 2023-11-11 09:53:33 +11:00
Mike Macgirvin
5bd2f0b980 update doco 2023-11-11 07:05:19 +11:00