Commit graph

163 commits

Author SHA1 Message Date
tamaina 857055a9dd chore: fix import tinycolor 2022-05-30 12:09:22 +00:00
tamaina 4a50c49211
Fix theme import (#8749) 2022-05-28 21:59:23 +09:00
tamaina fa99d9c6fe Merge branch 'develop' into pizzax-indexeddb 2022-05-28 01:31:23 +09:00
Johann150 3dae18b93c
fix lints (#8737)
* fix: emits use ev instead of e

* fix: errors use err instead of e

* fix: replace use of data where possible

* fix: events use evt instead of e

* fix: use strict equals

* fix: use emoji instead of e

* fix: vue lints
2022-05-26 22:53:09 +09:00
Andreas Nedbal 563cb36a8f
fix(client): fix undefined data value on 2FA settings (#8725) 2022-05-23 21:55:06 +02:00
syuilo 98e42ec6ff enhance: Display TOTP Register URL
Close #7261

Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
2022-05-14 15:00:15 +09:00
Andreas Nedbal 9fc5e8688f
fix(client): add setup attribute to notification page (#8648) 2022-05-12 19:31:26 +02:00
Andreas Nedbal ad860905c6
refactor(client): refactor settings/theme/manage to use Composition API (#8596) 2022-05-05 22:53:08 +09:00
Andreas Nedbal f3628946af
refactor(client): refactor settings/word-mute to use Composition API (#8597) 2022-05-05 22:51:58 +09:00
Andreas Nedbal e5a8773bfe
refactor(client): refactor settings/deck to use Composition API (#8598) 2022-05-05 22:51:29 +09:00
Andreas Nedbal a6c138600f
Refactor settings/sounds to use Composition API (#8594)
* refactor(client): refactor settings/sounds to use Composition API

* Apply review suggestion from @Johann150

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

* chore(client): remove old sound reference

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-05 22:51:05 +09:00
Andreas Nedbal bd620a8c77
refactor(client): refactor 2FA settings to Composition API (#8599) 2022-05-05 22:41:10 +09:00
Andreas Nedbal d075ead80a
fix(client): fix duplicate token request dialog in plugin install (#8612) 2022-05-05 18:21:38 +09:00
Andreas Nedbal 9230334a31
Refactor settings/notifications to use Composition API (#8587)
* refactor(client): refactor settings/notifications to use Composition API

* fix(client): use async/await for API methods
2022-05-04 12:25:19 +09:00
Andreas Nedbal 7154ad5a73
Refactor account-info to use Composition API (#8568)
* refactor(client): refactor account-info  to use Composition API

* fix(client): use mounted hook for initial data

* fix(client): switch to non-null assertion for account check
2022-05-04 10:16:14 +09:00
Andreas Nedbal c72f5e2773
refactor(client): refactor settings/api to use Composition API (#8569) 2022-05-04 10:15:43 +09:00
Andreas Nedbal 6226e8d902
refactor(client): refactor settings/apps to use Composition API (#8570) 2022-05-04 10:15:24 +09:00
Andreas Nedbal 80355fb08e
Refactor delete-account to use Composition API (#8572)
* refactor(client): refactor delete-account to use Composition API

* Apply review suggestion from @Johann150

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

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-04 10:15:06 +09:00
Andreas Nedbal fc02f8fc93
refactor(client): refactor settings/drive to use Composition API (#8573) 2022-05-04 10:14:48 +09:00
Andreas Nedbal 7a51f0ac94
Refactor settings/email to use Composition API (#8576)
* refactor(client): refactor settings/email to use Composition API

* fix(client): switch to non-null assertion for settings values
2022-05-04 10:14:26 +09:00
Andreas Nedbal 247a9deb02
Refactor settings/general to use Composition API (#8578)
* refactor(client): refactor settings/general to use Composition API

* fix(client): turn watcher callback asynchronous
2022-05-04 10:13:51 +09:00
Andreas Nedbal 60010bdb0f
Refactor settings/menu to use Composition API (#8586)
* refactor(client): refactor settings/menu 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-04 10:12:40 +09:00
Andreas Nedbal 8489afa3d7
Refactor settings/other to use Composition API (#8589)
* refactor(client): refactor settings/other to use Composition API

* fix(client): fix 'show featured notes' checkbox
2022-05-04 10:12:08 +09:00
Andreas Nedbal 81e5ff7dce
refactor(client): refactor settings/plugin to use Composition API (#8590) 2022-05-04 10:11:35 +09:00
Andreas Nedbal 4e1b5038fb
refactor(client): refactor settings/plugin/install to use Composition API (#8591) 2022-05-04 10:10:52 +09:00
Andreas Nedbal f8c66be130
refactor(client): refactor settings/security to use Composition API (#8592) 2022-05-04 10:10:34 +09:00
Andreas Nedbal 1f222e6cd1
refactor(client): refactor settings/theme to use Composition API (#8595) 2022-05-03 20:34:48 +09:00
Andreas Nedbal 0e26fae3bb
refactor(client): refactor settings/accounts to use Composition API (#8604) 2022-05-03 20:33:40 +09:00
tamaina a89003b57a
refactor: use Vite to build instead of webpack (#8575)
* update stream.ts

* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339

* fix lint

* clean up?

* add app

* fix

* nanka iroiro

* wip

* wip

* fix lint

* fix loginId

* fix

* refactor

* refactor

* remove follow action

* clean up

* Revert "remove follow action"

This reverts commit defbb41648.

* Revert "clean up"

This reverts commit f94919cb9c.

* remove fetch specification

* renoteの条件追加

* apiFetch => cli

* bypass fetch?

* fix

* refactor: use path alias

* temp: add submodule

* remove submodule

* enhane: unison-reloadに指定したパスに移動できるように

* null

* null

* feat: ログインするアカウントのIDをクエリ文字列で指定する機能

* null

* await?

* rename

* rename

* Update read.ts

* merge

* get-note-summary

* fix

* swパッケージに

* add missing packages

* fix getNoteSummary

* add webpack-cli

* ✌️

* remove plugins

* sw-inject分離したがテストしてない

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix

* ✌️

* clean up config

* typesを戻した

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

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

* disconnect

* oops

* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた

* truncate notification

* Update packages/client/src/ui/_common_/common.vue

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

* clean up

* clean up

* キャッシュ対策

* Truncate push notification message

* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* Service Workerのビルドにesbuildを使うようにする

* return createEmptyNotification()

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

* enhance: Service Workerを常に登録するように

* pollEnded

* URLをsw.jsに戻す

* clean up

* wip

* wip

* wip

* wip

* wip

* wip

* ✌️

* use import

* fix

* install rollup

* use defineAsyncComponent.

* fix emojilist

* wip use defineAsyncComponent

* popup(import -> popup(defineAsyncComponent(() => import

* draggable?

* fix init import

* clean up

* fix router

* add comment

* ✌️

* ✌️

* ✌️

* remove webpack

* update vite

* fix boot sequence

* Revert "fix boot sequence"

This reverts commit e893dbf37a.

* revert boot import

* never make two app div

* ;

* remove console.log

* change clientEntry sequence

* fix

* Revert "fix"

This reverts commit 12741b3d89.

* fix

* add comment https://github.com/misskey-dev/misskey/pull/8575#issuecomment-1114239210

* add log

* add comment

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-01 22:51:07 +09:00
Andreas Nedbal a00a1fd6b5
Refactor custom-css to use Composition API (#8571)
* refactor(client): refactor custom-css to use Composition API

* Apply review suggestion from @Johann150

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

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-01 15:50:09 +09:00
tamaina c5048ee993
Merge branch 'develop' into pizzax-indexeddb 2022-05-01 15:08:25 +09:00
Andreas Nedbal 274ca6f7e6
refactor(client): refactor import-export to use Composition API (#8579) 2022-05-01 11:55:15 +09:00
Andreas Nedbal 475b7556d8
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 3dc027bcd5
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
tamaina 747acd025d use toRaw? 2022-04-28 03:47:26 +00:00
tamaina b3ccfa8671 resolve conflict of preferences-registry #8511 2022-04-28 03:14:41 +00:00
tamaina eac71ae1d7
fix: Fix settings page (#8508)
* Fix settings page

* nanka iroiro

* clean up

* clean up

* インデックスに戻ってもタイトルが残ってしまうのを修正
2022-04-23 19:17:15 +09:00
tamaina 426885bff5 ローカルのjsonファイルを保存・読み込みできるように 2022-04-17 21:10:50 +09:00
tamaina 3d4c09510b add wallpaper 2022-04-17 06:31:35 +09:00
tamaina 0da0980f94 remove console.log 2022-04-17 05:32:44 +09:00
tamaina 3f14887d20 fix createdAt -> updatedAt 2022-04-17 05:29:02 +09:00
tamaina 911d8e9916 Merge branch 'fix-setting-page' into preferences-registry 2022-04-17 05:25:24 +09:00
tamaina 0f9bc926f5 インデックスに戻ってもタイトルが残ってしまうのを修正 2022-04-17 05:25:15 +09:00
tamaina 39e4f2c137 feature: Client Preferences Registry on the account 2022-04-17 05:12:33 +09:00
tamaina fed59b1b71 clean up 2022-04-17 01:24:13 +09:00
tamaina b3818d9c48 nanka iroiro 2022-04-17 01:17:11 +09:00
tamaina f4bd147299 Fix settings page 2022-04-17 00:11:37 +09:00
syuilo 8e5f2690f2
feat: Webhook (#8457)
* feat: introduce webhook

* wip

* wip

* wip

* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
syuilo ac8c66f5ab perf(server): refactor and performance improvements 2022-03-25 16:27:41 +09:00
syuilo ff19640171 perf(server): reduce db query 2022-03-21 20:43:43 +09:00
MeiMei a07037affc
テーマ選択から重複要素を排除するように (#8385) 2022-03-09 22:18:14 +09:00
Andreas Nedbal 939773a5b9
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 3e31d1fae9 chore(client): hide error report setting
Close #8327
2022-03-05 00:35:59 +09:00
syuilo ba4ef23d6b feat: instance default theme 2022-03-01 23:58:01 +09:00
syuilo b80ec1fa3f refactor 2022-03-01 21:36:20 +09:00
syuilo 645dbebd86 Revert "refactor"
This reverts commit 94d4f8271e.
2022-03-01 03:51:31 +09:00
syuilo 94d4f8271e refactor 2022-02-28 22:42:32 +09:00
syuilo 0a882471f3 fix: better language settings
Fix #8359
Fix #7968
2022-02-26 15:13:44 +09:00
syuilo 2cd25c6f3a 🎨 2022-02-25 18:53:08 +09:00
syuilo 9422f88451 🎨 2022-02-20 19:01:13 +09:00
syuilo 92f5027c3c プロフィールの追加情報を最大16まで保存できるように
Close #8225
Close #8234
2022-02-20 16:53:06 +09:00
syuilo 0ab59a10b3 fix(client): word mute cannot save 2022-02-11 19:44:56 +09:00
syuilo bf4cdd71ce enhance(client): リアクションピッカーの幅、高さ制限を緩和 2022-02-11 13:53:02 +09:00
syuilo cc019a217f feat(client): make size of reaction picker configuable 2022-02-11 13:38:47 +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
Johann150 744c4c7acb
fix: save followers/following visibility (#8276) 2022-02-09 12:43:59 +09:00
syuilo 190b47aad2 feat(client): デバイスの種類を手動指定できるように 2022-02-08 18:46:39 +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
syuilo 0b462feff6 enhance(client): improve chart rendering 2022-02-04 16:39:09 +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 82e81a0984 refactor(client): use composition api 2022-01-28 12:30:59 +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 9885c6ba6c wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
syuilo daba865a94 wip: refactor(client): migrate components to composition api 2022-01-15 20:35:10 +09:00
syuilo 41e18aa993 wip: refactor(client): migrate components to composition api 2022-01-15 17:58:35 +09:00
syuilo 861d028d09 refactor 2022-01-13 02:26:10 +09:00
syuilo 25f15677c3 refactor 2022-01-13 01:50:53 +09:00
syuilo b267a504ca bye reversi 2022-01-12 17:34:53 +09:00
syuilo 586c11251a wip: migrate paging components to composition api
#7681
2022-01-09 21:35:35 +09:00
syuilo 82854236f3 clean up 2022-01-07 15:05:45 +09:00
syuilo 1fc2f2e3e4 tweak ui 2022-01-04 22:51:16 +09:00
syuilo 76b2561893 tweak ui 2022-01-04 21:37:16 +09:00
syuilo 89053d5747 tweak ui 2022-01-04 21:16:41 +09:00
syuilo 6c62c0681c tweak ui 2022-01-04 18:21:00 +09:00
syuilo 87c429b5bd tweak ui 2022-01-04 17:58:53 +09:00
syuilo efa72e8d14 tweak ui 2022-01-04 17:52:44 +09:00
syuilo 408142647c tweak ui 2022-01-03 00:41:01 +09:00
syuilo 41ed9a1a72 tweak client 2022-01-02 21:35:23 +09:00
syuilo e6c8b83b20 enhance(client): tweak ui 2021-12-31 03:21:26 +09:00
syuilo 616b18a9e5 enhance(client): tweak ui 2021-12-30 21:47:48 +09:00
syuilo fe3609451e enhance(client): 🎨 2021-12-26 01:42:50 +09:00
syuilo 2e80f9dfba clean up 2021-12-23 17:05:50 +09:00
tamaina dc0e55bf16
wip (#8077) 2021-12-21 00:20:30 +09:00
syuilo cb16ff866c improve(client): show reload tip 2021-12-18 14:56:15 +09:00
syuilo f7c90b58d6 enhance(client): リアクションピッカーの表示方法を選択できるように 2021-12-17 16:14:31 +09:00
syuilo 1cae39e281 tweak style 2021-12-10 15:33:01 +09:00
syuilo 640fc337af client: tweak style 2021-12-10 11:56:23 +09:00
syuilo 20134a5367 feat: improve follow export 2021-12-10 01:22:35 +09:00
syuilo 46c0280764 refactor(client): 2021-12-10 01:22:22 +09:00