summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/MfmService.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* split url into webUrl and localUrl (like mastodon)stableFreya Murphy21 hours1-3/+3
|
* fix conversion of empty links to mfm URLHazelnoot2025-06-131-11/+12
|
* avoid duplicating all the childNodes.length checksHazelnoot2025-06-131-48/+35
|
* skip empty elements in MfmService.fromHtmlHazelnoot2025-06-131-25/+43
|
* use pnpm package alias for @transfem-org/sfm-jsHazelnoot2025-06-121-1/+1
|
* pcleanup dependencies:Hazelnoot2025-06-121-231/+252
| | | | | | | * 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
* merge upstream againHazelnoot2025-04-241-2/+8
|\
| * feat: render quote note with `quote-inline` class for ap compatibility (#15818)anatawa122025-04-151-2/+8
| |
* | remove unnecessary commentHazelnoot2025-04-131-1/+0
| |
* | fix test errors in MfmService.tsHazelnoot2025-04-021-6/+3
| |
* | copy changes from toHtml to toMastoApiHtmlHazelnoot2025-04-011-1/+4
| |
* | Merge branch 'develop' into merge/2025-03-24Hazelnoot2025-03-301-27/+28
|\ \ | | | | | | | | | | | | # Conflicts: # packages/backend/src/core/activitypub/models/ApPersonService.ts
| * | remove unused async from toMastoApiHtml / fromMastoApiHtmlHazelnoot2025-03-271-27/+28
| | |
* | | merge upstreamHazelnoot2025-03-251-1/+2
|\ \ \ | |/ / |/| / | |/
| * update deps (#15311)syuilo2025-02-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * bump misskey-dev/eslint-plugin * lint fixes (backend) * lint fixes (frontend) * lint fixes (frontend-embed) * rollback nsfwjs to 4.2.0 ref: infinitered/nsfwjs#904 * rollback openapi-typescript to v6 v7でOpenAPIのバリデーションが入るようになった関係でスコープ外での変更が避けられないため一時的に戻した * lint fixes (misskey-js) * temporarily disable errored lint rule (frontend-shared) * fix lint * temporarily ignore errored file for lint (frontend-shared) * rollback simplewebauthn/server to 12.0.0 v13 contains breaking changes that require some decision making * lint fixes (frontend-shared) * build misskey-js with types * fix(backend): migrate simplewebauthn/server to v12 * fix(misskey-js/autogen): ignore indent rules to generate consistent output * attempt to fix test changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML) * attempt to fix test changes due to capricorn86/happy-dom#1617 (XMLSerializer now produces valid XML) * fix test * fix test * fix test * Apply suggestions from code review Co-authored-by: anatawa12 <anatawa12@icloud.com> * bump summaly to v5.2.0 * update tabler-icons to v3.30.0-based --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> Co-authored-by: anatawa12 <anatawa12@icloud.com>
* | pick lintsdakkar2025-02-071-1/+1
| |
* | fix our ruby/group hackdakkar2025-02-071-4/+13
| |
* | Merge branch 'develop' into merge/2024-02-03Hazelnoot2025-02-071-5/+128
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # locales/index.d.ts # packages/backend/src/core/entities/UserEntityService.ts # packages/frontend/src/_dev_boot_.ts # packages/misskey-js/src/autogen/types.ts # sharkey-locales/en-US.yml
| * | format ruby for masto apidakkar2025-01-191-6/+62
| | |
| * | pick lintsdakkar2025-01-181-5/+5
| | |
| * | handle more complex ruby from/to html - fixes #605dakkar2025-01-181-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this is not exactly great, but it should be "good enough" note that the new `group` function should not escape in the wild, as we don't document it and only use it internally I tried using `$[scale foo bar]` instead of `$[group foo bar]`, but that would be rendered as `<i>foo bar</i>` when sent over the network to non-misskey instances, and we don't want that
* | | merge upstream 2025-02-03Hazelnoot2025-02-031-0/+33
|\ \ \ | |/ / |/| / | |/
| * fix(backend): Let MfmService.fromHtml accept ruby (#15117)Hong Minhee (洪 民憙)2025-01-141-0/+33
| | | | | | | | | | | | | | This fix makes `MfmService.fromHtml()` method accept `<ruby>` tags and translate it to MFM's ruby characters syntax (`$[ruby ...]`). このパッチは`MfmService.fromHtml()`メソッドが`<ruby>`タグをMFMの 読み仮名(ルビ)文法に翻訳する様に修正します。
| * fix(backend): ↵かっこかり2024-11-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ローカルユーザーへのメンションを含むノートが連合される際に正しいURLに変換されないことがある問題を修正 (#14879) * fix: make sure mentions of local users get rendered correctly during AP delivery (resolves #645) * Update Changelog * indent --------- Co-authored-by: Laura Hausmann <laura@hausmann.dev> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
| * fix(backend): ↵かっこかり2024-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ノートを連合する際にリモートユーザーのacctの大小文字を区別して処理している問題を修正 (#14880) * fix: make sure outgoing remote mentions get resolved correctly if referenced with non-canonical casing (resolves #646) * Update Changelog * Update Changelog * indent --------- Co-authored-by: Laura Hausmann <laura@hausmann.dev>
* | Merge branch 'develop' into 'fix/user-lookup-capitalization'dakkar2024-10-241-1/+3
|\ \ | | | | | | | | | # Conflicts: # packages/backend/src/core/MfmService.ts
| * | fix: make sure mentions of local users get rendered correctly during AP ↵Laura Hausmann2024-10-241-1/+3
| | | | | | | | | | | | delivery (resolves #645)
* | | fix: make sure outgoing remote mentions get resolved correctly if referenced ↵Laura Hausmann2024-10-241-1/+1
|/ / | | | | | | with non-canonical casing (resolves #646)
* | Merge remote-tracking branch 'misskey/master' into feature/2024.9.0dakkar2024-10-091-2/+2
|\|
| * fix(backend): happy-domを使用後にcloseするように (#14615)かっこかり2024-09-231-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add `DetachedWindowAPI.close` calls to `MfmService` (cherry picked from commit ceaec3324925e53ca3f467b0438a98f1108eed0f) * fix * update changelog * fix --------- Co-authored-by: Julia Johannesen <julia@insertdomain.name>
* | Add `DetachedWindowAPI.close` calls to `MfmService`Julia Johannesen2024-09-221-3/+9
| |
* | fix spacing (thanks linter)dakkar2024-08-061-1/+1
| |
* | Merge branch 'develop' into feature/misskey-2024.07dakkar2024-08-061-4/+12
|\ \
| * | use `XMLSerializer` for `toMastoApiHtml` - fixes #556dakkar2024-08-061-4/+12
| | | | | | | | | | | | the `inline` bit is not pretty, but does the job
* | | Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07dakkar2024-08-021-26/+21
|\ \ \ | |/ / |/| / | |/
| * fix(backend): parse5関係の型のimport方法を変更 (#14146)おさむのひと2024-07-071-24/+20
| |
| * fix import pathsyuilo2024-07-061-1/+1
| |
* | Merge branch 'develop' into future-2024-05-31dakkar2024-06-131-4/+11
|\ \
| * | upd: seperate H2/H3 into own caseMarie2024-06-081-2/+9
| | |
| * | upd: bold some Header tagsMarie2024-06-081-4/+4
| | |
* | | fix indentsdakkar2024-06-081-144/+144
| | |
* | | Merge branch 'develop' into future-2024-05-31dakkar2024-06-081-144/+144
|\| |
| * | renamed toMastoHtml to toMastoApiHtml to clear up what it doesKevinWh02024-05-311-2/+2
| | |
| * | fixed the search urlKevinWh02024-05-311-142/+142
| | |
* | | Merge remote-tracking branch 'misskey/release/2024.5.0' into ↵dakkar2024-05-111-3/+5
|\ \ \ | | |/ | |/| | | | future-2024-04-25-post
| * | Fix(backend): ActivityPubでのHTMLへのシリアライズを修正 (#13752)ikasoba2024-04-271-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * devモードでもActivityPub系エンドポイントへアクセスできるように * ActivityPubでのHTMLのシリアライズを修正 * ハードコードしていたurlを`httpUrl`へ修正 * テストの追加
* | | Merge remote-tracking branch 'misskey/develop' into future-2024-04-25dakkar2024-04-251-1/+4
|\| | | |/ |/|
| * fix: ↵anatawa122024-04-191-1/+4
| | | | | | | | 正規化されていない状態のhashtagが連合されてきたhtmlに含まれているとhashtagが正しくhashtagに復元されない問題を修正 (#13733)
* | merge upstream for 2024.2.1dakkar2024-03-021-144/+144
| |
* | merge: upstreamMarie2024-02-191-1/+1
|\|