Commit graph

581 commits

Author SHA1 Message Date
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 8ff139fb49.

* background resync
2018-10-31 02:16:13 +09:00
syuilo 0d86eef3d7
Format 2018-10-29 21:38:09 +09:00
syuilo 108dcb3e61
物理削除系の処理を削除
これらの処理はパフォーマンス的に現実的でないし、すべてのモデルの関係を把握している必要があり保守が困難
論理削除でなんとかする
2018-10-29 21:06:23 +09:00
MeiMei d64dc45899 User blocking (Following part) (#3035)
* block wip

* UndoBlock

* UnBlock

* wip

* follow

* UI

* fix
2018-10-29 20:32:42 +09:00
syuilo b480ef669c
Fix doc 2018-10-29 19:11:01 +09:00
syuilo 83d168ece3
Fix API definition 2018-10-29 19:04:58 +09:00
syuilo ae44fe7818
Refactor 2018-10-29 15:09:03 +09:00
syuilo f8981b3acb
Update src/server/api/endpoints/notes/reactions.ts 2018-10-29 15:07:50 +09:00
syuilo e74c0df6c6
Fix #3034 2018-10-29 10:52:36 +09:00
syuilo ad7258fe9c
Fix bug 2018-10-26 15:06:27 +09:00
syuilo 02b47f963c
API: Better error response 2018-10-26 14:38:34 +09:00
syuilo 5b1cd3bd3c
Fix bug 2018-10-26 08:36:50 +09:00
syuilo 380f5a972c
Implement featured note API 2018-10-25 07:04:15 +09:00
syuilo fd652b70d6
Fix: Remove unused import 2018-10-25 05:33:40 +09:00
syuilo 9f981d875a
Implement drive/folders/delete 2018-10-24 18:37:58 +09:00
syuilo 6dcc3800e0
Improve some API definitions 2018-10-24 18:32:19 +09:00
syuilo 038bd100b2
Implement federation chart API 2018-10-24 06:34:04 +09:00
MeiMei daa22d68fa Make max allowed text length configurable (#2992)
* Make max allowed text length configurable

* Fix canPost
2018-10-24 04:00:04 +09:00
syuilo 19af2d7a7b
Implement #2983 2018-10-23 07:04:00 +09:00
syuilo 8ba87443ca
Use camelCase instead of snake_case 2018-10-23 07:01:43 +09:00
syuilo 162ace2fd6
Improve some API definitions 2018-10-23 06:59:52 +09:00
syuilo 7c7f32d9a6
Refactoring 2018-10-23 05:36:35 +09:00
syuilo 1af4f94338
Implement #2961 2018-10-22 22:00:54 +09:00
syuilo 13bad106cc
Implement some chart APIs 2018-10-22 17:37:55 +09:00
syuilo 3bebf82501
Implement #2980 2018-10-22 17:36:36 +09:00
syuilo e2a79abbe0
Doc: Better parameter description 2018-10-22 17:06:53 +09:00
syuilo 3aece449e4
Improve API definitions 2018-10-22 05:16:27 +09:00
MeiMei e95845777a Fix og:image on user page (#2972) 2018-10-22 02:27:45 +09:00
syuilo 6b0d48423d
Refactor 2018-10-21 15:08:07 +09:00
syuilo 1bf8cbeb29
Clean up 2018-10-21 14:15:02 +09:00
syuilo 969b6dbcad
Resolve #2963 2018-10-21 09:20:11 +09:00
syuilo ba0e57396d
Refactoring 2018-10-21 07:10:35 +09:00
syuilo c4e8cabae9
ファイル作成APIにforceオプションを実装 2018-10-20 15:50:13 +09:00
Dr. Gutfuck LLC 1729d05e8c Localized mark all as read message (#2956)
* Localized read-all message

* Fixed some weirdness:   src/client/app/init.ts

* Unfucked server api stuff (sorry lol):   src/server/api/endpoints/i/read_all_unread_notes.ts

* Clean up
2018-10-20 15:46:01 +09:00
syuilo 71c9964e19
Fix bug and clean up 2018-10-20 11:19:27 +09:00
syuilo 13f381710c
Validate param 2018-10-20 09:31:52 +09:00
syuilo 8533663b26
✌️ 2018-10-19 09:20:11 +09:00
syuilo 0a4015b8a2
Refactoring 2018-10-19 09:19:55 +09:00
syuilo fb5f6fdc10
未読の投稿をすべて既読にできるように 2018-10-19 06:36:59 +09:00
syuilo d2e0faa533
Disable secure cookie 2018-10-17 05:54:31 +09:00
syuilo 61f86dcb2b
Resolve #2923
Allow option to disable sending HSTS headers even if https:// is used in url
2018-10-17 04:15:41 +09:00
syuilo 9427a756c9
Update mongodb 2018-10-16 11:38:09 +09:00
syuilo 0162eaf826 Update signin.ts 2018-10-16 10:33:05 +09:00
MeiMei 072492c29b Implement /api/v1/instance/peers (#2913)
* Implement /api/v1/instance/peers

* Use punycode

* Remove Cache-Control

* Rename
2018-10-16 08:55:55 +09:00
syuilo 99da4f9839
Add some tests and some fixes 2018-10-16 08:54:36 +09:00
syuilo 80daf7c749
Implement API tests 2018-10-16 06:37:21 +09:00
Hakaba Hitoyo be82d845a4 expose user recommendation config in /api/meta (#2902) 2018-10-14 16:54:09 +09:00
syuilo 3961fd08c9
Fix #2901 2018-10-14 10:06:10 +09:00
syuilo 65e5cfa68e
Resolve #2853 2018-10-13 20:11:00 +09:00
syuilo 3aef5e6748
Better id 2018-10-13 19:16:47 +09:00