diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit 8f8958e7dbc59671514db729bf60d62110c33aa1
parent 0866977844bb5d031c6df93319cb710ded602011
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sat, 22 Jun 2024 17:28:14 +0200

release version 0.11

Diffstat:
MCHANGELOG.md | 63++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
Msrc/diary.h | 2+-
2 files changed, 63 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -1,4 +1,65 @@ -## [0.11 Unreleased] +## [0.12 Unreleased] + +## [0.11] - 2024-06-22 +### Changed +Calendar sync extended with support for providers that work with basicauth. +Tested providers GMX and Yahoo. Google calendar still supported. Provider +specifc changes: +* replace `google_calendar` config key with `caldav_calendar` +* extract caldav host without path as basis for further api paths +* fix start/end filter in event report request +* Google auth scope `calendar.events.owned` replaced by `calendar.events` + (https://developers.google.com/calendar/api/auth) + +Documentation updates: +* doc(man): update scdoc `SOURCE_DATE_EPOCH` +* doc(lttng): create channel before starting session. The live sessions needs a + channel first before start. Otherwise, Error: No channel found in the session +* doc(google): update api scopes +* doc(readme): update issue board +* doc(nix): document nix build/install +* doc(nix): prefetch latest commit hash + +Other various changes and fixes: +* feat: improve error handling +* fix(folding): missing CR +* fix(caldav): bearer token buffer overflow +* doc(#96): advise dedicated calendar for caldav sync + (https://board.in0rdr.ch/public/task/96/adedb4a1f31d1e5116b600c1c9dc225db8675d125f071758913a9570c383) + +### Added +CalDAV sync support for basicauth providers (tested with Yahoo, GMX). Changes +to support the providers. + +GMX: +* follow redirects during principal discovery +* add missing ics fields for upload +* add missing etag prop for calendar retrieval +* relax xml token search and parsing +* bug(#97) description: unfolding - escaped CR + (https://board.in0rdr.ch/public/task/97/adedb4a1f31d1e5116b600c1c9dc225db8675d125f071758913a9570c383) + Bug in the download part. All ics fields in the xml response have the carriage + return html escape sequence '&#13;' Unfortunately this escape sequence is not + handled correctly on our side yet and saved to the text file on disk. All + other caldav server implementations only send '\n' at the end of each ics line. + +Yahoo: +* fix several printf buffer overflows +* fix xml parsing functions to not assume xml namespace, can be different + depending on the provider +* fix wrong caldav report depth header fields +* fix wrong caldav request time-range xml filter that synced down the event + from the next day to the currently selected day +* fix missing CR while unfolding +* send proper content-type +* new lttng `debug_long` tracepoint +* improve homeset and calendar requests +* replace LAST-MODIFIED with DTSTAMP, because LAST-MODIFIED is not available on + all providers + +Scripts and documentation for Nix: +* Nix shell for development setups including build and documentation utilities +* Nix stdenv build scripts for stable/unstable build files ## [0.10] - 2024-04-15 * fix: use addstr without fmt diff --git a/src/diary.h b/src/diary.h @@ -29,7 +29,7 @@ #define XDG_CONFIG_HOME_FALLBACK "~/.config" #define CONFIG_FILE_PATH "diary/diary.cfg" -#define DIARY_VERSION "0.11-unstable" +#define DIARY_VERSION "0.11" static const char* WEEKDAYS[] = {"Su","Mo","Tu","We","Th","Fr","Sa"};