misskey/packages/backend/src/models
taichan b752dc72e5
feat: ノートの下書き(draft of note) (#15298)
* WIp (backend)

* Remove unused

* 下書きbackend 続き

* fix(backedn): visibilityが下書きに反映されない

* Update packages/backend/src/postgres.ts

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

* Fix : import order

* fix(backend) : createでcwが効かない

* FIX FOREGIN KEY

* wip: frontend(既存の下書きを挿入)

まだ:チャンネル表示、下書きの作成、削除

* WIP: ノート選択ダイアログ
投稿時に下書きを削除

* Promiseに変更

* 連合なし、チャンネルも表示

* Hashtagの値抜け漏れ

* hasthagを0文字でも作成可能に

* 下書きの保存機構

* chore(misskey-js): build types

* localOnly抜け漏れ

* チャンネル情報の書き換え

* enhance(frontend): ヘッダ部の表示改善

* fix(frontend): ファイル添付できない

* fix: no file

* fix(frontend): 投票が反映されない

* ハッシュタグの展開(コメントアウト外し忘れ)

* fix: visibleUserIdsが反映されない

* enhance: APIの型を整備

* refactor: 型が整備できたのでasを削除

* Add userhost

* fix

* enhance: paginationを使う

* fix

* fix: 自分のアカウントでの投稿でしか下書きを利用できないように

完全に塞ぐことはできないが一応

* 🎨

* APIのエラーIDを追加

* enhance: スタイル調整

* remove unused code

* 🎨

* fix: ロールポリシーの型

* ロールの編集画面

* ダイアログの挙動改善

* 下書き機能が利用できない場合は表示しないように

* refactor

* fix: ダブルクリックが効かない問題を修正

* add comments

* fix

* fix: 保存時のエラーの種別にかかわらずmodalを閉じないように

* fix()backend: NoteDraftのreply, renoteの型が間違ってたので修正 (migtrationはあってた)

* fix: 投稿フォームを空白にして通常リノートできるやつは下書きとしては弾くように

* fix(backend): テキストが0文字でも下書きは保存できるように

* Fix(backend): replyIdの型定義がミスっているのを修正

* chore(misskey-js): update types

* Add CHANGELOG

* lint

* 常にサーバー下書きに保存し、上限を超えた場合のみ尋ねるように

* NoteDraftServiceにcreate, updateの処理を移譲

* Fix typeerror

* remove tooltip

* Remove Mkbutton:short and use iconOnly

* 不要なコメントの削除

* Remove Short Completely

* wip

* escキーまわりの挙動を改善

* 下書き選択時に下書き可能数と現在の量が分かるように

* cleanUp

* wip

* wi

* wip

* Update MkPostForm.vue

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-06-25 17:09:23 +09:00
..
json-schema feat: ノートの下書き(draft of note) (#15298) 2025-06-25 17:09:23 +09:00
util (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
AbuseReportNotificationRecipient.ts feat: 通報を受けた際にメールまたはWebhookで通知を送出出来るようにする (#13758) 2024-06-08 15:34:19 +09:00
AbuseUserReport.ts refactor(backend): SystemWebhookで送信されるペイロードの型を追加 (#14980) 2024-11-19 10:41:39 +09:00
AccessToken.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Ad.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Announcement.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
AnnouncementRead.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Antenna.ts fix: exported antenna data cannot be imported in some cases (#15985) 2025-05-09 17:48:01 +09:00
App.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
AuthSession.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
AvatarDecoration.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Blocking.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
BubbleGameRecord.ts fix(backend): add missing schemas and fix incorrect schemas (#13295) 2024-02-16 14:27:33 +09:00
Channel.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ChannelFavorite.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ChannelFollowing.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ChatApproval.ts Feat: Chat (#15686) 2025-03-24 21:32:46 +09:00
ChatMessage.ts Feat: Chat (#15686) 2025-03-24 21:32:46 +09:00
ChatRoom.ts Feat: Chat (#15686) 2025-03-24 21:32:46 +09:00
ChatRoomInvitation.ts Feat: Chat (#15686) 2025-03-24 21:32:46 +09:00
ChatRoomMembership.ts Feat: Chat (#15686) 2025-03-24 21:32:46 +09:00
Clip.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ClipFavorite.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ClipNote.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
DriveFile.ts Fix(backend): ドライブのファイルのurl, uri, src の上限引き上げ (#14323) 2024-07-30 15:29:24 +09:00
DriveFolder.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Emoji.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Flash.ts enhance: 人気のPlayを10件以上表示できるように (#14443) 2024-10-05 14:37:52 +09:00
FlashLike.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
FollowRequest.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Following.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
GalleryLike.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
GalleryPost.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Hashtag.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Instance.ts revert 5f88d56d96 2024-07-20 21:33:20 +09:00
Meta.ts feat: URLプレビューのリダイレクトを受け入れるかどうかを設定できるようにする (#16112) 2025-05-27 20:46:22 +09:00
ModerationLog.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Muting.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Note.ts feat: ノートの下書き(draft of note) (#15298) 2025-06-25 17:09:23 +09:00
NoteDraft.ts feat: ノートの下書き(draft of note) (#15298) 2025-06-25 17:09:23 +09:00
NoteFavorite.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
NoteReaction.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
NoteThreadMuting.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Notification.ts enhance: チャットルームに招待されたときの通知を追加 2025-03-25 15:25:43 +09:00
Page.ts enhance: ページslugに使用可能な文字を限定 (#15395) 2025-02-05 01:39:46 +00:00
PageLike.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
PasswordResetRequest.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Poll.ts Exclude channel notes from featured polls (#13838) 2024-05-20 18:08:20 +09:00
PollVote.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
PromoNote.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
PromoRead.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
RegistrationTicket.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
RegistryItem.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Relay.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
RenoteMuting.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
RepositoryModule.ts feat: ノートの下書き(draft of note) (#15298) 2025-06-25 17:09:23 +09:00
RetentionAggregation.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
ReversiGame.ts chore: add missing SPDX ID and workflow check (#13570) 2024-03-13 22:37:18 +09:00
Role.ts Copy role on move (#15745) 2025-04-03 19:22:49 +09:00
RoleAssignment.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Signin.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
SwSubscription.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
SystemAccount.ts enhance(backend): refine system account (#15530) 2025-03-02 20:06:20 +09:00
SystemWebhook.ts feat: 運営のアクティビティが一定期間ない場合は通知+招待制に移行した際に通知 (#14757) 2024-10-13 20:32:12 +09:00
UsedUsername.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
User.ts fix: avatarId が null のときにも avatarUrl が non null 担ってることがある問題 (#15833) 2025-04-15 16:10:17 +09:00
UserIp.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
UserKeypair.ts revert 5f88d56d96 2024-07-20 21:33:20 +09:00
UserList.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
UserListFavorite.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
UserListMembership.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
UserMemo.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
UserNotePining.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
UserPending.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
UserProfile.ts fix(backend): enumerate achievement types in some response schema (#15953) 2025-05-06 19:52:30 +09:00
UserPublickey.ts revert 5f88d56d96 2024-07-20 21:33:20 +09:00
UserSecurityKey.ts (re) update SPDX-FileCopyrightText 2024-02-13 15:59:27 +00:00
Webhook.ts feat: UserWebhook/SystemWebhookのテスト送信機能を追加 (#14489) 2024-09-19 17:20:50 +09:00
_.ts feat: ノートの下書き(draft of note) (#15298) 2025-06-25 17:09:23 +09:00