Commit graph

257 commits

Author SHA1 Message Date
tamaina
3963ed8ff7
feat(client): 翻訳をIndexedDBに保存・プッシュ通知を翻訳 (#6396)
* wip

* tabun ok

* better msg

* oops

* fix lint

* Update gulpfile.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update src/client/scripts/set-i18n-contexts.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* refactor

Co-authored-by: acid-chicken <root@acid-chicken.com>

* 

* wip

* fix lint

* たぶんおk

* fix flush

* Translate Notification

* remove console.log

* fix

* add notifications

* remove san

* wip

* ok

* ✌️

* Update src/prelude/array.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* wip

* i18n refactor

* Update init.ts

* ✌️

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2020-05-23 13:19:31 +09:00
MeiMei
61582a0a33
Supports Unicode 13.0 emoji (#6365)
* Supports Unicode 13.0 emoji

* fix
2020-05-15 20:49:01 +09:00
MeiMei
145389768d
pub-relay (#6341)
* pub-relay

* relay actorをApplicationにする

* Disable koa-compress

* Homeはリレーに送らない

* Disable debug

* UI

* cleanupなど
2020-05-10 18:42:31 +09:00
syuilo
a3283c71ef chore(lint): Add missing semicolons 2020-05-10 17:25:16 +09:00
syuilo
58a8fff895 refactor(server): Improve readability 2020-05-10 15:20:21 +09:00
syuilo
ebdbd6a84a enhance(server): Resolve #6286 2020-04-26 11:54:51 +09:00
syuilo
5a9530ccd4 Fix #6229 2020-04-21 20:16:37 +09:00
MeiMei
fa75b40dfd
リアクションの修正 (#6260) 2020-04-16 00:47:17 +09:00
MeiMei
f32d8b7069
0以下のリアクションは送らないように Resolve #6263 (#6264) 2020-04-16 00:45:43 +09:00
MeiMei
9b07c5af05
リモートのカスタム絵文字リアクションを表示できるように (#6239)
* リモートのカスタム絵文字リアクションを表示できるように

* AP

* DBマイグレーション

* ローカルのリアクションの.

* fix

* fix

* fix

* space
2020-04-14 00:42:59 +09:00
MeiMei
36b9a0d42f
プロキシの除外ホスト (#6244)
* プロキシの除外ホスト

* オブジェクトストレージとの通信にProxyを使うかを選択できるように

* fix lint

* コメント

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2020-04-12 20:32:34 +09:00
MeiMei
00e1dbfdfb
Fix typo (#6238) 2020-04-11 19:49:25 +09:00
MeiMei
ca66acac2b
ファイルのダウンロードがタイムアウトしなくなっているのを修正など (#6233)
* Refactor download / file-info

* body read timeout on download Fix syuilo#6232
2020-04-11 18:28:40 +09:00
MeiMei
d3c0f3c251
Use node-fetch instead of request (#6228)
* requestをnode-fetchになど

* format

* fix error

* t

* Fix test
2020-04-09 23:42:23 +09:00
MeiMei
244ef0cb8f
トークン系の乱数ソースではcryptoを使うように (#6200) 2020-03-29 23:16:36 +09:00
Oni-Men
a471e4b783
MFMをテキストに戻す (#6131)
* Disable Nyaize in quote

* mfmを文字列に戻す、nyaizeにmfmを使用

* Revert "Disable Nyaize in quote"

This reverts commit 1b238905a5535267d32d7e1aec8afd8bb07b0619.

* refactor

* use return type as string
2020-03-06 22:51:50 +09:00
MeiMei
20ac7e62e9
チャートInsert時にロックをかけるように (#6100)
* chart lock

* fix
2020-03-06 22:33:54 +09:00
rinsuki
c18f6fde80
lintをGitHub Actions でするように (#6101)
* package.json の lint スクリプトを修正

* lint アクションを追加

* yarn lint --fix

* 手動修正
2020-03-04 11:45:33 +09:00
MeiMei
03f54c5b02
リアクション絵文字設定をいい感じに (#6074)
* リアクション絵文字設定をいい感じに

* みじかく
2020-02-26 16:48:23 +09:00
syuilo
7121bdef6b Refactor 2020-02-26 07:56:32 +09:00
syuilo
c7c08b7511 Resolve #6043 2020-02-21 00:28:45 +09:00
syuilo
2504b8391b
Better validation 2020-02-20 13:33:41 +09:00
syuilo
177e19632a Fix #6016 2020-02-20 07:18:16 +09:00
MeiMei
e6c9b1d9bd
LegacyReaction変換にstarを追加 (#6013) 2020-02-19 22:06:54 +09:00
syuilo
b23b3e4d21 Fix #5984 2020-02-19 06:36:50 +09:00
syuilo
65c0b6c7da Resolve #5939 2020-02-15 01:03:59 +09:00
syuilo
d70f7a717b Fix #5918 2020-02-12 01:01:17 +09:00
MeiMei
ac9612eb49
Fix nyaize 2 (#5841)
* Korean, English Nyaziation and special case exclusion

* Remove single en and unused

* order of exclude

* nl

* code style
2020-02-06 09:11:26 +09:00
syuilo
ddd7b04646 korean nyaize 2020-02-05 21:11:24 +09:00
syuilo
3c4bae763f Revert "Korean, English Nyaziation and special case exclusion (#5813)"
This reverts commit c110f0860e.
2020-02-05 20:56:28 +09:00
syuilo
90225f9d33 Update fetch-meta.ts 2020-02-05 15:41:14 +09:00
syuilo
8818648740 プロキシアカウントをユーザー名ではなくIDで保存するように 2020-02-05 10:15:09 +09:00
DW
c110f0860e
Korean, English Nyaziation and special case exclusion (#5813) 2020-02-04 08:30:49 +09:00
MeiMei
f640da911b
Add Unicode 12.1 Emojis (#5825)
* 絵文字ピッカーにSHIBUYA 109を追加

* Emoji regex for Unicode 12.1

* 絵文字テーブルに Unicode 12.1 分を追加
2020-02-04 08:20:51 +09:00
syuilo
f6154dc0af
v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2020-01-30 04:37:25 +09:00
MeiMei
01c07d120f Resolve #5762 (#5770) 2020-01-27 05:37:53 +09:00
MeiMei
85971d3d88 Fix: PagesでDRPWPMが最初のしか出てこない (#5707) 2020-01-19 03:38:59 +09:00
MeiMei
9703ba5340
ファイルと画像認識処理の改善 (#5690)
* dimensions制限とリファクタ

* comment

* 不要な変更削除

* use fromFile など

* Add probe-image-size.d.ts

* えーCRLFで作るなよ…

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix d.ts

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* Update src/@types/probe-image-size.d.ts

Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2020-01-12 16:40:58 +09:00
Satsuki Yanagi
8aafafe416 Fix #5688 (#5689)
* Resolve #5688

* あああああ

* 😇

* :thinking_face:

* Update detect-mine.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-01-07 23:34:17 +09:00
syuilo
1eb5578063 Add round function 2019-12-20 02:09:51 +09:00
syuilo
f7a328d66e Update dependencies 🚀 2019-11-24 17:09:32 +09:00
syuilo
77c9b90e6d
Store nodeinfo per federated instances (#5578)
* Store nodeinfo per federated instances

* Update fetch-nodeinfo.ts

* Update fetch-nodeinfo.ts

* update
2019-11-05 22:14:42 +09:00
MeiMei
6ba5968861 Apply DB limit to the maximum note text length (#5465) 2019-10-01 01:46:31 +09:00
MeiMei
60d2558ed6 絵文字ピッカーの Unicode 12.0 対応など (#5441)
* Twemoji 12.1

* 絵文字ライブラリを持つように

* Fix chess_pawn emoji

* Add Unicode 12.0 emojis

* Add transgender flag/symbol emoji

* Add some japanese emoji keywords

* format emojilist.json

* fix emojilist order

* Add missing flags
2019-09-21 21:31:38 +09:00
MeiMei
827c378ac1 AP Lock (#5410) 2019-09-09 22:46:45 +09:00
MeiMei
14736620ec HTTPリクエストのKeep-AliveとPrxoy対応など (#5226)
* DriveのKeep-Alive, Proxy と APのProxy対応

* request系でKeep-Aliveするように

* fix lookup-dns-cache.d.ts

* remove debug output
2019-07-28 09:49:02 +09:00
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