Create New Document

The title of your document (will be displayed as H1)
URL-friendly name (no spaces, use dashes)
Path where to create document (optional, use forward slashes to create subdirectories)

Move/Rename Document

Current location of the document
New path for the document (including the slug)
This only changes the document's path. It does not modify the document's title (H1 heading).

Delete Document

Are you sure you want to delete this document? This action cannot be undone.

Warning: If this is a folder, all contents including subfolders and documents will be deleted.

Message

Message content goes here.

Confirm Action

Are you sure?

Attachments

Allowed file types: jpg, jpeg, png, gif, svg, webp, txt, log, csv, sfd, zip, pdf, docx, xlsx, pptx, mp4 (Max: 10MB)

Document Files

Loading attached files...

Document History

Previous Versions

Loading versions...

Preview

Select a version to preview

Wiki Settings

Language for the user interface
Controls which log messages are written to the console (debug, info, warn, error)
Number of versions to keep per document. Set to 0 to disable versioning.
Maximum allowed file size for uploads in MB.

User Management

Add New User

Leave empty to keep current password
Users with these groups can access restricted sections.

Define path-based access rules for sections of your wiki, then assign users to groups in the Users tab. Rules are evaluated in order. First match wins.

Active Rules

Import markdown files from a ZIP archive. Files will be processed and stored in the appropriate document structure. Directory structure in the ZIP (category/subcategory) will be preserved in the wiki.

Upload a ZIP file containing markdown (.md) files to import.

Create and manage backups of your wiki data. Backups include all documents, images, and configuration files.

Available Backups

Loading backups...

Add/Edit Access Rule

Selected: /

Add Column

studiofotograf

Co to je

Web fotografky Lucie Zeibich na studiofotograf.cz: galerie, ceník, kontaktní formulář a vlastní administrace na /admin/.

Jak běží

Docker Compose na serveru, dvě služby:

Před aplikací je reverse proxy (vlastní, není v repu): TLS, X-Forwarded-Proto/X-Forwarded-For, servíruje data/static/ a data/media/, limit těla 250 MB jen na /admin/photos/upload.

# nasazení / aktualizace
git pull && docker compose build --pull && docker compose up -d --remove-orphans

# denní úklid (cron na serveru)
0 3 * * * cd /cesta/k/repu && docker compose exec -T worker python manage.py cleanup

# záloha
docker compose stop && tar -cf backup-$(date +%F).tar data/db.sqlite3* data/media && docker compose start

Testy a lint lokálně podle README. CI ani publikace obrazu do GHCR už nejsou.

Rozhodnutí

Historie úklidu (listopad 2026)

PR Co
#166 Jen Docker Compose, rate limit bez cache, scheduler v kódu, fotky vždy přeuložit, jednodušší CI, pravidla jednoduchosti
#167 Kolem Djanga jen Dockerfile, compose, .env.example a README; worker jen fotky a e-maily; příkaz cleanup
#168 Pryč obranný kód (ID helpery, middleware, kontrola uploadu), služba init a testy mimo chování
#169 --no-control-socket pro gunicorn 26 (uživatel bez domovského adresáře)
#170 Kratší text o uchování logů na /osobni-udaje

Výsledek: čistě zhruba −7 800 řádků, všechny issues zavřené.

Přepis historie gitu (24. 11. 2026): čtyři stará tajemství z roku 2024 (2× SECRET_KEY, výchozí heslo uživatele lz, SMTP heslo) jsou ve všech commitech nahrazená ***REMOVED***, force push main a tagů, ostatní větve smazané. Hashe commitů před tímto datem neplatí; starý klon srovnat git fetch --tags --force origin && git reset --hard origin/main. Rotaci ani GitHub Support (staré refs/pull/*) jsme neřešili, heslo se nepoužívá.

Otevřené věci

Attached Files

Loading attached files...

Comments

No comments yet. Be the first to comment!