[f] move code for generating a pdf from legacy to new
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MVHub |
Fix Released
|
Medium
|
Dan MacNeil |
Bug Description
files:
app-mvhub/
app-mvhub/
lib-mvhub/
We know we are done when:
Users of NorthShorePort.org and MVHub.com can click on a link that takes them to a page
with (2) .pdf files for download (1) file listing
all programs & one liasting only agencies
Link to be in side menu navigation(below the links for home,agency
login)
TO DO -
0) tidy code
1) fix hard coded nsp pdf has hard coded mvhub references.
a. put them in prefs file
b. modify .pl files to read from prefs file
2) create app-mvhub/
3) move app-mvhub/
3a) adjust apache conf
4) agency pdf is not generated for mvh.
5) Program pdf is not generated for mvh.
Done
output directory cluttered with temp files.
paths are hard coded.
Overlap between program and agency pdf generation.
Related branches
- Lee Goodrich (community): Approve
-
Diff: 1155 lines (+451/-302)16 files modifiedapp-mvhub/DocumentRoot/static/all/inc/left_menu.inc (+4/-0)
app-mvhub/DocumentRoot/static/mvh/html/reports.shtml (+12/-15)
app-mvhub/DocumentRoot/static/nsp/html/reports.shtml (+44/-0)
app-mvhub/bin/generate_agency_only_pdf.pl (+67/-53)
app-mvhub/bin/generate_agency_program_pdf.pl (+257/-225)
app-mvhub/conf/templates/text/agency_only_pdf.tmpl (+3/-3)
app-mvhub/doc/checklists/install_mvhub.txt (+2/-0)
app-mvhub/doc/checklists/setup_developer_on_brave.txt (+2/-0)
app-mvhub/project-tools/templates/template.conf (+6/-0)
app-mvhub/setup/etc/apache2/sites-available/mvhub.conf (+6/-2)
app-mvhub/setup/etc/cron.d/mvhub-cron (+24/-0)
app-mvhub/t/html_lint.t (+1/-0)
app-mvhub/t/mech/pages.t (+1/-1)
lib-mvhub/lib/MVHub/GeneratePDF.pm (+13/-1)
lib-mvhub/lib/MVHub/HubSQL.pm (+6/-1)
lib-mvhub/t/conf/all.conf (+3/-1)
Changed in mvhub: | |
milestone: | none → mvhub-production-to-v3 |
Changed in mvhub: | |
assignee: | nobody → Dan MacNeil (omacneil) |
Changed in mvhub: | |
importance: | Low → Medium |
description: | updated |
description: | updated |
Changed in mvhub: | |
status: | Confirmed → In Progress |
milestone: | 2010-01-13 → 2010-01-29 |
Changed in mvhub: | |
status: | Fix Committed → Fix Released |
TO DO -
1) nsp pdf has hardcoded mvhub references.
2) agency pdf is not generated for mvh.
3) Program pdf is not generated for mvh.
4) output directory cluttered with temp files.
5) paths are hard coded.
6) Overlap between program and agency pdf generation.