Do SikiandClaude Sonnet 5 776fa66bc8
CI Pipeline with Test Management / đŸ§Ș Run Tests & Generate Reports (push) Waiting to run
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Blocked by required conditions
CI Pipeline with Test Management / đŸ—ïž Build Docker Image (push) Blocked by required conditions
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / đŸ§Ș Run Tests & Generate Reports (push) Waiting to run
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Blocked by required conditions
feat(cms): Partners + Media collection MVP (MITHOME-89)
Payload built-in upload collection (Media) + a Partners collection
(name, url, logo -> Media relationship) mirroring home.json's
partners.items.

Scope decision (see Plane MITHOME-89/118): the old logo editor
(crop/rotate/transparent-background — MITHOME-76/84) is entirely
client-side canvas logic (scripts/cms-logo-client.js, 345 lines), not
server-side processing. Porting that UX into the Payload admin is a
real custom React field component, split into its own ticket
(MITHOME-118) rather than bundled here. This ticket covers plain
upload only.

- src/collections/Media.ts, src/collections/Partners.ts, registered
  in payload.config.ts.
- migrate-content-to-payload.ts: upsertPartner() uploads the existing
  processed logo file (filePath) into Media (idempotent — matched by
  `alt` == partner name) and upserts the Partner document (matched by
  `name`).
- .gitignore: Payload's default local upload storage lands at
  proto/media/ (not proto/public/) — runtime data, not source, needs
  a persistent volume in staging/production (flagged for MITHOME-97).
  Also ignored the generated src/payload-types.ts.

Verified: migration run twice against the real dev MongoDB produced
exactly 1 Media doc + 1 Partner doc (no duplicates, confirmed via
mongosh) with the correct file size (12289 bytes, matching the source
PNG). Real browser: logged into /admin, Partners list shows the
migrated entry, and the document editor renders the logo thumbnail
(270x80, 12KB) correctly. build/lint/tsc/test (58 passed) all clean.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-10 12:33:34 +02:00

mozdIT Bt. — Weboldal fejlesztĂ©s (websitedev)

Modern Next.js weboldal a mozdIT Bt. szĂĄmĂĄra — webtĂĄrhely, email- Ă©s DNS-szolgĂĄltatĂĄs, magyar IT vĂĄllalkozĂĄs.

Stack

  • Frontend: Next.js 15 (Turbopack), React 19, TypeScript, Tailwind CSS 4
  • Tartalom: JSON-alapĂș, sĂ©ma-validĂĄlt content rendszer (proto/src/content/)
  • CMS: sajĂĄt, dependency-mentes content-editor.js (böngĂ©szƑs szerkesztƑ)
  • Backend: Next.js API routes, MongoDB
  • TesztelĂ©s: Jest, React Testing Library, Playwright (smoke), valĂłdi szervert indĂ­tĂł CMS-tesztek
  • Deploy: natĂ­v Docker Compose (deploy.sh) + Gitea Actions nĂ©lkĂŒl, lokĂĄlisan vezĂ©relt
  • Monitoring: Winston + Loki, plusz scripts/security-scan.sh (ntfy riasztĂĄssal)

Gyors indĂ­tĂĄs

# FejlesztƑi szerver
cd proto && npm run dev

# Docker fejlesztƑi környezet
docker-compose -f docker-compose.dev.yml up -d

# Teljes pre-deploy tesztkészlet
scripts/pre-deploy-tests.sh

Feladatkezelés (Plane)

  • Projekt: MITHOME (workspace: developments)
  • TODO.md: helyi tĂŒkör, a Plane az elsƑdleges forrĂĄs
  • Szinkron: node plane-sync.js (Plane → TODO.md)
  • Ticket-azonosĂ­tĂłk: MITHOME-XX

Deploy

./scripts/deploy_to_stage_on_local.sh   # staging: teljes tesztkészlet + push + deploy + smoke
./deploy.sh production                  # Ă©les (szerveren, staging ellenƑrzĂ©se utĂĄn)

A CMS „PublikĂĄlĂĄs" gombja szintĂ©n commitol + pushol + deployol (csak a beĂĄllĂ­tott környezetre). RĂ©szletek: .agent/workflows/deploy.md, docs/helyi-staging-deploy.md.

Tartalomkezelés

A weboldal szövegei és a CMS a proto/src/content/ JSON-fåjljaiból jönnek:

proto/src/content/
├── schema.js        # közös sĂ©ma-validĂĄtor (Next + CMS)
├── types.ts         # TypeScript típusok
├── index.ts         # tartalom-betöltƑ
├── common.json      # közös szövegek (gombok, lĂĄblĂ©c, a11y)
└── pages/           # oldalankĂ©nti tartalom (home, about, services, 
)

HasznĂĄlat:

import { content, getPageContent } from '@/content'
const about = content.pages.about

DokumentĂĄciĂł

  • Agent-szabĂĄlyok: .agent/AGENTS.md, .agent/steering/, .agent/workflows/
  • CMS felhasznĂĄlĂłi ĂștmutatĂł: docs/felhasznaloi-utmutato.md (a CMS-ben a ❓ SĂșgĂł is ezt rendereli)
  • Plane szinkron: PLANE-SYNC-GUIDE.md
  • Staging deploy: docs/helyi-staging-deploy.md
  • Gitea runner: docs/gitea-runner-telepites.md

Környezetek

BiztonsĂĄgi monitoring

scripts/security-scan.sh (cron, 5 percenkĂ©nt) kriptominer/backdoor indikĂĄtorokat figyel (ĂĄlcĂĄzott folyamatnevek, /tmp/.kworkerd-jellegƱ maradvĂĄnyok, magas CPU), Ă©s talĂĄlat esetĂ©n ntfy push-t kĂŒld a st_limidev_security topicra.

S
Description
No description provided
Readme MIT
2.5 MiB
Languages
TypeScript 60.3%
JavaScript 24.8%
HTML 7%
Shell 4.4%
CSS 3%
Other 0.4%