Commit graph

49 commits

Author SHA1 Message Date
syuilo
b22f9412fa More puny 2019-04-10 00:59:41 +09:00
syuilo
2b8602bd1b Use PostgreSQL instead of MongoDB ()
* 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 ()

* 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 () ()

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



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

* Fix bug

* Fix bug

* Update reversi-game.ts

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

* wip

* wip

* ✌️

* Refactoring



* test

* test

* test

* test

* test

* test

* test

* Fix bug

* Fix test

* 🍣

* wip

* 

* Add test for 

* Refactor

* Fix test

* Add tests

* 🕓

* Fix bug

* Add test

* Add test

* rename

* Fix bug
2019-04-07 21:50:36 +09:00
MeiMei
f01e0b5cd4 Accept Article object () 2019-03-15 00:23:24 +09:00
MeiMei
1f1d4157db Fix () 2019-03-13 11:21:16 +09:00
syuilo
e628128987 Add type annotation to avoid type error 2019-03-12 23:31:18 +09:00
MeiMei
0ec2e92ea6 Ignore 4xx references in AP ()
* Ignore 4xx references

* remove unnecessary comment
2019-03-10 22:27:25 +09:00
MeiMei
a5581fda78 Implement Update Question ()
* Update remote votes count

* save updatedAt

* deliver Update

* use renderNote

* use id

* fix typeof
2019-03-07 21:19:32 +09:00
Acid Chicken (硫酸鶏)
7ff7530f2e Enhance poll ()
* 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

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

* 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
7e7a9e692a Better log 2019-03-04 14:02:42 +09:00
MeiMei
ef73ff91e8 Limit the parallelism of AP object processing () 2019-02-09 13:01:21 +09:00
syuilo
210cf78606 Better logging 2019-02-03 16:45:13 +09:00
MeiMei
163d2df637 send/receive user hashtags via AP () 2019-01-31 20:42:45 +09:00
Aya Morisawa
d034a10d54 Avoid export default 2019-01-30 16:56:27 +09:00
Aya Morisawa
277db03f0d Rename html-to-mfm to fromHtml 2019-01-30 15:00:05 +09:00
MeiMei
6e36c4a401 リモートで投票を見たりしたりできるように ()
* fix type

* expose Question

* Note refs Question

* rename

* wip

* リモート投票の場合リプライ送信

* voteの実装をservicesに移動

* 投票受信

* debug

* つくる

* Revert "つくる"

This reverts commit 0c9245886680b7d3b93a0278642f4cf6a43b5cb2.

* APIの実装はもどし

* Send Update

* AP type

* Recv Update

* Revert "Recv Update"

This reverts commit ffda39c0936d8e023f64603edabeb8e0eb9fc370.

* Revert "AP type"

This reverts commit 63d8bbe29dd6f326773214346350607cc4381996.

* Revert "Send Update"

This reverts commit 171b046de549f1478e928dee3177eeefab341fcf.

* リモートで投票を見る

* 投票はDM

* Provides choices as text for AP

* 絵文字

* fix error

* revert

* APからには不要な処理を削除

* Revert "APからには不要な処理を削除"

This reverts commit 8b5d8af9b0cc4d4ad0cf21de59827ff21df99560.

* てぬき

* めんどい

* ちっ

* remove unused code
2019-01-21 13:27:19 +09:00
MeiMei
00914ade44 Update remote Emoji () 2018-12-19 21:19:43 +09:00
MeiMei
2bf3f7ab87 Emoji support in profile ()
* Emoji in profile

* Add emojis to fields
2018-12-06 10:02:04 +09:00
MeiMei
2b824f7169 No MFM parsing when remote note ()
* Use tag for hashtag detection of remote note

* No MFM parsing when remote note
2018-12-02 18:05:33 +09:00
MeiMei
3d1afb9306 AP CW () 2018-12-01 07:15:10 +09:00
syuilo
38a9438ef5 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2018-11-23 08:01:29 +09:00
syuilo
283f792c32 Improve user operations
Resolve 
Resolve 
2018-11-23 08:01:14 +09:00
MeiMei
bb4d0fb6e7 AP quote () 2018-11-23 02:10:07 +09:00
MeiMei
d94d32dad9 local only visibility ()
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
Aya Morisawa
0611c8a8b2 Rename: setDifference -> difference ()
* Improve setDifference

* Rename: setDifference -> difference
2018-11-09 14:14:53 +09:00
Aya Morisawa
58d1e65e33 Fix () 2018-11-09 11:01:55 +09:00
MeiMei
98707f51ec On remote notes, not use content for detecting mentions ()
* On remote note, detect mentioned users from to/cc

* fix
2018-11-09 08:44:19 +09:00
MeiMei
a22f657c0f Remote custom emojis ()
* Remote custom emojis

* んほおおおおお
2018-11-02 08:59:40 +09:00
MeiMei
43a5595d54 リモートのピン留め投稿取得対応 ()
* Fetch featured

* Handle featured change

* Fix typo
2018-10-02 16:27:36 +09:00
syuilo
4c1ceaaae1 Resolve 2018-09-10 02:47:34 +09:00
syuilo
cbb3644063 2018-09-05 19:32:46 +09:00
mei23
aff4ab9576 ActivityPub resolve で 添付のNoteを使用しないように 2018-08-25 06:50:35 +09:00
mei23
a135dad7b5 Fix リモートにNSFWが効かない 2018-08-19 18:08:29 +09:00
mei23
6837574f55 Fix ActivityPub followers/specified detection 2018-08-12 20:37:35 +09:00
syuilo
899b69c2a9 リモートユーザーのHTMLで表現されたプロフィールをMFMに変換するように 2018-06-21 01:21:57 +09:00
syuilo
b094260f3c yatta 2018-06-18 14:28:43 +09:00
rinsuki
293ac35f14 maybe Support CW in ActivityPub 2018-06-17 14:11:31 +09:00
syuilo
17e53d2ebf Fix 2018-05-08 07:03:06 +09:00
syuilo
e087c7032c Fix 2018-05-07 17:45:21 +09:00
syuilo
54b46c5d00 Better text parsing 2018-05-07 17:19:00 +09:00
syuilo
d1fd3adcc9 oops 2018-05-07 17:15:20 +09:00
syuilo
cab573c288 2018-05-07 02:54:14 +09:00
syuilo
5aefaa1246 wip 2018-04-29 04:44:58 +09:00
syuilo
1d38c0c326 wip 2018-04-28 17:25:56 +09:00
syuilo
9982d13930 Implement suspend account 2018-04-19 18:54:34 +09:00
syuilo
8ba13e2c04 Fix bug 2018-04-19 09:17:42 +09:00
syuilo
cee5313ed2 Fix 2018-04-18 14:48:40 +09:00
syuilo
6d83f02979 Fix bug 2018-04-17 22:20:25 +09:00
syuilo
c2207d78ff Fix bug 2018-04-17 16:06:55 +09:00
syuilo
ef21993199 Refactor 2018-04-17 16:05:50 +09:00
Renamed from src/remote/activitypub/objects/note.ts (Browse further)