Commit graph

160 commits

Author SHA1 Message Date
syuilo 09f4885f89 feat(client): メンションにユーザーのアバターを表示するように
Resolve #350
2021-10-24 21:02:50 +09:00
tamaina 69b56f6658
refactor: publishHogeStreamとStreamのEventEmitterに型定義する (#7769)
* wip

* wip

* wip

* ✌️

* add main stream

* packedNotificationSchemaを更新

* read:gallery, write:gallery, read:gallery-likes, write:gallery-likesに翻訳を追加

* fix

* ok

* add header, choice, invitation

* add header, choice, invitation

* test

* fix

* fix

* yatta

* remove no longer needed "as PackedUser/PackedNote"

* clean up

* add simple-schema

* fix lint

* fix lint

* wip

* wip!

* wip

* fix

* wip

* wip

* ✌️

* 送信側に型エラーがないことを3回確認した

* ✌️

* wip

* update typescript

* define items in full Schema

* edit comment

* edit comment

* edit comment

* Update src/prelude/types.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* https://github.com/misskey-dev/misskey/pull/7769#discussion_r703058458

* user packとnote packの型不整合を修正

* revert https://github.com/misskey-dev/misskey/pull/7772#discussion_r706627736

* revert https://github.com/misskey-dev/misskey/pull/7772#discussion_r706627736

* user packとnote packの型不整合を修正

* add prelude/types.ts

* emoji

* signin

* game

* matching

* clean up

* ev => data

* refactor

* clean up

* add type

* antenna

* channel

* fix

* add Packed type

* add PackedRef

* fix lint

* add emoji schema

* add reversiGame

* add reversiMatching

* remove signin schema (use Signin entity)

* add schemas refs, fix Packed type

* wip PackedHoge => Packed<'Hoge'>

* add Packed type

* note-reaction

* user

* user-group

* user-list

* note

* app, messaging-message

* notification

* drive-file

* drive-folder

* following

* muting

* blocking

* hashtag

* page

* app (with modifying schema)

* import user?

* channel

* antenna

* clip

* gallery-post

* emoji

* Packed

* reversi-matching

* update stream.ts

* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339

* fix lint

* clean up?

* add changelog

* add changelog

* add changelog

* fix: アンテナが既読にならないのを修正

* revert fix

* https://github.com/misskey-dev/misskey/pull/7769#discussion_r711474875

* spec => payload

* edit commetn

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2021-10-21 01:04:10 +09:00
syuilo 7413634734 リアクション一覧の公開をオプトインに 2021-10-18 01:16:59 +09:00
syuilo 835aad44bb feat: ユーザーのリアクション一覧を見れるように 2021-10-17 01:33:15 +09:00
syuilo 0d3a36e519
add todo 2021-09-28 01:50:02 +09:00
tamaina 14795b68f2
refactor: PackedHoge型をPacked<'Hoge'>型に書き換える (#7792)
* packedNotificationSchemaを更新

* read:gallery, write:gallery, read:gallery-likes, write:gallery-likesに翻訳を追加

* fix

* add header, choice, invitation

* test

* fix

* yatta

* remove no longer needed "as PackedUser/PackedNote"

* clean up

* add simple-schema

* fix lint

* define items in full Schema

* revert https://github.com/misskey-dev/misskey/pull/7772#discussion_r706627736

* user packとnote packの型不整合を修正

* add prelude/types.ts

* emoji

* signin

* game

* matching

* fix

* add emoji schema

* add reversiGame

* add reversiMatching

* remove signin schema (use Signin entity)

* add Packed type

* note-reaction

* user

* user-group

* user-list

* note

* app, messaging-message

* notification

* drive-file

* drive-folder

* following

* muting

* blocking

* hashtag

* page

* app (with modifying schema)

* import user?

* channel

* antenna

* clip

* gallery-post

* emoji

* Packed

* reversi-matching

* add changelog

* add changelog

* revert fix
2021-09-22 22:35:55 +09:00
tamaina 53f3b779bf
refactor: Expand schema (#7772)
* packedNotificationSchemaを更新

* read:gallery, write:gallery, read:gallery-likes, write:gallery-likesに翻訳を追加

* fix

* add header, choice, invitation

* test

* fix

* yatta

* remove no longer needed "as PackedUser/PackedNote"

* clean up

* add simple-schema

* fix lint

* define items in full Schema

* revert https://github.com/misskey-dev/misskey/pull/7772#discussion_r706627736

* user packとnote packの型不整合を修正
2021-09-12 01:12:23 +09:00
tamaina 935d6473ed
chore: APIドキュメントの修正 (#7771)
* packedNotificationSchemaを更新

* read:gallery, write:gallery, read:gallery-likes, write:gallery-likesに翻訳を追加

* fix

* add header, choice, invitation
2021-09-09 20:23:31 +09:00
syuilo 1cd8bfaded fix(server): ノート翻訳時に公開範囲が考慮されていない問題を修正 2021-09-05 16:25:30 +09:00
syuilo fd1ef4a62d
enhance(server): Use job queue for account delete (#7668)
* enhance(server): Use job queue for account delete

Fix #5336

* ジョブをひとつに

* remove done call

* clean up

* add User.isDeleted

* コミット忘れ

* Update 1629512953000-user-is-deleted.ts

* show dialog

* lint

* Update 1629512953000-user-is-deleted.ts
2021-08-21 12:41:56 +09:00
syuilo 97f2675d40 refactor: use path alias to improve readability 2021-08-19 22:04:15 +09:00
syuilo 42cc93dd0f fix: mochaが動かないため拡張子なしに戻した 2021-08-19 21:55:45 +09:00
syuilo b9cb6d1c10 refactor: refactoring imports
将来ESMに移行しやすいように
Related: #7658

なんかmochaが起動しなくなってるけど理由不明
すぐ直したい
2021-08-19 18:33:41 +09:00
MeiMei 881b914c6a
チャンネルを作成しているとアカウントを削除できないのを修正 (#7653)
* チャンネルを作成しているとアカウントを削除できないのを修正

* CHANGELOG

* nullable
2021-08-18 22:04:04 +09:00
MeiMei 1772af9583
AP Actorの修正 (#7573)
* AP Actorの修正

* Add ActivityPub test

* Fix person

* Test

* ap test

* Revert "Test"

This reverts commit 3c493eff4e89f94fd33f25189ba3bc96ef4366b3.

* Test comment

* fix

* fix

* Update inbox

* indent

* nl

* indent

* TODO

* Fix inbox

* Update test
2021-07-10 23:14:57 +09:00
syuilo 55c549a9f8 Remove entity descriptions
#6627
2021-06-08 14:24:21 +09:00
MeiMei 0263539202
Fix remote drive expire (#7543) 2021-05-30 13:48:23 +09:00
syuilo 18e1efc7ec
Ad (#7495)
* wip

* Update ad.vue

* Update default.widgets.vue

* wip

* Create 1620019354680-ad.ts

* wip

* Update ads.vue

* wip

* Update ad.vue
2021-05-04 21:15:57 +09:00
syuilo fec3c70886
Gallery (#7194)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2021-04-24 22:38:24 +09:00
syuilo 17f2e39084
fix #7466 2021-04-20 00:15:53 +09:00
syuilo 68571d8f57 Implement user online status
Resolve #7422
Fix #7424
2021-04-17 15:30:26 +09:00
syuilo 61461b7f59 Improve client 2021-04-17 14:06:32 +09:00
syuilo e5fbc68e0e 詳細ユーザー情報ページなど 2021-04-16 17:34:06 +09:00
syuilo 1f4ae2f63a
Use mfm-js for MFM parsing (#7415)
* wip

* Update mfm.ts

* wip

* update mfmjs

* refactor

* nanka

* Update mfm.ts

* Update to-html.ts

* Update to-html.ts

* wip

* fix test

* fix test
2021-04-02 10:36:11 +09:00
syuilo ce340aba7a
Refactor (#7394)
* wip

* wip

* wip

* wip

* wip

* Update define.ts

* Update update.ts

* Update user.ts

* wip

* wip

* Update request.ts

* URL

* wip

* wip

* wip

* wip

* Update invite.ts

* Update create.ts
2021-03-24 11:05:37 +09:00
syuilo c74fe3c6e2 refactor: Use path alias 2021-03-23 17:43:07 +09:00
syuilo 7e4a800352 noteのread処理 2021-03-23 15:06:56 +09:00
syuilo 967fae142b fix bug 2021-03-22 12:41:38 +09:00
syuilo 8f41dfec2e perf(server): Reduce database query 2021-03-22 12:41:33 +09:00
syuilo 0e6fbdfa5b refactoring 2021-03-22 11:38:32 +09:00
MeiMei d1efe1d208
populateEmojisのリファクタと絵文字情報のキャッシュ (#7378)
* revert

* Refactor populateEmojis, Cache emojis

* ん

* fix typo

* コメント
2021-03-22 00:44:38 +09:00
syuilo 2f2a8e537d fix bug 2021-03-21 22:26:45 +09:00
syuilo f27e4033a6 perf(server): Reduce database query
Related: #6813
2021-03-20 13:54:59 +09:00
syuilo e523e54881 perf(server): Reduce database query 2021-03-20 11:05:33 +09:00
syuilo fbc9d5ecba refactor 2021-03-19 18:22:14 +09:00
syuilo 65e7204ec9 perf: myReaction の取得をまとめて行うように
Related #6813
2021-03-19 10:53:09 +09:00
MeiMei ca4f026533
DB上で壊れたドライブファイルを無視するように (#7345) 2021-03-16 12:50:07 +09:00
MeiMei 9e634360fa
Fix Schema (#7347) 2021-03-13 22:15:20 +09:00
YuzuRyo61 a07d753da8
APIドキュメントの改善 (#6757)
* Update api document in admin/announcements

* Update api document in announcements

* Update api document in i/read-announcements

* Update api document in username/available

* Update api document & Fix typo in API 403 error

* Update api document

* Update api document

* Update api document

* Fix API permission definition

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Update api document

* Fix bug in users (api)

* Apply reviews #6757

* Apply reviews #6757

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-03-06 22:34:11 +09:00
Cj-bc 6477ad2cfc
packedNoteSchemaの更新漏れを修正 (#7174) (#7190)
Add 'localOnly' to packedNoteSchema

Related: #7174

Add 'emojis' to packedNoteSchema

Add 'reactions' to packedNoteSchema

Related: #7174

Add 'renoteCount' to packedNoteSchema

Related: #7174

Add 'repliesCount' to packedNoteSchema

Add 'uri' to packedNoteSchema

Add 'url' to packedNoteSchema

Add: _featuredId_ to packedNoteSchema

Add '_prId_' to packedNoteSchema

Add 'myReaction' to packedNoteSchema
2021-02-13 17:50:51 +09:00
syuilo 91172654e4 refactor: resolve #7139 2021-02-13 15:33:38 +09:00
syuilo ebadd7fd3f wip: email notification 2021-02-13 12:28:26 +09:00
syuilo 547da89c7d お知らせメールを受け取るかどうかの設定を追加 2021-02-06 22:47:15 +09:00
syuilo 6c975275f8
Registry (#7073)
* wip

* wip

* wip

* wip

* wip

* Update registry.value.vue

* wip

* wip

* wip

* wip

* typo
2021-01-11 20:38:34 +09:00
syuilo 69c3c4e3dc
Resolve #6806 (#6935)
* ✌️

* ✌️

* Update privacy.vue
2020-12-11 21:16:20 +09:00
syuilo 17d62b689d wip 2020-11-29 12:34:39 +09:00
syuilo 0144408500
nanka iroiro (#6853)
* wip

* Update maps.ts

* wip

* wip

* wip

* wip

* Update base.vue

* wip

* wip

* wip

* wip

* Update link.vue

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update privacy.vue

* wip

* wip

* wip

* wip

* Update range.vue

* wip

* wip

* wip

* wip

* Update profile.vue

* wip

* Update a.vue

* Update index.vue

* wip

* Update sidebar.vue

* wip

* wip

* Update account-info.vue

* Update a.vue

* wip

* wip

* Update sounds.vue

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update account-info.vue

* Update account-info.vue

* wip

* wip

* wip

* Update d-persimmon.json5

* wip
2020-11-25 21:31:34 +09:00
syuilo 0044d83801
nanka iroiro (#6847)
* wip

* wip

* wip

* wip

* Update ja-JP.yml

* wip

* wip

* wip
2020-11-17 14:59:15 +09:00
syuilo cac99ebdd4 wip: clip 2020-11-15 12:47:54 +09:00
syuilo 8e8459fa55 wip: clip 2020-11-15 12:34:47 +09:00