Commit graph

48 commits

Author SHA1 Message Date
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
syuilo
1cd8bfaded fix(server): ノート翻訳時に公開範囲が考慮されていない問題を修正 2021-09-05 16:25:30 +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
55c549a9f8 Remove entity descriptions
#6627
2021-06-08 14:24:21 +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
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
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
f27e4033a6 perf(server): Reduce database query
Related: #6813
2021-03-20 13:54:59 +09:00
syuilo
65e7204ec9 perf: myReaction の取得をまとめて行うように
Related #6813
2021-03-19 10:53:09 +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
9855405b89
Channel (#6621)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wop

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* add notes

* wip

* wip

* wip

* wip

* sound

* wip

* add kick_gaba2

* wip
2020-08-18 22:44:21 +09:00
syuilo
69975c2fdd chore: Use kebab-case for file names 2020-04-26 11:48:09 +09:00
MeiMei
9b07c5af05
リモートのカスタム絵文字リアクションを表示できるように (#6239)
* リモートのカスタム絵文字リアクションを表示できるように

* AP

* DBマイグレーション

* ローカルのリアクションの.

* fix

* fix

* fix

* space
2020-04-14 00:42:59 +09:00
syuilo
d4a630902d refactor: Use === 2020-04-04 08:46:54 +09:00
MeiMei
356225af14
Use url if available (#6214)
* Fix #6213

* other link

* fix
2020-04-02 21:59:14 +09:00
Oni-Men
a471e4b783
MFMをテキストに戻す (#6131)
* Disable Nyaize in quote

* mfmを文字列に戻す、nyaizeにmfmを使用

* Revert "Disable Nyaize in quote"

This reverts commit 1b238905a5535267d32d7e1aec8afd8bb07b0619.

* refactor

* use return type as string
2020-03-06 22:51:50 +09:00
syuilo
b23b3e4d21 Fix #5984 2020-02-19 06:36:50 +09:00
syuilo
d9986b7a2f Implement featured note injection 2020-02-18 19:05:11 +09:00
syuilo
a54de07260 Resolve #5963 2020-02-18 08:41:32 +09:00
syuilo
072dc1c7e6 Clean up 2020-02-13 22:13:31 +09:00
syuilo
f6154dc0af
v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2020-01-30 04:37:25 +09:00
MeiMei
0f25c74415 カスタム絵文字リアクションでないものは絵文字クエリをしないように (#5693)
* カスタム絵文字リアクションの絵文字がNoteに添付されないのを修正

* ねんのため

* 記述順

* カスタム絵文字リアクションでないものは絵文字クエリをしないように
2020-01-09 14:37:48 +09:00
MeiMei
6ef1b1b1a2 カスタム絵文字リアクションの絵文字がNoteに添付されないのを修正 (#5686)
* カスタム絵文字リアクションの絵文字がNoteに添付されないのを修正

* ねんのため

* 記述順
2020-01-07 12:28:20 +09:00
MeiMei
0141affe05 Fix: AP object / actor type (#5086)
* attributedToがArrayの場合などに対応

* attachment以外で来るDocument系のObjectに対応

* Renote, Reply 対応

* 表示をいい感じに

* fix type

* revert as const

* Fix Note / Question type

* attributedToのtypeで複合配列を想定する
2019-06-28 18:54:09 +09:00
syuilo
952789cc1e
Use as const
#5089
2019-06-27 18:04:09 +09:00
syuilo
4c2c762b87
Fix #5036 2019-06-07 20:40:05 +09:00
syuilo
4cb58c0892
Refactor 2019-04-25 13:27:07 +09:00
syuilo
0463c6bb0f
Refactor API (#4770)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update description.ts

* wip
2019-04-23 22:35:26 +09:00
syuilo
71813e03ee
Fix bug 2019-04-18 01:05:40 +09:00
syuilo
946c3a25b9
Clean up 2019-04-17 07:25:34 +09:00
syuilo
fc27890f13
Refactor 2019-04-17 00:34:49 +09:00
syuilo
8316186695
Clean packed responses 2019-04-13 15:02:15 +09:00
syuilo
85d3023cd5
Clean packed responses 2019-04-13 14:55:59 +09:00
syuilo
987168b863
strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
syuilo
4ee40c3345
Fix bug 2019-04-12 14:24:56 +09:00
syuilo
c651921c79
Fix bug 2019-04-09 18:36:43 +09:00
syuilo
0b99293d4c
Fix bug 2019-04-08 17:04:37 +09:00
syuilo
802153ff9b
Fix bug 2019-04-08 16:49:05 +09:00
syuilo
f0a29721c9
Use PostgreSQL instead of MongoDB (#4572)
* wip

* Update note.ts

* Update timeline.ts

* Update core.ts

* wip

* Update generate-visibility-query.ts

* wip

* wip

* wip

* wip

* wip

* Update global-timeline.ts

* wip

* wip

* wip

* Update vote.ts

* wip

* wip

* Update create.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update files.ts

* wip

* wip

* Update CONTRIBUTING.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update read-notification.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update cancel.ts

* wip

* wip

* wip

* Update show.ts

* wip

* wip

* Update gen-id.ts

* Update create.ts

* Update id.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Docker: Update files about Docker (#4599)

* Docker: Use cache if files used by `yarn install` was not updated

This patch reduces the number of times to installing node_modules.
For example, `yarn install` step will be skipped when only ".config/default.yml" is updated.

* Docker: Migrate MongoDB to Postgresql

Misskey uses Postgresql as a database instead of Mongodb since version 11.

* Docker: Uncomment about data persistence

This patch will save a lot of databases.

* wip

* wip

* wip

* Update activitypub.ts

* wip

* wip

* wip

* Update logs.ts

* wip

* Update drive-file.ts

* Update register.ts

* wip

* wip

* Update mentions.ts

* wip

* wip

* wip

* Update recommendation.ts

* wip

* Update index.ts

* wip

* Update recommendation.ts

* Doc: Update docker.ja.md and docker.en.md (#1) (#4608)

Update how to set up misskey.

* wip

* ✌️

* wip

* Update note.ts

* Update postgre.ts

* wip

* wip

* wip

* wip

* Update add-file.ts

* wip

* wip

* wip

* Clean up

* Update logs.ts

* wip

* 🍕

* wip

* Ad notes

* wip

* Update api-visibility.ts

* Update note.ts

* Update add-file.ts

* tests

* tests

* Update postgre.ts

* Update utils.ts

* wip

* wip

* Refactor

* wip

* Refactor

* wip

* wip

* Update show-users.ts

* Update update-instance.ts

* wip

* Update feed.ts

* Update outbox.ts

* Update outbox.ts

* Update user.ts

* wip

* Update list.ts

* Update update-hashtag.ts

* wip

* Update update-hashtag.ts

* Refactor

* Update update.ts

* wip

* wip

* ✌️

* clean up

* docs

* Update push.ts

* wip

* Update api.ts

* wip

* ✌️

* Update make-pagination-query.ts

* ✌️

* Delete hashtags.ts

* Update instances.ts

* Update instances.ts

* Update create.ts

* Update search.ts

* Update reversi-game.ts

* Update signup.ts

* Update user.ts

* id

* Update example.yml

* 🎨

* objectid

* fix

* reversi

* reversi

* Fix bug of chart engine

* Add test of chart engine

* Improve test

* Better testing

* Improve chart engine

* Refactor

* Add test of chart engine

* Refactor

* Add chart test

* Fix bug

* コミットし忘れ

* Refactoring

* ✌️

* Add tests

* Add test

* Extarct note tests

* Refactor

* 存在しないユーザーにメンションできなくなっていた問題を修正

* Fix bug

* Update update-meta.ts

* Fix bug

* Update mention.vue

* Fix bug

* Update meta.ts

* Update CONTRIBUTING.md

* Fix bug

* Fix bug

* Fix bug

* Clean up

* Clean up

* Update notification.ts

* Clean up

* Add mute tests

* Add test

* Refactor

* Add test

* Fix test

* Refactor

* Refactor

* Add tests

* Update utils.ts

* Update utils.ts

* Fix test

* Update package.json

* Update update.ts

* Update manifest.ts

* Fix bug

* Fix bug

* Add test

* 🎨

* Update endpoint permissions

* Updaye permisison

* Update person.ts

#4299

* データベースと同期しないように

* Fix bug

* Fix bug

* Update reversi-game.ts

* Use a feature of Node v11.7.0 to extract a public key (#4644)

* wip

* wip

* ✌️

* Refactoring

#1540

* test

* test

* test

* test

* test

* test

* test

* Fix bug

* Fix test

* 🍣

* wip

* #4471

* Add test for #4335

* Refactor

* Fix test

* Add tests

* 🕓

* Fix bug

* Add test

* Add test

* rename

* Fix bug
2019-04-07 21:50:36 +09:00