Commit graph

9436 commits

Author SHA1 Message Date
Mike Macgirvin
d63a02dbf6 attempt to fix poll updates on contained items 2024-02-28 14:22:33 +11:00
Mike Macgirvin
817b60270b use any type of collection in drop_related 2024-02-28 13:54:51 +11:00
Mike Macgirvin
12b60f75d7 Turn photo items back into Create activities 2024-02-25 11:21:41 +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
7c2fd81fd0 whitespace 2024-02-25 07:58:22 +11:00
Mike Macgirvin
24f6d711e4 drop related items when the associated Create or Add activity is deleted 2024-02-25 07:54:45 +11:00
Mike Macgirvin
365ed9ed92 add collection support to moderation 2024-02-22 06:55:20 +11:00
Mike Macgirvin
ac3a83a597 more group work - primarily over nomad 2024-02-18 13:13:10 +11:00
Mike Macgirvin
0f2e4e54d3 group delivery fix on collect branch 2024-02-17 06:14:53 +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
9dcd4a180f Set discovery to 0 by default. 2024-02-15 06:55:37 +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
eec62a5cc9 Convert photo items to container operations 2024-02-13 06:51:49 +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
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
b5e346ac1a Merge branch 'dev' into collect 2024-02-08 08:03:05 +11:00
Mike Macgirvin
706636b02a Remove host checking on database install. 2024-02-08 05:22:14 +11:00
Mike Macgirvin
5301f394c1 fix inline code blocks in document. They will still require a fix in the fresh theme to display inline correctly. 2024-02-05 07:44:32 +11:00
Mike Macgirvin
4afd433528 more progress on containerising groups, also provide container indicator 2024-02-03 09:50:15 +11:00
Mike Macgirvin
489f87d9f5 groups testing 2024-02-02 21:48:49 +11:00
Mike Macgirvin
c357cee20b Undo compatibility fix 2024-02-01 07:59:14 +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
2aef006862 found the issue - let's try again 2024-01-31 20:29:16 +11:00
Mike Macgirvin
016f2be995 remove collection filtering until it works correctly 2024-01-31 20:12:03 +11:00
Mike Macgirvin
82081b55ef hide collection activities in dev branch 2024-01-31 19:07:10 +11:00
Mike Macgirvin
fd0b6b5f1f Merge branch 'dev' into collect 2024-01-31 08:45:06 +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
ff794da5f2 add more logging 2024-01-27 08:24:02 +11:00
Mike Macgirvin
a1f101d1a1 fix permissions 2024-01-27 08:02:50 +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
e316c445b9 add '%' to the escaped message_id characters 2024-01-26 09:10:07 +11:00
Mike Macgirvin
bb01687aa3 add '%' to the escaped message_id characters 2024-01-26 09:08:52 +11:00
Mike Macgirvin
e592adac19 testing cont. 2024-01-23 20:02:09 +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
0df8511c58 DTOs 2024-01-12 05:34:22 +11:00
Mike Macgirvin
04d111c8b5 require use statement 2024-01-10 09:42:22 +11:00
Mike Macgirvin
f980dab26a issue #140 repeated event rendered twice, once with wrong attribution 2024-01-10 09:18:13 +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
1ed3fcf68e Remove LD-signatures with extreme bias. 2024-01-03 11:17:40 +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
5c3efea888 deprecate ld-signatures on actor records 2023-12-30 07:49:56 +11:00
Mike Macgirvin
9295f101de use 'phpmailer' config category for compatibility 2023-12-24 09:43:01 +11:00
Mike Macgirvin
242c7478d4 incorrect parameter (cut/paste error) 2023-12-24 08:47:26 +11:00
Mike Macgirvin
0ccfc10253 bring phpmailer to core 2023-12-24 08:02:43 +11:00
Mike Macgirvin
bd1b061949 more flexibility for multi-word tags 2023-12-20 19:18:46 -08:00
Mike Macgirvin
d7a3d8a083 initialise container branch 2023-12-19 21:08:08 +11:00
Mike Macgirvin
80a26f2781 use htmlentities() on markdown alt text 2023-12-19 12:31:30 +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
29fcc013a5 rework last commit 2023-12-18 07:03:15 +11:00
Mike Macgirvin
14e9ea1610 code review new changes 2023-12-12 22:08:37 -08:00
Mike Macgirvin
87cb92b2bf discovery issue 2023-11-27 22:03:40 +11:00
Mike Macgirvin
86b9162a4f wip 2023-11-27 17:10:26 +11:00
Mike Macgirvin
50655ae1ec new tab/window fixes 2023-11-22 06:42:11 +11:00
Mike Macgirvin
87f73496ce Revert "open some links in a new window"
This reverts commit 11eb6f953e.
2023-11-21 17:39:44 +11:00
Mike Macgirvin
7d7824058a Revert "add target to conv_responses"
This reverts commit 82b0141f03.
2023-11-21 17:37:55 +11:00
Mike Macgirvin
82b0141f03 add target to conv_responses 2023-11-21 17:32:28 +11:00
Mike Macgirvin
11eb6f953e open some links in a new window 2023-11-21 10:12:10 +11:00
Mike Macgirvin
be1385f549 group delivery issue 2023-11-14 18:11:55 +11:00
Mike Macgirvin
ed83349057 issue with delivery of repeats, generate ed25519 keys on import and clone sync if they don't exist. Add library for base58-btc encoding/decoding (needed for multikey/publickeymultibase). 2023-11-09 07:06:11 +11:00
Mike Macgirvin
048ca214be Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-11-08 07:06:07 +11:00
Mike Macgirvin
9c35fe9423 catch a few more places that need isOWAEnabled() instead of network checks. 2023-11-08 07:04:10 +11:00
Pascal
bac21f9199 use isOWAEnabled instead of checking zot/nomad network explicitely 2023-11-06 19:08:59 +01:00
Mike Macgirvin
f8293a3968 refactor default group creation 2023-11-05 09:15:53 +11:00
Mike Macgirvin
3436294005 Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-10-31 07:02:17 +11:00
Mike Macgirvin
a69ecf1def provide hz document loader for in-depth testing. 2023-10-30 02:40:46 -07:00
Mike Macgirvin
bd579c8bd7 architecture changes 2023-10-29 06:59:56 +11:00
Mike Macgirvin
e21866b3d8 refacor discovery, more work on peertube 2023-10-28 10:52:09 +11:00
Mike Macgirvin
61817e8ff1 refactor actor_store() to accept webfinger results which will be required to check ActivityPub sources for OWA capability. 2023-10-26 06:31:37 +11:00
Mike Macgirvin
a655d11423 deal with expiring peertube View activities which only exist for 2 minutes 2023-10-25 21:02:15 +11:00
Mike Macgirvin
18eab59bec whitescreen on fix for #114 2023-10-18 06:21:20 +11:00
Mike Macgirvin
6630a1fd0e issue #114 store follow_url from webfinger for ActivityPub discovered actors as it isn't present in the actor record like it is for Nomand and Zot6 2023-10-17 21:09:32 +11:00
Mike Macgirvin
e1583cf8de js syntax 2023-10-12 06:11:10 +11:00
Mike Macgirvin
fbb9caf770 set default output in strip_share_content 2023-10-10 08:46:29 +11:00
Mike Macgirvin
3c2f178968 bullhorn emoji isn't supported on some fonts, so use public addresss loudspeaker instead. Looks like the same thing to me. 2023-10-10 06:08:54 +11:00
Mike Macgirvin
6afac199ef repeats 2023-10-09 17:11:45 +11:00
Mike Macgirvin
9b88e215f6 missing string 2023-10-08 09:39:59 +11:00
Mike Macgirvin
aac293181d direction tags 2023-10-06 15:08:29 +11:00
Mike Macgirvin
5c7ec5608f Revert "allow rtl over-ride once again. We'll see how it goes this time."
This reverts commit bd421c9c0e.
2023-10-06 07:38:09 +11:00
Mike Macgirvin
bd421c9c0e allow rtl over-ride once again. We'll see how it goes this time. 2023-10-06 07:30:57 +11:00
Mike Macgirvin
fe2147a577 prevent group hashtags inside recursive share from performing group deliveries 2023-10-04 21:59:30 +11:00
Mike Macgirvin
6416701c6c better (ActivityPub) export format for spoiler and open tags 2023-10-03 08:06:27 +11:00
Mike Macgirvin
da2f68776e fix event rsvp's 2023-09-30 08:31:07 +10:00
Mike Macgirvin
5fe4694f6f resolve discrepencies in different badge-pills colour schemes 2023-09-26 11:30:46 +10:00
Mike Macgirvin
6455984fd3 debugging updates 2023-09-24 06:54:03 +10:00
Mike Macgirvin
8464d1603a log is_group in tag_deliver 2023-09-17 08:39:10 +10:00
Mike Macgirvin
6b0b18d3d5 better escaping of markdown code blocks from tag and url linking. 2023-09-13 06:31:29 +10:00
Mike Macgirvin
bcea6285be put moderation into connection tools 2023-09-04 22:02:50 +10:00
Mike Macgirvin
86638503c3 Update federated search document 2023-08-30 06:58:47 +10:00
Mike Macgirvin
6151b36407 fix lockview for second generation virtual lists 2023-08-25 21:24:06 +10:00
Mike Macgirvin
8b955757f3 Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-08-24 18:27:42 +10:00
Mike Macgirvin
88eb9fbe9c unset string checks from Cyborg 2-A 2023-08-24 18:24:29 +10:00
Mike Macgirvin
e5f629eed8 network issue 2023-08-24 12:49:28 +10:00
Mike Macgirvin
00a25fe552 revise accept handling 2023-08-24 08:45:17 +10:00
Mike Macgirvin
c163be1863 issue with conversation fetch 2023-08-23 08:03:42 +10:00
Mike Macgirvin
6fe77f315c turn off poll sharing until the conflicts are resolved. 2023-08-20 10:23:21 +10:00
Mike Macgirvin
990a173fdd Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-08-19 07:15:37 +10:00
Mike Macgirvin
ee46eb159f hide imported poll responses 2023-08-19 07:14:59 +10:00
Mike Macgirvin
b23aa1420a fixes from upstream 2023-08-17 23:53:43 -07:00
Mike Macgirvin
c920b0dfad pdf display issue 2023-08-18 07:08:13 +10:00
Mike Macgirvin
5525231ee5 change default group 2023-08-17 21:16:29 +10:00
Mike Macgirvin
d51dd9feb2 bring back the connections part of virtual groups 2023-08-17 14:03:33 +10:00
Mike Macgirvin
064c60e9b0 poll issues cont. 2023-08-12 05:43:19 +10:00
Mike Macgirvin
2d0e431d83 allow owner to vote in polls 2023-08-10 22:03:43 -07:00
Mike Macgirvin
0580e96466 unwanted whitescreen 2023-08-11 08:27:51 +10:00
Mike Macgirvin
7783bd14e5 use hostname, not url 2023-08-11 08:23:07 +10:00
Mike Macgirvin
88373c7140 use the hubloc_url instead of the xchan_url as they might be different. 2023-08-11 07:28:47 +10:00
Mike Macgirvin
191305ac68 check site blocks for third party content 2023-08-11 06:49:23 +10:00
Mike Macgirvin
c73e2952bc more communities options 2023-08-07 19:53:14 +10:00
Mike Macgirvin
96c15f4572 log linkedid success case 2023-08-07 18:51:38 +10:00
Mike Macgirvin
833d6b6507 groups refactor 2023-08-05 06:11:24 +10:00
Mike Macgirvin
8d274890ca issue with item (manual) expiration 2023-08-03 07:40:41 +10:00
Mike Macgirvin
25a69b236b new auth work 2023-07-29 11:07:38 +10:00
Mike Macgirvin
772a63e2e5 add remote auth HTTP_AUTHORIZATION missing fix to api_auth. 2023-07-29 08:43:46 +10:00
Mike Macgirvin
3031d58278 update readmore.js, fix disabling it, and use \Code\Nomad\Profile wherever appropriate 2023-07-23 09:01:55 +10:00
Mike Macgirvin
8172e5243d protocol object classes continued 2023-07-22 22:06:41 +10:00
Mike Macgirvin
746ebc0931 allow wildcard in reserved_channels list 2023-07-14 07:05:58 +10:00
Mike Macgirvin
6e87291b3e not all hashtags were getting stored in term table 2023-07-09 18:28:02 +10:00
Mike Macgirvin
eda2f4aef4 stream query fixes 2023-07-05 07:57:56 +10:00
Mike Macgirvin
ef253d1bad regex issue 2023-06-13 13:43:29 +10:00
Mike Macgirvin
84d4ccaff8 sync the prefixes 2023-06-13 05:21:37 +10:00
Mike Macgirvin
069c75505f protect oembed from naked link replacement 2023-06-12 11:01:04 +10:00
Mike Macgirvin
a1b8357584 protect audio and video from naked link replacement issue #84 2023-06-12 10:47:35 +10:00
Mike Macgirvin
130b621210 fine-tune the tagadelic filter 2023-06-12 09:43:38 +10:00
Mike Macgirvin
02e136401e fix categories for groups 2023-06-12 09:13:03 +10:00
Mike Macgirvin
7405b21088 simplify 2023-06-11 16:50:14 +10:00
Mike Macgirvin
ee38b8b699 groups should not inherit foreign categories. 2023-06-11 16:41:07 +10:00
Mike Macgirvin
fc40564cb0 xchan_photo issue 2023-06-11 07:27:46 +10:00
Mike Macgirvin
b66d9584ca allow pins to be removed from pinned widget display 2023-06-05 06:57:12 +10:00
Mike Macgirvin
477cf933c1 jot: cleanup/collapse location service buttons into a dropdown 2023-06-04 15:28:35 +10:00
Mike Macgirvin
790846c360 relayed deletion phase1 2023-05-30 06:50:03 +10:00
Mike Macgirvin
8849f4e631 issues from logs 2023-05-30 06:25:57 +10:00
Mike Macgirvin
30cdba3b11 missing url - error from logs 2023-05-28 05:56:58 +10:00
Mike Macgirvin
85201a7990 fix query after providing privacy fix 2023-05-25 14:30:31 -07:00
Mike Macgirvin
078823f6a4 use received date 2023-05-23 07:11:52 +10:00
Mike Macgirvin
4aa9f50444 put timestamps on likes (using relative_date()) so people can more easily find the new ones 2023-05-23 07:06:27 +10:00
Mike Macgirvin
eea0dc9f07 malformed markdown link 2023-05-14 08:37:33 +10:00
Mike Macgirvin
e49b9d8a89 remove redundant code 2023-05-06 15:03:25 -07:00
Mike Macgirvin
29868ab60b Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-05-07 05:13:51 +10:00
Mike Macgirvin
232a74641d give linkids republish permissions 2023-05-07 05:13:12 +10:00
Mike Macgirvin
184217ef22 ap_update_actor 2023-05-06 20:39:39 +10:00
Mike Macgirvin
a412ce4f98 remote DM notification issue 2023-05-03 14:13:45 -07:00
Mike Macgirvin
0a08d42971 identity manager 2023-05-03 20:20:57 +10:00
Mike Macgirvin
efc5fb3905 more identity manager 2023-05-03 09:02:10 +10:00
Mike Macgirvin
5abb0f1a77 identity manager cont. 2023-05-03 06:52:34 +10:00
Mike Macgirvin
8c76acc132 do not re-import manually deleted posts (but do update expired posts that have new content) 2023-04-27 22:35:28 -07:00
Mike Macgirvin
c146cd0f0b Merge branch 'dev' of https://codeberg.org/streams/streams into dev 2023-04-27 22:12:00 -07:00
Mike Macgirvin
b96fe49d97 add expire flag to drop_item() to distinguish between deleted and expired posts. 2023-04-28 08:26:09 +10:00
Mike Macgirvin
1502e138aa postgres errors 2023-04-26 22:37:54 -07:00
Mike Macgirvin
09f83c559c sort out naked link processing order 2023-04-26 20:17:45 +10:00
Mike Macgirvin
b453aea87a better formatting of oembeds 2023-04-25 17:44:05 -07:00
Mike Macgirvin
69049a5e27 change the ordering of linkification 2023-04-26 08:38:39 +10:00
Mike Macgirvin
78d16da75d Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-04-26 07:53:37 +10:00
Mike Macgirvin
98f98409ac hide embed tags on activitypub export 2023-04-26 07:52:21 +10:00
Mike Macgirvin
2d94d2c07a identity manager (wip) 2023-04-25 14:47:05 +10:00
Mike Macgirvin
56e60cae6b identity management cont. 2023-04-25 10:07:59 +10:00
Mike Macgirvin
1395996c80 WIP: high level functions for linked identities. 2023-04-25 07:58:44 +10:00
Mike Macgirvin
994a8c000a change activity uri for events 2023-04-23 10:32:54 +10:00
Mike Macgirvin
c275012b78 fix some multicode quirks after refactor 2023-04-22 09:42:48 +10:00
Mike Macgirvin
8c326bcf34 lower processing priority of markdown relative to bbcode 2023-04-21 21:43:36 +10:00
Mike Macgirvin
83a283db8f typocheck 2023-04-20 19:47:04 +10:00
Mike Macgirvin
0d349f5fc0 don't process markdown on inbound bbcode messages 2023-04-20 19:44:54 +10:00
Mike Macgirvin
39338faf05 de-dupe format_poll() 2023-04-18 20:54:05 +10:00
Mike Macgirvin
b3d781bec3 significant rounding errors in poll results 2023-04-18 20:32:38 +10:00
Mike Macgirvin
f4779a8c66 Merge ../rebble.net into dev 2023-04-12 04:08:29 -07:00
Mike Macgirvin
d181324122 use different keyId for ActivityPub and Nomad 2023-04-11 22:25:18 -07:00
Mike Macgirvin
009e0348f0 don't be greedy 2023-04-10 11:14:12 +10:00
Mike Macgirvin
2532787c45 yet another false positive markdown url 2023-04-10 09:55:39 +10:00
Mike Macgirvin
f90f14ed7c fix icon title 2023-04-07 08:29:16 +10:00
Mike Macgirvin
95fba0d441 smooth the wording 2023-04-06 15:21:54 -07:00
Mike Macgirvin
949a40b38d attach work so far 2023-04-06 22:12:55 +10:00
Mike Macgirvin
b0c381b379 more progress - we have embeds now. But much more work ahead 2023-04-05 07:17:59 +10:00
Mike Macgirvin
631d181fb9 attach widget - start adding filetypes 2023-04-04 20:24:17 +10:00
Mike Macgirvin
136b5ee4ac more progress on attach widget 2023-04-03 19:56:34 +10:00
Mike Macgirvin
028104c804 mp3 poster a bit too confronting 2023-04-02 16:54:58 +10:00
Mike Macgirvin
b76d56dc35 grab the alt text 2023-04-02 10:38:02 +10:00
Mike Macgirvin
7726b8c359 add default icons 2023-04-01 19:25:28 +11:00
Mike Macgirvin
ee6482fd6d more progress on file widget 2023-04-01 19:15:55 +11:00
Mike Macgirvin
ce43ec0c6d verify the attach_dirlist() function 2023-04-01 09:17:09 +11:00
Mike Macgirvin
cc08301391 Merge branch 'dev' into attach 2023-04-01 07:42:46 +11:00
Mike Macgirvin
440fef7ea5 federated deletion issue 1/2 2023-03-26 21:56:05 -07:00
Mike Macgirvin
438a1b4268 a bit more progress on the attach widget 2023-03-19 18:27:18 +11:00
Mike Macgirvin
752dd5a328 switch to the new function attach_dirlist() 2023-03-19 17:35:51 +11:00
Mike Macgirvin
6c8e8dcc99 testing attach_list() 2023-03-19 15:55:24 +11:00
Mike Macgirvin
97464120bd provide attach_list to mimic photos_albums_list 2023-03-19 13:45:46 +11:00
Mike Macgirvin
230382ed9a Merge branch 'dev' of codeberg.org:streams/streams into dev 2023-03-18 08:30:11 +11:00
Mike Macgirvin
ca60aa8984 sites->communities and increase max supported thread depth 2023-03-18 08:29:31 +11:00
Mike Macgirvin
3437ee5c71 make things work normally until the upload/attach selection feature is reworked a wee bit 2023-03-15 21:28:13 +11:00
Mike Macgirvin
a465fe9b5e Merge branch 'dev' of ../macgirvin into dev 2023-03-13 23:45:45 -07:00
Mike Macgirvin
9000e147a0 Add '#' to escaped entities in message-ids since Mastodon is now using fragments as identifiers. 2023-03-13 23:43:50 -07:00
Ray
eadd66d51d Merge branch 'dev' into issue-46 2023-03-13 16:43:51 -04:00
Ray
6bcb0b3652 clicktitle no longer needed 2023-03-13 16:38:46 -04:00
Ray
7bd3b00c0a working on audio 2023-03-13 10:12:24 -04:00
Mike Macgirvin
f9fea6b5e6 refactor "permit-all-likes" 2023-03-12 19:41:15 -07:00