Commit graph

7700 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
syuilo
7dd8dbeb5b feat(client): 💴 2020-05-17 14:43:25 +09:00
DW
f6cfa5cbb4
Fix CASCADE-related problems (#6374)
* Fix renotes remaining on remote when CASCADE is invoked

* Fix CASCADE-invoked deletion not being federated to relays

Co-authored-by: DW <chocological00@gitlab.com>
2020-05-17 00:49:46 +09:00
tohara
d979fb6dc0
Add Ai3Dstatic model for Room. (#6350)
* Add Ai3Dstatic model for Room.

* Update src/client/scripts/room/furnitures.json5

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* Update src/client/scripts/room/furnitures.json5

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>

* doll-Aiの大文字を小文字へ変更

* Update furnitures.json5

* マテリアルをBackgroundからPrincipled BSDFに変更

* a

* なんかファイルが二重にでてくるので削除

* テクスチャーファイルと3Dデータを再コミット

* Remove noodle

* Update doll-ai.glb

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2020-05-16 23:50:25 +09:00
syuilo
ca2a33edc9 fix(client): Use router-link instead of a to avoid page refresh 2020-05-16 22:08:21 +09:00
DW
ea80d5eac2
Local only indicator (#6291)
* Add Local only & public indicator

* Add local only & public indicator on renotes


remove visibility conditional

* Cleaner Style

* ✌️

* Update note-header.vue

* Update note.vue

Co-authored-by: DW <chocological00@gitlab.com>
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2020-05-16 22:06:39 +09:00
syuilo
51cf0970b3 feat(client): ローカルのみボタンを公開範囲ボタンの横に移動 2020-05-16 21:50:16 +09:00
DW
9c8eb93446
Only show ellipsis if the button's interactable (#6373)
* Add an indicator to make the undo renote button look more interactable

* Use faEllipsisH :art

* Only show elipsis if it's interactable

* Update note.vue

Co-authored-by: DW <chocological00@gitlab.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-05-16 12:15:59 +09:00
MeiMei
3ac3a45aa5
nyaizeが適用されるとMFMのオプションが失われるのを修正 Fix #6370 (#6371) 2020-05-16 08:40:17 +09:00
MeiMei
36fcc0d5f6
Cache extra AP objects (#6349)
* Cache extra AP objects

* Cache nodeinfo
2020-05-15 21:37:09 +09:00
syuilo
6667b86650 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2020-05-15 20:53:29 +09:00
syuilo
9244efe351 fix(client): Mk:api関数にトークンを渡せない問題 2020-05-15 20:53:24 +09:00
MeiMei
538ca2a7c7
リレーに不正なURLは追加できないように (#6351)
* リレーに不正なURLは追加できないように

* lint
2020-05-15 20:51:16 +09:00
MeiMei
c5dd9439d5
Apply blocked instance to LD-Signature host (#6355) 2020-05-15 20:50:28 +09:00
MeiMei
2170c27b62
リレーのHTTP-Signatureは投稿者の鍵でするように (#6357) 2020-05-15 20:50:04 +09:00
MeiMei
61582a0a33
Supports Unicode 13.0 emoji (#6365)
* Supports Unicode 13.0 emoji

* fix
2020-05-15 20:49:01 +09:00
DW
65efe1f42c
Add an indicator to make the undo renote button look more interactable (#6366)
* Add an indicator to make the undo renote button look more interactable

* Use faEllipsisH :art

Co-authored-by: DW <chocological00@gitlab.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-05-15 20:39:11 +09:00
MeiMei
b2d3d43c97
reCAPTCHAが動かなくなっているのを修正 (#6367) 2020-05-15 20:37:05 +09:00
syuilo
4ce330c59e
refactor(client): Add note 2020-05-11 22:43:50 +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
be183206e6 fix(server): Remove koa-compress 2020-05-10 17:41:16 +09:00
syuilo
8b853b7970 fix(client): Fix reply style 2020-05-10 17:37:11 +09:00
syuilo
5450b78f71 chore(lint): Add missing semicolon 2020-05-10 17:34:22 +09:00
syuilo
a3283c71ef chore(lint): Add missing semicolons 2020-05-10 17:25:16 +09:00
syuilo
7231f5ff0b chore(client): 🎨 2020-05-10 17:19:53 +09:00
syuilo
38a68ea946 fix(client): Fix poll vote notification
Fix #5998
2020-05-10 17:19:41 +09:00
syuilo
bf9486edc2 refactor(client): Use unique class name 2020-05-10 17:12:19 +09:00
syuilo
aadfafaef9 fix(client): Fix style of poll viewer 2020-05-10 17:06:53 +09:00
syuilo
c102978dd5 refactor(client): Use unique class name 2020-05-10 17:06:20 +09:00
syuilo
9784ade84f fix(client): Do not expand each notes in my/messages 2020-05-10 16:52:05 +09:00
syuilo
677f06961a fix(client): Do not expand each notes in my/mentions
Related #6336
2020-05-10 16:51:11 +09:00
syuilo
57c3ea3dbe chore(lint): Add missing semicolon 2020-05-10 16:31:00 +09:00
syuilo
64bbfed432 feat(client): Implement threaded replies
Resolve #2113
Resolve #5819
2020-05-10 16:22:39 +09:00
syuilo
a482d9b078 refactor(client): Clean up component 2020-05-10 16:05:01 +09:00
syuilo
08456dbb89 refactor(client): Use === 2020-05-10 15:36:42 +09:00
syuilo
58a8fff895 refactor(server): Improve readability 2020-05-10 15:20:21 +09:00
MeiMei
99e34e9ee2
Fix inbox bug (#6334) 2020-05-09 17:08:54 +09:00
syuilo
729db347a2 refactor(client): Remove deprecated property 2020-05-09 16:05:31 +09:00
syuilo
f2465ca11f fix(client): Fix bug that cannot set custom texture 2020-05-09 15:55:00 +09:00
syuilo
0294061c00 feat(client): Reimplement Misskey Rooms 2020-05-09 15:47:20 +09:00
syuilo
71e5892308 refactor(client): Use getters to avoid watch vuex 2020-05-09 15:22:50 +09:00
MeiMei
d6a8889d84
Receive Flag (#6331) 2020-05-09 08:25:23 +09:00
MeiMei
070f1f3c6e
APリファクタとLD-Signatureの検証に対応 (#6300)
* DbResolver

* inbox types

* 認証順を変更

* User/Keyあたりをまとめる

* LD-Signatue

* Validate contexts url

* LD-Signature DocumentLoaderにProxyとTimeout
2020-05-09 08:21:42 +09:00
Satsuki Yanagi
234294d564
WebAuthnでログインできないのを修正 (#6327)
Resolve #6319
2020-05-09 08:20:22 +09:00
MeiMei
d1be8b43f6
brotli圧縮の無効化など Resolve #6325 (#6326)
* disable brotli

* disable compress between nginx and app
2020-05-09 08:18:21 +09:00
Acid Chicken (硫酸鶏)
778ac79c44
Fix using Buffer on window scope (#6324)
* Update 2fa.vue

* Import 'core-js/es/typed-array/from'

* Bye polyfill
2020-05-06 18:59:58 +09:00
syuilo
766c00c305 fix(client): Add missing icon 2020-05-06 14:46:45 +09:00
syuilo
97cdfa662e fix(client): Fix default reaction setting 2020-05-06 14:43:25 +09:00
syuilo
4a08d5295e feat(client): Make possible to customize sidebar
Resolve #6285
2020-05-06 11:41:44 +09:00
syuilo
b77788b947 refactor(client): Reorder property 2020-05-06 09:40:49 +09:00
syuilo
729116c9e5 refactor(client): Export default reaction setting and use it 2020-05-06 09:40:07 +09:00
Acid Chicken (硫酸鶏)
4cccdb8a98
Merge pull request #6303 from syuilo/features/hcaptcha
Add support for hCaptcha
2020-05-05 10:22:49 +09:00
Acid Chicken (硫酸鶏)
a3ff1bfda7
Update hcaptcha.d.ts 2020-05-02 10:51:12 +09:00
Acid Chicken (硫酸鶏)
f57888eb4b
Update src/@types/hcaptcha.d.ts 2020-05-02 10:50:29 +09:00
Acid Chicken (硫酸鶏)
b2c703c173
Update src/server/api/private/signup.ts 2020-05-02 10:31:37 +09:00
syuilo
9053b9635e
refactor 2020-05-02 10:28:45 +09:00
MeiMei
b5e87a46b0
アップロードプログレスバーが動かないのを修正 Fix #6306 (#6307) 2020-05-02 10:00:43 +09:00
Acid Chicken (硫酸鶏)
ca6a70e555
Update signup.vue 2020-04-29 09:54:21 +09:00
Acid Chicken (硫酸鶏)
9a611b24f3
Fix bug 2020-04-29 09:35:37 +09:00
Acid Chicken (硫酸鶏)
77adf26236
Factorize *captcha component 2020-04-29 09:15:18 +09:00
Acid Chicken (硫酸鶏)
805472482e
Refactor code 2020-04-29 06:09:17 +09:00
Acid Chicken (硫酸鶏)
01411327b8
Add *captcha settings guide 2020-04-29 06:04:05 +09:00
Acid Chicken (硫酸鶏)
9daa900793
Refactor codes 2020-04-29 05:30:58 +09:00
Acid Chicken (硫酸鶏)
b862c055ae
Fix bug 2020-04-28 14:55:12 +09:00
Acid Chicken (硫酸鶏)
7860839220
Add support for hCaptcha 2020-04-28 14:29:33 +09:00
syuilo
ebdbd6a84a enhance(server): Resolve #6286 2020-04-26 11:54:51 +09:00
syuilo
69975c2fdd chore: Use kebab-case for file names 2020-04-26 11:48:09 +09:00
syuilo
7d7c206f24 fix(server): Fix #6284 2020-04-26 11:46:47 +09:00
syuilo
14ddca3875 feat(server): Improve boot process 2020-04-26 11:39:15 +09:00
syuilo
a8b4df6eae feat(server): Log postgresql version when boot 2020-04-26 11:24:31 +09:00
syuilo
0683fa6b97 chore(server): Add TODO 2020-04-26 11:19:57 +09:00
syuilo
2ee5835186 fix(client): Fix a bug that if block of pages not working 2020-04-23 08:57:10 +09:00
syuilo
d19441f3ae fix(client): Fix lint 2020-04-22 19:51:09 +09:00
syuilo
6e3ee05cb6 refactor(client): 2020-04-22 19:36:28 +09:00
syuilo
1f998168e2 feat(client): Implement default upload folder setting
Resolve #5985
2020-04-22 00:34:56 +09:00
syuilo
0df3e22e51 Fix #6289 2020-04-21 20:26:54 +09:00
syuilo
5a9530ccd4 Fix #6229 2020-04-21 20:16:37 +09:00
syuilo
0a4d119d86 fix(lint): Use const 2020-04-20 21:36:58 +09:00
syuilo
2ee0e07bb6 refactor(client): 2020-04-20 21:35:27 +09:00
syuilo
f704e7a602 enhance(pages): Improve hcart 2020-04-19 17:41:01 +09:00
syuilo
8cefcaa55f fix(client): Fix bug that cannot post when image only 2020-04-19 17:40:46 +09:00
syuilo
164c6505f2 enhance(client): Use icon instead of text 2020-04-19 17:39:54 +09:00
syuilo
0a1b83c70f feat(aiscript): Better env vars 2020-04-19 16:28:19 +09:00
syuilo
8957eec475 fix(client): Fix canvas overflow 2020-04-19 16:15:24 +09:00
syuilo
e790af566c chore: 🎨 2020-04-19 16:09:57 +09:00
syuilo
43fe0cd62e feat(pages): Improve chart 2020-04-19 15:48:05 +09:00
syuilo
72271d905d fix(pages): Fix chart type detection 2020-04-19 09:09:38 +09:00
syuilo
8d39283d46 Resolve #6276 2020-04-19 09:05:20 +09:00
syuilo
4364122804 feat(pages): Improve chart 2020-04-19 08:25:22 +09:00
syuilo
3b6dbd6dc3 Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2020-04-18 18:33:50 +09:00
syuilo
7c61fc37c5 Resolve #6274 2020-04-18 18:33:45 +09:00
MeiMei
f530b5237d
TLにNote追加時にdeepcopyする (#6275) 2020-04-18 16:05:39 +09:00
Xeltica
e184c1cdfb
カスタム絵文字リアクションがプレビューされない不具合を修正 fix #6272 (#6273)
* カスタム絵文字リアクションがプレビューされない不具合を修正

* add comments
2020-04-18 12:06:44 +09:00
syuilo
44ea1be930 chore(client): 🎨 2020-04-17 20:36:51 +09:00
syuilo
a1bf54fe16 chore(client): 🎨 2020-04-17 20:30:12 +09:00
syuilo
75d59a9c9b feat(pages): Add rect method 2020-04-17 15:51:36 +09:00
syuilo
9139c863bf feat(pages): Disable AiScript step limitation to improve usability 2020-04-17 15:51:25 +09:00
syuilo
5389b16c59 chore(client): 🎨 2020-04-16 23:13:33 +09:00
syuilo
da3008af1c fix(pages): AiScript変数があると型チェックができない問題を修正 2020-04-16 23:04:49 +09:00
syuilo
6637766554 feat(pages): Add arc method 2020-04-16 18:11:13 +09:00
tamaina
d02e14cb94
Fix Media List in CW Content (#6099) 2020-04-16 01:04:21 +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
syuilo
90e8527556 Resolve #6256 2020-04-16 00:39:21 +09:00
mei23
b0b885aacd
lint 2020-04-14 01:13:01 +09:00
MeiMei
9b07c5af05
リモートのカスタム絵文字リアクションを表示できるように (#6239)
* リモートのカスタム絵文字リアクションを表示できるように

* AP

* DBマイグレーション

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

* fix

* fix

* fix

* space
2020-04-14 00:42:59 +09:00
syuilo
cda1803e59 chore(client): 🎨 2020-04-14 00:13:49 +09:00
tamaina
96eab7e12b
投稿のURLプレビューポップアップを改良 (#6226)
* URLプレビューポップアップを改良

- タッチデバイスでは表示しないように
- 幅をレスポンシブに

* Use maxTouchPoints to detect touch device

* fix
2020-04-14 00:00:52 +09:00
MeiMei
916512fd47
同じリアクション削除を同時に行うとリアクションカウントがおかしくなることがあるのを修正 (#6253)
* Fix #6252

* quote

* Use IdentifiableError
2020-04-13 23:58:38 +09:00
Satsuki Yanagi
58d3a37908
sensitiveではないメディアも非表示にできるように (#6248)
* sensitiveではないメディアも非表示にできるように

* mounted -> created

* remove unnecessary v-if
2020-04-13 23:55:36 +09:00
syuilo
a19e252c9e feat(client): Improve pages aiscript 2020-04-13 23:46:53 +09:00
Satsuki Yanagi
63225ed0fd
モデレーション周りのv11の機能復元 (#6249)
* モデレーション周りのv11の機能復元

* i18n

* wip

* wip

Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2020-04-13 23:27:12 +09:00
syuilo
11cc9cbc7c Resolve #5755 2020-04-13 03:23:23 +09:00
MeiMei
36b9a0d42f
プロキシの除外ホスト (#6244)
* プロキシの除外ホスト

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

* fix lint

* コメント

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2020-04-12 20:32:34 +09:00
syuilo
e7da10ae58 Resolve #6242 2020-04-12 19:57:18 +09:00
syuilo
f07047d1e8 AiScript関連 2020-04-12 19:38:19 +09:00
syuilo
4903eb4a4a Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2020-04-11 22:44:36 +09:00
syuilo
b5981ab544 feat(client): Implement AiScript scratchpad 2020-04-11 22:44:32 +09:00
MeiMei
00e1dbfdfb
Fix typo (#6238) 2020-04-11 19:49:25 +09:00
Balazs Nadasdi
cb631d4abb
Option to hide revealed sensitive media (#6209)
* Option to hide revealed sensitive media

This PR commit adds a button on sensitive images and videos
to to hide them without refreshing the page.

* fix position with multiple images

* Fixing some lint problems

Not related to this PR, but "Node.js CI / lint" failed on it.
2020-04-11 18:32:55 +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
9fcf94b197
Fix url type of AP object #6231 (#6234) 2020-04-11 18:27:58 +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
syuilo
bb7edfee04 Create aiscript.ja-JP.md 2020-04-05 18:02:39 +09:00
Balazs Nadasdi
10d72742f5
Ability to set header image for a Page (#6210)
* Ability to set header image for a Page

 - Add header image to Page
 - Show it on Page view
 - Show correctly it on Page list view
 - On the Page list view, pages have a light border
   to make it easier to see an image belongs to a page

* Maybe it looks better

* Use <img> instead if <x-image>

* src -> :src; set width

* Update page.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-04-05 17:55:51 +09:00
syuilo
d4a630902d refactor: Use === 2020-04-04 08:46:54 +09:00
syuilo
fef5ec874b enhance(server): Log error message when internal error occured 2020-04-04 08:27:16 +09:00
syuilo
f2e347fec1 perf(client): Lazy load themes 2020-04-04 08:25:28 +09:00
MeiMei
6a396ef5e3
APIリファレンスでレスポンスのスキーマを見るのにいちいち2回クリックさせられるのを修正 (#6217) 2020-04-03 23:36:13 +09:00
syuilo
eec1af1f52 Revert 2020-04-03 23:35:14 +09:00
MeiMei
99fc77b678
APメンションはaudienceじゃなくてtagを参照するなど (#6128)
* APメンションはaudienceじゃなくてtagを参照するなど

* AP/tag/Mentionではurlじゃなくてuriを提示する

* createPersonでaliasが入力された場合に対応

* AP HTMLパースでMention/Hashtag判定にtagを使うように

* fix

* indent

* use hashtag name

* fix

* URLエンコード不要だったら<>を使わないの条件が消えたたのを修正
2020-04-03 22:51:38 +09:00
MeiMei
8bb311df51
APIリファレンスのカテゴリ処理の修正 (#6218)
* APIリファレンスのカテゴリ処理の修正

* tune
2020-04-03 22:42:29 +09:00
Satsuki Yanagi
a77df249c2
i18n (#6219) 2020-04-03 22:41:18 +09:00
tamaina
33bcf2d1ea Fix lint 2020-04-03 17:17:46 +09:00
tamaina
795fb0eb60 Pre-render ReDoc
redoc-cliはexpandResponsesは200のみとすると数値と認識されてしまい設定できないため202,204という指定にしています
2020-04-03 17:13:41 +09:00
syuilo
9e9d378bf1 feat(streaming): Add emoji added event 2020-04-02 22:17:17 +09:00
syuilo
4a6b0edce6 Update api.ja-JP.md 2020-04-02 22:09:25 +09:00
MeiMei
356225af14
Use url if available (#6214)
* Fix #6213

* other link

* fix
2020-04-02 21:59:14 +09:00
mei23
331305e6c7
lint 2020-04-02 05:41:03 +09:00
syuilo
79354f4faf Refactoring 2020-03-31 09:15:04 +09:00
syuilo
28f8933c3c Refactoring 2020-03-31 09:11:43 +09:00
syuilo
10356b4041 Merge branch 'master' into develop 2020-03-31 08:08:22 +09:00
syuilo
6a732ab1cd Fix #6203 2020-03-31 08:07:10 +09:00
MeiMei
47322b35ff
APIの権限設定漏れを修正 (#6202)
* Fix: 権限設定漏れ

* requireAdmin
2020-03-30 11:45:57 +09:00
MeiMei
4c6d0386b9
admin/accounts/createで一般ユーザーがアカウントを作成し放題なのを修正 (#6205) 2020-03-30 09:27:39 +09:00
MeiMei
a448172952
Fix #6199 (#6201) 2020-03-29 23:18:03 +09:00
MeiMei
244ef0cb8f
トークン系の乱数ソースではcryptoを使うように (#6200) 2020-03-29 23:16:36 +09:00
syuilo
02cc1891f2 Add miauth info into meta.features 2020-03-29 17:44:14 +09:00
syuilo
09e3ddbd57 アプリの権限を確認できるように 2020-03-29 17:06:36 +09:00
syuilo
d0fff562ea Fix bug 2020-03-29 17:04:22 +09:00