[us-commits] [ehb54/us3lims_dbinst] 867167: CSP updates -wip

emre brookes noreply at github.com
Fri Aug 7 11:46:57 MDT 2026


  Branch: refs/heads/ehb54-issue-478-rebase
  Home:   https://github.com/ehb54/us3lims_dbinst
  Commit: 86716746e0bbcd4abe0a9abe8050b71ebf4d7210
      https://github.com/ehb54/us3lims_dbinst/commit/86716746e0bbcd4abe0a9abe8050b71ebf4d7210
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M 2DSA-CG_1.php
    M 2DSA_1.php
    M DMGA_1.php
    M GA_1.php
    M GA_2.php
    M PCSA_1.php
    M admin_edit_projects.php
    M admin_view_projects.php
    M data_sharing.php
    M edit_instruments.php
    M edit_labs.php
    M edit_projects.php
    M edit_users_actions.php
    M global_menu.php
    M globaldb_stats.php
    M header.php
    M js/2DSA.js
    M lib/controls.php
    M lib/motd.php
    M lib/reports.php
    M lib/selectboxes.php
    R lib/slider.php
    M lib/utility.php
    M links.php
    M login.php
    M mysql_admin.php
    M newaccount.php
    M print_version.php
    M profile.php
    M queue_setup_1.php
    M queue_setup_2.php
    M queue_setup_2_funcs.php
    M queue_setup_3.php
    M queue_viewer.php
    M runID_info.php
    M supporting_files.php
    M view_all.php
    M view_projects.php
    M view_users.php

  Log Message:
  -----------
  CSP updates -wip


  Commit: 4f58dd4685d4ae0d47a05c06ab03aab4aaacb5ee
      https://github.com/ehb54/us3lims_dbinst/commit/4f58dd4685d4ae0d47a05c06ab03aab4aaacb5ee
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M 2DSA-CG_1.php
    M 2DSA_1.php
    M DMGA_1.php
    M GA_1.php
    M GA_2.php
    M PCSA_1.php
    M admin_edit_projects.php
    M admin_view_projects.php
    M edit_projects.php
    M globaldb_stats.php
    M header.php
    M links.php
    M login.php
    M mysql_admin.php
    M newaccount.php
    M print_version.php
    M queue_setup_1.php
    M queue_setup_2.php
    M queue_setup_3.php
    M supporting_files.php
    M view_all.php
    M view_projects.php

  Log Message:
  -----------
  better class names


  Commit: c21284c7aaacf864e756acd35c1876eec1342533
      https://github.com/ehb54/us3lims_dbinst/commit/c21284c7aaacf864e756acd35c1876eec1342533
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M lib/controls.php
    M lib/motd.php
    M lib/utility.php

  Log Message:
  -----------
  better class names


  Commit: 8f365b4f691b34414b6b940573abf46e17240e2f
      https://github.com/ehb54/us3lims_dbinst/commit/8f365b4f691b34414b6b940573abf46e17240e2f
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    A js/reports_install_change_handlers.js
    M view_reports.php

  Log Message:
  -----------
  reports.php - inline script to js file, CSP


  Commit: f30b9d79d1c263ea608095244d4ae31bbacb8a08
      https://github.com/ehb54/us3lims_dbinst/commit/f30b9d79d1c263ea608095244d4ae31bbacb8a08
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    A js/reports_lib_changedoctype.js
    M lib/reports.php

  Log Message:
  -----------
  reports.php - inline script to js file, CSP


  Commit: 665fbcdc72c02749c17a923f7182b610e267ec55
      https://github.com/ehb54/us3lims_dbinst/commit/665fbcdc72c02749c17a923f7182b610e267ec55
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    A js/queue_setup_1_selectallcells.js
    M queue_setup_1.php

  Log Message:
  -----------
  queue_setup_1.php - inline script to js file, CSP


  Commit: a8c6f5c9e0ed43983c12ef01c5916ea256a14973
      https://github.com/ehb54/us3lims_dbinst/commit/a8c6f5c9e0ed43983c12ef01c5916ea256a14973
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    A js/supporting_files_setup.js
    M supporting_files.php

  Log Message:
  -----------
  supporting_files.php - inline script to js file, CSP


  Commit: e9d6cc3e4d05e3570c0158f7418aca26c7efcf0d
      https://github.com/ehb54/us3lims_dbinst/commit/e9d6cc3e4d05e3570c0158f7418aca26c7efcf0d
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M 2DSA-CG_2.php
    M 2DSA_2.php
    M PCSA_2.php

  Log Message:
  -----------
  2DSA, 2DSA-CG, PCSA _2.php - remove us_submit_prog display scripts - CSP


  Commit: 8b5856f61ba38330c88a320c1a2987aac370605e
      https://github.com/ehb54/us3lims_dbinst/commit/8b5856f61ba38330c88a320c1a2987aac370605e
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M js/queue_setup_1_selectallcells.js
    M queue_setup_1.php

  Log Message:
  -----------
  queue_setup_1.php - fix selectAllCells handler name mismatch, CSP

The extracted handler defined SelectAllCells() and the button carried
class 'onclick-SelectAllCells', but the delegated listener in
us3lims_common js/main.js matches 'onclick-selectAllCells' and calls
selectAllCells(). classList.contains() is case-sensitive, so the button
was a no-op and the call would have thrown ReferenceError. Align both
with the name main.js already uses.


  Commit: a29643c0101ac0bb3d0bcd32790954a84f120606
      https://github.com/ehb54/us3lims_dbinst/commit/a29643c0101ac0bb3d0bcd32790954a84f120606
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M GA_2.php

  Log Message:
  -----------
  GA_2.php - fix solutes validate handler class name, CSP

The form carried class 'onsubmit-return-solutes-args' but the delegated
submit listener in us3lims_common js/main.js matches
'onsubmit-return-validate-solutes-args'. The form therefore fell through
to the default branch and submitted without running validate_solutes().
The data-args payload already matches what main.js expects.


  Commit: 8cc04b6cb2ae896ab7d9be94860ba74c153e5475
      https://github.com/ehb54/us3lims_dbinst/commit/8cc04b6cb2ae896ab7d9be94860ba74c153e5475
  Author: ehb54 <brookes at uthscsa.edu>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M view_reports.php

  Log Message:
  -----------
  view_reports.php - drop stray trailing whitespace at EOF


Compare: https://github.com/ehb54/us3lims_dbinst/compare/86716746e0bb%5E...8cc04b6cb2ae

To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/us3lims_dbinst/settings/notifications


More information about the us-commits mailing list