| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
Harden public-address validation against NAT64, IPv4-compatible, 6to4,
and IPv4-mapped IPv6 forms that can encapsulate private or metadata
destinations.
Apply the same check to literal form validation and DNS-resolved
addresses so SSRF protections do not rely on Python's `is_global`
behavior alone.
|
| |
|
|
|
|
|
|
| |
Bound incoming request and URL sizes so untrusted Webmention submissions
cannot consume unbounded application or database resources.
Purge old failed and deleted received Webmentions on a schedule, and use
portable SHA-256 URL fingerprints to preserve uniqueness for long URLs.
|
| |
|
|
|
|
|
|
|
|
| |
Require persistent non-placeholder signing keys outside local
development and bind login sessions to the current password hash so
password changes revoke existing cookies.
Enforce a minimal password policy for user administration while
preserving long Unicode passphrases without arbitrary composition
limits.
|
| |
|
|
|
|
| |
Restore dnspython after it was accidentally removed from the project
dependencies and declare html5lib explicitly because the application
selects it as the BeautifulSoup parser.
|
| |
|
|
|
|
|
|
|
| |
Provide matching published extras and uv groups for Redis, Valkey,
Memcached, MongoDB, and PostgreSQL so deployments can install the
clients required by their selected rate-limit or Huey backend.
Keep shared backend groups aligned where Redis dependencies are used by
both Flask-Limiter and Huey.
|
| |
|
|
|
|
|
|
|
| |
Prevent broker-controlled task and result payloads from deserializing
arbitrary Python objects by using a restricted JSON serializer with an
explicit type allowlist.
Fail closed on serializer overrides and document broker isolation and
migration requirements for existing pickle-backed deployments.
|
| |
|
|
|
|
|
|
|
|
| |
Pin outbound connections to validated public IP addresses so DNS changes
cannot redirect receiver or sender requests onto private or link-local
networks.
Apply the same protection across redirects, add an overall request
deadline, and keep DNS resolution out of synchronous endpoint form
validation.
|
| |
|
|
|
|
| |
Resolve configured source paths without requiring them to exist first so
missing directories produce the scanner's explicit directory validation
error instead of leaking a lower-level path resolution exception.
|
| |
|
|
|
|
|
|
|
| |
Add a periodic recovery sweep for Webmentions left in received or
verifying states after worker crashes, lost queue entries, or
interrupted processing.
Use atomic lease-style updates so stale workers cannot overwrite newer
results, and index verification state for efficient recovery scans.
|
| |
|
|
|
|
|
|
| |
Fall back to GET when HEAD fails so targets that reject or mishandle
HEAD can still advertise a Webmention endpoint.
Ignore malformed or unsupported endpoint candidates and continue
searching for the first valid HTTP endpoint.
|
| |
|
|
|
|
|
|
|
| |
Ignore surrounding prose punctuation when matching target IRIs in
text/plain sources so valid Webmentions are not rejected when URLs
appear in normal sentences.
Preserve balanced URL parentheses and reject longer URLs that only share
the target as a prefix.
|
| |
|
|
|
|
|
|
|
| |
Hash normalized reader-facing content and outgoing targets instead of
raw h-entry markup so generated attributes and relative timestamps do
not trigger spurious source revisions or repeat Webmentions.
Preserve meaningful changes such as image updates and reaction target
changes while ignoring target ordering and other markup noise.
|
| |
|
|
|
|
|
|
| |
Ensure requested rescans are not silently dropped when a periodic scan
already holds the scanner lock.
Defer the manual task and retry it after the active scan finishes while
still propagating unrelated scan failures.
|
| |
|
|
|
|
|
|
|
| |
Serialize delivery attempts per Webmention so duplicate queued tasks
cannot send the same revision concurrently or consume additional retry
attempts.
Scope locks by Webmention UUID so unrelated deliveries can still run in
parallel.
|
| |
|
|
|
|
|
|
|
|
| |
Persist retry state per source revision so temporary delivery failures
survive worker restarts and duplicate queued tasks cannot bypass the
retry schedule.
Use capped exponential backoff, stop after a configurable attempt limit,
and reset the retry budget when a source changes or an admin resends
manually.
|
| |
|
|
|
|
|
|
| |
Treat scans with no successfully processed source pages as inconclusive
so a temporary empty or partially rebuilt output directory cannot mark
every source deleted or trigger removal Webmentions.
Defer pending sends until at least one source is scanned successfully.
|
| |
|
|
|
|
|
|
|
| |
Keep persisted sources, including deleted ones, as owners of their
canonical URLs so newly scanned aliases cannot claim the same source
identity.
Skip duplicate canonical paths without blocking unrelated sources from
being saved or queued for delivery.
|
| |
|
|
|
|
|
|
|
| |
Prevent malformed pages or unexpected third-party parser exceptions from
aborting an entire source scan or causing previously known sources to be
treated as deleted.
Keep persistence failures visible so database errors still fail the
scan.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
Fail production startup when required configuration is missing,
normalize allowed hostnames before validation, and move shared request
limits into the default configuration so production does not depend on
testing-only values.
Set secure session cookie defaults while preserving explicit overrides
and document the new rate-limit and notification settings in the example
config.
|
| |
|
|
|
|
|
|
|
|
| |
Reduce login abuse and username enumeration by rate limiting POST
attempts and always performing password verification, even for unknown
users.
Require authenticated, CSRF-protected POST requests for logout so
sessions cannot be terminated through cross-site or accidental GET
requests.
|
| |
|
|
|
|
|
|
|
| |
Batch verified Webmention notifications into a scheduled digest so
bursts of incoming mentions do not generate a separate email for every
verification.
Track which mentions have already been reported and leave them pending
when SMTP delivery fails so a later digest can retry safely.
|
| |
|
|
|
|
|
|
|
|
| |
Protect the public endpoint from abusive request floods and repeated
duplicate submissions that would otherwise trigger unnecessary
verification work.
Add per-client and global limits, require shared limiter storage in
production, and only reverify existing Webmentions after a configurable
cooldown.
|
| |
|
|
|
| |
Add Ruff to the development dependencies and configure import sorting to
match the project's formatting preferences.
|
| |
|
|
|
|
|
|
|
| |
Validate post-login redirect targets as local paths and reject
backslashes, scheme-relative URLs, and malformed paths that browsers may
interpret as external destinations.
Add regression coverage for safe local redirects and open redirect
variants.
|
| |
|
|
|
|
|
|
| |
Reject login attempts when the submitted password is absent instead of
relying on form validation to prevent a missing value from bypassing
authentication.
Add regression coverage for both incorrect and missing passwords.
|
| |
|
|
|
|
|
|
|
|
| |
Treat status URLs returned by remote endpoints as untrusted input so
malformed or non-HTTP schemes cannot be persisted or exposed as
clickable links.
Preserve successful delivery when a Location header is invalid while
rendering legacy unsafe status values as plain text in the admin
interface.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Make database initialization and upgrades explicit so new installations
cannot silently modify an existing or unversioned schema.
Keep Flask-Migrate commands available separately and package the
migration environment with the application for reliable deployment.
|
| |
|
|
|
|
| |
Add commands to list users, reset passwords, and delete accounts.
Move mail and user commands into dedicated CLI modules.
|
| |
|
|
|
|
|
|
|
| |
Make outgoing mail configuration easier to validate during deployment
without waiting for a Webmention notification to exercise the SMTP path.
Allow operators to override the configured notification recipient and
surface missing configuration or delivery failures directly through the
CLI.
|
| |
|
|
|
|
|
|
|
| |
Provide a complete sample configuration covering Flask, database,
logging, receiver and sender limits, Huey, scanning, and email
notifications.
Document expected production paths and highlight secrets and deployment
settings that must be customized.
|
| |
|
|
|
| |
Restore the SOURCE_BASE_URL setting so scanner configuration uses the
key expected throughout the application.
|
| | |
|
| |
|
|
|
|
| |
Remove the WEBMENTIONS_SSG prefix from application-specific
configuration settings and update validators, tasks, and tests to use
the shorter names.
|
| |
|
|
|
|
|
|
|
| |
Send an email after a newly received Webmention is successfully
verified, with SMTP delivery configurable through Flask-Mail.
Avoid notifications for resubmissions and manual reverification, and
keep the persisted verification result unchanged if notification
enqueueing fails.
|
| |
|
|
|
|
| |
Display received Webmention statuses with Bootstrap badges matching
their row state for clearer visual consistency with the sent Webmention
views.
|
| |
|
|
|
|
|
|
| |
Use the sent source route's expected parameter name when redirecting
after a manual Webmention resend.
Expand view coverage for authentication, admin actions, status
rendering, resends, rescans, and concurrent endpoint submissions.
|
| |
|
|
|
| |
Use the pagination total when displaying the number of Webmentions for a
source so the count reflects all results, not only the current page.
|
| | |
|
| |
|
|
|
|
|
|
| |
Load sent Webmentions with database-backed pagination instead of eagerly
loading the full relationship for each source.
Condense delivery, revision, and activity metadata in the source detail
table and add pagination controls for large Webmention sets.
|
| |
|
|
|
|
|
|
| |
Add an authenticated action to reopen a sent Webmention revision and
queue it for delivery again from the source detail view.
Clear the previous attempt state while preserving historical
successful-send data, and show pending Webmentions explicitly in the UI.
|
| |
|
|
|
| |
Point the project metadata to the new self-hosted Git repository and
remove the obsolete Codeberg issues URL.
|
| |
|
|
|
|
|
|
|
| |
Move direct validator, model, and Huey extension coverage into dedicated
test modules and mock dependencies where behavior belongs to another
module.
Expand Huey extension typing and coverage while removing duplicate
assertions from scanner, sender, form, and view tests.
|
| |
|
|
|
|
|
|
| |
Document forms, validators, models, and views with PEP 287-style
docstrings and complete missing type annotations.
Add developer-readable representations for Webmention models and mark
the user password property as write-only in its return type.
|
| |
|
|
|
|
|
|
| |
Add SPDX copyright and license headers to source, test, migration,
template, and static files throughout the project.
Include the maintainer email in copyright notices and fill in the BSD
license copyright holder.
|
| |
|
|
|
|
|
| |
Apply the project formatting rules to the Alembic environment and
existing migration files.
Give the Webmention sender migration a descriptive filename and message.
|
| |
|
|
|
|
|
|
|
| |
Restructure database and user CLI commands, make passwords write-only
model properties, and use the UTC datetime constant throughout the
application.
Add PEP 287-style documentation and expand receiver, scanner, sender,
and URL security tests to cover error paths and edge cases.
|