Commit graph

9457 commits

Author SHA1 Message Date
Mike Macgirvin
4729141167 issue with editing items through a delivery chain split. It still isn't fully working but now it won't be prevented from working. 2024-05-02 18:57:11 +10:00
Mike Macgirvin
4b20b30994 issue with editing items through a delivery chain split. It still isn't fully working but now it won't be prevented from working. 2024-05-02 18:55:42 +10:00
Mike Macgirvin
d8a8b6d433 Merge branch 'dev' into nomadic 2024-05-01 20:34:50 +10:00
Mike Macgirvin
d2659a76f5 deliver_stream permission weirdness 2024-05-01 20:22:59 +10:00
Mike Macgirvin
e754596136 Merge branch 'dev' into nomadic 2024-05-01 19:37:07 +10:00
Mike Macgirvin
0e9914b268 set default app 2024-05-01 07:19:28 +10:00
Mike Macgirvin
387f92ca8d Merge branch 'dev' into nomadic 2024-04-29 18:11:58 +10:00
Mike Macgirvin
39cbba2e96 fix event object formatting (missing linebreak after title) 2024-04-29 18:10:01 +10:00
Mike Macgirvin
b69adadfca Merge branch 'dev' into nomadic 2024-04-29 11:13:33 +10:00
Mike Macgirvin
4d93e86b36 Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-04-28 08:23:34 +10:00
Mike Macgirvin
5ff1ca3bfe incorrect permission name 'perm_name' 2024-04-27 13:16:59 +10:00
Mike Macgirvin
184455eb11 incorrect permission name 'perm_name' 2024-04-27 13:15:32 +10:00
Mike Macgirvin
44bb300882 Merge branch 'dev' into nomadic 2024-04-25 10:44:19 +10:00
Mike Macgirvin
ccbbf1f994 remove add activity when object is removed, fix duplicated dropItem function in js. 2024-04-25 10:42:44 +10:00
Mike Macgirvin
f676875b6b fix bbcode links for bang-tag groups 2024-04-21 09:57:19 +10:00
Mike Macgirvin
92d5506c8f Merge branch 'dev' into nomadic 2024-04-20 20:42:27 +10:00
Mike Macgirvin
8e8ef0d4c0 store the id of "myresponses" in $conv_responses 2024-04-20 08:27:57 +10:00
Mike Macgirvin
ef613834d6 schema updates 2024-04-19 10:46:42 +10:00
Mike Macgirvin
f6fc782f4f Merge branch 'dev' into nomadic 2024-04-17 18:47:32 +10:00
Mike Macgirvin
7597703826 use item_restrict 2024-04-17 13:03:53 +10:00
Mike Macgirvin
b6ff1b7621 reverse statement order 2024-04-17 12:52:11 +10:00
Mike Macgirvin
108dc441f7 spurious activities in feeds 2024-04-17 12:34:14 +10:00
Mike Macgirvin
ab31908123 Merge branch 'dev' into nomadic 2024-04-16 19:29:06 +10:00
Mike Macgirvin
fe0f15ed0d support alt text in html2bbcode() 2024-04-15 14:22:47 +10:00
Mike Macgirvin
6c87b31c71 unwind item['obj'] in conversation.php 2024-04-13 10:08:41 +10:00
Mike Macgirvin
84c39b9418 Merge branch 'nomadic' of codeberg.org:streams/streams into nomadic 2024-04-13 06:52:05 +10:00
Mike Macgirvin
1860e95e7c Merge branch 'dev' into nomadic 2024-04-11 21:05:37 +10:00
Mike Macgirvin
3b85b052ad extend like permissions to activitypub owners 2024-04-11 20:52:01 +10:00
Mike Macgirvin
96f15af518 event object is rray 2024-04-11 07:43:56 +10:00
Mike Macgirvin
b40cd1cf86 Merge branch 'dev' into nomadic 2024-04-10 07:30:47 +10:00
Mike Macgirvin
3a119f09b6 add hashtag class 2024-04-10 07:29:59 +10:00
Mike Macgirvin
b7a6cd4358 Merge branch 'dev' into nomadic 2024-04-08 05:32:44 +10:00
Mike Macgirvin
51c7e4e637 add/remove activities still in feed 2024-04-08 05:31:52 +10:00
Mike Macgirvin
e0e5ead239 Merge branch 'dev' into nomadic 2024-04-06 21:26:30 +11:00
Mike Macgirvin
75bb697e53 refactor tgroup_check() to return a matched hashtag that is being followed. Will use this in conversation completion in future work to identify how a particular thread from somebody you weren't following landed in your stream. 2024-04-06 21:17:11 +11:00
Mike Macgirvin
e4a5ee6fa9 noamdic photos cont 2024-04-06 10:35:41 +11:00
Mike Macgirvin
b23d2841e5 nomadic photos cont. 2024-04-06 06:22:35 +11:00
Mike Macgirvin
cb7f4e1930 fix sql 2024-04-05 07:41:34 +11:00
Mike Macgirvin
42a88ca015 fix all other occurences of db_quoteinterval() 2024-04-05 07:39:24 +11:00
Mike Macgirvin
33e034f7d4 silence phpstorm's false positive error messages on db intervals 2024-04-05 07:22:06 +11:00
Mike Macgirvin
e1b4f96025 Merge branch 'nomadic' of codeberg.org:streams/streams into nomadic 2024-04-04 07:53:44 +11:00
Mike Macgirvin
6000278f65 handle late approvals for drafts and future posts 2024-04-03 18:23:15 +11:00
Mike Macgirvin
693678b26f move fhublocs into core, fix ed25519 key not getting saved on existing nomad xchans 2024-04-03 10:36:17 +11:00
Mike Macgirvin
88d46601e5 partially nomadic files 2024-04-01 13:17:23 +11:00
Mike Macgirvin
0c5da6c947 filter add/remove activities from feeds 2024-03-27 11:20:59 +11:00
Mike Macgirvin
46d5d4ad63 make bang tag exclusive 2024-03-25 21:54:03 +11:00
Mike Macgirvin
7109631a2c test repeat tallys 2024-03-22 18:41:37 +11:00
Mike Macgirvin
b164ee0c91 tally repeats 2024-03-22 18:27:28 +11:00
Mike Macgirvin
18d5ac0267 b2b encryption updates 2024-03-16 07:53:18 +11:00
Mike Macgirvin
bc4c572951 secrets upgrade (from hz) 2024-03-14 14:49:12 +11:00
Mike Macgirvin
c1c16cccf3 another typo 2024-03-12 05:19:48 +11:00
Mike Macgirvin
1b92c18150 typo 2024-03-12 05:18:55 +11:00
Mike Macgirvin
d921c6d795 potential recursion in drop_related 2024-03-12 05:12:26 +11:00
Mike Macgirvin
c5acf1d41b php errors 2024-03-11 22:07:54 +11:00
Mike Macgirvin
26788bfdcc allow escape of markdown # -> h1 (etc.) headers 2024-03-11 09:17:56 +11:00
Mike Macgirvin
6c29d57a4c refactor datetime part1 2024-03-10 13:40:50 +11:00
Mike Macgirvin
a524b5e86b fix tests and update languagedetect library (discovered in tests) 2024-03-10 08:10:07 +11:00
Mike Macgirvin
3a15a5b0a2 ATOM_TIME -> ISO8601 2024-03-09 22:17:09 +11:00
Mike Macgirvin
dbd76f879b typo 2024-03-09 17:23:15 +11:00
Mike Macgirvin
4d1289ef15 minor test enhancements 2024-03-09 16:28:05 +11:00
Mike Macgirvin
9c8f57567f improve key discovery/parsing 2024-03-08 17:02:09 +11:00
Mike Macgirvin
a727f0d3da posts with collection target bypassing group send_stream permission check 2024-03-07 13:30:10 +11:00
Mike Macgirvin
8c21c0d3c1 same as last commit with similar function 2024-03-05 20:25:14 +11:00
Mike Macgirvin
4635b67477 Merge branch 'dev' of codeberg.org:streams/streams into dev 2024-03-05 20:22:19 +11:00
Mike Macgirvin
13303c493c offset error 2024-03-05 20:21:42 +11:00
Mike Macgirvin
4344bccfba relax announce filtering 2024-03-05 16:09:24 +11:00
Mike Macgirvin
57663553e3 revert item_store and item_store_update poll changes. The update problem lies elsewhere. 2024-03-03 17:33:21 +11:00
Mike Macgirvin
96e2f7194a hopefully the final piece of the poll puzzle 2024-03-03 13:01:33 +11:00
Mike Macgirvin
253a4b4b2b more poll issues 2024-03-03 12:48:09 +11:00
Mike Macgirvin
92ec813394 block registration by ip 2024-03-01 12:46:57 +11:00
Mike Macgirvin
e708d353f6 poll updates 2024-02-27 22:21:47 -08:00
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