Commit graph

52 commits

Author SHA1 Message Date
syuilo
987168b863
strictNullChecks (#4666)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-13 01:43:22 +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
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
Acid Chicken (硫酸鶏)
4b6c113251
Add prelude function for URL Query (#4135)
* Update string.ts

* Refactor

* Update string.ts

* Update wrap-url.ts

* Update string.ts

* Update get-static-image-url.ts

* Use querystring.stringify

* Update outbox.ts

* Back to the urlQuery

* Update followers.ts

* Update following.ts

* Update outbox.ts

* Update string.ts

* Update get-static-image-url.ts

* Update string.ts

* Update string.ts

* Separate prelude files
2019-02-13 23:45:35 +09:00
syuilo
5aa58da918
Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
Acid Chicken (硫酸鶏)
bcc549fd8e
Fix style 2019-02-05 11:48:08 +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
MeiMei
ffb80efe21 Return 404 for invalid Object ID (#3627)
* Update activitypub.ts

* Update activitypub.ts

* Update featured.ts

* Update followers.ts

* Update following.ts

* Update outbox.ts

* Fix following, outbox
2018-12-16 01:44:59 +09:00
MeiMei
bceb02d760 local only visibility (#3254)
* local only visibility

* fix UI
2018-11-16 05:47:29 +09:00
syuilo
931bdc6aac
Refactoring, Clean up and bug fixes 2018-11-02 03:32:24 +09:00
MeiMei
8414db57f0 Specify AP Cache-Control (#2735) 2018-09-19 07:17:19 +09:00
MeiMei
11496d887e Publish pinned notes (#2731) 2018-09-18 13:08:27 +09:00
MeiMei
ea4e2da58d Fix AP Announce detection (#2672) 2018-09-09 02:59:14 +09:00
MeiMei
ef62497777 ActivityPub Outboxの修正とactivity idのURLを実装 (#2662)
* Fix Outbox structure

* Implement activity endpoint

* Use in instead of or

* Use in, addition
2018-09-08 05:24:55 +09:00
Aya Morisawa
395cfa6108 Resolve #2625 (#2627) 2018-09-06 02:16:08 +09:00
syuilo
a1b82e9723 #2620 2018-09-05 19:32:46 +09:00
mei23
b42a9e1c4e Set ActivityPub Content-Type 2018-08-21 13:48:03 +09:00
mei23
4495525705 Respect visibility in ActivityPub Note/Outbox 2018-08-21 13:22:30 +09:00
syuilo
4a9fc0c8ed Better query 2018-08-15 02:08:18 +09:00
mei23
0986301788 Implement ActivityPub Followers/Following/Outbox 2018-08-14 20:13:32 +09:00
syuilo
a3bd4ba426 wip 2018-04-13 00:51:55 +09:00
syuilo
5fb08b0ba1 Check whether is local user 2018-04-08 15:51:32 +09:00
syuilo
e63f884bc6 Use id in uri instead of username 2018-04-08 15:15:22 +09:00
syuilo
6e34e77372 Implement announce
And bug fixes
2018-04-08 06:55:26 +09:00
syuilo
a1b490afa7 Post --> Note
Closes #1411
2018-04-08 02:30:37 +09:00
syuilo
f5c55d46b7 wip 2018-04-05 17:52:46 +09:00
syuilo
c2c03a1c65 wip 2018-04-05 03:21:11 +09:00
syuilo
e8b42d7e16 wip 2018-04-04 23:12:35 +09:00
syuilo
f8ebbfac0f Revert "Fix"
This reverts commit 8afdb5aef9.
2018-04-03 01:36:55 +09:00
syuilo
8afdb5aef9 Fix 2018-04-03 01:22:23 +09:00
Akihiko Odaki
69763ac32b Resolve account by signature in inbox 2018-04-02 18:36:47 +09:00
Akihiko Odaki
ce7efc4dbb Distribute posts from remote 2018-04-02 17:11:14 +09:00
Akihiko Odaki
aa94035987 Introduce acct directory 2018-04-02 13:44:32 +09:00
Akihiko Odaki
3fb6834f7d Introduce config module 2018-04-02 13:15:53 +09:00
Akihiko Odaki
5b9f3701f5 Abolish common and misc directories 2018-04-02 12:58:53 +09:00
syuilo
cd2542e0fd Refactor 2018-04-02 04:15:27 +09:00
syuilo
e8bde94e5b Refactor 2018-04-02 04:01:34 +09:00
syuilo
d166dbd01e
Merge pull request #1358 from akihikodaki/inbox
Make inbox signature verification compatible with Mastodon
2018-04-02 00:37:41 +09:00
Akihiko Odaki
111e5d569c Make inbox signature verification compatible with Mastodon 2018-04-02 00:36:36 +09:00
syuilo
f78ff27e93 Add missing semicolon 2018-04-01 22:24:44 +09:00
syuilo
8be069083d Fix type annotation 2018-04-01 22:09:25 +09:00
Akihiko Odaki
cba73d6bc1 Implement account public key endpoint 2018-04-01 20:07:04 +09:00
Akihiko Odaki
1f1417a0f7 Implement outbox 2018-04-01 19:21:59 +09:00
syuilo
0cb6fbea8c Refactor: Better variable name 2018-04-01 18:28:10 +09:00
syuilo
9a90d8a7b4 Fix type annotation 2018-04-01 18:20:17 +09:00
syuilo
2e8e5f68dd
Merge pull request #1352 from akihikodaki/inbox
Respond with 202 for inbox request
2018-04-01 18:17:36 +09:00
Akihiko Odaki
c83bb3b8ab Respond with 202 for inbox request 2018-04-01 18:16:47 +09:00
syuilo
5323ab8e8e
Merge pull request #1351 from akihikodaki/webfinger
Implement post Activity Streams
2018-04-01 18:15:35 +09:00
Akihiko Odaki
12a251c7d6 Implement post Activity Streams 2018-04-01 18:12:51 +09:00
syuilo
d36f5376e3 Fix 2018-04-01 16:46:33 +09:00