Commit graph

577 commits

Author SHA1 Message Date
syuilo 93230815f5 モデレーターをブロックできない仕様を廃止
Resolve #7898
2021-10-22 21:01:36 +09:00
syuilo 632af91878 データベースにログを保存するのを廃止
Close #7878
2021-10-22 20:41:15 +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 8e2be5e9a7 chore: ba6959b8c1 のリモート対応 2021-10-14 01:55:39 +09:00
syuilo a38e4b0b14 server: コマンドラインオプション廃止
Resolve #7863
Resolve #6337
2021-10-08 21:24:05 +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 4422219be7
fix: アンテナが既読にならないのを修正 (#7809) 2021-09-18 15:31:32 +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 75b9f31acf
fix: import syslog-pro 2021-08-20 20:18:24 +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
syuilo 7015df37e3
enhance(server): Improve user block (#7640)
* enhance(server): Improve user block

* Update CHANGELOG.md

* ユーザーリスト対応

* 相手から見れなくなるように

* Update 1629004542760-chart-reindex.ts

2365761ba5 (commitcomment-54919821)

* update test

* add test

* add todos

* Update 1629004542760-chart-reindex.ts
2021-08-17 21:48:59 +09:00
syuilo d60dc60bc9 fix(server): use insert instead of save 2021-08-15 22:10:05 +09:00
syuilo c96b2767b9 fix typo 2021-08-15 21:44:00 +09:00
syuilo 2365761ba5 perf(server): Optimize db indexes of chart tables 2021-08-15 17:13:23 +09:00
syuilo b2e5ade5ac フォロー通知のEメール通知を修正 2021-08-11 21:08:05 +09:00
syuilo f3b3e06329 fix email notification bug 2021-07-25 13:28:33 +09:00
syuilo dc69490e3a Refactoring 2021-07-15 20:45:32 +09:00
syuilo 1c241776a6 Improve email notification 2021-07-15 20:35:43 +09:00
syuilo 49febe1764 Resolve #7165 2021-07-09 01:07:55 +09:00
syuilo 65addc8206 refactoring 2021-07-01 00:50:19 +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
nullobsi ffb9646ce9
Add image description support (#7518)
* recieve image descriptions under the name property

* fix other components

* use comment for alt and title

* allow editing of file comment

* allow editing of file comment in note dialog

* federate note comments

* use file instead of this

* backend should accept comment on update

* update now actually accepts comment

* allow multiline descriptions

* image should also have description attached

* Update locales/ja-JP.yml

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* Use custom component with side-by-side image

* improve usability on mobile devices

* revert changes

* Update post-form-attaches.vue

* Update drive.file.vue

* Update media-caption.vue

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-05-28 09:38:09 +09:00
syuilo db3724cf33 improve types 2021-05-28 09:34:42 +09:00
MeiMei b16c3798a4
Fix Announce/Delete AP deliver (#7517)
* Fix Announce/Delete AP deliver

* Revert "Fix Announce/Delete AP deliver"

This reverts commit 0292c5196d.

* localOnlyのDeleteをdeliverしないように

* null Activityに対するUndoはdeliverしないように
2021-05-19 16:15:01 +09:00
MeiMei 917e57d475
Fix #7431 (#7432)
* Fix #7431

* fix
2021-05-11 12:41:02 +09:00
marihachi 3a6331693a
refactor mfm extract (#7434)
* refactor extractCustomEmojisFromMfm()

* refactor extract-hashtags

* refactor extract-mentions

* refactor extract-hashtags

* refactor extract-url-from-mfm

* refactor extract-mentions
2021-04-10 17:50:18 +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 62cc14c93b fix bug 2021-03-23 21:44:12 +09:00
syuilo c74fe3c6e2 refactor: Use path alias 2021-03-23 17:43:07 +09:00
syuilo cd4680b422 fix 2021-03-23 15:12:47 +09:00
syuilo 7e4a800352 noteのread処理 2021-03-23 15:06:56 +09:00
syuilo 00bc097abb コミット忘れ 2021-03-23 14:56:01 +09:00
syuilo 6b753b05d6 perf(server): Cache user instance actor 2021-03-22 22:28:09 +09:00
syuilo e881e1bfb3 perf(server): Reduce database query 2021-03-22 10:45:07 +09:00
syuilo 2f2a8e537d fix bug 2021-03-21 22:26:45 +09:00
syuilo 82de8b7c50 perf(server): Reduce database query 2021-03-21 22:15:45 +09:00
syuilo fb194b855b perf(server): Reduce database query 2021-03-21 22:09:32 +09:00
syuilo a4a9b8707d perf(server): Reduce database query 2021-03-21 21:27:49 +09:00
syuilo c4c20bee7c wip #6441 2021-03-21 21:27:09 +09:00
syuilo 667d58bad4 better note read handling 2021-03-21 17:38:09 +09:00
syuilo 630464f38d Revert "perf: Reduce database query"
This reverts commit 87c8f9ff95.
2021-03-21 15:35:02 +09:00
syuilo 8050352ad8 perf: 各ストリーミング接続ごとにポーリングしないように 2021-03-21 15:14:03 +09:00
syuilo 87c8f9ff95 perf: Reduce database query 2021-03-19 20:43:24 +09:00
syuilo 65e7204ec9 perf: myReaction の取得をまとめて行うように
Related #6813
2021-03-19 10:53:09 +09:00
syuilo bffdfea58a refactor 2021-03-18 17:38:42 +09:00
syuilo 449ea4b669 perf: reduce query 2021-03-18 17:35:47 +09:00