Ongoing 5.0.0 Patch Trail

From OpenEMR Project Wiki
                 -----PATCHES--------
-------------------------------------------------------------
(PATCH 1 for 5.0.0 - 7 files)
*acknowledge_license_cert.html
*interface/main/calendar/modules/PostCalendar/pnincludes/Date/Calc.php
*library/appointments.inc.php
*library/calendar.inc
*library/encounter_events.inc.php
*library/patient_tracker.inc.php
*version.php
--------------------------------------------------------
(PATCH 2 for 5.0.0 - 29 files)
acknowledge_license_cert.html
*interface/fax/fax_dispatch.php
*interface/forms/eye_mag/SpectacleRx.php
*interface/forms/eye_mag/a_issue.php
*interface/forms/eye_mag/css/style.css
*interface/forms/eye_mag/help.php
*interface/forms/eye_mag/js/eye_base.php
*interface/forms/LBF/new.php
*interface/forms/procedure_order/new.php
*interface/forms/vitals/report.php
interface/main/calendar/modules/PostCalendar/pnincludes/Date/Calc.php
*interface/main/dated_reminders/dated_reminders_add.php
*interface/patient_file/report/custom_report.php
*interface/patient_file/summary/demographics.php
*interface/product_registration/product_registration_service.php
*interface/themes/tabs_style_compact.css
*interface/themes/tabs_style_full.css
library/appointments.inc.php
library/calendar.inc
*library/custom_template/ckeditor/_samples/assets/_posteddata.php
library/encounter_events.inc.php
*library/FeeSheet.class.php
*library/globals.inc.php
*library/options.inc.php
library/patient_tracker.inc.php
*library/report.inc
*sql/database.sql
*sql/patch.sql
*version.php
--------------------------------------------------------
(PATCH 3 for 5.0.0 - 30 files)
acknowledge_license_cert.html
*interface/billing/payment_pat_sel.inc.php
interface/fax/fax_dispatch.php
interface/forms/eye_mag/SpectacleRx.php
interface/forms/eye_mag/a_issue.php
interface/forms/eye_mag/css/style.css
interface/forms/eye_mag/help.php
interface/forms/eye_mag/js/eye_base.php
interface/forms/LBF/new.php
interface/forms/procedure_order/new.php
*interface/forms/vitals/report.php
interface/main/calendar/modules/PostCalendar/pnincludes/Date/Calc.php
interface/main/dated_reminders/dated_reminders_add.php
interface/patient_file/report/custom_report.php
*interface/patient_file/summary/demographics.php
interface/product_registration/product_registration_service.php
interface/themes/tabs_style_compact.css
interface/themes/tabs_style_full.css
library/appointments.inc.php
library/calendar.inc
library/custom_template/ckeditor/_samples/assets/_posteddata.php
library/encounter_events.inc.php
library/FeeSheet.class.php
library/globals.inc.php
library/options.inc.php
library/patient_tracker.inc.php
library/report.inc
sql/database.sql
sql/patch.sql
*version.php
--------------------------------------------------------
(PATCH 4 for 5.0.0 )
special release for the aws release
--------------------------------------------------------
(PATCH 5 for 5.0.0 - 31 files)
acknowledge_license_cert.html
interface/billing/payment_pat_sel.inc.php
interface/fax/fax_dispatch.php
interface/forms/eye_mag/SpectacleRx.php
interface/forms/eye_mag/a_issue.php
interface/forms/eye_mag/css/style.css
interface/forms/eye_mag/help.php
interface/forms/eye_mag/js/eye_base.php
interface/forms/LBF/new.php
interface/forms/procedure_order/new.php
interface/forms/vitals/report.php
interface/main/calendar/modules/PostCalendar/pnincludes/Date/Calc.php
interface/main/dated_reminders/dated_reminders_add.php
interface/patient_file/report/custom_report.php
interface/patient_file/summary/demographics.php
interface/product_registration/product_registration_service.php
interface/themes/tabs_style_compact.css
interface/themes/tabs_style_full.css
library/appointments.inc.php
library/calendar.inc
library/custom_template/ckeditor/_samples/assets/_posteddata.php
library/encounter_events.inc.php
library/FeeSheet.class.php
library/globals.inc.php
library/options.inc.php
library/patient_tracker.inc.php
library/report.inc
*setup.php
sql/database.sql
sql/patch.sql
*version.php
--------------------------------------------------------
 (PATCH 6 for 5.0.0 - 35 files)
acknowledge_license_cert.html
interface/billing/payment_pat_sel.inc.php
interface/fax/fax_dispatch.php
interface/forms/eye_mag/SpectacleRx.php
interface/forms/eye_mag/a_issue.php
interface/forms/eye_mag/css/style.css
interface/forms/eye_mag/help.php
interface/forms/eye_mag/js/eye_base.php
interface/forms/LBF/new.php
interface/forms/procedure_order/new.php
interface/forms/vitals/report.php
*interface/main/backup.php
*interface/main/backuplog.php
*interface/main/backuplog.sh
interface/main/calendar/modules/PostCalendar/pnincludes/Date/Calc.php
interface/main/dated_reminders/dated_reminders_add.php
interface/patient_file/report/custom_report.php
interface/patient_file/summary/demographics.php
interface/product_registration/product_registration_service.php
interface/themes/tabs_style_compact.css
interface/themes/tabs_style_full.css
library/appointments.inc.php
library/calendar.inc
*library/classes/Installer.class.php
library/custom_template/ckeditor/_samples/assets/_posteddata.php
library/encounter_events.inc.php
library/FeeSheet.class.php
library/globals.inc.php
library/options.inc.php
library/patient_tracker.inc.php
library/report.inc
*setup.php
sql/database.sql
sql/patch.sql
*version.php
--------------------------------------------------------
 (PATCH 7 for 5.0.0 - 72 files)
acknowledge_license_cert.html
interface/billing/payment_pat_sel.inc.php
interface/fax/fax_dispatch.php
interface/forms/eye_mag/SpectacleRx.php
interface/forms/eye_mag/a_issue.php
interface/forms/eye_mag/css/style.css
interface/forms/eye_mag/help.php
interface/forms/eye_mag/js/eye_base.php
interface/forms/LBF/new.php
*interface/forms/LBF/report.php
interface/forms/procedure_order/new.php
*interface/forms/track_anything/history.php
*interface/forms/track_anything/report.js
*interface/forms/track_anything/report.php
interface/forms/vitals/report.php
*interface/forms/vitals/templates/vitals/general_new.html
interface/main/backup.php
interface/main/backuplog.php
interface/main/backuplog.sh
interface/main/calendar/modules/PostCalendar/pnincludes/Date/Calc.php
*interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html
*interface/main/calendar/modules/PostCalendar/pntemplates/default/views/header.html
interface/main/dated_reminders/dated_reminders_add.php
*interface/main/tabs/menu/menu_data.php
*interface/new/new_comprehensive.php
*interface/patient_file/encounter/forms.php
*interface/patient_file/encounter/superbill_custom_full.php
*interface/patient_file/encounter/trend_form.php
interface/patient_file/report/custom_report.php
interface/patient_file/summary/demographics.php
*interface/patient_file/summary/demographics_full.php
*interface/patient_file/summary/labdata.php
*interface/patient_file/summary/pnotes_full_add.php
interface/product_registration/product_registration_service.php
*interface/themes/ajax_calendar.css
*interface/themes/style_babyblu.css
*interface/themes/style_metal.css
*interface/themes/style_oemr.css
*interface/themes/style_pdf.css
*interface/themes/style_purple.css
*interface/themes/style_sky_blue.css
*interface/themes/style_tan.css
interface/themes/tabs_style_compact.css
interface/themes/tabs_style_full.css
*library/ajax/graph_track_anything.php
*library/ajax/graphs.php
library/appointments.inc.php
library/calendar.inc
library/classes/Installer.class.php
library/custom_template/ckeditor/_samples/assets/_posteddata.php
*library/edihistory/edih_csv_inc.php
*library/edihistory/edih_x12file_class.php
library/encounter_events.inc.php
library/FeeSheet.class.php
library/globals.inc.php
*library/gen_hcfa_1500.inc.php
*library/gen_x12_837.inc.php
*library/js/xl/dygraphs.js.php
*library/openflashchart/open-flash-chart.swf
library/options.inc.php
library/patient_tracker.inc.php
library/report.inc
*library/sanitize.inc.php
*public/assets/modified/dygraphs-2-0-0/README.md
*public/assets/modified/dygraphs-2-0-0/dygraph.css
*public/assets/modified/dygraphs-2-0-0/dygraph.js
*setup.php
sql/database.sql
sql/patch.sql
*templates/prescription/general_fragment.html
*templates/prescription/general_list.html
*version.php
--------------------------------------------------------
 (PATCH 8 for 5.0.0 - many files)
*.bowerrc
acknowledge_license_cert.html
*bower.json
*controllers/C_Document.class.php
*gacl/gacl.class.php
*gacl/setup.php
interface/billing/payment_pat_sel.inc.php
interface/fax/fax_dispatch.php
interface/forms/eye_mag/SpectacleRx.php
interface/forms/eye_mag/a_issue.php
interface/forms/eye_mag/css/style.css
interface/forms/eye_mag/help.php
interface/forms/eye_mag/js/eye_base.php
interface/forms/LBF/new.php
interface/forms/LBF/report.php
interface/forms/procedure_order/new.php
interface/forms/track_anything/history.php
interface/forms/track_anything/report.js
interface/forms/track_anything/report.php
interface/forms/vitals/report.php
interface/forms/vitals/templates/vitals/general_new.html
*interface/globals.php
*interface/main/backup.php
interface/main/backuplog.php
interface/main/backuplog.sh
*interface/main/calendar/config.php
*interface/main/calendar/includes/pnAPI.php
interface/main/calendar/modules/PostCalendar/pnincludes/Date/Calc.php
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/header.html
interface/main/dated_reminders/dated_reminders_add.php
interface/main/tabs/menu/menu_data.php
*interface/modules/zend_modules/config/autoload/global.php
*interface/modules/zend_modules/module/Application/src/Application/Model/ApplicationTable.php
interface/new/new_comprehensive.php
interface/patient_file/encounter/forms.php
interface/patient_file/encounter/superbill_custom_full.php
interface/patient_file/encounter/trend_form.php
interface/patient_file/report/custom_report.php
interface/patient_file/summary/demographics.php
interface/patient_file/summary/demographics_full.php
interface/patient_file/summary/labdata.php
interface/patient_file/summary/pnotes_full_add.php
interface/product_registration/product_registration_service.php
interface/themes/ajax_calendar.css
interface/themes/style_babyblu.css
interface/themes/style_metal.css
interface/themes/style_oemr.css
interface/themes/style_pdf.css
interface/themes/style_purple.css
interface/themes/style_sky_blue.css
interface/themes/style_tan.css
interface/themes/tabs_style_compact.css
interface/themes/tabs_style_full.css
*library/acl.inc
*library/ADODB_mysqli_log.php
*library/ADODB_mysqli_mod.php
library/ajax/graph_track_anything.php
library/ajax/graphs.php
library/appointments.inc.php
library/calendar.inc
*library/classes/Document.class.php
library/classes/Installer.class.php
library/custom_template/ckeditor/_samples/assets/_posteddata.php
*library/dicom_frame.php
library/edihistory/edih_csv_inc.php
library/edihistory/edih_x12file_class.php
library/encounter_events.inc.php
library/FeeSheet.class.php
library/globals.inc.php
library/gen_hcfa_1500.inc.php
library/gen_x12_837.inc.php
*library/js/dwv/dicom_gui.js
*library/js/dwv/dicom_launcher.js
*library/js/dwv/dwv_i18n.js
library/js/xl/dygraphs.js.php
library/openflashchart/open-flash-chart.swf
library/options.inc.php
library/patient_tracker.inc.php
library/report.inc
library/sanitize.inc.php
*library/sql.inc
public/assets/modified/dygraphs-2-0-0/README.md
public/assets/modified/dygraphs-2-0-0/dygraph.css
public/assets/modified/dygraphs-2-0-0/dygraph.js
setup.php
*sites/default/documents/certificates/README.md
sql/database.sql
sql/patch.sql
*templates/documents/general_list.html
*templates/documents/general_view.html
templates/prescription/general_fragment.html
templates/prescription/general_list.html
*version.php
*public/assets/dwv-0-21-0
*public/assets/flot-0-8-3
*public/assets/i18next-9-0-1
*public/assets/i18next-browser-languagedetector-2-0-0
*public/assets/i18next-xhr-backend-1-4-3
*public/assets/jquery-ui-1-12-1
*public/assets/jszip-3-1-5
*public/assets/konva-1-6-8
*public/assets/magic-wand-js
*public/assets/modernizr-3-5-0
--------------------------------------------------------

making patch:
mkdir -p path
cp file
zip -r 5-0-0-Patch-9.zip .
________________________________________________________
 
 
--------------------------------------------------------
 
PLANNED COMMITS TO TAKE OVER TO REL-500:
OPTIONAL (take over to rel500 if needed in future):
55d44c53af188ea80503b6c85995f76813aa6d1c "adodb to php7.1" (may need to
bring this over if php 7.1 starts getting used more and would need to
update the packages also; note ubuntu 16.04/10 do not use 7.1 yet;
https://github.com/openemr/openemr/issues/488; note wouldn't bring over the commit; would instead use composer to bring in the new adodb version )
NEED-MORE-TESTING-TIME
57976cf95864ffbc0a6c6ef35e44701748f6bf09 "Changed session cookie paths in appropriate places to help prevent cookie sharing - fixed by Jerry and Matrix"(plan 1 month testing time, so will be ready on 5/8/17)
UNCLEAR:
Manually ADD following file to the patch: library/js/xl/jquery-datetimepicker-2-5-4.js.php ???? (makes no sense to add this)
5f30cbea61a6bfab92a2802594b221047bbe4745 "misc billing box 14 and 15 fixes - fixed by Stephen" ???? (this is very complicated)
(for above, just need to manually add the pertinent lines rather than try to merge the entire commit) ????
NORMAL:
f9d0175a767b02c8e5d4d041f2c65042d104c4fd "Security fix - reported by Francisco Ribeiro, fixed by Brady" (not pursuing since 5.0.1 release is soon and merge conflicts)
ff963856b89842e2bdc5049b8f8a8fa45211c596 "Billing fix - reported by Carlos Guzman, fixed by Rod and Stephen" (not pursuing since 5.0.1 release is soon and merge conflicts)

STAT!!!:
EMPTY

NEED TO TAKE OVER TO PATCH(list of files):
EMPTY

Always make these scripts blank:
library/openflashchart/open-flash-chart.swf
setup.php
Always take over to patch:
version.php

DONE (AWAITING PATCH RELEASE):
EMPTY

---------------------------------------------------------