Commit Graph

456 Commits

Author SHA1 Message Date
syuilo
fb250fc63f Add unique index 2019-05-19 20:50:08 +09:00
syuilo
5e4abe42bb Update note-favorite.ts 2019-05-19 20:48:10 +09:00
syuilo
494cbf3aa7 Resolve #4941 2019-05-19 20:41:23 +09:00
syuilo
20c34ead23 ユーザーグループ
Resolve #3218
2019-05-18 20:36:33 +09:00
syuilo
ddeb98ece4 ページにいいねできるように 2019-05-17 19:56:47 +09:00
syuilo
4452f8378b Resolve #4928 2019-05-16 01:07:32 +09:00
syuilo
18f61492ed Update note.ts 2019-05-14 12:04:40 +09:00
tamaina
8291f277e3 Add ToSUrl, repositoryUrl, feedbackUrl (#4921)
* Add ToSUrl, repositoryUrl, feedbackUrl

* modify nodeinfo
2019-05-14 02:57:04 +09:00
MeiMei
55616b16e1 Fix: ピン留め投稿の表示順がおかしい (#4906)
* Fix: syuilo#4904

* fix comment
2019-05-12 09:37:00 +09:00
syuilo
5c8bad5f79 Update log.ts 2019-05-11 10:58:34 +09:00
syuilo
94cd2fdcd5 インスタンス運営者がピン留めユーザーを設定できるように
Related #4892
2019-05-10 17:30:28 +09:00
syuilo
c7b253ea47 Resolve #4870 2019-05-09 23:27:34 +09:00
syuilo
9cc1249738 Update user-profile.ts
#4809
2019-05-05 09:42:38 +09:00
Satsuki Yanagi
631c32fffc 外部サービス連携後のPackedUserがその情報を持つように (#4850) 2019-05-05 09:28:55 +09:00
Satsuki Yanagi
582a21912d 様々な修正 (#4859)
Typo, Redundant code, Syntax error の修正
2019-05-05 09:27:55 +09:00
syuilo
bc097ee625 Fix #4840 2019-05-03 18:55:24 +09:00
Satsuki Yanagi
82da4d66f2 Fix external service authentication (#4846) 2019-05-03 18:38:19 +09:00
syuilo
a476cca477 Improve API doc
Fix #4825
2019-05-01 04:44:46 +09:00
syuilo
a96aa07688 Improve MisskeyPages 2019-04-30 12:15:41 +09:00
syuilo
a20f99da7a Use bigint 2019-04-29 17:38:31 +09:00
syuilo
94d23dfa19 Pages (#4811)
* wip

* wip

* wip

* Update page-editor.vue

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update page-editor.variable.core.vue

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update aiscript.ts

* wip

* Update package.json

* wip

* wip

* wip

* wip

* wip

* Update page.vue

* wip

* wip

* wip

* wip

* more info

* wip fn

* wip

* wip

* wip
2019-04-29 09:11:57 +09:00
syuilo
807b7f3ee5 Refactor 2019-04-25 13:27:07 +09:00
syuilo
a1efbf0a46 Improve hashtag API 2019-04-25 13:25:10 +09:00
syuilo
2afaa1105c Increase reaction column length 2019-04-24 03:39:11 +09:00
syuilo
493c83ef2d 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
0dba373fce 2段階認証を有効にするとログインできない問題を修正 2019-04-22 00:38:37 +09:00
tamaina
321dffcba0 Fix #4734 (#4745) 2019-04-18 20:46:59 +09:00
syuilo
f4d14fb928 Fix bug 2019-04-18 01:05:40 +09:00
syuilo
0fd33c1172 Refactor 2019-04-17 14:32:59 +09:00
syuilo
f11f901d7d Clean up 2019-04-17 07:25:34 +09:00
syuilo
f9f8ccdfbf Better response 2019-04-17 02:51:12 +09:00
syuilo
cfcdef99a1 smallint 2019-04-17 02:12:15 +09:00
syuilo
8760a4195c Fix #4724 2019-04-17 02:11:22 +09:00
syuilo
0f9e0b9c83 Refactor 2019-04-17 00:34:49 +09:00
syuilo
660a976a1c Meta を二重にデータベースに保存できないように 2019-04-17 00:33:02 +09:00
syuilo
236cc66d86 Clean up 2019-04-16 01:22:48 +09:00
syuilo
c44543bd3e Fix #4705 2019-04-16 01:11:20 +09:00
syuilo
41478a7399 ランダムにアバターを生成するように 2019-04-15 20:37:21 +09:00
syuilo
967e8595d4 Fix bug 2019-04-15 12:49:38 +09:00
MeiMei
a9c66b08d0 Fix #4688 (#4689) 2019-04-15 11:32:53 +09:00
rinsuki
ce6377774d callbackUrlをappのレスポンスに追加 (#4686) 2019-04-15 03:39:31 +09:00
syuilo
6e149dbd21 Fix bug 2019-04-15 03:20:14 +09:00
syuilo
dc2edb78b9 Update note.ts 2019-04-14 20:26:47 +09:00
syuilo
1326571f1f Fix URL 2019-04-14 17:23:11 +09:00
tamaina
3f17bfbd26 Improve post form attaches; Fix #4673, Resolve #2327, Resolve #2145 [v11] (#4674)
* improve post form attaches

* Fix

* chain

* 右クリックでも反応するように
2019-04-14 17:12:04 +09:00
syuilo
f669491aa6 Fix bug 2019-04-14 11:58:10 +09:00
syuilo
9c990842ee Fix bug 2019-04-13 20:02:31 +09:00
syuilo
41a6eba595 Fix bug 2019-04-13 17:26:38 +09:00
syuilo
2a40ba8f92 Clean packed responses 2019-04-13 15:02:15 +09:00
syuilo
83b4d01135 Clean packed responses 2019-04-13 14:55:59 +09:00
syuilo
8d94a6a8df strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +09:00
syuilo
9a616d9864 Fix bug 2019-04-12 14:24:56 +09:00
syuilo
c6c84b6dbf トランザクションを使うようにしたり 2019-04-12 01:52:25 +09:00
syuilo
610f1cec45 トランザクションを使用してアンケートレコードの挿入に失敗した場合に投稿レコードの挿入もなかったことにするように 2019-04-12 01:30:10 +09:00
syuilo
d5de3c682a Fix bug 2019-04-12 01:03:40 +09:00
syuilo
c5df8bbda0 Clean up 2019-04-12 01:01:25 +09:00
syuilo
e7b51e500b 非正規化カラムを削除
非正規化するほどの情報じゃない
2019-04-12 00:42:39 +09:00
syuilo
f72ab9da11 Increase url column length 2019-04-11 19:03:49 +09:00
syuilo
e1a308a863 Fix bug 2019-04-11 12:59:09 +09:00
syuilo
df280d8e19 Clean up 2019-04-10 20:07:36 +09:00
syuilo
6cca1e19e6 Fix bug 2019-04-10 18:10:09 +09:00
syuilo
16965eb4a1 テーブル分割 2019-04-10 15:04:27 +09:00
syuilo
b22f9412fa More puny 2019-04-10 00:59:41 +09:00
syuilo
a3549f1c9f ドメインは常にPunycodeで保存するように 2019-04-09 23:59:32 +09:00
syuilo
54667224c5 isRemote --> isLink 2019-04-09 23:07:08 +09:00
syuilo
e17244a27b Fix bug 2019-04-09 20:47:31 +09:00
syuilo
cdf3d52f61 Fix bug 2019-04-09 18:36:43 +09:00
syuilo
fcf4cf2597 Update user.ts 2019-04-09 12:36:01 +09:00
syuilo
b503708ece Update note.ts 2019-04-09 12:25:19 +09:00
syuilo
f052760c69 Fix bug 2019-04-09 01:31:48 +09:00
syuilo
1d16c44b1b update token generation 2019-04-08 20:29:52 +09:00
syuilo
804210c5e9 Fix bug 2019-04-08 17:04:37 +09:00
syuilo
06a0b0f63f Fix bug 2019-04-08 16:49:05 +09:00
syuilo
4e60ec814b Fix bug 2019-04-08 03:35:02 +09:00
syuilo
a40cf94b4d Fix bug 2019-04-08 00:24:01 +09:00
syuilo
2b8602bd1b 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
MeiMei
041fe51ea4 Fix: リアクションのカスタム絵文字の情報がNoteに添付されない (#4574) 2019-03-26 22:22:39 +09:00
MeiMei
e389529bee Fix #4546 (#4548)
* Refactor download

* emoji type
2019-03-21 04:50:44 +09:00
MeiMei
2efb187466 Fix NoteReaction (#4547) 2019-03-20 21:39:02 +09:00
syuilo
f47bc6bced Revert "Remove deepcopy dependency"
This reverts commit cbf5663179c60abb6d9f1a612027065432500643.
2019-03-19 18:47:14 +09:00
syuilo
6e04b563dd Remove deepcopy dependency 2019-03-19 17:59:44 +09:00
syuilo
5349a3ea42 Remove unused import 2019-03-18 02:21:29 +09:00
syuilo
ca07477b75 不明なリアクションのフォールバックに star を使うようにするオプション 2019-03-18 01:03:35 +09:00
MeiMei
08144dfce4 Custom reaction (#4517)
* Custom reaction

* increase limit of reactions/delete

* リアクションの場合は OS標準の絵文字を使用 を迂回する

* カスタムリアクションを無効にする設定

* fix

* disableCustomReaction --> enableEmojiReaction

* Avoid MFM rendering

* 🎨

* 🎨

* Auto accept

* custom emoji reaction

* Improve usability

* Extract emojiRegex

* Fix

* Clean up

* 🎨

* 🎨

* toDbReaction で reaction は必須に

あとフォールバックは like に

* Clean up

* Make required

* 3eb08748fe (r266241728)

* Refactor

* Allow null
2019-03-18 00:03:57 +09:00
syuilo
4fcc912614 Resolve #4501 2019-03-15 13:51:23 +09:00
MeiMei
f01e0b5cd4 Accept Article object (#4499) 2019-03-15 00:23:24 +09:00
syuilo
16dea09fb6 Faviconを可変にするなど 2019-03-14 16:30:51 +09:00
syuilo
b3dd501089 Add index 2019-03-08 20:36:42 +09:00
MeiMei
a5581fda78 Implement Update Question (#4435)
* Update remote votes count

* save updatedAt

* deliver Update

* use renderNote

* use id

* fix typeof
2019-03-07 21:19:32 +09:00
syuilo
4e23792d02 Add fallback for broken db 2019-03-06 23:23:50 +09:00
Acid Chicken (硫酸鶏)
7ff7530f2e Enhance poll (#4409)
* Start working

* WIP: Enhance poll

* Fix bug

* Use `name` in voting note
refs: https://github.com/syuilo/misskey/issues/4407#issuecomment-469057296

* Fix style

* Refactor
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>

* WIP: Update poll editor

* Fix bug

* Fix bug
refs: https://github.com/syuilo/misskey/pull/4409#discussion_r

* Fix typo

* Better design

* Beautify poll editor

* Fix UI

* Fix bug
refs: https://github.com/syuilo/misskey/pull/4409#discussion_r262217524

* Add debug logging

* Fix bug

* Log deliver

* fix vote

* Update ap/show
refs: https://github.com/syuilo/misskey/pull/4409#issuecomment-469652386

* Update poll view

* Maybe done

* Add tests

* Fix path

* Fix test

* Fix test

* Fix test

* Fix expired check on AP

* Update note.ts

* Squashed commit of the following:

commit d9a4beabf851893b8992a0f4568265eb9d4f0b8e
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 05:16:14 2019 +0900

    tune

commit 83ff421a6e978243f80ba9ec820189bc897e6e3b
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 05:01:14 2019 +0900

    fallback

commit 0b566af973b115ade9e75ea4b8094ee2b329dabc
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 04:40:12 2019 +0900

    Note

commit cc0296dd6127580ac584c40398db3f762a311f8b
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 04:33:58 2019 +0900

    createで送る

* Squashed commit of the following:

commit ae696b1ed12568b27c27367ac5a77035c97c9a1f
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 06:11:17 2019 +0900

    fix

commit b735e354e7a9e64534c4f17d04ecbc65fb735c21
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 06:08:33 2019 +0900

    messge

commit d9a4beabf851893b8992a0f4568265eb9d4f0b8e
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 05:16:14 2019 +0900

    tune

commit 83ff421a6e978243f80ba9ec820189bc897e6e3b
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 05:01:14 2019 +0900

    fallback

commit 0b566af973b115ade9e75ea4b8094ee2b329dabc
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 04:40:12 2019 +0900

    Note

commit cc0296dd6127580ac584c40398db3f762a311f8b
Author: mei23 <m@m544.net>
Date:   Wed Mar 6 04:33:58 2019 +0900

    createで送る

* Fix typo

* Update vote.ts

* Update vote.ts

* Update poll-editor.vue

* Update tslint.json

* Fix layout

* Add note

* Fix bug

* Rename text key

* 投票するときに投稿として扱わないように (#4425)

* wip

* 形式をMastodonと合わせた

* Bye something

* Use - instead of ~

* Redundancy

* Yes!

* Refactor

* Use moment instead of Date

* Fix indent

* Refactor

if (votes.length)
は必要なさそう

* Clean up

* Bye Date

* Clean

* Fix timer is not displayed

* Fix リモートから無期限pollにvoteできない

* Fix vote actor
2019-03-06 22:55:47 +09:00
syuilo
e3069741e8 Add indexes 2019-03-04 19:26:05 +09:00
syuilo
3d277fe4a0 ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo
fce12f9258 Improve doc 2019-02-25 03:21:54 +09:00
syuilo
0e5c9df3f5 Use camelCase 2019-02-24 12:53:22 +09:00
Acid Chicken (硫酸鶏)
ab56f91c40 Fix bool-param-default 2019-02-23 17:21:59 +09:00
syuilo
86ecc2d0ff Resolve #2017 2019-02-21 01:30:21 +09:00
syuilo
8e164abb97 みつけるの人気のタグを第2ソートで連合含めたユーザー数にしたりユーザーのタグ以外は除外するように 2019-02-18 11:47:25 +09:00
syuilo
0701d0ceea ハッシュタグでユーザー検索できるように (#4298)
* ハッシュタグでユーザー検索できるように

* 🎨

* Increase limit

* リモートユーザーも表示

* Fix bug

* Fix bug

* Improve performance
2019-02-17 23:41:47 +09:00
Acid Chicken (硫酸鶏)
b80c3525a1 Use Record<string, number> instead of any (#4293) 2019-02-17 19:38:46 +09:00