Commit Graph

261 Commits

Author SHA1 Message Date
Satsuki Yanagi 88f5e8e8e2 Bye moment from package.json (#5215)
* Bye moment from package.json

* Use Mapped types for argument type definition
2019-07-25 01:36:48 +09:00
Satsuki Yanagi c2c06694da Allow only one kind of date identifier at once (#5120) 2019-07-08 13:55:22 +09:00
tamaina 5343b005df Improve paste uploading Resolve #3023 (#4542)
* resolve #3023

* fix

* fix

* better description

* widget

* fix text

* Update post-form.vue

* Fix enter-file-name dialog title text

* Fix type

* On messaging room

* Replace moment.js to original one

* Fix formatDateTimeString
2019-07-08 13:46:31 +09:00
syuilo 10677b57d4
Update dependencies 🚀 2019-07-02 19:20:34 +09:00
syuilo d764316708
Simplify log domain 2019-07-01 03:25:31 +09:00
syuilo 952789cc1e
Use as const
#5089
2019-06-27 18:04:09 +09:00
syuilo bc83963ac7
English nyaize 2019-06-24 22:20:13 +09:00
syuilo bb4ca7b31a
Resolve #5010 2019-06-23 00:06:39 +09:00
syuilo 1331f0b953
Use WHATWG API
> New application code should use the WHATWG API.
2019-06-18 15:27:13 +09:00
syuilo 736fdabc1d
Fix #2637 2019-06-18 15:19:19 +09:00
syuilo 7096c0ca49
Add note 2019-06-18 14:04:41 +09:00
MeiMei ef7eaaabfa Support Unicode 12.0 Emoji (#5062) 2019-06-16 14:24:37 +09:00
syuilo 6d08909b2f
Refactor 2019-06-15 17:06:03 +09:00
syuilo 756e4eaeec
テキストのリスト内で変数埋め込みできるように 2019-05-10 16:08:01 +09:00
syuilo 7c714f5788
Improve MisskeyPages 2019-05-10 14:18:18 +09:00
syuilo b8d8097734
Fix bug 2019-05-05 20:36:09 +09:00
syuilo ca2949fbb4
MisskeyPagesにリストから選択関数を追加 2019-05-05 20:31:15 +09:00
syuilo 17b373ac07
✌️ 2019-05-05 20:16:05 +09:00
syuilo 7aa66f438f
Resolve #4853 2019-05-05 20:12:35 +09:00
MeiMei ff4f5fec1d meidg (#4835) 2019-05-05 09:29:15 +09:00
Satsuki Yanagi 5fb0a995dd 様々な修正 (#4859)
Typo, Redundant code, Syntax error の修正
2019-05-05 09:27:55 +09:00
syuilo 4b68abd963
割った余りを求める関数をMisskeyPagesに追加 2019-05-03 18:48:40 +09:00
syuilo 2d1f50303d
Improve MisskeyPages 2019-05-02 17:55:59 +09:00
syuilo e76e358d98
Fix bug 2019-05-01 19:50:52 +09:00
syuilo 76f37671b4
🎨 2019-05-01 19:45:05 +09:00
syuilo a9fc176c3c
Fix types 2019-05-01 19:31:34 +09:00
syuilo 8b13e3c327
Refactor 2019-05-01 19:20:47 +09:00
syuilo c3cd6ad2d2
Refactoring 2019-05-01 18:33:11 +09:00
syuilo 5aa5896b22
Cache meta 2019-04-24 08:11:19 +09:00
syuilo 0463c6bb0f
Refactor API (#4770)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update description.ts

* wip
2019-04-23 22:35:26 +09:00
MeiMei 0ba71c6a47 Fix #4752 (#4759) 2019-04-21 02:30:18 +09:00
MeiMei b186504718 Metaのアクセスでトランザクションを張るように (#4720)
* admin/instanceでmetaをキャッシュしないように

* Metaのアクセスにトランザクションをかける
2019-04-17 00:45:33 +09:00
syuilo 52e3bcfd29
Meta を二重にデータベースに保存できないように 2019-04-17 00:33:02 +09:00
syuilo 792ec23d7a
Use pureimage instead of canvas 2019-04-15 22:58:04 +09:00
syuilo 18bc4a49e8
ランダムにアバターを生成するように 2019-04-15 20:37:21 +09:00
syuilo e3b3f8fac1
Better error handling 2019-04-14 04:17:24 +09:00
syuilo f46f53b8a3
Refactor 2019-04-14 02:36:00 +09:00
syuilo a2fcae4383
Fix bug 2019-04-14 02:33:50 +09:00
syuilo f8e0f4f21f
Fix bug 2019-04-14 02:21:57 +09:00
syuilo d9cacdc86d
Update meid.ts 2019-04-14 01:47:46 +09:00
syuilo aa3d2deeaa
Add meid 2019-04-14 01:40:29 +09:00
syuilo e64912545a
Update id generation methods 2019-04-14 01:08:26 +09:00
syuilo 1181fcdceb
Fix bug 2019-04-13 18:58:29 +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 9603f3fa4f
Delete get-user-summary.ts 2019-04-10 14:58:45 +09:00
syuilo 33a9783ae5
ドメインは常にPunycodeで保存するように 2019-04-09 23:59:32 +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 7bebea087c Fix #4546 (#4548)
* Refactor download

* emoji type
2019-03-21 04:50:44 +09:00
syuilo da3447765b
Revert "Remove deepcopy dependency"
This reverts commit cbf5663179.
2019-03-19 18:47:14 +09:00
syuilo cbf5663179
Remove deepcopy dependency 2019-03-19 17:59:44 +09:00
MeiMei 763ae8f1a6 Change Twemoji CDN (#4527) 2019-03-18 22:02:45 +09:00
MeiMei c65256d02b Fix custom emoji validation (#4528) 2019-03-18 20:02:25 +09:00
MeiMei c2eec272e6 Content-Disposition in ObjectStrage (#4524)
* Content-Disposition in ObjectStrage

* encode filename
2019-03-18 15:23:45 +09:00
syuilo 08c176e549
不明なリアクションのフォールバックに star を使うようにするオプション 2019-03-18 01:03:35 +09:00
MeiMei 2684541693 Custom reaction (#4517)
* Custom reaction

* increase limit of reactions/delete

* リアクションの場合は OS標準の絵文字を使用 を迂回する

* カスタムリアクションを無効にする設定

* fix

* disableCustomReaction --> enableEmojiReaction

* Avoid MFM rendering

* 🎨

* 🎨

* Auto accept

* custom emoji reaction

* Improve usability

* Extract emojiRegex

* Fix

* Clean up

* 🎨

* 🎨

* toDbReaction で reaction は必須に

あとフォールバックは like に

* Clean up

* Make required

* 3eb08748fe (r266241728)

* Refactor

* Allow null
2019-03-18 00:03:57 +09:00
Acid Chicken (硫酸鶏) 38656103c0
Add angle bracket covered url syntax to mfm (#4483)
* Add angle bracket covered url syntax to mfm

* Fix path

* Fix match

* Fix index
2019-03-14 21:23:15 +09:00
MeiMei 69a0d9034f Fix #4486 (#4487) 2019-03-13 11:21:16 +09:00
syuilo 00a3fe39e8
Update dependencies 🚀 2019-03-13 09:19:48 +09:00
MeiMei 0a0aa0e2db Fix #4484 (#4485)
* Fix #4484

* import order
2019-03-12 23:38:11 +09:00
syuilo a7e60f80bd
Refactor: Extract downloadTextFile function 2019-03-11 20:23:29 +09:00
MeiMei d4ff19f013 Fix SVG detection (#4401)
* Fix SVG detection

* remove unnecessary import
2019-03-03 08:48:02 +09:00
syuilo 977af0a24d
ログをデータベースに保存して管理画面で見れるように 2019-03-02 18:51:59 +09:00
syuilo 563d604812
Refactor 2019-02-24 17:28:51 +09:00
syuilo 9b79a411e0
Use camelCase 2019-02-24 12:53:22 +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 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 893795a31d
Update some logs 2019-02-20 22:05:34 +09:00
Acid Chicken (硫酸鶏) 2776934728 Update is-objectid.ts (#4277)
* Update is-objectid.ts

* Update is-objectid.ts
2019-02-15 23:42:44 +09:00
syuilo 5aa58da918
Migrate cafy to 14.0 (#4240) 2019-02-13 16:33:07 +09:00
syuilo f35688bab8
Supress logs during test 2019-02-08 16:56:23 +09:00
syuilo 61dcd51888
Revert "Fix bug"
This reverts commit 2ef795aba8.
2019-02-07 21:02:57 +09:00
syuilo 2ef795aba8
Fix bug 2019-02-07 10:51:55 +09:00
syuilo 1d2c50fc26
デフォルトでログのタイムスタンプ非表示 2019-02-07 10:51:50 +09:00
Aya Morisawa b299988bb5 Simplify comment (#4164) 2019-02-06 13:52:32 +09:00
Acid Chicken (硫酸鶏) 9dd06a7621
/.well-known 周りをいい感じに (#4141)
* Enhance /.well-known and their friends

* Fix bug
2019-02-05 17:42:55 +09:00
syuilo 7d730f676d
Refactoring: Extract showMachineInfo function 2019-02-05 06:49:00 +09:00
syuilo d3c7129e1f
Refactoring: Extract checkMongoDB function 2019-02-05 06:43:36 +09:00
syuilo 861302f0fd
アニメーション画像を無効にする際、サーバーサイドではなくクライアントサイドでURLを変更するように 2019-02-05 03:51:54 +09:00
MeiMei f014b7ae0e アニメーションを自動再生しないオプション (#4131)
* Refactor

* settings

* Media Proxy

* Replace API response
2019-02-05 03:01:36 +09:00
syuilo 4982ea8f14
Add --verbose option 2019-02-04 12:14:07 +09:00
syuilo 3be89e9702
Better logging 2019-02-04 12:09:59 +09:00
syuilo 4275af2324
Make Logger#log method private 2019-02-04 11:51:23 +09:00
syuilo b4859be098
Improve log readability 2019-02-03 21:42:52 +09:00
syuilo edd1baa9f4
🎨 2019-02-03 20:23:53 +09:00
syuilo 4a23ebe534
Refactoring 2019-02-03 20:10:20 +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
syuilo 75558add17
Better logging 2019-02-03 16:45:13 +09:00
syuilo 0bd0fb9fbf
Include worker information for each logs 2019-02-03 13:51:24 +09:00
Acid Chicken (硫酸鶏) 2f215ea34c Use `is` syntax (#4079) 2019-02-03 04:31:03 +09:00
syuilo f53a93ea13
Better logger 2019-02-03 01:39:42 +09:00
syuilo a3e37294e5
Better logs 2019-02-03 01:33:34 +09:00
syuilo 05baa89508
Refactoring of logger 2019-02-03 01:24:59 +09:00
syuilo 80aa45372a
Better logger 2019-02-03 01:20:21 +09:00
syuilo a91f95451a
Fix logger 2019-02-03 01:07:14 +09:00
syuilo 52d6ec2138
Refatoring of logger 2019-02-03 01:01:40 +09:00
MeiMei 3040700005 Generate video thumbnails (#4084)
* Generate video thumbnails

* import order
2019-02-02 13:22:09 +09:00
MeiMei 9c106022ae Fix #3871 (#4082) 2019-02-01 21:37:34 +09:00
Aya Morisawa 4c9b66b0f0
Extract MFM types 2019-01-30 14:51:30 +09:00
syuilo e9ebc5151d
[Server] Fix bug: リモートユーザーのアイコンが消えることがある問題を修正 2019-01-21 11:23:32 +09:00
syuilo b4b6e9548d
Rename 2019-01-04 03:52:50 +09:00
ibrokemypie ebf9cd18c8 Make instance logo customisable (#3829) 2019-01-04 03:02:40 +09:00
Acid Chicken (硫酸鶏) 89ac15b4de
Fix typo
split は不規則動詞
2018-12-25 16:49:35 +09:00
Aya Morisawa e9f8897fe2
Refactor MFM
Co-authored-by: syuilo syuilotan@yahoo.co.jp
2018-12-20 19:42:10 +09:00
syuilo 454632d785
Resolve #3687 2018-12-20 04:08:13 +09:00
syuilo 710ba526fa
Better cw detection 2018-12-20 03:22:27 +09:00
Acid Chicken (硫酸鶏) c81a94ff75 Resolve #3676 (#3677) 2018-12-19 21:20:25 +09:00
syuilo 00f979f0e6
Fix bug 2018-12-19 11:16:29 +09:00
syuilo 65d943e42a
Fix #3646 2018-12-17 20:17:21 +09:00
syuilo 69f246ce7f
Fix bug 2018-12-11 21:17:57 +09:00
MeiMei 59a1b9adbe Trim notifications text (#3438)
* Trim notifications

* Remove needless colons

* Use single quote

* 🎨
2018-11-30 09:34:37 +09:00
MeiMei bcb04924ff Image for web publish (#3402)
* Image for Web

* Add comment

* Make main to original
2018-11-26 04:25:48 +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
Aya Morisawa ca0cb6fd42
Merge environmentInfo and machineInfo into index.ts (#3319) 2018-11-19 13:39:10 +09:00
Acid Chicken (硫酸鶏) 9d8f7b081d WIP: Add Discord auth (#3239)
* Add Discord auth

* Apply review 175263424
2018-11-15 19:15:04 +09:00
syuilo 25a69ec1b6
Refactoring of i18n (#3165)
Refactoring of i18n
2018-11-09 03:44:35 +09:00
syuilo d5408c429b
Fix bug 2018-11-07 20:59:40 +09:00
syuilo cb6f390fb6
GitHub / Twitter連携の設定をDBに保存するように 2018-11-07 13:14:52 +09:00
syuilo 001bb7bbcd
インスタンスの対象言語の設定を実装 2018-11-07 12:28:53 +09:00
syuilo 92dfcdad57
Fix #3141 2018-11-06 20:47:07 +09:00
syuilo 2a5c19cd01
リモートのファイルをキャッシュするかどうかの設定をDBに保存するように 2018-11-06 07:52:13 +09:00
syuilo 8f714b5b12
ドライブ容量の設定をDBに保存するようにしたりリファクタリングしたり 2018-11-06 07:14:43 +09:00
syuilo e9a3495225
Resolve #3132 2018-11-06 03:48:23 +09:00
Aya Morisawa 6c5a78aeb2 Fix #3133 (#3134) 2018-11-06 03:31:16 +09:00
syuilo 9f5dc2c0df
[WIP] Use FontAwesome Component for Vue (#3127)
* wip

* Rename

* Clean up

* Clean up

* wip

* wip

* Enable tree shaking

* ✌️

* ✌️

* wip

* wip

* Clean up
2018-11-06 01:40:11 +09:00
syuilo 931bdc6aac
Refactoring, Clean up and bug fixes 2018-11-02 03:32:24 +09:00
syuilo 1a51b98700
Refactor 2018-10-31 22:35:02 +09:00
syuilo e0d6f7c7c4
RP --> RN 2018-10-20 07:01:09 +09:00
syuilo 9427a756c9
Update mongodb 2018-10-16 11:38:09 +09:00
syuilo 7f5a69f4d8
Fix bug 2018-10-09 05:31:26 +09:00
syuilo cd7f8b080e
Fix #2738 2018-09-20 04:56:24 +09:00
syuilo 44f6fe6f1f
Refactor: Extract shouldMuteThisNote function 2018-09-17 23:07:15 +09:00
xps2 43b47c4494 fontawesomeを5.3.1にアップデート (#2718) 2018-09-17 03:02:58 +09:00
syuilo a1b82e9723 #2620 2018-09-05 19:32:46 +09:00
Aya Morisawa a4678e45de Not check dependencies 2018-09-02 08:02:10 +09:00
Aya Morisawa 291beb45fc
Use string interpolation 2018-09-01 23:12:51 +09:00
Aya Morisawa 08a59591ae
Use startsWith and endsWith for readability 2018-08-25 22:42:26 +09:00
syuilo d129151fdf Fix #2410
なぜか .ts という拡張子で来るのかは不明
2018-08-23 02:28:58 +09:00
syuilo 1b9c69f793 Fix bug 2018-08-23 01:55:39 +09:00
Aya Morisawa bde20a1a65 Use deque instead of linked list 2018-08-14 08:21:25 +09:00
Aya Morisawa f443d36dbb Resolve #2176 2018-08-14 07:49:59 +09:00
syuilo 4a5e145048 Add new reaction: rip 😇 2018-08-11 21:08:34 +09:00
syuilo 5c497d7563 ✌️ 2018-08-02 09:52:47 +09:00
Aya Morisawa 01703e5584 Fix #1975 2018-07-25 13:30:59 +09:00
syuilo f1bbbcfedf Fix #1960 2018-07-25 00:51:30 +09:00
syuilo c3b3b9b9a6 #1955 2018-07-25 00:29:18 +09:00
Aya Morisawa e5c20ca9a7 Update dependencyInfo.ts 2018-07-23 20:45:21 +09:00
syuilo 2df02a9d70 wip 2018-07-21 05:35:43 +09:00
Aya Morisawa 87cc5f790c Update log messages 2018-07-14 22:53:30 +09:00