Compare commits
6 Commits
v1.1.3
...
1f59e2ef8e
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f59e2ef8e | |||
| de6f5a6784 | |||
| 3d28aba0db | |||
| 92de2bd7de | |||
| bca7e391ad | |||
| 3902755f61 |
120
.gitea/workflows/ci.yaml
Normal file
120
.gitea/workflows/ci.yaml
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
tags-ignore:
|
||||||
|
- '**'
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ci:
|
||||||
|
runs-on: docker
|
||||||
|
env:
|
||||||
|
ANDROID_HOME: /opt/android-sdk
|
||||||
|
ANDROID_SDK_ROOT: /opt/android-sdk
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: '17'
|
||||||
|
|
||||||
|
- name: Setup Android SDK
|
||||||
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
|
- name: Install Android SDK packages
|
||||||
|
run: |
|
||||||
|
sdkmanager --licenses >/dev/null <<'EOF'
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
EOF
|
||||||
|
sdkmanager "platform-tools" "platforms;android-36" "build-tools;36.0.0"
|
||||||
|
|
||||||
|
- name: Install jq
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
SUDO=""
|
||||||
|
if command -v sudo >/dev/null 2>&1; then
|
||||||
|
SUDO="sudo"
|
||||||
|
fi
|
||||||
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
|
$SUDO apt-get update
|
||||||
|
$SUDO apt-get install -y jq
|
||||||
|
elif command -v apk >/dev/null 2>&1; then
|
||||||
|
$SUDO apk add --no-cache jq
|
||||||
|
elif command -v dnf >/dev/null 2>&1; then
|
||||||
|
$SUDO dnf install -y jq
|
||||||
|
elif command -v yum >/dev/null 2>&1; then
|
||||||
|
$SUDO yum install -y jq
|
||||||
|
else
|
||||||
|
echo "Could not find a supported package manager to install jq"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Setup Flutter
|
||||||
|
uses: subosito/flutter-action@v2
|
||||||
|
with:
|
||||||
|
channel: 'stable'
|
||||||
|
|
||||||
|
- name: Trust Flutter SDK git directory
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
FLUTTER_BIN_DIR="$(dirname "$(command -v flutter)")"
|
||||||
|
FLUTTER_SDK_DIR="$(cd "$FLUTTER_BIN_DIR/.." && pwd -P)"
|
||||||
|
git config --global --add safe.directory "$FLUTTER_SDK_DIR"
|
||||||
|
if [ -n "${FLUTTER_ROOT:-}" ]; then
|
||||||
|
git config --global --add safe.directory "$FLUTTER_ROOT"
|
||||||
|
fi
|
||||||
|
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.41.4-x64 || true
|
||||||
|
|
||||||
|
- name: Verify Android + Flutter toolchain
|
||||||
|
run: flutter doctor -v
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: flutter pub get
|
||||||
|
|
||||||
|
- name: Static analysis
|
||||||
|
run: flutter analyze --no-pub
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: flutter test
|
||||||
|
|
||||||
|
- name: Check outdated dependencies
|
||||||
|
run: dart pub outdated
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Trivy filesystem scan
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
SUDO=""
|
||||||
|
if command -v sudo >/dev/null 2>&1; then
|
||||||
|
SUDO="sudo"
|
||||||
|
fi
|
||||||
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
|
$SUDO apt-get update
|
||||||
|
$SUDO apt-get install -y wget apt-transport-https gnupg lsb-release
|
||||||
|
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | $SUDO tee /usr/share/keyrings/trivy.gpg > /dev/null
|
||||||
|
echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb generic main" | $SUDO tee /etc/apt/sources.list.d/trivy.list
|
||||||
|
$SUDO apt-get update
|
||||||
|
$SUDO apt-get install -y trivy
|
||||||
|
elif command -v apk >/dev/null 2>&1; then
|
||||||
|
$SUDO apk add --no-cache trivy || (wget -qO trivy.tar.gz https://github.com/aquasecurity/trivy/releases/latest/download/trivy_0.62.1_Linux-64bit.tar.gz && tar xzf trivy.tar.gz trivy && $SUDO mv trivy /usr/local/bin/)
|
||||||
|
fi
|
||||||
|
trivy filesystem --severity HIGH,CRITICAL --exit-code 0 .
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Build debug APK
|
||||||
|
run: flutter build apk --debug
|
||||||
@@ -7,7 +7,118 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
ci:
|
||||||
|
runs-on: docker
|
||||||
|
env:
|
||||||
|
ANDROID_HOME: /opt/android-sdk
|
||||||
|
ANDROID_SDK_ROOT: /opt/android-sdk
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: '17'
|
||||||
|
|
||||||
|
- name: Setup Android SDK
|
||||||
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
|
- name: Install Android SDK packages
|
||||||
|
run: |
|
||||||
|
sdkmanager --licenses >/dev/null <<'EOF'
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
y
|
||||||
|
EOF
|
||||||
|
sdkmanager "platform-tools" "platforms;android-36" "build-tools;36.0.0"
|
||||||
|
|
||||||
|
- name: Install jq
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
SUDO=""
|
||||||
|
if command -v sudo >/dev/null 2>&1; then
|
||||||
|
SUDO="sudo"
|
||||||
|
fi
|
||||||
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
|
$SUDO apt-get update
|
||||||
|
$SUDO apt-get install -y jq
|
||||||
|
elif command -v apk >/dev/null 2>&1; then
|
||||||
|
$SUDO apk add --no-cache jq
|
||||||
|
elif command -v dnf >/dev/null 2>&1; then
|
||||||
|
$SUDO dnf install -y jq
|
||||||
|
elif command -v yum >/dev/null 2>&1; then
|
||||||
|
$SUDO yum install -y jq
|
||||||
|
else
|
||||||
|
echo "Could not find a supported package manager to install jq"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Setup Flutter
|
||||||
|
uses: subosito/flutter-action@v2
|
||||||
|
with:
|
||||||
|
channel: 'stable'
|
||||||
|
|
||||||
|
- name: Trust Flutter SDK git directory
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
FLUTTER_BIN_DIR="$(dirname "$(command -v flutter)")"
|
||||||
|
FLUTTER_SDK_DIR="$(cd "$FLUTTER_BIN_DIR/.." && pwd -P)"
|
||||||
|
git config --global --add safe.directory "$FLUTTER_SDK_DIR"
|
||||||
|
if [ -n "${FLUTTER_ROOT:-}" ]; then
|
||||||
|
git config --global --add safe.directory "$FLUTTER_ROOT"
|
||||||
|
fi
|
||||||
|
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.41.4-x64 || true
|
||||||
|
|
||||||
|
- name: Verify Android + Flutter toolchain
|
||||||
|
run: flutter doctor -v
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: flutter pub get
|
||||||
|
|
||||||
|
- name: Static analysis
|
||||||
|
run: flutter analyze --no-pub
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: flutter test
|
||||||
|
|
||||||
|
- name: Check outdated dependencies
|
||||||
|
run: dart pub outdated
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Trivy filesystem scan
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
SUDO=""
|
||||||
|
if command -v sudo >/dev/null 2>&1; then
|
||||||
|
SUDO="sudo"
|
||||||
|
fi
|
||||||
|
if command -v apt-get >/dev/null 2>&1; then
|
||||||
|
$SUDO apt-get update
|
||||||
|
$SUDO apt-get install -y wget apt-transport-https gnupg lsb-release
|
||||||
|
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg --dearmor | $SUDO tee /usr/share/keyrings/trivy.gpg > /dev/null
|
||||||
|
echo "deb [signed-by=/usr/share/keyrings/trivy.gpg] https://aquasecurity.github.io/trivy-repo/deb generic main" | $SUDO tee /etc/apt/sources.list.d/trivy.list
|
||||||
|
$SUDO apt-get update
|
||||||
|
$SUDO apt-get install -y trivy
|
||||||
|
elif command -v apk >/dev/null 2>&1; then
|
||||||
|
$SUDO apk add --no-cache trivy || (wget -qO trivy.tar.gz https://github.com/aquasecurity/trivy/releases/latest/download/trivy_0.62.1_Linux-64bit.tar.gz && tar xzf trivy.tar.gz trivy && $SUDO mv trivy /usr/local/bin/)
|
||||||
|
fi
|
||||||
|
trivy filesystem --severity HIGH,CRITICAL --exit-code 0 .
|
||||||
|
continue-on-error: true
|
||||||
|
|
||||||
|
- name: Build debug APK
|
||||||
|
run: flutter build apk --debug
|
||||||
|
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
|
needs: ci
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
env:
|
env:
|
||||||
ANDROID_HOME: /opt/android-sdk
|
ANDROID_HOME: /opt/android-sdk
|
||||||
|
|||||||
13
CHANGELOG.md
13
CHANGELOG.md
@@ -2,6 +2,19 @@
|
|||||||
|
|
||||||
All notable changes to HouseHoldKeeper are documented in this file.
|
All notable changes to HouseHoldKeeper are documented in this file.
|
||||||
|
|
||||||
|
## [1.1.5] - 2026-03-17
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Install jq before Flutter setup in CI and release workflows (required by subosito/flutter-action)
|
||||||
|
- Remove `dart pub audit` step (not available in stable Flutter SDK on runner)
|
||||||
|
|
||||||
|
## [1.1.4] - 2026-03-17
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- CI workflow for branch pushes and pull requests with static analysis, tests, security audit, and debug build
|
||||||
|
- Security gate in release workflow — CI checks must pass before release build proceeds
|
||||||
|
- F-Droid store icon (512x512) for en-US and de-DE metadata
|
||||||
|
|
||||||
## [1.1.3] - 2026-03-17
|
## [1.1.3] - 2026-03-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
65
README.md
65
README.md
@@ -1,2 +1,65 @@
|
|||||||
# HouseHoldKeaper
|
# Household Keeper
|
||||||
|
|
||||||
|
Your household, effortlessly organized.
|
||||||
|
|
||||||
|
Household Keeper helps you organize and manage your household tasks. Create rooms, assign tasks, set recurring reminders, and keep your home running smoothly.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **Room Management** — Create and organize rooms with drag-and-drop reordering
|
||||||
|
- **Task Templates** — Quickly add common household tasks or create your own
|
||||||
|
- **Recurring Scheduling** — Daily, weekly, monthly, or yearly task recurrence
|
||||||
|
- **Calendar View** — Day-by-day task overview with a floating "Today" button
|
||||||
|
- **Task History** — View past completions for each task
|
||||||
|
- **Task Sorting** — Sort by name, due date, or room with persistent preferences
|
||||||
|
- **Notifications** — Local reminders for due tasks
|
||||||
|
- **Light & Dark Theme** — Follows your system preference
|
||||||
|
- **Localization** — German and English
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|
<p float="left">
|
||||||
|
<img src="fdroid-metadata/de.jeanlucmakiola.household_keeper/en-US/phoneScreenshots/1_overview.png" width="200" />
|
||||||
|
<img src="fdroid-metadata/de.jeanlucmakiola.household_keeper/en-US/phoneScreenshots/2_create_room.png" width="200" />
|
||||||
|
<img src="fdroid-metadata/de.jeanlucmakiola.household_keeper/en-US/phoneScreenshots/3_task_templates.png" width="200" />
|
||||||
|
<img src="fdroid-metadata/de.jeanlucmakiola.household_keeper/en-US/phoneScreenshots/4_room_tasks.png" width="200" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
## Tech Stack
|
||||||
|
|
||||||
|
- **Flutter** (SDK ^3.11.0)
|
||||||
|
- **Riverpod** — State management
|
||||||
|
- **Drift** — Local SQLite database
|
||||||
|
- **GoRouter** — Navigation
|
||||||
|
- **flutter_local_notifications** — Scheduled reminders
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Clone the repo
|
||||||
|
git clone https://gitea.jeanlucmakiola.de/makiolaj/HouseHoldKeaper.git
|
||||||
|
cd HouseHoldKeaper
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
flutter pub get
|
||||||
|
|
||||||
|
# Generate code (drift, riverpod, l10n)
|
||||||
|
dart run build_runner build --delete-conflicting-outputs
|
||||||
|
|
||||||
|
# Run the app
|
||||||
|
flutter run
|
||||||
|
```
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Debug APK
|
||||||
|
flutter build apk --debug
|
||||||
|
|
||||||
|
# Release APK (requires signing config)
|
||||||
|
flutter build apk --release
|
||||||
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
[MIT](LICENSE) — Jean-Luc Makiola, 2026
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Reference in New Issue
Block a user