Commit Graph

216 Commits

Author SHA1 Message Date
Andreas Nedbal
e0950fe5ea Refactor instance-mute to use Composition API (#8580)
* refactor(client): refactor instance-mute to use Composition API

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* Apply review suggestion from @Johann150

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-01 11:52:19 +09:00
Andreas Nedbal
c201a90db4 Refactor integration to use Composition API (#8581)
* refactor(client): refactor integration to use Composition API

* fix(client): drop superfluous enable* constants

* refactor(client): deduplicate window opening for services
2022-05-01 11:23:12 +09:00
Andreas Nedbal
06485c7c75 refactor(client): refactor scratchpad to use Composition API (#8565) 2022-04-29 12:26:24 +09:00
Andreas Nedbal
53b4ee6f16 refactor(client): refactor api-console to use Composition API (#8566) 2022-04-29 10:21:02 +09:00
tamaina
83096440cc enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション (#8216)
* wip

* Update packages/client/src/os.ts

Co-authored-by: tamaina <tamaina@hotmail.co.jp>

* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備

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

* disabled

* make keepOriginal to follow setting value

* ✌️

* fix

* fix

* ✌️

* WEBP

* aaa

* ✌️

* webp

* lazy load browser-image-resizer

* rename

* rename 2

* Fix

* clean up

* add comment

* clean up

* jpeg, pngにもどす

* fix

* fix name

* webpでなくする ただしサムネやプレビューはwebpのまま (テスト)

* 動画サムネイルはjpegに

* エラーハンドリング

* ✌️

* v2.2.1-misskey-beta.2

* browser-image-resizer#v2.2.1-misskey.1

* ✌️

* fix alert

* update browser-image-resizer to v2.2.1-misskey.2

* lockfile

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
2022-04-28 11:14:03 +09:00
Johann150
0bff6d06cf refactor: use composition API (#8541) 2022-04-27 15:17:49 +09:00
futchitwo
4509fa10b3 Fix(client): fix profile tab link (#8536) 2022-04-24 14:21:46 +09:00
tamaina
c5aa46c0b9 fix: Fix settings page (#8508)
* Fix settings page

* nanka iroiro

* clean up

* clean up

* インデックスに戻ってもタイトルが残ってしまうのを修正
2022-04-23 19:17:15 +09:00
syuilo
8b2a0a5773 feat: Webhook (#8457)
* feat: introduce webhook

* wip

* wip

* wip

* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
syuilo
921299b02f perf(server): refactor and performance improvements 2022-03-25 16:27:41 +09:00
syuilo
61826829d3 refactor: separate meta api for admin or not 2022-03-25 01:50:28 +09:00
syuilo
a32a3bc5c9 perf(server): disable some antenna features to improve performance 2022-03-22 00:07:43 +09:00
syuilo
5e9a8ce883 perf(server): reduce db query 2022-03-21 20:43:43 +09:00
syuilo
69b044c3ab feat: introduce bull dashboard 2022-03-19 19:08:55 +09:00
syuilo
8e9dd82ae8 tweal c;iemy 2022-03-11 18:55:47 +09:00
MeiMei
3447466c7b テーマ選択から重複要素を排除するように (#8385) 2022-03-09 22:18:14 +09:00
syuilo
e3afe9fd82 delete needless instance drive columns 2022-03-07 21:20:14 +09:00
syuilo
5103ece434 tweak client 2022-03-06 19:18:34 +09:00
Andreas Nedbal
46562be227 Refactor: Switch Settings index page to setup sugar (#8374)
* refactor(client): Make Settings index page use <script setup>

* chore(client): address review comments
2022-03-06 19:17:43 +09:00
syuilo
b26f3713b5 chore(client): hide error report setting
Close #8327
2022-03-05 00:35:59 +09:00
Kainoa Kanter
3768d72bfe Add me as patron (#8369) 2022-03-03 01:19:17 +09:00
syuilo
f71aa3df32 feat: instance default theme 2022-03-01 23:58:01 +09:00
syuilo
d7a5f2618f refactor 2022-03-01 21:36:20 +09:00
syuilo
7e4db6acf4 Revert "refactor"
This reverts commit 94d4f8271e3406ff549a8f18831fb74adcd0d1ab.
2022-03-01 03:51:31 +09:00
syuilo
e547825ed9 refactor 2022-02-28 22:42:32 +09:00
tamaina
13cc69fe1c Fix avatar/banner proxy (#8346)
* Fix avatar/banner proxy

Co-authored-by: mei23 <m@m544.net>

* use getAvatarUrl

* fix

* join avatar and banner to improve performance

* join

* Update hybrid-timeline.ts

* fix

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +09:00
syuilo
44bb08454a fix: better language settings
Fix #8359
Fix #7968
2022-02-26 15:13:44 +09:00
syuilo
66115e2879 🎨 2022-02-25 20:17:36 +09:00
syuilo
b13aebab57 refactor 2022-02-25 20:03:17 +09:00
syuilo
04893c8636 refactor(client): use setup 2022-02-25 19:58:58 +09:00
syuilo
ff3809b437 🎨 2022-02-25 19:56:59 +09:00
syuilo
1ad759db78 🎨 2022-02-25 18:53:08 +09:00
syuilo
9717fc1dbf client: 検索構文でGoogle明示 & deprecated 2022-02-25 14:40:11 +09:00
syuilo
1cde8d6d81 🎨 2022-02-20 19:01:13 +09:00
syuilo
1d2be559e9 プロフィールの追加情報を最大16まで保存できるように
Close #8225
Close #8234
2022-02-20 16:53:06 +09:00
syuilo
18ea7a1142 remove max note text length setting
Resolve #8323
2022-02-20 16:07:43 +09:00
syuilo
80f06a6051 fix(client): word mute cannot save 2022-02-11 19:44:56 +09:00
syuilo
1d2936e638 chore(client): tweak chart 2022-02-11 15:14:08 +09:00
syuilo
9291da94f1 enhance(client): リアクションピッカーの幅、高さ制限を緩和 2022-02-11 13:53:02 +09:00
syuilo
eb24eedf12 feat(client): make size of reaction picker configuable 2022-02-11 13:38:47 +09:00
Johann150
84c409a52b 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
9e41714e6e feat: インスタンスのテーマカラーを設定できるように 2022-02-09 21:25:48 +09:00
syuilo
f458f4fd7d fix(client): コントロールパネルのユーザー、ファイルにて、インスタンスの表示範囲切り替えが機能しない問題を修正
Fix #8252
2022-02-09 13:38:54 +09:00
Johann150
96f1432bb3 fix: save followers/following visibility (#8276) 2022-02-09 12:43:59 +09:00
syuilo
2570cd6693 feat(client): デバイスの種類を手動指定できるように 2022-02-08 18:46:39 +09:00
syuilo
13de1356e3 feat(client): 自インスタンス情報ページでチャートを見れるように 2022-02-08 15:50:26 +09:00
nullobsi
92e94d688c 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
syuilo
b0764397fd enhance(client): improve chart rendering 2022-02-04 16:39:09 +09:00
tamaina
33335604d5 fix: タイムライン種別を切り替えると「新しいノートがあります」の表示が残留してしまうのを修正 (#8250)
Fix #6831
2022-02-04 08:39:20 +09:00
syuilo
495d1a7d3d tweak 2022-02-02 00:27:22 +09:00
syuilo
218377a9be feat(client): 連合インスタンスページからインスタンス情報再取得を行えるように
Resolve #8231
2022-01-31 20:38:26 +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
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
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
ec99b00565 fix(client): 「クリップ」ページが開かない問題を修正 2022-01-28 01:09:46 +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
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
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
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
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
79c78bb6f2 refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
syuilo
99278833e8 wip: refactor(client): migrate components to composition api 2022-01-16 07:55:19 +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
789f2e4cab wip: refactor(client): migrate paging components to composition api 2022-01-14 10:25:51 +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
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
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
syuilo
9117fd7a06 bye reversi 2022-01-12 17:34:53 +09:00
syuilo
e2a38a38fc fix 2022-01-12 17:21:57 +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
5e5ba2b1c2 wip: migrate paging components to composition api 2022-01-10 00:45:20 +09:00
syuilo
7f0ec89a1a wip: migrate paging components to composition api
#7681
2022-01-09 21:35:35 +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
e6970c5c2d clean up 2022-01-06 23:09:52 +09:00