- Introduced `auth.setup.js` to handle authentication against the live site and store the session state. - Created `live-race.spec.js` to test loading a live race page with an authenticated session, including cookie validation. - Added utility functions in `live-site-test-utils.js` for managing authentication, dismissing cookie banners, and checking UI states. - Included a temporary JSON file for live state inspection. - Updated deployment manifest to reflect new and modified files. - Implemented `_inc_faceai_identity.jsp` for managing FaceAI identity cookies and included it in relevant JSP files. - Added language management JavaScript in `lang.js`. - Adjusted `fotoCR-en.jsp` and `fotoCR.jsp` to include the FaceAI identity logic. - Created a tarball for staging deployment.
42 lines
No EOL
1.2 KiB
Markdown
42 lines
No EOL
1.2 KiB
Markdown
# WWW Deployment Manifest
|
|
|
|
This document lists the files under `www/` in the current deployment set that should be copied to the remote staging path:
|
|
|
|
`/home/marco/regalamiunsorriso/incoming/www`
|
|
|
|
## Deployment Set
|
|
|
|
All files in this rollout are deployed from the current working tree.
|
|
|
|
## New Files
|
|
|
|
- `www/_inc_faceai_identity.jsp`
|
|
- `www/_js/lang.js`
|
|
|
|
## Updated Files
|
|
|
|
- `www/fotoCR-en.jsp`
|
|
- `www/fotoCR.jsp`
|
|
|
|
## Excluded Files
|
|
|
|
- None in this rollout.
|
|
|
|
## Remote Copy Target
|
|
|
|
- Source root: `K:\various\regalamiunsorriso`
|
|
- Remote host: `marco@83.149.164.4:410`
|
|
- Remote staging path: `/home/marco/regalamiunsorriso/incoming/www`
|
|
- Remote live path: `/home/sites/regalamiunsorriso/www`
|
|
- Total files in this manifest: `4`
|
|
|
|
## Transfer Method
|
|
|
|
- Stage by streaming a tar archive over SSH and extracting it into `/home/marco/regalamiunsorriso/incoming` so the `www/...` directory structure is preserved.
|
|
- Promote with `/home/marco/promote-file.sh` through `sudo tcsh` so the live destination keeps its required owner, group, and mode.
|
|
|
|
## Verification Expectations
|
|
|
|
- Verify staged files with `ls -l` and `cksum`.
|
|
- Verify live files with `ls -l`, `stat -f`, and `cksum`.
|
|
- Existing destination files should retain their original metadata after promotion. |