Commit Graph

7715 Commits

Author SHA1 Message Date
tamaina
cd2d7e95ea fix(client): 全既読系ボタンのAPIの指定が間違っているのを修正 (#6424) 2020-05-31 15:48:37 +09:00
tamaina
47259037b4 Refactor 2020-05-31 14:57:22 +09:00
tamaina
10324cd1b5 fix 2020-05-31 14:54:04 +09:00
tamaina
326b0a9112 chore(client):🎨 Make font-size of note-preview em (#6414) 2020-05-31 14:46:50 +09:00
tamaina
78b0a33624 feat(client): Convert text mfm node to text (v)dom node instead of span tag (#6399)
* Convert text mfm node to text (v)dom node
instead of span tag

* Update mfm.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-05-31 12:57:21 +09:00
tamaina
2daf3c7a94 feat(client): 自動でもっと見るオプション (#6403)
* wip

* ugokanai

* wip

* implement setting subscribing

* fix lint

* ✌️

* Update notifications.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2020-05-31 12:53:06 +09:00
tamaina
34c7f92314 chore(src/docs): Fix miauth check url
Fix #6418
2020-05-29 22:36:01 +09:00
tamaina
4becb5c477 fix 2020-05-26 15:04:44 +09:00
tamaina
9fbf046957 capture readAllNotifications 2020-05-26 15:00:15 +09:00
tamaina
4a90d7cdf8 Observe notification read 2020-05-26 14:34:49 +09:00
tamaina
0b953284cb Improve typing 2020-05-26 14:33:55 +09:00
tamaina
357a42f2c1 Resolve https://github.com/syuilo/misskey/pull/6406#issuecomment-633203670 2020-05-24 18:41:40 +09:00
syuilo
e7ad8c596b chore(deps): Update dependencies 🚀 2020-05-24 17:48:24 +09:00
tamaina
d21401009e Resolve #6405 (#6406) 2020-05-24 13:53:31 +09:00
tamaina
f59e1155f2 refactor: use Object.fromEntries() instead of in-house implementation (#6401)
* refactor: use Object.fromEntries()
instead of in-house implementation

* Remove extra type assertions
2020-05-23 23:21:09 +09:00
tamaina
08a2162aa7 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
42a5f899e7 feat(client): 💴 2020-05-17 14:43:25 +09:00
DW
4b56d67335 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
423e65123b 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
488086eb59 fix(client): Use router-link instead of a to avoid page refresh 2020-05-16 22:08:21 +09:00
DW
7f31e9a63d 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
db1d57d37a feat(client): ローカルのみボタンを公開範囲ボタンの横に移動 2020-05-16 21:50:16 +09:00
DW
95cbe0fb5a 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
2856a8a841 nyaizeが適用されるとMFMのオプションが失われるのを修正 Fix #6370 (#6371) 2020-05-16 08:40:17 +09:00
MeiMei
887c04235e Cache extra AP objects (#6349)
* Cache extra AP objects

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

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

* fix
2020-05-15 20:49:01 +09:00
DW
5c25d444c8 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
28e7276f4b reCAPTCHAが動かなくなっているのを修正 (#6367) 2020-05-15 20:37:05 +09:00
syuilo
b0f11a75de refactor(client): Add note 2020-05-11 22:43:50 +09:00
MeiMei
fe841db55a 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
ddb7d90bd1 fix(server): Remove koa-compress 2020-05-10 17:41:16 +09:00
syuilo
c8985d9eaf fix(client): Fix reply style 2020-05-10 17:37:11 +09:00
syuilo
d4b83a0efb chore(lint): Add missing semicolon 2020-05-10 17:34:22 +09:00
syuilo
5b06ace4b9 chore(lint): Add missing semicolons 2020-05-10 17:25:16 +09:00
syuilo
1cf673e9d0 chore(client): 🎨 2020-05-10 17:19:53 +09:00
syuilo
2d1e6a7dc6 fix(client): Fix poll vote notification
Fix #5998
2020-05-10 17:19:41 +09:00
syuilo
a0d6abd5cf refactor(client): Use unique class name 2020-05-10 17:12:19 +09:00
syuilo
462bc1f108 fix(client): Fix style of poll viewer 2020-05-10 17:06:53 +09:00
syuilo
273d99da9c refactor(client): Use unique class name 2020-05-10 17:06:20 +09:00
syuilo
2645235885 fix(client): Do not expand each notes in my/messages 2020-05-10 16:52:05 +09:00
syuilo
41544b1df9 fix(client): Do not expand each notes in my/mentions
Related #6336
2020-05-10 16:51:11 +09:00
syuilo
2aeedf5adf chore(lint): Add missing semicolon 2020-05-10 16:31:00 +09:00
syuilo
26ae636f8d feat(client): Implement threaded replies
Resolve #2113
Resolve #5819
2020-05-10 16:22:39 +09:00
syuilo
df8ba69418 refactor(client): Clean up component 2020-05-10 16:05:01 +09:00
syuilo
5990b5ba66 refactor(client): Use === 2020-05-10 15:36:42 +09:00
syuilo
db239c6ff4 refactor(server): Improve readability 2020-05-10 15:20:21 +09:00
MeiMei
328daa125e Fix inbox bug (#6334) 2020-05-09 17:08:54 +09:00
syuilo
39e3e1cf73 refactor(client): Remove deprecated property 2020-05-09 16:05:31 +09:00
syuilo
cd330fa135 fix(client): Fix bug that cannot set custom texture 2020-05-09 15:55:00 +09:00
syuilo
6cee6c1043 feat(client): Reimplement Misskey Rooms 2020-05-09 15:47:20 +09:00
syuilo
b992d3ba99 refactor(client): Use getters to avoid watch vuex 2020-05-09 15:22:50 +09:00
MeiMei
1ca1a73bd7 Receive Flag (#6331) 2020-05-09 08:25:23 +09:00
MeiMei
ed29826df2 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
c348688eeb WebAuthnでログインできないのを修正 (#6327)
Resolve #6319
2020-05-09 08:20:22 +09:00
MeiMei
5225ad822c brotli圧縮の無効化など Resolve #6325 (#6326)
* disable brotli

* disable compress between nginx and app
2020-05-09 08:18:21 +09:00
Acid Chicken (硫酸鶏)
469c91cf55 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
6dbf1dfa56 fix(client): Add missing icon 2020-05-06 14:46:45 +09:00
syuilo
ff7f7104f0 fix(client): Fix default reaction setting 2020-05-06 14:43:25 +09:00
syuilo
fd0bd2d74f feat(client): Make possible to customize sidebar
Resolve #6285
2020-05-06 11:41:44 +09:00
syuilo
d9d04de4e1 refactor(client): Reorder property 2020-05-06 09:40:49 +09:00
syuilo
3c581e5b09 refactor(client): Export default reaction setting and use it 2020-05-06 09:40:07 +09:00
Acid Chicken (硫酸鶏)
293c3ff85c Merge pull request #6303 from syuilo/features/hcaptcha
Add support for hCaptcha
2020-05-05 10:22:49 +09:00
Acid Chicken (硫酸鶏)
79f617d12e Update hcaptcha.d.ts 2020-05-02 10:51:12 +09:00
Acid Chicken (硫酸鶏)
ea4bd60e24 Update src/@types/hcaptcha.d.ts 2020-05-02 10:50:29 +09:00
Acid Chicken (硫酸鶏)
ee6e720a9c Update src/server/api/private/signup.ts 2020-05-02 10:31:37 +09:00
syuilo
d2bbd8438e refactor 2020-05-02 10:28:45 +09:00
MeiMei
09197e36ce アップロードプログレスバーが動かないのを修正 Fix #6306 (#6307) 2020-05-02 10:00:43 +09:00
Acid Chicken (硫酸鶏)
4a526db6f2 Update signup.vue 2020-04-29 09:54:21 +09:00
Acid Chicken (硫酸鶏)
5046f82c83 Fix bug 2020-04-29 09:35:37 +09:00
Acid Chicken (硫酸鶏)
b1088cd584 Factorize *captcha component 2020-04-29 09:15:18 +09:00
Acid Chicken (硫酸鶏)
90a0a0257e Refactor code 2020-04-29 06:09:17 +09:00
Acid Chicken (硫酸鶏)
f4c140b087 Add *captcha settings guide 2020-04-29 06:04:05 +09:00
Acid Chicken (硫酸鶏)
dd6f3579f0 Refactor codes 2020-04-29 05:30:58 +09:00
Acid Chicken (硫酸鶏)
2dd0094a95 Fix bug 2020-04-28 14:55:12 +09:00
Acid Chicken (硫酸鶏)
8d233fa1cf Add support for hCaptcha 2020-04-28 14:29:33 +09:00
syuilo
dbc128d0c2 enhance(server): Resolve #6286 2020-04-26 11:54:51 +09:00
syuilo
4ebe9f3cb3 chore: Use kebab-case for file names 2020-04-26 11:48:09 +09:00
syuilo
1eb59d9807 fix(server): Fix #6284 2020-04-26 11:46:47 +09:00
syuilo
f2620a9e7f feat(server): Improve boot process 2020-04-26 11:39:15 +09:00
syuilo
5ad96320d7 feat(server): Log postgresql version when boot 2020-04-26 11:24:31 +09:00
syuilo
5583007adb chore(server): Add TODO 2020-04-26 11:19:57 +09:00
syuilo
4827f89852 fix(client): Fix a bug that if block of pages not working 2020-04-23 08:57:10 +09:00
syuilo
342077f51b fix(client): Fix lint 2020-04-22 19:51:09 +09:00
syuilo
3eaf223420 refactor(client): 2020-04-22 19:36:28 +09:00
syuilo
ce691efc07 feat(client): Implement default upload folder setting
Resolve #5985
2020-04-22 00:34:56 +09:00
syuilo
14748a3b07 Fix #6289 2020-04-21 20:26:54 +09:00
syuilo
66010c1ae8 Fix #6229 2020-04-21 20:16:37 +09:00
syuilo
433c59f356 fix(lint): Use const 2020-04-20 21:36:58 +09:00
syuilo
81bcf87f41 refactor(client): 2020-04-20 21:35:27 +09:00
syuilo
403ea2119f enhance(pages): Improve hcart 2020-04-19 17:41:01 +09:00
syuilo
fd034ba176 fix(client): Fix bug that cannot post when image only 2020-04-19 17:40:46 +09:00
syuilo
24a83de22d enhance(client): Use icon instead of text 2020-04-19 17:39:54 +09:00
syuilo
d61d46e1c4 feat(aiscript): Better env vars 2020-04-19 16:28:19 +09:00
syuilo
c1497a25e4 fix(client): Fix canvas overflow 2020-04-19 16:15:24 +09:00
syuilo
a037714b6b chore: 🎨 2020-04-19 16:09:57 +09:00
syuilo
56a5a366eb feat(pages): Improve chart 2020-04-19 15:48:05 +09:00
syuilo
c1df3a723c fix(pages): Fix chart type detection 2020-04-19 09:09:38 +09:00
syuilo
f817b9c73c Resolve #6276 2020-04-19 09:05:20 +09:00
syuilo
e03c49aa93 feat(pages): Improve chart 2020-04-19 08:25:22 +09:00
syuilo
d853a8e93a Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2020-04-18 18:33:50 +09:00
syuilo
4db874fa0e Resolve #6274 2020-04-18 18:33:45 +09:00
MeiMei
19e6388576 TLにNote追加時にdeepcopyする (#6275) 2020-04-18 16:05:39 +09:00
Xeltica
73f34b92e5 カスタム絵文字リアクションがプレビューされない不具合を修正 fix #6272 (#6273)
* カスタム絵文字リアクションがプレビューされない不具合を修正

* add comments
2020-04-18 12:06:44 +09:00
syuilo
3d3c800d23 chore(client): 🎨 2020-04-17 20:36:51 +09:00
syuilo
f879122049 chore(client): 🎨 2020-04-17 20:30:12 +09:00
syuilo
e0d5ae579b feat(pages): Add rect method 2020-04-17 15:51:36 +09:00
syuilo
505b99cb00 feat(pages): Disable AiScript step limitation to improve usability 2020-04-17 15:51:25 +09:00
syuilo
a132a2cf71 chore(client): 🎨 2020-04-16 23:13:33 +09:00
syuilo
f90dc55308 fix(pages): AiScript変数があると型チェックができない問題を修正 2020-04-16 23:04:49 +09:00
syuilo
3f361fe86b feat(pages): Add arc method 2020-04-16 18:11:13 +09:00
tamaina
1a23922b54 Fix Media List in CW Content (#6099) 2020-04-16 01:04:21 +09:00
MeiMei
b17b746aa0 リアクションの修正 (#6260) 2020-04-16 00:47:17 +09:00
MeiMei
d17b07d421 0以下のリアクションは送らないように Resolve #6263 (#6264) 2020-04-16 00:45:43 +09:00
syuilo
abc46da944 Resolve #6256 2020-04-16 00:39:21 +09:00
mei23
f99eb1a38c lint 2020-04-14 01:13:01 +09:00
MeiMei
2905e56a72 リモートのカスタム絵文字リアクションを表示できるように (#6239)
* リモートのカスタム絵文字リアクションを表示できるように

* AP

* DBマイグレーション

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

* fix

* fix

* fix

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

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

* Use maxTouchPoints to detect touch device

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

* quote

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

* mounted -> created

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

* i18n

* wip

* wip

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

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

* fix lint

* コメント

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2020-04-12 20:32:34 +09:00
syuilo
7ac8b672c5 Resolve #6242 2020-04-12 19:57:18 +09:00
syuilo
bcfa0b3cf7 AiScript関連 2020-04-12 19:38:19 +09:00
syuilo
f242bd1c2d Merge branch 'develop' of https://github.com/syuilo/misskey into develop 2020-04-11 22:44:36 +09:00
syuilo
415d54b758 feat(client): Implement AiScript scratchpad 2020-04-11 22:44:32 +09:00
MeiMei
9c5a8a87e1 Fix typo (#6238) 2020-04-11 19:49:25 +09:00
Balazs Nadasdi
86a394dc50 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
ae76a79409 ファイルのダウンロードがタイムアウトしなくなっているのを修正など (#6233)
* Refactor download / file-info

* body read timeout on download Fix syuilo#6232
2020-04-11 18:28:40 +09:00
MeiMei
e1b532f39b Fix url type of AP object #6231 (#6234) 2020-04-11 18:27:58 +09:00
MeiMei
a74358ec03 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
08c802760b Create aiscript.ja-JP.md 2020-04-05 18:02:39 +09:00
Balazs Nadasdi
decdec2c1d 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
cefbecb94c refactor: Use === 2020-04-04 08:46:54 +09:00
syuilo
60ed35680c enhance(server): Log error message when internal error occured 2020-04-04 08:27:16 +09:00
syuilo
2c4faa7db6 perf(client): Lazy load themes 2020-04-04 08:25:28 +09:00
MeiMei
ece0cec1f8 APIリファレンスでレスポンスのスキーマを見るのにいちいち2回クリックさせられるのを修正 (#6217) 2020-04-03 23:36:13 +09:00
syuilo
a3e4a3ab5f Revert 2020-04-03 23:35:14 +09:00
MeiMei
8e13f6a7e0 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
e27b7e7d97 APIリファレンスのカテゴリ処理の修正 (#6218)
* APIリファレンスのカテゴリ処理の修正

* tune
2020-04-03 22:42:29 +09:00
Satsuki Yanagi
0fdd14fe77 i18n (#6219) 2020-04-03 22:41:18 +09:00
tamaina
80768d4390 Fix lint 2020-04-03 17:17:46 +09:00
tamaina
aa49517740 Pre-render ReDoc
redoc-cliはexpandResponsesは200のみとすると数値と認識されてしまい設定できないため202,204という指定にしています
2020-04-03 17:13:41 +09:00