summaryrefslogtreecommitdiff
path: root/packages/backend/src/models (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ローカルのカスタム絵文字については直接オリジナルURL ↵syuilo2023-01-211-0/+4
| | | | リクエストするように
* Achievements (#9665)syuilo2023-01-212-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * Update ja-JP.yml * wip * wip * Update MkAchievements.vue * wip * :art: * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
* enhance: playのscriptの文字数制限を緩和syuilo2023-01-191-1/+1
|
* プロフィールの文字数制限を緩和syuilo2023-01-161-1/+1
|
* refactor: rename instance.caughtAt to instance.firstRetrievedAtsyuilo2023-01-162-2/+2
|
* refactor: rename role.options -> role.policiessyuilo2023-01-152-2/+2
|
* ロールの各オプションに優先度を設定できるようにsyuilo2023-01-151-0/+1
|
* フォロワー数、フォロー数もConditional ↵syuilo2023-01-141-1/+25
| | | | roleで利用できるように
* remoteDriveCapacityMbをロールに統合syuilo2023-01-131-6/+0
|
* feat: conditional rolesyuilo2023-01-131-0/+53
| | | | Resolve #9539
* Role (#9437)syuilo2023-01-126-37/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* enhance(server): アンケート選択肢の文字数制限を緩和syuilo2023-01-101-1/+1
| | | | Resolve #9511
* カスタム絵文字一覧情報をmetaから分離syuilo2023-01-091-6/+2
|
* delete pollVote notificationsyuilo2023-01-081-5/+5
|
* MisskeyPlay (#9467)syuilo2023-01-054-1/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * wip * wip * wip * Update ui.ts * wip * wip * wip * wip * wip * wip * wip * wip * Update CHANGELOG.md * wip * wip * wip * wip * :art: * wip * :v:
* drop latestStatus of instancesyuilo2023-01-031-8/+0
|
* drop lastCommunicatedAt of instancesyuilo2023-01-032-11/+0
|
* drop latestRequestSentAt of instancesyuilo2023-01-032-13/+0
|
* clean upsyuilo2022-12-311-10/+0
|
* enhance(server): clean emoji responsesyuilo2022-12-312-37/+0
|
* refactor: 絵文字URLを引き回すのをやめる (#9423)syuilo2022-12-291-1/+1
|
* refactorsyuilo2022-12-251-0/+1
|
* feat: introduce retention-rate aggregationsyuilo2022-12-253-1/+47
|
* chore: fix reporisotry namesyuilo2022-12-251-1/+1
|
* chore: fix reporisotry namesyuilo2022-12-252-2/+2
|
* enhance: Implement the toggle to (or not to) close push notifications when ↵tamaina2022-12-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notifications or messages are read (#9219) * create file * wip * fix * wip * tabun dekita * :v: * implement subscribe push notification button to tutorial * check-exists→show-registration * add column sendReadMessage * fix migration file * sw api * change PushNotificationService * wip * :v: * fix tutorial footer flex
* refactor(server): move RepositoryModule into models directorysyuilo2022-12-081-0/+519
|
* Add Cloudflare Turnstile CAPTCHA support (#9111)CyberRex2022-10-131-0/+17
| | | | | | | | | * 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>
* fix typesyuilo2022-09-241-0/+5
|
* なんかもうめっちゃ変えたsyuilo2022-09-1897-2239/+296
|
* enhance: make active email validation configurablesyuilo2022-07-091-0/+5
|
* feat: auto nsfw detection (#8840)syuilo2022-07-075-12/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: auto nsfw detection * :v: * 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>
* Add additional drive capacity change support (#8867)CyberRex2022-07-052-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | * 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> * :art: * 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>
* feat: moderation notesyuilo2022-07-031-1/+6
|
* feat: Log user ips (#8872)syuilo2022-07-024-2/+44
| | | | | | | | | | | | | | | | | | | * 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
* fix(api): fix instance schemasyuilo2022-06-281-0/+4
|
* fix(api): add missing themeColor property of instancesyuilo2022-06-281-0/+1
|
* tweak clientsyuilo2022-06-212-0/+7
|
* fix(server): faviconUrl of federated instance is missingsyuilo2022-06-212-0/+6
|
* chore: synchronize visibility checks (#8687)Johann1502022-06-111-0/+1
| | | | | | | | | | | | | | * reuse single meId parameter * unify code style Use template string to avoid having to use escaped quote marks. * fix: follower only notes are visible to mentioned users This synchronizes the visibility rules with the Notes.isVisibleForMe method from packages/backend/src/models/repositories/note.ts * add comment
* use node 16syuilo2022-06-041-1/+3
|
* refactor: improve code quality (#8751)Johann1502022-05-292-51/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove unnecessary if `Array.prototype.some` already returns a boolean so an if to return true or false is completely unnecessary in this case. * perf: use count instead of find When using `count` instead of `findOneBy`, the data is not unnecessarily loaded. * remove duplicate null check The variable is checked for null in the lines above and the function returns if so. Therefore, it can not be null at this point. * simplify `getJsonSchema` Because the assigned value is `null` and the used keys are only shallow, use of `nestedProperty.set` seems inappropriate. Because the value is not read, the initial for loop can be replaced by a `for..in` loop. Since all keys will be assigned `null`, the condition of the ternary expression in the nested function will always be true. Therefore the recursion case will never happen. With this the nested function can be eliminated. * remove duplicate condition The code above already checks `dragging` and returns if it is truthy. Checking it again later is therefore unnecessary. To make this more obvious the `return` is removed in favour of using an if...else construct. * remove impossible "unknown" time The `ago` variable will always be a number and all non-negative numbers are already covered by other cases, the negative case is handled with `future` so there is no case when `unkown` could be achieved.
* fix: assume remote users are following each other (#8734)Johann1502022-05-251-9/+15
| | | | | | Misskey does not know if two remote users are following each other. Because ActivityPub actions would otherwise fail on followers only notes, we have to assume that two remote users are following each other when an interaction about a remote note occurs.
* chore: synchronize code and database schema (#8577)Johann1502022-05-0511-27/+19
| | | | | | | | | | * chore: remove default null null is always the default value if a table column is nullable, and typeorm's @Column only accepts strings for default. * chore: synchronize code with database schema * chore: sync generated migrations with code
* refactor: use structuredClone for deep clonesyuilo2022-04-231-1/+1
|
* fix ogp rendering and refactorsyuilo2022-04-172-11/+21
|
* refactor: fix typesyuilo2022-04-172-9/+42
|
* fix: validation (better #8456) (#8461)Johann1502022-04-032-0/+2
| | | | | | | | | * Revert "revert 484e023c0" This reverts commit c03b70c949923b830a6d0361d1aa4d5f5614b7b7. * also allow pure renote * fix checks for pure renote
* revert 484e023c0syuilo2022-04-022-2/+0
|
* feat: Webhook (#8457)syuilo2022-04-022-0/+75
| | | | | | | | | | | * feat: introduce webhook * wip * wip * wip * Update CHANGELOG.md