| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
| |
Render plain-text digests with source, target, per-Webmention detail
links, and a filtered dashboard link while preserving singular and
plural wording.
Freeze the notified rows before sending so mentions arriving during
delivery are left for the next digest.
BREAKING CHANGE: enabling `DIGEST_EMAIL` now requires `SERVER_NAME` so
background workers can generate absolute administration URLs.
|
| |
|
|
|
|
|
|
|
| |
Add per-Webmention detail pages so delivery state, failure guidance,
status URLs, and delivery history no longer crowd the source overview.
Track source lifecycle events separately for discovery, revision,
deletion, and restoration, and add a source-level action to resend only
failed Webmentions.
|
| |
|
|
|
|
|
|
| |
Allow admins to resend all failed Webmentions globally or requeue every
delivery for a source using the shared confirmation workflow.
Record outgoing status history, expand sent source details, and provide
human-readable guidance for current and historical delivery failures.
|
| |
|
|
|
|
|
|
|
| |
Rename source-list forms, views, helpers, and tests around the Sent
Webmentions UI while keeping source documents as the grouping model.
BREAKING CHANGE: authenticated outgoing routes move from `/sources` to
`/sent`, with corresponding blueprint endpoint and Python module
renames.
|
| |
|
|
|
|
|
|
|
| |
Move sent Webmention counts from template iteration into a page-scoped
SQL aggregate so source listings no longer load every related delivery
row.
Include zero-target sources and expose sent, no-endpoint, failed, and
retrying counts directly to the template.
|
| |
|
|
|
|
| |
Render received and sent list controls through their WTForms instances
and use a shared `filter_form` template variable for consistent filter
handling.
|
| |
|
|
|
|
|
|
|
| |
Add explicit runtime narrowing in tests and simplify Huey decorator
annotations so static analysis reflects the dynamic task wrapper
behavior.
Clean up URL argument construction and form error updates while
preserving existing application behavior.
|
| |
|
|
|
|
|
|
|
| |
Add status, search, date, sorting, and page-size controls to the source
list with validated query parameters and stable pagination.
Preserve list context across source details, rescans, resends, and
pagination, and surface failed and retrying delivery counts with retry
deadlines.
|
| |
|
|
|
|
|
|
|
| |
Add reusable UTC template filters backed by `humanize` so timestamps
render as relative ages while preserving machine-readable `<time
datetime>` values.
Keep exact UTC timestamps available in tooltips across dashboard,
received, sent, detail, and public status views.
|
| |
|
|
|
|
|
|
|
| |
Hide secondary received and sent table columns below the `md` breakpoint
while keeping status, primary identifiers, details, and actions
accessible.
Add responsive wrappers, mobile received timestamps, and wrapping for
long paths and URLs to improve small-screen readability.
|
| |
|
|
|
|
| |
Rename source-domain rule labels to the broader "Moderation" and
"Domain" wording across forms, navigation, templates, messages, and
tests.
|
| |
|
|
|
|
|
|
|
| |
Replace the root redirect with an authenticated dashboard showing
received and outgoing status counts, recent activity, pending sends,
retries, and queue depth.
Persist the last completed source scan so operational status survives
restarts and only advances after a successful, conclusive scan.
|
| |
|
|
|
|
|
|
|
| |
Map known verification failures to human-readable explanations and show
suggested next steps only for receiver-controlled problems while
retaining raw reasons.
Return a specific validation error when targets are outside
`ALLOWED_TARGET_HOSTNAMES` and reuse the guidance for status history.
|
| |
|
|
|
|
|
|
|
|
| |
Add an authenticated user page showing the current username and remote
address, including guidance for validating reverse-proxy hop
configuration.
Allow users to change their own password through a CSRF-protected
WTForms form while preserving the active session and invalidating other
existing sessions.
|
| |
|
|
|
|
|
|
|
|
| |
Apply validated SQLite settings through SQLAlchemy's connection event so
every SQLite connection and bind receives consistent foreign key, WAL,
timeout, and security defaults.
Allow deployments to override supported PRAGMAs safely while skipping
file-only settings for in-memory databases and leaving other database
backends untouched.
|
| |
|
|
|
|
|
|
|
|
| |
Add an authenticated detail view with full failure information,
timestamps, actions, public status links, and recorded lifecycle
transitions.
Persist verification and resubmission events, backfill existing rows
during migration, and clean up history when received Webmentions are
deleted.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Replace monolithic form and model modules with focused packages for
receiver, moderation, source, user, and shared validation concerns.
Rename source policy concepts to domain moderation, including routes,
models, tables, configuration, templates, and tests.
BREAKING CHANGE: form and model import paths, moderation routes, and
`SOURCE_ALLOWLIST_ENABLED` have changed; use `ALLOWLIST_ENABLED` and the
new feature-specific modules.
|
| |
|
|
|
|
|
|
|
|
| |
Add persistent source block and allow lists with authenticated
management, single-row and bulk blocking actions, and optional
fail-closed allowlist mode.
Reject disallowed sources before enqueueing and recheck policy in
verification workers, while sharing canonical hostname normalization
across receiver, sender, and configuration paths.
|
| |
|
|
|
|
|
|
| |
Allow admins to select received Webmentions for bulk reverification or
deletion and provide a separate action to delete all declined entries.
Validate selections strictly, preserve active list filters across
redirects, and reuse the shared confirmation modal with CSRF protection.
|
| |
|
|
|
|
|
|
|
| |
Allow received Webmentions to be sorted by status, source, target,
received time, or updated time with stable pagination and accessible
sortable headers.
Add configurable per-page sizing and preserve sorting, filters, and page
size across pagination and administrative actions.
|
| |
|
|
|
|
|
|
| |
Add status, URL search, and updated-date filters to the received
Webmention list with strict query validation and inclusive UTC date
ranges.
Preserve active filters across pagination, delete, and reverify actions.
|
| |
|
|
|
|
|
|
|
| |
Hide Flask-Migrate's unrestricted command group unless
`WEBMENTIONS_SSG_DEV` is enabled, while keeping the guarded database
management commands available.
Base migration CLI exposure on the development environment flag rather
than the selected configuration class.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Group globals and data classes near module imports, keep primary classes
and functions together, and move implementation helpers after their
public callers.
Reorder Alembic setup so configuration happens after the required
helpers are defined, without changing runtime behavior.
|
| |
|
|
|
|
|
|
|
| |
Group default and example settings into consistent application,
security, networking, receiver, scanner, sender, rate-limit, and mail
sections.
Reorder configuration declarations without changing their values or
behavior.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Rename ambiguous models, statuses, task modules, fields, and helpers so
names reflect source documents, verification, endpoint discovery, and
delivery state.
Migrate persisted status values and database identifiers without losing
existing Webmention data.
BREAKING CHANGE: persisted status values and database schema names have
changed, and several public Python names have been renamed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Rename configuration keys, task helpers, forms, network utilities, and
view endpoints to make their responsibilities and domains more explicit.
Align source-management routes and templates with the new terminology
and rename the target-matching module and related task abstractions
consistently.
BREAKING CHANGE: configuration keys have been renamed and sent-source
routes move from `/sent` to `/sources`, with corresponding blueprint
endpoint changes.
|
| |
|
|
|
|
| |
Replace numeric HTTP response and assertion codes in views and tests
with `HTTPStatus` members so status handling is more descriptive and
consistent.
|
| |
|
|
|
| |
Remove the single-purpose validation helper and keep each administrative
route's form guard local to the action it protects.
|
| |
|
|
|
|
|
|
|
| |
Expand function and method documentation with consistent reST parameter,
return, and exception fields while clarifying behavior where additional
context is useful.
Normalize test and migration docstrings to the same documentation
conventions.
|
| |
|
|
|
|
|
|
|
| |
Decompose receiver verification, source scanning, and Webmention
delivery into explicit claim, check, reconciliation, and
outcome-recording stages.
Extract Huey backend parsing helpers and add focused tests for the new
task boundaries while preserving existing processing semantics.
|
| |
|
|
|
| |
Use `frozenset` for built-in allowed-hostname defaults so shared
configuration values cannot be mutated accidentally at runtime.
|
| |
|
|
|
|
|
|
|
| |
Drop `from __future__ import annotations` now that UUID names no longer
shadow the module namespace, and add coverage that mapped UUID and
relationship annotations resolve correctly at runtime.
Apply minor Python 3.14 syntax and formatting cleanup across tests and
networking.
|
| |
|
|
|
|
| |
Replace explicit `ParamSpec` and `TypeVar` declarations with inline
generic function parameters for Huey task decorators without changing
runtime behavior.
|
| |
|
|
|
|
|
|
|
| |
Store `ReceivedWebmention.status` as a non-native SQLAlchemy enum so
model values round-trip as `ReceivedStatus` while remaining portable
across database backends.
Add a migration that preserves existing text statuses and coverage for
upgrades and enum persistence.
|
| |
|
|
|
|
| |
Centralize administrative form validation so all protected actions
return HTTP 400 on invalid submissions instead of allowing the rescan
action to fail silently.
|
| |
|
|
|
|
|
|
|
| |
Centralize SQL row counts, hostname parsing, and content-type
normalization so tasks, forms, and scanners share consistent
implementations.
Simplify periodic task registration and admin lookups with table-driven
setup and Flask-SQLAlchemy's built-in 404 helper.
|
| |
|
|
|
|
| |
Rename the non-Huey scanner and sender helpers to `_scan_locked` and
`_send_locked` so their names reflect that they run only while holding
task locks.
|
| |
|
|
|
|
|
|
| |
Make in-place reset and reopen helpers return `None` so callers no
longer perform pointless self-reassignment.
Split explicit resend behavior into its own method instead of hiding it
behind a boolean flag on `reopen`.
|
| |
|
|
|
|
|
|
| |
Make `SentWebmention.pending` a hybrid property so the same definition
works in Python and SQL expressions.
Reuse it across sender and scanner guards to remove duplicated revision
checks.
|
| |
|
|
|
|
| |
Call Flask `abort` directly in view guards since it always raises and
never returns, simplifying error branches without changing response
behavior.
|
| |
|
|
|
|
| |
Use `HTTPStatus` constants for standard response codes and a named upper
bound for retryable server errors so network and task status handling is
self-documenting.
|
| |
|
|
|
|
|
|
| |
Document and test SQLAlchemy-style slash handling for file and SQLite
Huey URLs, including distinct relative and absolute path forms.
Update validation errors to show the supported three- and four-slash
conventions.
|
| |
|
|
|
|
| |
Return early when no canonical link is present so canonical URL
validation can follow a linear path with less nesting and unchanged scan
behavior.
|
| |
|
|
|
|
|
|
|
|
| |
Introduce a dedicated response-size error so callers only translate
expected limit violations instead of masking unrelated `ValueError`
exceptions.
Ensure failed sockets are always closed, remove dead discovery error
handling, and log unexpected sender failures with tracebacks before
recording them.
|
| |
|
|
|
|
| |
Validate only the numeric user ID before lookup, then compare the
complete stored session identifier against the current user ID with a
constant-time byte check.
|
| |
|
|
|
|
|
|
|
| |
Replace the module-level dummy user with a lazily cached password hash
so unknown usernames still perform a password check without hashing
during every import.
Use one linear verification path for existing, missing, and empty
passwords.
|
| |
|
|
|
|
|
|
| |
Reject non-string session identifiers explicitly and simplify
fingerprint parsing so malformed authentication state fails closed.
Tighten local redirect checks against control-character and backslash
host tricks without relying on an unnecessary scheme check.
|
| |
|
|
|
|
| |
Enable additional Ruff docstring checks for summary separation and
closing quotes, then normalize migration and application docstrings to
satisfy the new rules.
|
| |
|
|
|
|
| |
Import `UUID` and `uuid7` directly so model column attributes named
`uuid` no longer shadow the module used for type annotations and default
generators.
|