1
0
Commit Graph

4478 Commits

Author SHA1 Message Date
dakkar ac0c6841aa use the whole hostname to check remote links - fixes #866
the warning dialog's "trust this domain" toggle saves the whole
hostname, so this code needs to use the whole hostname

otherwise trusting a `www.example.com` will never work, because we'd
be checking `example.com` against it, and fail

while I was there, I also made the `trustedLinkUrlPatterns` correctly
match sub-domains: previously, trusting `ple.com` would trust
`example.com`
2025-01-02 10:03:16 +00:00
dakkar d980875e83 remove duplicate role badges - fixes #868
when I copied over the changes from `MkNote*` to `SkNote*`, I forgot
to remove the old badge-related code
2025-01-02 09:46:56 +00:00
かっこかり 3c81926f71 fix(frontend): serverContextの値を利用する条件が間違っていたのを修正 (#15166) 2024-12-22 13:36:17 +09:00
かっこかり f123be38b9 enhance(frontend): 照会の際にエラーを表示するように (#15147)
* enhance: 照会の失敗理由を表示するように

* Update Changelog

* fix

* fix test

* lookupErrors-> remoteLookupErrors
2024-12-19 16:05:33 +09: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
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
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
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
Hazelnoot 326f836b96 disable blinking indicators added in 3cea890eba0b5137adcc4cb0d4fa2b2286914892 2024-12-16 14:45:33 -05:00
かっこかり 0804092426 fix(frontend): serverContextの型エラーを修正 (#15131)
* fix(frontend): serverContextの型エラーを修正

* add comment
2024-12-16 09:03:46 +09:00
かっこかり 3e0fcaeca8 fix(frontend): 絵文字管理画面で絵文字が表示されないことがある問題を修正 (#15128)
* fix(frontend): 絵文字管理画面で絵文字が表示されないことがある問題を修正

* Update Changelog

* optimize
2024-12-16 09:02:38 +09:00
かっこかり 5a2b29a3b4 enhance(frontend): PC画面でチャンネルが複数列で表示されるように (#15129)
* チャンネル一覧の列を最大3列にした (Otaku-Social#13)

* fix

* fix

* fix

* 🎨

* fix

* 🎨

* Update Changelog

* Update Changelog

* 要らない_marginを消す

---------

Co-authored-by: tmorio <morikapusan@morikapu-denki.com>
2024-12-16 08:57:37 +09: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 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
CenTdemeern1 696a5d852c Update Leah's profile picture in about-sharkey 2024-12-15 17:08:52 +01: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
Marie dddfdf8a13 Add locales and new navbar entry 2024-12-12 21:45:54 +01:00
dakkar b266a5f9f6 Merge branch 'develop' into feature/2024.10 2024-12-12 17:38:29 +00:00
Hazelnoot d18317a7c8 merge: Add "enable RSS" user privacy toggle (resolves #826) (!806)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/806

Closes #826

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-12 17:34:29 +00:00
Hazelnoot 9d76cc08cb merge: Fixed Emoji in usernames of profile's owner not visible in the Pages and Plays tabs (resolves #829) (!814)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/814

Closes #829

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-12 13:50:31 +00:00
Leah d1fe3da4b8 remove old unused imports 2024-12-12 14:38:28 +01:00
Hazelnoot fe37aa2ce8 Add "enable RSS" user privacy toggle 2024-12-12 08:11:55 -05:00
dakkar 943c6414d8 merge: Enable by default and federate "hide online status" (resolves #823) (!807)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/807

Closes #823

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-12-12 13:08:19 +00:00
dakkar bdb00fcaf2 update css variable references 2024-12-12 13:07:06 +00:00
dakkar 6d4ae93592 Merge branch 'develop' into feature/2024.10 2024-12-12 13:04:51 +00:00
Leah b2387cbfef Fixed Emoji in usernames of profile's owner not visible in the Pages and Plays tabs 2024-12-12 14:00:43 +01:00
Marie 8eb9c20df7 merge: Schedule Notes (!804)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/804

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-12 12:50:11 +00:00
dakkar cf8d212d16 fix a name 2024-12-12 10:29:04 +00:00
dakkar 33fd4648ae fix icons in dev mode
running `pnpm dev` would not show any of our icons

this fixes it well enough
2024-12-12 10:27:46 +00:00
dakkar 0ebdf91b28 fix pleaseLogin on *NoteSub
we really need to factor these things out
2024-12-12 10:04:54 +00:00
dakkar 5ae409b032 make it harder to fumble opening a collapsed replied-to note
clicking on the username of the collapsed replied-to note, opens the
note instead of navigating to the user's profile

clicking the avatar still goes to the profile
2024-12-11 09:52:13 +00:00
Marie d6297f2035 merge: Fix: scrolling alt text using a mouse (!810)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/810

Closes #654

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-10 15:44:39 +00:00
CenTdemeern1 5cc77b64bf Fix scrolling alt text using a mouse
Co-authored-by: BlankEclair <blankeclair@disroot.org>
2024-12-10 15:12:56 +01:00
dakkar 98b6323076 merge: Make collapsed notes subscribe to stream (!805)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/805

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-12-10 12:03:23 +00:00
かっこかり e8bf6285cb fix(frontend): ノートがログインしているユーザーしか見れない場合にログインをキャンセルした場合その後の動線がなくなる問題を修正 (#15101)
* fix(frontend): ノートがログインしているユーザーしか見れない場合にログインをキャンセルすると一切の処理が停止する問題を修正

* Update Changelog

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-12-10 10:42:12 +09:00
かっこかり 020c191e2c fix(frontend): MiAuth認可画面のデザイン修正 (#15106) 2024-12-10 10:29:40 +09:00
Marie bf01dcd8fb Apply suggestions 2024-12-09 18:58:57 +01:00
dakkar 0d9d952d2c user profile: only default to "pinned notes" if they exist
it's sensible to show the pinned notes first *if they exist*

if there's nothing pinned, we're just showing an empty list

let's show the "notes" tab in that case
2024-12-09 15:40:54 +00:00