Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fedify-dev/fedify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.4.9
Choose a base ref
...
head repository: fedify-dev/fedify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.5.0
Choose a head ref
Loading
Showing with 6,798 additions and 1,446 deletions.
  1. +22 −18 .github/workflows/build.yaml
  2. +1 −0 .gitignore
  3. +1 −102 .vscode/settings.json
  4. +16 −9 .zed/settings.json
  5. +112 −0 CHANGES.md
  6. +5 −13 CONTRIBUTING.md
  7. +1 −1 README.md
  8. +1 −1 SPONSORS.md
  9. +57 −20 cli/deno.json
  10. +0 −66 cli/import_map.g.json
  11. +0 −27 cli/import_map.json
  12. +26 −3 cli/inbox.tsx
  13. +8 −1 cli/inbox/test.tsx
  14. +237 −21 cli/inbox/view.tsx
  15. +0 −25 cli/scripts/generate_import_map.ts
  16. +3 −3 cli/{npm/pack.ts → scripts/npm.ts}
  17. +100 −0 cspell.json
  18. +34 −0 deno.json
  19. BIN docs/bun.lockb
  20. +18 −18 docs/cli.md
  21. BIN docs/cli/fedify-inbox-web.png
  22. +78 −8 docs/manual/access-control.md
  23. +12 −5 docs/manual/context.md
  24. +126 −1 docs/manual/federation.md
  25. +6 −0 docs/manual/inbox.md
  26. +12 −0 docs/manual/log.md
  27. +14 −0 docs/manual/mq.md
  28. +2 −0 docs/manual/opentelemetry.md
  29. +135 −14 docs/manual/send.md
  30. +5 −5 docs/package.json
  31. +3 −3 examples/blog/components/PostForm.tsx
  32. +4 −4 examples/blog/components/Setup.tsx
  33. +47 −22 examples/blog/deno.json
  34. +1 −1 examples/blog/fresh.gen.ts
  35. +2 −0 examples/blog/loggers.ts
  36. +0 −15 examples/express/package-lock.json
  37. +14 −6 examples/hono-sample/deno.json
  38. +0 −14 examples/hono-sample/generate_import_map.ts
  39. +0 −50 examples/hono-sample/import_map.g.json
  40. +0 −13 examples/hono-sample/import_map.json
  41. +1 −1 examples/hono-sample/main.ts
  42. +0 −15 examples/next-app-router/package-lock.json
  43. +3 −5 logo.svg
  44. +3,249 −417 src/codegen/__snapshots__/class.test.ts.snap
  45. +15 −2 src/codegen/class.ts
  46. +20 −9 src/codegen/constructor.ts
  47. +30 −0 src/codegen/property.ts
  48. +1 −1 src/codegen/type.ts
  49. +57 −48 src/deno.json
  50. +13 −9 src/dnt.ts
  51. +12 −4 src/federation/callback.ts
  52. +111 −3 src/federation/context.ts
  53. +3 −2 src/federation/federation.ts
  54. +61 −6 src/federation/handler.ts
  55. +586 −26 src/federation/middleware.test.ts
  56. +379 −119 src/federation/middleware.ts
  57. +1 −0 src/federation/mod.ts
  58. +65 −2 src/federation/mq.test.ts
  59. +54 −0 src/federation/mq.ts
  60. +14 −1 src/federation/queue.ts
  61. +44 −0 src/runtime/docloader.test.ts
  62. +19 −2 src/runtime/docloader.ts
  63. +32 −3 src/runtime/key.test.ts
  64. +30 −2 src/runtime/key.ts
  65. +34 −0 src/runtime/multibase/base.ts
  66. +89 −0 src/runtime/multibase/constants.ts
  67. +82 −0 src/runtime/multibase/index.ts
  68. +117 −0 src/runtime/multibase/multibase.test.ts
  69. +103 −0 src/runtime/multibase/rfc4648.ts
  70. +61 −0 src/runtime/multibase/types.d.ts
  71. +22 −0 src/runtime/multibase/util.ts
  72. +6 −2 src/runtime/url.ts
  73. +26 −0 src/sig/key.test.ts
  74. +8 −0 src/sig/key.ts
  75. +1 −1 src/sig/proof.test.ts
  76. +2 −0 src/testing/context.ts
  77. +1 −1 src/vocab/vocab.test.ts
  78. +318 −273 src/webfinger/handler.test.ts
  79. +25 −3 src/webfinger/handler.ts
40 changes: 22 additions & 18 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -15,9 +15,9 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- run: deno task cache
working-directory: ${{ github.workspace }}/src/
- run: deno task test --coverage=.cov --junit-path=.test-report.xml
@@ -42,13 +42,18 @@ jobs:
check_name: "Test Results (Windows)"
files: src/.test-report.xml
continue-on-error: true
- if: '!cancelled()'
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: src/.test-report.xml
- run: deno coverage --lcov .cov > .cov.lcov
working-directory: ${{ github.workspace }}/src/
continue-on-error: true
- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: src/.cov.lcov
files: src/.cov.lcov
continue-on-error: true
- run: "true"

@@ -60,9 +65,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- uses: actions/setup-node@v4
with:
node-version: lts/*
@@ -80,13 +85,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- run: deno task hooks:pre-commit
working-directory: ${{ github.workspace }}/src/
- run: deno task check
working-directory: ${{ github.workspace }}/examples/blog/

release-test:
runs-on: ubuntu-latest
@@ -95,9 +97,9 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- uses: actions/setup-node@v4
with:
node-version: lts/*
@@ -120,9 +122,9 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- uses: actions/setup-node@v4
with:
node-version: lts/*
@@ -141,7 +143,7 @@ jobs:
[[ "$(jq -r .version deno.json)" = "$GITHUB_REF_NAME" ]]
! grep -i "to be released" CHANGES.md
working-directory: ${{ github.workspace }}/src/
# Don't know why, but the .gitignore list is not overriden by include list
# Don't know why, but the .gitignore list is not overridden by include list
# in deno.json:
- run: rm vocab/.gitignore
working-directory: ${{ github.workspace }}/src/
@@ -223,9 +225,9 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- run: deno task codegen
working-directory: ${{ github.workspace }}/src/
- uses: denoland/deployctl@v1
@@ -287,3 +289,5 @@ jobs:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 2

# cSpell: ignore submark softprops npmjs deployctl nwtgck
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
deno.lock
t.ts
t2.ts
103 changes: 1 addition & 102 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"deno.enable": true,
"deno.enablePaths": [
"cli",
"src",
"examples/blog",
"examples/hono-sample",
"scripts"
],
"deno.unstable": true,
"editor.detectIndentation": false,
"editor.indentSize": 2,
@@ -57,99 +50,5 @@
"editor.codeActionsOnSave": {
"source.sortImports": "always"
}
},
"cSpell.words": [
"aarch64",
"activitypub",
"activitystreams",
"aitertools",
"apidoc",
"bccs",
"biomejs",
"Bluesky",
"Bridgy",
"btos",
"callouts",
"cfworker",
"codegen",
"compactable",
"cryptosuite",
"decorrelated",
"deflist",
"Deno",
"denokv",
"denoland",
"dereferenceable",
"discoverability",
"docloader",
"eddsa",
"fedi",
"fedibird",
"fedify",
"fediverse",
"followable",
"Guppe",
"halfyear",
"highligher",
"hongminhee",
"hono",
"httpsig",
"hugoalh",
"icojs",
"instanceof",
"interoperating",
"jsonld",
"keycache",
"keypair",
"langstr",
"Lemmy",
"litepub",
"logtape",
"lume",
"lumocs",
"metas",
"microblog",
"microblogging",
"Misskey",
"msvc",
"multibase",
"multikey",
"multitenancy",
"Nexkey",
"nodeinfo",
"phensley",
"Pico",
"Pixelfed",
"popd",
"poppanator",
"proto",
"pushd",
"pwsh",
"redirections",
"rels",
"RSA-PKCS",
"RSASSA-PKCS1",
"runtimes",
"setext",
"shiki",
"spki",
"SSRF",
"subproperty",
"superproperty",
"supertypes",
"tempserver",
"traceparent",
"ts-nocheck",
"twoslash",
"typeof",
"unfollow",
"unfollowed",
"unfollowing",
"unfollows",
"urlpattern",
"uuidv7",
"vitepress",
"webfinger",
"webp"
]
}
}
25 changes: 16 additions & 9 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,52 @@
{
"deno": {
"enable": true,
"enablePaths": [
"cli",
"src",
"examples/blog",
"examples/hono-sample"
],
"unstable": true
},
"ensure_final_newline_on_save": true,
"format_on_save": "on",
"formatter": "language_server",
"languages": {
"JSON": {
"language_servers": ["deno", "!biome"]
},
"JavaScript": {
"code_actions_on_format": {
"source.sortImports": true
},
"language_servers": [
"deno",
"!typescript-language-server",
"!vtsls",
"!biome",
"..."
]
},
"TypeScript": {
"code_actions_on_format": {
"source.sortImports": true
},
"language_servers": [
"deno",
"!typescript-language-server",
"!vtsls",
"!biome",
"..."
]
},
"TSX": {
"code_actions_on_format": {
"source.sortImports": true
},
"language_servers": [
"deno",
"!typescript-language-server",
"!vtsls",
"!biome",
"..."
]
}
},
"show_wrap_guides": true,
"wrap_guides": [
80
]
"wrap_guides": [80]
}
Loading