Commit graph

573 commits

Author SHA1 Message Date
syuilo
fb54b347a0 server: コマンドラインオプション廃止
Resolve #7863
Resolve #6337
2021-10-08 21:24:05 +09:00
tamaina
dbdb0df0a9 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
b41c31868d fix: アンテナが既読にならないのを修正 (#7809) 2021-09-18 15:31:32 +09:00
tamaina
4761ccd697 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
29c0a35d9e fix: import syslog-pro 2021-08-20 20:18:24 +09:00
syuilo
6216ab9372 refactor: use path alias to improve readability 2021-08-19 22:04:15 +09:00
syuilo
aaef4f50e0 fix: mochaが動かないため拡張子なしに戻した 2021-08-19 21:55:45 +09:00
syuilo
d2b5b67b44 refactor: refactoring imports
将来ESMに移行しやすいように
Related: #7658

なんかmochaが起動しなくなってるけど理由不明
すぐ直したい
2021-08-19 18:33:41 +09:00
syuilo
7c2b31d179 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
281b63c3f0 fix(server): use insert instead of save 2021-08-15 22:10:05 +09:00
syuilo
eac8d413f5 fix typo 2021-08-15 21:44:00 +09:00
syuilo
055a6d8695 perf(server): Optimize db indexes of chart tables 2021-08-15 17:13:23 +09:00
syuilo
53c0100805 フォロー通知のEメール通知を修正 2021-08-11 21:08:05 +09:00
syuilo
3424223931 fix email notification bug 2021-07-25 13:28:33 +09:00
syuilo
f6ccab9950 Refactoring 2021-07-15 20:45:32 +09:00
syuilo
29698850d9 Improve email notification 2021-07-15 20:35:43 +09:00
syuilo
2bd3bec2d5 Resolve #7165 2021-07-09 01:07:55 +09:00
syuilo
ae674d2507 refactoring 2021-07-01 00:50:19 +09:00
syuilo
7e9e38789d Remove entity descriptions
#6627
2021-06-08 14:24:21 +09:00
MeiMei
f41b24b555 Fix remote drive expire (#7543) 2021-05-30 13:48:23 +09:00
nullobsi
7727e5178e 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
0c0a36270b improve types 2021-05-28 09:34:42 +09:00
MeiMei
8d709351bd Fix Announce/Delete AP deliver (#7517)
* Fix Announce/Delete AP deliver

* Revert "Fix Announce/Delete AP deliver"

This reverts commit 0292c5196df48f67bb7914e925560ba69e2b2980.

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

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

* fix
2021-05-11 12:41:02 +09:00
marihachi
993bd861ca 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
9df5374022 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
4d341c5918 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
2e691f4ec4 fix bug 2021-03-23 21:44:12 +09:00
syuilo
0db09532b2 refactor: Use path alias 2021-03-23 17:43:07 +09:00
syuilo
a1eb3e3b8c fix 2021-03-23 15:12:47 +09:00
syuilo
95552f644e noteのread処理 2021-03-23 15:06:56 +09:00
syuilo
59007c6770 コミット忘れ 2021-03-23 14:56:01 +09:00
syuilo
5062e6f171 perf(server): Cache user instance actor 2021-03-22 22:28:09 +09:00
syuilo
b54be21be8 perf(server): Reduce database query 2021-03-22 10:45:07 +09:00
syuilo
2860641f30 fix bug 2021-03-21 22:26:45 +09:00
syuilo
1abf4c5e31 perf(server): Reduce database query 2021-03-21 22:15:45 +09:00
syuilo
1df6a3c8cc perf(server): Reduce database query 2021-03-21 22:09:32 +09:00
syuilo
c6fc5b2175 perf(server): Reduce database query 2021-03-21 21:27:49 +09:00
syuilo
ee16b1850b wip #6441 2021-03-21 21:27:09 +09:00
syuilo
28b12943e7 better note read handling 2021-03-21 17:38:09 +09:00
syuilo
5c15509436 Revert "perf: Reduce database query"
This reverts commit 87c8f9ff953499340496e9c5db09c93eaff08851.
2021-03-21 15:35:02 +09:00
syuilo
84e7dee3c8 perf: 各ストリーミング接続ごとにポーリングしないように 2021-03-21 15:14:03 +09:00
syuilo
72ffdeb7b4 perf: Reduce database query 2021-03-19 20:43:24 +09:00
syuilo
498cefdb75 perf: myReaction の取得をまとめて行うように
Related #6813
2021-03-19 10:53:09 +09:00
syuilo
5ba30883f6 refactor 2021-03-18 17:38:42 +09:00
syuilo
3c48081be9 perf: reduce query 2021-03-18 17:35:47 +09:00
syuilo
f3e0cedef6 Improve chart performance (#7360)
* wip

* wip

* wip

* wip

* wip

* Update chart.ts

* wip

* Improve server performance

* wip

* wip
2021-03-18 11:17:05 +09:00
syuilo
7836dfae4f Improve server performance 2021-03-18 10:52:54 +09:00
Zero King
ddf0168f54 Fix typo (#7334) 2021-03-13 02:07:18 +09:00
syuilo
1a3b0e7864 refactor assets 2021-03-06 13:23:59 +09:00