Commit graph

4162 commits

Author SHA1 Message Date
かっこかり
d1eddf0d88
fix(frontend): 埋め込みiframeから外部ページに移動できない問題を修正 (#15453)
* fix(frontend): 埋め込みiframeから外部ページに移動できない問題を修正

* Update Changelog
2025-02-11 03:33:15 +00:00
lqvp
e339293673
feat: アクセストークン発行時に通知するように (#15422)
* feat: アクセストークン発行時に通知するように (misskey-dev/misskey#13353)

* fix: 不要な翻訳を削除/インデントを揃えるように

* chore(backend): 不要なawaitを削除

* chore: changelogへ追加
2025-02-11 01:15:33 +00:00
おさむのひと
a1ca68aadd
fix(frontend): コンディショナルロールを手動で割り当てできる導線を削除 (#15436)
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-02-11 01:10:05 +00: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
おさむのひと
420365c17f
enhance(frontend): 開発者モードでメニューからファイルIDをコピー出来るようにする (#15444) 2025-02-10 08:20:38 +00:00
taichan
2f8d02024a
feat(frontend): 画像を投稿前にプレビュー可能に (#15341)
* feat(client): 画像をプレビュー可能に

* Update Changelog

* SPDX

* 消えてたのFix

* Add storybook for MkImgPreviewDialog

* backgroundのスタイル変更

Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>

* Add MkImgPreviewDialog to storybook generator

* Update packages/frontend/.storybook/generate.tsx

---------

Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
2025-02-08 08:33:09 +00:00
dakkar
01006058c4 simpler genKeys 2025-02-07 18:42:47 +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
anatawa12
607bf60007
enhance(frontend): アンテナ、リスト等の名前をdeckのカラム名のデフォルト値にするように (#13992)
* refactor: remove type errors from deck.vue and deck-store.ts

* feat: アンテナ、リスト等の名前をカラム名のデフォルト値にするように

* docs: アンテナ、リスト等の名前をカラム名のデフォルト値にするように

* lint: fix

* chore: カラム名が指定されている場合にはチャンネル名を取得しないように

* chore: チャンネルについては投稿でも使用されてる channel 変数を使用するように

* docs: fix changelog

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2025-02-07 06:57:14 +00:00
かっこかり
d008394eb7
enhance(frontend): PostFormのannoying判定でCWを考慮するように (#15405)
* enhance(frontend): PostFormのannoying判定でCWを考慮するように

* Update Changelog

* Update CHANGELOG.md
2025-02-07 06:54:52 +00:00
Marie
c889948f95
feat: Add generation of keys to admin page 2025-02-07 06:00:49 +01: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
Hazelnoot
0d1c993dd2 restore support for local dev using a non-local url 2025-02-06 12:57:44 -05: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
889804b2a8 add settings UI to configure defaultCW and defaultCWPriority 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
80ffe13894 automatically update the profile UI badges after clicking the "follow" button 2025-02-05 14:20:39 -05:00
Hazelnoot
5fe14d850e prevent UI overflow with follow request controls on mobile 2025-02-05 14:20:39 -05:00
Hazelnoot
516500bbc5 fix lint errors 2025-02-05 14:20:39 -05:00
Hazelnoot
0370363aaf show pending inbound follow requests on a user's profile 2025-02-05 14:20:39 -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
8a087e75a5 merge: Improve language detection. (!871)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/871

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-02-05 13:49:18 +00:00
syuilo
cfb61289a9
refactor(frontend): remove X theme properties (#15376)
* refactor(frontend): remove X theme properties

* Update MkAutocomplete.vue

* Update WidgetCalendar.vue
2025-02-05 11:17:48 +00:00
かっこかり
c548ec9906
refactor(frontend): verbatimModuleSyntaxを有効化 (#15323)
* wip

* wip

* wip

* wip

* revert unnecessary changes

* wip

* refactor(frontend): enforce verbatimModuleSyntax

* fix

* refactor(frontend-shared): enforce verbatimModuleSyntax

* wip

* refactor(frontend-embed): enforce verbatimModuleSyntax

* enforce consistent-type-imports

* fix lint config

* attemt to fix ci

* fix lint

* fix

* fix

* fix
2025-02-05 10:01:44 +00:00
かっこかり
fd880660a3
fix(frontend): デッキのプロファイルが新規作成できない問題を修正 (#15406)
* fix(frontend): デッキのプロファイルが保存できない問題を修正

* Update Changelog

* Update CHANGELOG.md
2025-02-05 08:02:10 +00:00
syuilo
fbc6d0de54
enhance: ページslugに使用可能な文字を限定 (#15395)
* wip

* paramの正規表現で弾くように

* apiWithDialogを使用するように

* Update CHANGELOG.md

---------

Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
2025-02-05 01:39:46 +00:00
Hazelnoot
a277c11a2b ui.test.ts 2025-02-04 15:25:57 -05:00
Hazelnoot
60d7edbc14 fix mapping for ti-list-search 2025-02-04 12:53:01 -05:00
Hazelnoot
041993e0c0 map new TI icons:
* ti-eraser -> ph-eraser
* ti-icons -> ph-squares-four
* ti-list-numbers -> ph-list-numbers
* ti-notes -> ph-notepad
* ti-user-question -> ph-user-question
2025-02-04 12:52:25 -05:00
Hazelnoot
9a6c954ca6 add missing _LANGS_VERSION_ definition to frontend eslint 2025-02-04 11:34:39 -05:00
Hazelnoot
25bb97945c remove unused imports from plugin.ts 2025-02-04 11:33:08 -05:00
Hazelnoot
2e75f1c6fd remove extraneous newline in os.ts 2025-02-04 11:32:41 -05:00
Hazelnoot
f2ae9ab570 remove unused import from use-note-capture.ts 2025-02-04 11:27:52 -05:00
Hazelnoot
f5f9b8bc5f fix lint errors in user/home.vue 2025-02-04 11:14:24 -05:00
Hazelnoot
06bcd0c9a0 fix lint errors and remove commented code from settings/general.vue 2025-02-04 11:13:05 -05:00
Hazelnoot
cf86a65385 restore formatting in pages/admin/federation.vue 2025-02-04 11:10:42 -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