Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ follow [Semantic Versioning](https://semver.org/). Release process:

## [Unreleased]

## [0.1.0-alpha.4] – 2026-10-23

Fourth pre-release, for testing only – not for production use (open points:
[docs/produktionsreife.md](docs/produktionsreife.md)). New: sharing of
calendars and address books between users (on by default, acceptance
required; Apple Calendar "Share" supported) and public read-only links
(off by default). Upgrading applies the database migration `0013_sharing`
(a pre-migration backup is taken by default). New configuration sections
`[sharing]` (`enabled = true`) and `[publish]` (`enabled = false`, needs
`base_url`).

### Added

- Sharing of calendars and address books with other users of the server
Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = ["crates/*"]
default-members = ["crates/calcraft-server"]

[workspace.package]
version = "0.1.0-alpha.3"
version = "0.1.0-alpha.4"
edition = "2024"
rust-version = "1.94"
license = "AGPL-3.0-or-later"
Expand All @@ -13,11 +13,11 @@ homepage = "https://github.com/Zeitgleich/CalCraft"
authors = ["CalCraft contributors"]

[workspace.dependencies]
calcraft-core = { path = "crates/calcraft-core", version = "0.1.0-alpha.3" }
calcraft-ical = { path = "crates/calcraft-ical", version = "0.1.0-alpha.3" }
calcraft-dav = { path = "crates/calcraft-dav", version = "0.1.0-alpha.3" }
calcraft-store = { path = "crates/calcraft-store", version = "0.1.0-alpha.3" }
calcraft-web = { path = "crates/calcraft-web", version = "0.1.0-alpha.3" }
calcraft-core = { path = "crates/calcraft-core", version = "0.1.0-alpha.4" }
calcraft-ical = { path = "crates/calcraft-ical", version = "0.1.0-alpha.4" }
calcraft-dav = { path = "crates/calcraft-dav", version = "0.1.0-alpha.4" }
calcraft-store = { path = "crates/calcraft-store", version = "0.1.0-alpha.4" }
calcraft-web = { path = "crates/calcraft-web", version = "0.1.0-alpha.4" }

anyhow = "1.0.104"
argon2 = { version = "0.6.0", features = ["zeroize"] }
Expand Down
6 changes: 3 additions & 3 deletions PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Alternative zu Radicale und Baïkal. Lizenz: **AGPL-3.0-or-later**.
**Freigabe:** Anforderungen, Ist-Stand und Fahrplan bis zur stabilen Version stehen in
[docs/produktionsreife.md](docs/produktionsreife.md) und haben Vorrang vor neuen Funktionen.

**Stand 23.10.2026:** Vorabversion **0.1.0-alpha.3** (CalDAV-Scheduling zwischen lokalen Nutzern
**Stand 23.10.2026:** Vorabversion **0.1.0-alpha.4** (M5b Freigaben an Benutzer und öffentliche
Nur-Lese-Links, `docs/sharing.md`; CalDAV-Scheduling zwischen lokalen Nutzern
(RFC 6638, Stufe A), Managed Attachments (RFC 8607), M0–M4b, M5a, M6 mit Webcal-Abos und
`calcraft migrate`, Phase 2 und aus Phase 3 Papierkorb, `MOVE`/`COPY`, CardDAV-Fotos/-Gruppen,
RRULE-Expansion mit Zeitzonen, Kalender-Reihenfolge und Dead Properties; dazu systemd-Dienst,
`/readyz` mit Schreibzustand und SSO-Status in der Web-UI). Seit 0.1.0-alpha.3 im Hauptzweig: M5b
(Freigaben an Benutzer, öffentliche Nur-Lese-Links, `docs/sharing.md`).
`/readyz` mit Schreibzustand und SSO-Status in der Web-UI).
Nicht für den Produktivbetrieb.

## 1. Ziele
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Self-hosted CalDAV/CardDAV server written in Rust, with an optional web interface.

> **Status:** pre-release, 0.1.0-alpha.3. Not ready for production use;
> **Status:** pre-release, 0.1.0-alpha.4. Not ready for production use;
> what is still missing is tracked in [docs/produktionsreife.md](docs/produktionsreife.md) (German).

## Goals
Expand Down Expand Up @@ -585,20 +585,20 @@ e.g. `CALCRAFT_SERVER__BIND=0.0.0.0:5232`.

## Tests

Numbers as of 2026-10-23 (version 0.1.0-alpha.3); they are not updated
Numbers as of 2026-10-23 (version 0.1.0-alpha.4); they are not updated
automatically.

`cargo test --workspace --all-features` runs **655 tests** (1 of them
ignored by default, see below): 427 unit tests in the crates' `src/` and
228 integration tests in `tests/` directories. There are no doc tests.
`cargo test --workspace --all-features` runs **701 tests** (1 of them
ignored by default, see below): 456 unit tests in the crates' `src/` and
245 integration tests in `tests/` directories. There are no doc tests.

| Crate | Unit | Integration |
|---|---:|---:|
| calcraft-core | 6 | – |
| calcraft-dav | 34 | – |
| calcraft-dav | 38 | – |
| calcraft-ical | 106 | 12 |
| calcraft-server | 155 | 216 |
| calcraft-store | 103 | – |
| calcraft-server | 165 | 233 |
| calcraft-store | 118 | – |
| calcraft-ui (host tests) | 21 | – |
| calcraft-web | 2 | – |

Expand All @@ -611,7 +611,7 @@ Integration suites of `calcraft-server` (`crates/calcraft-server/tests/`):
from `api::ROUTES`. It checks exact status codes, byte-identical answers
for foreign and nonexistent resources, that marker strings from the other
user's data never leak, and that the other user's data is unchanged after
every write. One run sends about 69 400 requests and makes over 267 000
every write. One run sends about 84 600 requests and makes over 326 000
counted assertions. A DAV method or REST route without a matrix entry
makes it fail.
- **Protocols:** `dav.rs`, `caldav.rs`, `carddav_sync.rs`,
Expand Down
64 changes: 64 additions & 0 deletions docs/compat/apple-calendar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Testprotokoll: Apple Kalender, Erinnerungen und Kontakte

Manueller Test mit echten Apple-Geräten (Punkt „Reale Clients“ in
[produktionsreife.md](../produktionsreife.md)). Pro Fall Ergebnis eintragen:
✅ funktioniert · ⚠️ funktioniert mit Einschränkung (Notiz) · ❌ Fehler (Notiz,
möglichst mit Uhrzeit für die Server-Logs) · – nicht getestet.

| Feld | Wert |
|---|---|
| CalCraft-Version | |
| Geräte und Systemversionen | z. B. macOS 26.1 (Kalender 15), iOS 26.1 |
| Einrichtung | Konto „CalDAV“, manuell / automatisch (`.well-known`), App-Passwort ja/nein |
| Server-Konfiguration | `[scheduling]`, `[attachments]`, `[subscriptions]`, `[sharing]`, `[publish]` an/aus |
| Getestet von, am | |

## Grundfunktionen

| # | Fall | macOS | iOS | Notiz |
|---|---|---|---|---|
| 1 | Konto einrichten (Discovery über `.well-known`, Principal, Home-Sets) | | | |
| 2 | Kalender anlegen, umbenennen, Farbe ändern, löschen | | | |
| 3 | Reihenfolge der Kalender ändern, bleibt nach Neustart erhalten | | | |
| 4 | Termin anlegen, ändern, verschieben, löschen | | | |
| 5 | Ganztägiger und mehrtägiger Termin | | | |
| 6 | Termin mit Erinnerung (Hinweis), Erinnerung erscheint | | | |
| 7 | Änderung auf Gerät A erscheint auf Gerät B (Sync) | | | |
| 8 | Gelöschter Termin im Papierkorb der Web-UI, Wiederherstellen erscheint wieder | | | |
| 9 | Erinnerungen-App: Aufgabe anlegen, erledigen, löschen (VTODO) | | | |
| 10 | Kontakte: Kontakt mit Foto anlegen, ändern, Gruppe anlegen | | | |

## Serien und Zeitzonen

| # | Fall | macOS | iOS | Notiz |
|---|---|---|---|---|
| 11 | Wöchentliche Serie, einzelne Instanz verschieben | | | |
| 12 | Einzelne Instanz löschen (EXDATE), „dieses und alle zukünftigen“ ändern | | | |
| 13 | Termin in anderer Zeitzone, Anzeige nach Sommerzeitwechsel | | | |
| 14 | Monatliche Serie „letzter Freitag“ | | | |

## Konflikte und Offlinebetrieb

| # | Fall | macOS | iOS | Notiz |
|---|---|---|---|---|
| 15 | Offline ändern, danach online: Änderung kommt an | | | |
| 16 | Gleichzeitig auf zwei Geräten ändern: Konflikt sichtbar, keine Daten verloren | | | |

## Neue Funktionen (nur wenn eingeschaltet)

| # | Fall | macOS | iOS | Notiz |
|---|---|---|---|---|
| 17 | Abo (webcal) über die Web-UI anlegen, erscheint schreibgeschützt | | | |
| 18 | Einladung an zweiten Nutzer, Annahme auf dessen Gerät, Status beim Organisator | | | |
| 19 | Absage durch den Organisator kommt beim Teilnehmer an | | | |
| 20 | Verfügbarkeit (Frei/Belegt) des anderen Nutzers beim Planen | | | |
| 21 | Anhang an Termin hinzufügen, beim Teilnehmer herunterladen | | | |
| 22 | Kalender teilen („Teilen“), Einladung annehmen, lesend/schreibend | | | |
| 23 | Freigabe entfernen: Kalender verschwindet beim Empfänger | | | |
| 24 | Öffentlichen Link (`webcal://`) abonnieren | | | |

## Gefundene Probleme

| Datum | Fall | Beschreibung | Issue/PR |
|---|---|---|---|
| | | | |
6 changes: 3 additions & 3 deletions docs/produktionsreife.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Produktionsreife – Anforderungen, Ist-Stand und Fahrplan

Stand: 23.10.2026, Vorabversion 0.1.0-alpha.3: `main` mit M5a (OIDC), M6 (Import/Export, Webcal-Abos mit SSRF-Schutz, `calcraft migrate`), Phase-2-Limits und -Robustheit, Release-Pipeline, Update-Hinweis, CodeQL/Coverage, neuer Web-UI und den Phase-3-Punkten Papierkorb, `MOVE`/`COPY`, CardDAV-Fotos/-Gruppen sowie RRULE-Expansion mit Zeitzonen, Kalender-Reihenfolge/Dead Properties, systemd-Dienst (`Type=notify`), `/readyz` mit Schreibzustand sowie CalDAV-Scheduling zwischen lokalen Nutzern (RFC 6638, Stufe A) und Managed Attachments (RFC 8607), beide standardmäßig aus.
Stand: 23.10.2026, Vorabversion 0.1.0-alpha.4: `main` mit M5a (OIDC), M6 (Import/Export, Webcal-Abos mit SSRF-Schutz, `calcraft migrate`), Phase-2-Limits und -Robustheit, Release-Pipeline, Update-Hinweis, CodeQL/Coverage, neuer Web-UI und den Phase-3-Punkten Papierkorb, `MOVE`/`COPY`, CardDAV-Fotos/-Gruppen sowie RRULE-Expansion mit Zeitzonen, Kalender-Reihenfolge/Dead Properties, systemd-Dienst (`Type=notify`), `/readyz` mit Schreibzustand sowie CalDAV-Scheduling zwischen lokalen Nutzern (RFC 6638, Stufe A) und Managed Attachments (RFC 8607), beide standardmäßig aus, und M5b-Freigaben (an Benutzer, öffentliche Nur-Lese-Links).
Dieses Dokument ist die Grundlage für die Freigabe einer stabilen Version.
Ein Punkt gilt erst als **erledigt**, wenn es einen automatisierten Test
(oder einen dokumentierten, wiederholbaren manuellen Nachweis) dafür gibt.
Expand Down Expand Up @@ -89,8 +89,8 @@ laufen parallel, weil sie für den Pilotbetrieb gebraucht werden.
- [ ] `CALDAV:expand`/`limit-recurrence-set`, Floating-Zeiten über `calendar-timezone`, Zeitzonen-Datenbank für `TZID`s ohne VTIMEZONE
- [x] Papierkorb (Soft-Delete mit Wiederherstellung, `tests/trash.rs`)
- [x] CardDAV: Fotos (Limit konfigurierbar), Apple- und vCard-4.0-Gruppen, Tests (`tests/carddav_photos.rs`)
- [ ] Freigaben/ACL (M5b)
- [ ] 👤 Reale Clients: Apple Kalender/Kontakte (macOS, iOS), Thunderbird, DAVx⁵, GNOME – Testprotokoll in `docs/compat/`
- [x] Freigaben an Benutzer und öffentliche Links (M5b, `docs/sharing.md`); Gruppen offen
- [ ] 👤 Reale Clients: Apple Kalender/Kontakte (macOS, iOS), Thunderbird, DAVx⁵, GNOME – Testprotokoll in `docs/compat/` (Apple Kalender: [`docs/compat/apple-calendar.md`](compat/apple-calendar.md), läuft)
- [ ] Serientermine, Offlinebetrieb und Konflikte mit realen Clients
- [ ] Langzeit-/Lasttest: mehrere Benutzer, große Kalender (≥ 50 000 Objekte)

Expand Down
Loading