@geekity/cms 0.42.0 → 0.42.2
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/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/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.js +14 -14
- 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 +11 -12
- 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/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.js +6 -6
- 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 +2 -2
- 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 +1 -1
- package/dist/store/deliveries.d.ts.map +1 -1
- package/dist/store/deliveries.js +10 -15
- 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 +9 -6
- package/dist/web/negotiate.d.ts.map +1 -1
- package/dist/web/negotiate.js +17 -13
- 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 +2 -2
|
@@ -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
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { SiteData } from '../theme/site-data.ts';
|
|
2
2
|
/**
|
|
3
3
|
* The menu a theme renders when nothing says which one it means: the menu that
|
|
4
|
-
* was the whole of `navigation` before menus had names
|
|
4
|
+
* was the whole of `navigation` before menus had names.
|
|
5
5
|
*/
|
|
6
6
|
export declare const DEFAULT_MENU_NAME = "primary";
|
|
7
7
|
/**
|
|
8
8
|
* What one `rel` value may be spelled with: letters and dashes, which is what
|
|
9
9
|
* every HTML link type is spelled with.
|
|
10
10
|
*
|
|
11
|
-
* Deliberately not a list of the values this CMS knows about
|
|
11
|
+
* Deliberately not a list of the values this CMS knows about. The
|
|
12
12
|
* trailing part of a link line is whatever `rel` values the person typed —
|
|
13
13
|
* `me`, `nofollow`, `author`, `noopener`, one somebody's own reader looks for
|
|
14
14
|
* — and all of them reach the rendered attribute. A closed list would mean
|
|
@@ -58,7 +58,7 @@ export interface LinkLine {
|
|
|
58
58
|
* same line, and `Odd | /odd/?a=1|2` keeps its bar because `2` is not one.
|
|
59
59
|
*
|
|
60
60
|
* The one place a link line is split, for the reason the URL rule is worded
|
|
61
|
-
* once
|
|
61
|
+
* once: the menu box on the Navigation screen and the Links box on
|
|
62
62
|
* a profile take the same line, so somebody who learns one box has learned the
|
|
63
63
|
* other.
|
|
64
64
|
*/
|
|
@@ -84,7 +84,7 @@ export declare const MENU_NAME_MAX_LENGTH = 32;
|
|
|
84
84
|
/**
|
|
85
85
|
* What is wrong with a proposed menu name, or `undefined` when nothing is.
|
|
86
86
|
*
|
|
87
|
-
* The rule governs a name somebody types on the Navigation screen
|
|
87
|
+
* The rule governs a name somebody types on the Navigation screen.
|
|
88
88
|
* A name a `theme.json` declares is a menu name by declaration and is shown as
|
|
89
89
|
* the theme spells it: the theme decides where its own menus go, and a screen
|
|
90
90
|
* that hid a declared area because it disliked the spelling would leave
|
|
@@ -132,7 +132,7 @@ export interface NavigationMenuOptions {
|
|
|
132
132
|
* One named menu for one request: the items the site stores under that name,
|
|
133
133
|
* with the one the request is on marked.
|
|
134
134
|
*
|
|
135
|
-
* The setting is the only source of a menu
|
|
135
|
+
* The setting is the only source of a menu. A page cannot put
|
|
136
136
|
* itself in one, so there is one screen to edit a menu on, one order — the
|
|
137
137
|
* order the lines were typed in — and no way for one link to appear twice. A
|
|
138
138
|
* page that should be linked is linked by typing a line for it, including the
|
|
@@ -157,7 +157,7 @@ export interface NavigationMenusOptions {
|
|
|
157
157
|
*
|
|
158
158
|
* Every stored menu is here, not only the ones the theme in use declares an
|
|
159
159
|
* area for. The declaration in `theme.json` is what the Navigation screen
|
|
160
|
-
* reads to say where a menu can go
|
|
160
|
+
* reads to say where a menu can go; it is not a filter on the
|
|
161
161
|
* render, because a theme that renders a menu it forgot to declare should look
|
|
162
162
|
* wrong on the screen that lists areas rather than silently render nothing.
|
|
163
163
|
* A menu no template loops over is simply rendered nowhere, and kept.
|
|
@@ -207,8 +207,8 @@ export declare function menusOf(value: unknown): NavigationMenus;
|
|
|
207
207
|
* not a string is an item with none rather than an item dropped.
|
|
208
208
|
*
|
|
209
209
|
* `me: true` is still read, as `rel: "me"`. It is how every marked item was
|
|
210
|
-
* spelled before the trailing part of a line was a list of rel values
|
|
211
|
-
*
|
|
210
|
+
* spelled before the trailing part of a line was a list of rel values,
|
|
211
|
+
* and a site that had set the only flag there was must
|
|
212
212
|
* not lose it on upgrade; the Navigation screen writes `rel` the next time
|
|
213
213
|
* that menu is saved. Only the literal `true` counts, the way it always did.
|
|
214
214
|
*/
|
|
@@ -252,7 +252,7 @@ export declare function menuItemLineProblem(value: string): string | undefined;
|
|
|
252
252
|
* in: the menu on the Navigation screen and the Links on a user's profile.
|
|
253
253
|
*
|
|
254
254
|
* One sentence fragment rather than two, so the rule {@link isLinkUrl} applies
|
|
255
|
-
* is worded the same wherever somebody is told about it
|
|
255
|
+
* is worded the same wherever somebody is told about it. Somebody
|
|
256
256
|
* who learns one box should not be taught the wrong thing about the other.
|
|
257
257
|
*/
|
|
258
258
|
export declare const LINK_URL_RULE = "a path like /about/ or an absolute http:// or https:// URL, with no spaces in it";
|
|
@@ -268,7 +268,7 @@ export declare const LINK_URL_RULE = "a path like /about/ or an absolute http://
|
|
|
268
268
|
* `https://shll.me/@a | me`: it reads the space and the bar as path
|
|
269
269
|
* characters and percent-encodes them, so a check that only asked the parser
|
|
270
270
|
* took a label, a URL and a trailing word as one URL and stored it — which is
|
|
271
|
-
* how a reader of shll.me ended up at `/author/a%20%7C%20me
|
|
271
|
+
* how a reader of shll.me ended up at `/author/a%20%7C%20me/`. A
|
|
272
272
|
* URL somebody types has no spaces in it; a space means they typed two things.
|
|
273
273
|
*
|
|
274
274
|
* Deliberately a test rather than a normaliser: a link keeps the URL as it was
|
package/dist/site/navigation.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The menu a theme renders when nothing says which one it means: the menu that
|
|
3
|
-
* was the whole of `navigation` before menus had names
|
|
3
|
+
* was the whole of `navigation` before menus had names.
|
|
4
4
|
*/
|
|
5
5
|
export const DEFAULT_MENU_NAME = 'primary';
|
|
6
6
|
/**
|
|
7
7
|
* What one `rel` value may be spelled with: letters and dashes, which is what
|
|
8
8
|
* every HTML link type is spelled with.
|
|
9
9
|
*
|
|
10
|
-
* Deliberately not a list of the values this CMS knows about
|
|
10
|
+
* Deliberately not a list of the values this CMS knows about. The
|
|
11
11
|
* trailing part of a link line is whatever `rel` values the person typed —
|
|
12
12
|
* `me`, `nofollow`, `author`, `noopener`, one somebody's own reader looks for
|
|
13
13
|
* — and all of them reach the rendered attribute. A closed list would mean
|
|
@@ -67,7 +67,7 @@ export function relText(values) {
|
|
|
67
67
|
* same line, and `Odd | /odd/?a=1|2` keeps its bar because `2` is not one.
|
|
68
68
|
*
|
|
69
69
|
* The one place a link line is split, for the reason the URL rule is worded
|
|
70
|
-
* once
|
|
70
|
+
* once: the menu box on the Navigation screen and the Links box on
|
|
71
71
|
* a profile take the same line, so somebody who learns one box has learned the
|
|
72
72
|
* other.
|
|
73
73
|
*/
|
|
@@ -107,7 +107,7 @@ export const MENU_NAME_MAX_LENGTH = 32;
|
|
|
107
107
|
/**
|
|
108
108
|
* What is wrong with a proposed menu name, or `undefined` when nothing is.
|
|
109
109
|
*
|
|
110
|
-
* The rule governs a name somebody types on the Navigation screen
|
|
110
|
+
* The rule governs a name somebody types on the Navigation screen.
|
|
111
111
|
* A name a `theme.json` declares is a menu name by declaration and is shown as
|
|
112
112
|
* the theme spells it: the theme decides where its own menus go, and a screen
|
|
113
113
|
* that hid a declared area because it disliked the spelling would leave
|
|
@@ -134,7 +134,7 @@ export function menuNameProblem(name) {
|
|
|
134
134
|
* One named menu for one request: the items the site stores under that name,
|
|
135
135
|
* with the one the request is on marked.
|
|
136
136
|
*
|
|
137
|
-
* The setting is the only source of a menu
|
|
137
|
+
* The setting is the only source of a menu. A page cannot put
|
|
138
138
|
* itself in one, so there is one screen to edit a menu on, one order — the
|
|
139
139
|
* order the lines were typed in — and no way for one link to appear twice. A
|
|
140
140
|
* page that should be linked is linked by typing a line for it, including the
|
|
@@ -154,7 +154,7 @@ export function navigationMenu(options) {
|
|
|
154
154
|
*
|
|
155
155
|
* Every stored menu is here, not only the ones the theme in use declares an
|
|
156
156
|
* area for. The declaration in `theme.json` is what the Navigation screen
|
|
157
|
-
* reads to say where a menu can go
|
|
157
|
+
* reads to say where a menu can go; it is not a filter on the
|
|
158
158
|
* render, because a theme that renders a menu it forgot to declare should look
|
|
159
159
|
* wrong on the screen that lists areas rather than silently render nothing.
|
|
160
160
|
* A menu no template loops over is simply rendered nowhere, and kept.
|
|
@@ -236,8 +236,8 @@ export function menusOf(value) {
|
|
|
236
236
|
* not a string is an item with none rather than an item dropped.
|
|
237
237
|
*
|
|
238
238
|
* `me: true` is still read, as `rel: "me"`. It is how every marked item was
|
|
239
|
-
* spelled before the trailing part of a line was a list of rel values
|
|
240
|
-
*
|
|
239
|
+
* spelled before the trailing part of a line was a list of rel values,
|
|
240
|
+
* and a site that had set the only flag there was must
|
|
241
241
|
* not lose it on upgrade; the Navigation screen writes `rel` the next time
|
|
242
242
|
* that menu is saved. Only the literal `true` counts, the way it always did.
|
|
243
243
|
*/
|
|
@@ -340,7 +340,7 @@ export function menuItemLineProblem(value) {
|
|
|
340
340
|
* in: the menu on the Navigation screen and the Links on a user's profile.
|
|
341
341
|
*
|
|
342
342
|
* One sentence fragment rather than two, so the rule {@link isLinkUrl} applies
|
|
343
|
-
* is worded the same wherever somebody is told about it
|
|
343
|
+
* is worded the same wherever somebody is told about it. Somebody
|
|
344
344
|
* who learns one box should not be taught the wrong thing about the other.
|
|
345
345
|
*/
|
|
346
346
|
export const LINK_URL_RULE = 'a path like /about/ or an absolute http:// or https:// URL, with no spaces in it';
|
|
@@ -356,7 +356,7 @@ export const LINK_URL_RULE = 'a path like /about/ or an absolute http:// or http
|
|
|
356
356
|
* `https://shll.me/@a | me`: it reads the space and the bar as path
|
|
357
357
|
* characters and percent-encodes them, so a check that only asked the parser
|
|
358
358
|
* took a label, a URL and a trailing word as one URL and stored it — which is
|
|
359
|
-
* how a reader of shll.me ended up at `/author/a%20%7C%20me
|
|
359
|
+
* how a reader of shll.me ended up at `/author/a%20%7C%20me/`. A
|
|
360
360
|
* URL somebody types has no spaces in it; a space means they typed two things.
|
|
361
361
|
*
|
|
362
362
|
* Deliberately a test rather than a normaliser: a link keeps the URL as it was
|
|
@@ -20,7 +20,7 @@ import type { User } from './users.ts';
|
|
|
20
20
|
* has never heard of is dropped on the way in and on the way out, so a file
|
|
21
21
|
* written by a newer version does not leave a switch nothing can reach.
|
|
22
22
|
*
|
|
23
|
-
* An event may also say that it can be *batched
|
|
23
|
+
* An event may also say that it can be *batched*, which adds a
|
|
24
24
|
* second question beside the switch: not whether to send it, but how often. The
|
|
25
25
|
* two are separate on purpose — a user who wants none of a notice turns it off,
|
|
26
26
|
* and a user who wants it in one message a day is still a recipient. Both
|
|
@@ -66,7 +66,7 @@ export interface NotificationEvent {
|
|
|
66
66
|
/** Whether a user who has said nothing gets it. */
|
|
67
67
|
readonly byDefault: boolean;
|
|
68
68
|
/**
|
|
69
|
-
* Whether a user may choose how often it arrives
|
|
69
|
+
* Whether a user may choose how often it arrives.
|
|
70
70
|
*
|
|
71
71
|
* `false` for a notice that is only ever one message about one thing — a
|
|
72
72
|
* password having been changed, say — where "hourly" would mean nothing. An
|
|
@@ -78,7 +78,7 @@ export interface NotificationEvent {
|
|
|
78
78
|
/**
|
|
79
79
|
* Every event, in the order the users screen offers them.
|
|
80
80
|
*
|
|
81
|
-
* One line each.
|
|
81
|
+
* One line each.
|
|
82
82
|
*/
|
|
83
83
|
export declare const NOTIFICATION_EVENTS: readonly NotificationEvent[];
|
|
84
84
|
/** The event of that name, or `undefined` for one nothing here knows. */
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* has never heard of is dropped on the way in and on the way out, so a file
|
|
20
20
|
* written by a newer version does not leave a switch nothing can reach.
|
|
21
21
|
*
|
|
22
|
-
* An event may also say that it can be *batched
|
|
22
|
+
* An event may also say that it can be *batched*, which adds a
|
|
23
23
|
* second question beside the switch: not whether to send it, but how often. The
|
|
24
24
|
* two are separate on purpose — a user who wants none of a notice turns it off,
|
|
25
25
|
* and a user who wants it in one message a day is still a recipient. Both
|
|
@@ -65,7 +65,7 @@ export function isBatchedMode(mode) {
|
|
|
65
65
|
/**
|
|
66
66
|
* Every event, in the order the users screen offers them.
|
|
67
67
|
*
|
|
68
|
-
* One line each.
|
|
68
|
+
* One line each.
|
|
69
69
|
*/
|
|
70
70
|
export const NOTIFICATION_EVENTS = [
|
|
71
71
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* How long this site keeps the personal data its readers hand it
|
|
2
|
+
* How long this site keeps the personal data its readers hand it.
|
|
3
3
|
*
|
|
4
4
|
* Three periods, each in whole days counted from the moment the data arrived,
|
|
5
5
|
* and `0` for keeping it for as long as the site stands. They are settings in
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* How long this site keeps the personal data its readers hand it
|
|
2
|
+
* How long this site keeps the personal data its readers hand it.
|
|
3
3
|
*
|
|
4
4
|
* Three periods, each in whole days counted from the moment the data arrived,
|
|
5
5
|
* and `0` for keeping it for as long as the site stands. They are settings in
|