Commit graph

129 commits

Author SHA1 Message Date
Hazelnoot
9e33e75fc2 fix frontend-shared not publishing to the correct path 2025-11-06 00:36:45 -05:00
Hazelnoot
3b2ece2fcf fix frontend-shared building utils to the wrong directory 2025-11-05 19:41:09 -05:00
Hazelnoot
5bf9efbe8b fix TypeScript warning from vite.replaceIcons.ts 2025-11-05 19:41:08 -05:00
Hazelnoot
74f068e4c1 add missing reference to execa from frontend-shared 2025-11-05 19:41:08 -05:00
Hazelnoot
150ee9754f use correct template for frontend-shared/tsconfig.util.json 2025-11-05 19:41:08 -05:00
Hazelnoot
802e881173 update frontend-shared to the new templates 2025-11-05 19:41:08 -05:00
Hazelnoot
efb84e226d noEmit from scripts tsconfigs 2025-11-05 19:41:08 -05:00
Hazelnoot
73481990ea modernize frontend-shared to target the same ES and TS standards as the rest of the app 2025-11-05 19:40:49 -05:00
Hazelnoot
3702729f26 update all dependencies 2025-11-05 19:29:50 -05:00
Hazelnoot
723f9685bb update to latest package versions used by Misskey 2025-11-05 19:25:29 -05:00
Hazelnoot
7ab94bef3b modify tsconfig files to improve IDE performance 2025-11-05 19:24:09 -05:00
Hazelnoot
6eb58741e8 update vue/vite and remove unused frontend deps 2025-11-05 19:23:08 -05:00
Hazelnoot
2b4b5fd32c fix ESLint errors when opening a configuration file in the IDE 2025-11-05 19:21:50 -05:00
Marie
741e612508 merge: Expand Mandatory CW feature and fixup block/mute/silence features (resolves #809, #910, #912, #943, #1064, #1142, and #1186) (!1148)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1148

Closes #809, #910, #912, #943, #1064, #1142, and #1186

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-09-25 20:05:46 +02:00
Hazelnoot
e260a05f42 recognize video/x-matroska (MKV files) as a video type 2025-09-13 11:42:20 -04:00
Hazelnoot
5e0115335a add mandatory CW for instances 2025-09-13 11:34:35 -04:00
Hazelnoot
92750240eb implement mandatory CW for notes (resolves #910) 2025-09-13 11:34:35 -04:00
Hazelnoot
479e6daa1d add role policy "canViewFederation" 2025-08-18 16:52:06 -04:00
Marie
961979b55e merge: [frontend] SkModPlayer drawing optimization with slice display (!1110)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1110

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 08:21:28 +00:00
Vavency
177a5c048c [frontend] Theme: add SkModPlayer slider knob as a theme-able var. 2025-07-24 20:24:20 +03:00
Vavency
29cbe18e37 [frontend] Theme: add modplayer defaults to theme props 2025-07-23 23:13:08 +03:00
наб
a00a3c6841
Add importCompleted notification. Send importCompleted when antenna/customEmoji/muting/userList is imported
The only userImportableEntities that don't notify
are blocking and following because they fork off a batch of single

Closes #891
2025-07-16 18:32:18 +02:00
dakkar
33aee38a59 Merge branch 'develop' into upstream/2025.5.0 2025-06-13 08:43:17 +01:00
dakkar
99bf315351 merge: Fix uncaught exception hooks and add more shutdown logging. (!1111)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1111

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-13 07:14:28 +00:00
Hazelnoot
0a56ce92ca use uncaughtExceptionMonitor instead uncaughtException 2025-06-12 21:36:46 -04:00
Hazelnoot
1a964cb6c0 pcleanup dependencies:
* Consolidate multiple different HTML/XML/RSS libraries to use the Cheerio stack
* Remove unused deps
* Move dev dependencies to correct section
* Pin versions where missing
2025-06-12 21:11:16 -04:00
dakkar
3ebf9c4a71 Merge branch 'develop' into upstream/2025.5.0 2025-06-10 14:02:32 +01:00
Hazelnoot
87dc73d700 reduce frontend log spam from debug messages 2025-06-06 22:20:16 -04:00
dakkar
1ba4ca95af merge: Add delay and retry to Page's embedded note loading (!1072)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1072

Closes #853

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-06-04 08:04:26 +00:00
Outvi V
909239bbe5 chore: add per comments 2025-06-04 09:23:15 +08:00
Marie
4d8efa9be4 add spdx header 2025-06-01 17:35:53 +00:00
Outvi V
d0641eaf20 chore: lint 2025-06-01 13:30:24 +08:00
Outvi V
3f77cca7af chore: lint 2025-06-01 13:20:19 +08:00
Outvi V
e8f2180279 fix: simplify the code 2025-06-01 13:07:57 +08:00
Outvi V
3889457d50 chore: lint 2025-06-01 06:55:31 +08:00
Outvi V
de7f7984cd chore: move retryOnThrottled to frontend-shared 2025-06-01 06:30:28 +08:00
dakkar
46bb75d274 Merge branch 'develop' into upstream/2025.5.0 2025-05-30 11:13:37 +01:00
Hazelnoot
5af5414fdf enable TypeScript incremental mode to speed up IDEs 2025-05-28 21:31:39 -04:00
Hazelnoot
2e4ec0dd9e add role policy to allow note trending 2025-05-14 23:24:24 -04:00
dakkar
bd90a5aeaa Merge tag '2025.5.0' into upstream/2025.5.0 2025-05-13 11:29:59 +01:00
Hazelnoot
05e5be8218 show muted words in NoteDetailed / NoteSub components 2025-05-12 21:46:03 -04:00
syuilo
8959bfa1c0
refactor(frontend): 空/エラー結果表示をコンポーネント化 (#15963)
* wip

* wip

* wip

* wip

* wip

* Update MkResult.vue

* Add storybook story for MkResult (#15964)

* Update MkResult.vue

---------

Co-authored-by: taichan <40626578+tai-cha@users.noreply.github.com>
2025-05-06 14:41:31 +09:00
Marie
69448c0204 fix incorrect file extension for error image 2025-05-03 11:49:24 +00:00
Hazelnoot
9c301fa5aa Merge branch 'misskey-develop' into merge/2025-03-24
# Conflicts:
#	.github/workflows/api-misskey-js.yml
#	.github/workflows/changelog-check.yml
#	.github/workflows/check-misskey-js-autogen.yml
#	.github/workflows/get-api-diff.yml
#	.github/workflows/lint.yml
#	.github/workflows/locale.yml
#	.github/workflows/on-release-created.yml
#	.github/workflows/storybook.yml
#	.github/workflows/test-backend.yml
#	.github/workflows/test-federation.yml
#	.github/workflows/test-frontend.yml
#	.github/workflows/test-misskey-js.yml
#	.github/workflows/test-production.yml
#	.github/workflows/validate-api-json.yml
#	package.json
#	packages/backend/package.json
#	packages/backend/src/server/api/ApiCallService.ts
#	packages/backend/src/server/api/endpoints/drive/files/create.ts
#	packages/frontend-shared/js/url.ts
#	packages/frontend/package.json
#	packages/frontend/src/components/MkFileCaptionEditWindow.vue
#	packages/frontend/src/components/MkInfo.vue
#	packages/frontend/src/components/MkLink.vue
#	packages/frontend/src/components/MkNote.vue
#	packages/frontend/src/components/MkNotes.vue
#	packages/frontend/src/components/MkPageWindow.vue
#	packages/frontend/src/components/MkReactionsViewer.vue
#	packages/frontend/src/components/MkTimeline.vue
#	packages/frontend/src/components/MkUrlPreview.vue
#	packages/frontend/src/components/MkUserPopup.vue
#	packages/frontend/src/components/global/MkPageHeader.vue
#	packages/frontend/src/components/global/MkUrl.vue
#	packages/frontend/src/components/global/PageWithHeader.vue
#	packages/frontend/src/pages/about-misskey.vue
#	packages/frontend/src/pages/announcements.vue
#	packages/frontend/src/pages/antenna-timeline.vue
#	packages/frontend/src/pages/channel.vue
#	packages/frontend/src/pages/instance-info.vue
#	packages/frontend/src/pages/note.vue
#	packages/frontend/src/pages/page.vue
#	packages/frontend/src/pages/role.vue
#	packages/frontend/src/pages/tag.vue
#	packages/frontend/src/pages/timeline.vue
#	packages/frontend/src/pages/user-list-timeline.vue
#	packages/frontend/src/pages/user/followers.vue
#	packages/frontend/src/pages/user/following.vue
#	packages/frontend/src/pages/user/home.vue
#	packages/frontend/src/pages/user/index.vue
#	packages/frontend/src/ui/deck.vue
#	packages/misskey-js/generator/package.json
#	pnpm-lock.yaml
#	scripts/changelog-checker/package-lock.json
#	scripts/changelog-checker/package.json
2025-04-29 15:54:11 -04:00
かっこかり
f8b0863b8e
fix(frontend): fix lint (#15906)
* fix(frontend): attempt to fix lint

* fix lint
2025-04-29 15:54:57 +09:00
Julia
d10fdfe973
Merge commit from fork
* SP-2025-03.1 always wrap icon&thumbnail URLs

if they're not HTTP URLs, the frontend won't be able to display them
anyway (`<img src="mailto:…">` or '<div stile="background-image:
url(nntp:…)">` aren't going to work!), so let's always run them through the
media proxy, which will fail harder (fetching a `javascript:` URL
won't do anything in the backend, might do something in the frontend)
and will always protect the client's address in cases like `gemini:`
where the browser could try to fetch

* SP-2025-03.2 use object binding for more styles

interpolating a random (remote-controlled!) string into a `style`
attribute is a bad idea; using VueJS object binding, we should get
proper quoting and therefore safe parse failures instead of CSS
injections / XSS

* SP-2025-03.3 slightly more robust "self" URL handling

parse URLs instead of treating them as strings; this is still not
perfect, but the `URL` class only handles full URLs, not relative
ones, so there's so way to ask it "give me a URL object that
represents this resource relative to this base URL"

notice that passing very weird URLs to `MkUrl` and `MkUrlPreview` will
break the frontend (in dev mode) because there's an untrapped `new
URL(…)` that may explode; production builds seem to safely ignore the
error, though

---------

Co-authored-by: dakkar <dakkar@thenautilus.net>
2025-04-29 08:15:54 +09:00
dakkar
4981e5ba36 Merge branch 'develop' into merge/2025-03-24 2025-04-28 15:31:28 +01:00
renovate[bot]
e8eb4e1965
fix(deps): update [frontend] update dependencies (#15809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 11:41:23 +09:00
Julia Johannesen
b25f869a7a
Fix linter issue
ESLint my beloathed
2025-04-27 15:42:19 -04:00
Julia Johannesen
0bb4e57b0c
Security fixes
Co-Authored-By: dakkar <dakkar@thenautilus.net>
2025-04-27 13:05:09 -04:00