nullobsi
4e52c8d8fd
Add secure mode settings to Security tab
2022-07-17 15:25:40 -07:00
nullobsi
7131ca8897
In private mode, block access to many public APIs
2022-07-17 15:25:40 -07:00
nullobsi
8f6605eb63
Add Secure Mode and Private Mode
...
- Add instance actor
- Add private mode, which uses an allowlist
- Add Secure Mode, restricts access to blocked instances
2022-07-17 15:25:39 -07:00
syuilo
14463b7cbf
fix(server): fix bind of method
...
Fix #9006
2022-07-16 19:03:41 +09:00
tamaina
1665262483
fix(sw, notification): Don't issue an event if there is no affect ( #8979 )
...
* test
* ]v]
2022-07-13 21:07:49 +09:00
syuilo
fa72ec1f08
re: update mfm-js 0.23.0-canary.1
2022-07-11 23:13:23 +09:00
dogcraft
8b106bf548
fix: QueryFailedError when logging user's IPs ( #8973 )
...
* fix QueryFailedError when logging user's IPs
* use `orIgnore` to fix
2022-07-10 11:02:46 +09:00
MeiMei
6125bd981e
Fix Attempts to update all notifications ( #8974 )
...
* Fix massive update notification parameters
* CHANGELOG
* CHANGELOG
2022-07-09 18:18:39 +09:00
syuilo
638f0eba12
enhance: make active email validation configurable
2022-07-09 15:05:55 +09:00
syuilo
ed5d81859f
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
bbd8f6cd57
chore(server): tweak api for admin
2022-07-07 19:08:18 +09:00
syuilo
7e3404e763
chore(server): tweak api for admin
2022-07-07 18:09:50 +09:00
syuilo
aac0251dd4
perf: allow get for notes/reactions
2022-07-05 19:16:21 +09:00
CyberRex
bc49a0e9be
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
1fe89d6aab
fix typo
2022-07-03 19:01:08 +09:00
syuilo
e5ccfa5158
feat: moderation note
2022-07-03 00:15:03 +09:00
syuilo
ddcd10db8e
feat(server): add fetch-rss api to reduce dependency of external apis
2022-07-02 21:26:33 +09:00
syuilo
e23e7de453
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
cf36949256
enhance(server): アンケートを新しい順にソート
2022-07-02 12:34:22 +09:00
syuilo
c90225ea02
chore(client): tweak ui
2022-07-02 12:22:52 +09:00
Johann150
95290ad085
fix typo
...
Co-authored-by: mei23 <m@m544.net>
2022-06-30 22:03:04 +02:00
syuilo
986b12d4a8
chore(client): tweak ui
2022-06-30 20:15:14 +09:00
syuilo
f571188dd0
fix(server): cannot show users
2022-06-30 15:36:09 +09:00
syuilo
38cdd46063
chore(client): tweak client
2022-06-30 15:32:11 +09:00
syuilo
73113f7631
improve instance doughnut charts
2022-06-28 13:05:20 +09:00
syuilo
dcf30c1f4a
feat(api): add federation/stats endpoint
2022-06-28 10:41:22 +09:00
syuilo
4d89a77aef
feat: make possible to delete an account by admin
...
Resolve #8830
2022-06-27 23:49:16 +09:00
Johann150
746f17450f
refactor: remove duplicate code ( #8895 )
2022-06-27 21:48:10 +09:00
MeiMei
9dcd23d74f
fix: mocha テストが動かないのを修正 v2 ( #8892 )
...
* on push
* Fix mute test
* fix note test
* api
* inc timeout
* uploadUrl
* Revert "on push"
This reverts commit 778a58df61ff9a22421f8ec5dcce96b364eab38d.
* lint
* waitFire
* Wrap connectStream
* return
2022-06-26 19:16:32 +09:00
syuilo
bbad8434c4
fix #8894
2022-06-26 17:38:50 +09:00
syuilo
e25de6ccc8
feat: allow GET for some endpoints
...
Resolve #8263
2022-06-25 18:26:31 +09:00
Johann150
a89486af35
fix: always respect instance mutes ( #8854 )
...
* 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
2022-06-25 14:23:59 +09:00
syuilo
d7a21948b3
feat: 管理者が特定ユーザーのアップロードしたファイル一覧を見れるように
2022-06-24 21:43:28 +09:00
Johann150
d78b20ba07
fix lints
2022-06-24 12:44:22 +02:00
MeiMei
aef9cb41f3
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
Johann150
aa22cd03de
refactor: simplify ap/show with DbResolver ( #8838 )
...
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>
2022-06-23 21:32:17 +09:00
futchitwo
2ee931e0c6
Improve: unclip ( #8823 )
...
* 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>
2022-06-18 18:27:09 +09:00
syuilo
24a10451c2
enhance(server): モデレーターであってもレートリミットを有効に
2022-06-14 22:59:19 +09:00
tamaina
ef3a582f64
fix: add limit to i/notifications ( #8836 )
...
* fix: add limit to i/notifications
* ms
* remove ms
2022-06-14 22:55:58 +09:00
Johann150
41eeb9a184
fix(docs): use correct description property
2022-06-14 11:55:58 +02:00
Johann150
d2d4a17ef7
fix: remove unused parameter
2022-06-14 11:54:55 +02:00
syuilo
ab2d56605e
lint fixes
2022-06-14 18:01:23 +09:00
tamaina
9bd3c82e6c
fix: some fixes of multiple notification read ( #8819 )
...
* fix: limit multiple notification read
* fix
* fix
2022-06-12 19:28:13 +09:00
Johann150
e161c0abe4
chore: synchronize visibility checks ( #8687 )
...
* 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
2022-06-11 16:14:44 +09:00
Johann150
674029f700
enhance: improve documentation for /users/
endpoints ( #8790 )
...
* 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
2022-06-10 14:25:20 +09:00
Johann150
2461d16d12
refactor: use awaitAll to reduce duplication ( #8791 )
...
* refactor: use awaitAll to reduce duplication
* fix lint
* fix typo
2022-06-08 17:59:48 +09:00
PikaDude
186cac05a2
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
MeiMei
f59e364a85
Fix IP address rate limit ( #8758 )
...
* Fix IP address rate limit
* CHANGELOG
* Tune getIpHash
2022-05-31 17:44:22 +09:00
Johann150
4a8ea6f2d1
fix: validate text is not empty
...
fix #8747
2022-05-28 17:26:17 +02:00
Johann150
0738a65a78
enhance: replace signin CAPTCHA with rate limit ( #8740 )
...
* 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
2022-05-28 12:06:47 +09:00