@geekity/cms 0.42.1 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/pages/federation/followers.njk +1 -1
- package/admin/static/editor.js +22 -21
- package/dist/admin/admin-bar.d.ts +2 -3
- package/dist/admin/admin-bar.d.ts.map +1 -1
- package/dist/admin/admin-bar.js +4 -5
- package/dist/admin/admin-bar.js.map +1 -1
- package/dist/admin/app-activity.d.ts +1 -1
- package/dist/admin/appearance.d.ts +5 -5
- package/dist/admin/appearance.js +5 -5
- package/dist/admin/comments.d.ts +3 -3
- package/dist/admin/comments.js +2 -2
- package/dist/admin/comments.js.map +1 -1
- package/dist/admin/connected-apps.d.ts +1 -1
- package/dist/admin/connected-apps.js +1 -1
- package/dist/admin/credentials.d.ts +3 -3
- package/dist/admin/credentials.js +3 -3
- package/dist/admin/dashboard.js +2 -2
- package/dist/admin/dashboard.js.map +1 -1
- package/dist/admin/documents.d.ts +4 -4
- package/dist/admin/documents.d.ts.map +1 -1
- package/dist/admin/documents.js +150 -144
- package/dist/admin/documents.js.map +1 -1
- package/dist/admin/editor-actions.d.ts +1 -1
- package/dist/admin/editor-actions.js +1 -1
- package/dist/admin/federation.d.ts +11 -11
- package/dist/admin/federation.d.ts.map +1 -1
- package/dist/admin/federation.js +10 -10
- package/dist/admin/flash.d.ts +8 -0
- package/dist/admin/flash.d.ts.map +1 -1
- package/dist/admin/flash.js +11 -0
- package/dist/admin/flash.js.map +1 -1
- package/dist/admin/indieauth-consent.d.ts +1 -1
- package/dist/admin/indieauth-consent.js +1 -1
- package/dist/admin/legacy-migrations.d.ts +20 -19
- package/dist/admin/legacy-migrations.d.ts.map +1 -1
- package/dist/admin/legacy-migrations.js +14 -13
- package/dist/admin/legacy-migrations.js.map +1 -1
- package/dist/admin/list-indent.d.ts +19 -0
- package/dist/admin/list-indent.d.ts.map +1 -0
- package/dist/admin/list-indent.js +73 -0
- package/dist/admin/list-indent.js.map +1 -0
- package/dist/admin/media.js +1 -1
- package/dist/admin/menu.d.ts +1 -1
- package/dist/admin/menu.js +4 -4
- package/dist/admin/menu.js.map +1 -1
- package/dist/admin/messages.d.ts +2 -2
- package/dist/admin/messages.js +2 -2
- package/dist/admin/navigation.d.ts +3 -3
- package/dist/admin/navigation.js +3 -3
- package/dist/admin/personal-data.d.ts +1 -1
- package/dist/admin/personal-data.js +1 -1
- package/dist/admin/plugins.d.ts +1 -1
- package/dist/admin/plugins.js +1 -1
- package/dist/admin/preview.js +3 -3
- package/dist/admin/preview.js.map +1 -1
- package/dist/admin/recovery.d.ts +1 -1
- package/dist/admin/recovery.js +1 -1
- package/dist/admin/routes.d.ts +3 -3
- package/dist/admin/routes.js +14 -14
- package/dist/admin/routes.js.map +1 -1
- package/dist/admin/settings-discussion.d.ts +3 -3
- package/dist/admin/settings-discussion.js +3 -3
- package/dist/admin/settings-federation.d.ts +2 -2
- package/dist/admin/settings-federation.js +5 -5
- package/dist/admin/settings-federation.js.map +1 -1
- package/dist/admin/settings-general.d.ts +1 -1
- package/dist/admin/settings-general.js +2 -2
- package/dist/admin/settings-general.js.map +1 -1
- package/dist/admin/settings-page.d.ts +2 -2
- package/dist/admin/settings-page.js +1 -1
- package/dist/admin/settings-pages.d.ts +1 -1
- package/dist/admin/settings-pages.js +1 -1
- package/dist/admin/settings-reading.d.ts +2 -2
- package/dist/admin/settings-reading.js +2 -2
- package/dist/admin/syndication-targets.d.ts +2 -2
- package/dist/admin/syndication-targets.js +2 -2
- package/dist/admin/taxonomy.d.ts +4 -4
- package/dist/admin/taxonomy.js +4 -4
- package/dist/admin/templates.d.ts +2 -2
- package/dist/admin/templates.js +2 -2
- package/dist/admin/tools.d.ts +1 -1
- package/dist/admin/tools.js +1 -1
- package/dist/admin/users.d.ts +0 -159
- package/dist/admin/users.d.ts.map +1 -1
- package/dist/admin/users.js +204 -498
- package/dist/admin/users.js.map +1 -1
- package/dist/avatars/avatars.d.ts +2 -2
- package/dist/avatars/avatars.js +2 -2
- package/dist/cache.d.ts +1 -1
- package/dist/cache.js +1 -1
- package/dist/cli/args.d.ts +20 -0
- package/dist/cli/args.d.ts.map +1 -0
- package/dist/cli/args.js +138 -0
- package/dist/cli/args.js.map +1 -0
- package/dist/cli/commands.d.ts +10 -0
- package/dist/cli/commands.d.ts.map +1 -0
- package/dist/cli/commands.js +261 -0
- package/dist/cli/commands.js.map +1 -0
- package/dist/cli/database-in-use.d.ts +9 -0
- package/dist/cli/database-in-use.d.ts.map +1 -0
- package/dist/cli/database-in-use.js +38 -0
- package/dist/cli/database-in-use.js.map +1 -0
- package/dist/cli/dev-mode.d.ts +3 -0
- package/dist/cli/dev-mode.d.ts.map +1 -0
- package/dist/cli/dev-mode.js +31 -0
- package/dist/cli/dev-mode.js.map +1 -0
- package/dist/cli/export.d.ts +3 -0
- package/dist/cli/export.d.ts.map +1 -0
- package/dist/cli/export.js +53 -0
- package/dist/cli/export.js.map +1 -0
- package/dist/cli/format.d.ts +3 -0
- package/dist/cli/format.d.ts.map +1 -0
- package/dist/cli/format.js +10 -0
- package/dist/cli/format.js.map +1 -0
- package/dist/cli/gemini.d.ts +3 -0
- package/dist/cli/gemini.d.ts.map +1 -0
- package/dist/cli/gemini.js +34 -0
- package/dist/cli/gemini.js.map +1 -0
- package/dist/cli/help.d.ts +2 -0
- package/dist/cli/help.d.ts.map +1 -0
- package/dist/cli/help.js +111 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/import.d.ts +3 -0
- package/dist/cli/import.d.ts.map +1 -0
- package/dist/cli/import.js +84 -0
- package/dist/cli/import.js.map +1 -0
- package/dist/cli/init.d.ts +3 -0
- package/dist/cli/init.d.ts.map +1 -0
- package/dist/cli/init.js +21 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/cli/maintenance.d.ts +3 -0
- package/dist/cli/maintenance.d.ts.map +1 -0
- package/dist/cli/maintenance.js +57 -0
- package/dist/cli/maintenance.js.map +1 -0
- package/dist/cli/options.d.ts +16 -0
- package/dist/cli/options.d.ts.map +1 -0
- package/dist/cli/options.js +27 -0
- package/dist/cli/options.js.map +1 -0
- package/dist/cli/password.d.ts +21 -0
- package/dist/cli/password.d.ts.map +1 -0
- package/dist/cli/password.js +52 -0
- package/dist/cli/password.js.map +1 -0
- package/dist/cli/plugin-commands.d.ts +11 -0
- package/dist/cli/plugin-commands.d.ts.map +1 -0
- package/dist/cli/plugin-commands.js +79 -0
- package/dist/cli/plugin-commands.js.map +1 -0
- package/dist/cli/plugin-folder.d.ts +3 -0
- package/dist/cli/plugin-folder.d.ts.map +1 -0
- package/dist/cli/plugin-folder.js +93 -0
- package/dist/cli/plugin-folder.js.map +1 -0
- package/dist/cli/rebuild.d.ts +5 -0
- package/dist/cli/rebuild.d.ts.map +1 -0
- package/dist/cli/rebuild.js +44 -0
- package/dist/cli/rebuild.js.map +1 -0
- package/dist/cli/resend.d.ts +3 -0
- package/dist/cli/resend.d.ts.map +1 -0
- package/dist/cli/resend.js +36 -0
- package/dist/cli/resend.js.map +1 -0
- package/dist/cli/run-job.d.ts +5 -0
- package/dist/cli/run-job.d.ts.map +1 -0
- package/dist/cli/run-job.js +29 -0
- package/dist/cli/run-job.js.map +1 -0
- package/dist/cli/serve.d.ts +3 -0
- package/dist/cli/serve.d.ts.map +1 -0
- package/dist/cli/serve.js +65 -0
- package/dist/cli/serve.js.map +1 -0
- package/dist/cli/settings.d.ts +5 -0
- package/dist/cli/settings.d.ts.map +1 -0
- package/dist/cli/settings.js +144 -0
- package/dist/cli/settings.js.map +1 -0
- package/dist/cli/site-plugins.d.ts +5 -0
- package/dist/cli/site-plugins.d.ts.map +1 -0
- package/dist/cli/site-plugins.js +7 -0
- package/dist/cli/site-plugins.js.map +1 -0
- package/dist/cli/strip-metadata.d.ts +3 -0
- package/dist/cli/strip-metadata.d.ts.map +1 -0
- package/dist/cli/strip-metadata.js +20 -0
- package/dist/cli/strip-metadata.js.map +1 -0
- package/dist/cli/sync.d.ts +3 -0
- package/dist/cli/sync.d.ts.map +1 -0
- package/dist/cli/sync.js +22 -0
- package/dist/cli/sync.js.map +1 -0
- package/dist/cli/user.d.ts +3 -0
- package/dist/cli/user.d.ts.map +1 -0
- package/dist/cli/user.js +54 -0
- package/dist/cli/user.js.map +1 -0
- package/dist/cli.d.ts +0 -62
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +6 -1566
- package/dist/cli.js.map +1 -1
- package/dist/cms/app.js +10 -10
- package/dist/cms/app.js.map +1 -1
- package/dist/cms/boot.js +5 -5
- package/dist/cms/boot.js.map +1 -1
- package/dist/cms/create.d.ts +17 -17
- package/dist/cms/create.d.ts.map +1 -1
- package/dist/cms/create.js +1 -1
- package/dist/cms/create.js.map +1 -1
- package/dist/cms/server-error.d.ts +1 -1
- package/dist/cms/server-error.js +1 -1
- package/dist/cms/services.d.ts.map +1 -1
- package/dist/cms/services.js +33 -16
- package/dist/cms/services.js.map +1 -1
- package/dist/comments/akismet.d.ts +4 -4
- package/dist/comments/akismet.js +6 -6
- package/dist/comments/akismet.js.map +1 -1
- package/dist/comments/conversation.d.ts +29 -29
- package/dist/comments/conversation.d.ts.map +1 -1
- package/dist/comments/conversation.js +2 -2
- package/dist/comments/conversation.js.map +1 -1
- package/dist/comments/form.d.ts +3 -3
- package/dist/comments/form.d.ts.map +1 -1
- package/dist/comments/intake.d.ts +4 -4
- package/dist/comments/intake.d.ts.map +1 -1
- package/dist/comments/intake.js +1 -1
- package/dist/comments/migrations.d.ts +3 -3
- package/dist/comments/migrations.js +3 -3
- package/dist/comments/moderate.d.ts +2 -2
- package/dist/comments/moderate.js +2 -2
- package/dist/comments/page-form.d.ts +1 -1
- package/dist/comments/page-form.js +1 -1
- package/dist/comments/records.d.ts +9 -9
- package/dist/comments/records.d.ts.map +1 -1
- package/dist/comments/records.js +11 -10
- package/dist/comments/records.js.map +1 -1
- package/dist/comments/reply-notices.d.ts +2 -2
- package/dist/comments/reply-post.d.ts +2 -2
- package/dist/comments/submission.d.ts +8 -8
- package/dist/comments/submission.d.ts.map +1 -1
- package/dist/comments/submission.js +9 -9
- package/dist/comments/submission.js.map +1 -1
- package/dist/config.d.ts +27 -27
- package/dist/config.js +3 -3
- package/dist/contact/index.d.ts +1 -1
- package/dist/contact/index.js +1 -1
- package/dist/contact/records.d.ts +7 -7
- package/dist/contact/records.js +7 -7
- package/dist/content/alt-text.d.ts +2 -2
- package/dist/content/alt-text.js +2 -2
- package/dist/content/authors.d.ts +6 -6
- package/dist/content/authors.d.ts.map +1 -1
- package/dist/content/authors.js +6 -6
- package/dist/content/authors.js.map +1 -1
- package/dist/content/citation.d.ts +1 -1
- package/dist/content/content-tree.d.ts +5 -0
- package/dist/content/content-tree.d.ts.map +1 -0
- package/dist/content/content-tree.js +54 -0
- package/dist/content/content-tree.js.map +1 -0
- package/dist/content/content-watcher.d.ts +15 -0
- package/dist/content/content-watcher.d.ts.map +1 -0
- package/dist/content/content-watcher.js +104 -0
- package/dist/content/content-watcher.js.map +1 -0
- package/dist/content/document-form.d.ts +25 -24
- package/dist/content/document-form.d.ts.map +1 -1
- package/dist/content/document-form.js +7 -7
- package/dist/content/document-form.js.map +1 -1
- package/dist/content/document-kind.d.ts +6 -6
- package/dist/content/document.d.ts +1 -1
- package/dist/content/enclosure-form.js +1 -1
- package/dist/content/enclosure.js +1 -1
- package/dist/content/event-form.d.ts +2 -2
- package/dist/content/event.d.ts +3 -3
- package/dist/content/event.js +3 -3
- package/dist/content/guids.d.ts +6 -6
- package/dist/content/guids.d.ts.map +1 -1
- package/dist/content/guids.js +7 -7
- package/dist/content/guids.js.map +1 -1
- package/dist/content/handles.d.ts +1 -1
- package/dist/content/handles.js +1 -1
- package/dist/content/html-to-markdown.js +2 -2
- package/dist/content/language.d.ts +1 -1
- package/dist/content/language.js +1 -1
- package/dist/content/locale.d.ts +1 -1
- package/dist/content/locale.js +1 -1
- package/dist/content/markdown.d.ts +1 -1
- package/dist/content/markdown.js +1 -1
- package/dist/content/parser.d.ts +1 -1
- package/dist/content/parser.d.ts.map +1 -1
- package/dist/content/permalinks.d.ts +4 -4
- package/dist/content/permalinks.js +4 -4
- package/dist/content/photo-form.js +2 -2
- package/dist/content/photo.d.ts +2 -2
- package/dist/content/photo.js +1 -1
- package/dist/content/pinned.d.ts +3 -3
- package/dist/content/pinned.js +3 -3
- package/dist/content/post-fields.js +2 -2
- package/dist/content/post-fields.js.map +1 -1
- package/dist/content/post-type.d.ts +4 -4
- package/dist/content/post-type.js +1 -1
- package/dist/content/reconcile.d.ts +15 -0
- package/dist/content/reconcile.d.ts.map +1 -0
- package/dist/content/reconcile.js +106 -0
- package/dist/content/reconcile.js.map +1 -0
- package/dist/content/redirects.d.ts +2 -3
- package/dist/content/redirects.d.ts.map +1 -1
- package/dist/content/redirects.js +2 -3
- package/dist/content/redirects.js.map +1 -1
- package/dist/content/rsvp.d.ts +1 -1
- package/dist/content/rsvp.js +1 -1
- package/dist/content/sanitize.js +1 -1
- package/dist/content/save.d.ts +3 -3
- package/dist/content/save.js +4 -4
- package/dist/content/scan.d.ts +12 -0
- package/dist/content/scan.d.ts.map +1 -0
- package/dist/content/scan.js +58 -0
- package/dist/content/scan.js.map +1 -0
- package/dist/content/search.d.ts +3 -3
- package/dist/content/search.js +3 -3
- package/dist/content/served.d.ts +5 -5
- package/dist/content/served.js +4 -4
- package/dist/content/site-links.d.ts +3 -4
- package/dist/content/site-links.d.ts.map +1 -1
- package/dist/content/site-links.js +1 -2
- package/dist/content/site-links.js.map +1 -1
- package/dist/content/sqlite/clauses.d.ts +1 -1
- package/dist/content/sqlite/clauses.js +1 -1
- package/dist/content/sqlite/rows.d.ts +1 -1
- package/dist/content/sqlite/rows.js +1 -1
- package/dist/content/store.d.ts +26 -26
- package/dist/content/sync.d.ts +3 -3
- package/dist/content/sync.d.ts.map +1 -1
- package/dist/content/sync.js +65 -382
- package/dist/content/sync.js.map +1 -1
- package/dist/content/taxonomy.d.ts +9 -8
- package/dist/content/taxonomy.d.ts.map +1 -1
- package/dist/content/taxonomy.js +9 -8
- package/dist/content/taxonomy.js.map +1 -1
- package/dist/content/time.d.ts +1 -1
- package/dist/content/time.js +1 -1
- package/dist/content/trash.d.ts +4 -5
- package/dist/content/trash.d.ts.map +1 -1
- package/dist/content/trash.js +4 -5
- package/dist/content/trash.js.map +1 -1
- package/dist/content/write.d.ts +4 -4
- package/dist/content/write.js +19 -19
- package/dist/content/write.js.map +1 -1
- package/dist/drain.d.ts +1 -1
- package/dist/drain.js +1 -1
- package/dist/federation/actor.d.ts +9 -9
- package/dist/federation/actor.js +10 -10
- package/dist/federation/article.d.ts +14 -14
- package/dist/federation/article.js +27 -27
- package/dist/federation/article.js.map +1 -1
- package/dist/federation/backfill.d.ts +2 -2
- package/dist/federation/backfill.js +2 -2
- package/dist/federation/citations.d.ts +1 -1
- package/dist/federation/citations.js +1 -1
- package/dist/federation/cited-post.d.ts +1 -1
- package/dist/federation/cited-post.js +1 -1
- package/dist/federation/delivery-plan.d.ts +1 -1
- package/dist/federation/delivery.d.ts +3 -3
- package/dist/federation/delivery.d.ts.map +1 -1
- package/dist/federation/delivery.js +25 -15
- package/dist/federation/delivery.js.map +1 -1
- package/dist/federation/federation.d.ts +3 -3
- package/dist/federation/federation.d.ts.map +1 -1
- package/dist/federation/federation.js +7 -8
- package/dist/federation/federation.js.map +1 -1
- package/dist/federation/handles.d.ts +1 -1
- package/dist/federation/handles.js +1 -1
- package/dist/federation/inbox.d.ts +6 -6
- package/dist/federation/inbox.js +9 -9
- package/dist/federation/keys.d.ts +3 -3
- package/dist/federation/keys.js +3 -3
- package/dist/federation/object-ids.d.ts +1 -1
- package/dist/federation/outbox-observer.d.ts +17 -0
- package/dist/federation/outbox-observer.d.ts.map +1 -0
- package/dist/federation/outbox-observer.js +98 -0
- package/dist/federation/outbox-observer.js.map +1 -0
- package/dist/federation/paths.d.ts +8 -8
- package/dist/federation/paths.js +8 -8
- package/dist/federation/profiles.d.ts +2 -3
- package/dist/federation/profiles.d.ts.map +1 -1
- package/dist/federation/profiles.js +2 -3
- package/dist/federation/profiles.js.map +1 -1
- package/dist/federation/quotes.d.ts +1 -1
- package/dist/federation/records.d.ts +24 -24
- package/dist/federation/records.js +23 -23
- package/dist/federation/records.js.map +1 -1
- package/dist/federation/refusals.d.ts +1 -1
- package/dist/federation/relays.d.ts +1 -1
- package/dist/federation/relays.d.ts.map +1 -1
- package/dist/federation/relays.js +38 -13
- package/dist/federation/relays.js.map +1 -1
- package/dist/federation/webfinger.d.ts +2 -2
- package/dist/federation/webfinger.js +2 -2
- package/dist/files/atomic.d.ts +2 -2
- package/dist/files/atomic.js +1 -1
- package/dist/forms/checker.d.ts +2 -2
- package/dist/forms/checker.d.ts.map +1 -1
- package/dist/forms/protection.d.ts +1 -1
- package/dist/forms/protection.js +1 -1
- package/dist/gemini/certificate.js +1 -1
- package/dist/images/markup.d.ts +2 -2
- package/dist/images/variants.d.ts +8 -8
- package/dist/images/variants.js +1 -1
- package/dist/indexnow.d.ts +1 -1
- package/dist/indieauth/grants.d.ts +2 -2
- package/dist/indieauth/identity.d.ts +3 -5
- package/dist/indieauth/identity.d.ts.map +1 -1
- package/dist/indieauth/identity.js +3 -5
- package/dist/indieauth/identity.js.map +1 -1
- package/dist/indieauth/redeem.d.ts +2 -2
- package/dist/indieauth/redeem.js +2 -2
- package/dist/indieauth/request.d.ts +2 -2
- package/dist/indieauth/request.js +2 -2
- package/dist/indieauth/tokens.d.ts +3 -5
- package/dist/indieauth/tokens.d.ts.map +1 -1
- package/dist/indieauth/tokens.js +3 -5
- package/dist/indieauth/tokens.js.map +1 -1
- package/dist/jobs/file-records.d.ts +1 -1
- package/dist/jobs/file-records.js +1 -1
- package/dist/jobs/in-process.d.ts +1 -1
- package/dist/jobs/in-process.js +1 -1
- package/dist/jobs/queue.d.ts +1 -1
- package/dist/jobs/queue.js +1 -1
- package/dist/mail/provider.d.ts +2 -2
- package/dist/mail/provider.js +2 -2
- package/dist/media/library.d.ts +2 -2
- package/dist/media/uploads.js +2 -2
- package/dist/media/uploads.js.map +1 -1
- package/dist/micropub/create.d.ts +1 -1
- package/dist/micropub/endpoint.d.ts +7 -7
- package/dist/micropub/endpoint.js +8 -8
- package/dist/micropub/endpoint.js.map +1 -1
- package/dist/micropub/media.d.ts +4 -4
- package/dist/micropub/media.js +4 -4
- package/dist/micropub/update.d.ts +1 -1
- package/dist/micropub/update.js +1 -1
- package/dist/notifications/comments.d.ts +1 -1
- package/dist/notifications/comments.js +2 -2
- package/dist/notifications/comments.js.map +1 -1
- package/dist/notifications/digest.d.ts +7 -7
- package/dist/notifications/digest.js +7 -7
- package/dist/notifications/mail-service.d.ts +4 -4
- package/dist/notifications/mail-service.d.ts.map +1 -1
- package/dist/notifications/mail-service.js +3 -3
- package/dist/notifications/mail-templates.d.ts +3 -3
- package/dist/notifications/optouts.d.ts +1 -1
- package/dist/notifications/optouts.js +1 -1
- package/dist/notifications/tokens.d.ts +2 -2
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.js +5 -5
- package/dist/plugins/changes.js +2 -2
- package/dist/plugins/folder.d.ts +2 -2
- package/dist/plugins/folder.js +2 -2
- package/dist/plugins/install.d.ts +1 -1
- package/dist/plugins/install.js +1 -1
- package/dist/plugins/registry.d.ts +1 -1
- package/dist/plugins/registry.js +1 -1
- package/dist/plugins/site.d.ts +1 -1
- package/dist/plugins/site.js +1 -1
- package/dist/privacy/erase.d.ts +1 -1
- package/dist/privacy/erase.js +1 -1
- package/dist/privacy/retention.d.ts +2 -2
- package/dist/privacy/retention.js +2 -2
- package/dist/site/admin-paths.d.ts +2 -2
- package/dist/site/admin-paths.js +2 -2
- package/dist/site/authors.d.ts +6 -6
- package/dist/site/authors.js +5 -5
- package/dist/site/dashboard-layout.d.ts +1 -1
- package/dist/site/indexnow-key.js +1 -1
- package/dist/site/namespace.d.ts +1 -1
- package/dist/site/namespace.js +1 -1
- package/dist/site/navigation.d.ts +10 -10
- package/dist/site/navigation.js +10 -10
- package/dist/site/notification-preferences.d.ts +3 -3
- package/dist/site/notification-preferences.js +2 -2
- package/dist/site/retention-policy.d.ts +1 -1
- package/dist/site/retention-policy.js +1 -1
- package/dist/site/users.d.ts +23 -24
- package/dist/site/users.d.ts.map +1 -1
- package/dist/site/users.js +6 -6
- package/dist/site/users.js.map +1 -1
- package/dist/store/admin-store.d.ts +3 -3
- package/dist/store/admin-store.d.ts.map +1 -1
- package/dist/store/comments.d.ts +17 -17
- package/dist/store/comments.d.ts.map +1 -1
- package/dist/store/comments.js +14 -21
- package/dist/store/comments.js.map +1 -1
- package/dist/store/conversation.d.ts +2 -2
- package/dist/store/deliveries.d.ts +13 -5
- package/dist/store/deliveries.d.ts.map +1 -1
- package/dist/store/deliveries.js +18 -16
- package/dist/store/deliveries.js.map +1 -1
- package/dist/store/followers.d.ts +5 -5
- package/dist/store/followers.d.ts.map +1 -1
- package/dist/store/followers.js +7 -10
- package/dist/store/followers.js.map +1 -1
- package/dist/store/inbox-replies.d.ts +4 -4
- package/dist/store/inbox-replies.js +4 -4
- package/dist/store/inbox.d.ts +5 -5
- package/dist/store/inbox.d.ts.map +1 -1
- package/dist/store/inbox.js +21 -34
- package/dist/store/inbox.js.map +1 -1
- package/dist/store/profiles.d.ts +5 -5
- package/dist/store/profiles.d.ts.map +1 -1
- package/dist/store/profiles.js +4 -5
- package/dist/store/profiles.js.map +1 -1
- package/dist/store/relays.d.ts.map +1 -1
- package/dist/store/relays.js +7 -9
- package/dist/store/relays.js.map +1 -1
- package/dist/store/rows.d.ts +6 -20
- package/dist/store/rows.d.ts.map +1 -1
- package/dist/store/rows.js +10 -15
- package/dist/store/rows.js.map +1 -1
- package/dist/store/schema.js +35 -35
- package/dist/store/schema.js.map +1 -1
- package/dist/store/sessions.d.ts +1 -1
- package/dist/store/sessions.d.ts.map +1 -1
- package/dist/store/sessions.js +10 -10
- package/dist/store/sessions.js.map +1 -1
- package/dist/store/state.d.ts.map +1 -1
- package/dist/store/state.js +2 -2
- package/dist/store/state.js.map +1 -1
- package/dist/store/tokens.d.ts +1 -1
- package/dist/store/tokens.d.ts.map +1 -1
- package/dist/store/tokens.js +5 -5
- package/dist/store/tokens.js.map +1 -1
- package/dist/store/webmentions.d.ts +2 -2
- package/dist/store/webmentions.d.ts.map +1 -1
- package/dist/store/webmentions.js +11 -11
- package/dist/store/webmentions.js.map +1 -1
- package/dist/supervisor/plugin-watcher.d.ts +26 -0
- package/dist/supervisor/plugin-watcher.d.ts.map +1 -0
- package/dist/supervisor/plugin-watcher.js +90 -0
- package/dist/supervisor/plugin-watcher.js.map +1 -0
- package/dist/supervisor/primary.d.ts +4 -7
- package/dist/supervisor/primary.d.ts.map +1 -1
- package/dist/supervisor/primary.js +37 -94
- package/dist/supervisor/primary.js.map +1 -1
- package/dist/supervisor/protocol.d.ts +1 -1
- package/dist/supervisor/protocol.js +1 -1
- package/dist/supervisor/reload-queue.d.ts +10 -0
- package/dist/supervisor/reload-queue.d.ts.map +1 -0
- package/dist/supervisor/reload-queue.js +28 -0
- package/dist/supervisor/reload-queue.js.map +1 -0
- package/dist/supervisor/supervision.d.ts +2 -2
- package/dist/supervisor/supervision.js +2 -2
- package/dist/supervisor/worker.d.ts +1 -1
- package/dist/supervisor/worker.js +1 -1
- package/dist/theme/site-data.d.ts +3 -3
- package/dist/theme/site-data.js +2 -2
- package/dist/theme/templates.d.ts +3 -3
- package/dist/theme/templates.js +16 -16
- package/dist/theme/templates.js.map +1 -1
- package/dist/theme/themes.d.ts +11 -13
- package/dist/theme/themes.d.ts.map +1 -1
- package/dist/theme/themes.js +8 -9
- package/dist/theme/themes.js.map +1 -1
- package/dist/web/activity-folding.d.ts +33 -0
- package/dist/web/activity-folding.d.ts.map +1 -0
- package/dist/web/activity-folding.js +238 -0
- package/dist/web/activity-folding.js.map +1 -0
- package/dist/web/archive.d.ts +2 -3
- package/dist/web/archive.d.ts.map +1 -1
- package/dist/web/archive.js +2 -3
- package/dist/web/archive.js.map +1 -1
- package/dist/web/asset-routes.d.ts +1 -1
- package/dist/web/asset-routes.js +1 -1
- package/dist/web/comment-routes.js +2 -2
- package/dist/web/comment-routes.js.map +1 -1
- package/dist/web/compression.d.ts +1 -1
- package/dist/web/compression.js +1 -1
- package/dist/web/context.d.ts +21 -21
- package/dist/web/context.d.ts.map +1 -1
- package/dist/web/context.js +7 -7
- package/dist/web/conversation-context.d.ts +15 -0
- package/dist/web/conversation-context.d.ts.map +1 -0
- package/dist/web/conversation-context.js +2 -0
- package/dist/web/conversation-context.js.map +1 -0
- package/dist/web/conversation-feed.d.ts +18 -0
- package/dist/web/conversation-feed.d.ts.map +1 -0
- package/dist/web/conversation-feed.js +53 -0
- package/dist/web/conversation-feed.js.map +1 -0
- package/dist/web/conversation-gather.d.ts +12 -0
- package/dist/web/conversation-gather.d.ts.map +1 -0
- package/dist/web/conversation-gather.js +189 -0
- package/dist/web/conversation-gather.js.map +1 -0
- package/dist/web/conversation-lookup.d.ts +15 -0
- package/dist/web/conversation-lookup.d.ts.map +1 -0
- package/dist/web/conversation-lookup.js +101 -0
- package/dist/web/conversation-lookup.js.map +1 -0
- package/dist/web/conversation-threads.d.ts +12 -0
- package/dist/web/conversation-threads.d.ts.map +1 -0
- package/dist/web/conversation-threads.js +144 -0
- package/dist/web/conversation-threads.js.map +1 -0
- package/dist/web/conversation.d.ts +25 -61
- package/dist/web/conversation.d.ts.map +1 -1
- package/dist/web/conversation.js +14 -854
- package/dist/web/conversation.js.map +1 -1
- package/dist/web/document-page.js +4 -4
- package/dist/web/document-page.js.map +1 -1
- package/dist/web/document-render.d.ts +9 -0
- package/dist/web/document-render.d.ts.map +1 -0
- package/dist/web/document-render.js +130 -0
- package/dist/web/document-render.js.map +1 -0
- package/dist/web/document-site.d.ts +1 -1
- package/dist/web/document-site.d.ts.map +1 -1
- package/dist/web/document-site.js +1 -1
- package/dist/web/document-site.js.map +1 -1
- package/dist/web/env.d.ts +19 -19
- package/dist/web/env.d.ts.map +1 -1
- package/dist/web/federation-routes.d.ts +2 -2
- package/dist/web/federation-routes.d.ts.map +1 -1
- package/dist/web/federation-routes.js +22 -21
- package/dist/web/federation-routes.js.map +1 -1
- package/dist/web/feed-atom.d.ts +3 -3
- package/dist/web/feed-atom.js +3 -3
- package/dist/web/feed-item.d.ts +15 -16
- package/dist/web/feed-item.d.ts.map +1 -1
- package/dist/web/feed-item.js +1 -1
- package/dist/web/feed-item.js.map +1 -1
- package/dist/web/feed-json.d.ts +4 -4
- package/dist/web/feed-json.d.ts.map +1 -1
- package/dist/web/feed-json.js +2 -2
- package/dist/web/feed-routes.d.ts +3 -3
- package/dist/web/feed-routes.js +4 -4
- package/dist/web/feed-routes.js.map +1 -1
- package/dist/web/feed-rss.d.ts +2 -2
- package/dist/web/feed-rss.js +4 -4
- package/dist/web/feed-rss.js.map +1 -1
- package/dist/web/feed-source.d.ts +5 -5
- package/dist/web/feed-source.d.ts.map +1 -1
- package/dist/web/feed-source.js +2 -2
- package/dist/web/feed-source.js.map +1 -1
- package/dist/web/feed-xml.d.ts +4 -4
- package/dist/web/feed-xml.d.ts.map +1 -1
- package/dist/web/feed-xml.js +4 -4
- package/dist/web/feed-xml.js.map +1 -1
- package/dist/web/font-routes.d.ts +1 -1
- package/dist/web/font-routes.js +1 -1
- package/dist/web/health.d.ts +1 -1
- package/dist/web/index.d.ts +5 -3
- package/dist/web/index.d.ts.map +1 -1
- package/dist/web/index.js +4 -2
- package/dist/web/index.js.map +1 -1
- package/dist/web/indieauth-activity-log.js +1 -1
- package/dist/web/indieauth-bearer.d.ts +2 -2
- package/dist/web/indieauth-discovery.d.ts +12 -12
- package/dist/web/indieauth-discovery.d.ts.map +1 -1
- package/dist/web/indieauth-discovery.js +12 -12
- package/dist/web/indieauth-discovery.js.map +1 -1
- package/dist/web/indieauth-token.d.ts +2 -2
- package/dist/web/indieauth-token.js +2 -2
- package/dist/web/listing-render.d.ts +11 -0
- package/dist/web/listing-render.d.ts.map +1 -0
- package/dist/web/listing-render.js +76 -0
- package/dist/web/listing-render.js.map +1 -0
- package/dist/web/listing-subject.js +1 -1
- package/dist/web/listing-subject.js.map +1 -1
- package/dist/web/llms.d.ts +1 -1
- package/dist/web/llms.js +1 -1
- package/dist/web/maintenance.d.ts +1 -1
- package/dist/web/maintenance.js +1 -1
- package/dist/web/manifest.d.ts +1 -1
- package/dist/web/manifest.js +1 -1
- package/dist/web/markdown-chrome.d.ts +11 -0
- package/dist/web/markdown-chrome.d.ts.map +1 -0
- package/dist/web/markdown-chrome.js +178 -0
- package/dist/web/markdown-chrome.js.map +1 -0
- package/dist/web/markdown-conversation.d.ts +1 -1
- package/dist/web/markdown-conversation.d.ts.map +1 -1
- package/dist/web/markdown-environment.d.ts +10 -0
- package/dist/web/markdown-environment.d.ts.map +1 -0
- package/dist/web/markdown-environment.js +56 -0
- package/dist/web/markdown-environment.js.map +1 -0
- package/dist/web/markdown-representation.d.ts +1 -1
- package/dist/web/markdown-representation.d.ts.map +1 -1
- package/dist/web/markdown-representation.js +2 -2
- package/dist/web/markdown-representation.js.map +1 -1
- package/dist/web/negotiate.d.ts +5 -5
- package/dist/web/negotiate.d.ts.map +1 -1
- package/dist/web/negotiate.js +3 -3
- package/dist/web/negotiate.js.map +1 -1
- package/dist/web/oembed.d.ts +3 -3
- package/dist/web/oembed.js +3 -3
- package/dist/web/opensearch.d.ts +1 -1
- package/dist/web/opensearch.js +1 -1
- package/dist/web/page-context.d.ts +29 -0
- package/dist/web/page-context.d.ts.map +1 -0
- package/dist/web/page-context.js +126 -0
- package/dist/web/page-context.js.map +1 -0
- package/dist/web/page-tags.js +1 -1
- package/dist/web/page-tags.js.map +1 -1
- package/dist/web/paths.d.ts +1 -1
- package/dist/web/paths.js +3 -3
- package/dist/web/plugin-federation.d.ts +1 -1
- package/dist/web/plugin-federation.js +1 -1
- package/dist/web/render-scope.d.ts +20 -0
- package/dist/web/render-scope.d.ts.map +1 -0
- package/dist/web/render-scope.js +36 -0
- package/dist/web/render-scope.js.map +1 -0
- package/dist/web/render.d.ts +21 -363
- package/dist/web/render.d.ts.map +1 -1
- package/dist/web/render.js +46 -899
- package/dist/web/render.js.map +1 -1
- package/dist/web/request.d.ts +1 -1
- package/dist/web/request.js +1 -1
- package/dist/web/robots.d.ts +1 -1
- package/dist/web/robots.js +1 -1
- package/dist/web/routes.js +19 -19
- package/dist/web/routes.js.map +1 -1
- package/dist/web/search.d.ts +1 -1
- package/dist/web/search.js +1 -1
- package/dist/web/session.d.ts +8 -8
- package/dist/web/session.js +8 -8
- package/dist/web/share-image.d.ts +2 -3
- package/dist/web/share-image.d.ts.map +1 -1
- package/dist/web/share-image.js +1 -1
- package/dist/web/share-image.js.map +1 -1
- package/dist/web/site-view.d.ts +2 -2
- package/dist/web/status-pages.d.ts +1 -1
- package/dist/web/status-pages.d.ts.map +1 -1
- package/dist/web/theme-environment.d.ts +14 -0
- package/dist/web/theme-environment.d.ts.map +1 -0
- package/dist/web/theme-environment.js +112 -0
- package/dist/web/theme-environment.js.map +1 -0
- package/dist/web/theme-templates.d.ts +67 -0
- package/dist/web/theme-templates.d.ts.map +1 -0
- package/dist/web/theme-templates.js +65 -0
- package/dist/web/theme-templates.js.map +1 -0
- package/dist/webmention/microformats.d.ts +5 -5
- package/dist/webmention/microformats.d.ts.map +1 -1
- package/dist/webmention/receive.d.ts +7 -7
- package/dist/webmention/receive.d.ts.map +1 -1
- package/dist/webmention/receive.js +4 -4
- package/dist/webmention/receive.js.map +1 -1
- package/dist/webmention/reply-context/oembed.js +1 -1
- package/dist/webmention/reply-context.d.ts +10 -10
- package/dist/webmention/reply-context.d.ts.map +1 -1
- package/dist/webmention/reply-context.js +5 -5
- package/dist/webmention/reply-contexts.d.ts +6 -6
- package/dist/webmention/reply-contexts.d.ts.map +1 -1
- package/dist/webmention/reply-contexts.js +2 -2
- package/dist/webmention/service.d.ts +13 -13
- package/dist/webmention/service.js +9 -9
- package/dist/webmention/syndication.d.ts +6 -6
- package/dist/webmention/syndication.d.ts.map +1 -1
- package/dist/webmention/syndication.js +6 -6
- package/dist/webmention/syndication.js.map +1 -1
- package/package.json +4 -2
package/dist/micropub/update.js
CHANGED
|
@@ -103,7 +103,7 @@ export function parseChanges(body) {
|
|
|
103
103
|
/**
|
|
104
104
|
* The editor form an update leaves the post with: the form the editor would
|
|
105
105
|
* load, with only the fields the changed properties own taken from the create
|
|
106
|
-
* mapping
|
|
106
|
+
* mapping, so whatever Micropub cannot see stays as it is. A
|
|
107
107
|
* change to a property the site does not understand changes what it keeps of
|
|
108
108
|
* the post, and an update that names none leaves that alone.
|
|
109
109
|
*/
|
|
@@ -6,7 +6,7 @@ import type { MailService } from './mail-service.ts';
|
|
|
6
6
|
/**
|
|
7
7
|
* The two messages a comment sets off, and the rules about who gets them.
|
|
8
8
|
*
|
|
9
|
-
* Both go through the mail service and nothing else
|
|
9
|
+
* Both go through the mail service and nothing else, so a site with
|
|
10
10
|
* no provider sends nothing and every path through here still works. Neither
|
|
11
11
|
* is awaited by the request that caused it: a comment is stored, a page is
|
|
12
12
|
* redirected to, and the message goes out behind that.
|
|
@@ -10,7 +10,7 @@ import { isBatchedMode, notificationMode, notificationRecipients, } from '../sit
|
|
|
10
10
|
/**
|
|
11
11
|
* The two messages a comment sets off, and the rules about who gets them.
|
|
12
12
|
*
|
|
13
|
-
* Both go through the mail service and nothing else
|
|
13
|
+
* Both go through the mail service and nothing else, so a site with
|
|
14
14
|
* no provider sends nothing and every path through here still works. Neither
|
|
15
15
|
* is awaited by the request that caused it: a comment is stored, a page is
|
|
16
16
|
* redirected to, and the message goes out behind that.
|
|
@@ -93,7 +93,7 @@ export function createCommentNotifier(options) {
|
|
|
93
93
|
// Everybody who wants the notice as it happens. A user on an hourly or
|
|
94
94
|
// daily digest is deliberately not written to here: the whole of what
|
|
95
95
|
// choosing a window means is that this moment is not one of the moments
|
|
96
|
-
// they hear about
|
|
96
|
+
// they hear about, and `createCommentDigest` writes to them
|
|
97
97
|
// instead, from the queue as it stands when their window comes up.
|
|
98
98
|
const recipients = notificationRecipients(listUsers(config.dataDir), COMMENTS_NOTIFICATION).filter((recipient) => !isBatchedMode(notificationMode(recipient.user, COMMENTS_NOTIFICATION)));
|
|
99
99
|
if (recipients.length === 0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comments.js","sourceRoot":"","sources":["../../src/notifications/comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAI7D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,sBAAsB,GACvB,MAAM,qCAAqC,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,2DAA2D;AAC3D,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;AAE1D,qEAAqE;AACrE,MAAM,CAAC,MAAM,sBAAsB,GAAG,eAAe,CAAC;AAEtD,mEAAmE;AACnE,MAAM,CAAC,MAAM,qBAAqB,GAAG,UAAU,CAAC;AAkChD,uCAAuC;AACvC,MAAM,UAAU,qBAAqB,CAAC,OAAqC;IACzE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAC/C,MAAM,OAAO,GAAG,iBAAiB,EAAE,CAAC;IAEpC,uDAAuD;IACvD,SAAS,MAAM,CACb,OAAoB,EACpB,KAAkC;QAElC,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAC/C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E,EAAE,CAAC;QACxF,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,EAAE,MAAM,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAEpD,KAAK,IAAI,CAAC,IAAI,CAAC;YACb,EAAE,EAAE,OAAO;YACX,QAAQ,EAAE,sBAAsB;YAChC,IAAI,EAAE;gBACJ,KAAK,EAAE;oBACL,GAAG,SAAS,CAAC,KAAK,CAAC;oBACnB,GAAG,EAAE,KAAK,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE;iBAC3D;gBACD,OAAO,EAAE;oBACP,GAAG,SAAS,CAAC,MAAM,CAAC;oBACpB,GAAG,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,IAAI,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE;iBAC7D;gBACD,IAAI;gBACJ,cAAc,EAAE,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC;aAClD;SACF,CAAC,CAAC;IACL,CAAC;AACH,CAAC"}
|
|
@@ -6,12 +6,12 @@ import type { MailService } from './mail-service.ts';
|
|
|
6
6
|
/**
|
|
7
7
|
* One message a window instead of one message a comment.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
* is right for a quiet site and wrong for a spam wave that Akismet
|
|
11
|
-
* through. A user who has chosen `hourly` or `daily` on `/admin/users` is
|
|
12
|
-
* nothing when a comment arrives; instead this sends them one message per
|
|
13
|
-
* window listing everything still waiting, each item with its own approve,
|
|
14
|
-
*
|
|
9
|
+
* The moderation notice emails every moderator the moment something enters the
|
|
10
|
+
* queue, which is right for a quiet site and wrong for a spam wave that Akismet
|
|
11
|
+
* let through. A user who has chosen `hourly` or `daily` on `/admin/users` is
|
|
12
|
+
* sent nothing when a comment arrives; instead this sends them one message per
|
|
13
|
+
* window listing everything still waiting, each item with its own approve, spam
|
|
14
|
+
* and delete links.
|
|
15
15
|
*
|
|
16
16
|
* Three decisions hold the whole thing up:
|
|
17
17
|
*
|
|
@@ -22,7 +22,7 @@ import type { MailService } from './mail-service.ts';
|
|
|
22
22
|
* remember what it meant to send.
|
|
23
23
|
* - **The only new state is when each user was last written to**, and it lives
|
|
24
24
|
* in `data/notification-digests.json` rather than in the database, because
|
|
25
|
-
*
|
|
25
|
+
* the database is a cache that may be deleted whenever the site is stopped —
|
|
26
26
|
* and a forgotten timestamp would mean either a window silently skipped or a
|
|
27
27
|
* digest sent twice. It is its own file rather than a field in
|
|
28
28
|
* `data/users.json` because that file is the answer to "who may sign in",
|
|
@@ -11,12 +11,12 @@ import { NOTIFICATION_DIGESTS, dataPath } from '../files/data-files.js';
|
|
|
11
11
|
/**
|
|
12
12
|
* One message a window instead of one message a comment.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* is right for a quiet site and wrong for a spam wave that Akismet
|
|
16
|
-
* through. A user who has chosen `hourly` or `daily` on `/admin/users` is
|
|
17
|
-
* nothing when a comment arrives; instead this sends them one message per
|
|
18
|
-
* window listing everything still waiting, each item with its own approve,
|
|
19
|
-
*
|
|
14
|
+
* The moderation notice emails every moderator the moment something enters the
|
|
15
|
+
* queue, which is right for a quiet site and wrong for a spam wave that Akismet
|
|
16
|
+
* let through. A user who has chosen `hourly` or `daily` on `/admin/users` is
|
|
17
|
+
* sent nothing when a comment arrives; instead this sends them one message per
|
|
18
|
+
* window listing everything still waiting, each item with its own approve, spam
|
|
19
|
+
* and delete links.
|
|
20
20
|
*
|
|
21
21
|
* Three decisions hold the whole thing up:
|
|
22
22
|
*
|
|
@@ -27,7 +27,7 @@ import { NOTIFICATION_DIGESTS, dataPath } from '../files/data-files.js';
|
|
|
27
27
|
* remember what it meant to send.
|
|
28
28
|
* - **The only new state is when each user was last written to**, and it lives
|
|
29
29
|
* in `data/notification-digests.json` rather than in the database, because
|
|
30
|
-
*
|
|
30
|
+
* the database is a cache that may be deleted whenever the site is stopped —
|
|
31
31
|
* and a forgotten timestamp would mean either a window silently skipped or a
|
|
32
32
|
* digest sent twice. It is its own file rather than a field in
|
|
33
33
|
* `data/users.json` because that file is the answer to "who may sign in",
|
|
@@ -6,8 +6,8 @@ import type { MailTemplates } from './mail-templates.ts';
|
|
|
6
6
|
/**
|
|
7
7
|
* The one door out of this CMS for email.
|
|
8
8
|
*
|
|
9
|
-
* Every feature that emails — a password reset
|
|
10
|
-
*
|
|
9
|
+
* Every feature that emails — a password reset, a moderation notice,
|
|
10
|
+
* a contact form — calls {@link MailService.send} and
|
|
11
11
|
* nothing else. What carries the message, whether the site is configured to
|
|
12
12
|
* send at all, how many times a refusal is worth trying again and where the
|
|
13
13
|
* attempts are written down are all decided here, once.
|
|
@@ -20,7 +20,7 @@ import type { MailTemplates } from './mail-templates.ts';
|
|
|
20
20
|
* - **Nothing is decided at boot.** The settings and the `mail` namespace are read
|
|
21
21
|
* per send, so a key pasted into the settings screen sends the next message
|
|
22
22
|
* and a provider switched there takes effect at once, neither needing a
|
|
23
|
-
* restart — the same way every other setting behaves
|
|
23
|
+
* restart — the same way every other setting behaves.
|
|
24
24
|
* - **Sending is off the request.** Messages go on one queue, one at a time,
|
|
25
25
|
* and a refusal is tried again after a growing wait. A caller that wants the
|
|
26
26
|
* answer — the Send test email button — awaits the promise; a caller that
|
|
@@ -71,7 +71,7 @@ export interface MailResult {
|
|
|
71
71
|
readonly ok: boolean;
|
|
72
72
|
/** Whether it was never sent because the site sends no mail. */
|
|
73
73
|
readonly skipped: boolean;
|
|
74
|
-
/** Whether dev mode held it
|
|
74
|
+
/** Whether dev mode held it, recorded rather than sent. */
|
|
75
75
|
readonly held: boolean;
|
|
76
76
|
/** Which provider carried it, or `none`. */
|
|
77
77
|
readonly provider: MailProviderName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mail-service.d.ts","sourceRoot":"","sources":["../../src/notifications/mail-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,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AAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACtC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACjC,wDAAwD;IACxD,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC,sFAAsF;IACtF,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACtD,0EAA0E;IAC1E,IAAI,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS,CAAC;CACpD;AAED,mEAAmE;AACnE,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/B,8DAA8D;IAC9D,YAAY,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC1C,kDAAkD;IAClD,IAAI,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;IAC7B;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IACjD,kFAAkF;IAClF,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAC/C,2EAA2E;IAC3E,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B;AAED,2CAA2C;AAC3C,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,WAAW,CAiOhF"}
|
|
@@ -12,8 +12,8 @@ import { createMailTemplates } from './mail-templates.js';
|
|
|
12
12
|
/**
|
|
13
13
|
* The one door out of this CMS for email.
|
|
14
14
|
*
|
|
15
|
-
* Every feature that emails — a password reset
|
|
16
|
-
*
|
|
15
|
+
* Every feature that emails — a password reset, a moderation notice,
|
|
16
|
+
* a contact form — calls {@link MailService.send} and
|
|
17
17
|
* nothing else. What carries the message, whether the site is configured to
|
|
18
18
|
* send at all, how many times a refusal is worth trying again and where the
|
|
19
19
|
* attempts are written down are all decided here, once.
|
|
@@ -26,7 +26,7 @@ import { createMailTemplates } from './mail-templates.js';
|
|
|
26
26
|
* - **Nothing is decided at boot.** The settings and the `mail` namespace are read
|
|
27
27
|
* per send, so a key pasted into the settings screen sends the next message
|
|
28
28
|
* and a provider switched there takes effect at once, neither needing a
|
|
29
|
-
* restart — the same way every other setting behaves
|
|
29
|
+
* restart — the same way every other setting behaves.
|
|
30
30
|
* - **Sending is off the request.** Messages go on one queue, one at a time,
|
|
31
31
|
* and a refusal is tried again after a growing wait. A caller that wants the
|
|
32
32
|
* answer — the Send test email button — awaits the promise; a caller that
|
|
@@ -46,8 +46,8 @@ export interface CreateMailTemplatesOptions {
|
|
|
46
46
|
/**
|
|
47
47
|
* Which theme the messages are read from, asked per message.
|
|
48
48
|
*
|
|
49
|
-
* A source rather than a directory because mail is part of the theme
|
|
50
|
-
*
|
|
49
|
+
* A source rather than a directory because mail is part of the theme:
|
|
50
|
+
* a site that changes theme changes the words its password
|
|
51
51
|
* resets and moderation notices are written in, and the message after the
|
|
52
52
|
* change should be the new theme's rather than the next boot's.
|
|
53
53
|
*/
|
|
@@ -83,7 +83,7 @@ export interface MailTemplates {
|
|
|
83
83
|
*
|
|
84
84
|
* A plain text body is not HTML. Escaping it turns the `&` between two query
|
|
85
85
|
* parameters into `&` — which is what a one-click moderation link is
|
|
86
|
-
* made of
|
|
86
|
+
* made of — and an apostrophe in somebody's name into `'`. A
|
|
87
87
|
* site adding a filter that both halves should have adds it to both.
|
|
88
88
|
*/
|
|
89
89
|
readonly plainEnvironment: Environment;
|
|
@@ -45,7 +45,7 @@ export declare function hasOptedOut(dataDir: string, email: string | null | unde
|
|
|
45
45
|
export declare function addCommentOptOut(dataDir: string, email: string): Promise<boolean>;
|
|
46
46
|
/**
|
|
47
47
|
* Forget that an address ever asked to stop, because its owner asked for
|
|
48
|
-
* everything this site holds about them to be erased
|
|
48
|
+
* everything this site holds about them to be erased. Returns
|
|
49
49
|
* whether it was on the list. Nothing is written when it was not.
|
|
50
50
|
*/
|
|
51
51
|
export declare function removeCommentOptOut(dataDir: string, email: string): Promise<boolean>;
|
|
@@ -67,7 +67,7 @@ export async function addCommentOptOut(dataDir, email) {
|
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
69
|
* Forget that an address ever asked to stop, because its owner asked for
|
|
70
|
-
* everything this site holds about them to be erased
|
|
70
|
+
* everything this site holds about them to be erased. Returns
|
|
71
71
|
* whether it was on the list. Nothing is written when it was not.
|
|
72
72
|
*/
|
|
73
73
|
export async function removeCommentOptOut(dataDir, email) {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* that are a random string written down somewhere and a signed claim that
|
|
7
7
|
* needs nothing written down. This is the second, for one reason: a link lives
|
|
8
8
|
* in an inbox for a week, and `data/geekity.db` is a cache that a site may
|
|
9
|
-
* legitimately delete, rebuild or restore from a backup at any moment
|
|
10
|
-
*
|
|
9
|
+
* legitimately delete, rebuild or restore from a backup at any moment.
|
|
10
|
+
* A stack of rows would take every link in flight with it.
|
|
11
11
|
*
|
|
12
12
|
* So the token says what it is for — approve *this* comment, unsubscribe
|
|
13
13
|
* *this* address — and carries an HMAC over exactly that, taken with a secret
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `@geekity/cms/plugin`: the whole of what a plugin may import from core
|
|
3
|
-
*
|
|
2
|
+
* `@geekity/cms/plugin`: the whole of what a plugin may import from core.
|
|
3
|
+
* Types, the host API version, {@link definePlugin}, which is
|
|
4
4
|
* an identity function, the key rule a plugin writing comments names them
|
|
5
5
|
* by, and the helpers core writes content with. A bundled plugin inlines what
|
|
6
6
|
* it uses of these.
|
|
7
7
|
*
|
|
8
|
-
* Removing or reshaping anything here is a breaking change to `@geekity/cms
|
|
9
|
-
*
|
|
8
|
+
* Removing or reshaping anything here is a breaking change to `@geekity/cms`,
|
|
9
|
+
* and bumps {@link HOST_API_VERSION}.
|
|
10
10
|
*/
|
|
11
11
|
import type { webcrypto } from 'node:crypto';
|
|
12
12
|
import type { KvStore } from '@fedify/fedify';
|
|
@@ -32,7 +32,7 @@ export declare const HOST_API_VERSION = 3;
|
|
|
32
32
|
*/
|
|
33
33
|
export type { KvStore };
|
|
34
34
|
/**
|
|
35
|
-
* The key rule
|
|
35
|
+
* The key rule, so a plugin that writes comments keys each one
|
|
36
36
|
* as the site would key the same comment arriving here: a fediverse reply or
|
|
37
37
|
* reaction by {@link repliesKey} of its note or activity id, a webmention by
|
|
38
38
|
* {@link webmentionKey} of its source and the post's permalink.
|
package/dist/plugin.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `@geekity/cms/plugin`: the whole of what a plugin may import from core
|
|
3
|
-
*
|
|
2
|
+
* `@geekity/cms/plugin`: the whole of what a plugin may import from core.
|
|
3
|
+
* Types, the host API version, {@link definePlugin}, which is
|
|
4
4
|
* an identity function, the key rule a plugin writing comments names them
|
|
5
5
|
* by, and the helpers core writes content with. A bundled plugin inlines what
|
|
6
6
|
* it uses of these.
|
|
7
7
|
*
|
|
8
|
-
* Removing or reshaping anything here is a breaking change to `@geekity/cms
|
|
9
|
-
*
|
|
8
|
+
* Removing or reshaping anything here is a breaking change to `@geekity/cms`,
|
|
9
|
+
* and bumps {@link HOST_API_VERSION}.
|
|
10
10
|
*/
|
|
11
11
|
/**
|
|
12
12
|
* The version of the host API this core provides. A plugin names the version
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*/
|
|
25
25
|
export const HOST_API_VERSION = 3;
|
|
26
26
|
/**
|
|
27
|
-
* The key rule
|
|
27
|
+
* The key rule, so a plugin that writes comments keys each one
|
|
28
28
|
* as the site would key the same comment arriving here: a fediverse reply or
|
|
29
29
|
* reaction by {@link repliesKey} of its note or activity id, a webmention by
|
|
30
30
|
* {@link webmentionKey} of its source and the post's permalink.
|
package/dist/plugins/changes.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The record of who added, updated and removed which plugin from Admin >
|
|
3
|
-
* Plugins
|
|
4
|
-
* from anything else, so it is a file
|
|
3
|
+
* Plugins, in `data/plugin-changes.json`. It cannot be rebuilt
|
|
4
|
+
* from anything else, so it is a file.
|
|
5
5
|
*/
|
|
6
6
|
import { randomUUID } from 'node:crypto';
|
|
7
7
|
import { readFileIfPresentSync, updateFileAtomically } from '../files/atomic.js';
|
package/dist/plugins/folder.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The plugins folder
|
|
2
|
+
* The plugins folder: one folder per plugin, `<name>/` or
|
|
3
3
|
* `@scope/<name>/`, each with a bundled `index.js` whose default export is
|
|
4
4
|
* the plugin, and the `plugin.json` manifest the bundle build writes beside
|
|
5
5
|
* it. `geekity serve` imports them at boot. The Plugins screen
|
|
6
6
|
* compares the folder with what the running worker loaded and offers Reload
|
|
7
|
-
* when they differ
|
|
7
|
+
* when they differ.
|
|
8
8
|
*/
|
|
9
9
|
import type { InstalledPlugin } from './registry.ts';
|
|
10
10
|
export declare const PLUGIN_ENTRY = "index.js";
|
package/dist/plugins/folder.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The plugins folder
|
|
2
|
+
* The plugins folder: one folder per plugin, `<name>/` or
|
|
3
3
|
* `@scope/<name>/`, each with a bundled `index.js` whose default export is
|
|
4
4
|
* the plugin, and the `plugin.json` manifest the bundle build writes beside
|
|
5
5
|
* it. `geekity serve` imports them at boot. The Plugins screen
|
|
6
6
|
* compares the folder with what the running worker loaded and offers Reload
|
|
7
|
-
* when they differ
|
|
7
|
+
* when they differ.
|
|
8
8
|
*/
|
|
9
9
|
var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {
|
|
10
10
|
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `geekity plugin add` and `geekity plugin remove
|
|
2
|
+
* `geekity plugin add` and `geekity plugin remove`: a plugin
|
|
3
3
|
* package's bundle, fetched from the npm registry and unpacked into the
|
|
4
4
|
* plugins folder, with no npm and no `package.json` on the machine.
|
|
5
5
|
*
|
package/dist/plugins/install.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `geekity plugin add` and `geekity plugin remove
|
|
2
|
+
* `geekity plugin add` and `geekity plugin remove`: a plugin
|
|
3
3
|
* package's bundle, fetched from the npm registry and unpacked into the
|
|
4
4
|
* plugins folder, with no npm and no `package.json` on the machine.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The plugin registry
|
|
2
|
+
* The plugin registry: every installed plugin, registered once
|
|
3
3
|
* at boot, and what the dependency graph says about each.
|
|
4
4
|
*
|
|
5
5
|
* Installed and enabled are separate. Installed is fixed for the life of the
|
package/dist/plugins/registry.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The plugin registry
|
|
2
|
+
* The plugin registry: every installed plugin, registered once
|
|
3
3
|
* at boot, and what the dependency graph says about each.
|
|
4
4
|
*
|
|
5
5
|
* Installed and enabled are separate. Installed is fixed for the life of the
|
package/dist/plugins/site.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The site as a plugin reaches it
|
|
2
|
+
* The site as a plugin reaches it: the accounts, keys and
|
|
3
3
|
* followers behind {@link PluginSite}. Shared by requests and the command
|
|
4
4
|
* line, so a plugin's command and its federation read the same files the same
|
|
5
5
|
* way.
|
package/dist/plugins/site.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The site as a plugin reaches it
|
|
2
|
+
* The site as a plugin reaches it: the accounts, keys and
|
|
3
3
|
* followers behind {@link PluginSite}. Shared by requests and the command
|
|
4
4
|
* line, so a plugin's command and its federation read the same files the same
|
|
5
5
|
* way.
|
package/dist/privacy/erase.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CommentRecord } from '../store/admin-store.ts';
|
|
2
2
|
import type { CommentRecords } from '../comments/records.ts';
|
|
3
3
|
/**
|
|
4
|
-
* Erasing one person's personal data when they ask
|
|
4
|
+
* Erasing one person's personal data when they ask.
|
|
5
5
|
*
|
|
6
6
|
* A person is found by the email they gave, because that is the one thing
|
|
7
7
|
* they can prove is theirs: a name is anybody's to type. Their comments stay
|
package/dist/privacy/erase.js
CHANGED
|
@@ -3,7 +3,7 @@ import { deleteContactMessage, listContactMessages } from '../contact/records.js
|
|
|
3
3
|
import { hasOptedOut, removeCommentOptOut } from '../notifications/optouts.js';
|
|
4
4
|
import { withRedacted } from './retention.js';
|
|
5
5
|
/**
|
|
6
|
-
* Erasing one person's personal data when they ask
|
|
6
|
+
* Erasing one person's personal data when they ask.
|
|
7
7
|
*
|
|
8
8
|
* A person is found by the email they gave, because that is the one thing
|
|
9
9
|
* they can prove is theirs: a name is anybody's to type. Their comments stay
|
|
@@ -5,10 +5,10 @@ import type { NotificationTimers } from '../notifications/digest.ts';
|
|
|
5
5
|
import type { SettingsRegistry } from '../settings/types.ts';
|
|
6
6
|
import type { RetentionPolicy } from '../site/retention-policy.ts';
|
|
7
7
|
/**
|
|
8
|
-
* The retention sweep
|
|
8
|
+
* The retention sweep: what removes the personal data a site has
|
|
9
9
|
* kept for longer than it said it would.
|
|
10
10
|
*
|
|
11
|
-
* The files are the truth
|
|
11
|
+
* The files are the truth, so the sweep reads them rather than
|
|
12
12
|
* the index: every comment file under `content/_data/comments/` and every
|
|
13
13
|
* message under `data/contact/`, each rewritten inside the lock every other
|
|
14
14
|
* writer of that file takes, and each comment it changes put back into the
|
|
@@ -9,10 +9,10 @@ import { messageOf } from '../util/errors.js';
|
|
|
9
9
|
import { createSerialQueue } from '../util/queue.js';
|
|
10
10
|
import { outlived } from '../site/retention-policy.js';
|
|
11
11
|
/**
|
|
12
|
-
* The retention sweep
|
|
12
|
+
* The retention sweep: what removes the personal data a site has
|
|
13
13
|
* kept for longer than it said it would.
|
|
14
14
|
*
|
|
15
|
-
* The files are the truth
|
|
15
|
+
* The files are the truth, so the sweep reads them rather than
|
|
16
16
|
* the index: every comment file under `content/_data/comments/` and every
|
|
17
17
|
* message under `data/contact/`, each rewritten inside the lock every other
|
|
18
18
|
* writer of that file takes, and each comment it changes put back into the
|
|
@@ -14,8 +14,8 @@ export declare const USERS_PATH = "/admin/users";
|
|
|
14
14
|
/**
|
|
15
15
|
* Where one user is edited.
|
|
16
16
|
*
|
|
17
|
-
* The split documents.ts already makes between a listing and `basePath/:slug
|
|
18
|
-
*
|
|
17
|
+
* The split documents.ts already makes between a listing and `basePath/:slug`:
|
|
18
|
+
* the table says who there is, and one screen per person holds
|
|
19
19
|
* every field that person has, each with a label beside it. A row of
|
|
20
20
|
* unlabelled boxes in a table cell could not.
|
|
21
21
|
*/
|
package/dist/site/admin-paths.js
CHANGED
|
@@ -14,8 +14,8 @@ export const USERS_PATH = `${ADMIN_PREFIX}/users`;
|
|
|
14
14
|
/**
|
|
15
15
|
* Where one user is edited.
|
|
16
16
|
*
|
|
17
|
-
* The split documents.ts already makes between a listing and `basePath/:slug
|
|
18
|
-
*
|
|
17
|
+
* The split documents.ts already makes between a listing and `basePath/:slug`:
|
|
18
|
+
* the table says who there is, and one screen per person holds
|
|
19
19
|
* every field that person has, each with a label beside it. A row of
|
|
20
20
|
* unlabelled boxes in a table cell could not.
|
|
21
21
|
*/
|
package/dist/site/authors.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import type { ProfileLink, User } from './users.ts';
|
|
|
3
3
|
* Where a person is on this site: their archive, their feeds, and which user
|
|
4
4
|
* a post's `author` names.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Every user is an actor at `{baseUrl}/author/{username}/`, and
|
|
7
7
|
* an actor id has to be a URL that already means something — so the author URL
|
|
8
|
-
* is a page first
|
|
8
|
+
* is a page first and an actor second. Everything that
|
|
9
9
|
* builds or reads one of those URLs goes through this module, so the archive,
|
|
10
10
|
* its feeds, the byline a theme prints and, later, the dispatcher Fedify
|
|
11
11
|
* registers cannot disagree about where a person lives.
|
|
@@ -25,7 +25,7 @@ import type { ProfileLink, User } from './users.ts';
|
|
|
25
25
|
export declare function authorName(users: readonly User[], author: string | undefined): string | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Who the site credits: the display name of the user `author` in `site.json`
|
|
28
|
-
* names, else the site title
|
|
28
|
+
* names, else the site title.
|
|
29
29
|
*
|
|
30
30
|
* A site whose author names nobody has several authors, and the site itself
|
|
31
31
|
* stands in for them in a footer or a feed.
|
|
@@ -62,7 +62,7 @@ export interface PublishedProfileLink extends ProfileLink {
|
|
|
62
62
|
* Always something, because `rel="me"` is what the Links box is for — it is
|
|
63
63
|
* how Mastodon verifies a profile field pointing back at this site and how
|
|
64
64
|
* IndieAuth knows the link is theirs — and it is added whether or not
|
|
65
|
-
* anybody typed it
|
|
65
|
+
* anybody typed it. A theme prints this attribute and nothing
|
|
66
66
|
* else, so a typed `me` is not a second one.
|
|
67
67
|
*/
|
|
68
68
|
readonly rel: string;
|
|
@@ -80,7 +80,7 @@ export declare function profileContext(user: User): AuthorContext;
|
|
|
80
80
|
* nobody this site has.
|
|
81
81
|
*
|
|
82
82
|
* What a theme is given as `siteAuthor` on a page that is about nobody in
|
|
83
|
-
* particular
|
|
83
|
+
* particular: the site's own identity, the same object a byline
|
|
84
84
|
* is, so the visible h-card, the footer's `rel="me"` links and the structured
|
|
85
85
|
* data all read one profile and cannot drift.
|
|
86
86
|
*
|
|
@@ -96,7 +96,7 @@ export declare function siteAuthorContext(users: readonly User[], author: string
|
|
|
96
96
|
* it names nobody at all.
|
|
97
97
|
*
|
|
98
98
|
* Always an object rather than sometimes a string, which is the change a theme
|
|
99
|
-
* sees
|
|
99
|
+
* sees: `author.name` is what to print and `author.url` is where to
|
|
100
100
|
* link, and a name resolving to no user has the first and not the second. A
|
|
101
101
|
* theme therefore writes one thing — `{% if author.url %}` — instead of
|
|
102
102
|
* working out whether the front matter happened to hold a login.
|
package/dist/site/authors.js
CHANGED
|
@@ -4,9 +4,9 @@ import { relText } from './navigation.js';
|
|
|
4
4
|
* Where a person is on this site: their archive, their feeds, and which user
|
|
5
5
|
* a post's `author` names.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* Every user is an actor at `{baseUrl}/author/{username}/`, and
|
|
8
8
|
* an actor id has to be a URL that already means something — so the author URL
|
|
9
|
-
* is a page first
|
|
9
|
+
* is a page first and an actor second. Everything that
|
|
10
10
|
* builds or reads one of those URLs goes through this module, so the archive,
|
|
11
11
|
* its feeds, the byline a theme prints and, later, the dispatcher Fedify
|
|
12
12
|
* registers cannot disagree about where a person lives.
|
|
@@ -32,7 +32,7 @@ export function authorName(users, author) {
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Who the site credits: the display name of the user `author` in `site.json`
|
|
35
|
-
* names, else the site title
|
|
35
|
+
* names, else the site title.
|
|
36
36
|
*
|
|
37
37
|
* A site whose author names nobody has several authors, and the site itself
|
|
38
38
|
* stands in for them in a footer or a feed.
|
|
@@ -73,7 +73,7 @@ export function profileContext(user) {
|
|
|
73
73
|
* nobody this site has.
|
|
74
74
|
*
|
|
75
75
|
* What a theme is given as `siteAuthor` on a page that is about nobody in
|
|
76
|
-
* particular
|
|
76
|
+
* particular: the site's own identity, the same object a byline
|
|
77
77
|
* is, so the visible h-card, the footer's `rel="me"` links and the structured
|
|
78
78
|
* data all read one profile and cannot drift.
|
|
79
79
|
*
|
|
@@ -92,7 +92,7 @@ export function siteAuthorContext(users, author) {
|
|
|
92
92
|
* it names nobody at all.
|
|
93
93
|
*
|
|
94
94
|
* Always an object rather than sometimes a string, which is the change a theme
|
|
95
|
-
* sees
|
|
95
|
+
* sees: `author.name` is what to print and `author.url` is where to
|
|
96
96
|
* link, and a name resolving to no user has the first and not the second. A
|
|
97
97
|
* theme therefore writes one thing — `{% if author.url %}` — instead of
|
|
98
98
|
* working out whether the front matter happened to hold a login.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* How one user has arranged the dashboard's widget cards
|
|
2
|
+
* How one user has arranged the dashboard's widget cards.
|
|
3
3
|
*
|
|
4
4
|
* Cards are named by key, `owner:id`, where the owner is `core` or a plugin's
|
|
5
5
|
* package name. The dashboard is two columns, each a stack of cards. The
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { randomBytes } from 'node:crypto';
|
|
2
2
|
/**
|
|
3
|
-
* The IndexNow key file
|
|
3
|
+
* The IndexNow key file: `/{key}.txt`, holding the key and nothing
|
|
4
4
|
* else, which is how a search engine checks that whoever submitted a URL owns
|
|
5
5
|
* the site. https://www.indexnow.org/documentation
|
|
6
6
|
*/
|
package/dist/site/namespace.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface SiteLicense {
|
|
|
20
20
|
export declare function withoutRetiredKeys(file: Readonly<Record<string, unknown>>): Record<string, unknown>;
|
|
21
21
|
export declare function mintMissingIndexNowKey(settings: SettingsRegistry, by: ChangedBy): Promise<void>;
|
|
22
22
|
/**
|
|
23
|
-
* The site's settings: `content/_data/site.json
|
|
23
|
+
* The site's settings: `content/_data/site.json`.
|
|
24
24
|
*
|
|
25
25
|
* Each key keeps the spelling the file has always used through `fileKey` or
|
|
26
26
|
* `fileKeys`, so themes, Eleventy builds and hand edits read the file as
|
package/dist/site/namespace.js
CHANGED
|
@@ -128,7 +128,7 @@ async function mintIndexNowKey({ next, by, settings }) {
|
|
|
128
128
|
}
|
|
129
129
|
const SITE_JSON = path.join('_data', 'site.json');
|
|
130
130
|
/**
|
|
131
|
-
* The site's settings: `content/_data/site.json
|
|
131
|
+
* The site's settings: `content/_data/site.json`.
|
|
132
132
|
*
|
|
133
133
|
* Each key keeps the spelling the file has always used through `fileKey` or
|
|
134
134
|
* `fileKeys`, so themes, Eleventy builds and hand edits read the file as
|