summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/endpoints/admin/emoji (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: make noImplicitAny true (#17083)syuilo2026-01-091-33/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update emojis.emoji.vue * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update manager.ts * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update analytics.ts
* fix(frontend): popupのemit型が正しく利用できるように修正 ↵かっこかり2026-01-091-33/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#16826) * fix(frontend): popupのemit型が正しく利用できるように修正 * fix: revert unnecessary code (for testing purpose) * fix lint * fix type errors * fix types * add comment * fix * fix * fix: OverloadToUnionの仕組みを変更 * add comments, clean up * fix lint * fix types * clean up [ci skip] * fix * add comments [ci skip]
* enable and fix no-unused-vars and no-async-promise-executor (#17070)anatawa122026-01-082-2/+2
| | | | | | | | | * dev: set --no-bail for lint task * lint: enable no-async-promise-executor lint and fix them * lint: enable no-unused-vars with allowing _ prefix * lint: fix semi
* enhance: ↵syuilo2025-06-282-2/+6
| | | | ページネーション(一覧表示)の基準日時を指定できるように sinceId/untilIdが指定可能なエンドポイントにおいて、sinceDate/untilDateも指定可能に
* fix(backend): correct invalid schema format specifying only `required` for ↵zyoshoka2025-05-271-26/+41
| | | | | | | `anyOf` (#16089) * fix(backend): correct invalid schema format specifying only `required` for `anyOf` * refactor(backend): make types derived from `allOf` or `anyOf` more strong
* refactor(backend): better prop namesyuilo2025-03-2213-13/+13
|
* feat: 新カスタム絵文字管理画面(β)の追加 (#13473)おさむのひと2025-01-203-12/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * wip * fix * fix * fix * fix size * fix register logs * fix img autosize * fix row selection * support delete * fix border rendering * fix display:none * tweak comments * support choose pc file and drive file * support directory drag-drop * fix * fix comment * support context menu on data area * fix autogen * wip イベント整理 * イベントの整理 * refactor grid * fix cell re-render bugs * fix row remove * fix comment * fix validation * fix utils * list maximum * add mimetype check * fix * fix number cell focus * fix over 100 file drop * remove log * fix patchData * fix performance * fix * support update and delete * support remote import * fix layout * heightやめる * fix performance * add list v2 endpoint * support pagination * fix api call * fix no clickable input text * fix limit * fix paging * fix * fix * support search * tweak logs * tweak cell selection * fix range select * block delete * add comment * fix * support import log * fix dialog * refactor * add confirm dialog * fix name * fix autogen * wip * support image change and highlight row * add columns * wip * support sort * add role name * add index to emoji * refine context menu setting * support role select * remove unused buttons * fix url * fix MkRoleSelectDialog.vue * add route * refine remote page * enter key search * fix paste bugs * fix copy/paste * fix keyEvent * fix copy/paste and delete * fix comment * fix MkRoleSelectDialog.vue and storybook scenario * fix MkRoleSelectDialog.vue and storybook scenario * add MkGrid.stories.impl.ts * fix * [wip] add custom-emojis-manager2.stories.impl.ts * [wip] add custom-emojis-manager2.stories.impl.ts * wip * 課題はまだ残っているが、ひとまず完了 * fix validation and register roles * fix upload * optimize import * patch from dev * i18n * revert excess fixes * separate sort order component * add SPDX * revert excess fixes * fix pre test * fix bugs * add type column * fix types * fix CHANGELOG.md * fix lit * lint * tweak style * refactor * fix ci * autogen * Update types.ts * CSS Module化 * fix log * 縦スクロールを無効化 * MkStickyContainer化 * regenerate locales index.d.ts * fix * fix * テスト * ランダム値によるUI変更の抑制 * テスト * tableタグやめる * fix last-child css * fix overflow css * fix endpoint.ts * tweak css * 最新への追従とレイアウト微調整 * ソートキーの指定方法を他と合わせた * fix focus * fix layout * v2エンドポイントのルールに対応 * 表示条件などを微調整 * fix MkDataCell.vue * fix error code * fix error * add comment to MkModal.vue * Update index.d.ts * fix CHANGELOG.md * fix color theme * fix CHANGELOG.md * fix CHANGELOG.md * fix center * fix: テーブルにフォーカスがあり、通常状態であるときはキーイベントの伝搬を止める * fix: ロール選択用のダイアログにてコンディショナルロールを×ボタンで除外できなかったのを修正 * fix remote list folder * sticky footers * chore: fix ci error(just single line-break diff) * fix loading * fix like * comma to space * fix ci * fix ci * removed align-center --------- Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
* fix: admin/emoji/update で不正なエラーが発生する (#14750)FineArchs2024-10-111-18/+15
| | | | | | | | | | | | | | | * fix emoji updating bug * update changelog * type fix * " -> ' * conprehensiveness check * lint * undefined -> null
* fix(backend): fix incorrect schemas (#13458)zyoshoka2024-02-261-1/+4
|
* admin/emoji/updateの必須項目を減らす 等 (#13449)FineArchs2024-02-251-9/+18
| | | | | | | | | | | | | | | | | * admin/emoji/update enhancement * add CustomEmojiService.getEmojiByName * update endpoint * fix * Update update.ts * Update autogen files * type assertion * Update CHANGELOG.md
* (re) update SPDX-FileCopyrightTexttamaina2024-02-1313-13/+13
| | | | Fix #13290
* Revert "update SPDX-FileCopyrightText"tamaina2024-02-1313-13/+13
| | | | This reverts commit 9b5aeb76d8c9372d67058c512597152b6bf222f2.
* update SPDX-FileCopyrightTextsyuilo2024-02-1213-13/+13
|
* Merge pull request from GHSA-7pxq-6xx9-xpgmChocolate Pie2023-12-2713-25/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix: fix improper authorization when accessing with third-party application * refactor: refactor type definitions * fix: get rid of unnecessary access limitation * enhance: サードパーティアプリケーションがWebsocket APIを使えるように * fix: add missing parentheses * Revert "fix(backend): add missing kind definition for admin endpoints to improve security" This reverts commit 5150053275594278e9eb23e72d98b16593c4c230. * frontend: 翻訳の抜けを訂正, read:adminとwrite:adminはアクセス発行トークンのデフォルトでは非表示にする * enhance(test): misskey-ghsa-7pxq-6xx9-xpgmに関するテストを追加 * enhance(test): Websocket APIに対するテストも追加 * enhance(refactor): `@/misc/api-permissions.ts`を`misskey-js/permissions`に統合 * fix(frontend): アクセストークン発行UIで全ての権限を有効にした際、管理者用APIへのアクセスも許可してしまう問題を修正 * enhance(backend): Websocketの接続に最低限必要な権限を変更 * fix(backend): `/api/admin/meta`をサードパーティアプリケーションからはアクセスできないように * fix(backend): エンドポイントにアクセスするために必要な権限を変更 * fix(frontend/locale): Add missing type declaration * chore: update `misskey-js/src/autogen` --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* enhance: ↵GrapeApple02023-12-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | api.jsonのレスポンスの内容を実際の内容に合わせる (#12723) * Create packedAdSchema * admin/emoji/add * admin/get-user-ips * admin/roles/users * admin/get-index-stats * admin/accounts/find-by-email * fix type of admin/ad/list * federation/stats * endpoints * get-online-users-count * i/2fa/register-key * i/2fa/key-done * i/2fa/register * i/apps * i/authorized-apps * i/registry/get-all * i/registry/get * i/registry/get-detail * i/registry/key-with-type * i/registry/scopes-with-domain * i/update-email * i/move * i/webhooks/create * fix miss type * i/webhooks/show * i/webhooks/list * flash/create * roles/users * server-info * test * users/lists/get-memberships * users/achievements * fetch-rss * fetch-external-resources
* fix(backend): add missing kind definition for admin endpoints to improve ↵syuilo2023-12-1813-1/+25
| | | | security
* fix(backend): カスタム絵文字のインポート時の動作を修正 ↵Camilla Ett2023-12-021-21/+21
| | | | | (#12360) Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* perf(backend): createdAtをidから取得するように & ↵syuilo2023-10-161-1/+1
| | | | 無駄なDateインスタンスの生成を避けるように
* 絵文字重複チェック (#11941)nenohi2023-10-062-0/+16
| | | | | | | | | | | | | | | | | | | | | * 絵文字重複チェック * アップデート時のチェック * Update packages/backend/src/core/CustomEmojiService.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * Update packages/backend/src/server/api/endpoints/admin/emoji/add.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * Update packages/backend/src/server/api/endpoints/admin/emoji/update.ts Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* improve moderation logsyuilo2023-09-244-10/+4
|
* enhance(backend): refine moderation log (#10939)syuilo2023-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update DriveService.ts
* refactor(backend): update directory structure for modelssyuilo2023-09-202-2/+2
|
* update deps (#11820)syuilo2023-09-155-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update deps * fix * wip * wip * wip * Update docker-compose.yml.example * Delete reviewer-lottery.yml * Update RepositoryModule.ts * wip * wip * clean up * update deps * wip * wip
* chore(backend): Resolve `import/no-default-export` rule violations (#11732)woxtu2023-08-1713-26/+13
| | | | | * Disable `import/no-default-export` properly * Disable `import/no-default-export`
* refactor: prefix Mi for all entities (#11719)syuilo2023-08-162-4/+4
| | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * Update RepositoryModule.ts * wip * wip * wip * Revert "wip" This reverts commit c1c13b37d2aaf3c65bc148212da302b0eb7868bf.
* refactor(backend): Remove unused injections (#11462)woxtu2023-08-058-11/+7
| | | | | * Remove unused injections * Remove unused imports
* chore: ↵Shun Sakai2023-07-2713-0/+65
| | | | | | | | | | | | | | 著作権とライセンスについての情報を各ファイルに追加する (#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>
* enhance(backend): admin/emoji/addで作成した絵文字を返すようにsyuilo2023-07-201-3/+3
|
* Fix auto-fixable issues (#11314)woxtu2023-07-191-1/+1
|
* perf(backend): use limit() instead of take()syuilo2023-07-082-3/+3
|
* cleanup: trim trailing whitespace (#11136)okayurisotto2023-07-082-2/+2
| | | | | | | | | * cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor(backend): replace rndstr with secureRndstr (#11044)Kagami Sascha Rosylight2023-06-251-1/+0
| | | | | | | * refactor(backend): replace rndstr with secureRndstr * Update pnpm-lock.yaml * .js
* feat: ↵syuilo2023-05-182-8/+50
| | | | カスタム絵文字ごとにそれをリアクションとして使えるロールを設定できるように
* カスタム絵文字のライセンスを一括でできるように (#10671)nenohi2023-04-191-0/+37
| | | | | | | | | * setlicensebulk追加 * 5時に誤字った!w * 並び順の変更(set,add,removeの順 * add changelog
* カスタム絵文字の検索を絵文字ピッカー使用できるよう ↵nenohi2023-04-141-5/+11
| | | | | | | | | | | | | | | (#10335) * fix( #10013) * add changelog * also in about.emojis.vue * fix changelog --------- Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* fixsyuilo2023-04-061-1/+1
|
* perf(backend): cache local custom emojissyuilo2023-04-068-224/+23
|
* fix(backend): ↵syuilo2023-03-221-6/+6
| | | | | | 絵文字を編集すると保存できないことがある問題を修正 Fix #10384
* 絵文字の名前に@や:が使用できる (#9964)nenohi2023-03-201-3/+8
| | | | | | | | | | | | | * fix(#9918)名前の一致でもエラーとするように * 判定を逆に * )の位置間違えてる * カテゴリ分けとかしたときにエラーになる * エラー消し * こういうこと・・・?
* enhance: ↵syuilo2023-03-163-0/+4
| | | | | | カスタム絵文字にライセンス情報を付与できるように Resolve #10091
* fix: ↵YS2023-03-148-8/+8
| | | | | | | クエリキャッシュ無効化時の絵文字操作エラーを解消 (#10320) * disabledCache: trueのときにqueryResultCacheへアクセスしないように * append changelog
* [Fix] fixed an typo in error message (#10102)daima36292023-02-261-1/+1
|
* refactor: fix typessyuilo2023-02-1710-13/+13
|
* style(backend): fix all eslint errors (#9967)Kagami Sascha Rosylight2023-02-172-3/+3
|
* refactor: remove all unused imports (#9951)Kagami Sascha Rosylight2023-02-162-2/+1
| | | Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* wiptamaina2023-01-222-2/+2
|
* wiptamaina2023-01-221-1/+1
|
* wiptamaina2023-01-228-31/+83
|
* refactor: rename role.options -> role.policiessyuilo2023-01-1512-12/+12
|
* カスタム絵文字の管理を権限を持つユーザーが行えるよ ↵syuilo2023-01-1312-12/+12
| | | | | | に Resolve #9542