diff --git a/apps/tasks/app/privacy/page.tsx b/apps/tasks/app/privacy/page.tsx new file mode 100644 index 0000000..a498d18 --- /dev/null +++ b/apps/tasks/app/privacy/page.tsx @@ -0,0 +1,54 @@ +export default function PrivacyPage() { + return ( +
+

Privacy Policy

+

Last updated: March 29, 2026

+ +

1. Information We Collect

+

Task Team collects the following information when you create an account:

+ +

We also collect task data, goals, and settings you create within the app.

+ +

2. How We Use Your Data

+

Your data is used exclusively to provide the Task Team service:

+ + +

3. Data Storage

+

Your data is stored on secure servers in the European Union (Hetzner, Germany). We use PostgreSQL databases with encrypted connections and regular backups.

+ +

4. Third-Party Services

+ + +

5. Data Sharing

+

We do not sell, trade, or share your personal data with third parties. Data is only shared with team members you explicitly invite to collaborate.

+ +

6. Your Rights (GDPR)

+

You have the right to:

+ + +

7. Contact

+

IT Enterprise Solution s.r.o.
Email: apps@it-enterprise.cz
Web: https://it-enterprise.cz

+ +

© 2026 IT Enterprise Solution s.r.o. All rights reserved.

+
+ ); +} diff --git a/backup.sh b/backup.sh index 4037166..cf193a4 100755 --- a/backup.sh +++ b/backup.sh @@ -1,4 +1,5 @@ #!/bin/bash +cd /opt/task-team || exit 1 BACKUP_DIR="/opt/task-team/backups" DATE=$(date +%Y%m%d_%H%M) PGDUMP="/usr/lib/postgresql/18/bin/pg_dump" @@ -10,13 +11,13 @@ PGPASSWORD="TaskTeam2026!" $PGDUMP -h 10.10.10.10 -U taskteam -d taskteam -F c - if [ $? -eq 0 ]; then # Compress gzip -f "$BACKUP_DIR/taskteam_$DATE.dump" 2>/dev/null - echo "$(date '+%Y-%m-%d %H:%M:%S') OK: taskteam_$DATE.dump.gz" + echo "$(date "+%Y-%m-%d %H:%M:%S") OK: taskteam_$DATE.dump.gz" else - echo "$(date '+%Y-%m-%d %H:%M:%S') FAIL: pg_dump exited with error" + echo "$(date "+%Y-%m-%d %H:%M:%S") FAIL: pg_dump exited with error" fi -# Keep last 7 daily backups -find $BACKUP_DIR -name "*.dump.gz" -mtime +7 -delete -find $BACKUP_DIR -name "*.dump" -mtime +7 -delete +# Keep last 14 daily backups +find $BACKUP_DIR -name "*.dump.gz" -mtime +14 -delete +find $BACKUP_DIR -name "*.dump" -mtime +14 -delete ls -lh $BACKUP_DIR/ | tail -5 diff --git a/backups/releases/android/task-team-v1.0.0.apk b/backups/releases/android/task-team-v1.0.0.apk new file mode 100644 index 0000000..461b158 Binary files /dev/null and b/backups/releases/android/task-team-v1.0.0.apk differ diff --git a/backups/taskteam_20260329_2147.dump.gz b/backups/taskteam_20260329_2147.dump.gz new file mode 100644 index 0000000..0b2ce5a Binary files /dev/null and b/backups/taskteam_20260329_2147.dump.gz differ diff --git a/scripts/upload-release.sh b/scripts/upload-release.sh index bbb5ad9..3a4424e 100755 --- a/scripts/upload-release.sh +++ b/scripts/upload-release.sh @@ -5,7 +5,7 @@ set -euo pipefail VERSION=${1:-$(date +%Y%m%d_%H%M)} PLATFORM=${2:-android} -FILE=$3 +FILE=${3:-} if [ -z "${FILE:-}" ]; then echo "Usage: upload-release.sh "