Skip to content
floppy007Public

About

Self-hosted project and task management with Kanban board, PHP backend and JSON file storage

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

TaskFlow

Projekt- & Aufgabenverwaltung
Projektmanagement-App mit PHP-Backend und JSON-Datenspeicherung.

License: MIT with attribution Version CI Docker Pulls

Deutsch | English

Funktionen

  • Benutzer-Login und Registrierung
  • Projekte mit Farbmarkierung anlegen und verwalten
  • To-do-Listen mit Kategorien, Prioritäten und Fälligkeitsdaten
  • Kanban-Board mit Drag & Drop als Standardansicht; Karten öffnen sich per Klick zum Bearbeiten
  • Sortierung per Drag & Drop in der Listenansicht
  • Globale Suche über Projekte und Aufgaben
  • Dunkelmodus, folgt automatisch der Systemeinstellung
  • 6 Farbthemen, pro Benutzer einstellbar
  • Aktivitäts-Log im Dashboard
  • Archiv für erledigte Aufgaben
  • Export/Import als JSON
  • Update direkt aus der App (git pull, nur bei Installation per Git)
  • Animationen und weiche Übergänge
  • Mehrsprachig (DE/EN)
  • Setup-Assistent für die Erstinstallation
  • Benutzerrollen (Admin/User) und Projekt-Berechtigungen
  • Projektmitglieder (Eigentümer/Bearbeiter/Betrachter), direkt über die Projektkacheln erreichbar
  • Toast-Benachrichtigungen statt Browser-Dialogen
  • Benachrichtigungen, z. B. bei Projektzuweisung
  • Soft-Delete mit 30-Tage-Papierkorb und Wiederherstellung
  • Eigene Bestätigungsdialoge statt Browser-Popups
  • Automatische Datenmigration bei Updates
  • Docker-Unterstützung
  • AD/LDAP-Anbindung an Active Directory oder LDAP-Server (Beta)

Screenshots

Dashboard
Dashboard
Kanban Board
Kanban Board
Aufgabenliste
Aufgabenliste
Projektübersicht
Projektübersicht

Zusatzdokumentation

Voraussetzungen

  • PHP 7.4 oder höher
  • Webserver (Apache, Nginx oder PHP Built-in Server)
  • Schreibrechte für das Verzeichnis /data

Installation

Option 1: Docker (empfohlen)

git clone https://github.com/floppy007/taskflow.git
cd taskflow

In der docker-compose.yml das Admin-Passwort ändern:

services:
  taskflow:
    image: floppy001/taskflow:latest
    build: .
    container_name: taskflow
    ports:
      - "8080:80"
    volumes:
      - taskflow-data:/var/www/html/data
    environment:
      - TZ=Europe/Berlin
      # Admin-Account (wird nur beim ersten Start erstellt)
      - TASKFLOW_ADMIN_USER=admin
      - TASKFLOW_ADMIN_PASS=dein-sicheres-passwort
      - TASKFLOW_ADMIN_NAME=Administrator
    restart: unless-stopped

volumes:
  taskflow-data:
docker compose up -d

Danach http://localhost:8080 öffnen und anmelden. Den Admin-Account legt der Container beim ersten Start an.

Option 1b: Unraid

  1. In der Unraid-Oberfläche unter Docker → Template Repositories diese URL hinzufügen:
    https://github.com/floppy007/taskflow
    
  2. Unter Docker → Add Container das Template TaskFlow auswählen.
  3. Admin-Zugangsdaten und Zeitzone anpassen, dann Apply klicken.

Das Admin-Passwort gilt nur für den ersten Start. Danach lässt es sich in der App ändern; ein späterer Neustart setzt es nicht zurück.

Option 2: Installer

  1. install.php herunterladen und auf den Webserver kopieren (z. B. nach /var/www/html/taskflow/).
  2. http://localhost/taskflow/install.php im Browser öffnen.
  3. "Download & Install TaskFlow" klicken. Der Installer lädt alle Dateien von GitHub herunter.
  4. Admin-Zugangsdaten eingeben und "Create Account & Finish" klicken.

Nach erfolgreicher Einrichtung löscht sich der Installer selbst.

Option 3: Manuell

git clone https://github.com/floppy007/taskflow.git /var/www/html/taskflow
chmod 755 /var/www/html/taskflow/data

Dann http://localhost/taskflow öffnen und den Setup-Assistenten durchlaufen.

Dateistruktur

taskflow/
├── install.php        # Setup-Assistent (löscht sich nach Installation)
├── index.php          # Hauptanwendung (HTML/CSS)
├── app.js             # Frontend-Logik (JavaScript)
├── api.php            # Backend-API
├── version.json       # Versionsinformation für Update-System
├── logo.png           # Anwendungslogo
├── Dockerfile         # Docker-Image-Definition
├── docker-compose.yml # Docker Compose Konfiguration
├── docker-entrypoint.sh # Auto-Setup beim ersten Start
├── unraid-template/
│   └── taskflow.xml   # Unraid Docker-Template
├── lang/
│   ├── de.json        # Deutsche Übersetzungen
│   └── en.json        # Englische Übersetzungen
├── data/              # JSON-Datenspeicher (wird vom Installer erstellt)
│   ├── .htaccess      # Zugriffsschutz
│   ├── users.json     # Benutzerdaten
│   ├── projects.json  # Projekte & Aufgaben
│   └── activity.json  # Aktivitätsprotokoll
├── LICENSE            # MIT-Lizenz mit Namensnennung
└── README.md

Sicherheit

Für den Produktivbetrieb:

  1. Nur über HTTPS betreiben, nie über HTTP.

  2. Den Ordner data vor direktem Zugriff schützen. Das Repository bringt dafür data/.htaccess mit; Installer und Docker-Container legen die Datei an, falls sie fehlt. Prüfen, ob sie vorhanden ist und greift. Für Apache 2.4 lautet die Regel:

    Require all denied

    Die mitgelieferte Datei nutzt noch die Apache-2.2-Schreibweise (Order Deny,Allow und Deny from all). Unter Apache 2.4 wirkt sie nur mit dem Modul mod_access_compat; ist es nicht aktiv, den Inhalt durch Require all denied ersetzen.

  3. Nach der Installation prüfen, ob install.php gelöscht ist, und die Datei sonst von Hand löschen.

  4. Die Session-Einstellungen in api.php anpassen:

    session_set_cookie_params([
        'secure' => true,
        'httponly' => true,
        'samesite' => 'Strict'
    ]);

Updates

Standard (Webserver mit Git, Option 3)

Unter Einstellungen > Updates auf "Update prüfen" klicken. Gibt es eine neue Version, lädt "Update installieren" sie direkt von GitHub. Installieren dürfen nur Admins.

Das Update läuft per git pull und setzt voraus, dass TaskFlow per git clone installiert wurde und der Webserver-Benutzer git ausführen darf. Die Dateien, die TaskFlow zur Laufzeit in data/ anlegt (Benutzer, Projekte, Aktivitäten, Benachrichtigungen, LDAP- und SMTP-Einstellungen, Passwort-Links, Anhänge), stehen in der .gitignore und werden deshalb nicht überschrieben. Bei lokalen Änderungen im Arbeitsverzeichnis bricht das Update ab. Eine gelöschte install.php zählt nicht als lokale Änderung und bleibt nach dem Update gelöscht.

Installer-Installation (Option 2)

Der Installer lädt die Dateien ohne Git herunter. Das Update in der App meldet dann, dass kein Git-Repository vorhanden ist. Für den Umstieg auf Git (Shell-Zugang nötig, Pfad anpassen):

cd /var/www/html/taskflow
cp -a data ../taskflow-data-sicherung
git init
git remote add origin https://github.com/floppy007/taskflow.git
git fetch origin main
git checkout -f -B main origin/main
cp -a ../taskflow-data-sicherung/. data/
chown -R www-data:www-data .

Danach funktioniert das Update in der App. www-data durch den Benutzer ersetzen, unter dem der Webserver läuft.

Ohne Shell-Zugang: die neue Version als ZIP von GitHub laden und alle Dateien außer dem Ordner data/ und install.php hochladen. Vorher data/ sichern.

Docker

cd taskflow
docker compose pull
docker compose up -d

So kommt das fertige Image von Docker Hub. Wer das Image selbst baut, nutzt stattdessen git pull, docker compose build und docker compose up -d. Das Update in der App ist im Container nicht möglich. Die Daten bleiben in beiden Fällen im Docker-Volume erhalten.

Lizenz

Details in LICENSE. TaskFlow darf frei genutzt, verändert und weitergegeben werden. Der Copyright-Footer in der App muss erhalten bleiben.


English

Features

  • User login and registration
  • Create and manage projects with color coding
  • To-do lists with categories, priorities and due dates
  • Kanban board with drag & drop as the default view; click a card to edit it
  • Drag & drop reordering in list view
  • Global search across projects and tasks
  • Dark mode that follows the system setting
  • 6 color themes, set per user
  • Activity log on the dashboard
  • Archive for completed tasks
  • Export/import as JSON
  • In-app updates (git pull, git installations only)
  • Animations and smooth transitions
  • German and English interface
  • Setup wizard for the first installation
  • User roles (Admin/User) and project permissions
  • Project members (Owner/Editor/Viewer), managed from the project cards
  • Toast notifications instead of browser dialogs
  • Notifications, e.g. when you are added to a project
  • Soft delete with a 30-day trash and restore
  • Custom confirm dialogs instead of browser popups
  • Automatic data migration on updates
  • Docker support
  • AD/LDAP connection to Active Directory or LDAP servers (beta)

Screenshots

Dashboard
Dashboard
Kanban Board
Kanban Board
Task List
Task List
Project Overview
Project Overview

Requirements

  • PHP 7.4 or higher
  • Web server (Apache, Nginx, or PHP built-in server)
  • Write permissions for the /data directory

Installation

Option 1: Docker (recommended)

git clone https://github.com/floppy007/taskflow.git
cd taskflow

Change the admin password in docker-compose.yml:

services:
  taskflow:
    image: floppy001/taskflow:latest
    build: .
    container_name: taskflow
    ports:
      - "8080:80"
    volumes:
      - taskflow-data:/var/www/html/data
    environment:
      - TZ=Europe/Berlin
      # Admin account (only created on first start)
      - TASKFLOW_ADMIN_USER=admin
      - TASKFLOW_ADMIN_PASS=your-secure-password
      - TASKFLOW_ADMIN_NAME=Administrator
    restart: unless-stopped

volumes:
  taskflow-data:
docker compose up -d

Open http://localhost:8080 and log in. The container creates the admin account on first start.

Option 1b: Unraid

  1. In the Unraid web UI, go to Docker → Template Repositories and add:
    https://github.com/floppy007/taskflow
    
  2. Go to Docker → Add Container and select the TaskFlow template.
  3. Adjust the admin credentials and timezone, then click Apply.

The admin password is only used on first start. You can change it in the app afterwards; a later restart does not reset it.

Option 2: Installer

  1. Download install.php and copy it to your web server directory (e.g. /var/www/html/taskflow/).
  2. Open http://localhost/taskflow/install.php in your browser.
  3. Click "Download & Install TaskFlow". The installer downloads all files from GitHub.
  4. Enter your admin credentials and click "Create Account & Finish".

The installer deletes itself after a successful setup.

Option 3: Manual

git clone https://github.com/floppy007/taskflow.git /var/www/html/taskflow
chmod 755 /var/www/html/taskflow/data

Then open http://localhost/taskflow and complete the setup wizard.

File structure

taskflow/
├── install.php        # Setup wizard (auto-deletes after install)
├── index.php          # Main application (HTML/CSS)
├── app.js             # Frontend logic (JavaScript)
├── api.php            # Backend API
├── version.json       # Version info for update system
├── logo.png           # Application logo
├── Dockerfile         # Docker image definition
├── docker-compose.yml # Docker Compose configuration
├── docker-entrypoint.sh # Auto-setup on first start
├── unraid-template/
│   └── taskflow.xml   # Unraid Docker template
├── lang/
│   ├── de.json        # German translations
│   └── en.json        # English translations
├── data/              # JSON data storage (created by installer)
│   ├── .htaccess      # Access protection
│   ├── users.json     # User data
│   ├── projects.json  # Projects & to-dos
│   └── activity.json  # Activity log
├── LICENSE            # MIT License with Attribution Clause
└── README.md

Security

For production use:

  1. Run it over HTTPS only, never plain HTTP.

  2. Protect the data folder from direct access. The repository ships data/.htaccess for this; the installer and the Docker container create it if it is missing. Check that it exists and takes effect. For Apache 2.4 the rule is:

    Require all denied

    The bundled file still uses the Apache 2.2 syntax (Order Deny,Allow and Deny from all). On Apache 2.4 it only works with mod_access_compat; if that module is not enabled, replace the content with Require all denied.

  3. After installation, check that install.php is gone. If it is still there, delete it manually.

  4. Adjust the session settings in api.php:

    session_set_cookie_params([
        'secure' => true,
        'httponly' => true,
        'samesite' => 'Strict'
    ]);

Updates

Standard (web server with git, option 3)

Go to Settings > Updates and click "Check for update". If a new version is available, "Install update" pulls it from GitHub. Only admins can install updates.

The update runs git pull. It requires that TaskFlow was installed with git clone and that the web server user can run git. All files TaskFlow creates in data/ at runtime (users, projects, activity, notifications, LDAP and SMTP settings, password reset links, attachments) are listed in .gitignore and are therefore not overwritten. The update stops if the working directory has local changes. A deleted install.php does not count as a local change and stays deleted after the update.

Installer installation (option 2)

The installer downloads the files without git. The in-app update then reports that there is no git repository. To switch to git (shell access required, adjust the path):

cd /var/www/html/taskflow
cp -a data ../taskflow-data-backup
git init
git remote add origin https://github.com/floppy007/taskflow.git
git fetch origin main
git checkout -f -B main origin/main
cp -a ../taskflow-data-backup/. data/
chown -R www-data:www-data .

After that the in-app update works. Replace www-data with the user your web server runs as.

Without shell access: download the new version as a ZIP from GitHub and upload all files except the data/ folder and install.php. Back up data/ first.

Docker

cd taskflow
docker compose pull
docker compose up -d

This pulls the prebuilt image from Docker Hub. If you build the image yourself, run git pull, docker compose build and docker compose up -d instead. The in-app update does not work inside the container. In both cases your data stays in the Docker volume.

License

See LICENSE for details. You may use, modify and distribute TaskFlow freely, as long as the copyright footer in the app stays intact.

About

Self-hosted project and task management with Kanban board, PHP backend and JSON file storage

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages