Commit graph

1898 commits

Author SHA1 Message Date
Hazelnoot
39321d13cc prevent browser console spam when media fetch returns an error message or JSON payload 2025-02-16 19:27:29 -05:00
Hazelnoot
feb80ee992 Merge branch 'develop' into merge/2024-02-03 2025-02-11 10:52:52 -05:00
Marie
1da9245ca5 merge: hide note preview if it's already quoted - fixes #888 (!894)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/894

Closes #888

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:20:21 +00:00
dakkar
b7f06f2877 prevent a ReferenceError
before, we got:

> ReferenceError: can't access lexical declaration 'followRequestDone'
> before initialization

(of course in non-dev mode, `followRequestDone` had a different name)
2025-02-10 11:59:38 +00:00
dakkar
f66e534f26 fix the defaults 2025-02-10 11:54:47 +00:00
dakkar
c6eb1ffde3 hide note preview if it's already quoted - fixes #888
I do not particularly _love_ this solution, but it is simple and
effective

I can't find another reliable way to determine if a link goes to a
local note of the given id, apart from fetching the link
2025-02-10 11:42:10 +00:00
Hazelnoot
105f8be9f5 copy changes from MkInstanceTicker to SkInstanceTicker 2025-02-07 12:16:41 -05:00
Hazelnoot
f36029f795 Merge branch 'develop' into merge/2024-02-03
# Conflicts:
#	locales/index.d.ts
#	packages/backend/src/core/entities/UserEntityService.ts
#	packages/frontend/src/_dev_boot_.ts
#	packages/misskey-js/src/autogen/types.ts
#	sharkey-locales/en-US.yml
2025-02-07 11:57:44 -05:00
Marie
d6c4b728df merge: Add "follow back" button on follow-related notifications (resolves #895) (!873)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/873

Closes #895

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-07 03:50:12 +00:00
Marie
d629b882b0 merge: Allow users to set a default content warning for their new posts (resolves #901) (!881)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/881

Closes #901

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-07 03:47:20 +00:00
Marie
de7ecdc487 merge: Add buttons to accept/reject follow request from the requestor's profile (resolves #896) (!872)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/872

Closes #896

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-07 03:43:45 +00:00
Marie
2928ccf1e4 merge: handle more complex ruby from/to html - fixes #605 (!866)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/866

Closes #605

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-07 03:40:55 +00:00
dakkar
708debf5d5 Merge tag '2025.2.0' into merge/2024-02-03 2025-02-06 10:22:57 +00:00
Hazelnoot
337326ed07 fix check for parts.length 2025-02-05 14:22:50 -05:00
Hazelnoot
8af91d9673 extract variable hasExistingDefaultCW to improve code readability 2025-02-05 14:22:50 -05:00
Hazelnoot
90e71ba413 apply default content warning to new posts 2025-02-05 14:22:50 -05:00
Hazelnoot
d6a38b6cab show a "follow back" button on "user followed you" and "received follow request" notifications 2025-02-05 14:21:13 -05:00
Hazelnoot
9f88ccec5f emit waiting status from MkFollowButton 2025-02-05 14:20:39 -05:00
Hazelnoot
9934e4d948 allow MkFollowButton to be disabled 2025-02-05 14:20:39 -05:00
Hazelnoot
1f9372af32 restore formatting in MkUserSelectDialog.vue 2025-02-04 11:07:36 -05:00
Hazelnoot
e84f62ae5d fix import order in MkPageWindow.vue 2025-02-04 10:56:27 -05:00
Hazelnoot
f153e54313 remove unused import from MkNotes.vue 2025-02-04 10:55:17 -05:00
Hazelnoot
ef3e83cefa fix lint errors in MkMfm.ts 2025-02-04 10:45:08 -05:00
lqvp
5840c7a945
fix(frontend): パスキーでパスワードレスログインが出来ない問題を修正 (#15370) 2025-02-04 09:16:41 +00:00
かっこかり
495d72ed2a
fix(frontend): MkSparkleが動作しない問題を修正 (#15390)
* fix(frontend): MkSparkleが動作しない問題を修正

* Update Changelog

* fix

* add comments
2025-02-04 05:01:32 +00:00
Hazelnoot
94977c2b1a prevent console spam from MkRoleSelectDialog.vue 2025-02-03 19:20:30 -05:00
Hazelnoot
5b68faf613 copy changes to SkNoteDetailed.vue 2025-02-03 14:47:42 -05:00
Hazelnoot
72b0d4c2ad copy changes to SkNote.vue 2025-02-03 14:46:47 -05:00
Hazelnoot
a4e86758c1 merge upstream 2025-02-03 2025-02-03 14:36:09 -05:00
かっこかり
850d1d0005
fix(frontend): MkDriveFileThumbnail / MkNoteMediaGridの修正 (#15365)
* fix(frontend): MkDriveFileThumbnailのpropsのタイポ修正

* Update Changelog

* fix: MkNoteMediaGridをデータセーバーに対応させる
2025-02-01 04:51:45 +00:00
taichan
28490f3a58
Fix(frontend): ワードミュートがnullの時にもセンシティブミュートが行われるように (#15364)
* Fix(frontend): ワードミュートがnullの時にもセンシティブミュートが行われるように

* Add ChangeLog
2025-02-01 04:48:18 +00:00
かっこかり
ae65aecc0c
refactor(frontend): definePropsを別途インポートしている箇所を除去 (#15375) 2025-02-01 04:47:21 +00:00
かっこかり
297186e492
enhance(frontend): 絵文字管理画面β(ローカル)のUI・UX改善 (#15349)
* enhance(frontend): 絵文字管理画面β(ローカル)のUI・UX改善

* fix

* 🎨

* 表示件数をメニューから変更するように

* 確認ダイアログ

* fix i18n

* needWideArea: trueならwidgetの開閉ボタンを表示しないように

* fix: 検索ウィンドウは一つしか開けないように
2025-01-26 11:10:22 +00:00
おさむのひと
f4bca4708e
feat(frontend): リモート絵文字のインポート時に詳細を確認できるように (#15344)
* feat(frontend): リモート絵文字のインポート時に詳細を確認できるように

* 追加対応

* MkInput -> MkKeyValue
2025-01-26 05:59:03 +00:00
かっこかり
e8b633efec
fix(frontend): Instanceの値が部分的に欠損していると、ローカルサーバーの情報にフォールバックする問題を修正 (#15319) 2025-01-21 10:26:47 +09:00
おさむのひと
f9ad127aaf
feat: 新カスタム絵文字管理画面(β)の追加 (#13473)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix size

* fix register logs

* fix img autosize

* fix row selection

* support delete

* fix border rendering

* fix display:none

* tweak comments

* support choose pc file and drive file

* support directory drag-drop

* fix

* fix comment

* support context menu on data area

* fix autogen

* wip イベント整理

* イベントの整理

* refactor grid

* fix cell re-render bugs

* fix row remove

* fix comment

* fix validation

* fix utils

* list maximum

* add mimetype check

* fix

* fix number cell focus

* fix over 100 file drop

* remove log

* fix patchData

* fix performance

* fix

* support update and delete

* support remote import

* fix layout

* heightやめる

* fix performance

* add list v2 endpoint

* support pagination

* fix api call

* fix no clickable input text

* fix limit

* fix paging

* fix

* fix

* support search

* tweak logs

* tweak cell selection

* fix range select

* block delete

* add comment

* fix

* support import log

* fix dialog

* refactor

* add confirm dialog

* fix name

* fix autogen

* wip

* support image change and highlight row

* add columns

* wip

* support sort

* add role name

* add index to emoji

* refine context menu setting

* support role select

* remove unused buttons

* fix url

* fix MkRoleSelectDialog.vue

* add route

* refine remote page

* enter key search

* fix paste bugs

* fix copy/paste

* fix keyEvent

* fix copy/paste and delete

* fix comment

* fix MkRoleSelectDialog.vue and storybook scenario

* fix MkRoleSelectDialog.vue and storybook scenario

* add MkGrid.stories.impl.ts

* fix

* [wip] add custom-emojis-manager2.stories.impl.ts

* [wip] add custom-emojis-manager2.stories.impl.ts

* wip

* 課題はまだ残っているが、ひとまず完了

* fix validation and register roles

* fix upload

* optimize import

* patch from dev

* i18n

* revert excess fixes

* separate sort order component

* add SPDX

* revert excess fixes

* fix pre test

* fix bugs

* add type column

* fix types

* fix CHANGELOG.md

* fix lit

* lint

* tweak style

* refactor

* fix ci

* autogen

* Update types.ts

* CSS Module化

* fix log

* 縦スクロールを無効化

* MkStickyContainer化

* regenerate locales index.d.ts

* fix

* fix

* テスト

* ランダム値によるUI変更の抑制

* テスト

* tableタグやめる

* fix last-child css

* fix overflow css

* fix endpoint.ts

* tweak css

* 最新への追従とレイアウト微調整

* ソートキーの指定方法を他と合わせた

* fix focus

* fix layout

* v2エンドポイントのルールに対応

* 表示条件などを微調整

* fix MkDataCell.vue

* fix error code

* fix error

* add comment to MkModal.vue

* Update index.d.ts

* fix CHANGELOG.md

* fix color theme

* fix CHANGELOG.md

* fix CHANGELOG.md

* fix center

* fix: テーブルにフォーカスがあり、通常状態であるときはキーイベントの伝搬を止める

* fix: ロール選択用のダイアログにてコンディショナルロールを×ボタンで除外できなかったのを修正

* fix remote list folder

* sticky footers

* chore: fix ci error(just single line-break diff)

* fix loading

* fix like

* comma to space

* fix ci

* fix ci

* removed align-center

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2025-01-20 11:35:37 +00:00
taichan
b41e78090d
fix(client): MkSubNoteContentに対するnoteの指定が誤っていたので修正 (follow up of misskey-dev/misskey#15306) (#15316) 2025-01-20 18:52:27 +09:00
かっこかり
bb51574762
fix(frontend): 非ログイン時のサーバー概要画面のメニューボタンが押せないことがあるのを修正 (#15305)
* Set visitor dashboard's menu button z-index to 50

* Update Changelog

---------

Co-authored-by: Evan Paterakis <evan@geopjr.dev>
2025-01-19 12:10:07 +00:00
taichan
078b7d6cc5
fix(frontend): アンケート(投票)でリモートの絵文字が正しく描画できない問題の修正 (#15306)
* アンケート選択肢にリモート絵文字を表示

* MkSubNoteContentでのリモート絵文字の描画

* Update Changelog

---------

Co-authored-by: kozakura913 <98575220+kozakura913@users.noreply.github.com>
2025-01-19 11:12:35 +00:00
dakkar
60c937606b merge: enhance: Open boost visibility menu on shift-click (!859)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/859

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 17:28:02 +00:00
Marie
b2ed14e1f5 merge: Fix: Emoji categories with subfolders, but no emoji, erroneously duplicate the subfolder's emoji (!860)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/860

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 16:56:34 +00:00
HellhoundSoftware
5a76b7069f
Refactor renote tooltip text 2025-01-18 08:28:57 -05:00
dakkar
01a5300be8 handle more complex ruby from/to html - fixes #605
this is not exactly great, but it should be "good enough"

note that the new `group` function should not escape in the wild, as
we don't document it and only use it internally

I tried using `$[scale foo bar]` instead of `$[group foo bar]`, but
that would be rendered as `<i>foo bar</i>` when sent over the network
to non-misskey instances, and we don't want that
2025-01-18 12:51:38 +00:00
dakkar
65c03e3e54 actually show off the syntax highlighting
at some point the default language stopped being AiScript, so we have
to mark our little example to make the colors happen
2025-01-18 11:05:44 +00:00
dakkar
49d6fc6782 show the border MFM function in cheatsheet - fixes #533 2025-01-18 11:05:40 +00:00
かっこかり
f01fc5af5a
fix(frontend): MkInstanceTickerの情報がリアクティブでない問題を修正 (#15123)
* fix(frontend): MkInstanceTickerの情報がリアクティブでない問題を修正

* Update Changelog

---------

Co-authored-by: taichan <40626578+tai-cha@users.noreply.github.com>
2025-01-17 23:28:20 +00:00
HellhoundSoftware
794c7f9a1a
Change let to const 2025-01-15 21:04:35 -05:00
HellhoundSoftware
ef60a1a8ed
Create CustomEmojiFolderTree nodes with correct path 2025-01-15 20:18:20 -05:00
HellhoundSoftware
3717654309
move tooltip message to computed 2025-01-15 16:14:35 -05:00
HellhoundSoftware
2c90eebe86
Add tooltip for shift-boost 2025-01-15 14:38:34 -05:00