happyDomain/web
Pierre-Olivier Mercier cec4f11c7d compliance: DMARC record sync validators
Adds compliance checks for svcs.DMARC against RFC 7489.

The validator parses the published TXT and surfaces:

- Wrong owner name (record must live at _dmarc.<domain>).
- Missing or non-DMARC1 v= tag.
- Missing, unknown, or "monitoring-only" p= policy.
- Invalid sp= subdomain policy.
- Invalid adkim/aspf alignment values.
- pct= out of [0..100] (error) and pct < 100 (info, partial deployment).
- Non-positive or non-numeric ri=.
- Unknown fo= entries (0 / 1 / d / s) and unknown rf= formats (afrf).
- Empty or malformed rua/ruf URIs (mailto and http(s) accepted; mailto
  size suffix !N preserved).

A 25-case test suite covers each issue id, plus happy paths for a
minimal reject record and rua mailto/http URIs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 19:52:30 +07:00
..
src compliance: DMARC record sync validators 2026-04-27 19:52:30 +07:00
static Reformat manifest.json, add id and fix spelling 2026-03-01 17:40:20 +07:00
.gitignore web: Migrate frontend to openapi-ts code generation 2026-01-26 12:34:55 +08:00
.prettierignore refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
assets-noui.go mailer: Implement asset directory fallback and update build paths 2026-01-02 20:49:46 +07:00
assets.go web: Migrate frontend to openapi-ts code generation 2026-01-26 12:34:55 +08:00
openapi-ts.config.ts Add format:"date-time" struct tags to time.Time model fields 2026-04-04 22:05:28 +07:00
package.json Use nodeJS workspace 2026-04-17 12:58:17 +07:00
README.md refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
routes.go Fix service worker registration 2026-03-17 11:20:48 +07:00
svelte.config.js Include generated services_specs into frontend code 2026-03-17 20:14:57 +07:00
tsconfig.json refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00
vite.config.ts refactor: restructure project architecture and folder hierarchy 2025-05-28 22:00:02 +02:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.