Commit Graph

1570 Commits

Author SHA1 Message Date
syuilo
c8de4d6a11 refactoring 2021-08-22 22:22:53 +09:00
syuilo
5dad771edd clean up 2021-08-21 14:47:39 +09:00
tamaina
0ed756d00d feat: Implement api sw/unregister (#7611)
* Implement api sw/unregister

* remove all mode

* add changelog

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-08-21 14:47:18 +09:00
syuilo
edd213e72f 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
Johann150
70cf229d3a fix: use correct query generate function (#7657)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-08-20 20:55:12 +09:00
syuilo
6216ab9372 refactor: use path alias to improve readability 2021-08-19 22:04:15 +09:00
syuilo
f3e8331023 fix import 2021-08-19 21:57:36 +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
a4c930a94c fix(server): ja-JPのような形式にDeepLが対応してない 2021-08-15 21:52:58 +09:00
syuilo
b61367e8aa feat: ノートの翻訳機能
Resolve #5213
2021-08-15 20:26:44 +09:00
syuilo
e317342c43 Introduce e2e test 2021-08-12 19:05:07 +09:00
syuilo
836c2a4fee Improve doc 2021-08-10 19:19:02 +09:00
syuilo
2fe2fba2e1 Update html comment 2021-08-10 15:28:01 +09:00
syuilo
50ccb23bd6 fix bug that docs not loading 2021-08-07 20:39:27 +09:00
syuilo
0c848c4b3d Improve docs 2021-08-05 00:15:51 +09:00
MeiMei
7967a8c775 認証の修正 (#7597)
* authenticateのキャッシュを廃止

* 凍結ユーザーがサインイン出来てしまうのを修正

* 凍結ユーザーはストリーミング接続出来ないように

* 他人のアクセストークンはrevoke出来ないように, 正常削除を待機するように

* ユーザー/アクセストークンを無効化したらストリーミングを切断するように

* Revert TODO

* ストリーミングterminateは、ユーザー削除後に行うように

* signinでsuspendは別のエラーにする

* トークン再生成後のストリーミング切断は少し待つように

* サスペンド後のストリーミング切断はローカルユーザーのみに
2021-07-18 19:57:53 +09:00
MeiMei
fd1c11d7bd API AuthenticateでDB接続エラーなどが発生するとログアウトさせられてしまうのを修正 Fix #7603 (#7604) 2021-07-18 00:53:16 +09:00
syuilo
f6ccab9950 Refactoring 2021-07-15 20:45:32 +09:00
syuilo
9d6f87b397 Custom CSS 2021-07-14 00:11:05 +09:00
syuilo
2bd3bec2d5 Resolve #7165 2021-07-09 01:07:55 +09:00
syuilo
45a58615bc improve type 2021-06-30 23:33:50 +09:00
syuilo
e4211ba40e カスタム絵文字インポート時もemojiAddedイベントを発行するように 2021-06-23 13:42:02 +09:00
syuilo
464a0e6e81 fix api response definition 2021-06-08 14:26:52 +09:00
syuilo
7e9e38789d Remove entity descriptions
#6627
2021-06-08 14:24:21 +09:00
syuilo
fcb1d4f8c5 refactor type 2021-06-08 14:14:58 +09:00
syuilo
dceb64944c Remove endpoint descriptions
#6627
2021-06-08 14:09:32 +09:00
MeiMei
8ab2f13a64 Supports Array ActivityStreams type (#7536)
* Supports Array type

* Fix

* Fix Service to Note

* Update type.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-05-31 13:04:13 +09:00
syuilo
dbd7b195f2 Resolve #7538 2021-05-28 22:53:00 +09:00
syuilo
39e89c0489 fix type 2021-05-28 22:52:30 +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
fcf44da70f Fix search-by-tag (#7531)
* Fix search-by-tag

* Revert "Fix search-by-tag"

This reverts commit c971d1d5d82f2d8b58fdec76e42f4404339ab83a.

* Fix typo

* Remove unused var

* インジェクションは[]を返すように
2021-05-23 18:57:12 +09:00
syuilo
dab66a66b6 Resolve #6563 (#7524)
* Resolve #6563

* Update note.ts

* Update generate-visibility-query.ts
2021-05-21 14:13:03 +09:00
syuilo
befe913517 Create get-index-stats.ts 2021-05-08 12:51:23 +09:00
syuilo
3ed3f208f2 Improve ad 2021-05-08 12:50:11 +09:00
syuilo
0674cb5546 Improve ad 2021-05-07 14:22:13 +09:00
MeiMei
818cd2b71d APIドキュメントが見れなくなっているのを修正など (#7500)
* Test api.json

* Fix typo

* Fix api-doc
2021-05-05 19:02:30 +09:00
syuilo
41790ea1c1 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
cbcc1fd4e6 Password reset (#7494)
* wip

* wip

* Update well-known.ts

* wip

* clean up

* Update request-reset-password.ts

* Update forgot-password.vue

* Update reset-password.ts

* Update request-reset-password.ts
2021-05-04 15:05:34 +09:00
syuilo
94054a10df Fix #7480 2021-04-26 12:34:41 +09:00
syuilo
d1dba5bd69 ギャラリー投稿の編集と削除 2021-04-26 11:10:45 +09:00
syuilo
48bfcc46a4 Gallery (#7194)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2021-04-24 22:38:24 +09:00
syuilo
3658183b80 Make admin/update-remote-user public 2021-04-23 12:05:15 +09:00
syuilo
bf0ed854cf chore 2021-04-21 03:17:51 +09:00
syuilo
8db5ca6e31 Update Misskey description 2021-04-20 23:26:17 +09:00
syuilo
f131d91ee6 Use FontAwesome as web font instead of vue component (#7469)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update yarn.lock

* wip

* wip
2021-04-20 23:22:59 +09:00
okpierre
e8ada4c8d0 Update index.ts (#7463) 2021-04-19 12:17:22 +09:00
syuilo
9cd5a0555c Resolve #7457 2021-04-18 22:51:35 +09:00
syuilo
f99f919e4c 精度を高めるためストリーミング接続中に定期的にlastActiveDateを更新するように 2021-04-18 22:35:47 +09:00
syuilo
05ef0fdc24 update secret message 2021-04-18 11:16:57 +09:00
syuilo
fc7dfbddf3 Implement user online status
Resolve #7422
Fix #7424
2021-04-17 15:30:26 +09:00
syuilo
571bd15bc9 Improve client 2021-04-17 14:06:32 +09:00
syuilo
069281b6bd 詳細ユーザー情報ページなど 2021-04-16 17:34:06 +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
14f3240dcc syuilo/misskey --> misskey-dev/misskey 2021-03-24 12:23:05 +09:00
syuilo
c664ff43cb Fix #7390 2021-03-24 11:26:51 +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
0db09532b2 refactor: Use path alias 2021-03-23 17:43:07 +09:00
syuilo
24f39f684d refactor(build): gulpを経由しないでTypeScriptのビルドを行うように
path aliasをサーバーサイドでも使ったりしたいため
2021-03-23 17:24:40 +09:00
MeiMei
27bae56f98 Use TRUNCATE (#7385) 2021-03-23 15:22:31 +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
98f28bbf03 fix bug
48ea805999 (commitcomment-48584326)
2021-03-23 14:54:09 +09:00
syuilo
9d510c1d74 perf(server): Redis接続をストリーミング接続ごとに作らず、プロセス全体で共有するように 2021-03-23 11:53:25 +09:00
syuilo
f5d6d8c42a perf(server): Cache user keypair 2021-03-22 15:14:54 +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
df46cbe878 add note 2021-03-21 14:33:18 +09:00
syuilo
0ae1185fb1 fix(server): Use inner join 2021-03-21 12:33:37 +09:00
syuilo
823f660fe6 Revert "fix(server): Use inner join"
This reverts commit d7e7848c9206b68ab86d2d566ec4247db87827c0.
2021-03-21 12:31:56 +09:00
syuilo
517e6ad17a perf(server): Improve following/followers API performance
Related #6813
2021-03-21 10:41:21 +09:00
syuilo
d91d7a36c4 fix(server): Use inner join
https://github.com/syuilo/misskey/issues/6813#issuecomment-803400023
2021-03-21 10:39:32 +09:00
syuilo
e85d20ab76 clean up など 2021-03-20 15:42:02 +09:00
syuilo
a30c16f497 クライアントサイドで実装したいため一旦 injectPromo および injectFeatured を無効化 2021-03-20 14:09:17 +09:00
syuilo
1ecb6fc7fd perf(server): Reduce database query
Related: #6813
2021-03-20 13:54:59 +09:00
syuilo
beaf81be4f perf(server): Reduce database query 2021-03-20 11:05:33 +09:00
syuilo
72ffdeb7b4 perf: Reduce database query 2021-03-19 20:43:24 +09:00
syuilo
dbeeeeb9e5 perf(server): Improver performance 2021-03-19 18:22:34 +09:00
syuilo
a7e5db82df add note 2021-03-19 11:15:05 +09:00
syuilo
7836dfae4f Improve server performance 2021-03-18 10:52:54 +09:00
syuilo
1dea826fb5 Improve API performance 2021-03-18 10:19:30 +09:00
MeiMei
2c987d5c39 Fix assets test and favicon type (#7344)
* fix

* koa-faviconはimage/x-iconがデフォルトらしい

* シンプルに

* faviconなど
2021-03-13 23:22:54 +09:00
okpierre
c34b8c594f Update index.ts (#7343) 2021-03-13 13:19:49 +09:00
syuilo
7b285a1a71 gulp refactor 2021-03-13 11:43:07 +09:00
tamaina
c3bfafb50c Improve flush (#7328) 2021-03-13 10:55:29 +09:00
syuilo
c7884f46de fix assets
Fix #7314
Fix #7313
2021-03-07 14:40:57 +09:00
syuilo
526a8220c1 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2021-03-06 22:34:51 +09:00
syuilo
7b60840c26 fix bug 2021-03-06 22:34:26 +09:00
YuzuRyo61
e183c2b509 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
syuilo
1a3b0e7864 refactor assets 2021-03-06 13:23:59 +09:00
syuilo
795793b3b0 🎨 2021-03-05 23:23:00 +09:00
syuilo
b0dd914576 Splash screen 2021-03-05 13:51:22 +09:00
syuilo
9e8b955e89 Bios (#7286)
* wip

* wip

* wip
2021-03-03 01:03:29 +09:00
syuilo
73a978dc74 wip: better error handling 2021-03-03 00:25:13 +09:00
syuilo
d0a0436384 localeが古い場合自動更新するように 2021-02-27 11:29:52 +09:00