summaryrefslogtreecommitdiff
path: root/packages/sw/src/scripts/create-notification.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* merge upstream againHazelnoot2025-04-241-0/+18
|\
| * fix(sw): type error in sw (#15844)anatawa122025-04-161-2/+2
| |
| * enhance(backend): push notification for chat messagesyuilo2025-04-151-0/+18
| | | | | | | | Resolve #15831
* | Merge branch 'develop' into feature/2024.10dakkar2024-12-121-0/+15
|\ \
| * | upd: add notification for when scheduled note gets postedMarie2024-12-091-0/+8
| | |
| * | upd: add notification for failures, add reasons for failure, apply suggestionsMarie2024-12-091-0/+7
| | |
* | | Merge tag '2024.10.1' into feature/2024.10dakkar2024-11-081-0/+6
|\ \ \ | |/ / |/| / | |/
| * enhance(backend): notify new login (#14673)syuilo2024-10-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update CHANGELOG.md * wip * fix * Update index.d.ts * Update SigninService.ts * Update MkNotification.vue
* | fix lint / TS errors in create-notification.tsHazelnoot2024-10-151-2/+2
| |
* | Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-36/+53
|\|
| * feat: エクスポート完了時に通知を発行するように (#14484)かっこかり2024-09-261-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | * feat: エクスポート完了時に通知を発行するように * Update Changelog * entitity -> entity * fix: ペイロードを含むように * fix icon * exportableEntities -> userExportableEntities
| * refactor(sw): fix type errors (#14478)zyoshoka2024-08-301-10/+10
| | | | | | | | | | | | | | | | | | | | | | * 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
| * refactor(sw): use fully typed locales (#14470)zyoshoka2024-08-301-26/+24
| | | | | | | | | | * refactor(sw): use fully typed locales * fix(backend): enumerate achievement notification type
* | Note Edited notification typeMarie2024-02-201-0/+8
| |
* | merge: upstreamMarie2024-02-191-2/+2
|\|
| * (re) update SPDX-FileCopyrightTexttamaina2024-02-131-2/+2
| | | | | | | | Fix #13290
| * Revert "update SPDX-FileCopyrightText"tamaina2024-02-131-2/+2
| | | | | | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
| * update SPDX-FileCopyrightTextsyuilo2024-02-121-2/+2
| |
* | merge: upstreamMar0xy2023-11-011-0/+7
|\|
| * Feat: 未読通知数を表示できるように (#11982)かっこかり2023-11-011-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 未読通知数を表示できるように * Update Changelog * オプトインにする * Fix lint * (add) テスト通知のプッシュ通知を追加 * add test * フロントエンドの表示上限を99に変更 * Make it default on * 共通スタイルをくくりだす * Update Changelog * tweak * Update UserEntityService.ts * rename * Update navbar-for-mobile.vue --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* | merge: upstreamMar0xy2023-10-031-1/+1
|\|
| * .jssyuilo2023-09-291-1/+1
| |
* | add: Megalodon, initial mastodon apiMar0xy2023-09-231-1/+1
|/
* feat: 指定したユーザーの投稿通知syuilo2023-09-211-0/+7
| | | | Resolve #11499
* refactor(frontend): use ESMsyuilo2023-09-191-5/+5
|
* chore: ↵Shun Sakai2023-07-271-0/+5
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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>
* fix(sw): ↵yukineko2023-07-151-0/+7
| | | | | | | アンケート終了時のプッシュ通知が正しく表示されない問題を修正 (#11278) * fix(sw): アンケート終了時のプッシュ通知が正しく表示されない問題を修正 * update: CHANGELOG.md
* Refactor sw (#10579)okayurisotto2023-04-121-18/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* sw: なんかもうめっちゃ変えた (#10570)tamaina2023-04-111-11/+23
| | | | | | | | | * sw: なんかいろいろ * remove debug code * never renotify * update changelog.md
* chore(sw): use PascalCasetamaina2023-04-101-4/+4
|
* fix(sw): ↵tamaina2023-02-281-20/+6
| | | | | | | | | | | | | プッシュ通知でカスタム絵文字リアクションを表示できるように (#10122) * fix(sw): プッシュ通知でカスタム絵文字リアクションを表示できるように Fix #10117 /emoji/*.webpにbadgeモードを * ? * :v: * fix
* fix linttamaina2023-02-181-5/+3
|
* fix/enhance(sw): プッシュ通知 ↵tamaina2023-02-181-11/+15
| | | | | | | | | | | (バックグラウンドで開いている場合も通知, リアクション通知はノートにつき1つに) (#9977) * fix(sw): クライアントがあってもpush notificationを無視しない 「プッシュ通知を更新しました」の原因になるため * enhance(sw): リアクション通知は1つのノートにつき1つしか表示しない Safari対応で、通知tagは能動的に閉じるように * revert closeNotificationsByTags
* refactor(sw): self => globalThistamaina2023-02-181-4/+4
|
* drop group (#9942)syuilo2023-02-151-17/+0
| | | | | * drop group * Update operations.ts
* drop messaging (#9919)syuilo2023-02-151-17/+0
| | | | | * drop messaging (from backend) * wip
* refactor(sw): Fix type errors in packages/sw (#9909)Kagami Sascha Rosylight2023-02-131-12/+12
| | | | | | | | | | | | | * Fix type errors in packages/sw * mouhitotsu * @typesは越境しない * Update packages/sw/src/scripts/create-notification.ts --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* enhance: Push Notification badges to Tabler Icons (#9406)tamaina2023-01-081-12/+20
| | | | | * enhance: Push Notification badges to Tabler Icons * add receiveFollowRequest icon
* delete pollVote notificationsyuilo2023-01-081-38/+30
|
* encodeURIComponent for static image proxy filename (#9410)tamaina2022-12-251-1/+2
|
* enhance: Push notification of Antenna note (#9338)tamaina2022-12-181-0/+9
| | | | | | | | | | | | | * wip * wip * wip * fix * fix * :art:
* refactor(sw): Typecheck the service worker (#9314)Kagami Sascha Rosylight2022-12-121-5/+0
| | | | | | | | | | | | | | | | | * 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
* Fix lint errors (except `@typescript-eslint/prefer-nullish-coalescing`) (#9311)Kagami Sascha Rosylight2022-12-121-3/+7
| | | | | | | | | * `yarn workspace client run lint --fix` * `eslint-disable-next-line no-var` for service worker self * A few more manual sw fixes * word change
* feat: Add Badge Image to Push Notification (#8012)tamaina2022-06-201-1/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix * nanka iroiro * wip * wip * fix lint * fix loginId * fix * refactor * refactor * remove follow action * clean up * Revert "remove follow action" This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a. * Revert "clean up" This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2. * 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 * :v: * 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 * :v: * clean up config * typesを戻した * backend/src/web/index.ts * notification-badges * add scripts * change create-notification.ts * 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 * refactor * キャッシュ対策 * Truncate push notification message * fix * クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正 * components/drive-file-thumbnail.vue * components/drive-select-dialog.vue * components/drive-window.vue * merge * fix * Service Workerのビルドにesbuildを使うようにする * return createEmptyNotification() * fix * fix * i18n.ts * update * :v: * remove ts-loader * fix * fix * enhance: Service Workerを常に登録するように * pollEnded * pollEnded * URLをsw.jsに戻す * clean up * fix lint * changelog * alpha-test * also with twemoji * add isMimeImage function * catch * Colour => Color * char2file => char2filePath * Update autocomplete.vue * remove clone? Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* feat: Improve Push Notification (#7667)tamaina2022-04-301-0/+237
* 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 defbb416480905af2150d1c92f10d8e1d1288c0a. * Revert "clean up" This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2. * 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 * :v: * 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 * :v: * 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 * :v: * 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>