Skip to content

Final hardening: admin test push, ad spacing manager, security hardening, bulk moderation, import clean-up, update notifications, SEO - #13

Merged
yonixnetwork merged 4 commits into
mainfrom
claude/youthful-cerf-4xclco
Nov 14, 2026
Merged

yonixnetwork merged 4 commits into
mainfrom
claude/youthful-cerf-4xclco

Conversation

@yonixnetwork

Copy link
Copy Markdown
Owner

Focused improvements to the live app (no rebuild). Details and evidence are in docs/final-hardening/: checklist, security-audit, incident-response, backup-restore, seo-guide, test-results and screenshots.

  • Test notifications. Removed from user pages, and the public endpoint is gone. Admin → Push → Test push notification sends to one device of a chosen user, shows the push service's real answer, and records it as TEST in the audit log without the endpoint.
  • Ads. A central placement manager plans ads per page on the server, and a browser guard enforces it: one ad per placement, at least 700 px between ads, at most 3 per page and 2 on phones. App pages get a compact labelled sponsored unit inside a closing "Visit official website" box. New admin controls with safe limits. Provider priority is unchanged.
  • Security.
    • Step-up (fresh authenticator code) for sensitive admin actions.
    • Email alert when an admin signs in from a new device.
    • Per-address limit on admin sign-in attempts.
    • Admin sign-in logging used a client address that could be spoofed; it now uses the trusted proxy hops.
    • New security event log, Account and request security dashboard, and alert emails.
    • Search rate limits that let verified Google/Bing crawlers through.
    • Rate limits on admin imports and bulk actions.
    • Extra headers: COOP, X-Permitted-Cross-Domain-Policies, and a wider Permissions-Policy.
    • Docs for incident response and backups.
  • Imports. Duplicates are linked to the existing listing. Bulk and automatic publishing refuse duplicates. A daily clean-up runs with a retention period, logs everything, and never touches listings.
  • Bulk moderation on Submissions. Each row shows whether it is eligible. Actions: approve selected or all eligible, request information, reject, suspend. Reject, request information and suspend need a reason; reject and suspend also need step-up. All actions are audited. Imports also get "Select all eligible" and "Select visible".
  • Developer updates. Developers can describe what changed. Changed fields are recorded on approval. People who saved the app are notified once per meaningful update (never for tags or languages only).
  • Desktop account pages. Added "Back to marketplace" and a breadcrumb.
  • SEO. Google HTML-file and Bing XML-file verification. IndexNow now also fires on suspend, remove and reinstate. Sitemap and robots were verified.
  • Admin forms. Fields are kept after an error or a confirmation request, so typed input is not lost.
  • Migration 20261115120000_hardening_security_events: additive only.

Tests

  • Lint and tsc are clean; the production build passes.
  • Unit and database tests: 347/347.
  • New E2E hardening.spec.ts: 8/8. Updated repair.spec.ts: 10/10.
  • Full regression: 150 passed. The one failure was an existing race in a hosts test, now fixed.
  • Responsive audit: 160 checks across 10 viewports, 0 problems.

Not verifiable here: real phones, real push delivery, real ad fill, and Google/Bing ownership verification (the owner's action).


Generated by Claude Code

… bulk moderation, import cleanup, update notifications, SEO files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrPV5wwqB6Kvn6Jo16iwcb
…s by path

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrPV5wwqB6Kvn6Jo16iwcb
…ackup and restore, SEO guide

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrPV5wwqB6Kvn6Jo16iwcb
…n-out race in hosts test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrPV5wwqB6Kvn6Jo16iwcb
@hostinger

hostinger Bot commented Nov 14, 2026

Copy link
Copy Markdown

Hostinger preview

Preview Commit Updated
sandybrown-goldfinch-473312.hostingersite.com 0099c32 Nov 14, 2026 06:13 UTC

A new build starts on every push to claude/youthful-cerf-4xclco; the table shows the commit currently served. The preview is deleted when this pull request is closed.

@yonixnetwork
yonixnetwork merged commit 15b42f9 into main Nov 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants