Weno fixup and credential API (#7256)
commit7597f79ef82b6869cd39f66b55c200fb0e6f4284
authorJerry Padgett <sjpadgett@gmail.com>
Tue, 26 Mar 2024 18:09:29 +0000 (26 14:09 -0400)
committerGitHub <noreply@github.com>
Tue, 26 Mar 2024 18:09:29 +0000 (26 14:09 -0400)
tree25a73237a138f7f4a2ee1f4ef629cd35fb6df19b
parent9b46487e8c0440705bcc9089414010220bc09ba7
Weno fixup and credential API (#7256)

* Weno fixup and credential API
- change fa font size
- prevent old styles loading

* - add acl to setup
- validate vitals for under age
- fix popup error for invalid action
- add validation and default to change events
- better validate setting requirements

* - New WenoValidate class to verift keys and user credentials
- verify and reset encryption key if needed for phamacy downloads.
- temporally chang testing URL to weno dev server until new api goes online.
- setup weno module for using upgrade in pre for auto upgrade feature.

* - update code stamdards and do a little cleanup of our utility.js
- numerous validation additions.
- add all weno required settings (weno user id, facility location id and admin credentials validation) to module setup page.

* - moved the custom modules to top of managers list. appears I have a bias!
- add a simple but useful help panel to top of list table.
- color coded module name for clarity if laminas or custom.

* - had to create a separate setup_facilities script for setup so can use when module isn't enabled.
- add a help button to MM and help_requested event listener
- refactor controller for readability
- add some security

* - fix pathing problems
- refactor reloads to replace page with new version

* - too full of myself. utility Cleanup failed.
- add new dowdlog log viewer
- fix download create directory

* - fix download won't break on duplicate key
- auto save weno id in facilities section.
- some setup refactor

* - prevent resave of demographics on dialog close

* - prevent demos from throwing warning in upgrade for old weno table population. v5.0.1 I believe.
- files clean out
- remove a chance for a race condition in background tasks

* - change and move help
- refactor to use the online api from dev api

* - refactor and consoladate weno menu from Other to Weno eRx Tools
- add Module setup and new Dowmload log viewer for admin to manage
- add traps for internet off line.
- remove unused class methods and cleanup WenoValidate class for readability.

* - combine the download facility download viewer page
30 files changed:
interface/modules/custom_modules/oe-module-weno/ModuleManagerListener.php
interface/modules/custom_modules/oe-module-weno/README.md
interface/modules/custom_modules/oe-module-weno/info.txt
interface/modules/custom_modules/oe-module-weno/public/assets/js/synch.js
interface/modules/custom_modules/oe-module-weno/scripts/file_download.php
interface/modules/custom_modules/oe-module-weno/scripts/weno_log_sync.php
interface/modules/custom_modules/oe-module-weno/src/Bootstrap.php
interface/modules/custom_modules/oe-module-weno/src/Services/DownloadWenoPharmacies.php
interface/modules/custom_modules/oe-module-weno/src/Services/LogImportBuild.php
interface/modules/custom_modules/oe-module-weno/src/Services/LogProperties.php
interface/modules/custom_modules/oe-module-weno/src/Services/ModuleService.php
interface/modules/custom_modules/oe-module-weno/src/Services/PharmacyService.php
interface/modules/custom_modules/oe-module-weno/src/Services/TransmitProperties.php
interface/modules/custom_modules/oe-module-weno/src/Services/WenoLogService.php
interface/modules/custom_modules/oe-module-weno/src/Services/WenoValidate.php [new file with mode: 0644]
interface/modules/custom_modules/oe-module-weno/table.sql [moved from interface/modules/custom_modules/oe-module-weno/sql/table.sql with 93% similarity]
interface/modules/custom_modules/oe-module-weno/templates/download_log_viewer.php [new file with mode: 0644]
interface/modules/custom_modules/oe-module-weno/templates/facilities.php [deleted file]
interface/modules/custom_modules/oe-module-weno/templates/indexrx.php
interface/modules/custom_modules/oe-module-weno/templates/pharmacy_list_form.php
interface/modules/custom_modules/oe-module-weno/templates/setup_facilities.php [new file with mode: 0644]
interface/modules/custom_modules/oe-module-weno/templates/weno_fragment.php
interface/modules/custom_modules/oe-module-weno/templates/weno_setup.php
interface/modules/custom_modules/oe-module-weno/templates/weno_users.php [new file with mode: 0644]
interface/modules/custom_modules/oe-module-weno/version.php
interface/modules/zend_modules/module/Installer/src/Installer/Controller/InstallerController.php
interface/modules/zend_modules/module/Installer/src/Installer/Model/InstModuleTable.php
interface/modules/zend_modules/module/Installer/view/installer/installer/configure.phtml
interface/modules/zend_modules/module/Installer/view/installer/installer/index.phtml
src/Services/Utils/SQLUpgradeService.php