Commit Graph

6732 Commits

Author SHA1 Message Date
Hazel K 7ad36d33e9 add comments for mute logic 2024-10-03 00:49:47 -04:00
Hazel K 72d59b459a respect word mutes 2024-10-03 00:45:49 -04:00
Hazel K fcb1218bbc add missing import 2024-10-03 00:43:45 -04:00
blueb cbecaad5ae don't make MkAbuseReport harder to see if resolved 2024-10-03 00:06:20 -04:00
blueb a32a8e0404 improvement: make MkAbuseReport more friendly for smaller screen sizes 2024-10-03 00:02:04 -04:00
Hazel K 64c737036f more lint fixes 2024-10-02 23:35:40 -04:00
Hazel K 40179a5591 lint fixes 2024-10-02 22:00:32 -04:00
Hazel K 5c87ed8488 add missing import 2024-10-02 20:32:54 -04:00
Hazel K 444b02ecdd reload user info when switching tabs 2024-10-02 20:26:22 -04:00
Hazel K 508e76b672 scroll both columns separately 2024-10-02 20:20:51 -04:00
CenTdemeern1 28aa99b273 Implement "Show Below Avatar" for Avatar Decorations 2024-10-02 23:49:30 +02:00
Hazel K 9ddab63a6a hide actions in mobile layout 2024-10-02 17:08:12 -04:00
Hazel K 484a39c658 Merge branch 'develop' into hazelnoot/following-timeline 2024-10-02 15:02:29 -04:00
Hazel K 19d7d44d0e use QueryService for blocks and mutes 2024-10-02 15:02:22 -04:00
Marie 007384c536
upd: fix random bg on post button in classic view
This does basically nothing in classic view besides breaking the custom wallpapers function
2024-10-02 20:40:58 +02:00
Marie da7a5add33
upd: use @click.prevent instead of @click 2024-10-02 20:11:41 +02:00
dakkar a357e9bca2 merge: fix exception when logging IP addresses (!644)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/644

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-10-02 17:59:03 +00:00
Marie f08ef28d54
upd: fix broken returns and change if statement 2024-10-02 19:39:06 +02:00
Marie 9dd51bc9eb
upd: fix donationUrl check position 2024-10-02 19:31:46 +02:00
Marie 6b459be117
upd: move totalSponsors and donationUrl check 2024-10-02 19:27:26 +02:00
Hazel K 49e00c39cf Merge branch 'develop' into hazelnoot/following-timeline 2024-10-02 13:23:04 -04:00
Hazel K d7f1e3f823 respect blocks and mutes for replies and renotes 2024-10-02 13:23:01 -04:00
Marie 34cbf55239
upd: apply suggestion 2024-10-02 19:16:54 +02:00
Marie e2010caaff
Merge branch 'develop' into upd/instancesponsor 2024-10-02 18:57:49 +02:00
Marie a87ced64ca
chore: lint 2024-10-02 18:51:07 +02:00
Hazel K 3defed6a19 fix exception when logging IP addresses 2024-10-02 12:47:01 -04:00
Hazel K f43cb514b0 add menu to toggle user replies / boosts 2024-10-02 12:41:08 -04:00
Marie 0897458c72
Merge branch 'develop' into upd/instancesponsor 2024-10-02 18:39:45 +02:00
Hazel K 7603ecddac respect domain mutes 2024-10-02 12:28:41 -04:00
Marie dcd6eee627
upd: cache instance sponsors 2024-10-02 18:27:11 +02:00
Marie cc1017b2af
upd: add sponsors to instance information 2024-10-02 18:25:23 +02:00
Marie 3529042cb1
fix: api returns all backers on users so check if tier exists 2024-10-02 18:25:06 +02:00
Hazel K 7b2bc12ff9 Merge branch 'develop' into hazelnoot/following-timeline 2024-10-02 12:18:29 -04:00
Marie 2e036d14c5
fix: sidebarLogoUrl type 2024-10-02 17:53:44 +02:00
Hazel K 705ae79eb1 Merge branch 'develop' into hazelnoot/following-timeline 2024-10-02 11:45:09 -04:00
Hazel K ef7cde6bc6 fixes from peer review 2024-10-02 11:38:21 -04:00
Marie 321e7daab5
chore: add comments 2024-10-02 17:26:23 +02:00
Marie 1e0d372eb5
upd(backend): add support for instance oc urls 2024-10-02 17:20:30 +02:00
dakkar 0bd6d48c7e merge: Customize Sidebar/Visitor/About separately from app icon. (!632)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/632

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-10-02 14:55:20 +00:00
dakkar bf85d22a66 merge: Enhance: Add back buttons to Antenna and List Timelines, Tag Search, and Role Detail page. (!637)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/637

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-10-02 14:43:37 +00:00
dakkar 7bc0d4efff merge: Respect CWs in note previews (resolves #690) (!639)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/639

Closes #690

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-10-02 14:43:07 +00:00
Hazel K c0583e5d5c don't leak boost / quote / reply contents when CW is in effect 2024-10-02 00:54:35 -04:00
Hazel K 19204851a0 Revert "respect CWs in note summaries"
This reverts commit cf49701c2a.
2024-10-02 00:49:26 -04:00
Hazel K 5a36c91bf1 Revert "avoid TS errors in get-note-summary"
This reverts commit 6785996960.
2024-10-02 00:49:25 -04:00
Hazel K 2cad08001a Revert "preserve non-text details in note summaries"
This reverts commit 23659ab013.
2024-10-02 00:49:25 -04:00
Hazel K fa176ab543 Revert "expose prop to force-collapse MkNote / SkNote"
This reverts commit c5117552ca.
2024-10-02 00:48:23 -04:00
Hazel K 93a4008d42 disable the per-user feed on mobile 2024-10-02 00:45:41 -04:00
Hazel K 09b0de13bf fix comment typo 2024-10-02 00:44:26 -04:00
Hazel K e031877a9e rename some CSS and JS names 2024-10-02 00:20:39 -04:00
Hazel K eb2c2e261b remove extraneous "user preview" from feed entries 2024-10-02 00:15:52 -04:00
Hazel K 21277eab8f auto-select the first user in the following feed 2024-10-02 00:11:57 -04:00
Hazel K 2a11c1ecf6 emit "init" event from MkPagination 2024-10-02 00:09:32 -04:00
Hazel K 8f14fec45b fix error handling for following-feed 2024-10-02 00:09:10 -04:00
Hazel K ce5c156e42 translate alt text for "no notes found" image 2024-10-02 00:08:52 -04:00
Hazel K c8abbcaa33 fix link to post 2024-10-01 22:40:19 -04:00
Hazel K 779b5ef257 show two lines of text for feed entries 2024-10-01 22:27:08 -04:00
Hazel K d2cf675569 show user info over user feed 2024-10-01 22:21:08 -04:00
Hazel K cb10fe91bb preserve non-text details in note summaries 2024-10-01 18:28:25 -04:00
Hazel K 204e734192 include user feed 2024-10-01 18:28:04 -04:00
Hazel K 23659ab013 preserve non-text details in note summaries 2024-10-01 18:26:59 -04:00
Hazel K 94ce7272a7 avoid TS errors in get-note-summary 2024-10-01 14:47:06 -04:00
Hazel K 34aeeb0862 respect CWs in note summaries 2024-10-01 14:47:06 -04:00
Hazel K 6785996960 avoid TS errors in get-note-summary 2024-10-01 14:44:34 -04:00
Hazel K cf49701c2a respect CWs in note summaries 2024-10-01 14:44:16 -04:00
Hazel K ae3863bed0 use compact rendering for following feed 2024-10-01 14:37:09 -04:00
Julia Johannesen 91889dfed3
Add spacing in type signature
Again, to match the upstream PR.
2024-10-01 13:07:32 -04:00
Julia Johannesen 0aec0bb402
Fix to match upstream
Upstreams linter was mad about the attributes not being before the event
handlers, so this fixes that to match upstream when we end up merging
2024.9 (assuming it gets included in that release)
2024-10-01 10:30:02 -04:00
Julia Johannesen 7a1596cad9
Make post form attachments accessible
Adds a role="button", tabindex, and @keydown to MkPostFormAttaches in
order to make it accessible to keyboard users.
2024-10-01 10:06:40 -04:00
Hazel K 6cb4ee7879 fix page icon 2024-09-30 14:47:35 -04:00
Hazel K e022148875 add refresh button 2024-09-30 13:56:10 -04:00
Hazel K acc0c7867f exclude boosts from featured timeline 2024-09-30 13:29:15 -04:00
Hazel K 8d3367dee3 fix more copyright headers 2024-09-30 12:14:00 -04:00
Hazel K 168ff64b03 fix copyright header 2024-09-30 12:06:44 -04:00
Hazel K 6a42874eac add following-feed page 2024-09-30 12:06:00 -04:00
Hazel K c5117552ca expose prop to force-collapse MkNote / SkNote 2024-09-30 12:04:44 -04:00
Hazel K 502e642b4a update misskey-js for notes/following endpoint 2024-09-30 12:03:48 -04:00
Hazel K 04baad2f9c fix icon mappings for ti-user-check and ti-user-heart 2024-09-30 12:03:21 -04:00
Hazel K 3479c2c13a add mutuals-only option 2024-09-30 01:12:29 -04:00
Hazel K 072f4b4608 add /notes/following endpoint 2024-09-30 00:49:45 -04:00
Hazel K ebff2eec87 track latest note for each user 2024-09-29 23:24:22 -04:00
Hazel K 7b104ffe94 fix crash during startup 2024-09-29 23:22:58 -04:00
Hazel K 01ec9635c1 remove duplicate generated columns from LatestNote 2024-09-29 22:51:24 -04:00
Hazel K 0a09e6d86a clean up copy constructor 2024-09-29 22:50:39 -04:00
Hazel K d1b5b54bad remove extra space 2024-09-29 22:50:29 -04:00
Hazel K 06932710f0 move migration to correct folder 2024-09-29 22:39:06 -04:00
Hazel K a3d67b58ed add copy constructor to LatestNote 2024-09-29 21:52:57 -04:00
Hazel K 80b3da531e fix name of LatestNotesRepository 2024-09-29 21:52:43 -04:00
Hazel K f8b55d357d add `latest_note` table 2024-09-29 21:27:38 -04:00
piuvas de33ade423
fix wording for the branding setting 2024-09-29 11:45:35 -03:00
piuvas 4edce0cb48
classic view 2024-09-29 09:04:21 -03:00
github-actions[bot] 781e64aa7f Release: 2024.9.0 2024-09-29 11:42:16 +00:00
github-actions[bot] d6e1f022d4 Bump version to 2024.9.0-beta.14 2024-09-29 11:37:44 +00:00
piuvas 08711e144b
fix iconOnly view 2024-09-29 08:29:50 -03:00
github-actions[bot] 2ea49703f6 Bump version to 2024.9.0-alpha.13 2024-09-29 09:58:32 +00:00
zyoshoka 1184436461
fix(backend): update and re-enable Bull Dashboard (#14648) 2024-09-29 18:44:55 +09:00
かっこかり 088707c114
enhance(frontend): cwでも絵文字メニューを開けるように (#14647)
* fix(frontend): cwでも絵文字メニューを開けるように

* Update Changelog
2024-09-29 18:24:34 +09:00
syuilo 15f2e1425c tweak MkCondensedLine
#14642
2024-09-29 17:30:16 +09:00
github-actions[bot] 57effa9ef0 Bump version to 2024.9.0-alpha.12 2024-09-28 09:19:30 +00:00
syuilo f0d0cd2e50
wip (#14643) 2024-09-28 18:15:32 +09:00
syuilo afbba1ff1c Update WebhookTestService.ts 2024-09-28 16:45:57 +09:00
syuilo e5856c6b3b 🎨 2024-09-28 14:02:48 +09:00
syuilo 3f3c59e1ae 🎨 2024-09-28 13:45:53 +09:00
syuilo f49d7927aa 🎨 2024-09-28 13:41:31 +09:00
丈槍由紀 025b2467b2 Add back button to the Roles page. 2024-09-27 23:00:08 -04:00
丈槍由紀 d9ba0f9f0d Add back button to antenna, list, and tag timelines. 2024-09-27 23:00:02 -04:00
syuilo 9e9198086d enhance(backend): add user.score for moderation purpose 2024-09-28 11:54:40 +09:00
github-actions[bot] ca022b9349 Bump version to 2024.9.0-alpha.11 2024-09-28 01:22:47 +00:00
FineArchs 25670b5f16
Mk:C:containerのborderStyleとborderRadiusを設定できるように (#14638)
* borderStyle and borderRadius

* changelog
2024-09-28 10:06:01 +09:00
syuilo 6fdb2b13f4 update deps 2024-09-28 10:04:16 +09:00
syuilo 28e9d4e483
feat: フォローされた際のメッセージを設定できるようにする (#14430)
* feat: フォローされた際のメッセージを設定できるようにする

Resolve #14425

* Update CHANGELOG.md

* 既にフォローしているユーザーのメッセージも見れるように

* Update packages/frontend/src/components/MkNotification.vue

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>

* fix indent

* Update users.ts

* wip

* Update users.ts

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-09-28 09:55:21 +09:00
syuilo e4d4cc5277 🎨 2024-09-28 09:52:40 +09:00
FineArchs 27a256b502
show shown (#14639) 2024-09-28 08:12:12 +09:00
Yuri Lee b83a2f33ff
test(backend): Add test for Passkey API (#14635) 2024-09-28 08:09:30 +09:00
かっこかり d8a2eeb7ed
feat: エクスポート完了時に通知を発行するように (#14484)
* feat: エクスポート完了時に通知を発行するように

* Update Changelog

* entitity -> entity

* fix: ペイロードを含むように

* fix icon

* exportableEntities -> userExportableEntities
2024-09-26 14:15:03 +09:00
syuilo 89841e4c9a enhance(frontend): 絵文字ピッカーをドロワー表示するか自由に設定可能に 2024-09-26 12:41:48 +09:00
syuilo 31988db547 🎨 2024-09-26 11:35:40 +09:00
KOBA789 7134d24c1f
perf(backend): Defer instance metadata update (#14558)
* Defer instance metadata update

* Fix last new line

* Fix typo

* Add license notice

* Fix syntax

* Perform deferred jobs on shutdown

* Fix missing async/await

* Fix typo :)

* Update collapsed-queue.ts

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-09-26 10:25:20 +09:00
Yuri Lee d8dd1683c9
Add Sign in with passkey Button (#14577)
* Sign in with passkey (PoC)

* 💄 Added "Login with Passkey" Button

* refactor: Improve error response when WebAuthn challenge fails

* signinResponse should be placed under the SigninWithPasskeyResponse object.

* Frontend fix

* Fix: Rate limiting key for passkey signin

Use specific rate limiting key: 'signin-with-passkey'  for passkey sign-in API to avoid collisions with signin rate-limit.

* Refactor: enhance Passkey sign-in flow and error handling

- Increased the rate limit for Passkey sign-in attempts to accommodate the two API calls needed per sign-in.
- Improved error messages and handling in both the `WebAuthnService` and the `SigninWithPasskeyApiService`, providing more context and better usability.
- Updated error messages to provide more specific and helpful details to the user.

These changes aim to enhance the Passkey sign-in experience by providing more robust error handling, improving security by limiting API calls, and delivering a more user-friendly interface.

* Refactor: Streamline 2FA flow and remove redundant Passkey button.

- Separate the flow of 1FA and 2FA.
- Remove duplicate passkey buttons

* Fix: Add error messages to MkSignin

* chore: Hide passkey button if the entered user does not use passkey login

* Update CHANGELOG.md

* Refactor: Rename functions and Add comments

* Update locales/ja-JP.yml

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>

* Fix: Update translation

- update index.d.ts
- update ko-KR.yml, en-US.yml
- Fix: Reflect Changed i18n key on MkSignin

---------

Co-authored-by: Squarecat-meow <kw7551@gmail.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-09-26 08:25:33 +09:00
syuilo fde94f638b Update about-misskey.vue 2024-09-26 08:18:23 +09:00
かっこかり aee984813d
fix(backend): embedの動作に必要な値を復活させる (#14633) 2024-09-25 19:27:50 +09:00
zyoshoka f2385a8ffc
fix(misskey-js): correct `noteUpdated` event type (#14632) 2024-09-25 17:35:54 +09:00
かっこかり 0f8b15f0fe
fix(frontend-embed): fix instanceticker, remove directives (#14631) 2024-09-25 16:28:32 +09:00
かっこかり 8c3be57ab3
fix(frontend-embed): URLエンコードされた文字列が正常に読み込めない問題を修正 (#14630)
* fix(frontend-embed): URLエンコードされた文字列が正常に読み込めない問題を修正

* fix(frontend-embed): bring back missing bits
2024-09-25 16:12:34 +09:00
syuilo 5c62cbcca8 tweak style 2024-09-25 16:07:23 +09:00
syuilo 5c94b4cb49 🎨 2024-09-25 13:02:31 +09:00
github-actions[bot] 8890a7a0b7 Bump version to 2024.9.0-alpha.10 2024-09-25 03:43:12 +00:00
かっこかり dd124a8aed
Fix: `<link rel="alternate">`を追って照会するのはOKレスポンスが返却された場合のみに (#14627)
* Only accept HTML `<link rel="alternate">` on success

(cherry picked from commit 6ea48be84a)

* Use `res.ok` instead of 200-299

(cherry picked from commit b667a68bd4)

* jsdomに戻す

* Update Changelog

* Revert "jsdomに戻す"

This reverts commit c03603611b74d16df52e77e44c558e958a82f3f4.

* 🎨

---------

Co-authored-by: Julia Johannesen <julia@insertdomain.name>
2024-09-25 12:31:37 +09:00
syuilo 53682f5cc6 🎨 2024-09-25 12:31:04 +09:00
syuilo c88957c037 🎨 2024-09-25 09:39:12 +09:00
syuilo 9d3a331286 🎨 2024-09-25 07:55:24 +09:00
syuilo 1679a40c76 🎨 2024-09-24 21:02:22 +09:00
かっこかり c9819babfe
fix(frontend-embed): #14613 で抜け落ちた処理を戻す (#14623) 2024-09-24 19:27:20 +09:00
github-actions[bot] 7045547e46 Bump version to 2024.9.0-alpha.9 2024-09-24 09:32:19 +00:00
かっこかり 6a1a2bef43
fix(backend): RBTの修正 (#14621)
* fix(backend): 絵文字の変換処理が不十分なのを修正

* enhance: リアクションバッファリングが無効になったら即bakeするように

* attempt to fix test

* fix
2024-09-24 18:29:02 +09:00
syuilo 1d8bfe4f1c 🎨 2024-09-24 18:24:28 +09:00
syuilo ca967e83bd 🎨 2024-09-24 17:52:14 +09:00
syuilo 423bfc8798 🎨 2024-09-24 17:48:49 +09:00
syuilo 9612195fc3 enhance(frontend): tweak control panel 2024-09-24 15:54:47 +09:00
syuilo 4be307f223 refactor 2024-09-24 13:55:35 +09:00
github-actions[bot] 1b2b95e199 Bump version to 2024.9.0-alpha.8 2024-09-24 01:22:57 +00:00
FineArchs aef15069a2
Playの編集画面の保存ボタン等をstickyにする など (#14429)
* flash: sticky buttons

* sticky save buttons

* fix

* add spacer

* fix design

* Update CHANGELOG.md

* revert experimental background

* add background

* Update CHANGELOG.md

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-09-24 10:12:58 +09:00
かっこかり 3674e9b1cb
feat: adminのファイル一覧画面で、ファイルが添付されているノートを一覧できるように (#14403)
* enhance(moderation): モデレーターがファイルが添付されているノートを照会できるように (MisskeyIO#680)

Co-authored-by: riku6460 <17585784+riku6460@users.noreply.github.com>
Co-authored-by: nenohi <kimutipartylove@gmail.com>
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
(cherry picked from commit b059162324d2cfc697d1af9f3b6fb49fad2734e0)

* Update Changelog

* ✌️

Co-authored-by: riku6460 <17585784+riku6460@users.noreply.github.com>
Co-authored-by: nenohi <kimutipartylove@gmail.com>
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>

---------

Co-authored-by: Yuuki <yukikum57@gmail.com>
Co-authored-by: riku6460 <17585784+riku6460@users.noreply.github.com>
Co-authored-by: nenohi <kimutipartylove@gmail.com>
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-09-24 10:11:09 +09:00
おさむのひと 98de7ca526
fix(frontend): 連合一覧等のページネーションが壊れていたのを修正 (#14439)
* fix

* fix

* fix CHANGELOG.md

* 開発環境以外でログが出ないように

---------

Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-09-24 10:09:55 +09:00
Aleteoryx 689848943b
Fix: Continue importing from file if single emoji import fails (#14461)
* Fix: Continue importing from file if single emoji import fails

* Fix indentation

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-09-24 09:50:00 +09:00
zyoshoka a37df2cd8e
fix(frontend): weird AP delivered chart in control panel (#14481)
* fix(frontend): `Out: Fail` was negative number

* fix(frontend): don't stack AP delivered chart

* test(#10336): add `pages/admin/overview.ap-requests.vue` story

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-09-24 09:47:31 +09:00
dakkar 69efba9366 merge: Fetch sponsors from OC (!624)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/624

Closes #653

Approved-by: Julia <julia@insertdomain.name>
Approved-by: Tess K <me@thvxl.se>
2024-09-23 17:57:39 +00:00
Julia c94f6994dd merge: Only accept HTML `<link rel="alternate">` on successful HTTP statuses (!633)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/633

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-09-23 17:51:26 +00:00
Julia 30c1c7c24d merge: simpler RateLimitService, might help with the leaks (!627)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/627

Approved-by: Julia <julia@insertdomain.name>
Approved-by: Marie <github@yuugi.dev>
Approved-by: Tess K <me@thvxl.se>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-09-23 16:51:39 +00:00
piuvas silly 41edc4cfbd Update 4 files
- /packages/frontend/src/pages/admin/branding.vue
- /packages/backend/src/models/Meta.ts
- /packages/backend/src/server/api/endpoints/admin/meta.ts
- /packages/backend/src/server/api/endpoints/admin/update-meta.ts
2024-09-23 16:34:29 +00:00
piuvas silly 3ebef6ac47 Update navbar-for-mobile.vue 2024-09-23 16:26:33 +00:00