Commit Graph

249 Commits

Author SHA1 Message Date
tamaina 55b3ae22ee
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 149edaecab refactor(client): use setup sugar 2022-01-29 03:03:23 +09:00
syuilo f0e720931b fix(client): 投稿フォームのハッシュタグ保持フィールドが動作しない問題を修正
Fix #8212
2022-01-29 02:54:56 +09:00
Johann150 29b33b37ee
round relative time (#8199) 2022-01-28 15:29:24 +09:00
syuilo 9ffab33037 fix(client): リアクション設定で絵文字ピッカーが開かないのを修正 2022-01-28 12:30:47 +09:00
syuilo bb6b912aef fix 2022-01-28 12:21:35 +09:00
syuilo 974269b8f1 refactor 2022-01-28 12:20:42 +09:00
syuilo bfc9873fb9 refactor(client): use setup sugar 2022-01-28 12:14:21 +09:00
syuilo b946d89ec1 refactor(client): better semantics 2022-01-28 11:53:12 +09:00
syuilo 57ec04d9ec refactor(client): i18n.locale -> i18n.ts 2022-01-28 11:39:49 +09:00
syuilo 6ebab5f577 chore(client): improve chart rendering 2022-01-28 11:19:18 +09:00
syuilo a9960ac63a refactor(client): use composition api 2022-01-28 00:52:05 +09:00
syuilo 2a4f2fba09 refactor(client): use composition api 2022-01-28 00:46:49 +09:00
syuilo 779bd244a6 chore: fix instant form handling 2022-01-27 17:38:02 +09:00
tamaina 2f67ec2f84
enhance: MediaListでは、サーバーで許可された形式しか表示しないように (#8113)
* wip

* fix
2022-01-27 00:08:48 +09:00
syuilo ad2a3eed9b 🎨 2022-01-26 03:31:10 +09:00
syuilo f7a90e041c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-26 03:26:40 +09:00
syuilo 0b4a076f66 refactor 2022-01-26 03:26:34 +09:00
Derek 4e1974c6e6
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
Johann150 e51f59e1b7
disable animations on more transitions (#8112) 2022-01-25 23:18:21 +09:00
syuilo 901453ba7d chore(client): add tooltip 2022-01-21 20:51:07 +09:00
syuilo 10609eebfa 投稿したらアカウントを元に戻すように 2022-01-21 20:19:56 +09:00
syuilo 331afcb96a feat(client): make possible to switch account instantly in post form 2022-01-21 20:17:31 +09:00
syuilo 43baafbebb Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-21 18:27:37 +09:00
syuilo e3a5584d0a feat: increase files limit for note
#8062
2022-01-21 18:27:33 +09:00
nullobsi 76db7ba781
update local copy of file when describing (#8131) 2022-01-21 17:43:51 +09:00
Acid Chicken (硫酸鶏) 9a4267f01f
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
tamaina e1d69e236f
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 cbb7e95d82
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
tamaina 1bd7c55c88
post-form.vue (#8164) 2022-01-20 23:15:08 +09:00
syuilo 2a1d9a7428 refactor 2022-01-20 01:27:41 +09:00
syuilo b5ccac3cb5 refactor 2022-01-19 23:51:37 +09:00
syuilo d7d533f9de fix #8158 2022-01-19 23:51:28 +09:00
tamaina 7be09a4af9
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
syuilo a8fad1b61c refactor 2022-01-18 21:35:57 +09:00
tamaina 9869f01e7c
Fix #8151 (#8152) 2022-01-18 21:32:17 +09:00
syuilo 9885c6ba6c wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
syuilo df61e173c1 wip: refactor(client): migrate components to composition api 2022-01-16 11:02:27 +09:00
syuilo 8322c90834 refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
syuilo 689e75e10a wip: refactor(client): migrate components to composition api 2022-01-16 08:49:27 +09:00
syuilo 133b5c6391 wip: refactor(client): migrate components to composition api 2022-01-16 08:38:55 +09:00
syuilo ed5c918d70 wip: refactor(client): migrate components to composition api 2022-01-16 08:24:53 +09:00
syuilo 7cbeef21e1 wip: refactor(client): migrate components to composition api 2022-01-16 07:47:28 +09:00
syuilo 9693dfb09d wip: refactor(client): migrate components to composition api 2022-01-16 06:59:35 +09:00
syuilo c17e8fa8a4 wip: refactor(client): migrate components to composition api 2022-01-16 01:46:25 +09:00
syuilo 21c9705a0f wip: refactor(client): migrate components to composition api 2022-01-15 20:42:30 +09:00
syuilo 45462e4a5e wip: refactor(client): migrate paging components to composition api 2022-01-14 12:02:10 +09:00
syuilo c8a90ec7d1 wip: refactor(client): migrate paging components to composition api 2022-01-14 10:35:32 +09:00
syuilo 41ece00789 wip: refactor(client): migrate paging components to composition api 2022-01-14 10:29:18 +09:00
syuilo 28193f12ca wip: refactor(client): migrate paging components to composition api 2022-01-14 10:25:51 +09:00
syuilo ef4d78dda2 wip: refactor(client): migrate paging components to composition api 2022-01-13 02:55:19 +09:00
syuilo 2f128bcd3c Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-01-11 00:05:33 +09:00
tamaina 8855a5fffb
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 f2cbd26a85 fix 2022-01-10 20:17:38 +09:00
syuilo 186a9e3b41 wip: refactor(client): migrate paging components to composition api 2022-01-10 01:00:50 +09:00
syuilo f9882a0c5c wip: migrate paging components to composition api 2022-01-10 00:45:20 +09:00
syuilo d3315bda11 wip: migrate paging components to composition api 2022-01-09 22:57:27 +09:00
syuilo 586c11251a wip: migrate paging components to composition api
#7681
2022-01-09 21:35:35 +09:00
syuilo 0bbde336b3
refactor: Widgetのcomposition api移行 (#8125)
* wip

* wip

* wip

* wip

* wip

* wip

* fix
2022-01-08 20:30:01 +09:00
syuilo 82854236f3 clean up 2022-01-07 15:05:45 +09:00
syuilo 6558cd2f27 refactor(client): use composition api 2022-01-07 15:02:25 +09:00
syuilo f06ded9433 refactor(client): use composition api 2022-01-07 14:44:05 +09:00
syuilo 1b867cc1a4 refactor(client): use composition api 2022-01-07 13:27:17 +09:00
syuilo 1622dfcb53 refactor(client): use composition api 2022-01-07 13:26:12 +09:00
syuilo 3b1961bb3d refactor(client): use composition api 2022-01-06 23:10:47 +09:00
syuilo 3148538f3f refactor(client): use composition api 2022-01-06 23:07:32 +09:00
syuilo 5e4877b8a4 tweak ui 2022-01-04 23:37:26 +09:00
syuilo 69d7cfc5ce tweak ui 2022-01-04 22:42:04 +09:00
syuilo 89053d5747 tweak ui 2022-01-04 21:16:41 +09:00
syuilo 6a5713f5e5 tweak ui 2022-01-04 15:36:14 +09:00
syuilo 41ed9a1a72 tweak client 2022-01-02 21:35:23 +09:00
syuilo 616b18a9e5 enhance(client): tweak ui 2021-12-30 21:47:48 +09:00
tamaina e159f15600
enhance: pizzaxでstreamingのuser storage updateイベントを監視して更新 (#8095)
* wip

* wip?

* ?

* streamingのuser storage updateイベントを監視して更新

* 必要な時以外はストレージを更新しない

* fix?

* wip

* fix

* fix
2021-12-29 22:13:09 +09:00
syuilo c537a0ba93 enhance(client): 2021-12-29 13:14:19 +09:00
syuilo f216dd7617 clean up 2021-12-29 04:30:12 +09:00
syuilo 5c7181ca21 feat(client): svg sparkle effect
Resolve #8088
2021-12-29 04:13:45 +09:00
syuilo ae2d71553e enhance(client): 🎨 2021-12-27 22:59:14 +09:00
syuilo fe3609451e enhance(client): 🎨 2021-12-26 01:42:50 +09:00
syuilo 89a532eeac chore(client): tweak style 2021-12-25 16:53:15 +09:00
syuilo b05cfe4a84 enhance(client): improve note preview
Fix #8029
2021-12-25 15:49:37 +09:00
syuilo 8e7744a695 fix(client): ドロワーメニューでセーフエリアを考慮するように 2021-12-24 23:25:23 +09:00
syuilo b463663175 enhance(client): tweak ui 2021-12-24 12:34:24 +09:00
syuilo 99ced12ac5 fix(client): fix zindex issue
Fix #8086
2021-12-24 01:07:04 +09:00
syuilo 2e80f9dfba clean up 2021-12-23 17:05:50 +09:00
syuilo 3a990dce75 refactor(client): refactor 2021-12-23 17:05:26 +09:00
syuilo cc441258db enhance(client): tweak channel pages 2021-12-23 16:10:13 +09:00
tamaina dc0e55bf16
wip (#8077) 2021-12-21 00:20:30 +09:00
syuilo 936fb136d2 🎨 2021-12-18 20:12:09 +09:00
syuilo 9b771baa5e 🎨 2021-12-18 15:00:29 +09:00
syuilo d6e85ffb59 feat(client): improve toast component and show welcome message 2021-12-18 14:55:53 +09:00
syuilo f9e3fd7001 fix(client): fix zindex issue 2021-12-18 12:14:27 +09:00
syuilo ba1e14443c fix(client): fix zindex issue
Fix #8064
Fix #8063
2021-12-18 12:12:47 +09:00
syuilo 06837662a9 fix(client): tweak style 2021-12-17 19:36:18 +09:00
syuilo f9024a0058 improve(client): tweak drawer max height 2021-12-17 19:34:58 +09:00
syuilo 493ff2eed5
fix(client): fix zindex issue 2021-12-17 17:37:58 +09:00
syuilo d9257a5c0e 🎨 2021-12-17 16:14:43 +09:00
syuilo f7c90b58d6 enhance(client): リアクションピッカーの表示方法を選択できるように 2021-12-17 16:14:31 +09:00
syuilo e96a914b6b 🎨 2021-12-17 13:15:06 +09:00
syuilo 6ab2c7780c enhance(client): improve modal menu for mobile 2021-12-17 02:14:40 +09:00
syuilo 58b9dc581e fix(client): fix zindex issues
Fix #8060
2021-12-16 10:57:07 +09:00
syuilo fa8eb43eaf fix(client): 一部のコンポーネントが裏に隠れるのを修正 2021-12-15 21:44:41 +09:00
syuilo 50f2025421 fix(client): オートコンプリートがダイアログの裏に隠れる問題を修正 2021-12-14 23:27:38 +09:00
syuilo a46e2f2868 Update formula-core.vue 2021-12-14 22:37:18 +09:00
syuilo 6d918f195a clean up 2021-12-11 23:21:33 +09:00
syuilo 31a3748a18 fix(client): fix z-index bug 2021-12-11 23:01:05 +09:00
syuilo 0b038f6477 fix(client): メニューなどがウィンドウの裏に隠れる問題を修正 2021-12-10 18:20:41 +09:00
syuilo 225d7701a4 🎨 2021-12-10 16:01:35 +09:00
syuilo 1cae39e281 tweak style 2021-12-10 15:33:01 +09:00
syuilo d3c7c0ebe3 client: tweak style 2021-12-10 10:46:29 +09:00
syuilo 46c0280764 refactor(client): 2021-12-10 01:22:22 +09:00
syuilo e804a299e0 fix(client): better hover detection 2021-12-05 20:01:52 +09:00
syuilo bcf7530eef refactor(client): 2021-12-05 16:57:49 +09:00
syuilo fbe4869d1e fix(client): タッチ機能付きディスプレイを使っていてマウス操作をしている場合に一部機能が動作しない問題を修正 2021-12-05 13:10:19 +09:00
syuilo 8a3f860213 fix(client): fix range slider rendering 2021-12-04 20:35:08 +09:00
syuilo 8de8de7669 client: tweak ui 2021-12-03 16:07:50 +09:00
syuilo 5c8561c903 client: tweak ui 2021-12-03 13:55:30 +09:00
syuilo 5fe2e8a59a client: tweak ui 2021-12-03 13:52:57 +09:00
syuilo 902bed4db3 client: tweak ui 2021-12-03 12:00:11 +09:00
xianon 22464c434e
fix: 画像ファイルの縦横サイズの取得で Exif Orientation を考慮する (#8014)
* 画像ファイルの縦横サイズの取得で Exif Orientation を考慮する

* test: Add rotate.jpg test

* Webpublic 画像を返す時のみ Exif Orientation を考慮して縦横サイズを返す

* test: Support orientation
2021-12-03 11:19:28 +09:00
syuilo 14fa8b177d client: tweak ui 2021-12-02 20:46:16 +09:00
nullobsi 3eef0a65c2
fix mentions in replies (#8030) 2021-12-02 20:27:42 +09:00
syuilo bcd188a0e0 enhance(client): make possible to close image dialog with click
Related #8023
2021-12-02 20:20:40 +09:00
syuilo f38b6a1806 client: tweak ui 2021-12-02 20:09:12 +09:00
syuilo 2fc58a780e feat(client): Renoteなノート詳細ページから元のノートページに遷移できるように 2021-11-28 20:29:37 +09:00
syuilo 561b0fc10e feat(client): show confirm dialog when vote 2021-11-28 20:23:48 +09:00
syuilo e8005c8d3a client: refine ui 2021-11-28 20:07:37 +09:00
tamaina 8e0108a0b8
fix: notification.vueのIntersectionObserverまわりを修正 (#8010)
* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

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

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

* disconnect

* oops

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2021-11-26 13:43:11 +09:00
Richard "EpicKitty" Bowey dec7c4f722
Implemented a rotate MFM (#8016)
Co-authored-by: Richard Bowey <me@epickitty.uk>
2021-11-26 13:39:57 +09:00
syuilo 9604ad3dc1 fix(client): リアクションツールチップ、Renoteツールチップのユーザーの並び順を修正 2021-11-21 14:09:41 +09:00
syuilo 8e04bd12cf fix(client): ログインにおいてパスワードが誤っている際のエラーメッセージが正しく表示されない問題を修正 2021-11-21 14:01:53 +09:00
syuilo f5bea67515 client: ノートにモデレーターバッジを表示するのを廃止 2021-11-21 13:36:44 +09:00
syuilo 5d968afa74 update linr 2021-11-19 19:36:12 +09:00
syuilo cb4d65b5c9 feat(client): keep line breaks of translated text to improve readability 2021-11-19 19:03:25 +09:00
syuilo 1c6463e66f feat(client): collapse sub note automatically 2021-11-19 18:56:30 +09:00
syuilo 73b5c12927 introduce lint for client
Resolve #7998
2021-11-18 23:32:43 +09:00
Johann150 12fad68f58
limit depth of reply posts (#7979)
* limit depth of reply posts

* some tweaks

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2021-11-18 22:11:44 +09:00
syuilo ea9aeef9d8 refactor(client): refactor dialog functions to improve type inference 2021-11-18 18:45:58 +09:00
syuilo 50e1040f1e fix(client): fix tooltip style 2021-11-14 13:13:22 +09:00
Johann150 0f9a6417b0
fix(client): reaction viewer layout (#7942)
The profile picture and name should be grouped together as they belong, and
it should be clear which picture belongs to which name.
2021-11-13 11:38:26 +09:00
syuilo 187696c973 refactor(client): improve readability 2021-11-12 23:54:02 +09:00
syuilo 4b7b51d5cc refactor(client): use composition api for tooltip logic 2021-11-12 23:53:10 +09:00
Johann150 0e3213ff6d
enhance: show renoters (#7954)
* refactor: deduplicate renote button into component

For now the renoters tooltip just uses the reaction viewer component
with a fixed emoji symbol instead.

* chore: remove unnecessary CSS

* fix: forgot to rename variable

* enhance: use own tooltip instead of reaction viewer

* clean up style

* fix additional renoters number

* rename file to better represent content
2021-11-12 23:15:14 +09:00
syuilo 9b092e918a refactoring 2021-11-12 21:29:59 +09:00
nullobsi c038892795
fix: mention local users in replies (#7975)
* mention local users in replies

* fix merge
2021-11-12 19:31:56 +09:00
syuilo 926eb34680 fix errors 2021-11-12 19:07:59 +09:00
syuilo e6e33faefb fix errors 2021-11-12 18:54:42 +09:00
syuilo 0a2e046b28 refactoring: グローバルコンポーネントを認識するように 2021-11-12 18:41:56 +09:00
syuilo 6496835515 viaMobileフラグ廃止
Close #7965
2021-11-12 15:11:20 +09:00
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00