Commit Graph

165 Commits

Author SHA1 Message Date
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
syuilo
f664cf09c0 Update cafy to 8.0.0 🚀 2018-05-02 18:06:16 +09:00
syuilo
0f27b62924 Update dependencies 🚀 2018-04-27 19:12:15 +09:00
syuilo
32da569ef6 #1029 2018-04-26 20:30:49 +09:00
syuilo
7ea42af0ba wip 2018-04-25 22:37:08 +09:00
syuilo
c2e053a208 wip 2018-04-25 19:53:16 +09:00
syuilo
3d9ac6387e wip 2018-04-25 18:04:16 +09:00
syuilo
1ba5dfd79c wip 2018-04-25 06:34:50 +09:00
syuilo
1a13c7e0b1 wip 2018-04-24 23:34:18 +09:00
syuilo
e14ea1fe61 wip 2018-04-24 20:58:29 +09:00
syuilo
7602e8f938 cafy 5.xに移行 2018-04-24 18:13:06 +09:00
syuilo
0d5bc3be66 ストーキング実装
Closes #1511
2018-04-19 12:43:25 +09:00
syuilo
ea9c4de45b Fix #1510 2018-04-18 18:46:38 +09:00
syuilo
d81c20f163 hostLowerは廃止してhostにlowerしたものを入れるように 2018-04-14 14:39:07 +09:00
syuilo
bcc5449e47 リモートユーザーはおすすめユーザーに含めないように 2018-04-14 14:22:58 +09:00
syuilo
534ef9e999 Fix bug 2018-04-11 17:42:56 +09:00
syuilo
6d49edc0ab ✌️ 2018-04-08 15:25:17 +09:00
syuilo
5ddb047794 Fix bugs 2018-04-08 05:02:50 +09:00
syuilo
a02ee3a08b Some bug fixes 2018-04-08 03:58:11 +09:00
syuilo
a1b490afa7 Post --> Note
Closes #1411
2018-04-08 02:30:37 +09:00