aboutsummaryrefslogtreecommitdiff
path: root/tests/views (follow)
Commit message (Collapse)AuthorAge
* feat(core): add user account pageDennis Fink5 days
| | | | | | | | | | 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.
* feat(receiver): add Webmention detail and status historyDennis Fink5 days
| | | | | | | | | | 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.
* refactor(core)!: split forms and models by featureDennis Fink5 days
| | | | | | | | | | | | 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.
* feat(receiver): add source domain access rulesDennis Fink5 days
| | | | | | | | | | 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.
* feat(receiver): add bulk received Webmention actionsDennis Fink6 days
| | | | | | | | 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.
* feat(receiver): add sorting and page size controlsDennis Fink6 days
| | | | | | | | | 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.
* feat(receiver): add received Webmention filtersDennis Fink6 days
| | | | | | | | 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.
* refactor(core)!: clarify Webmention domain terminologyDennis Fink7 days
| | | | | | | | | | | | 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.
* refactor(core)!: standardize application terminologyDennis Fink7 days
| | | | | | | | | | | | | 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.
* refactor(core): use HTTPStatus consistentlyDennis Fink8 days
| | | | | | Replace numeric HTTP response and assertion codes in views and tests with `HTTPStatus` members so status handling is more descriptive and consistent.
* refactor(core): remove postponed model annotationsDennis Fink9 days
| | | | | | | | | 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.
* fix(core): reject invalid admin action formsDennis Fink9 days
| | | | | | Centralize administrative form validation so all protected actions return HTTP 400 on invalid submissions instead of allowing the rescan action to fail silently.
* refactor(core): simplify login password verificationDennis Fink9 days
| | | | | | | | | 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.
* fix(receiver): reopen raced submissions after cooldownDennis Fink9 days
| | | | | | | | | Recover a concurrently inserted Webmention through the same cooldown path as an existing submission so stale failures can be queued for verification. Extract digest lookup, insertion, and reopening helpers while preserving explicit SHA-256 collision handling.
* refactor(core): use lowercase extension namesDennis Fink10 days
| | | | | | Rename shared Flask extension singletons to conventional lowercase names and update imports throughout the application and tests to remove redundant aliases.
* refactor(core): split modules by responsibilityDennis Fink10 days
Break up monolithic views, task helpers, networking, CLI, and application extension setup so each module owns a focused concern. Reorganize the test suite around the new boundaries while preserving existing Webmention behavior and coverage.