Commit graph

184 commits

Author SHA1 Message Date
syuilo
fda8cf77ed
Improve warp 2019-04-18 22:00:11 +09:00
syuilo
fc66231f8e
Fix #4701 2019-04-15 23:29:26 +09:00
syuilo
075af96338
Fix error 2019-04-15 12:54:42 +09:00
syuilo
ae16b45c11
Fix bug 2019-04-13 16:54:21 +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
236d72685d
More puny 2019-04-10 00:59:41 +09:00
syuilo
6c9d80d4e8
Fix bug 2019-04-08 16:39:02 +09:00
syuilo
d9780606b3
Refactor 2019-04-07 23:06:07 +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
MeiMei
ee29ab95be Fix users/search (#4505) 2019-03-15 22:22:59 +09:00
syuilo
dfabdef60f
Resolve #4501 2019-03-15 13:51:23 +09:00
syuilo
e47c354916
Refactor 2019-03-11 19:57:50 +09:00
syuilo
60c9a6528f
Improve doc 2019-02-25 04:18:09 +09:00
syuilo
495aad6a2d
Improve doc 2019-02-25 03:35:45 +09:00
syuilo
b67f3438e9
Improve doc 2019-02-24 19:42:26 +09:00
syuilo
f4ae939124
ハイフンに統一 2019-02-24 17:57:49 +09:00
syuilo
52774bbe64
Introduce OpenAPI specs (#4351)
* wip

* wip

* wip

* Update index.ts

* Update gen-openapi-spec.ts

* Update api.ja-JP.md

* Fix

* Improve doc

* Update gen-openapi-spec.ts

* Update redoc.html

* Improve doc

* Update gen-openapi-spec.ts

* Improve doc

* Update CHANGELOG.md
2019-02-23 11:20:58 +09:00
syuilo
813c52f51e
Remove unused imports 2019-02-22 14:06:17 +09:00
syuilo
be3298639d
Refactor 2019-02-22 14:02:56 +09:00
syuilo
2756f553c6
Improve error handling of API (#4345)
* wip

* wip

* wip

* Update attached_notes.ts

* wip

* Refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update call.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* ✌️

* Fix
2019-02-22 11:46:58 +09:00
syuilo
88dc4c83cb
Improve UI 2019-02-16 10:58:44 +09:00
MeiMei
04553de230 Fix #4276 (#4278) 2019-02-15 23:43:49 +09:00
syuilo
5aa58da918
Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
MeiMei
f3ce8564ea よく話すユーザーからサスペンドされたユーザーを隠すなど (#4228)
* Resolve #4226

* fix

* Fix: anonymousでアクセスするとサスペンドユーザーが隠れない

* fix
2019-02-12 17:19:15 +09:00
syuilo
5448c22031
Revert 96bc17aa10 2019-02-07 21:02:33 +09:00
Aya Morisawa
96bc17aa10 Check config on load (#4170)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-02-06 22:44:55 +09:00
syuilo
8129d4dc23
Refactoring 2019-02-05 14:14:23 +09:00
Acid Chicken (硫酸鶏)
bcc549fd8e
Fix style 2019-02-05 11:48:08 +09:00
Acid Chicken (硫酸鶏)
ceda3dd72a
Create new type definition for 'escape-regexp' (#4058) 2019-02-03 22:21:47 +09:00
syuilo
0868c3517f
Use internal logger instead of debug/console for logging
Resolve #4104
Resolve #1966
Resolve #1937
2019-02-03 18:16:57 +09:00
Acid Chicken (硫酸鶏)
da1a238be3 Create new type definition for 'ms' (#4057)
* Create new type definition for 'ms'

* Follow lint
2019-02-02 00:16:27 +09:00
MeiMei
c7ebf6f990 Hide suspended users (#4075) 2019-02-01 09:57:51 +09:00
MeiMei
b8a7468c4a Do not import as pack from AP renderer (#4048)
* Do not import as pack from AP renderer

* rename
2019-01-31 02:29:35 +09:00
syuilo
d906d90010
[Server] Introduce admin stream channel 2019-01-27 14:55:02 +09:00
syuilo
4339f9af29
[Server] Fix #3947 2019-01-21 21:51:58 +09:00
syuilo
c93fe423ea
[API] Fix bug 2019-01-21 21:01:04 +09:00
syuilo
048b9c295e
スパム報告機能
Resolve #1970
2019-01-19 19:16:48 +09:00
MeiMei
dd77a6194e Hide NSFW in Photos (#3875) 2019-01-11 08:10:39 +09:00
MeiMei
04e1e48f17 Hide invisible notes from timeline (#3852) 2019-01-08 21:02:00 +09:00
MeiMei
5174e16f7b Feature to show only my posts in the user page (#3753)
* Fix #3681

* Feature to show only my posts in the user page
2018-12-26 23:11:50 +09:00
syuilo
b545be5799
Fix wrong comment 2018-12-20 02:47:24 +09:00
syuilo
e88ce1746d
リスト関連の操作を強化
Resolve #2069
Resolve #2051
Resolve #2807
Resolve #3647
2018-12-19 07:22:01 +09:00
Acid Chicken (硫酸鶏)
3bcb344ecb Re: #3457 (#3614)
* Update parser.ts

* Update user.ts

* Update search.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update mfm.ts

* Update parser.ts

* Merge branch 'develop' into 3440-mk2

* Fix typo

* Update parser.ts

* Update mfm.ts

* Update mfm.ts
2018-12-17 19:11:38 +09:00
Aya Morisawa
125849673a
Use for-of instead of forEach (#3583)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2018-12-11 20:36:55 +09:00
syuilo
10f466c895
Improve performance 2018-12-02 06:44:18 +09:00
MeiMei
20335e23f9 Resolve external recommended users (#3462)
* Resolve external recommended users

* Skip unresolvable users

* Fix indent

* Use original for unresolvable users
2018-12-02 03:42:45 +09:00
Acid Chicken (硫酸鶏)
53c559c001 Allow hyphens in the middle of remote usernames (#3440)
* Allow hyphens in the middle of remote usernames

refs: d797c29db462de4a3d69a5077a1ae4d03195b6f2

* Make options fallback better

* Make options flat
2018-12-01 07:19:17 +09:00
Aya Morisawa
9ef641b403
Remove consecutive blank line 2018-11-30 23:07:21 +09:00
syuilo
8ca27a4480
Fix #3432 2018-11-30 00:13:13 +09:00
syuilo
de2b0224d6
Resolve #3158 2018-11-24 07:04:29 +09:00
syuilo
246cead2b1
Improve user operations
Resolve #2197
Resolve #3367
2018-11-23 08:01:14 +09:00
Hakaba Hitoyo
ac14adfd3e Feature / user recommendation config in admin ui (#3357)
* add config for external user recommendation into admin ui

* debug

* correct admin ui

* switch external user recommendation to admin ui config

* debug

* debug

* debug

* Revert "debug"

This reverts commit f4a0460e5bde21cd1f39a735f496a2d74233ef3f.

* explicit parseInt radix

* add Japanese message

* change default engine to https

* remove unused settings

* debug

* nullable externalUserRecommendationTimeout
2018-11-21 23:44:59 +09:00
MeiMei
4ca0a22bfc Fix: default order of users/notes (#3234) 2018-11-14 20:18:47 +09:00
MeiMei
81805b01cc sort user timeline by date (#3210) 2018-11-13 01:17:59 +09:00
syuilo
15a2881083
[API] Fix #3203 2018-11-11 18:26:09 +09:00
syuilo
2de48110bb
ghostの設定をDBに保存するように 2018-11-07 00:44:56 +09:00
syuilo
a515c1f53e
Improve API documentation 2018-11-03 22:49:36 +09:00
syuilo
174f8022eb
Refactor 2018-11-02 13:47:44 +09:00
syuilo
a7e6b766be
Resolve #2623 2018-11-02 12:49:08 +09:00
syuilo
931bdc6aac
Refactoring, Clean up and bug fixes 2018-11-02 03:32:24 +09:00
syuilo
3829fe128a
Update src/server/api/endpoints/users/relation.ts 2018-11-01 00:11:52 +09:00
syuilo
649177985d
[API] Implement users/relation 2018-11-01 00:11:21 +09:00
syuilo
de569147a5
Fix #3041 2018-10-31 17:56:21 +09:00
MeiMei
441ab2b5f8 Fix: can't recognize rebirthed instance user (#3046)
* resync uri from WebFinger

* trigger resync on user page

* allways update on resync

* Revert "trigger resync on user page"

This reverts commit 8ff139fb49ee61ad55e4b42c562f8a2c3f8098ac.

* background resync
2018-10-31 02:16:13 +09:00
syuilo
108dcb3e61
物理削除系の処理を削除
これらの処理はパフォーマンス的に現実的でないし、すべてのモデルの関係を把握している必要があり保守が困難
論理削除でなんとかする
2018-10-29 21:06:23 +09:00
syuilo
5b1cd3bd3c
Fix bug 2018-10-26 08:36:50 +09:00
syuilo
8533663b26
✌️ 2018-10-19 09:20:11 +09:00
syuilo
2b0a919fb5
Resolve #2894 2018-10-13 13:13:15 +09:00
MeiMei
168c773ba0 Fix user recommendation query (last activity) (#2892) 2018-10-12 13:48:26 +09:00
MeiMei
1a689f6641 削除された投稿はタイムライン上で表示しないようにする (#2887)
* Excepts deleted notes on query

* Hide deleted notes

* Use v-show
2018-10-12 05:10:40 +09:00
mei23
890dc05022 lint fix 2018-10-10 02:08:26 +09:00
mei23
375f86ec82 Fix users recommendation query 2018-10-10 02:04:16 +09:00
Hakaba Hitoyo
2b7782ba03 replace var by const 2018-10-06 17:38:57 +09:00
Hakaba Hitoyo
96d961ee80 better readable code 2018-10-06 17:23:32 +09:00
Hakaba Hitoyo
9f064d76d9 better readable code 2018-10-06 17:21:27 +09:00
Hakaba Hitoyo
2e39106c4b better config handling 2018-10-06 17:19:41 +09:00
Hakaba Hitoyo
04650464f3 debug 2018-10-06 16:34:52 +09:00
Hakaba Hitoyo
7019ddbfc7 external user recommendation 2018-10-06 16:03:18 +09:00
syuilo
baad11288a
ドキュメントが見つからなくてもエラーにせずnullを返すように 2018-10-04 00:39:11 +09:00
syuilo
b4a30e2a25
Refactor: remove needless await 2018-09-13 02:07:03 +09:00
Aya Morisawa
395cfa6108 Resolve #2625 (#2627) 2018-09-06 02:16:08 +09:00
syuilo
b5ff2abdb9
互換性のためのコードを追加 & #2623 2018-09-05 23:55:51 +09:00
syuilo
a1b82e9723 #2620 2018-09-05 19:32:46 +09:00
Aya Morisawa
3136c714bf Fix users/list/update API (#2590) 2018-09-02 19:03:00 +09:00
Aya Morisawa
c0ee134f19 Add users/lists/delete API (#2589) 2018-09-02 18:59:42 +09:00
Aya Morisawa
b00060c09c
Clean up 2018-09-02 17:44:49 +09:00
Marihachi
f6217d96d2 add an endpoint users/lists/update (#2585)
* add an endpoint users/lists/update

* add meta params

* fix packing
2018-09-02 11:25:32 +09:00
syuilo
2de8e8c358 Fix bug 2018-08-29 06:59:43 +09:00
syuilo
e5c350d740
Fix bug 2018-08-16 23:33:11 +09:00
syuilo
5f208a7d99 ユーザー検索APIを統合 2018-08-06 18:28:27 +09:00
syuilo
49bc00102b Fix bug 2018-07-21 08:54:41 +09:00
syuilo
9536d76b61 Improve 賢さ 2018-07-20 04:59:04 +09:00
syuilo
4cb51a2d32 Fix bugs 2018-07-18 07:34:17 +09:00
syuilo
16726789da Update api definitions 2018-07-17 04:36:44 +09:00
syuilo
aa4ef6745a Refactorng 2018-07-07 19:19:00 +09:00
syuilo
9b41023c43 wip 2018-07-06 02:58:29 +09:00
syuilo
11439afde7 wip 2018-07-05 23:36:07 +09:00
syuilo
80e5645a84 wip 2018-06-18 09:54:53 +09:00
syuilo
d692bb3c52 Improve user search 2018-06-17 16:40:18 +09:00
syuilo
35115607bc wip 2018-06-01 00:42:37 +09:00