Commit graph

27381 commits

Author SHA1 Message Date
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
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
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
dakkar
23887eb172 merge: add all missing English translations (!546)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/546

Approved-by: Marie <marie@kaifa.ch>
2024-06-12 10:20:28 +00: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
dakkar
b01101020e translates missing bits 2024-06-11 15:48:23 +01:00
dakkar
50c59889b0 optionally list missing translations with verify.js 2024-06-11 15:34:41 +01:00
Sugar
c808147292 replace reply with inReplyTo in in-reply-to collapse code 2024-06-11 16:28:09 +02:00