App update module
This commit is contained in:
46
module.md
46
module.md
@@ -74,6 +74,39 @@ Implementierungs-Schritte als Feature-Module - WIE es gebaut wird
|
||||
- TaskCreate page: create task
|
||||
- TaskEdit page: update task
|
||||
|
||||
# App update module
|
||||
## Backend
|
||||
- public/app/version.json - version info (versionCode, apkFile)
|
||||
- public/app/haushalt.apk - current APK (manually deployed)
|
||||
## App
|
||||
- AppUpdateApi.kt - version check endpoint
|
||||
- AppUpdater.kt - check version, download APK, trigger install
|
||||
- StartScreen.kt - "Update prüfen" button with state feedback
|
||||
- AndroidManifest.xml - REQUEST_INSTALL_PACKAGES, FileProvider
|
||||
- file_paths.xml - cache path for downloaded APK
|
||||
## Features
|
||||
- Manual update check from start screen
|
||||
- Download and install new APK from server
|
||||
- No Play Store required
|
||||
|
||||
# TaskSchema module
|
||||
## Backend
|
||||
- TaskSchema - TaskSchema entity
|
||||
- id, name, status, date, type, repeat, start, end
|
||||
- TaskType - Enum for schema type
|
||||
- single (create one task on date or null, delete schema after date or now if null)
|
||||
- repeat (create tasks depending on repeat in start-end range, delete after enddate)
|
||||
- TaskRepeat - Enum for schema repeat
|
||||
- daily, weekly (array with weekdays), monthly (array with monthdays)
|
||||
- TaskSchemaController - TaskSchema routes
|
||||
- index, show, create, update, delete
|
||||
- TaskSchemaManager - TaskSchema CRUD
|
||||
- create, update, delete
|
||||
- TaskSchemaRepository - TaskSchema queries
|
||||
- TaskGenerator - Create tasks from schema
|
||||
- generate
|
||||
|
||||
|
||||
# Category module
|
||||
## Backend
|
||||
- Category - Category entity
|
||||
@@ -86,17 +119,4 @@ Implementierungs-Schritte als Feature-Module - WIE es gebaut wird
|
||||
- TaskSchemaManager - TaskSchema CRUD
|
||||
- TaskSchemaRepository - TaskSchema queries
|
||||
|
||||
# TaskSchema module
|
||||
- TaskSchema - TaskSchema entity
|
||||
- id, name, status, category, start, end, date
|
||||
- type(single, repeat, custom),
|
||||
- repeat(daily, weekly, monthly, yearly)
|
||||
- custom(days)
|
||||
- TaskSchemaController - TaskSchema routes
|
||||
- index, show, create, update, delete
|
||||
- TaskSchemaManager - TaskSchema CRUD
|
||||
- create, update, delete
|
||||
- TaskSchemaRepository - TaskSchema queries
|
||||
- TaskGenerator - Create tasks from schema
|
||||
- generate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user