Commit graph

5689 commits

Author SHA1 Message Date
Lhc_fl
436e306cbc fix font importer 2024-12-06 17:39:52 +08:00
fly_mc
8dd0c35a74 add stop propagation for hashtag 2024-11-30 23:20:00 +08:00
fly_mc
5af650215f add missing stop propagation 2024-11-30 23:07:12 +08:00
syuilo
dac3b1f405 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2024-11-30 13:20:51 +09:00
syuilo
fa271cf84e Update about-misskey.vue 2024-11-30 13:20:49 +09:00
fly_mc
9bd99b2702 fix 2024-11-30 00:32:53 +08:00
fly_mc
b92aca60c1 fix default fonts 2024-11-30 00:11:45 +08:00
fly_mc
83b060f9c4 frontend: restore MkA 2024-11-28 03:18:52 +08:00
fly_mc
4c7cdf89fb frontend: fix emoji picker section 2024-11-28 03:17:31 +08:00
fly_mc
708943f318 lint 2024-11-27 23:54:13 +08:00
fly_mc
3b37c3e90d fix typo 2024-11-27 21:13:33 +08:00
fly_mc
4ba3add341 default font size 2024-11-27 13:07:36 +08:00
fly_mc
98bfd23da8 frontend: modified default font face and size 2024-11-27 13:07:27 +08:00
fly_mc
ee41972b22 Revert "pass resolver when creating notes via side-effect"
This reverts commit 9da0739277.
2024-11-27 13:07:05 +08:00
fly_mc
ce14b758b3 backend: removed AP obj different host check 2024-11-27 03:04:45 +08:00
fly_mc
8cb9e048ae backend: removed uri and url mismatch checking 2024-11-27 02:48:27 +08:00
Hazelnoot
259e207141 add <Suspense> to enable async components and dynamic imports under the deck UI 2024-11-26 21:50:13 +08:00
Hazelnoot
6bf6dc713d add functions to access deck column state 2024-11-26 21:49:33 +08:00
Hazelnoot
ccb76ab63c preserve the raw URI in parseUri 2024-11-26 21:46:49 +08:00
Julia Johannesen
0595947fc0 fix: Try using CacheService to avoid excess db lookups
This isn't perfect, theoretically if some massive number of users
blocked the user making this request the set lookup could take a long
amount of time, but eh, it works, and that scenario is highly unlikely.
2024-11-26 21:46:26 +08:00
fly_mc
af52d3198b normalize AP IDs during verification 2024-11-26 21:35:53 +08:00
fly_mc
468be6ed51 Filter Add / Remove activities with non-Note payloads 2024-11-26 21:31:29 +08:00
fly_mc
69ac109cfe fix imports 2024-11-26 21:24:52 +08:00
Hazelnoot
9da0739277 pass resolver when creating notes via side-effect 2024-11-26 21:23:32 +08:00
fly_mc
a4cb7acfa8 keep popup elements on screen 2024-11-26 21:20:12 +08:00
Hazelnoot
d1965bf9a3 verify that preview URL is valid 2024-11-26 21:14:34 +08:00
Hazelnoot
c8a1940a14 allow deck column updates to be awaited 2024-11-26 21:10:38 +08:00
fly_mc
b5cc31b65c Respect pinned note limit for remote users 2024-11-26 21:07:49 +08:00
fly_mc
6fa4c253fd lint 2024-11-26 20:46:10 +08:00
fly_mc
337c24a35c frontend: use decline-user in approval 2024-11-26 20:36:19 +08:00
github-actions[bot]
8076f78d06 Bump version to 2024.11.1-alpha.0 2024-11-25 22:18:00 +00:00
fly_mc
14e298d941 frontend: l10n for sign up reason form 2024-11-26 00:37:00 +08:00
fly_mc
a3873344bf feat: feat: Sign-Up Approval 2024-11-26 00:17:01 +08:00
fly_mc
f5988bc691 frontend: optimized custom-emojis perf 2024-11-25 01:42:22 +08:00
fly_mc
f4612f5656 frontend: collapse categories in about-misskey emojis 2024-11-25 00:58:05 +08:00
fly_mc
4f3c458de8 Merge branch 'develop' into pari-dev 2024-11-24 23:18:27 +08:00
anatawa12
dd56623cde
fix: unable to upload to local object storage (#15040) 2024-11-24 20:44:59 +09:00
かっこかり
a0e91b5882
fix(backend): 起動前の疎通チェックが機能しなくなっていた問題を修正 (#15043)
* check harder for connectibility

`allSettled` does not throw if a promise is rejected, so
`check_connect` never actually failed

* Update Changelog

---------

Co-authored-by: dakkar <dakkar@thenautilus.net>
2024-11-24 20:43:47 +09:00
かっこかり
eddf6a2319
fix(frontend): サーバードキュメントとMisskey関連リソースとの間にdividerが入らないことがある問題を修正 (#15044)
* fix(frontend): サーバードキュメントとMisskey関連リソースとの間にdividerが入らないことがある問題を修正

* Update Changelog
2024-11-24 15:23:21 +09:00
かっこかり
d176db517f
fix(backend/misskey-js): タイポ修正 (#15046) 2024-11-24 15:23:07 +09:00
fly_mc
5bc98ce733 skipRender 2024-11-23 22:37:57 +08:00
fly_mc
a4673784ef lint 2024-11-23 22:35:11 +08:00
fly_mc
35c4989527 Merge branch 'develop' into pari-dev 2024-11-23 22:18:10 +08:00
fly_mc
6e35b9378a lint 2024-11-23 21:55:07 +08:00
fly_mc
600a978f22 lint 2024-11-23 21:44:19 +08:00
おさむのひと
a77ad7a16b
fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する (#15033)
* fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する

* fix CHANGELOG.md
2024-11-23 16:45:05 +09:00
かっこかり
d91a1be562
fix(frontend): 画面サイズが変わった際にnavbarが自動で折りたたまれない問題を修正 (#15042)
* fix(frontend): 画面サイズが変わった際にnavbarが自動で折りたたまれない問題を修正

* Update Changelog

* fix
2024-11-23 15:35:06 +09:00
fly_mc
0145477c96 Merge branch 'develop' into pari-dev 2024-11-23 13:56:16 +08:00
fly_mc
8600bbaba6 skipRender 2024-11-23 13:56:11 +08:00
syuilo
04b221409c fix(backend): use atomic command to improve security 2024-11-23 04:44:33 +09:00
FLY_MC
e2e21bdc98
Merge pull request #4 from paricafe/pari-dev
Merge Release: 2024.11.0
2024-11-22 20:13:14 +08:00
fly_mc
ee4f2cecdd Merge branch 'develop' into pari-dev 2024-11-22 20:11:51 +08:00
github-actions[bot]
551040ed0f Release: 2024.11.0 2024-11-22 09:15:09 +00:00
かっこかり
f25fc5215b
fix(backend): Inboxのエラーをthrowせずreturnしている問題を修正 (#15022)
* fix exception handling for Like activities

(cherry picked from commit 8f42e8434eaebe3aba5d1980c57f49dd8ad0de91)

* fix exception handling for Announce activities

(cherry picked from commit cfc3ab4b045af0674122fa49176431860176358b)

* fix exception handling for Undo activities

* Update Changelog

---------

Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
2024-11-22 12:14:41 +09:00
fly_mc
8742bd9bc1 Merge branch 'pari-dev' into pari 2024-11-22 00:41:44 +08:00
fly_mc
7de1a41ddb lint 2024-11-22 00:40:28 +08:00
fly_mc
6612b45f59 Merge branch 'pari-dev' into pari 2024-11-22 00:33:08 +08:00
fly_mc
8356623c77 Revert "sw: use StorageAPI and better cache management"
This reverts commit 48683b5557.
2024-11-22 00:32:39 +08:00
fly_mc
8497928e19 Revert "sw: lint"
This reverts commit 67d8393724.
2024-11-22 00:32:31 +08:00
77705d34d1 fix handling of private renotes
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-22 00:18:02 +08:00
fly_mc
67d8393724 sw: lint 2024-11-21 23:06:10 +08:00
fly_mc
a0fe3feb48 backend: fix duplicated import 2024-11-21 22:47:28 +08:00
fly_mc
48683b5557 sw: use StorageAPI and better cache management 2024-11-21 22:31:52 +08:00
fly_mc
0c3e70b5c3 frontend: move showActionsOnlyHover to bottom 2024-11-21 22:10:34 +08:00
fly_mc
5a3f3862f8 frontend: removed renote counts auto increase 2024-11-21 22:03:49 +08:00
fly_mc
be80b377cc frontend: removed auto count+1 in MkPostForm 2024-11-21 22:01:42 +08:00
fly_mc
d194d4e247 Merge branch 'develop' into pari-dev 2024-11-21 21:57:03 +08:00
fly_mc
1372e005a5 Revert "do not use media proxy if emoji is local"
This reverts commit e2471b85dd.
2024-11-21 21:55:50 +08:00
github-actions[bot]
752606fe88 Bump version to 2024.11.0-beta.4 2024-11-21 08:21:54 +00:00
github-actions[bot]
a21a2c52d7 Bump version to 2024.11.0-alpha.3 2024-11-21 06:27:16 +00:00
かっこかり
c1f19fad1e
fix(backend): fix apResolver (#15010)
* fix(backend): fix apResolver

* fix

* add comments

* tweak comment
2024-11-21 14:36:24 +09:00
fly_mc
e8d04d1029 Merge branch 'develop' into pari-dev 2024-11-21 12:32:48 +08:00
e2471b85dd do not use media proxy if emoji is local
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-21 12:19:31 +08:00
かっこかり
3a6c2aa835
fix(backend): fix type error(s) in security fixes (#15009)
* Fix type error in security fixes

(cherry picked from commit fa3cf6c2996741e642955c5e2fca8ad785e83205)

* Fix error in test function calls

(cherry picked from commit 1758f29364eca3cbd13dbb5c84909c93712b3b3b)

* Fix style error

(cherry picked from commit 23c4aa25714af145098baa7edd74c1d217e51c1a)

* Fix another style error

(cherry picked from commit 36af07abe28bec670aaebf9f5af5694bb582c29a)

* Fix `.punyHost` misuse

(cherry picked from commit 6027b516e1c82324d55d6e54d0e17cbd816feb42)

* attempt to fix test: make yaml valid

---------

Co-authored-by: Julia Johannesen <julia@insertdomain.name>
2024-11-21 12:10:02 +09:00
かっこかり
53e827b18c
fix(backend): fix security patches (#15008) 2024-11-21 10:30:30 +09:00
syuilo
0f59adc436 fix ap/show 2024-11-21 09:25:18 +09:00
syuilo
9fdabe3666 fix(backend): use atomic command to improve security
Co-Authored-By: Acid Chicken <root@acid-chicken.com>
2024-11-21 09:22:15 +09:00
rectcoordsystem
090e9392cd
Merge commit from fork
* fix(backend): check target IP before sending HTTP request

* fix(backend): allow accessing private IP when testing

* Apply suggestions from code review

Co-authored-by: anatawa12 <anatawa12@icloud.com>

* fix(backend): lint and typecheck

* fix(backend): add isLocalAddressAllowed option to getAgentByUrl and send (HttpRequestService)

* fix(backend): allow fetchSummaryFromProxy, trueMail to access local addresses

---------

Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-21 08:27:09 +09:00
Julia
b9cb949eb1
Merge commit from fork
* Fix poll update spoofing

* fix: Disallow negative poll counts

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-21 08:24:50 +09:00
Julia
5f675201f2
Merge commit from fork
* enhance: Add a few validation fixes from Sharkey

See the original MR on the GitLab instance:
https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/484

Co-Authored-By: Dakkar <dakkar@thenautilus.net>

* fix: primitive 2: acceptance of cross-origin alternate

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 3: validation of non-final url

* fix: primitive 4: missing same-origin identifier validation of collection-wrapped activities

* fix: primitives 5 & 8: reject activities with non
string identifiers

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 6: reject anonymous objects that were fetched by their id

* fix: primitives 9, 10 & 11: http signature validation
doesn't enforce required headers or specify auth header name

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 14: improper validation of outbox, followers, following & shared inbox collections

* fix: code style for primitive 14

* fix: primitive 15: improper same-origin validation for
note uri and url

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 16: improper same-origin validation for user uri and url

* fix: primitive 17: note same-origin identifier validation can be bypassed by wrapping the id in an array

* fix: code style for primitive 17

* fix: check attribution against actor in notes

While this isn't strictly required to fix the exploits at hand, this
mirrors the fix in `ApQuestionService` for GHSA-5h8r-gq97-xv69, as a
preemptive countermeasure.

* fix: primitive 18: `ap/get` bypasses access checks

One might argue that we could make this one actually preform access
checks against the returned activity object, but I feel like that's a
lot more work than just restricting it to administrators, since, to me
at least, it seems more like a debugging tool than anything else.

* fix: primitive 19 & 20: respect blocks and hide more

Ideally, the user property should also be hidden (as leaving it in leaks
information slightly), but given the schema of the note endpoint, I
don't think that would be possible without introducing some kind of
"ghost" user, who is attributed for posts by users who have you blocked.

* fix: primitives 21, 22, and 23: reuse resolver

This also increases the default `recursionLimit` for `Resolver`, as it
theoretically will go higher that it previously would and could possibly
fail on non-malicious collection activities.

* fix: primitives 25-33: proper local instance checks

* revert: fix: primitive 19 & 20

This reverts commit 465a9fe6591de90f78bd3d084e3c01e65dc3cf3c.

---------

Co-authored-by: Dakkar <dakkar@thenautilus.net>
Co-authored-by: Laura Hausmann <laura@hausmann.dev>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-21 08:20:09 +09:00
Sayamame-beans
aa48a0e207
Fix: リノートミュートが新規投稿通知に対して作用していなかった問題を修正 (#15006)
* fix(backend): renoteMute doesn't work for note notification

* docs(changelog): update changelog
2024-11-21 08:00:50 +09:00
syuilo
f0c3a4cc0b
perf(frontend): reduce api requests for non-logged-in enviroment (#15001)
* wip

* Update CHANGELOG.md

* wip
2024-11-21 07:58:34 +09:00
fly_mc
7b622d797d frontend: add same router 2024-11-21 00:47:34 +08:00
fly_mc
1eec109e33 backend: restore NoteDeleteService 2024-11-21 00:15:43 +08:00
fly_mc
2e73da70b7 Merge branch 'develop' into pari-dev 2024-11-21 00:03:02 +08:00
fly_mc
5459bc395b removed unsed files 2024-11-20 23:40:42 +08:00
fly_mc
5dc938cb93 backend: fixes 2024-11-20 23:37:16 +08:00
鴇峰 朔華
4603ab67bb
feat: 絵文字のポップアップメニューに編集を追加 (#15004)
* Mod: 絵文字のポップアップメニューに編集を追加

* fix: code styleの修正

* fix: code styleの修正

* fix
2024-11-20 20:08:26 +09:00
fly_mc
75fd0bb701 locales: aboutPari 2024-11-20 11:50:42 +08:00
fly_mc
54c5328a7f frontend: tweak showActionsOnlyHover 2024-11-20 11:42:51 +08:00
3dcb376b23 improve emoji packing
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-20 01:02:00 +08:00
fly_mc
a131e4d9e9 backend: fix make emoji categories and names case insensitive 2024-11-20 00:32:08 +08:00
fly_mc
75d49c9262 make emoji categories and names case insensitive 2024-11-19 22:58:15 +08:00
fly_mc
f61376fce8 Merge branch 'develop' into pari 2024-11-19 22:52:15 +08:00
fly_mc
d08e13d57b frontend: use testingcf jsdelivr 2024-11-19 22:46:35 +08:00
fly_mc
7a90b3c4f9 Revert "frontend: tweak custom fonts"
This reverts commit eb5b3e4683.
2024-11-19 22:45:48 +08:00
fly_mc
8c65e9052f sw: static-assets cache 2024-11-19 22:41:29 +08:00
fly_mc
f27d2640dd frontend: fix wrong type of font 2024-11-19 22:40:30 +08:00
fly_mc
eb5b3e4683 frontend: tweak custom fonts 2024-11-19 22:28:55 +08:00
fly_mc
e72bf3eedf chores: removed unused css 2024-11-19 22:15:11 +08:00