Commit Graph

27352 Commits

Author SHA1 Message Date
dakkar
3eff85a3d3 error out when we can't spawn workers - fixes #586
Setting `clusterLimit` to 0 means no workers are started, which
usually breaks things. Also, some "hardening" things may prevent node
from seeing how many CPUs the machine has, which has the same effect.

With this commit we provide hopefully-useful error messages.
2024-07-21 11:32:39 +01:00
dakkar
69bdbf22b3 merge: Stop banners and backgrounds from being animated when showing animated images is disabled - fixes #435 (!574)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/574

Closes #435

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Leah <kevinlukej@gmail.com>
2024-07-19 16:36:07 +00:00
dakkar
f675f5a074 merge: fix drive search query (!576)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/576

Approved-by: Marie <marie@kaifa.ch>
Approved-by: Leah <kevinlukej@gmail.com>
2024-07-19 16:31:41 +00: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
dakkar
3d5fd4a12d merge: Drive searching by alt text and title (!564)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/564

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-07-19 12:19:00 +00:00
Marie
8ca5c3e5f3 lint 2024-07-19 05:14:10 +00:00
KevinWh0
374a16a0d4 Fix vertical align of ... 2024-07-16 23:26:15 +02: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
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
dakkar
f9a09b0358 merge: feat: Filter notifications by edit (!573)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/573

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-07-15 10:34:13 +00:00
viridian
71f30a8cb7 Auto generate locals/index.d.ts 2024-07-15 08:53:01 +02:00
viridian
de2f85e88d Add locals en-US and ja-JP (machine translated) 2024-07-14 23:56:33 +02: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
dakkar
0716095b27 merge: mute users when blocking them - fixes #558 (!572)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/572

Closes #558

Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-07-14 14:09:46 +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
Amelia Yukii
7dfe9087b2 remove fedidb link 2024-07-11 19:49:52 +00: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
c4f4041cf8 merge: cache URL previews on the server (!565)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/565

Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Luna <her@mint.lgbt>
2024-07-05 10:43:39 +00: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
b5a69c3aea Add locales for search bar 2024-06-28 17:17:13 +02:00
Leah
1c0b1cab4f Style the searchbar 2024-06-28 16:55:48 +02:00
Leah
2ebdc36c7a Add search for files in drive 2024-06-28 16:27:28 +02:00
dakkar
84e3eae77f merge: prepare for the next release (!562)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/562
2024-06-26 21:14:07 +00:00
dakkar
04e5f16e2a run tests in series
this _might_ reduce the change of the tests failing in our CI
2024-06-26 21:55:08 +01:00
dakkar
7472972939 prepare for the next release 2024-06-26 21:48:04 +01:00
dakkar
348366fa7d merge: parse notRespondingSince from redis instance cache (!560)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/560

Approved-by: Tess K <me@thvxl.se>
Approved-by: Marie <marie@kaifa.ch>
2024-06-25 13:10:48 +00: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