Mark Felder
2c9d071aad
Retire MRFs DNSRBL, FODirectReply, and QuietReply
...
DNSRBL was a neat experiment which should live out of tree. It works and could be used to coordinate rules across different servers, but Simple Policy will always be better
FODirectReply and QuietReply have reliability issues as implemented in an MRF. If we want to expose this functionality to admins it should be a setting that overrides the chosen scope during CommonAPI.post instead of trying to rewrite the recipients with an MRF.
2025-02-28 16:43:28 -08:00
Mark Felder
2137b681dc
Fix image URLs in TwitterCard parser test
...
The logic has been changed to ensure we always choose the first image if multiple are specified. This also applies when both OpenGraph and TwitterCard tags are published on a page. We parse for OpenGraph tags first and in this case the website was intentionally serving different images for TwitterCards and OpenGraph.
2025-02-28 15:26:13 -08:00
Mark Felder
cb073a9cd0
Rich Media Parser should use first og:image
2025-02-28 15:12:49 -08:00
Mark Felder
7bdeb9a1e5
Fix OpenGraph/TwitterCard meta tag ordering for posts with multiple attachments
2025-02-28 13:36:00 -08:00
Lain Soykaf
bf134664b4
PackTest: Add test for skipping emoji
2025-02-28 12:53:15 +04:00
Lain Soykaf
b89070a6ad
SafeZip: Add tests.
2025-02-27 15:30:20 +04:00
Lain Soykaf
70a784e16a
AutolinkerToLinkifyTest: Asyncify
2025-02-25 17:36:05 +04:00
Lain Soykaf
fd128ec7c2
ConfigControllerTest: Fix it!
2025-02-25 17:18:49 +04:00
Lain Soykaf
c31fabdebd
Mogrify/Mogrifun: Asyncify
2025-02-25 17:08:21 +04:00
Lain Soykaf
ee291f08e8
AnonymizeFilename: Asyncify
2025-02-25 16:40:45 +04:00
Lain Soykaf
5851d787b6
Merge branch and resolve conflict in database_test.exs
2025-02-25 16:23:46 +04:00
Lain Soykaf
bee027e511
DatabaseTest: Include user_follows_hashtag in expected tables
2025-02-25 16:16:15 +04:00
mkljczk
d3e310d769
Credo
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-02-25 10:40:51 +01:00
Lain Soykaf
7ccf339523
LanguageDetectorTest: Rename
2025-02-25 13:18:32 +04:00
Lain Soykaf
1e35ea785a
LanguageDetector: Use StaticStubbedConfigMock.
2025-02-25 12:39:31 +04:00
Lain Soykaf
35814de0df
LanguageDetectorTests: Switch to mox
2025-02-25 12:31:19 +04:00
Lain Soykaf
1ebbab1618
AppTest: Make test more resilient.
2025-02-24 17:15:59 +04:00
Lain Soykaf
4b3a985660
PackTest: Make test more resilient
2025-02-24 17:15:48 +04:00
Lain Soykaf
229ce66a8f
DataCase: By default, stub DateTime.
2025-02-23 17:52:33 +04:00
Lain Soykaf
263b02ffcb
Tests: Use StaticConfig when possible.
2025-02-23 17:52:17 +04:00
Lain Soykaf
a92b1fbded
UserRelationshipTest: Don't use Mock.
2025-02-23 17:51:25 +04:00
mkljczk
3b74d13147
Do not call LanguageDetector when not language is provided
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-02-22 18:31:26 +01:00
mkljczk
22bbe55b55
fix
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-02-22 16:03:05 +01:00
mkljczk
d0dac30ac6
Merge downstream changes
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-02-22 15:53:44 +01:00
mkljczk
013c60e13a
Merge remote-tracking branch 'origin/develop' into translate-posts
2025-02-22 14:07:23 +01:00
mkljczk
2b1ef1bbdf
Merge remote-tracking branch 'origin/develop' into language-detection
2025-02-22 14:05:53 +01:00
lain
6f48ade417
Merge branch 'post-languages' into 'develop'
...
Allow to specify post language
See merge request pleroma/pleroma!3940
2025-02-22 12:42:42 +00:00
lain
801a2256f4
Merge branch 'follow-hashtags' into 'develop'
...
Hashtag following (from Akkoma)
See merge request pleroma/pleroma!4307
2025-02-22 12:26:18 +00:00
Mark Felder
f26509bf16
Fix missing check for domain presence in rich media ignore_host configuration
2025-02-21 17:38:55 -08:00
mkljczk
ce4c07cc2b
update test
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-02-17 19:21:08 +01:00
mkljczk
120fbbc97e
Include contentMap in outgoing posts
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-02-17 17:55:03 +01:00
mkljczk
ea01b5934f
Merge remote-tracking branch 'origin/develop' into post-languages
2025-02-17 17:36:02 +01:00
Lain Soykaf
81ab906466
AnalyzeMetadata: Don't crash on grayscale image blurhash
2025-01-30 12:18:20 +04:00
mkljczk
8cd7716872
Fix Mastodon incoming edits with inlined "likes"
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-01-28 22:47:42 +01:00
Haelwenn
4461cc984d
Merge branch 'proxy-redirect' into 'develop'
...
MediaProxyController: Use 301 for permanent redirects
See merge request pleroma/pleroma!4313
2025-01-21 09:31:17 +00:00
Lain Soykaf
2226171890
MediaProxyController: Use 301 for permanent redirects
2025-01-21 12:24:56 +04:00
mkljczk
855294bb3d
Link to exported outbox/followers/following collections in backup actor.json
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-01-09 12:58:51 +01:00
mkljczk
aa74c87443
fix tests
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2024-12-30 22:41:53 +01:00
mkljczk
d818a3d762
Merge remote-tracking branch 'origin/develop' into translate-posts
2024-12-30 18:17:50 +01:00
FloatingGhost
bdb9f888d7
Add /api/v1/followed_tags
...
Signed-off-by: mkljczk <git@mkljczk.pl>
2024-12-30 17:57:57 +01:00
floatingghost
c94c6eac22
Remerge of hashtag following ( #341 )
...
this time with less idiot
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/341
Signed-off-by: mkljczk <git@mkljczk.pl>
2024-12-30 17:56:18 +01:00
tusooa
b51f5a84eb
Verify a local Update sent through AP C2S so users can only update their own objects
2024-12-09 12:43:08 +04:00
Lain Soykaf
14dbf789b3
Linting
2024-11-21 16:32:05 +04:00
Lain Soykaf
551534f3ee
B ReleaseTasks: Fix task module finding.
2024-11-21 16:07:09 +04:00
lain
dcb0c47773
Merge branch 'mastodon-websocket-fix' into 'develop'
...
Fix Mastodon WebSocket authentication
See merge request pleroma/pleroma!4206
2024-11-13 08:22:44 +00:00
lain
62bbed1e58
Merge branch 'token-view-scopes' into 'develop'
...
Include session scopes in TokenView
See merge request pleroma/pleroma!4273
2024-11-12 11:18:10 +00:00
lain
4626a9280a
Merge branch 'activity-pub-metadata' into 'develop'
...
Add metadata provider for ActivityPub alternate links
See merge request pleroma/pleroma!4286
2024-11-12 10:49:36 +00:00
Lain Soykaf
29b048d351
B TwitterAPI/ControllerTest: Actually test the keys
2024-11-12 14:35:02 +04:00
Lain Soykaf
2baa9b0072
Merge branch 'develop' into pleroma-token-view-scopes
2024-11-12 14:33:30 +04:00
Lain Soykaf
5b3e4cf49b
B Providers/ActivityPub: Ensure that nothing explodes on unexpected input.
2024-11-12 14:22:02 +04:00