Commit graph

29274 commits

Author SHA1 Message Date
dakkar
0c123d04d6 merge: Sync charts one-at-a-time to reduce database contention and timeouts (!830)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/830

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-21 16:35:44 +00:00
Hazelnoot
4e422836dd merge: Fix the ascii art (!835)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/835

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-20 22:35:15 +00:00
Hazelnoot
50290cf002 merge: Add Release version to Sentry logging (!834)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/834

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-20 22:34:34 +00:00
CenTdemeern1
eb21b13e73 Fix the ascii art
I should really make a new one from scratch sometime
2024-12-20 02:58:35 +01:00
Kio!
903b2be132 Update file worker.ts 2024-12-19 19:20:57 +00:00
Kio!
0bb61fef7b Update file worker.ts 2024-12-19 19:11:52 +00:00
Kio!
cdc11df562 Add missing imports before Dakkar can mention it 2024-12-19 19:07:04 +00:00
Kio!
990388141c Add Meta, oops 2024-12-19 19:01:14 +00:00
Kio!
ba9f7f42d2 Add Release version to sentry logging 2024-12-19 17:30:22 +00:00
Hazelnoot
d14f0b140b merge: fix typo in translation key (!829)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/829

Approved-by: Marie <github@yuugi.dev>
Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-18 18:26:52 +00:00
Hazelnoot
62327152ec merge: Check for cross-domain redirects that bounce from an allowed domain to a blocked domain (!827)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/827

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-18 18:26:23 +00:00
dakkar
72db1c3937 fix typo in translation key
yes, it's mis-spelled in the code
2024-12-18 17:46:37 +00:00
dakkar
12ef2b13c4 merge: avoid empty blocks when hiding ads (!828)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/828

Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Amber Null <puppygirlhornyposting@gmail.com>
2024-12-18 17:06:57 +00:00
dakkar
fcbf072e29 merge: preview AP objects as quotes - fix #595 (!826)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/826

Closes #595

Approved-by: Amber Null <puppygirlhornyposting@gmail.com>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-18 17:06:41 +00:00
dakkar
5fd3e271ac only log preview error in dev mode 2024-12-18 16:32:28 +00:00
dakkar
2dfadc082d style embedded note previews like normal previews
and not like normal quotes
2024-12-18 16:14:47 +00:00
dakkar
e9e2a5dd77 avoid empty blocks when hiding ads
2024.10 or 2024.11 added a `<div>` around `<MkAd>`, but while `MkAd`
checks if ads should be shown, and generates an empty `<div>` if not,
the wrapper `div` was always shown.

This commit takes the same logic from `MkAd` and applies it to the
wrapper as well.

thanks to @puppygirlhornypost for noticing
2024-12-18 15:59:34 +00:00
Hazelnoot
05ff9ae93f check for cross-domain redirects that bounce from an allowed domain to a blocked domain 2024-12-18 10:29:25 -05:00
Marie
7f19f8c10b merge: chore: remove leah from project members (!825)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/825

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-18 15:05:24 +00:00
dakkar
fb833d13cd preview AP objects as quotes - fix #595 2024-12-18 12:23:13 +00:00
Marie
042d46557d chore: remove leah from project members 2024-12-17 21:54:58 +00:00
Marie
38d7faffdb merge: make it harder to fumble opening a collapsed replied-to note (!811)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/811

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 21:53:19 +00:00
Marie
241949da04 merge: fix(frontend): Ensure physics run consistently across different device framerates (!823)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/823

Closes #684

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 21:50:39 +00:00
Marie
16822639e6 merge: enforce restrictions for user's rss feed (!822)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/822

Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 21:46:10 +00:00
dakkar
3e0558c953 merge: Add missing back buttons to following/follower pages (!824)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/824

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 20:35:13 +00:00
Marie
3b5e3fd460 merge: Make schedule time work cross timezones (!819)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/819

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-17 20:29:33 +00:00
CenTdemeern1
67a0d8a56e Add missing back buttons to following/follower pages 2024-12-17 20:09:21 +01:00
dakkar
accaa98869 merge: add missing English translations (!821)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/821

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-17 18:46:38 +00:00
dakkar
f4467c85aa merge: Disable blinking indicators (!820)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/820

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-17 18:46:23 +00:00
CenTdemeern1
f9100d4dcf bubble-game: Use setInterval instead of requestAnimationFrame
This makes sure Misskey's Bubble Game always runs at a consistent rate, even when the monitor isn't 60hz
2024-12-17 17:55:40 +01:00
CenTdemeern1
4918ae34a5 Upgrade matter-js to version 0.20.0
This version uses fixed rates across platforms in Matter.Runner. This fixes inconsistent rates in `physics.ts`.
2024-12-17 17:55:40 +01:00
dakkar
f4537e7092 better name, and other tweaks 2024-12-17 16:45:56 +00:00
Hazelnoot
0b40f2734e sync charts one-at-a-time to reduce database contention and timeouts 2024-12-17 10:37:29 -05:00
dakkar
d31db31c07 add translations for notification settings 2024-12-17 13:21:22 +00:00
dakkar
799cc0d098 pick lints 2024-12-17 10:06:30 +00:00
dakkar
46432161b8 enforce restrictions for user's rss feed
if `requireSigninToViewContents` in on, no notes are included in the
feed

notes covered by `makeNotesFollowersOnlyBefore` and
`makeNotesHiddenBefore` are skipped
2024-12-17 09:47:32 +00:00
dakkar
18e6b733ab add missing English translations
misskey still doesn't have these… I'm putting them here because these
are not Sharkey-specific strings

and yes, this *will* cause conflicts on the next merge
2024-12-16 20:40:23 +00:00
Hazelnoot
326f836b96 disable blinking indicators added in 3cea890eba0b5137adcc4cb0d4fa2b2286914892 2024-12-16 14:45:33 -05:00
Marie
e50ff9db6a
upd: make schedule time work cross timezones 2024-12-15 22:41:16 +01:00
dakkar
e2352839e4 merge: upstream changes for 2024.11 (!742)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/742

Closes #645 and #646

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-15 17:27:12 +00:00
Hazelnoot
fd0ecb22cf merge: Fix rate limits under multi-node environments (!809)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/809

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-15 16:53:48 +00:00
Hazelnoot
dfcba23e0b merge: Add locales and new navbar entry (!815)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/815

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-15 16:46:23 +00:00
Hazelnoot
47a7b0a286 merge: Fix notifications breaking due to deleted role being assigned (!816)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/816

Closes #630

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-15 16:45:24 +00:00
dakkar
3efa8ac986 merge: Update Leah's profile picture in about-sharkey (!818)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/818

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-15 16:40:04 +00:00
CenTdemeern1
696a5d852c Update Leah's profile picture in about-sharkey 2024-12-15 17:08:52 +01:00
JeDaYoshi
535e0c69ce
Fix notifications breaking due to deleted role being assigned 2024-12-13 16:49:19 -04:00
dakkar
9dc03858bd merge: on 429, retry fetchAccount instead of failing (!817)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/817

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-13 18:33:36 +00:00
dakkar
9b1fc96908 fix passing rate limiting info via ApiError 2024-12-13 16:18:10 +00:00
dakkar
0c1dd73341 on 429, retry fetchAccount instead of failing
when switching between accounts, with many tabs open (10 seem to be
enough), they all hit the endpoint at the same time, and some get rate
limited.

treating a 429 as a fatal error confuses the frontend, which ends up
logging the user out of all their accounts.

this code makes the frontend retry, after waiting the appropriate
amount of time.

seems to work fine in my testing.
2024-12-13 16:18:10 +00:00
Marie
b2facb2ee8 revert forced editor eslint formatting 2024-12-12 20:48:50 +00:00