summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(server): fix bind of methodsyuilo2022-07-161-0/+1
| | | Fix #9006
* fix(sw, notification): Don't issue an event if there is no affect (#8979)tamaina2022-07-131-1/+3
| | | | | * test * ]v]
* re: update mfm-js 0.23.0-canary.1syuilo2022-07-111-1/+1
|
* fix: QueryFailedError when logging user's IPs (#8973)dogcraft2022-07-101-2/+2
| | | | | * fix QueryFailedError when logging user's IPs * use `orIgnore` to fix
* Fix Attempts to update all notifications (#8974)MeiMei2022-07-091-1/+1
| | | | | | | * Fix massive update notification parameters * CHANGELOG * CHANGELOG
* enhance: make active email validation configurablesyuilo2022-07-092-0/+10
|
* feat: auto nsfw detection (#8840)syuilo2022-07-076-6/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* chore(server): tweak api for adminsyuilo2022-07-071-1/+1
|
* chore(server): tweak api for adminsyuilo2022-07-071-1/+1
|
* perf: allow get for notes/reactionssyuilo2022-07-051-0/+3
|
* Add additional drive capacity change support (#8867)CyberRex2022-07-053-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix typosyuilo2022-07-031-1/+1
|
* feat: moderation notesyuilo2022-07-033-0/+34
|
* feat(server): add fetch-rss api to reduce dependency of external apissyuilo2022-07-022-0/+41
|
* feat: Log user ips (#8872)syuilo2022-07-0210-27/+125
| | | | | | | | | | | | | | | | | | | * 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
* enhance(server): アンケートを新しい順にソートsyuilo2022-07-021-3/+12
|
* chore(client): tweak uisyuilo2022-07-021-1/+2
|
* fix typoJohann1502022-06-301-1/+1
| | | | Co-authored-by: mei23 <m@m544.net>
* chore(client): tweak uisyuilo2022-06-301-2/+3
|
* fix(server): cannot show userssyuilo2022-06-301-20/+1
|
* chore(client): tweak clientsyuilo2022-06-301-0/+10
|
* improve instance doughnut chartssyuilo2022-06-281-3/+18
|
* feat(api): add federation/stats endpointsyuilo2022-06-282-0/+51
|
* feat: make possible to delete an account by adminsyuilo2022-06-273-17/+36
| | | | Resolve #8830
* refactor: remove duplicate code (#8895)Johann1502022-06-278-32/+24
|
* fix: mocha テストが動かないのを修正 v2 (#8892)MeiMei2022-06-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * on push * Fix mute test * fix note test * api * inc timeout * uploadUrl * Revert "on push" This reverts commit 778a58df61ff9a22421f8ec5dcce96b364eab38d. * lint * waitFire * Wrap connectStream * return
* fix #8894syuilo2022-06-261-1/+1
|
* feat: allow GET for some endpointssyuilo2022-06-2516-16/+82
| | | | Resolve #8263
* fix: always respect instance mutes (#8854)Johann1502022-06-258-73/+71
| | | | | | | | | * fix: muted user query also checks instances This way it can be ensured that the instance mute is used everywhere it is required without checking the whole codebase again. Muted users and muted instances should be used together anyways. * fix lint
* feat: ↵syuilo2022-06-241-9/+14
| | | | 管理者が特定ユーザーのアップロードしたファイル一覧を見れるように
* fix lintsJohann1502022-06-241-1/+0
|
* enhance: Redisをioredisに統一してIPv6サポート (#8869)MeiMei2022-06-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* refactor: simplify ap/show with DbResolver (#8838)Johann1502022-06-231-99/+33
| | | | | | Using the existing code in DbResolver we can avoid separate code for parsing the URIs in this endpoint. Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Improve: unclip (#8823)futchitwo2022-06-182-0/+59
| | | | | | | | | | | | | | | | | | | | | | | * Refactor clip page to use Composition API * Refactor clip page * Refactor clip page * Refactor clip page * Improve: unclip * Fix unclip * Fix unclip * chore: better type and name * Fix * Fix clipPage vue provider Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance(server): ↵syuilo2022-06-141-1/+1
| | | | モデレーターであってもレートリミットを有効に
* fix: add limit to i/notifications (#8836)tamaina2022-06-141-0/+5
| | | | | | | * fix: add limit to i/notifications * ms * remove ms
* fix(docs): use correct description propertyJohann1502022-06-141-5/+2
|
* fix: remove unused parameterJohann1502022-06-141-1/+1
|
* lint fixessyuilo2022-06-1490-201/+201
|
* fix: some fixes of multiple notification read (#8819)tamaina2022-06-122-1/+7
| | | | | | | * fix: limit multiple notification read * fix * fix
* chore: synchronize visibility checks (#8687)Johann1502022-06-111-6/+8
| | | | | | | | | | | | | | * 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
* enhance: improve documentation for `/users/` endpoints (#8790)Johann1502022-06-1049-0/+224
| | | | | | | | | | | | | | | | | | | * docs: category & description for reset password * docs: category & description for testing * docs: descriptions for groups endpoints * docs: descriptions for drive file endpoints * docs: descriptions for sw endpoints * docs: descriptions for user list endpoints * docs: descriptions & result type for gallery posts * docs: descriptions & result type for user endpoints * docs: add return type for stats
* refactor: use awaitAll to reduce duplication (#8791)Johann1502022-06-081-61/+25
| | | | | | | * refactor: use awaitAll to reduce duplication * fix lint * fix typo
* User moderation details (#8762)PikaDude2022-06-031-5/+37
| | | | | | | | | | | | | | | | | * 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>
* Fix IP address rate limit (#8758)MeiMei2022-05-312-9/+5
| | | | | | | * Fix IP address rate limit * CHANGELOG * Tune getIpHash
* fix: validate text is not emptyJohann1502022-05-281-1/+1
| | | fix #8747
* enhance: replace signin CAPTCHA with rate limit (#8740)Johann1502022-05-284-53/+64
| | | | | | | | | | | | | | | | | | | | | | | * enhance: rate limit works without signed in user * fix: make limit key required for limiter As before the fallback limiter key will be set from the endpoint name. * enhance: use limiter for signin * Revert "CAPTCHA求めるのは2fa認証が無効になっているときだけにした" This reverts commit 02a43a310f6ad0cc9e9beccc26e51ab5b339e15f. * Revert "feat: make captcha required when signin to improve security" This reverts commit b21b0580058c14532ff3f4033e2a9147643bfca6. * fix undefined reference * fix: better error message * enhance: only handle prefix of IPv6
* fix(docs): correct information for drive upload (#8736)Johann1502022-05-271-2/+14
|
* enhance: uniform theme color (#8702)Johann1502022-05-191-1/+1
| | | | | | | | | | | | | | | | | | * 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>
* fix: postgres type errorJohann1502022-05-151-1/+1
| | | | Fix a bug introduced in #8659. Solution was already tested there.