Commit graph

5871 commits

Author SHA1 Message Date
dakkar
d27965d8b3 remove duplicate switches
I got confused in the last merge from `develop`
2024-06-14 11:40:22 +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
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
Sugar
a061c6c2d5 reduce margin-top for collapsed in replies to in small containers 2024-06-11 20:33:22 +02:00
Sugar
c149734fba avoid renoteCollapsed dependency in inReplyToCollapsed 2024-06-11 19:57:31 +02:00
Sugar
460e7f05ab correct collapsed in reply to line alignment with small screen sizes 2024-06-11 17:24:45 +02:00
Sugar
9ce2c8c081 include usernames in collapsed notes replied to 2024-06-11 17:19:24 +02:00
dakkar
fe0d95b277 remove duplicate settings switch 2024-06-11 15:48:25 +01:00
Sugar
c808147292 replace reply with inReplyTo in in-reply-to collapse code 2024-06-11 16:28:09 +02:00
Sugar
c9d0b81555 feat: add an option to collapse replies 2024-06-11 15:25:43 +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
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
e7fcdd47e5 another semicolon 2024-06-08 17:34:48 +01:00
dakkar
cc6b9f4cb0 spaces 2024-06-08 17:34:14 +01:00
dakkar
f64e6e8646 semicolons 2024-06-08 17:33:15 +01:00
dakkar
c0f9e44712 fix accesses to canRenote 2024-06-08 17:30:56 +01: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
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