Commit graph

26865 commits

Author SHA1 Message Date
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
dakkar
f7898fa89d teach the locale system that sometimes braces are just braces 2024-06-12 15:06:01 +01:00
KevinWh0
d53df1c5d2 undid weird / in search engine map 2024-06-12 15:00:12 +02:00
KevinWh0
62f54713bc fixing some things 2024-06-12 14:46:20 +02:00
KevinWh0
c87ed51311 made it so you can pick a search engine 2024-06-12 13:35:37 +02:00
Marie
8f3549b494 merge: fix #520, render usernames containing custom emoji in welcome toast properly (!541)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/541

Closes #520

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-06-09 21:02:58 +00:00
dakkar
6060fdcae7 merge: celebrate our testers - fixes #552 (!543)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/543

Closes #552

Approved-by: Marie <marie@kaifa.ch>
Approved-by: Tess K <me@thvxl.se>
2024-06-09 15:23:32 +00:00
tess
e7b87c0269 Pass renderMfm as true to wrap welcome back toast in Mfm 2024-06-09 16:21:12 +02:00
tess
ce197bc2e6 add ability to conditionally wrap toast message in Mfm tag 2024-06-09 16:19:56 +02:00
Tess K
df333d1855 merge: Add tess to contributor list (!542)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/542

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-06-09 12:55:42 +00:00
dakkar
2768245bc7 fix link to "all contributors" graphs 2024-06-09 10:11:54 +01:00
dakkar
450b2abdae add section for testers in about page 2024-06-09 10:11:40 +01:00
dakkar
0b39869bdc merge: better block display for <bdi> elements - fixes #550 (!538)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/538

Closes #550

Approved-by: Marie <marie@kaifa.ch>
Approved-by: Tess K <me@thvxl.se>
2024-06-09 08:50:22 +00:00
dakkar
c8c77fab6d merge: Make some Headers bold when doing HTML to MFM (!540)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/540

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
2024-06-09 08:49:53 +00:00
tess
5bbdd07c95 Add tess to contributor list 2024-06-09 03:46:08 +02:00
tess
c8535b5d26 MkToast Mfm plain prop should be static 2024-06-09 03:34:11 +02:00
tess
3bfff3509c fix custom emoji in welcome message 2024-06-09 03:20:32 +02: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
1063102186 merge: only allow a single boost via hotkey - fixes #467 #468 (!539)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/539

Closes #467 and #468

Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-06-08 15:33:36 +00: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
dakkar
388926775e I meant finally, not then, thanks fEmber 2024-06-07 14:47:16 +01:00
dakkar
cb43994841 only allow a single boost via hotkey - fixes #467 #468
As usual, have to write the same thing four times ☹

The parentheses around `q` tell the hotkey/keymap code to ignore
auto-repeat events (which works fine in Chrome but not in Firefox, I
reported the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1900397
)

In addition, I've added a guard variable that is true while calling
the backend to boost/renote, and false otherwise. This way, even in
Firefox we don't spam-boost. Unboosting is still *only with the
mouse*, I have not added that functionality.
2024-06-07 11:40:44 +01:00
dakkar
43c0ffe7f8 better block display for <bdi> elements
We use MfM in all sorts of places, and only some of them are actual
blocks. We can now tell the `Mfm` component to make the top-level
`<bdi>` a block when we need to (mostly note bodies, user
descriptions, announcements) and leave it inline in all other places.

This should still rendener inline rtl content embedded in ltr text in
a sensible way, while providing right-alignment for fully rtl blocks.
2024-06-07 11:18:25 +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
Amelia Yukii
9520a14cb9 merge: avoid await at top-level in setup - fixes frontend tests (!534)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/534

Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-06-03 16:28:25 +00:00
dakkar
92cd771e0f avoid await at top-level in setup - fixes frontend tests 2024-06-03 16:28:25 +00:00
dakkar
b8b4460830 merge: fix: button saying Misskey instead of Sharkey (!535)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/535

Closes #545

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Leah <kevinlukej@gmail.com>
2024-06-03 13:16:10 +00:00
Marie
81ed739380 fix: button saying Misskey instead of Sharkey 2024-05-31 21:18:35 +00:00
dakkar
e818c56faa merge: Feature/favicon notification dot (!474)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/474

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Luna <her@mint.lgbt>
Approved-by: Marie <marie@kaifa.ch>
2024-05-31 19:03:32 +00:00
dakkar
928f65be72 merge: style: automatically detect RTL on all MFM content (!482)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/482

Closes #356

Approved-by: Tess K <me@thvxl.se>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-05-31 18:42:38 +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
19bc4025ea merge: lint our MRs (!506)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/506

Approved-by: Tess K <me@thvxl.se>
Approved-by: Marie <marie@kaifa.ch>
2024-05-31 10:39:45 +00:00
dakkar
0a9697b405 merge: correcty load/save withBots - fixes #528 (!522)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/522

Closes #528

Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-05-31 10:38:27 +00: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
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
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
dakkar
aed5f18319 merge: fix: fix typo in readme (!530)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/530

Approved-by: Marie <marie@kaifa.ch>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-05-31 10:19:00 +00:00
Max Walters
9f885ca567 fix typo in readme 2024-05-31 00:38:02 +00:00