Commit graph

27244 commits

Author SHA1 Message Date
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
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
Amelia Yukii
7dfe9087b2 remove fedidb link 2024-07-11 19:49:52 +00: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
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
c57931d408 merge: ugly work-around to prevent plugins from breaking timelines (!558)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/558

Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-06-21 14:39:26 +00:00
dakkar
52bb428fdb merge: cache-bursting for stylesheets and fonts (!557)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/557

Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Tess K <me@thvxl.se>
2024-06-21 12:22:27 +00:00
dakkar
d6a1db1e7b ugly work-around to prevent plugins from breaking timelines
as the comment says, this is a complicated interaction that must be
fixed upstream (I'm not going to fork aiscript for this!)

but at least this stops errors in plugins from completely breaking
Sharkey's frontend
2024-06-20 10:23:29 +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
717696c472 merge: Misskey fixes & add button to see if notification dot works (!553)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/553

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-06-18 15:25:39 +00:00
KevinWh0
da63519854 add .js to import in general.vue 2024-06-18 15:45:00 +01:00
KevinWh0
c71b74c2a0 remove $i check from attemptShowNotificationDot 2024-06-18 15:45:00 +01:00
KevinWh0
72c8391208 change notificationDotNotWorkingAdvice wording 2024-06-18 15:45:00 +01:00
KevinWh0
a3ff0510fb added docs for how to enable it 2024-06-18 15:45:00 +01:00
KevinWh0
88eb1a0c53 fixes & add button to see if notification dot works 2024-06-18 15:44:58 +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
b7805adc85 merge: prepare for 2024.5, 2nd try (!554)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/554

Closes #494

Approved-by: Tess K <me@thvxl.se>
Approved-by: Marie <marie@kaifa.ch>
2024-06-18 14:25:04 +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
8d9781876d merge: merge up to 2024.5.0 (!537)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/537

Approved-by: Marie <marie@kaifa.ch>
2024-06-17 11:04:47 +00:00
dakkar
3545d4f67b merge: add fade and followmouse to list of animated mfm tags (!551)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/551

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-06-17 09:57:29 +00:00
Sugar
be5cda6f6f add fade to animated mfm tags 2024-06-17 05:36:10 +02:00
dakkar
4c06f9a6e2 followmouse should be gated by "play animation" button 2024-06-15 13:45:27 +01:00
Amelia Yukii
6c2c5c3112 merge: run tests in CI (!549)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/549

Approved-by: Tess K <me@thvxl.se>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-06-15 12:17:44 +00:00
dakkar
cc598384ce run tests in CI 2024-06-15 12:17:44 +00:00
dakkar
ce10bc7494 merge: add copyright text to all our files (!550)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/550

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Leah <kevinlukej@gmail.com>
2024-06-15 12:15:35 +00:00
dakkar
b525c5887f add copyright text to all our files 2024-06-15 11:36:55 +01:00
dakkar
d27965d8b3 remove duplicate switches
I got confused in the last merge from `develop`
2024-06-14 11:40:22 +01:00
dakkar
26ea236e6d added rough japanese translation 2024-06-14 11:23:09 +01:00
dakkar
fdd9df8ae9 Merge branch 'develop' into future-2024-05-31 2024-06-14 11:19:13 +01:00
dakkar
a22450d4f3 merge: feat: add an option to collapse replies (!545)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/545

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-06-14 10:13:59 +00:00
dakkar
7c6312833f fix "react" button style in SkNoteDetailed
thanks fEmber for noticing!
2024-06-13 14:17:04 +01:00
dakkar
26975419af more lints 2024-06-13 09:52:48 +01:00
dakkar
6601e95e67 types 2024-06-13 09:24:56 +01:00
dakkar
599bc708de lints 2024-06-13 09:24:36 +01:00
dakkar
ed8b1b8f07 keep renoteCollapsed as it was before adding reply collapse 2024-06-13 10:13:46 +02:00
dakkar
b2cbd507fe Merge branch 'develop' into future-2024-05-31 2024-06-13 09:06:24 +01:00
dakkar
853058e78d merge: tweak the rate limit for notes/create and other improvements (!548)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/548

Closes #467 and #468

Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-06-13 07:58:28 +00:00
dakkar
fef64e9c69 merge: Choosing search engines for search mfm (!547)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/547

Approved-by: Luna <her@mint.lgbt>
Approved-by: Marie <marie@kaifa.ch>
2024-06-13 07:58:06 +00:00
dakkar
73323a70a3 use configured boost visibility, instead of note's 2024-06-12 17:51:35 +01:00
dakkar
935cb73c0b more robust "only one renote at a time" logic
this blocks the button as well, not just the hotkey
2024-06-12 17:49:13 +01:00
dakkar
f98229d3e0 semicolons 2024-06-12 17:47:34 +01:00
dakkar
58c77c4d5c fix accesses to canRenote 2024-06-12 17:47:25 +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