Commit graph

5982 commits

Author SHA1 Message Date
Marie
b9d66f824c chore: flip ternary 2024-07-15 18:51:04 +00:00
Marie
2783fe5f5b chore: nest ternary 2024-07-15 16:54:29 +00:00
Marie
8fe2596316 fix: stop animating banner and backgrounds when stop showing animated images is enabled 2024-07-15 10:48:05 +00:00
viridian
70c87848dd feat: Filter notifications by edit 2024-07-14 23:55:25 +02:00
dakkar
05a568e5aa merge: reduce differences from misskey: icons references in source - closes #475 (!559)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/559

Closes #475

Approved-by: Luna <her@mint.lgbt>
Approved-by: Marie <marie@kaifa.ch>
2024-07-14 14:12:09 +00: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
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
e082cbe669 make same replacements to Sk* 2024-06-22 16:14:06 +01:00
dakkar
5461c040ba move icon replacements to their own file 2024-06-22 15:53:36 +01:00
dakkar
5e3b21fd09 replaced last few ti-* 2024-06-22 15:53:36 +01:00
dakkar
fccfde8f2b replaced many more ti-* 2024-06-22 15:53:36 +01:00
dakkar
f2c56f395e replaced more ti-* 2024-06-22 15:53:36 +01:00
dakkar
138127a5b6 replaced ti-apps and a few more 2024-06-22 15:53:36 +01:00
dakkar
9f8873574c replaced tool pencil bell refresh 2024-06-22 15:53:36 +01:00
dakkar
b675c66d70 replaced another bunch, and some fixes 2024-06-22 15:53:36 +01:00
dakkar
712682ea47 replaced ti-whirl 2024-06-22 15:53:36 +01:00
dakkar
df26b6501d replaced a bunch of ti-* 2024-06-22 15:53:32 +01:00
dakkar
fc00c7401e replaced ti-arrow-back-up ti-quote ti-send 2024-06-22 15:53:13 +01:00
dakkar
4910c1f030 replaced most ti-arrow* 2024-06-22 15:53:13 +01:00
dakkar
db0c17dd3e replaced ti-movie 2024-06-22 15:53:13 +01:00
dakkar
3d917a4430 fix eye-closed → ti-eye-exclamation
we use eye-slash for sensitive, only in a few places we used
eye-closed and I think we shouldn't
2024-06-22 15:53:13 +01:00
dakkar
b34a8a9a69 replaced ti-clock 2024-06-22 15:53:13 +01:00
dakkar
acddf7e149 replaced ti-rocket ti-repeat ti-repeat-off 2024-06-22 15:53:13 +01:00
dakkar
172f9e7443 replaced ti-player-* and ti-volume-* 2024-06-22 15:53:13 +01:00
dakkar
d21d428d64 replaced ti-music 2024-06-22 15:53:13 +01:00
dakkar
0b72513ce5 replaced ti-external-link 2024-06-22 15:53:13 +01:00
dakkar
48d29fa1ae replaced ti-hourglass-empty and ti-search 2024-06-22 15:53:13 +01:00
dakkar
a25f13cb67 replaced ti-leaf and ti-hash 2024-06-22 15:53:13 +01:00
dakkar
d6ba786169 replaced ti-asterisk and ti-mood-happy 2024-06-22 15:53:13 +01:00
dakkar
5a016778d4 fix an icon 2024-06-22 15:53:13 +01:00
dakkar
ad56e745c8 replaced ti-file*
and some simplification
2024-06-22 15:53:13 +01:00
dakkar
e1bf3e2fff replaced ti-video 2024-06-22 15:53:13 +01:00
dakkar
834e449978 replaced ti-photo 2024-06-22 15:53:13 +01:00
dakkar
99d7ba8bbc replaced ti-upload 2024-06-22 15:53:13 +01:00
dakkar
8f60c6d7e1 replaced ti-cloud 2024-06-22 15:53:13 +01:00
dakkar
e84844b4ae replaced ti-id 2024-06-22 15:53:13 +01:00
dakkar
dfc5cbd5d7 replaced ti-trash 2024-06-22 15:53:13 +01:00
dakkar
f1bfe9602e replaced ti-forms 2024-06-22 15:53:13 +01:00
dakkar
cf9e5d72e0 replaced ti-app-window 2024-06-22 15:53:13 +01:00
dakkar
20aff7dd74 replaced ti-folder-plus 2024-06-22 15:53:13 +01:00