Branch: refs/heads/metascheduler-interactive-hardening Home: https://github.com/ehb54/us3lims_dbinst Commit: 942b268115e721bbf44ff95fd61b02b122f32682 https://github.com/ehb54/us3lims_dbinst/commit/942b268115e721bbf44ff95fd61b0... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-06 (Tue, 06 Oct 2026) Changed paths: M CONFIGURATION.md M elog.php M tools/check_installation.php Log Message: ----------- Fix the elog rollover stat-cache race and reused-inode window, preserve a rolled file's mode/group across rotation and narrow a stale world-readable file on write, warn once instead of failing silently when the HMAC key exists but can't be used, glob the pre-5682b3f legacy-backup filename too, and document --activate's backup location and rollback Commit: 984187b9fbcba72dbb2c08a86529a131dbc2f45a https://github.com/ehb54/us3lims_dbinst/commit/984187b9fbcba72dbb2c08a86529a... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-07 (Wed, 07 Oct 2026) Changed paths: M CONFIGURATION.md M elog.php Log Message: ----------- Fix two stale key-message comments, correct CONFIGURATION.md's owner/group and rollback claims, and stop rollover from suppressing the world-readable narrowing check Commit: 9882d9ca4316bd84fb455d254bd60426a63b1040 https://github.com/ehb54/us3lims_dbinst/commit/9882d9ca4316bd84fb455d254bd60... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-07 (Wed, 07 Oct 2026) Changed paths: M elog.php Log Message: ----------- Note that the inode-mismatch check is now vestigial (defense in depth only): rollover no longer renames the live path at all Commit: ba98dc29fb4d80ec99fc1d027ef25b80da72f076 https://github.com/ehb54/us3lims_dbinst/commit/ba98dc29fb4d80ec99fc1d027ef25... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-07 (Wed, 07 Oct 2026) Changed paths: M CONFIGURATION.md M elog.php Log Message: ----------- Fix elog rotation silently discarding the rolled-over content and close the umask window that could lock out the other account Commit: bfb4fd66f77e20dc0f974acecb8c74e6d9c60f7a https://github.com/ehb54/us3lims_dbinst/commit/bfb4fd66f77e20dc0f974acecb8c7... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M CONFIGURATION.md M elog.php Log Message: ----------- Refuse to follow a planted symlink at the rotation temp name, clean up stale temp files from a killed rotation, and mask the rotated file's mode Commit: 5b6c4b1217cae54bad36bb8144f8828893af7509 https://github.com/ehb54/us3lims_dbinst/commit/5b6c4b1217cae54bad36bb8144f88... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M edit_projects.php Log Message: ----------- Enforce server-side project-membership authorization on edit_projects.php's read, editor-entry, and update paths Commit: fd0cf2290e8176db55d593e3ac9d97f8ca264535 https://github.com/ehb54/us3lims_dbinst/commit/fd0cf2290e8176db55d593e3ac9d9... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M edit_users_actions.php M view_people_audit.php Log Message: ----------- Record audit timestamps with the database's UTC_TIMESTAMP() and label them UTC in the audit list, detail, and filter views Commit: 378fd58ce3911d38a3b910918849339549369ced https://github.com/ehb54/us3lims_dbinst/commit/378fd58ce3911d38a3b9109188493... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: A css/pagination.css M edit_projects.php A lib/pagination.php M view_people_audit.php Log Message: ----------- Extract view_people_audit.php's pagination into lib/pagination.php and reuse it for a read-only Associated Runs section on the project detail page Commit: 894c7c21895e25aab533e1de16aa6fb919249992 https://github.com/ehb54/us3lims_dbinst/commit/894c7c21895e25aab533e1de16aa6... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M queue_viewer.php Log Message: ----------- Skip a repeated scancel attempt against a cluster that already failed to answer earlier in the same multi-select cancel Commit: 12be3d5438cbc11717cbf67a0a82d7e7b22109b2 https://github.com/ehb54/us3lims_dbinst/commit/12be3d5438cbc11717cbf67a0a82d... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M checkinstance.php M checkuser.php M header.php M login.php Log Message: ----------- Harden login: regenerate the session id on success, set explicit cookie flags, collapse login errors to stop user enumeration, stop dying on a transient DB failure, add a viewport meta tag, and relax the login form's maxlength/autocomplete/required attributes Commit: 6cbfe99ce598bf051fafba2a75e82315e136fbad https://github.com/ehb54/us3lims_dbinst/commit/6cbfe99ce598bf051fafba2a75e82... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M css/edit_users.css M edit_users.php M edit_users_actions.php M get_user_info.php Log Message: ----------- Preserve a rejected edit/create user form's typed values instead of blanking them, and mark the fields validation actually requires Commit: 93b83c6ed6263403c7a32d522564ecd3c434c9c0 https://github.com/ehb54/us3lims_dbinst/commit/93b83c6ed6263403c7a32d522564e... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-09 (Fri, 09 Oct 2026) Changed paths: M checkinstance.php M checkuser.php M elog.php M login.php Log Message: ----------- Make the session cookie flags and the login transient-DB-failure handling actually work on PHP 7.2, match the login password field's maxlength to what profile.php really allows, and drop review-round labels Commit: 76290eb977a5c30da4b108252f0054273449a0fd https://github.com/ehb54/us3lims_dbinst/commit/76290eb977a5c30da4b108252f005... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-10 (Sat, 10 Oct 2026) Changed paths: M checkuser.php M db.php Log Message: ----------- Connect in checkuser.php itself before db.php's own mysqli_connect(...) or die() can run, so a database down at login reaches the friendly page on every version instead of db.php's die() or an uncaught mysqli_sql_exception, and log every login_db_unavailable() call's cause instead of dropping it Commit: 947d560363cfb049e7bd42d027709f19d46753bc https://github.com/ehb54/us3lims_dbinst/commit/947d560363cfb049e7bd42d027709... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-10 (Sat, 10 Oct 2026) Changed paths: M elog.php Log Message: ----------- Say split web/us3 account host, not roles host, for the directory-not-setgid problem a legacy elog.txt.1 0666 was covering for Commit: ad1945b6bc70e350721748ed3cc761ee8611e8aa https://github.com/ehb54/us3lims_dbinst/commit/ad1945b6bc70e350721748ed3cc76... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-10 (Sat, 10 Oct 2026) Changed paths: M profile.php Log Message: ----------- Match profile.php's own password maxlength to the 127-char server check, and trim it the same way checkuser.php trims the login password, so a password set with surrounding whitespace can still be used to log in Commit: 5abdc0db849edfd73902b51bb33419919023e679 https://github.com/ehb54/us3lims_dbinst/commit/5abdc0db849edfd73902b51bb3341... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-10 (Sat, 10 Oct 2026) Changed paths: M create_captcha.php M newaccount.php Log Message: ----------- Start newaccount.php and create_captcha.php's sessions through checkinstance.php instead of a bare session_start(), so they get the same Secure/HttpOnly/SameSite cookie flags and HTTPS enforcement every other page already has Commit: ddfa26b0e8713a2d0737b538d250b645881ee524 https://github.com/ehb54/us3lims_dbinst/commit/ddfa26b0e8713a2d0737b538d250b... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-10 (Sat, 10 Oct 2026) Changed paths: M config.php.template M require_https.php Log Message: ----------- Add an opt-in config flag to trust a reverse proxy's own X-Forwarded-Proto header, so a host behind a TLS-terminating proxy stops redirect-looping on every request Commit: 8a627b038fb766d05a9d7a9c8df90d60881541d9 https://github.com/ehb54/us3lims_dbinst/commit/8a627b038fb766d05a9d7a9c8df90... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-10 (Sat, 10 Oct 2026) Changed paths: M edit_projects.php Log Message: ----------- Qualify the ambiguous projectID column in get_id()'s fallback query, so a bare edit_projects.php request no longer fatals, and quote the one PHP_SELF array key that was read as an undefined constant instead of a string Commit: ce77b8ca154a970951fd466fcd488ef305388f20 https://github.com/ehb54/us3lims_dbinst/commit/ce77b8ca154a970951fd466fcd488... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M CONFIGURATION.md M admin_edit_projects.php M checkuser.php M config-base.v1.php.template M edit_labs.php M elog.php M lib/dbinst_config_loader.php M profile.php M tools/migrate_instance_config.php Log Message: ----------- Allowlist trust_proxy_https_header as a base+overlay feature exception alongside enable_GMP/enable_PAM and document it, own the overlay by us3 instead of whoever runs the migration tool and probe --activate's shim load as us3 via runuser, stop flagging elog.php's own ELOG_MAX_BYTES constant for every existing instance, document a supported path for enabling PAM/GMP on one instance, warn instead of silently dropping an all-spaces password, give a useful message instead of a stack trace for a legacy value that collides with the schema's type and report a key the legacy config never set as MISSING rather than DIFFERENT, quote two more PHP_SELF array keys, and fix two stale comments Commit: 70dcee1061f3681e63443255fb85dbf2447655aa https://github.com/ehb54/us3lims_dbinst/commit/70dcee1061f3681e63443255fb85d... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M get_user_info.php M newaccount.php Log Message: ----------- Escape every value re-shown in newaccount.php's own form after a failed submission, and the raw email get_user_info.php echoes back in its own validation message, with htmlspecialchars(ENT_QUOTES) Commit: 2aa8f1cc669b9495f6b28680c0a245e04b6d812f https://github.com/ehb54/us3lims_dbinst/commit/2aa8f1cc669b9495f6b28680c0a24... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M lib/utility.php Log Message: ----------- Authorize the host's own co-located cluster (the entry flagged 'localhost' => true) for every submission regardless of the session's clusterAuth list, so a GMP site's autoflow runs stop failing their first stage when the run owner's people.clusterAuthorizations is still the schema's default retired-cluster list Commit: 26eaf7f1b0fa789e92bb3bfae1e5ee2e78da6323 https://github.com/ehb54/us3lims_dbinst/commit/26eaf7f1b0fa789e92bb3bfae1e5e... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M lib/HPC_analysis.php M lib/file_writer.php Log Message: ----------- Remove the DEBUG-mode email_log() mechanism that mailed job and session PII to a personal gmail address Commit: 900f424fb5d9d64e95a08388a29ae6fb3cfeb195 https://github.com/ehb54/us3lims_dbinst/commit/900f424fb5d9d64e95a08388a29ae... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M config.php.template Log Message: ----------- Replace config.php.template's hardcoded site identity with CHANGE-ME placeholders Commit: bcf3fd4e4cddb278e4eafcb6f2102e9a574201af https://github.com/ehb54/us3lims_dbinst/commit/bcf3fd4e4cddb278e4eafcb6f2102... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M checkuser.php Log Message: ----------- Stop checkuser.php revealing that an email address is a PAM account via a distinct error message Commit: 9bac9bbe4bb0f152ed56a53f521f59792d111303 https://github.com/ehb54/us3lims_dbinst/commit/9bac9bbe4bb0f152ed56a53f521f5... Author: aaron-auc <aaron@aucsolutions.com> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M CONFIGURATION.md M admin_edit_projects.php M checkinstance.php M checkuser.php M config-base.v1.php.template M config.php.template M create_captcha.php M css/edit_users.css A css/pagination.css M db.php M edit_labs.php M edit_projects.php M edit_users.php M edit_users_actions.php M elog.php M get_user_info.php M header.php M lib/HPC_analysis.php M lib/dbinst_config_loader.php M lib/file_writer.php A lib/pagination.php M lib/utility.php M login.php M newaccount.php M profile.php M queue_viewer.php M require_https.php M tools/check_installation.php M tools/migrate_instance_config.php M view_people_audit.php Log Message: ----------- Merge updated branch 'ehb54-issue-478' (dbinst#75 CSP/PAM/GMP review fixes) into metascheduler-interactive-hardening Compare: https://github.com/ehb54/us3lims_dbinst/compare/7a9f5492478e...9bac9bbe4bb0 To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/us3lims_dbinst/settings/notifications