Wizard Diary, v7.10
Posted on

Todo-лист.
Added loop-importer tool to import data from Loop Habit Tracker.
Change Log
The format is based on Keep a Changelog.
Added
- Added
loop-importertool to import data from Loop Habit Tracker:- Implemented
load_habits_from_db()for loading habits from a Loop Habit Tracker database:- Supports only "Yes or No" habit format.
- Supports loading of skipped repetitions.
- Implemented
group_habit_repetitions_by_date()to group habit repetitions by date:- If some habits are missing on a given date, they are added with a flag indicating no repetition occurred.
- If there are no repetitions at all on a given date, all known habits are included with a flag indicating no repetition occurred.
- Implemented
remove_habit_repetitions_before_they_start()to clean up repetitions before habit actually starts:- Scans all dates in ascending order and removes all unsuccessful repetitions that occur before the first successful one.
- Thus, a habit is considered started only from the first successful repetition.
- Implemented
remove_archived_habit_repetitions()to trim trailing repetitions of archived habits:- Scans dates in descending order and removes all unsuccessful repetitions until it finds a successful one.
- Thus, for archived habits, their repetitions always end with the last successful one.
- Implemented
format_habit_repetitions_by_date_to_markdown()to convert repetitions into Markdown-based import format supported by this web service:- Automatically inserts section dividers if habit prefixes (portion before the first comma) differ.
- Also respects custom divider placement defined by the user.
- Implemented
Fixed
- Updated dependencies in
git-importertool.
Repository
Link: https://github.com/thewizardplusplus/wizard-diary/tree/v7.10.
Content: code.
License: MIT.