syuilo
34492f3c9a
enhance(backend): tweak cache of federated instance
...
#10631
2023-04-22 19:59:08 +09:00
tamaina
5cae078e5e
fix(backend): make isExplorable optional for backward compatibility
...
https://github.com/misskey-dev/misskey/pull/10677#issuecomment-1516394630
2023-04-20 16:09:54 +00:00
nenohi
8dc60cd327
Role timeline setting ( #10677 )
...
* ロールタイムライン設定
* isRoleTimeline to isExplorable
* ポリシーではないので削除
* 型からも
* wip
* 足りてなかった説
* wip
* listはpublicを表示
* 前回の記載修正( #10671 )
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-20 20:02:50 +09:00
syuilo
e1f9ab77f8
feat: Server rules ( #10660 )
...
* enhance(frontend): サーバールールのデザイン調整
* enhance(frontend): i18n
* enhance(frontend): 利用規約URLの設定を「モデレーション」ページへ移動
* enhance(frontend): サーバールールのデザイン調整
* Update CHANGELOG.md
* 不要な差分を削除
* fix(frontend): lint
* ui tweak
* test: add stories
* tweak
* test: bind args
* test: add interaction tests
* fix bug
* Update packages/frontend/src/pages/admin/server-rules.vue
Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
* Update misskey-js.api.md
* chore: windowを明示
* 🎨
* refactor
* 🎨
* 🎨
* fix e2e test
* 🎨
* 🎨
* fix icon
* fix e2e
---------
Co-authored-by: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-04-19 21:24:31 +09:00
nenohi
65ff2c2498
カスタム絵文字のライセンスを一括でできるように ( #10671 )
...
* setlicensebulk追加
* 5時に誤字った!w
* 並び順の変更(set,add,removeの順
* add changelog
2023-04-19 08:25:24 +09:00
nenohi
9469b26eb2
カスタム絵文字の検索を絵文字ピッカー使用できるように ( #10335 )
...
* fix( #10013 )
* add changelog
* also in about.emojis.vue
* fix changelog
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-14 14:49:41 +09:00
syuilo
a67439981b
fix types
2023-04-14 13:50:05 +09:00
Namekuji
da83322200
feat: queueing bulk follow/unfollow and block/unblock ( #10544 )
...
* wrap follow/unfollow and block/unblock as job queue
* create import job to follow in each iteration
* make relationship jobs concurrent
* replace to job queue if called repeatedly
* use addBulk to import
* omit stream when importing
* fix job caller
* use ThinUser instead of User to reduce redis memory consumption
* createImportFollowingToDbJobの呼び出し方を変える, 型補強
* Force ThinUser
* オブジェクト操作のみのメソッド名はgenerate...Data
* Force ThinUser in generateRelationshipJobData
* silent bulk unfollow at admin api endpoint
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-12 09:13:58 +09:00
syuilo
a574d0fbcb
fix
2023-04-06 11:36:20 +09:00
syuilo
73203a3d72
perf(backend): cache local custom emojis
2023-04-06 11:14:43 +09:00
syuilo
f44504097c
enhance(backend): improve cache
2023-04-05 10:21:10 +09:00
syuilo
30d6992684
perf(backend): 通知をRedisに保存するように
...
Resolve #10168
2023-04-04 14:06:57 +09:00
syuilo
31f3f5f0f0
enhance(backend): リモートサーバーのチャート生成を無効にするオプションを追加
2023-03-24 19:08:08 +09:00
syuilo
09a846a45c
enhance(backend): use ❤️ for reaction fallback
2023-03-24 18:55:31 +09:00
syuilo
f01e6ef6bf
enhance(backend): リモートユーザーのチャート生成を無効にするオプションを追加
2023-03-24 15:43:36 +09:00
syuilo
050787238b
fix(backend): 絵文字を編集すると保存できないことがある問題を修正
...
Fix #10384
2023-03-22 18:45:55 +09:00
CyberRex
7331de0bce
feat: queue force promote ( #10370 )
...
* feat: queue force promote
* Update CHANGELOG.md
* small fix
2023-03-22 08:58:23 +09:00
nenohi
e152047912
絵文字の名前に@や:が使用できる ( #9964 )
...
* fix(#9918 )名前の一致でもエラーとするように
* 判定を逆に
* )の位置間違えてる
* カテゴリ分けとかしたときにエラーになる
* エラー消し
* こういうこと・・・?
2023-03-20 14:24:18 +09:00
syuilo
8ae9d2eaa8
enhance: カスタム絵文字にライセンス情報を付与できるように
...
Resolve #10091
2023-03-16 15:08:48 +09:00
CyberRex
c05c504c86
Deliverキューに宛先がSharedInboxかどうかのフラグを追加 ( #10298 関係 ) ( #10317 )
...
* enhance(backend): 配送先が410 Goneで応答してきた場合配送停止するように
* Update CHANGELOG.md
* Deliverキューのデータに宛先がSharedInboxかどうかのフラグを追加
* Fix lint
* Mapを使用するように
* Fix typo
2023-03-14 19:11:31 +09:00
YS
3cb669a852
fix: クエリキャッシュ無効化時の絵文字操作エラーを解消 ( #10320 )
...
* disabledCache: trueのときにqueryResultCacheへアクセスしないように
* append changelog
2023-03-14 09:37:14 +09:00
syuilo
7f16b50e73
feat: sensitive word
2023-03-13 17:37:22 +09:00
syuilo
7c2d8d73ce
enhance: ロールの並び順を設定可能に
2023-03-12 16:38:08 +09:00
syuilo
99f3f0917f
tweak postgresql entities
...
Fix #10266
2023-03-10 14:53:56 +09:00
syuilo
d0bbeeee52
🎨
2023-03-01 14:22:53 +09:00
syuilo
9e5278d276
fix of #10145
2023-03-01 12:02:37 +09:00
syuilo
1c5291f818
feat: 時限ロール ( #10145 )
...
* feat: 時限ロール
* クライアントから期限を確認できるように
* リファクタとか
* fix test
* fix test
* fix test
* clean up
2023-03-01 10:20:03 +09:00
daima3629
1bdde6bd5c
[Fix] fixed an typo in error message ( #10102 )
2023-02-26 14:14:57 +09:00
tamaina
18dbcfa0b0
test(server): add validation test of api:notes/create ( #10090 )
...
* fix(server): notes/createのバリデーションが効いていない
Fix #10079
Co-Authored-By: mei23 <m@m544.net>
* anyOf内にバリデーションを書いても最初の一つしかチェックされない
* ✌️
* wip
* wip
* ✌️
* RequiredProp
* Revert "RequiredProp"
This reverts commit 7469390011
.
* add api:notes/create
* fix lint
* text
* ✌️
* improve readability
---------
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-02-26 11:28:05 +09:00
syuilo
84e2ee220b
fix(server): tweak admin/show-user api
...
Fix #9883
2023-02-22 17:17:36 +09:00
syuilo
870f7608be
enhance: exploreで公開ロール一覧とそのメンバーを閲覧できるように
2023-02-22 14:43:18 +09:00
syuilo
b161f38710
fix(server): improve security of admin/drive/show-file
2023-02-21 14:47:11 +09:00
syuilo
60df819c60
refactor: fix types
2023-02-17 15:36:36 +09:00
syuilo
0e1b5d6f14
refactor: fix types
2023-02-17 15:15:36 +09:00
Kagami Sascha Rosylight
8f9ce23e52
style(backend): fix all eslint errors ( #9967 )
2023-02-17 10:56:59 +09:00
Kagami Sascha Rosylight
63df2c851e
refactor: remove all unused imports ( #9951 )
...
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-16 23:09:41 +09:00
syuilo
e24b0ceb80
startAt -> startsAt
2023-02-15 14:31:59 +09:00
nenohi
71c42bef9b
広告開始時期の設定 ( #9944 )
...
* 広告開始時期の設定
* 過去のものも表示するように
2023-02-15 14:29:40 +09:00
syuilo
451bc0b444
refactor: fix types
2023-02-12 18:47:30 +09:00
syuilo
bc23496998
refactor: fix types
2023-02-09 11:31:40 +09:00
syuilo
6a3039f7b7
feat: ロールにアイコンを設定してユーザー名の横に表示できるように
...
Resolve #9761
2023-02-05 10:37:03 +09:00
syuilo
562b02310f
drop twitter/github/discord integrations
...
Close #9775
2023-02-03 15:01:31 +09:00
tamaina
d347f0a087
wip
2023-01-22 16:07:17 +00:00
tamaina
0b2f945bb6
wip
2023-01-22 15:13:03 +00:00
tamaina
2f6c45e118
wip
2023-01-22 14:53:24 +00:00
syuilo
81f11d8f86
refactor: rename role.options -> role.policies
2023-01-15 20:52:53 +09:00
tamaina
303519a1bd
enhance: Judge instance block by endsWith ( #9263 )
...
* TypeScriptでendsWith
* fix
* SQL?
* バ〜カアホ
* Update packages/backend/src/core/UtilityService.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* add comment
* add description
* Update packages/backend/src/core/UtilityService.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Update packages/backend/src/core/chart/charts/federation.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* remove comment
* fix
* fix?
* add changelog
* ILIKE, ARRAY
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-01-13 18:21:07 +09:00
syuilo
bc0b8afb1f
fix ads/update api
2023-01-13 15:15:31 +09:00
syuilo
b250456814
カスタム絵文字の管理を権限を持つユーザーが行えるように
...
Resolve #9542
2023-01-13 14:58:27 +09:00
syuilo
7b7faf1e84
招待コード発行を権限を持つユーザーが行えるように
...
Resolve #9541
2023-01-13 14:22:53 +09:00
syuilo
6458239a7c
remoteDriveCapacityMbをロールに統合
2023-01-13 11:14:07 +09:00
syuilo
c5c40a73b7
feat: conditional role
...
Resolve #9539
2023-01-13 11:03:54 +09:00
syuilo
2470afaa2e
Role ( #9437 )
...
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* Update create.ts
* wip
* wip
* Update CHANGELOG.md
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
* wip
* wip
* Update delete.ts
* Update delete.ts
* wip
* wip
* wip
* Update account-info.vue
* wip
* wip
* Update settings.vue
* Update user-info.vue
* wip
* Update show-file.ts
* Update show-user.ts
* wip
* wip
* Update delete.ts
* wip
* wip
* Update overview.moderators.vue
* Create 1673500412259-Role.js
* wip
* wip
* Update roles.vue
* 色
* Update roles.vue
* integrate silence
* wip
* wip
2023-01-12 21:02:26 +09:00
syuilo
91ced90fb2
fix imports
2023-01-09 08:58:16 +09:00
MeiMei
10e526ba56
fix: Escape SQL LIKE ( #9493 )
...
* SQL LIKE escape
* CHANGELOG
2023-01-08 20:32:17 +09:00
CyberRex
bcc3380cfc
fix(backend): Set correct access control of admin/drive/files ( #9472 )
2023-01-06 08:05:02 +09:00
syuilo
dd4c411d22
ダッシュボードにモデレーター一覧を表示
2022-12-26 09:22:10 +09:00
syuilo
f44a7e2536
refactor
2022-12-25 14:22:23 +09:00
syuilo
b11f8b0aae
chore: fix reporisotry name
2022-12-25 08:30:13 +09:00
syuilo
b648c4bc4d
chore: fix reporisotry name
2022-12-25 08:27:06 +09:00
syuilo
bbb49457f9
refactor: introduce bindThis decorator to bind this automaticaly
2022-12-04 15:03:09 +09:00
syuilo
22ccb0fa71
refactor
2022-12-04 10:16:03 +09:00
tamaina
5decad9cf1
fix: add missing ,
2022-12-02 14:12:09 +00:00
CyberRex
1309367884
Add Cloudflare Turnstile CAPTCHA support ( #9111 )
...
* Add Cloudflare Turnstile CAPTCHA support
* Update packages/client/src/components/MkCaptcha.vue
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-10-13 09:19:57 +09:00
syuilo
89ef21e3b0
fix type
2022-09-24 16:53:53 +09:00
syuilo
349f37bf57
fix
2022-09-24 10:43:23 +09:00
syuilo
f4b981cefe
fix type
2022-09-24 10:25:32 +09:00
syuilo
614b11951b
refactor
2022-09-24 07:15:16 +09:00
syuilo
417f52359d
fixes
2022-09-24 06:45:44 +09:00
こけっち
bcbda6940a
feat: Youtube window player ( #9095 )
...
* wip: feat: Youtube Player Window
* fix: player fill window
* fix: improve design
* fix: disable at mobile and creanup code
* fix: tailing comma
* fix: delete debug output
* fix: eslint
* fix: switch to component
* fix(backend): add missing dependency
Fix #9101
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-09-22 08:20:31 +09:00
syuilo
01d4d55e78
fix import type
2022-09-21 05:33:11 +09:00
syuilo
3bc6205150
refactor(backend): ロジックをサービスに切り出す
2022-09-21 02:52:19 +09:00
syuilo
dc43fc68ef
enhance(backend): metaのポーリング頻度を減らし、redisで更新を受け取るように
2022-09-21 02:35:49 +09:00
syuilo
a2eac9fff6
test
2022-09-19 03:11:50 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた
2022-09-18 03:27:08 +09:00
syuilo
75d516011b
enhance: make active email validation configurable
2022-07-09 15:05:55 +09:00
syuilo
e560601815
feat: auto nsfw detection ( #8840 )
...
* feat: auto nsfw detection
* ✌️
* Update ja-JP.yml
* Update ja-JP.yml
* ポルノ判定のしきい値を高めに
* エラーハンドリングちゃんとした
* Update ja-JP.yml
* 感度設定を強化
* refactor
* feat: add video support for auto nsfw detection
* rename: image -> media
* .js
* fix: add missing error handling
* fix: use valid pathname instead of using filename due to invalid usage
* perf(nsfw-detection): decode frames
* disable detection of video for some reasons
* perf(nsfw-detection): streamify detection process for video
* disable disallowUploadWhenPredictedAsPorn option
* fix(nsfw-detection): improve reliability
* fix(nsfw-detection): use Math.ceil instead of Math.round
* perf(nsfw-detection): delete tmp frames after used
* fix(nsfw-detection): FSWatcher does not emit ready event
* perf(nsfw-detection): skip black frames
* refactor: strip exists check
* Update package.json
* めっちゃ変えた
* lint
* Update COPYING
* オプションで動画解析できるように
* Update yarn.lock
* Update CHANGELOG.md
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-07-07 21:06:37 +09:00
syuilo
da239b8362
chore(server): tweak api for admin
2022-07-07 19:08:18 +09:00
syuilo
423e7692db
chore(server): tweak api for admin
2022-07-07 18:09:50 +09:00
CyberRex
cd07eb222e
Add additional drive capacity change support ( #8867 )
...
* Add additional drive capacity change support
* Update packages/backend/src/server/api/endpoints/admin/drive-capacity-override.ts
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* 🎨
* show instance default capacity in placeholder
* fix
* update api/drive
* fix
* remove :
* fix lint
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-07-05 00:21:01 +09:00
syuilo
dd426735a0
feat: moderation note
2022-07-03 00:15:03 +09:00
syuilo
eccc90c843
feat: Log user ips ( #8872 )
...
* wip
* store ip and headers
* Update admin-file.vue
* require admin for view ip/headers
* IP (recent) 消した
* admin必須
* opt in
* clean ips periodically
* respect logging setting in drive/files/create
2022-07-02 15:12:11 +09:00
syuilo
b773d516d3
chore(client): tweak ui
2022-07-02 12:22:52 +09:00
syuilo
329f055a97
feat: make possible to delete an account by admin
...
Resolve #8830
2022-06-27 23:49:16 +09:00
syuilo
696e8add00
feat: 管理者が特定ユーザーのアップロードしたファイル一覧を見れるように
2022-06-24 21:43:28 +09:00
MeiMei
6f8e3fe366
enhance: Redisをioredisに統一してIPv6サポート ( #8869 )
...
* Use ioredis, Supports IPv6 host
https://github.com/misskey-dev/misskey/issues/8862
* Fix import
* order
* a
* i
* fix
* flushdb
* family
* CHANGELOG
* redis_version
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-24 19:22:19 +09:00
PikaDude
6061937996
User moderation details ( #8762 )
...
* add more user details for admins to see
* fix some issues
* small style fix
as suggested by Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* fix
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-06-03 23:14:50 +09:00
Johann150
aaf5bb62ab
enhance: uniform theme color ( #8702 )
...
* enhance: make theme color format uniform
All newly fetched instance theme colors will be uniformely formatted
as hashtag followed by 6 hexadecimal digits.
Colors are checked for validity and invalid colors are not handled.
* better input validation for own theme color
* migration to unify theme color formats
Fixes theme colors of other instances as well as the local instance.
* add changelog entry
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-19 09:54:45 +02:00
syuilo
02bb36cdc4
refactor: fix type
2022-04-17 20:44:21 +09:00
syuilo
a671f9102d
refactor: fix type
2022-04-17 13:31:45 +09:00
Johann150
c8935b32f8
fix: validation (better #8456 ) ( #8461 )
...
* Revert "revert 484e023c0"
This reverts commit c03b70c949
.
* also allow pure renote
* fix checks for pure renote
2022-04-03 13:57:26 +09:00
syuilo
408d54f2eb
fix(api): admin/update-meta was not working
2022-04-03 13:54:22 +09:00
syuilo
c03b70c949
revert 484e023c0
2022-04-02 16:47:53 +09:00
Johann150
484e023c0c
enhance(doc): required input fields ( #8456 )
...
* remove empty file
If the endpoint is to be implemented later, the file can be added back,
but for now it is confusing to have an empty file.
* enhance(doc): document defaults
Default for `isPublic` is based on the database schema default value.
Defaults for `local` and `withFiles` are based on the behaviour of the endpoint.
* enhance(doc): explain nullable emoji category
* fix: make nullable if default is null
* enhance(doc): explain mute attribute expiresAt
* fix: define required fields
- `notes/create`: the default for `text` has been removed because ajv can not handle
`default` inside of `anyOf`, see
https://ajv.js.org/guide/modifying-data.html#assigning-defaults
and the default value cannot be `null` if text is `nullable: false` in the `anyOf`
first alternative.
- `notes/create`: The `mediaIds` property has been marked as deprecated because it
has the same behaviour as using `fileIds`, but the implementation tries to handlè
`fileIds` first.
- The result schema for `admin/emoji/list` has been altered because the `host`
property will always be `null` as it is filtered this way in the database query.
See packages/backend/src/server/api/endpoints/admin/emoji/list.ts line 67.
* enhance(doc): explain nullable hostname
* update changelog
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-02 15:04:36 +09:00
syuilo
4e63022a49
fix(server): add missing import
2022-03-29 18:46:59 +09:00
syuilo
1c67c26bd8
refactor: migrate to typeorm 3.0 ( #8443 )
...
* wip
* wip
* wip
* Update following.ts
* wip
* wip
* wip
* Update resolve-user.ts
* maxQueryExecutionTime
* wip
* wip
2022-03-26 15:34:00 +09:00
syuilo
ac8c66f5ab
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
d0a346ed8a
refactor: separate meta api for admin or not
2022-03-25 01:50:28 +09:00
syuilo
ba4ef23d6b
feat: instance default theme
2022-03-01 23:58:01 +09:00
tamaina
e314be5b59
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