Commit Graph

6618 Commits

Author SHA1 Message Date
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
piuvas 08711e144b
fix iconOnly view 2024-09-29 08:29:50 -03: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
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
piuvas silly 15167d98c5 Update navbar.vue 2024-09-23 16:25:34 +00:00
piuvas silly a220d327cd Update navbar-for-mobile.vue 2024-09-23 16:24:57 +00:00
piuvas silly 6c916af4ee Update InstanceEntityService.ts 2024-09-23 16:23:57 +00:00
Julia Johannesen ceaec33249
Add `DetachedWindowAPI.close` calls to `MfmService` 2024-09-22 19:41:12 -04:00
Julia Johannesen e4cbd58821
Remove superfluous `DetachedWindowAPI.close` call 2024-09-22 18:51:29 -04:00
Julia Johannesen 5b282924ea
Add `DetachedWindowAPI.close` calls 2024-09-22 18:36:46 -04:00
Julia Johannesen b667a68bd4
Use `res.ok` instead of 200-299 2024-09-22 18:35:29 -04:00
Julia Johannesen 6ea48be84a
Only accept HTML `<link rel="alternate">` on success 2024-09-22 17:13:24 -04:00
piuvas 4ee2973303
requested fixes! 2024-09-22 17:32:46 -03:00
piuvas 73c0b11d1c
fix icon-only sidebar bug. 2024-09-22 15:36:10 -03:00
piuvas d839c1eee1
sidebarlogo localization 2024-09-22 15:28:10 -03:00
piuvas 5eedbe153e
sidebarlogo migration 2024-09-22 15:10:12 -03:00
piuvas 34392ff11a
fix formatting 2024-09-22 14:50:35 -03:00
piuvas ec5b3c8788
frontend changes 2024-09-22 14:47:04 -03:00
piuvas 1af6f8c5da
backend configuring 2024-09-22 14:47:04 -03:00
Esurio 7aa956aca9
fix: use i18n in settings 2024-09-22 14:47:04 -03:00
cuteBoiButt e8cdec2278
We don't need the whole Logger class here 2024-09-22 14:46:51 -03:00
cuteBoiButt b4bd9508ee
Use proper logging facilities in WebfingerService 2024-09-22 14:46:50 -03:00
Marie 1a6c4e3714
upd: remove duplication 2024-09-22 19:13:50 +02:00
Marie 730bdab5fa upd: add onCancel to esc 2024-09-21 18:04:31 +00:00
dakkar d3710f0872 maybe fix #510 - try to not edit visibility
the frontend part is pretty straightforward, the backend part is ugly
but it shouldn't make things worse than they already are
2024-09-21 18:24:57 +01:00
dakkar 2017b763f2 fix #332 - classic view navbar now respects "side (icon only)"
* removed `menuDisplay` computed variable
* directly access `defaultStore` in `calcViewState`
* actually call `calcViewState` at setup!

all three these changes were copied from `universal.vue`, the default
view.
2024-09-21 17:10:05 +01:00
dakkar 1b58326dd6 alert when searching notes from widget, and search is disabled 2024-09-21 16:29:23 +01:00
dakkar 8a982c61c0 move rate-limit-exceeded error reporting, earlier
a rate-limit-exceeded error has `kind:'client'`, so the branch that
adds the `Retry-After` would never get taken
2024-09-20 09:16:44 +01:00
dakkar 3f6beb97d2 copy RateLimiterService from MisskeyIO
This implementation allocates fewer Promises, might help with the
memory leaks
2024-09-20 08:35:45 +01:00
dakkar 7439230401 bump `happy-dom`
just because MisskeyIO uses this version
2024-09-20 08:30:24 +01:00
dakkar e9e51fdc01 bump `glob`
latest version no longer uses `inflight`; other dependencies still use
an older `glob`, though…
2024-09-20 08:29:36 +01:00
Esurio cc51f7038e fix: use i18n in settings 2024-09-19 12:37:56 +00:00
Marie 62a81bed9b
upd: change sorting of supporters 2024-09-16 19:02:06 +02:00
Marie c5c3c26271
chore: vue lint 2024-09-16 02:11:41 +02:00
Marie 7d449b9009
chore: add spacing between { and } 2024-09-16 01:17:12 +02:00
Marie 696c76768d
chore: lint 2024-09-16 01:14:31 +02:00
Marie d2564836ed
upd: prompt for confirmation on external links 2024-09-16 01:12:20 +02:00
Marie e21e2530e6
fix: don't show quoted toast on cancel of quote note 2024-09-16 00:35:26 +02:00
Marie bde6bb0bd2
upd: don't ignore new lines on file info 2024-09-16 00:15:06 +02:00
Marie 67257ee5c6
upd: fix audio showing multiple warnings 2024-09-16 00:08:15 +02:00
Marie 9b7301fb2e
upd: Prompt for confirmation when Plugin:open_url is used 2024-09-15 23:54:31 +02:00
Marie 2e18359dad chore: lint 2024-09-15 18:17:35 +00:00
Marie b7815df134
upd: fetch sponsors from OC 2024-09-15 20:04:29 +02:00
dakkar 7f849b3502 merge: refactor: Use proper logging facilities in WebfingerService (!615)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/615

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-09-14 10:53:34 +00:00
dakkar b211507a07 merge: Run eslint with caching (!618)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/618

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
2024-09-14 10:45:44 +00:00
Esurio bd586c86ec fix: use i18n in SkSearchResultWindow 2024-09-14 16:41:31 +09:00
4censord 0a8cb21e9b
Run eslint with caching
This reduces the time for subsequent lints significantly.
e.g. for `package/frontend`, the first run takes ~10min.
With the cache, every subsequent run takes only a few seconds.
2024-09-14 00:58:02 +02:00
Julia d4c5322f9c merge: 2024.8 (!610)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/610

Approved-by: Julia <julia@insertdomain.name>
2024-09-13 15:57:16 +00:00
dakkar fcd63e0378 merge: chore: Update Donation button (!616)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/616

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
2024-09-08 16:33:24 +00:00
Marie 14ce6f7cbb chore: add missing person 2024-09-06 22:59:35 +00:00
Marie ccc2cdb887 chore: update contributor section 2024-09-06 22:46:34 +00:00
Marie 19c90d8e9f chore: update Ko-Fi text to OpenCollective 2024-09-06 21:27:35 +00:00
Marie 9a7300489c chore: update donation links in backend and frontend 2024-09-06 21:25:38 +00:00
cuteBoiButt 6b88c4f143
We don't need the whole Logger class here 2024-09-06 11:45:00 +00:00
cuteBoiButt 02c3ee12dc
Use proper logging facilities in WebfingerService 2024-09-05 21:53:55 +03:00
Essem 8669125f37
chore: Remove esm from about page 2024-09-04 16:06:15 -05:00
dakkar 7ff7464896 remove body of `NoteCreateService.import`
`create(user,data,true)` does exactly the same thing now
2024-08-30 17:19:51 +01:00
dakkar b5e0342136 linting 2024-08-30 17:14:57 +01:00
dakkar 3a3098f932 fix filtering of quote uri
apparently filtering with `x => x !== null` will let `undefined`
through…
2024-08-30 16:12:02 +01:00
dakkar 26e0412fbb bump happy-dom, disable all JS&c when parsing
version 10 didn't quite support disabling all of that

I have tested that `MfmService` (the other code that uses `happy-dom`)
still works fine: the RSS feed for a user is generated correctly, with
HTML rendered from MFM
2024-08-30 15:35:19 +01:00
dakkar 27f3d76a2b remove unused function
not present upstream, not mentioned anywhere
2024-08-30 13:38:44 +01:00
dakkar 0796d4bd62 align ApNoteService updateNote with createNote 2024-08-30 13:33:42 +01:00
dakkar 8b8ee72a81 align NoteCreateService create & import 2024-08-30 13:23:55 +01:00
dakkar 311d26547a regenerate misskey-js 2024-08-30 12:17:54 +01:00
dakkar 0bcc739551 remove duplicate line 2024-08-30 12:15:52 +01:00
dakkar e04c7ad09f copy changes from MkNote* to SkNote* 2024-08-30 12:12:44 +01:00
dakkar 907bf133cd update NoteCreateService "import" side 2024-08-30 12:09:57 +01:00
dakkar 6151099f5b Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.8 2024-08-30 12:08:31 +01:00
Leah 717d22d4be remove extra line 2024-08-26 19:12:27 +02:00
Leah ecbe595b34 added event to detect when control and enter are pressed to confirm it. Also escape now escapes the window 2024-08-26 19:09:30 +02:00
dakkar 9cf40ef452 merge: thunk the min/max promises (!603)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/603

Approved-by: Marie <github@yuugi.dev>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-08-24 20:53:08 +00:00
dakkar 06da059dbf log deletion of user files from admin -- fixes #631 2024-08-24 20:53:58 +01:00
dakkar d16f301d90 update testers for 2024.7
karilaa.app seems down, and I've not heard from them

plasmatrap has been running our release candidate for a few days
2024-08-22 14:07:21 +01:00
dakkar 17b6c1b371 tell the linter to shut up, this time 2024-08-22 13:55:22 +01:00
dakkar a408d32bb7 fix button translation
that Japanese string exactly matches that i18n key
2024-08-19 20:49:47 +01:00
dakkar 1b5bedc1d0 thunk the min/max promises
this prevents generating promises we don't use, which would get logged
by the node vm and spam the logs
2024-08-19 20:38:43 +01:00
dakkar c4e0bea931 don't return early -- should fix #626
I have no clue why I wrote that code 😭
2024-08-19 18:19:38 +01:00
dakkar f5560783ea merge: misskey 2024.7 (!583)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/583

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia Johannesen <julia@insertdomain.name>
2024-08-18 18:32:27 +00:00
dakkar 77144b058c make the cap of `activeRateLimitRequests` match the rate limit
It's trivial to have more than 128 requests in flight: open a busy
timeline, scroll a bit down, wait for many notes to arrive, scroll to
the top. The frontend will send "subscribe to note" messages for each
new note that it accumulated, all at once. We don't want to shut down
the connection in those common cases!
2024-08-18 17:57:51 +01:00
dakkar d03c9f4b62 merge: fix `offsetMode` in `MkPagination` - fixes #622 (!599)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/599

Closes #622

Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
Approved-by: Julia Johannesen <julia@insertdomain.name>
2024-08-18 16:52:42 +00:00
dakkar caa0fecdc9 relax websocket rate limits
* the frontend opens 2 websockets at startup (I'm not completely clear
  why), and that `minInterval:1sec` was breaking the second connection
* as the comment says, "catching up" generates many noteSubscribe
  messages
2024-08-18 15:23:45 +01:00
Marie 38430f8ef3 merge: fix lints (!594)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/594

Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-08-18 13:11:27 +00:00
dakkar a58df8ac7c Merge branch 'develop' into feature/misskey-2024.07 2024-08-18 13:13:23 +01:00
dakkar d92402554b merge: Rate limiting for websockets (!598)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/598

Approved-by: Marie <2-Marie@users.noreply.activitypub.software>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-08-18 12:09:25 +00:00
github-actions[bot] 621626aad3 Release: 2024.8.0 2024-08-18 08:08:38 +00:00
github-actions[bot] 2e8a1029a4 Bump version to 2024.8.0-rc.5 2024-08-18 05:21:24 +00:00
かっこかり b53ee54e4f
fix(frontend): focustrapがzindexを考慮するように (#14431) 2024-08-18 14:18:46 +09:00
github-actions[bot] b708b27bc8 Bump version to 2024.8.0-rc.4 2024-08-18 04:37:19 +00:00
Hazel K 9ce44b24b8
fix(backend): memory leak in memory caches (#14363)
* encapsulate `MemoryKVCache<T>`

* remove infinity caches

* encapsulate other caches

* add missing awaits to internally synchronize caches

* implement pull-through caching

* tune cache lifetimes

* optimize cache GC by stopping early

* summarize changes in CHANGELOG.md

* Fix timeout comments

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

* add comments about awaiting the redis write

---------

Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-08-18 13:34:01 +09:00
syuilo 9b78ce8047 🎨 2024-08-18 10:12:42 +09:00
syuilo 427f4a2cda Update about-misskey.vue 2024-08-18 10:10:06 +09:00
woxtu ba9c5c37b8
Remove undefined style (#14427) 2024-08-18 03:40:21 +09:00
Julia Johannesen 3dd993a76a
Add IP and user ID to connection close message 2024-08-17 14:27:43 -04:00
Julia Johannesen c5f7dcbb7e
Come up with better limits 2024-08-17 14:17:58 -04:00
Julia Johannesen aff57333d5
Add @types/proxy-addr 2024-08-17 13:12:16 -04:00
Julia Johannesen 9c1c1e9f09
Fix logging stuff 2024-08-17 13:08:46 -04:00
syuilo 76bbc10aa1 fix(backend): 無制限にストリーミングのチャンネルに接続できる問題を修正 2024-08-17 17:54:04 +01:00
Hazel K 5e352033c8 fix error spam from ServerStatsService when running on Windows 2024-08-17 10:00:27 -04:00
taichan bf8c42eecd
Fix(beckend): html content-type detection on signedGet (#14424)
* fix(backend): contenttype detection of html in signedGet

* code style

* fix by review
2024-08-17 19:51:56 +09:00
かっこかり 129af06198
Update packages/backend/src/core/activitypub/ApRequestService.ts 2024-08-17 18:25:46 +09:00
かっこかり 83c04c55ad
fix(misskey-js): eliminate any (follow-up of #13523) (#14422) 2024-08-17 18:15:46 +09:00
かっこかり 4e0d57000c
fix(frontend): 以前のpopupの呼び出し方を修正 (#14421) 2024-08-17 18:04:52 +09:00
syuilo c0de57c08d Update about-misskey.vue 2024-08-17 17:57:27 +09:00
かっこかり 75b0315ace
Update timeline.vue (refactor) 2024-08-17 15:24:29 +09:00
github-actions[bot] 6cdecd72ee Bump version to 2024.8.0-rc.3 2024-08-17 06:17:02 +00:00
taichan 9fbc1b7f7b
enhance(backend): headタグ内にrel=alternateの指定のあるlinkタグがある場合、記述されたURLを参照して照会できるように (#14371)
* signedGet時にhttpかつalternate属性のlinkがある場合に一回だけfollowして照会する

* Fix: validation position

* Fix import

* Fix tagname

* Update CHANGELOG

* Fix code style

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-08-17 15:12:23 +09:00
zyoshoka fd744f44c1
enhance(backend): ページ、ギャラリー、Playのモデレーション強化 (#13523)
* enhance(backend): Page、ギャラリー、Playのモデレーション強化

* Update CHANGELOG.md

* fix: update misskey-js

* refactor(frontend): use `MkA`

* Update CHANGELOG.md

* fix(i18n): Page -> ページ
2024-08-17 15:01:08 +09:00
syuilo 383c41bdb6 🎨 2024-08-17 14:57:26 +09:00
github-actions[bot] 68ec7450af Bump version to 2024.8.0-beta.2 2024-08-17 04:11:09 +00:00
かっこかり 06684fe49b
fix(backend): ベースロールのポリシー変更時モデレーションログが残るように (#14418)
* fix(policies): ベースロールのポリシー変更時モデレーションログが残るように (MisskeyIO#700)

(cherry picked from commit 80389a914049f6f26237fde8da7d4e1bd41452fc)

* Update Changelog

---------

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-08-17 12:07:00 +09:00
かっこかり 059eb6d379
fix(frontend): リノートの判定が甘いのを修正 (#14396)
* fix(frontend): リノートの判定が甘いのを修正

* fix

* Update Changelog

* fix

* use type assertion

* fix + add comments

* lint

* misskey-jsに移動

* PureRenote -> Renote

* isRenote -> isPureRenote
2024-08-17 11:28:22 +09:00
github-actions[bot] 2ab5ee81b1 Bump version to 2024.8.0-alpha.1 2024-08-17 01:25:43 +00:00
syuilo ef950a345b
suspend周りの改修 (#14409)
* enhance(backend): 凍結されたアカウントのフォローリクエストを表示しないように

* Update CHANGELOG.md

* wip

* Update gen-spec.ts

* Update packages/backend/src/server/api/endpoints/admin/suspend-user.ts

Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com>

* owa-

* revert misskey-js related changes (#14414)

---------

Co-authored-by: Kisaragi <48310258+KisaragiEffective@users.noreply.github.com>
Co-authored-by: anatawa12 <anatawa12@icloud.com>
2024-08-17 09:57:28 +09:00
syuilo d3cdc08802 fix(backend): 無制限にストリーミングのチャンネルに接続できる問題を修正 2024-08-17 09:30:03 +09:00
Julia Johannesen 6d3f9503ed
Limit number of rate limit requests 2024-08-16 17:13:20 -04:00
dakkar 4cd44130e0 use the correct remote address
we're doing the same thing that Fastify does in the non-streaming
ServerService
2024-08-16 18:00:50 +01:00
Marie 5358c4f1d0 chore: fix typo in icon name 2024-08-16 13:50:02 +00:00
dakkar 90e9480b92 fix `offestMode` in `MkPagination` - fixes #622
3f73251df5 reworked the way `offsetMode`
is handled, to allow reactive `ComputedRef<boolean>` in addition to a
simple `boolean`, so that custom emoji search could easily switch
between the faster `sinceId`/`untilId` pagination and the slower
`offset` as needed.

Or it would have, if I had written the correct expression! I wrote
`props.offsetMode` instead of `props.pagination.offsetMode`, so it was
always `false`

I have *no idea* how I didn't notice, I swear I tested it ☹

Anyway, factoring out the nested ternaries makes the whole thing
clearer and less prone to mistakes. And I have tested it, this time.
2024-08-16 14:41:04 +01:00
かっこかり 571566d476
Update timeline.vue (fix wrong type) 2024-08-16 22:01:01 +09:00
anatawa12 748a7e8f6a
feat: localizable dialog title for enter section title (#14401)
* feat: localizable dialog title for enter section title

* refactor: define `getPageBlockList` in separated file and import instead of provide/inject
2024-08-16 21:47:44 +09:00
かっこかり 6db3c50e32
fix(frontend): Misskeyの利用中に使用できるタイムラインの種類が変化した場合、使用できないタイムラインが表示されないように (#14412)
* fix(frontend): Misskeyの利用中に使用できるタイムラインの種類が変化した場合、使用できないタイムラインが表示されないように

* Update timeline.vue

* Update timeline.vue
2024-08-16 21:43:20 +09:00
zyoshoka 26322048db
fix(frontend): correct condition to displayed as system account on moderation page (#14407) 2024-08-16 21:04:08 +09:00
かっこかり a8810af8d9
fix(backend): リバーシの設定変更が反映されないのを修正 (#14404)
* fix(backend): リバーシの設定変更が反映されないのを修正

* Update Changelog

* add bindthis
2024-08-16 21:02:12 +09:00
かっこかり b9097d968c fix(backend): getApTypeでエラーを投げないように (misskey #14361) 2024-08-16 12:38:18 +01:00
syuilo 45d88574c3 enhance(frontend): improve usability 2024-08-15 20:02:53 +09:00
dakkar 311a31da58 rough rate limiting for websockets 2024-08-15 11:35:51 +01:00
zyoshoka b68b2ee8c6
refactor(frontend): remove stale reload method call on `/admin/users` page (#14406) 2024-08-14 20:29:33 +09:00
syuilo 86dd4abadc Revert "enhance(backend): 凍結されたアカウントのフォローリクエストを表示しないように"
This reverts commit cd210001e6.
2024-08-14 20:29:06 +09:00
dakkar c2b825b300 a few more fixes to `os.popup` calls 2024-08-14 12:28:57 +01:00
dakkar 99a0765eaf Merge branch 'develop' into feature/misskey-2024.07 2024-08-14 11:53:57 +01:00
dakkar 5b808a97b2 update all our uses of `os.popup` 2024-08-14 11:50:39 +01:00
dakkar 917eb821e5 fix indent 2024-08-14 11:31:21 +01:00