mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
deploy: remove .env from generic file perm check, remove router.php check (dev-only file)
This commit is contained in:
5
TODO.md
5
TODO.md
@@ -6,7 +6,8 @@
|
|||||||
- [x] Keep button linking to dedicated tags.php page as backup
|
- [x] Keep button linking to dedicated tags.php page as backup
|
||||||
- [x] Add "Annuler" cancel button to both langues and mots-clés bulk action bars
|
- [x] Add "Annuler" cancel button to both langues and mots-clés bulk action bars
|
||||||
- [x] Add max-height:50vh + overflow-y:auto to both table wraps
|
- [x] Add max-height:50vh + overflow-y:auto to both table wraps
|
||||||
- [ ] Deploy: just deploy
|
- [x] Deploy: just deploy
|
||||||
|
- [x] Fix: .env permission check — removed from generic file-perm loop (was expecting 660, but .env is 640)
|
||||||
|
|
||||||
## Tmp file cleanup (stale filepond + _trash)
|
## Tmp file cleanup (stale filepond + _trash)
|
||||||
- [x] Session-based detection: check manifest session_id against PHP session files
|
- [x] Session-based detection: check manifest session_id against PHP session files
|
||||||
@@ -16,7 +17,7 @@
|
|||||||
- [x] admin cleanup-tmp.php: smart cleanup with detailed JSON response
|
- [x] admin cleanup-tmp.php: smart cleanup with detailed JSON response
|
||||||
- [x] admin index: Nettoyer button + dialog with stats and cleanup trigger
|
- [x] admin index: Nettoyer button + dialog with stats and cleanup trigger
|
||||||
- [x] .gitignore: exclude tmp/filepond/* and tmp/_trash/*
|
- [x] .gitignore: exclude tmp/filepond/* and tmp/_trash/*
|
||||||
- [ ] Deploy: just deploy
|
- [x] Deploy: just deploy
|
||||||
|
|
||||||
## Index page improvements
|
## Index page improvements
|
||||||
- [x] Remove 'Mots-clés' button from toolbar
|
- [x] Remove 'Mots-clés' button from toolbar
|
||||||
|
|||||||
4
justfile
4
justfile
@@ -182,7 +182,7 @@ deploy-verify-permissions:
|
|||||||
owner=$(echo "$perms" | awk '{print $2}')
|
owner=$(echo "$perms" | awk '{print $2}')
|
||||||
group=$(echo "$perms" | awk '{print $3}')
|
group=$(echo "$perms" | awk '{print $3}')
|
||||||
case "$path" in
|
case "$path" in
|
||||||
*/storage/xamxam.db|*/storage/*.db|*/*/.env)
|
*/storage/xamxam.db|*/storage/*.db)
|
||||||
expected_perm="660" ;;
|
expected_perm="660" ;;
|
||||||
*)
|
*)
|
||||||
expected_perm="664" ;;
|
expected_perm="664" ;;
|
||||||
@@ -196,8 +196,6 @@ deploy-verify-permissions:
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done < <(printf '%s\n' \
|
done < <(printf '%s\n' \
|
||||||
"$APP_DIR/.env" \
|
|
||||||
"$APP_DIR/app/router.php" \
|
|
||||||
"$APP_DIR/storage/xamxam.db")
|
"$APP_DIR/storage/xamxam.db")
|
||||||
|
|
||||||
# ── var/ subdirectories must be writable ──────────────────────────────────────
|
# ── var/ subdirectories must be writable ──────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user