Commit Graph

370 Commits

Author SHA1 Message Date
dependabot[bot] e4aadc1992
chore(deps): bump glob-parent from 5.1.1 to 5.1.2 in /packages/client (#8289)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 21:08:28 +09:00
dependabot[bot] f25ca768ad
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /packages/client (#8288)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 21:08:06 +09:00
dependabot[bot] 42149416e1
chore(deps): bump axios from 0.21.1 to 0.21.4 in /packages/client (#8286)
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 21:07:46 +09:00
Johann150 afb6304979
fix: regular expressions in word mutes (#8254)
* fix: handle regex exceptions for word mutes

* add i18n strings

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

* stricter input validation in backend

* add migration for hard mutes

* fix

* use correct regex library in migration

* use query builder to avoid SQL injection

Co-authored-by: Robin B <robflop98@outlook.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2022-02-10 19:47:46 +09:00
syuilo 108ec412c3 enhance(client): tweak chart 2022-02-10 19:02:52 +09:00
syuilo 0afebcfd9e enhance: improve federation chart 2022-02-10 17:45:12 +09:00
syuilo f512b29443 chore(client): check textarea exists 2022-02-09 21:27:42 +09:00
syuilo 4ae1a65958 feat: インスタンスのテーマカラーを設定できるように 2022-02-09 21:25:48 +09:00
syuilo 5c5d3c1a24 fix(client): コントロールパネルのユーザー、ファイルにて、インスタンスの表示範囲切り替えが機能しない問題を修正
Fix #8252
2022-02-09 13:38:54 +09:00
syuilo ff59984ff4 chore: tweak chart labels 2022-02-09 13:25:08 +09:00
syuilo 1162f8bcff feat(client): update fontawesome v6 and self-hosting
Resolve #7475
2022-02-09 13:23:29 +09:00
Johann150 744c4c7acb
fix: save followers/following visibility (#8276) 2022-02-09 12:43:59 +09:00
syuilo 7fcd9435f3 feat: introduce intersection calculation of charts 2022-02-09 03:46:58 +09:00
syuilo eb894c330f fix(client): 環境に依っては返信する際のカーソル位置が正しくない問題を修正 2022-02-08 23:53:01 +09:00
syuilo f4e28983a1 feat: improve federation chart 2022-02-08 23:43:51 +09:00
syuilo f7ff39e7ff chore: better label 2022-02-08 23:25:48 +09:00
syuilo f50dd5d677 🎨 2022-02-08 23:15:43 +09:00
syuilo adf3493af8 feat: notes/instance/perUserNotesチャートに添付ファイル付きノートの数を追加 2022-02-08 23:12:37 +09:00
syuilo e9190599ca 🎨 2022-02-08 22:36:07 +09:00
syuilo aa7ab1c1e0 🎨 2022-02-08 19:20:09 +09:00
syuilo 60b6601d3e Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-02-08 18:46:45 +09:00
syuilo 190b47aad2 feat(client): デバイスの種類を手動指定できるように 2022-02-08 18:46:39 +09:00
Johann150 e902178153
fix: instance ticker (#8260)
* add type and default values

* remove unnecessary string operation
2022-02-08 16:38:52 +09:00
syuilo 3197390ed4 feat(client): 自インスタンス情報ページでチャートを見れるように 2022-02-08 15:50:26 +09:00
syuilo 5792eea1b1 enhance(client): improve tooltip position calclation 2022-02-08 15:37:31 +09:00
syuilo e5d6d1dcf0 🎨 2022-02-07 14:56:49 +09:00
nullobsi 3ff89fa7ec
feat: Option to show replies in timeline (rebase #7685) (#8202)
* Add an option for timeline replies. Credit to Emilis (puffaboo)

* update db on request
2022-02-06 16:02:48 +09:00
tamaina 6cbd66b534
fix: v-sizeディレクティブの動作を修正 (#8249)
* Fix size directive behavior not activated

* calc

* wip

* cache computed classes

* fix Vue3では使えなくなった

* 不要なIntersection Observerを削除

* comment
2022-02-06 10:59:36 +09:00
syuilo cc7a1808ec imprpve active users chart 2022-02-06 06:24:06 +09:00
syuilo 80fa92fb97 improve chart 2022-02-06 00:43:22 +09:00
syuilo c1b264e4e9
Improve chart engine (#8253)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update core.ts

* wip

* wip

* #7361

* delete network chart

* federationChart強化 apRequestChart追加

* tweak
2022-02-06 00:13:52 +09:00
syuilo 0b462feff6 enhance(client): improve chart rendering 2022-02-04 16:39:09 +09:00
tamaina d31945e1fd
fix: タイムライン種別を切り替えると「新しいノートがあります」の表示が残留してしまうのを修正 (#8250)
Fix #6831
2022-02-04 08:39:20 +09:00
syuilo 9ee0db95ac refactor: use date-fns 2022-02-04 01:56:33 +09:00
syuilo 5e198381d3 🎨 2022-02-03 02:08:54 +09:00
syuilo 978282404a fix(client): fix compare-versions import 2022-02-03 01:45:34 +09:00
syuilo 9b7b8bb9a1 fix(client): ツールチップの表示位置が正しくない問題を修正 2022-02-02 01:32:26 +09:00
syuilo 557003d5c4 tweak 2022-02-02 00:27:22 +09:00
tamaina ae3abc2126
fix: Fix Sideview (#8235)
* Fix #7890

* a-

* 3度目の正直

* fix

* ✌️

* update CHANGELOG

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-01 23:48:19 +09:00
nullobsi bfc95ccf73
fix: ensure that specified users does not get duplicates (#8233)
* ensure that specified users does not get duplicates

* Update packages/client/src/components/post-form.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-01 21:49:34 +09:00
syuilo bd53c28ae1 fix eslint rule 2022-01-31 21:29:08 +09:00
syuilo c260343125 add eslint rule 2022-01-31 21:24:11 +09:00
syuilo 8560e107bc enhance(client): Chartjsのツールチップを自前に 2022-01-31 21:07:33 +09:00
syuilo a2dcf2fc41 feat(client): 連合インスタンスページからインスタンス情報再取得を行えるように
Resolve #8231
2022-01-31 20:38:26 +09:00
syuilo d72f0779b6
fix federation widget 2022-01-31 16:50:40 +09:00
Johann150 ea5148ca0f
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 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 aa64ff6c94 update misskey-js 2022-01-30 11:32:42 +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 a6d4868ff0 fix(client): DMページでメンションが含まれる問題を修正
Fix #8211
2022-01-28 13:39:54 +09:00
syuilo 82e81a0984 refactor(client): use composition api 2022-01-28 12:30:59 +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 2752858c7c fix(client): トレンドウィジェットが動作しないのを修正 2022-01-28 01:13:52 +09:00
syuilo 86931bdafd fix(client): 「クリップ」ページが開かない問題を修正 2022-01-28 01:09:46 +09:00
syuilo 389350ba77 fix(client): 投稿のNSFW画像を表示したあとにリアクションが更新されると画像が非表示になる問題を修正
Fix #8208
2022-01-28 01:05:31 +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 e5d56a7cfe fix(client): チャットが見れない
Fix #8203
2022-01-27 17:55:11 +09:00
syuilo 779bd244a6 chore: fix instant form handling 2022-01-27 17:38:02 +09:00
syuilo f3be43c39c update vue 2022-01-27 00:13:36 +09:00
tamaina 2f67ec2f84
enhance: MediaListでは、サーバーで許可された形式しか表示しないように (#8113)
* wip

* fix
2022-01-27 00:08:48 +09:00
Kainoa Kanter 25cac0089f
Fix pop-out bug (#8170) 2022-01-26 17:11:41 +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
syuilo c3f3f118c3 🎨 2022-01-26 00:51:01 +09:00
Johann150 e51f59e1b7
disable animations on more transitions (#8112) 2022-01-25 23:18:21 +09:00
Hyunseung Jeon 562c4d99e6
fix: change keypress to keydown (#8192) 2022-01-25 18:01:29 +09:00
MeiMei fa554f1684
fix: アップロードエラー時の処理を修正 (#8182)
* アップロードのエラー応答で詰むのを修正

* CHANGELOG
2022-01-24 02:18:27 +09:00
syuilo 4ee859b691 fix(client): タイムラインのkeep-aliveが効かなくなっているのを修正 2022-01-21 21:47:36 +09:00
syuilo 8cdc619f8f chore(client): add #misskey button 2022-01-21 21:26:39 +09:00
syuilo 2c47196600 wip: refactor(client): migrate components to composition api 2022-01-21 21:16:12 +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 b388b78892 update dep 2022-01-21 18:53:34 +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
syuilo ecca0d69a4 update deps 2022-01-21 17:04:48 +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 18d0fcae9c.

* Revert "use wait?"

This reverts commit 5aa8feec9c.

* 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
xianon f14aba65c5
モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160) 2022-01-19 00:25:29 +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