Hazel K
32872181dd
feat: implement attachLdSignatureForRelays
to control signing of Relayed activities
2024-07-25 10:37:23 -04:00
dakkar
01b10d0d3b
fix drive search query
...
`.andWhere` does not add parentheses, so that `or` changed the whole
meaning of the query
2024-07-19 14:32:14 +01:00
KevinWh0
5e65b6d01d
Merge develop into feature/search-drive-via-alt-text
2024-07-16 23:02:15 +02:00
KevinWh0
f97417cfca
Add stuff talked about on MR
2024-07-16 22:06:38 +02:00
dakkar
4d0a340620
merge: [feat] port fetching host-meta before the webfinger endpoint from iceshrimp - fixes #539 ( !567 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/567
Closes #539
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-07-14 14:10:54 +00: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
dakkar
9a9570ab62
mute users when blocking them - fixes #558
...
we already unfollow them, and make them unfollow us, so muting them is
a very sensible thing to want
since the mute is handled separately, users can un-mute the people
they block (same as they can re-follow them)
2024-07-13 10:53:40 +01: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
320db585e3
pass all the options to the cache constructor
2024-06-30 11:08:21 +01:00
dakkar
8cdea537e9
cache URL previews on the server
...
we already tell browsers to cache the preview for 7 days, but each
browser will ask the server, and the server will talk to the network,
hammering the poor site that got mentioned on fedi
let's instead cache the preview on the server!
2024-06-30 10:55:13 +01:00
Leah
2ebdc36c7a
Add search for files in drive
2024-06-28 16:27:28 +02:00
anatawa12
0e5a52c678
fix: notRespondingSinceが実装される前に不通になったインスタンスが自動的に配信停止にならない ( #14059 )
...
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-06-23 10:59:43 +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
6d1b1df1aa
cache-bursting for stylesheets and fonts
...
adding `?version=…` makes sure browsers get the latest files, and it
looks like they honour the caching headers we send back
2024-06-19 17:04:49 +01:00
dakkar
16ecc2e406
merge: Revert "fix: start only one instance of ChartManagementService scheduled job" ( !555 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/555
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-06-18 14:26:51 +00:00
dakkar
91cd995fb2
Revert "fix: start only one instance of ChartManagementService scheduled job"
...
This reverts commit 2532fea702
.
2024-06-18 15:20:09 +01:00
dakkar
b525c5887f
add copyright text to all our files
2024-06-15 11:36:55 +01:00
dakkar
b2cbd507fe
Merge branch 'develop' into future-2024-05-31
2024-06-13 09:06:24 +01:00
dakkar
5c311e8a28
tweak the rate limit for notes/create
...
while fixing #467 #468 , we changed the rate limit from 300/hour to
5/minute
some people felt it was too low: they often boost notes in quick
succession
so here's a different approach: back to 300/hour, but not more than
1/second; this is the same settings that `notes/delete` has, BTW
2024-06-12 17:06:33 +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
Porlam Nicla
c39de769ca
配信停止したインスタンス一覧が見れなくなる問題を修正 ( #13945 )
...
* 配信停止したインスタンス一覧が見れなくなる問題を修正
* Update CHANGELOG.md
2024-06-07 22:11:13 +01:00
dakkar
079abfd713
rate limit note/reply/boost creation more tightly
...
5/minute is the same as 300/hour on average, and still high enough
that it shouldn't be a problem for most people
2024-06-07 15:10:16 +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
886948769e
merge: fix custom emoji pagination when searching - fixes #490 ( !489 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/489
Closes #490
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-31 18:39:01 +00:00
Marie
11bd8e9571
merge: escape \ character in sqlLikeEscape ( !529 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/529
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-05-31 18:38:04 +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
43d15506aa
add sentry options to env overrides
2024-05-31 13:10:02 +01:00
dakkar
e045652c80
lint config.ts
2024-05-31 13:00:59 +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
4f346ebe0c
merge: fix types in config.ts
( !520 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/520
Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-05-31 10:36:20 +00: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