Commit graph

6052 commits

Author SHA1 Message Date
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
dakkar
f28095ddeb replaced ti-folder 2024-06-22 15:53:13 +01:00
dakkar
d4e1df7243 replaced ti-x 2024-06-22 15:53:13 +01:00
dakkar
bdffa579b8 replaced ti-help-circle 2024-06-22 15:53:13 +01:00
dakkar
cd3b8e6d8f replaced ti-chevron-down 2024-06-22 15:53:13 +01:00
dakkar
fb618dc624 replaced ti-chevron-up 2024-06-22 15:53:13 +01:00
dakkar
232bbd20e3 replaced ti-copy 2024-06-22 15:53:13 +01:00
dakkar
582f4b01ce replaced ti-cookie 2024-06-22 15:53:13 +01:00
dakkar
e1074c22ba replaced ti-device-tv 2024-06-22 15:53:13 +01:00
dakkar
318e5ff0f9 replaced ti-minus 2024-06-22 15:53:13 +01:00
dakkar
180ba9f5df replaced ti-plane-departure 2024-06-22 15:53:13 +01:00
dakkar
721b41a436 replaced ti-checklist 2024-06-22 15:53:13 +01:00
dakkar
5e465e222e simplify the announcement icons 2024-06-22 15:53:13 +01:00
dakkar
d2b4b2fb94 replaced ti-info-circle 2024-06-22 15:53:13 +01:00
dakkar
5409440501 replaced ti-exclamation-circle and ti-user-exclamation 2024-06-22 15:53:13 +01:00
dakkar
527bbd036c replaced ti-users 2024-06-22 15:53:13 +01:00
dakkar
84fd5822bc remove our icon classes from a test file 2024-06-22 15:53:13 +01:00
dakkar
3f38f409f9 replaced ti-reload 2024-06-22 15:53:13 +01:00
dakkar
278916be58 replaced ti-alert-triangle with ph-warning-circle 2024-06-22 15:53:13 +01:00
dakkar
cb2734e9a6 factor out plugin call
this will make it easier to do per-file replacements
2024-06-22 15:53:12 +01:00
dakkar
7d74cf62c3 replaced ti-alert-triangle 2024-06-22 15:53:12 +01:00
dakkar
1b965dd866 replaced ti-lock 2024-06-22 15:53:12 +01:00
dakkar
e8684ba98f replaced ti-eye-exclamation 2024-06-22 15:53:12 +01:00
dakkar
b1954d9898 replaced ti-eye-off 2024-06-22 15:53:12 +01:00
dakkar
8830c94591 replaced ti-eye 2024-06-22 15:53:12 +01:00
dakkar
e17f7b7297 replaced ti-star 2024-06-22 15:53:12 +01:00
dakkar
7eed0aec69 replaced ti-code 2024-06-22 15:53:12 +01:00
dakkar
2f4a9010c9 replaced ti-key 2024-06-22 15:53:12 +01:00
dakkar
bc0fbca65e replaced ti-link 2024-06-22 15:53:12 +01:00
dakkar
65605683c7 replaced ti-settings 2024-06-22 15:53:12 +01:00
dakkar
e7b3a60698 replaced ti-arrow-left 2024-06-22 15:53:12 +01:00
dakkar
f8248853d1 replaced ti-heart 2024-06-22 15:53:12 +01:00
dakkar
b4e3217cc2 replaced ti-pin 2024-06-22 15:53:12 +01:00
dakkar
79df8774da replaced ti-arrow-right 2024-06-22 15:53:12 +01:00
dakkar
01b9736c8c stricter replacement rules 2024-06-22 15:53:12 +01:00
dakkar
78b21cecc4 replaced ti-pencil 2024-06-22 15:53:12 +01:00
dakkar
5ab3f601da replaced ti-clock 2024-06-22 15:53:12 +01:00
dakkar
bdbcb55a81 replaced ti-home 2024-06-22 15:53:12 +01:00
dakkar
d83438dea2 replaced ti-confetti 2024-06-22 15:53:12 +01:00
dakkar
b149a67a4b replaced ti-shield ti-shield-lock 2024-06-22 15:53:12 +01:00
dakkar
0b0b2e95da replaced ti-device-floppy 2024-06-22 15:53:12 +01:00
dakkar
ad2412d3cd replaced ti-check 2024-06-22 15:53:12 +01:00
dakkar
14fbac7ca5 replaced ti-dots 2024-06-22 15:53:12 +01:00
dakkar
b2054a674d replaced ti-chevron-right ti-chevrons-right 2024-06-22 15:53:12 +01:00
dakkar
96ce65dc62 replaced ti-planet ti-world-x ti-world-search 2024-06-22 15:53:12 +01:00
dakkar
6f5099f699 replaced ti-plus 2024-06-22 15:53:12 +01:00
dakkar
cb124607ce replaced ti-circle-x 2024-06-22 15:53:12 +01:00
dakkar
2258d84f08 replaced ti-download 2024-06-22 15:53:12 +01:00
dakkar
babe2f3fcf replaced ti-terminal-2 2024-06-22 15:53:12 +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
385ecc30a3 don't await in <setup>
`defineAsyncComponent` exists for exactly this purpose…
2024-06-21 11:41:08 +01:00
dakkar
513a8e5de4 select note component in <setup>
this makes our templates much more similar to upstream's, making
merges simpler

changing note design is already marked as needing a reload, so having
non-reactive code that selects the note component is not a problem
2024-06-21 11:17:11 +01: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
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
91cd995fb2 Revert "fix: start only one instance of ChartManagementService scheduled job"
This reverts commit 2532fea702.
2024-06-18 15:20:09 +01: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
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
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
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
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
dakkar
3f76cfe9a6 Merge tag '2024.5.0' into future-2024-05-31 2024-05-31 19:34:56 +01: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
349856bbac fix more linting 2024-05-31 15:56:22 +01:00
dakkar
38ff7fa3e5 *probably* fix FederationChart re: suspended instances
this is a misskey bug, they'll probably fix it soon, hopefully the
same way
2024-05-31 13:31:49 +01:00
github-actions[bot]
6078081c33 [skip ci] Release: 2024.5.0 2024-05-31 12:24:53 +00:00
dakkar
8c301de790 lint frontend 2024-05-31 13:24:00 +01:00
github-actions[bot]
a59aa20be8 Bump version to 2024.5.0-rc.13 2024-05-31 12:18:52 +00:00
syuilo
61eec93f4e Revert "2024.5.0"
This reverts commit 27d1b7e615.
2024-05-31 21:16:35 +09:00
dakkar
43d15506aa add sentry options to env overrides 2024-05-31 13:10:02 +01:00