かっこかり
2cbe1d1210
feat(frontend): ノート・ユーザータイムライン埋め込み ( #13929 )
...
* fix
* navhookをbootに移動
* サーバーサイドのbootも分けるように
* 埋め込みページかどうかの判定は最初の一回だけに
* tooltipは出せるように
* fix design
* 埋め込み独自のtooltipを削除
* ロジックの分岐が多かったMkNoteDetailedを分離
* fix indent
* プレビュー用iframeにフォーカスが当たるのを修正
* popupの制御を出す側で行うように
* パラメータが逆になっていたのを修正
* Update MkEmbedCodeGenDialog.vue
* fix
* eliminate misskey-js lint warns
* fix
* add appropriate attributes to embed html
* enhance: サーバーサイドのembed系をさらに分離
* enhance: embed routerを分離(route定義をboot時に変更できるようにする改修を含む)
* type
* lint
* fix indent
* server-side styleを完全に分離
* Revert "refactor: 画面サイズのしきい値をconstにまとめる"
This reverts commit 05ca36f400
.
* fix
* revert all changes in base.pug
* embedドメインをまとめた
* embedドメインをまとめた
* prevent calling contextmenu in embed page by stopping at the caller
* fix import
* fix import
* improve directory structure
* fix import
* register timeline ui as a container
* wa-
* rename
* wa-
* Update EmMediaList.vue
* Update EmMediaList.vue
* Update EmMediaList.vue
* Update EmMediaImage.vue
* Update EmNote.vue
* revert mkmedialist changes
* 戻し漏れ
* wip
* tweak embed media ui
* revert original media components
* Update boot.embed.js
* rename
* wip
* Update MkNote.vue
* wip
* Update MkSubNoteContent.vue
* Update EmNote.vue
* Update packages/frontend/src/router/definition.ts
* Revert "Update packages/frontend/src/router/definition.ts"
This reverts commit 937ae44521
.
* refactor EmMediaImage
* fix import
* remove unused imports
* Update router.ts
* wip
* Update boot.ts
* wip
* wip
* wip
* wip
* Update EmNote.vue
* Update EmNote.vue
* Create EmA.vue
* Create EmAvatar.vue
* Update EmAvatar.vue
* wip
* wip
* wip
* Create EmImgWithBlurhash.vue
* Update EmImgWithBlurhash.vue
* Create EmPagination.vue
* wip
* Update boot.ts
* wip
* wip
* wi@p
* wip
* wip
* wiop
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update boot.ts
* wip
* Update MkMisskeyFlavoredMarkdown.ts
* wip
* wip
* wip
* wip
* wip
* Update post-message.ts
* wip
* Update EmNoteDetailed.vue
* Update EmNoteDetailed.vue
* Create instance.ts
* Update EmNoteDetailed.vue
* wip
* Update EmNoteDetailed.vue
* wip
* wip
* wip
* Update pnpm-lock.yaml
* wip
* wip
* wp
* wip
* Update ClientServerService.ts
* wip
* Update boot.ts
* Update vite.config.local-dev.ts
* Update vite.config.ts
* Create index.html
* wa-
* wip
* Update boot.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Create EmLink.vue
* Create EmMention.vue
* Update EmMfm.ts
* wip
* wip
* wip
* wip
* Update vite.config.ts
* Update boot.ts
* Update EmA.vue
* うぃp
* wip
* wip
* Create EmError.vue
* wip
* Update MkEmbedCodeGenDialog.vue
* Update EmNote.vue
* wip
* wip
* Update user-timeline.vue
* Update check-spdx-license-id.yml
* wip
* wip
* style(frontend-shared): lint fixes on build.js
* fix(frontend-shared): include `*.{js,json}` files in js-built
* wip
* use alias
* refactor
* refactor
* Update scroll.ts
* refactor
* refactor
* refactor
* wip
* wip
* wip
* wip
* Update roles.vue
* Update branding.vue
* wip
* wip
* wip
* Update page.vue
* wip
* fix import
* add missing css variables
* 絵文字をtwemojiに変更
クライアントデフォルトにあわせるため
* force empoll readonly
* fix compiler error
* fix broken imports
* tweak button style
* run api extractor
* fix storybook theme preloads
* fix storybook instance imports
* Update preview.ts
* Update preview.ts
* Update preview.ts
* Revert "Update preview.ts"
This reverts commit 12bab1c6fb
.
* Revert "Update preview.ts"
This reverts commit 5c0ce01dbd
.
* Revert "Update preview.ts"
This reverts commit f4863524d7
.
* Revert "fix storybook instance imports"
This reverts commit ed8eabb246
.
* Revert "wip"
This reverts commit d3c1926519
.
* Revert "Update page.vue"
This reverts commit 27c7900b0c
.
* Revert "Update branding.vue"
This reverts commit c08ccb65ba
.
* Revert "Update roles.vue"
This reverts commit 1488b67066
.
* Revert "wip"
This reverts commit aab1c76981
.
* refactor: use common media proxy
* fix imports
* fix
* fix: MediaProxyの初期化を保証する(storybook対策?)
* enhance(frontend-embed): improve embedParams provide
* fix(backend): MK_DEV_PREFER=backendのときにembed viteが読み込めないのを修正
* fix
* embed-pageを共通化
* fix import
* fix import
* fix import
* const.jsを共通化
(たぶんrevertしすぎた)
* fix type error
* fix duplicated import
* fix lint
* fix
* コメントとして残す
* sharedとembedをlint対象にする
* lint
* attempt to fix eslint (frontend-shared)
* lint fixes
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-09-09 20:57:36 +09:00
zyoshoka
8be624aa44
refactor(sw): fix type errors ( #14478 )
...
* style(sw): lint fixes
* refactor(sw): fix type errors
* chore(sw): disable `noImplicitAny`
* ci(sw): enable typecheck ci
* ci(sw): build `misskey-js` before typecheck
2024-08-30 15:53:04 +09:00
zyoshoka
06855f769f
refactor(sw): use fully typed locales ( #14470 )
...
* refactor(sw): use fully typed locales
* fix(backend): enumerate achievement notification type
2024-08-30 10:58:11 +09:00
zyoshoka
959cc8ff37
refactor(general): use `Date.now()` instead of creating a new `Date` instance ( #13671 )
2024-04-07 21:14:13 +09:00
tamaina
c1514ce91d
(re) update SPDX-FileCopyrightText
...
Fix #13290
2024-02-13 15:59:27 +00:00
tamaina
311c2172d7
Revert "update SPDX-FileCopyrightText"
...
This reverts commit 9b5aeb76d8
.
2024-02-13 15:50:11 +00:00
syuilo
9b5aeb76d8
update SPDX-FileCopyrightText
2024-02-12 11:37:45 +09:00
かっこかり
4de77784c9
enhance(sw): オフライン表示のデザインを改善 ( #13052 )
...
* enhance(sw): オフライン表示のデザインを改善
* Update Changelog
* fix
* fix
* fix
* 言語が取得できなかった場合のフォールバックを追加
* (change) translation key
2024-01-21 11:50:05 +09:00
syuilo
7ce86a6196
.js
2023-09-29 08:04:53 +09:00
syuilo
b0f6c44f36
refactor(frontend): use ESM
2023-09-19 16:37:43 +09:00
syuilo
1f7a81aae7
update deps ( #11764 )
...
* update deps
* node16
* wip
* wip
* wip
* Update test-utils.ts
* wip
* Update tsconfig.json
* wip
* Update package.json
* wip
* Update following.vue
* Update followers.vue
* Update index.vue
* Update share.vue
* Update MkUserPopup.vue
* Update MkPostForm.vue
* wip
* Update MkTokenGenerateWindow.vue
* Update MkPagination.vue
* refactor
* update deps
* update deps
* Update sw.ts
* wip
* wip
* wip
* Update FetchInstanceMetadataService.ts
* Update FetchInstanceMetadataService.ts
* update node
* update deps
* 🎨
2023-09-04 13:33:38 +09:00
Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する ( #11348 )
...
* chore: Add the SPDX information to each file
Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.
* tweak format
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
anatawa12
9845ccec5b
オフライン時の画面にリロードボタンを追加 ( #11242 )
...
* feat: オフライン時の画面にリロードボタンを追加
リロードのためのボタンがないとPWAでインターネットが復帰しても何もできなくなるため。
* docs(changelog): add オフライン時の画面にリロードボタンを追加
2023-07-11 18:24:10 +09:00
tamaina
471b836a44
fix(sw): 通知全削除時にread_notification通知が消えないように
...
通知欄に現れたり消えたりするとうざい
2023-04-18 06:01:18 +00:00
okayurisotto
5002effd65
Refactor sw ( #10579 )
...
* refactor(sw): remove dead code
* refactor(sw): remove dead code
* refactor(sw): remove dead code
* refactor(sw): remove dead code
* refactor(sw): remove dead code
* refactor(sw): remove dead code
* refactor(sw): 冗長な部分を変更
* refactor(sw): 使われていない煩雑な機能を削除
* refactor(sw): remove dead code
* refactor(sw): URL文字列の作成に`URL`を使うように
* refactor(sw): 型アサーションの削除とそれに伴い露呈したエラーへの対処
* refactor(sw): `append` -> `set` in `URLSearchParams`
* refactor(sw): `any`の削除とそれに伴い露呈したエラーへの対処
* refactor(sw): 型アサーションの削除とそれに伴い露呈したエラーへの対処
対処と言っても`throw`するだけ。いままでもこの状況ではエラーが投げられていたはずなので、この対処により新たな問題が起きることはないはず。
* refactor(sw): i18n loading
* refactor(sw): 型推論がうまくできる書き方に変更
`codes`が`(string | undefined)[]`から`string[]`になった
* refactor(sw): クエリ文字列の作成に`URLSearchParams`を使うように
* refactor(sw): `findClient`
* refactor(sw): `openClient`における`any`や`as`の書き換え
* refactor(sw): `openPost`における`any`の書き換え
* refactor(sw): `let` -> `const`
* refactor(sw): `any` -> `unknown`
* cleanup(sw): import
* cleanup(sw)
* cleanup(sw): `?.`
* cleanup(sw/.eslintrc.js)
* refactor(sw): `@typescript-eslint/explicit-function-return-type`
* refactor(sw): `@typescript-eslint/no-unused-vars`
* refactor(sw): どうしようもないところに`eslint-disable-next-line`を
* refactor(sw): `import/no-default-export`
* update operations.ts
* throw new Error
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-12 01:07:24 +09:00
tamaina
3a90bcc03c
sw: なんかもうめっちゃ変えた ( #10570 )
...
* sw: なんかいろいろ
* remove debug code
* never renotify
* update changelog.md
2023-04-11 14:11:39 +09:00
tamaina
da64273b43
chore(sw): use PascalCase
2023-04-10 12:10:06 +00:00
syuilo
30d6992684
perf(backend): 通知をRedisに保存するように
...
Resolve #10168
2023-04-04 14:06:57 +09:00
tamaina
8c883653c9
fix/enhance(sw): プッシュ通知 (バックグラウンドで開いている場合も通知, リアクション通知はノートにつき1つに) ( #9977 )
...
* fix(sw): クライアントがあってもpush notificationを無視しない
「プッシュ通知を更新しました」の原因になるため
* enhance(sw): リアクション通知は1つのノートにつき1つしか表示しない
Safari対応で、通知tagは能動的に閉じるように
* revert closeNotificationsByTags
2023-02-18 17:48:20 +09:00
tamaina
36170a11f5
refactor(sw): self => globalThis
2023-02-18 05:16:34 +00:00
syuilo
8caf288ac1
drop group ( #9942 )
...
* drop group
* Update operations.ts
2023-02-15 13:37:18 +09:00
syuilo
8f2049bcd2
drop messaging ( #9919 )
...
* drop messaging (from backend)
* wip
2023-02-15 13:06:06 +09:00
tamaina
8d4c5deb8d
perf(sw): skipWaitingしない
2023-02-12 15:48:56 +00:00
Kagami Sascha Rosylight
9f0e0dc8ce
refactor(sw): Fix type errors in packages/sw ( #9909 )
...
* Fix type errors in packages/sw
* mouhitotsu
* @typesは越境しない
* Update packages/sw/src/scripts/create-notification.ts
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-13 00:31:37 +09:00
tamaina
867e31c9ff
enhance: Push notification of Antenna note ( #9338 )
...
* wip
* wip
* wip
* fix
* fix
* 🎨
2022-12-18 19:50:02 +09:00
Kagami Sascha Rosylight
cfd7cf0f1e
refactor(sw): Typecheck the service worker ( #9314 )
...
* Typecheck the service worker
Currently the service worker build never typechecks, since esbuild and typescript-eslint don't do such job.
esbuild: https://esbuild.github.io/content-types/#typescript
>However, esbuild does not do any type checking so you will still need to run tsc -noEmit in parallel with esbuild to check types. This is not something esbuild does itself.
typescript-eslint: https://typescript-eslint.io/linting/troubleshooting#why-dont-i-see-typescript-errors-in-my-eslint-output
>TypeScript's compiler (or whatever your build chain may be) is specifically designed and built to validate the correctness of your codebase. Our tooling does not reproduce the errors that TypeScript provides, because doing so would slow down the lint run [1], and duplicate the errors that TypeScript already outputs for you.
Adding this step adds tons of TS errors 😱
* Override lib-webworker with service worker
2022-12-12 22:20:35 +09:00
Kagami Sascha Rosylight
8211893210
Fix lint errors (except `@typescript-eslint/prefer-nullish-coalescing`) ( #9311 )
...
* `yarn workspace client run lint --fix`
* `eslint-disable-next-line no-var` for service worker self
* A few more manual sw fixes
* word change
2022-12-12 19:27:47 +09:00
rinsuki
e60a6cc621
chore(sw): only proxies HTML requests ( #9070 )
...
* chore(sw): only proxies HTML requests
もはやHTMLじゃなさそうなリクエストにはSWで関与しないようにする
こうするといろいろな面倒事が解決するはず…たぶん
Resolve #9037
Resolve #9038
* align code style
* Update packages/sw/src/sw.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-09-10 19:25:32 +09:00
tamaina
83ebe79a3f
enhance(sw): If receiving a push notification issued more than a day, ignore it. ( #8980 )
...
* enhance(sw): ignore old push notification
* ✌️
* 半日
* !==
* 1日
2022-07-10 15:15:21 +09:00
tamaina
766559c6e9
feat: Improve Push Notification ( #7667 )
...
* clean up
* ev => data
* refactor
* clean up
* add type
* antenna
* channel
* fix
* add Packed type
* add PackedRef
* fix lint
* add emoji schema
* add reversiGame
* add reversiMatching
* remove signin schema (use Signin entity)
* add schemas refs, fix Packed type
* wip PackedHoge => Packed<'Hoge'>
* add Packed type
* note-reaction
* user
* user-group
* user-list
* note
* app, messaging-message
* notification
* drive-file
* drive-folder
* following
* muting
* blocking
* hashtag
* page
* app (with modifying schema)
* import user?
* channel
* antenna
* clip
* gallery-post
* emoji
* Packed
* reversi-matching
* 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
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-30 21:52:07 +09:00