Commit graph

2154 commits

Author SHA1 Message Date
9b8d02d1c3
type-safe sanitization of AP objects
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-21 02:42:46 -06:00
7a7aef71cd
do not use media proxy if emoji is local
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-20 13:23:41 -06:00
95d3fb08f4
Prefix all calls to Image and Video Processing service
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-20 02:07:13 -06:00
4ba0357d49
fix(backend): Atomically mark remote account deletions
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-19 23:44:20 -06:00
416d71002a
improve emoji packing
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-19 10:57:45 -06:00
a236bbb8d4
CSP: allow blob images for cropping avatars
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-19 06:17:23 -06:00
3d3bfad5d0
fixup! more path sanitization 2024-11-19 03:15:48 -06:00
fe3fd951ed
Merge tag '2024.11.0-alpha.2' into develop
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-19 01:37:57 -06:00
おさむのひと
7b9c884a5d
refactor(backend): SystemWebhookで送信されるペイロードの型を追加 () 2024-11-19 10:41:39 +09:00
饺子w (Yumechi)
e800c0f85a
fix(backend): お知らせ作成時に画像URL入力欄を空欄に変更できないのを修正 ()
* fix(backend): アナウンスメントを作成ときに画像URLを後悔できないのを修正

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* Update CHANGELOG.md

Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
2024-11-19 10:29:42 +09:00
1025d5a4c4 Merge remote-tracking branch 'upstream/develop' into incoming 2024-11-18 18:44:41 -06:00
f0c0b75285
notifications metrics
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-18 13:48:45 -06:00
4b6ec86a00
backend: check AP fetch URL
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-18 12:54:46 -06:00
677a2f0770
update ts model of drive file comment
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-18 11:55:10 -06:00
fly_mc
9899b3cc38 backend: change HASHTAG_RANKING_WINDOW
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-18 11:52:21 -06:00
6fab3e6087
Fix usability issues for queue and inbox error metrics
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-18 07:12:12 -06:00
31f19bd686
csp: add Bull Dashboard to whitelist
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-18 03:45:47 -06:00
b78edccd19 Fix permetheus query fingerprinting ()
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

<!-- ℹ お読みください / README
PRありがとうございます! PRを作成する前に、コントリビューションガイドをご確認ください:
Thank you for your PR! Before creating a PR, please check the contribution guide:
https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md
-->

## What
<!-- このPRで何をしたのか? どう変わるのか? -->
<!-- What did you do with this PR? How will it change things? -->

## Why
<!-- なぜそうするのか? どういう意図なのか? 何が困っているのか? -->
<!-- Why do you do it? What are your intentions? What is the problem? -->

## Additional info (optional)
<!-- テスト観点など -->
<!-- Test perspective, etc -->

## Checklist
- [ ] Read the [contribution guide](https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md)
- [ ] Test working in a local environment
- [ ] (If needed) Add story of storybook
- [ ] (If needed) Update CHANGELOG.md
- [ ] (If possible) Add tests

Reviewed-on: 
Co-authored-by: eternal-flame-AD <yume@yumechi.jp>
Co-committed-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-18 03:29:53 -06:00
f9167b8b86
reduce buckets for incoming ap
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-17 21:53:54 -06:00
935efb5bf2
prometheus - stage 2 workers
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-17 18:47:56 -06:00
3906efa8d5
more path sanitization
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-17 12:57:49 -06:00
109d8f8008
don't log metrics for postgres in testing
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-17 11:58:15 -06:00
4d44adfaa9
prometheus - stage 1 deployment
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-17 04:44:39 -06:00
13e50cd8d9
fix(backend): アナウンスメントを作成ときに画像URLを後悔できないのを修正
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-16 17:37:26 -06:00
1862b33aba
pgroonga CW search
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-16 05:50:57 -06:00
CDN
b3c2de2b26
fix(backend): fallback sharedInbox to null in ApPersonService () 2024-11-16 18:53:28 +09:00
c830e9ba0d
Revert "use execa 8.0.1"
This reverts commit eef0c895bc. Cannot
reproduce original issue in question
2024-11-15 15:23:12 -06:00
d3674705a5 Merge remote-tracking branch 'upstream/develop' into develop 2024-11-15 15:22:22 -06:00
syuilo
eef0c895bc use execa 8.0.1
2024-11-15 19:48:31 +09:00
18d5587e5c
Merge tag '2024.11.0-alpha.1' into develop
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-15 04:46:18 -06:00
syuilo
d9d92bcfbf Revert "use nodemon 3.0.2"
This reverts commit ce1f84e5a3.
2024-11-15 19:40:12 +09:00
syuilo
ce1f84e5a3 use nodemon 3.0.2
2024-11-15 19:33:50 +09:00
かっこかり
c0d1682604
feat: 送信したフォローリクエストを確認できるように ()
* FEAT: Allow users to view pending follow requests they sent

This commit implements the `following/requests/sent` interface firstly
implemented on Firefish, and provides a UI interface to view the pending
follow requests users sent.

* ux: should not show follow requests tab when have no pending sent follow req

* fix default followreq tab

* fix default followreq tab

* restore missing hasPendingReceivedFollowRequest in navbar

* refactor

* use tabler icons

* tweak design

* Revert "ux: should not show follow requests tab when have no pending sent follow req"

This reverts commit e580b92c37f27c2849c6d27e22ca4c47086081bb.

* Update Changelog

* Update Changelog

* change tab titles

---------

Co-authored-by: Lhc_fl <lhcfl@outlook.com>
Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
2024-11-15 17:30:54 +09:00
syuilo
e26e24b610
update deps ()
* update deps

* wip

* Revert "wip"

This reverts commit 393de249fe248ae181221266e0b7828a3ac53152.

* wip

* wip

* wip

* wip
2024-11-15 17:22:00 +09:00
0f90b37b62
Add role write:admin:create-account 2024-11-14 11:21:27 -06:00
52d0100918 Merge branch 'develop' into relax-account-registration 2024-11-14 09:22:24 -06:00
fd271ea268
Relax admin automated account registration
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-14 09:18:02 -06:00
afac979977
Web security configuration
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-14 08:56:11 -06:00
174c3ef096
Web security configuration
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-12 02:20:42 -06:00
7748ab5dd0
allow self-embed (previews, etc.)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-12 00:15:29 -06:00
2419a9f740
fixup! implement CSP, remove commercial supporters from about section
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-11 21:32:27 -06:00
饺子w (Yumechi)
a11b77a415
fix(backend): Webhook Test一致性 ()
* fix(backend): Webhook Test一致性

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* UserWebhookPayload<'followed'> 修正

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-12 09:51:18 +09:00
67197fbb76
implement CSP, remove commercial supporters from about section
Too much diff don't want to deal with it

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-11 17:09:11 -06:00
82f4277673
more robust recursive folder check
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-10 17:32:05 -06:00
7a106a390d
add localComments count
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-10 14:41:40 -06:00
18a27e3c47
restore activeHalfYear and activeMonth
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-10 02:40:32 -06:00
8652fd27b9
add git info to build
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-10 00:41:40 -06:00
770226a040 Merge tag '2024.11.0-alpha.0' into develop 2024-11-08 21:55:43 -06:00
かっこかり
4a62051ce7
fix(backend): ローカルユーザーへのメンションを含むノートが連合される際に正しいURLに変換されないことがある問題を修正 ()
* fix: make sure mentions of local users get rendered correctly during AP delivery (resolves )

* Update Changelog

* indent

---------

Co-authored-by: Laura Hausmann <laura@hausmann.dev>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-09 10:58:09 +09:00
momoirodouhu
a4c5ce1413
enhance(backend) : リモートユーザーの照会をオリジナルにリダイレクトするように () ()
* enhance(backend) : リモートユーザーの照会をオリジナルにリダイレクトするように ()

* オリジンリダイレクトのテストをtodoとして追加。

e2eテストにリモートユーザー考慮のテストがなさそうなので。

次のコマンドで動くことは確認済みです。
curl "http://localhost:3000/@foo@bar" -H "accept: application/activity+json" -L

* Acctのパースを既存のパーサーでするように修正

* lint
2024-11-09 10:54:44 +09:00