Commit Graph

441 Commits

Author SHA1 Message Date
MeiMei
03f9c73bc5 refactor: APIで非JSON入力の型変換はendpointに渡す前に行うように (#8229)
* Resolve #8228

* fix
2022-01-31 01:40:27 +09:00
Johann150
8fb28183bb fix federation widged (#8221)
The variables accidentally shadowed the variables that contain the ref's
to be rendered into the template.
2022-01-30 21:48:40 +09:00
tamaina
22da2fab2d enhance: メニュー関連をComposition API化、switchアイテム追加 (#8215)
* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備

* メニュー型定義を分離 (TypeScriptの型支援が効かないので)

* disabled

* make keepOriginal to follow setting value

* fix

* fix

* Fix

* clean up
2022-01-30 14:11:52 +09:00
syuilo
8c76984b53 update misskey-js 2022-01-30 11:32:42 +09:00
syuilo
7ca456bb45 refactor(client): use setup sugar 2022-01-29 03:03:23 +09:00
syuilo
7633e122d6 fix(client): 投稿フォームのハッシュタグ保持フィールドが動作しない問題を修正
Fix #8212
2022-01-29 02:54:56 +09:00
shibao
bfa5657006 Add img-src and media-src to Content-Security-Policy header for files and media proxy (#8188)
* add img-src and media-src to csp in file and media proxy

* add csp changes to changelog

* sort and remove trailing semicolon
2022-01-29 02:23:18 +09:00
Johann150
07ab5d181b round relative time (#8199) 2022-01-28 15:29:24 +09:00
syuilo
aa49617e84 fix(client): DMページでメンションが含まれる問題を修正
Fix #8211
2022-01-28 13:39:54 +09:00
syuilo
ffa050bd55 refactor(client): use composition api 2022-01-28 12:30:59 +09:00
syuilo
50c8f699b2 fix(client): リアクション設定で絵文字ピッカーが開かないのを修正 2022-01-28 12:30:47 +09:00
syuilo
f67686eada fix 2022-01-28 12:21:35 +09:00
syuilo
335cb3959a refactor 2022-01-28 12:20:42 +09:00
syuilo
f098fb2dae refactor(client): use setup sugar 2022-01-28 12:14:21 +09:00
syuilo
875f1b76e7 refactor(client): better semantics 2022-01-28 11:53:12 +09:00
syuilo
0f57ea08e7 refactor(client): i18n.locale -> i18n.ts 2022-01-28 11:39:49 +09:00
syuilo
e355b820e5 chore(client): improve chart rendering 2022-01-28 11:19:18 +09:00
syuilo
e4bd65f833 fix(client): トレンドウィジェットが動作しないのを修正 2022-01-28 01:13:52 +09:00
syuilo
ec99b00565 fix(client): 「クリップ」ページが開かない問題を修正 2022-01-28 01:09:46 +09:00
syuilo
f1e0db1672 fix(client): 投稿のNSFW画像を表示したあとにリアクションが更新されると画像が非表示になる問題を修正
Fix #8208
2022-01-28 01:05:31 +09:00
syuilo
c33a2654da refactor(client): use composition api 2022-01-28 00:52:05 +09:00
syuilo
519fcb7d97 refactor(client): use composition api 2022-01-28 00:46:49 +09:00
syuilo
294f54382a fix(client): チャットが見れない
Fix #8203
2022-01-27 17:55:11 +09:00
syuilo
0df03ccc5b chore: fix instant form handling 2022-01-27 17:38:02 +09:00
syuilo
daa0e136a2 update vue 2022-01-27 00:13:36 +09:00
tamaina
a57552e746 enhance: MediaListでは、サーバーで許可された形式しか表示しないように (#8113)
* wip

* fix
2022-01-27 00:08:48 +09:00
syuilo
d12f8e8914 refactor(backend): fix type 2022-01-26 18:52:40 +09:00
syuilo
76ec0fc095 refactor(backend): fix type 2022-01-26 18:48:44 +09:00
syuilo
620e8f4432 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-26 18:42:16 +09:00
syuilo
5414944b21 refactor: fix type 2022-01-26 18:42:14 +09:00
Kainoa Kanter
ea0dcd8240 Fix pop-out bug (#8170) 2022-01-26 17:11:41 +09:00
syuilo
aba7ab181a 🎨 2022-01-26 03:31:10 +09:00
syuilo
fd633df09c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-26 03:26:40 +09:00
syuilo
a6c45f71b7 refactor 2022-01-26 03:26:34 +09:00
Derek
a9651d7703 enhance: Improve poll-editor UI + composition port (#8186)
* Poll editor UI changes

Use a horizontal layout when possible, wrap to vertical when constrained

* Port poll-editor to composition API

* Fix poll-editor `get` time calcs

* fix

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-26 03:26:12 +09:00
syuilo
1e31e8d1ca refactor(backend): use insert instead of save 2022-01-26 00:51:26 +09:00
syuilo
f762e87d07 🎨 2022-01-26 00:51:01 +09:00
Johann150
4b88679ae1 disable animations on more transitions (#8112) 2022-01-25 23:18:21 +09:00
Hyunseung Jeon
4b64c72957 fix: change keypress to keydown (#8192) 2022-01-25 18:01:29 +09:00
MeiMei
7d2de36501 fix: アップロードエラー時の処理を修正 (#8182)
* アップロードのエラー応答で詰むのを修正

* CHANGELOG
2022-01-24 02:18:27 +09:00
MeiMei
3150708d7a refactor, enhance: ドライブ引数のオブジェクト化, 追加時のcomment指定 (#8180)
* refactor: ドライブの引数をオブジェクト化する Resolve #8177

* Resolve #8181

* fix

* archivePath
2022-01-23 22:52:35 +09:00
MeiMei
988f34f77d Unifying Misskey-specific IRIs in JSON-LD @context Resolve #8116 (#8178)
* Unifying Misskey-specific IRIs in JSON-LD `@context` Resolve #8116

* CHANGELOG
2022-01-23 01:52:35 +09:00
xianon
b0912f4893 NodeInfo にユーザー数と投稿数の情報を追加する (#8126) 2022-01-22 02:13:29 +09:00
syuilo
c7ec5fda6f fix(client): タイムラインのkeep-aliveが効かなくなっているのを修正 2022-01-21 21:47:36 +09:00
syuilo
0f5ff7584c chore(client): add #misskey button 2022-01-21 21:26:39 +09:00
syuilo
72e69bbd5a wip: refactor(client): migrate components to composition api 2022-01-21 21:16:12 +09:00
syuilo
1b62061fb3 chore(client): add tooltip 2022-01-21 20:51:07 +09:00
syuilo
4f744cda6c 投稿したらアカウントを元に戻すように 2022-01-21 20:19:56 +09:00
syuilo
de5d43c280 feat(client): make possible to switch account instantly in post form 2022-01-21 20:17:31 +09:00
syuilo
c131707f90 update dep 2022-01-21 18:53:34 +09:00
syuilo
e1b9c22874 enhance: convert svg to png of custom emojis 2022-01-21 18:47:02 +09:00
syuilo
f6605a9e51 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-21 18:27:37 +09:00
syuilo
5ad811ea30 feat: increase files limit for note
#8062
2022-01-21 18:27:33 +09:00
nullobsi
4c52e52fd3 update local copy of file when describing (#8131) 2022-01-21 17:43:51 +09:00
Acid Chicken (硫酸鶏)
dd6b203d29 fix(#8133): hCaptcha の reCAPTCHA 互換挙動を無効化する (#8135)
* fix(#8133): hCaptcha の reCAPTCHA 互換挙動を無効化する

* Update packages/client/src/components/captcha.vue

* fix: hCaptcha host

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-01-21 17:43:14 +09:00
syuilo
2328ddf9a3 refactor 2022-01-21 17:15:14 +09:00
syuilo
e7196f261d update deps 2022-01-21 17:04:48 +09:00
tamaina
3b1c365e81 enhance: e2eテストをできるだけ改良してみた (#8159)
* update docker image?

* 続

* serial run delete from "${table}" cascade

* use cypress official github action

* refuse install by cypress action

* clean up

* use wait?

* use more wait?

* Revert "use more wait?"

This reverts commit 18d0fcae9c7d8f98a4cafb4a846a031ece57350c.

* Revert "use wait?"

This reverts commit 5aa8feec9cdc3e2f79e566249f0a0eff6c0df6a0.

* fix

* test

* test

* log?

* 握りつぶしてみる

* clean up

* env?

* clean up?

* disable video

* add comment

* remove test

* 成功?

* test browser

* nodeインストール無効化

* node16.13.0-chrome95-ff94

* node.js復活

* ?

* ちょっと戻してみる

* chrome?

* cross browser test2

* --shm-size=2g

* artifact?

* misskey.local?

* firefoxはあきらめる

* not headless?

* oops

* fix

* ??

* test1

* if?

* fail-fast: false

* headless: false

* easy error ignoreing describe

* エラーの解消
とちょっとリファクター

* add browser name to artifact

* Install mplayer for FireFox

* no wait?

* タイムアウトを甘くしてみる

* firefoxをあきらめる(n回目)

* remove timeout setting

* wait復活

* Update basic.js

* Update index.js

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 16:43:56 +09:00
Johann150
627e3c07b9 enhance: Forward report (#8001)
* implement sending AP Flag object

Optionally allow a user to select to forward a report about a remote
user to the other instance. This is added in a backwards-compatible way.

* add locale string

* forward report only for moderators

* add switch to moderator UI to forward report

* fix report note url

* return forwarded status from API

apparently forgot to carry this over from my testing environment

* object in Flag activity has to be an array

For correct interoperability with Pleroma the "object" property of the Flag
activity has to be an array.

This array will in the future also hold the link to respective notes, so it
makes sense to correct this on our side.

* Update get-note-menu.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 03:06:38 +09:00
Johann150
c42e63a1ca fix: code url in documentation (#8117)
It seems this was not changed while refactoring the modules apart.
2022-01-21 03:01:45 +09:00
syuilo
2e8c622c53 feat(server): add more metadata for emoji export 2022-01-21 02:56:08 +09:00
tamaina
3f895af3d1 post-form.vue (#8164) 2022-01-20 23:15:08 +09:00
tamaina
56dbd1ae69 send-drive-file svg as png (#8107) 2022-01-20 03:05:52 +09:00
tamaina
9c12277948 fix: proxyでsvgをpngに変換するように (#8106)
* wip

* revert send-drive-file change

* fix

* Update packages/backend/src/server/proxy/proxy-media.ts

Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>

Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
2022-01-20 03:03:28 +09:00
syuilo
93f79c1d8c refactor(server): use named export 2022-01-20 02:43:13 +09:00
syuilo
3230cdaa4f feat(server): store mime type of webpublic 2022-01-20 02:40:13 +09:00
syuilo
6c01a2aec1 refactor(server): use insert instead of save 2022-01-20 02:33:20 +09:00
syuilo
934132e08a refactor 2022-01-20 01:27:41 +09:00
syuilo
78a77a174b refactor 2022-01-19 23:51:37 +09:00
syuilo
8e93632fcf fix #8158 2022-01-19 23:51:28 +09:00
xianon
ad1649bb96 モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160) 2022-01-19 00:25:29 +09:00
tamaina
6f81b2e747 refactor: Composition APIへ移行 (#8138)
* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* wip

* wip drive.file.vue, drive.vue

* fix prop

* wip(

* components/drive.folder.vue

* maybe ok

* ✌️

* fix variable

* FIX FOLDER VARIABLE

* components/emoji-picker-dialog.vue

* Hate `$emit`

* hate global property

* components/emoji-picker-window.vue

* components/emoji-picker.section.vue

* fix

* fixx

* wip components/emoji-picker.vue

* fix

* defineExpose

* ユニコード絵文字の型をもっといい感じに

* components/featured-photos.vue

* components/follow-button.vue

* forgot-password.vue

* forgot-password.vue

* 🎨

* fix
2022-01-18 23:06:16 +09:00
tamaina
66ef4f1ebe refactor: APIエンドポイントファイルの定義を良い感じにする (#8154)
* Fix API Schema Error

* Delete SimpleSchema/SimpleObj
and Move schemas to dedicated files

* Userのスキーマを分割してみる

* define packMany type

* add ,

* Ensure enum schema and Make "as const" put once

* test?

* Revert "test?"

This reverts commit 97dc9bfa70851bfb7d1cf38e883f8df20fb78b79.

* Revert "Fix API Schema Error"

This reverts commit 21b6176d974ed8e3eb73723ad21a105c5d297323.

* ✌️

* clean up

* test?

* wip

* wip

* better schema def

* ✌️

* fix

* add minLength property

* wip

* wip

* wip

* anyOf/oneOf/allOfに対応? ~ relation.ts

* refactor!

* Define MinimumSchema

* wip

* wip

* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正

* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正

* Update packages/backend/src/misc/schema.ts

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

* fix

* array oneOfをより正確な型に

* array oneOfをより正確な型に

* wip

* ✌️

* なんかもういろいろ

* remove

* very good schema

* api schema

* wip

* refactor: awaitAllの型定義を変えてみる

* fix

* specify types in awaitAll

* specify types in awaitAll

* ✌️

* wip

* ...

* ✌️

* AllowDateはやめておく

* 不必要なoptional: false, nullable: falseを廃止

* Packedが展開されないように

* 続packed

* wip

* define note type

* wip

* UserDetailedをMeDetailedかUserDetailedNotMeかを区別できるように

* wip

* wip

* wip specify user type of other schemas

* ok

* convertSchemaToOpenApiSchemaを改修

* convertSchemaToOpenApiSchemaを改修

* Fix

* fix

* ✌️

* wip

* 分割代入ではなくallOfで定義するように

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-01-18 22:27:10 +09:00
syuilo
8245de9bef refactor 2022-01-18 21:35:57 +09:00
tamaina
d9de4375e0 Fix #8151 (#8152) 2022-01-18 21:32:17 +09:00
syuilo
afafc55de0 wip: refactor(client): migrate components to composition api
Fix #8155
2022-01-18 21:30:17 +09:00
syuilo
79980a22c3 wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
syuilo
0e08a1c8d2 wip: refactor(client): migrate components to composition api 2022-01-16 15:02:15 +09:00
syuilo
1d530be2cf wip: refactor(client): migrate components to composition api 2022-01-16 11:02:27 +09:00
syuilo
da8e2891cc refactor: more common name 2022-01-16 10:45:48 +09:00
syuilo
76dd3e8ebb refactor: disallow some variable names 2022-01-16 10:20:23 +09:00
syuilo
79c78bb6f2 refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
syuilo
1c801cb778 clean up 2022-01-16 08:50:55 +09:00
syuilo
bdba40051a wip: refactor(client): migrate components to composition api 2022-01-16 08:49:27 +09:00
syuilo
a68113e24f wip: refactor(client): migrate components to composition api 2022-01-16 08:38:55 +09:00
syuilo
2a66ff3991 wip: refactor(client): migrate components to composition api 2022-01-16 08:24:53 +09:00
syuilo
99278833e8 wip: refactor(client): migrate components to composition api 2022-01-16 07:55:19 +09:00
syuilo
52c13e9db5 wip: refactor(client): migrate components to composition api 2022-01-16 07:47:28 +09:00
syuilo
363cc98b79 wip: refactor(client): migrate components to composition api 2022-01-16 06:59:35 +09:00
syuilo
42bb5626dc wip: refactor(client): migrate components to composition api 2022-01-16 01:46:25 +09:00
syuilo
d9788c59a4 wip: refactor(client): migrate components to composition api 2022-01-15 20:42:30 +09:00
syuilo
d820a979c1 wip: refactor(client): migrate components to composition api 2022-01-15 20:35:10 +09:00
syuilo
19484b63b4 wip: refactor(client): migrate components to composition api 2022-01-15 17:58:35 +09:00
syuilo
1edd4334cd wip: refactor(client): migrate components to composition api 2022-01-15 16:40:15 +09:00
syuilo
f087242caa wip: refactor(client): migrate components to composition api 2022-01-14 23:23:08 +09:00
syuilo
431054040f wip: refactor(client): migrate paging components to composition api 2022-01-14 12:02:10 +09:00
syuilo
bb4589a1ef wip: refactor(client): migrate paging components to composition api 2022-01-14 10:35:32 +09:00
syuilo
5755f89f3d wip: refactor(client): migrate paging components to composition api 2022-01-14 10:29:18 +09:00
syuilo
789f2e4cab wip: refactor(client): migrate paging components to composition api 2022-01-14 10:25:51 +09:00
syuilo
1ed9f31891 🎨 2022-01-14 01:44:08 +09:00
syuilo
0341e5ea59 wip: refactor(client): migrate paging components to composition api 2022-01-13 02:55:19 +09:00
syuilo
e91fd69f7a wip: refactor(client): migrate paging components to composition api 2022-01-13 02:46:14 +09:00
syuilo
d1f1b9883e wip: refactor(client): migrate paging components to composition api 2022-01-13 02:36:51 +09:00
syuilo
d9572b3bfe wip: refactor(client): migrate paging components to composition api 2022-01-13 02:29:27 +09:00
syuilo
31cf4fa683 refactor 2022-01-13 02:26:10 +09:00
syuilo
9fa7311880 wip: refactor(client): migrate paging components to composition api 2022-01-13 02:21:43 +09:00
syuilo
39ec2a77fa refactor 2022-01-13 01:50:53 +09:00
syuilo
4adb95e034 clean up 2022-01-13 01:46:23 +09:00
syuilo
fcb1232280 git add忘れ 2022-01-13 00:48:58 +09:00
syuilo
fafc01e663 feat: emojis import 2022-01-13 00:47:40 +09:00
syuilo
5bf0fb6934 feat: multiple emojis editing 2022-01-13 00:47:05 +09:00
MeiMei
c81c127196 Fix The unauthenticated git protocol on port 9418 is no longer supported. (#8139) 2022-01-12 17:50:36 +09:00
syuilo
9117fd7a06 bye reversi 2022-01-12 17:34:53 +09:00
syuilo
e2a38a38fc fix 2022-01-12 17:21:57 +09:00
syuilo
bb11127105 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-11 00:05:33 +09:00
tamaina
19160e9ae1 refactor: Composition APIへ移行 (#8121)
* components/abuse-report-window.vue

* use <script setup>

* ✌️

* components/analog-clock.vue

* wip components/autocomplete.vue

* ✌️

* ✌️

* fix

* wip components/captcha.vue

* clean up

* components/channel-follow-button

* components/channel-preview.vue

* components/core-core.vue

* components/code.vue

* wip components/date-separated-list.vue

* fix

* fix autocomplete.vue

* ✌️

* remove global property

* use <script setup>

* components/dialog.vue

* clena up

* fix dialog.vue

* Resolve https://github.com/misskey-dev/misskey/pull/8121#discussion_r781250966
2022-01-11 00:05:18 +09:00
syuilo
8da8b8d314 fix 2022-01-10 20:17:38 +09:00
syuilo
2d1df38157 wip: refactor(client): migrate paging components to composition api 2022-01-10 03:30:35 +09:00
syuilo
903ab475f2 wip: refactor(client): migrate paging components to composition api 2022-01-10 01:00:50 +09:00
syuilo
5e5ba2b1c2 wip: migrate paging components to composition api 2022-01-10 00:45:20 +09:00
syuilo
69f9f87f23 wip: migrate paging components to composition api 2022-01-09 22:57:27 +09:00
syuilo
7f0ec89a1a wip: migrate paging components to composition api
#7681
2022-01-09 21:35:35 +09:00
syuilo
a9262113c3 bye chat ui 2022-01-09 18:50:03 +09:00
syuilo
9535127c26 fix 2022-01-09 00:00:27 +09:00
syuilo
817647a78f refactor: Widgetのcomposition api移行 (#8125)
* wip

* wip

* wip

* wip

* wip

* wip

* fix
2022-01-08 20:30:01 +09:00
syuilo
a8ccb5ef81 bye room 2022-01-07 17:06:47 +09:00
syuilo
03206623f3 remove unused components 2022-01-07 16:50:35 +09:00
syuilo
11f90153ac refactor(client): use composition api 2022-01-07 16:48:51 +09:00
syuilo
44cd849e54 refactor(client): use composition api 2022-01-07 16:34:11 +09:00
syuilo
295752f4ad refactor(client): use composition api 2022-01-07 16:29:08 +09:00
syuilo
5a577b582d clean up 2022-01-07 15:05:45 +09:00
syuilo
769c9192ec refactor(client): use composition api 2022-01-07 15:02:25 +09:00
syuilo
a6774754ed refactor(client): use composition api 2022-01-07 14:44:05 +09:00
syuilo
7db62936e3 refactor(client): use composition api 2022-01-07 13:27:17 +09:00
syuilo
5a8a0e5b4d refactor(client): use composition api 2022-01-07 13:26:12 +09:00
syuilo
436fd8d112 refactor(client): use composition api 2022-01-06 23:10:47 +09:00
syuilo
e6970c5c2d clean up 2022-01-06 23:09:52 +09:00
syuilo
5a23c59083 refactor(client): use composition api 2022-01-06 23:07:32 +09:00
syuilo
ab4853c0d5 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-06 21:29:41 +09:00
tamaina
e3fab387cf 非ログイン時にエラーを吐くconsole.logを除去 (#8119) 2022-01-06 20:07:11 +09:00
syuilo
2a7f422689 tweak ui 2022-01-05 03:09:20 +09:00
syuilo
f4010f78fc tweak ui 2022-01-04 23:37:26 +09:00
syuilo
773f38b171 tweak ui 2022-01-04 22:51:16 +09:00
syuilo
3dae3a7d66 tweak ui 2022-01-04 22:42:04 +09:00
syuilo
b04c3fd03e tweak ui 2022-01-04 21:37:16 +09:00
syuilo
cde60e6dc9 tweak ui 2022-01-04 21:16:41 +09:00
syuilo
4dbe28d5bf tweak ui 2022-01-04 18:47:54 +09:00
syuilo
73a3362b5f tweak ui 2022-01-04 18:35:21 +09:00
syuilo
0772301b1e tweak ui 2022-01-04 18:21:00 +09:00
syuilo
b3d8b01775 clean up 2022-01-04 18:01:30 +09:00