dakkar
8d29df64fa
fix webfinger for instances without a /host-meta
...
we were inconsistent with the colons, thanks to usedbunny for
noticing!
2024-08-06 19:07:01 +01:00
dakkar
4e7df7a5f2
merge: Remove infinite caches to prevent memory leak ( !587 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/587
Closes #600 and #601
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 16:51:18 +00:00
Hazel K
9930c64f2d
Fix timeout comments
...
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-08-06 12:13:17 -04:00
dakkar
2f97b5976f
merge: use XMLSerializer
for toMastoApiHtml
- fixes #556 ( !591 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/591
Closes #556
Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 14:09:35 +00:00
dakkar
9de422280f
merge: feat: implement attachLdSignatureForRelays
to control signing of Relayed activities ( #599 ) ( !579 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/579
Closes #599
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 10:40:14 +00:00
dakkar
d899eb30b1
merge: delete old emoji file when replaced - fixes #608 ( !589 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/589
Closes #608
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-08-06 10:39:41 +00:00
dakkar
712af44de4
merge: don't send real-time updates of replies to blocked users #457 #573 ( !566 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/566
Approved-by: Tess K <me@thvxl.se>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-06 09:26:40 +00:00
dakkar
61c13241ba
use XMLSerializer
for toMastoApiHtml
- fixes #556
...
the `inline` bit is not pretty, but does the job
2024-08-06 10:13:53 +01:00
dakkar
58d329e3bd
make sure that sensitive
is a boolean - fixes #596
...
Some remote instances may send garbage. If the `sensitive` value
passed to `driveService.uploadFromUrl` is not a boolean, eventually
we'll get an exception from the database complaining about that. This
change avoids that problem.
2024-08-05 10:12:27 +01:00
dakkar
1e86cba7dc
delete old emoji file when replaced - fixes #608
...
it's the same code that 5f7fc54ee9
added
to `delete` and `deleteBulk`, with the extra check that we're not
deleting the same file we're setting
2024-08-05 09:27:06 +01:00
Hazel K
672f1ea684
tune cache lifetimes
2024-08-03 14:49:06 -04:00
Hazel K
bc236a4bd2
remove infinity caches
2024-08-03 13:42:23 -04:00
Hazel K
114b698034
encapsulate MemoryKVCache<T>
2024-08-03 09:18:44 -04:00
Hazel K
858ba18876
fix: pass current user into InstanceEntityService.packMany
2024-08-01 08:24:50 -04:00
Hazel K
378408226b
tweak wording
2024-07-26 22:45:07 -04:00
Hazel K
fecdff7fa0
revert import changes
2024-07-26 09:42:49 -04:00
Hazel K
32872181dd
feat: implement attachLdSignatureForRelays
to control signing of Relayed activities
2024-07-25 10:37:23 -04:00
slonkazoid
2232f65410
use more concise syntax for env var checking
2024-07-14 16:11:11 +03:00
slonkazoid
1fa92ad763
rename fetchHostMeta to fetchWebFingerTemplateFromHostMeta
2024-07-14 16:11:02 +03:00
slonkazoid
d81aadfe23
replace useHttp with defaultProtocol
2024-07-12 15:46:23 +03:00
slonkazoid
6fa6f1ba45
i re-read the code several times but oh well
2024-07-12 15:28:05 +03:00
slonkazoid
0b6fb394c0
apply fixes from review
2024-07-12 14:28:19 +03:00
slonkazoid
7a62e1be31
implement fetching host-meta before the webfinger endpoint
...
code ported from iceshrimp: c3e685a925/packages/backend/src/remote/webfinger.ts
2024-07-09 05:45:41 +03:00
dakkar
f086bc23f5
don't send real-time updates of replies to blocked users
...
this is in line with the behaviour of a note's detailed view, which
does not show me replies from users who blocked me
2024-07-06 11:35:52 +01:00
dakkar
3c3485e8a8
parse notRespondingSince
from redis instance cache
...
if we don't do this, we'll get a string, and `DeliverProcessorService`
will error out `i.notRespondingSince.getTime is not a function`
2024-06-23 10:57:05 +01:00
dakkar
b2cbd507fe
Merge branch 'develop' into future-2024-05-31
2024-06-13 09:06:24 +01:00
Marie
4a9260a432
upd: seperate H2/H3 into own case
2024-06-08 18:53:42 +00:00
Marie
0c3690a8ba
upd: bold some Header tags
2024-06-08 18:00:29 +00:00
dakkar
11af7e6587
fix indents
2024-06-08 16:57:17 +01:00
dakkar
5dc8c2827c
Merge branch 'develop' into future-2024-05-31
2024-06-08 16:45:53 +01:00
Marie
b2088e60b7
merge: use the current resolver for quotes - #524 ( !536 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/536
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-06-03 16:54:51 +00:00
Amelia Yukii
23b1c29a0b
merge: allow setting separate timeout / max size for imports - fixes #479 ( !519 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/519
Closes #479
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-06-03 16:29:19 +00:00
dakkar
082e1d1afb
allow setting separate timeout / max size for imports - fixes #479
2024-06-03 16:29:19 +00:00
Marie
86ccbd9487
merge: Fix/fixing mastodon api search mfm ( !532 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/532
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-05-31 18:32:51 +00:00
dakkar
38ff7fa3e5
*probably* fix FederationChart re: suspended instances
...
this is a misskey bug, they'll probably fix it soon, hopefully the
same way
2024-05-31 13:31:49 +01:00
dakkar
bf710428eb
various fixes after the merge
2024-05-31 12:55:53 +01:00
dakkar
326b2c254a
copy upstream NoteCreateService changes to NoteEditService
2024-05-31 12:32:31 +01:00
dakkar
3372e0ffe1
Merge remote-tracking branch 'misskey/release/2024.5.0' into future
2024-05-31 12:26:07 +01:00
dakkar
7b630b48b5
Merge branch 'develop' into future
2024-05-31 11:43:09 +01:00
dakkar
11aac8253d
merge: look inside url
when checking activity origin - #512 ( !521 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/521
Closes #512
Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-05-31 10:37:54 +00:00
dakkar
ad8d916775
minimal fixes, thanks tests
2024-05-31 11:36:47 +01:00
dakkar
4ddee7b01e
Merge branch 'develop' into future
2024-05-31 11:24:00 +01:00
KevinWh0
1656c02536
renamed toMastoHtml to toMastoApiHtml to clear up what it does
2024-05-31 12:21:25 +02:00
KevinWh0
145c4ba132
fixed the search url
2024-05-31 12:19:18 +02:00
zyoshoka
514a65e453
perf(backend): avoid N+1 selects from user
table when packing many entities ( #13911 )
...
* perf(backend): avoid N+1 selects from `user` table when packing many entities
* perf(backend): use `packMany` instead of mapping to `pack`
2024-05-31 15:32:42 +09:00
syuilo
5b8f8e7087
fix(backend): fix backward compatibility of antenna
2024-05-31 11:24:17 +09:00
syuilo
be11fd7508
enhance: サーバーのお問い合わせ先URLを設定できるように
2024-05-31 10:12:23 +09:00
Marie
9bde071f42
merge: feat: send edit events to servers that interacted ( !515 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/515
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-05-30 19:16:10 +00:00
Amelia Yukii
55fc2879f3
merge: set the correct "marked an NSFW" when loading admin-user ( !483 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/483
Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-05-30 14:22:00 +00:00
dakkar
3050dcbef7
set the correct "marked an NSFW" when loading admin-user
2024-05-30 14:22:00 +00:00