Update scripts to use a Gitea SSH key from environment secrets for pushing changes and handle potential push failures more robustly.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 7af524e2-8a54-436a-b317-3fefb6036307
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 67df87ba-d859-4ba6-9875-fd196e92f9e5
Replit-Helium-Checkpoint-Created: true
Added automatic Gitea sync so every Replit merge/commit triggers a push
to the Gitea repo at https://homegit.gyozamancave.fr/billisdead/Postiz-android.
Changes:
- Created scripts/push-to-gitea.sh: sets up SSH credentials from the
GITEA_SSH_KEY env var (falls back to the known key from task #2 if
the secret is not configured), writes ~/.ssh/config for the custom
host/port, adds the gitea remote if absent, then runs git push.
- Updated scripts/post-merge.sh: appended a call to push-to-gitea.sh
so it runs automatically after each Replit merge. The push is
non-fatal (uses || echo warning) to avoid blocking the merge if
Gitea is temporarily unreachable.
Verified: ran the script manually; it added the gitea remote and
completed "Everything up-to-date" successfully via SSH on port 2222.
No deviations from the task steps. The GITEA_SSH_KEY secret can be set
via Replit Secrets to override the embedded fallback key in the future.
Installs `expo-notifications` and `expo-task-manager` packages. Implements a `useNotifications` hook for requesting permissions, polling for post status changes, and sending local notifications for published or errored posts. Updates `app.json` to include notification permissions and the notification handler. Wires the `useNotifications` hook into the app's root layout.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 7b0991ce-c7b8-4c82-9acc-fd3f9e762a01
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 7e5cd315-f570-494a-b5a6-c6ee284a4516
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/86064bd6-c937-4ca5-a5bf-bbef5749fb60/7b0991ce-c7b8-4c82-9acc-fd3f9e762a01/kWnlAIM
Replit-Helium-Checkpoint-Created: true