From 616bac348554586a2087f03bb90b0a242cf1ae17 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 7 Feb 2007 17:09:32 +0000 Subject: [PATCH] ebl Release 2.0.2 on sf git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/tags/Release-2.0.2@4140 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/bweb/COPYING | 280 ++ gui/bweb/bweb/INSTALL | 280 ++ gui/bweb/bweb/MANIFEST | 7 + gui/bweb/bweb/Makefile.PL | 26 + gui/bweb/bweb/ReleaseNotes | 108 + gui/bweb/bweb/cgi/bconsole.pl | 121 + gui/bweb/bweb/cgi/bfileview.pl | 364 ++ gui/bweb/bweb/cgi/bgraph.pl | 490 +++ gui/bweb/bweb/cgi/bweb.pl | 413 +++ gui/bweb/bweb/html/A.png | Bin 0 -> 1379 bytes gui/bweb/bweb/html/E.png | Bin 0 -> 1379 bytes gui/bweb/bweb/html/R.png | Bin 0 -> 1094 bytes gui/bweb/bweb/html/T.png | Bin 0 -> 672 bytes gui/bweb/bweb/html/W.png | Bin 0 -> 1077 bytes gui/bweb/bweb/html/add.png | Bin 0 -> 556 bytes gui/bweb/bweb/html/apply.png | Bin 0 -> 452 bytes gui/bweb/bweb/html/bweb.css | 123 + gui/bweb/bweb/html/bweb.js | 309 ++ gui/bweb/bweb/html/cancel.png | Bin 0 -> 1379 bytes gui/bweb/bweb/html/chart.png | Bin 0 -> 1104 bytes gui/bweb/bweb/html/client.png | Bin 0 -> 614 bytes gui/bweb/bweb/html/colorscm.png | Bin 0 -> 1434 bytes gui/bweb/bweb/html/down.gif | Bin 0 -> 56 bytes gui/bweb/bweb/html/edit.png | Bin 0 -> 1092 bytes gui/bweb/bweb/html/extern.png | Bin 0 -> 901 bytes gui/bweb/bweb/html/f.png | Bin 0 -> 1379 bytes gui/bweb/bweb/html/favicon.ico | Bin 0 -> 1406 bytes gui/bweb/bweb/html/filename.png | Bin 0 -> 2211 bytes gui/bweb/bweb/html/first.gif | Bin 0 -> 61 bytes gui/bweb/bweb/html/first.png | Bin 0 -> 348 bytes gui/bweb/bweb/html/index.html | 9 + gui/bweb/bweb/html/inflag0.png | Bin 0 -> 847 bytes gui/bweb/bweb/html/inflag1.png | Bin 0 -> 806 bytes gui/bweb/bweb/html/intern.png | Bin 0 -> 1079 bytes gui/bweb/bweb/html/kaiska.css | 970 +++++ gui/bweb/bweb/html/label.png | Bin 0 -> 1291 bytes gui/bweb/bweb/html/last.gif | Bin 0 -> 62 bytes gui/bweb/bweb/html/last.png | Bin 0 -> 371 bytes gui/bweb/bweb/html/lcorner.png | Bin 0 -> 240 bytes gui/bweb/bweb/html/left.gif | Bin 0 -> 60 bytes gui/bweb/bweb/html/left.png | Bin 0 -> 379 bytes gui/bweb/bweb/html/load.png | Bin 0 -> 613 bytes gui/bweb/bweb/html/lock.png | Bin 0 -> 845 bytes gui/bweb/bweb/html/natcompare.js | 157 + gui/bweb/bweb/html/next.png | Bin 0 -> 581 bytes gui/bweb/bweb/html/nrs_table.js | 1073 ++++++ gui/bweb/bweb/html/pix.png | Bin 0 -> 103 bytes gui/bweb/bweb/html/prev.png | Bin 0 -> 583 bytes gui/bweb/bweb/html/prune.png | Bin 0 -> 791 bytes gui/bweb/bweb/html/purge.png | Bin 0 -> 1308 bytes gui/bweb/bweb/html/rcorner.png | Bin 0 -> 248 bytes gui/bweb/bweb/html/remove.png | Bin 0 -> 291 bytes gui/bweb/bweb/html/right.gif | Bin 0 -> 59 bytes gui/bweb/bweb/html/right.png | Bin 0 -> 388 bytes gui/bweb/bweb/html/save.png | Bin 0 -> 1027 bytes gui/bweb/bweb/html/style.css | 720 ++++ gui/bweb/bweb/html/tape.png | Bin 0 -> 537 bytes gui/bweb/bweb/html/unload.png | Bin 0 -> 589 bytes gui/bweb/bweb/html/up.gif | Bin 0 -> 58 bytes gui/bweb/bweb/html/update.png | Bin 0 -> 1138 bytes gui/bweb/bweb/html/zoom.png | Bin 0 -> 1099 bytes gui/bweb/bweb/install_bweb | 126 + gui/bweb/bweb/lang/es/tpl/about.tpl | 39 + gui/bweb/bweb/lang/es/tpl/ach_add.tpl | 72 + gui/bweb/bweb/lang/es/tpl/ach_content.tpl | 161 + gui/bweb/bweb/lang/es/tpl/begin.tpl | 66 + gui/bweb/bweb/lang/es/tpl/change_location.tpl | 37 + .../bweb/lang/es/tpl/client_job_status.tpl | 40 + gui/bweb/bweb/lang/es/tpl/client_list.tpl | 70 + gui/bweb/bweb/lang/es/tpl/command.tpl | 9 + gui/bweb/bweb/lang/es/tpl/config_edit.tpl | 50 + gui/bweb/bweb/lang/es/tpl/config_view.tpl | 62 + .../bweb/lang/es/tpl/display_client_job.tpl | 65 + .../bweb/lang/es/tpl/display_client_stats.tpl | 59 + .../bweb/lang/es/tpl/display_form_job.tpl | 126 + .../bweb/lang/es/tpl/display_form_media.tpl | 91 + gui/bweb/bweb/lang/es/tpl/display_job.tpl | 81 + .../bweb/lang/es/tpl/display_job_zoom.tpl | 129 + .../bweb/lang/es/tpl/display_location.tpl | 66 + gui/bweb/bweb/lang/es/tpl/display_log.tpl | 9 + gui/bweb/bweb/lang/es/tpl/display_media.tpl | 91 + .../bweb/lang/es/tpl/display_media_zoom.tpl | 163 + gui/bweb/bweb/lang/es/tpl/display_pool.tpl | 88 + gui/bweb/bweb/lang/es/tpl/end.tpl | 5 + gui/bweb/bweb/lang/es/tpl/error.tpl | 4 + gui/bweb/bweb/lang/es/tpl/fileset_view.tpl | 20 + gui/bweb/bweb/lang/es/tpl/fv_file_attribs.tpl | 12 + gui/bweb/bweb/lang/es/tpl/general.tpl | 30 + gui/bweb/bweb/lang/es/tpl/graph.tpl | 172 + gui/bweb/bweb/lang/es/tpl/help_extern.tpl | 45 + .../bweb/lang/es/tpl/help_extern_compute.tpl | 67 + gui/bweb/bweb/lang/es/tpl/help_intern.tpl | 52 + .../bweb/lang/es/tpl/help_intern_compute.tpl | 67 + gui/bweb/bweb/lang/es/tpl/install.tpl | 9 + gui/bweb/bweb/lang/es/tpl/location_add.tpl | 28 + gui/bweb/bweb/lang/es/tpl/location_edit.tpl | 26 + gui/bweb/bweb/lang/es/tpl/move_media.tpl | 85 + gui/bweb/bweb/lang/es/tpl/run_job.tpl | 33 + gui/bweb/bweb/lang/es/tpl/run_job_mod.tpl | 138 + gui/bweb/bweb/lang/es/tpl/running_job.tpl | 96 + gui/bweb/bweb/lang/es/tpl/scheduled_job.tpl | 71 + gui/bweb/bweb/lang/es/tpl/stats.tpl | 9 + gui/bweb/bweb/lang/es/tpl/update_location.tpl | 65 + gui/bweb/bweb/lang/es/tpl/update_media.tpl | 159 + gui/bweb/bweb/lang/fr/tpl/about.tpl | 39 + gui/bweb/bweb/lang/fr/tpl/ach_add.tpl | 71 + gui/bweb/bweb/lang/fr/tpl/ach_content.tpl | 161 + gui/bweb/bweb/lang/fr/tpl/begin.tpl | 66 + gui/bweb/bweb/lang/fr/tpl/change_location.tpl | 38 + .../bweb/lang/fr/tpl/client_job_status.tpl | 39 + gui/bweb/bweb/lang/fr/tpl/client_list.tpl | 70 + gui/bweb/bweb/lang/fr/tpl/command.tpl | 9 + gui/bweb/bweb/lang/fr/tpl/config_edit.tpl | 50 + gui/bweb/bweb/lang/fr/tpl/config_view.tpl | 62 + .../bweb/lang/fr/tpl/display_client_job.tpl | 65 + .../bweb/lang/fr/tpl/display_client_stats.tpl | 59 + .../bweb/lang/fr/tpl/display_form_job.tpl | 126 + .../bweb/lang/fr/tpl/display_form_media.tpl | 91 + gui/bweb/bweb/lang/fr/tpl/display_job.tpl | 81 + .../bweb/lang/fr/tpl/display_job_zoom.tpl | 131 + .../bweb/lang/fr/tpl/display_location.tpl | 66 + gui/bweb/bweb/lang/fr/tpl/display_log.tpl | 9 + gui/bweb/bweb/lang/fr/tpl/display_media.tpl | 91 + .../bweb/lang/fr/tpl/display_media_zoom.tpl | 163 + gui/bweb/bweb/lang/fr/tpl/display_pool.tpl | 88 + gui/bweb/bweb/lang/fr/tpl/end.tpl | 5 + gui/bweb/bweb/lang/fr/tpl/error.tpl | 4 + gui/bweb/bweb/lang/fr/tpl/fileset_view.tpl | 20 + gui/bweb/bweb/lang/fr/tpl/fv_file_attribs.tpl | 12 + gui/bweb/bweb/lang/fr/tpl/general.tpl | 30 + gui/bweb/bweb/lang/fr/tpl/graph.tpl | 172 + gui/bweb/bweb/lang/fr/tpl/help_extern.tpl | 46 + .../bweb/lang/fr/tpl/help_extern_compute.tpl | 67 + gui/bweb/bweb/lang/fr/tpl/help_intern.tpl | 53 + .../bweb/lang/fr/tpl/help_intern_compute.tpl | 69 + gui/bweb/bweb/lang/fr/tpl/location_add.tpl | 28 + gui/bweb/bweb/lang/fr/tpl/location_edit.tpl | 26 + gui/bweb/bweb/lang/fr/tpl/move_media.tpl | 85 + gui/bweb/bweb/lang/fr/tpl/run_job.tpl | 33 + gui/bweb/bweb/lang/fr/tpl/run_job_mod.tpl | 138 + gui/bweb/bweb/lang/fr/tpl/running_job.tpl | 96 + gui/bweb/bweb/lang/fr/tpl/scheduled_job.tpl | 71 + gui/bweb/bweb/lang/fr/tpl/stats.tpl | 9 + gui/bweb/bweb/lang/fr/tpl/update_location.tpl | 65 + gui/bweb/bweb/lang/fr/tpl/update_media.tpl | 156 + gui/bweb/bweb/lib/Bconsole.pm | 444 +++ gui/bweb/bweb/lib/Bweb.pm | 3280 +++++++++++++++++ gui/bweb/bweb/lib/CCircle.pm | 543 +++ gui/bweb/bweb/script/bweb-postgresql.sql | 41 + gui/bweb/bweb/script/bweb.conf | 28 + gui/bweb/bweb/tpl/about.tpl | 39 + gui/bweb/bweb/tpl/ach_add.tpl | 72 + gui/bweb/bweb/tpl/ach_content.tpl | 161 + gui/bweb/bweb/tpl/begin.tpl | 66 + gui/bweb/bweb/tpl/change_location.tpl | 37 + gui/bweb/bweb/tpl/client_job_status.tpl | 40 + gui/bweb/bweb/tpl/client_list.tpl | 70 + gui/bweb/bweb/tpl/command.tpl | 9 + gui/bweb/bweb/tpl/config_edit.tpl | 50 + gui/bweb/bweb/tpl/config_view.tpl | 62 + gui/bweb/bweb/tpl/display_client_job.tpl | 65 + gui/bweb/bweb/tpl/display_client_stats.tpl | 59 + gui/bweb/bweb/tpl/display_form_job.tpl | 126 + gui/bweb/bweb/tpl/display_form_media.tpl | 91 + gui/bweb/bweb/tpl/display_job.tpl | 81 + gui/bweb/bweb/tpl/display_job_zoom.tpl | 129 + gui/bweb/bweb/tpl/display_location.tpl | 66 + gui/bweb/bweb/tpl/display_log.tpl | 9 + gui/bweb/bweb/tpl/display_media.tpl | 91 + gui/bweb/bweb/tpl/display_media_zoom.tpl | 163 + gui/bweb/bweb/tpl/display_pool.tpl | 88 + gui/bweb/bweb/tpl/end.tpl | 5 + gui/bweb/bweb/tpl/error.tpl | 4 + gui/bweb/bweb/tpl/fileset_view.tpl | 20 + gui/bweb/bweb/tpl/fv_file_attribs.tpl | 12 + gui/bweb/bweb/tpl/general.tpl | 30 + gui/bweb/bweb/tpl/graph.tpl | 171 + gui/bweb/bweb/tpl/help_extern.tpl | 45 + gui/bweb/bweb/tpl/help_extern_compute.tpl | 67 + gui/bweb/bweb/tpl/help_intern.tpl | 52 + gui/bweb/bweb/tpl/help_intern_compute.tpl | 68 + gui/bweb/bweb/tpl/install.tpl | 9 + gui/bweb/bweb/tpl/location_add.tpl | 28 + gui/bweb/bweb/tpl/location_edit.tpl | 26 + gui/bweb/bweb/tpl/move_media.tpl | 85 + gui/bweb/bweb/tpl/run_job.tpl | 33 + gui/bweb/bweb/tpl/run_job_mod.tpl | 138 + gui/bweb/bweb/tpl/running_job.tpl | 96 + gui/bweb/bweb/tpl/scheduled_job.tpl | 71 + gui/bweb/bweb/tpl/stats.tpl | 9 + gui/bweb/bweb/tpl/update_location.tpl | 65 + gui/bweb/bweb/tpl/update_media.tpl | 159 + 192 files changed, 18206 insertions(+) create mode 100644 gui/bweb/bweb/COPYING create mode 100644 gui/bweb/bweb/INSTALL create mode 100644 gui/bweb/bweb/MANIFEST create mode 100644 gui/bweb/bweb/Makefile.PL create mode 100644 gui/bweb/bweb/ReleaseNotes create mode 100755 gui/bweb/bweb/cgi/bconsole.pl create mode 100755 gui/bweb/bweb/cgi/bfileview.pl create mode 100755 gui/bweb/bweb/cgi/bgraph.pl create mode 100755 gui/bweb/bweb/cgi/bweb.pl create mode 100644 gui/bweb/bweb/html/A.png create mode 100644 gui/bweb/bweb/html/E.png create mode 100644 gui/bweb/bweb/html/R.png create mode 100644 gui/bweb/bweb/html/T.png create mode 100644 gui/bweb/bweb/html/W.png create mode 100644 gui/bweb/bweb/html/add.png create mode 100644 gui/bweb/bweb/html/apply.png create mode 100644 gui/bweb/bweb/html/bweb.css create mode 100644 gui/bweb/bweb/html/bweb.js create mode 100644 gui/bweb/bweb/html/cancel.png create mode 100644 gui/bweb/bweb/html/chart.png create mode 100644 gui/bweb/bweb/html/client.png create mode 100644 gui/bweb/bweb/html/colorscm.png create mode 100755 gui/bweb/bweb/html/down.gif create mode 100644 gui/bweb/bweb/html/edit.png create mode 100644 gui/bweb/bweb/html/extern.png create mode 100644 gui/bweb/bweb/html/f.png create mode 100644 gui/bweb/bweb/html/favicon.ico create mode 100644 gui/bweb/bweb/html/filename.png create mode 100755 gui/bweb/bweb/html/first.gif create mode 100644 gui/bweb/bweb/html/first.png create mode 100644 gui/bweb/bweb/html/index.html create mode 100644 gui/bweb/bweb/html/inflag0.png create mode 100644 gui/bweb/bweb/html/inflag1.png create mode 100644 gui/bweb/bweb/html/intern.png create mode 100644 gui/bweb/bweb/html/kaiska.css create mode 100644 gui/bweb/bweb/html/label.png create mode 100755 gui/bweb/bweb/html/last.gif create mode 100644 gui/bweb/bweb/html/last.png create mode 100644 gui/bweb/bweb/html/lcorner.png create mode 100755 gui/bweb/bweb/html/left.gif create mode 100644 gui/bweb/bweb/html/left.png create mode 100644 gui/bweb/bweb/html/load.png create mode 100644 gui/bweb/bweb/html/lock.png create mode 100755 gui/bweb/bweb/html/natcompare.js create mode 100644 gui/bweb/bweb/html/next.png create mode 100755 gui/bweb/bweb/html/nrs_table.js create mode 100644 gui/bweb/bweb/html/pix.png create mode 100644 gui/bweb/bweb/html/prev.png create mode 100644 gui/bweb/bweb/html/prune.png create mode 100644 gui/bweb/bweb/html/purge.png create mode 100644 gui/bweb/bweb/html/rcorner.png create mode 100644 gui/bweb/bweb/html/remove.png create mode 100755 gui/bweb/bweb/html/right.gif create mode 100644 gui/bweb/bweb/html/right.png create mode 100644 gui/bweb/bweb/html/save.png create mode 100644 gui/bweb/bweb/html/style.css create mode 100644 gui/bweb/bweb/html/tape.png create mode 100644 gui/bweb/bweb/html/unload.png create mode 100755 gui/bweb/bweb/html/up.gif create mode 100644 gui/bweb/bweb/html/update.png create mode 100644 gui/bweb/bweb/html/zoom.png create mode 100755 gui/bweb/bweb/install_bweb create mode 100644 gui/bweb/bweb/lang/es/tpl/about.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/ach_add.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/ach_content.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/begin.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/change_location.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/client_job_status.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/client_list.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/command.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/config_edit.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/config_view.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_client_job.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_client_stats.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_form_job.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_form_media.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_job.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_job_zoom.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_location.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_log.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_media.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_media_zoom.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/display_pool.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/end.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/error.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/fileset_view.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/fv_file_attribs.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/general.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/graph.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/help_extern.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/help_extern_compute.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/help_intern.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/help_intern_compute.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/install.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/location_add.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/location_edit.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/move_media.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/run_job.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/run_job_mod.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/running_job.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/scheduled_job.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/stats.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/update_location.tpl create mode 100644 gui/bweb/bweb/lang/es/tpl/update_media.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/about.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/ach_add.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/ach_content.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/begin.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/change_location.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/client_job_status.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/client_list.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/command.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/config_edit.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/config_view.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_client_job.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_client_stats.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_form_job.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_form_media.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_job.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_job_zoom.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_location.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_log.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_media.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_media_zoom.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/display_pool.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/end.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/error.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/fileset_view.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/fv_file_attribs.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/general.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/graph.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/help_extern.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/help_extern_compute.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/help_intern.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/help_intern_compute.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/location_add.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/location_edit.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/move_media.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/run_job.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/run_job_mod.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/running_job.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/scheduled_job.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/stats.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/update_location.tpl create mode 100644 gui/bweb/bweb/lang/fr/tpl/update_media.tpl create mode 100644 gui/bweb/bweb/lib/Bconsole.pm create mode 100644 gui/bweb/bweb/lib/Bweb.pm create mode 100644 gui/bweb/bweb/lib/CCircle.pm create mode 100644 gui/bweb/bweb/script/bweb-postgresql.sql create mode 100644 gui/bweb/bweb/script/bweb.conf create mode 100644 gui/bweb/bweb/tpl/about.tpl create mode 100644 gui/bweb/bweb/tpl/ach_add.tpl create mode 100644 gui/bweb/bweb/tpl/ach_content.tpl create mode 100644 gui/bweb/bweb/tpl/begin.tpl create mode 100644 gui/bweb/bweb/tpl/change_location.tpl create mode 100644 gui/bweb/bweb/tpl/client_job_status.tpl create mode 100644 gui/bweb/bweb/tpl/client_list.tpl create mode 100644 gui/bweb/bweb/tpl/command.tpl create mode 100644 gui/bweb/bweb/tpl/config_edit.tpl create mode 100644 gui/bweb/bweb/tpl/config_view.tpl create mode 100644 gui/bweb/bweb/tpl/display_client_job.tpl create mode 100644 gui/bweb/bweb/tpl/display_client_stats.tpl create mode 100644 gui/bweb/bweb/tpl/display_form_job.tpl create mode 100644 gui/bweb/bweb/tpl/display_form_media.tpl create mode 100644 gui/bweb/bweb/tpl/display_job.tpl create mode 100644 gui/bweb/bweb/tpl/display_job_zoom.tpl create mode 100644 gui/bweb/bweb/tpl/display_location.tpl create mode 100644 gui/bweb/bweb/tpl/display_log.tpl create mode 100644 gui/bweb/bweb/tpl/display_media.tpl create mode 100644 gui/bweb/bweb/tpl/display_media_zoom.tpl create mode 100644 gui/bweb/bweb/tpl/display_pool.tpl create mode 100644 gui/bweb/bweb/tpl/end.tpl create mode 100644 gui/bweb/bweb/tpl/error.tpl create mode 100644 gui/bweb/bweb/tpl/fileset_view.tpl create mode 100644 gui/bweb/bweb/tpl/fv_file_attribs.tpl create mode 100644 gui/bweb/bweb/tpl/general.tpl create mode 100644 gui/bweb/bweb/tpl/graph.tpl create mode 100644 gui/bweb/bweb/tpl/help_extern.tpl create mode 100644 gui/bweb/bweb/tpl/help_extern_compute.tpl create mode 100644 gui/bweb/bweb/tpl/help_intern.tpl create mode 100644 gui/bweb/bweb/tpl/help_intern_compute.tpl create mode 100644 gui/bweb/bweb/tpl/install.tpl create mode 100644 gui/bweb/bweb/tpl/location_add.tpl create mode 100644 gui/bweb/bweb/tpl/location_edit.tpl create mode 100644 gui/bweb/bweb/tpl/move_media.tpl create mode 100644 gui/bweb/bweb/tpl/run_job.tpl create mode 100644 gui/bweb/bweb/tpl/run_job_mod.tpl create mode 100644 gui/bweb/bweb/tpl/running_job.tpl create mode 100644 gui/bweb/bweb/tpl/scheduled_job.tpl create mode 100644 gui/bweb/bweb/tpl/stats.tpl create mode 100644 gui/bweb/bweb/tpl/update_location.tpl create mode 100644 gui/bweb/bweb/tpl/update_media.tpl diff --git a/gui/bweb/bweb/COPYING b/gui/bweb/bweb/COPYING new file mode 100644 index 0000000000..960fe7469f --- /dev/null +++ b/gui/bweb/bweb/COPYING @@ -0,0 +1,280 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/gui/bweb/bweb/INSTALL b/gui/bweb/bweb/INSTALL new file mode 100644 index 0000000000..c44494c46b --- /dev/null +++ b/gui/bweb/bweb/INSTALL @@ -0,0 +1,280 @@ +################################################################ +# INSTALL NOTES # +################################################################ + +Bweb works well with 1.39 release or later. + +1) install Perl lib +2) copy your files +3) initialize your configuration file +4) do some sql stuff (for postgresql users) +5) use the -n option on bconsole so that it works with Expect +6) get bacula log more useful +7) bweb limitation +8) using sudo with autochanger +9) using bfileview.pl +10) accessing to bweb + +################ FILE COPY ##################################### + # you must get bweb cvs files + cvs -d:pserver:anonymous@bacula.cvs.sourceforge.net:/cvsroot/bacula login + cvs -z3 -d:pserver:anonymous@bacula.cvs.sourceforge.net:/cvsroot/bacula co -P gui + cd gui + + # or get them from the released tar files or from the apt or rpms. + + # + # Once you have the gui directory loaded, follow the instructions below + # or edit the environment variables in the file install_bweb + # then execute it. install_web does everything to the next + # set of #######'s. + # + + # first, copy the bweb Perl library into your PERL5 INC path + perl Makefile.PL + make install + # or + install -m 644 -o root -g root bweb/lib/*.pm /usr/share/perl5 + + # copy the bweb perl program to your cgi location + mkdir -m 755 /usr/lib/cgi-bin/bweb + install -m 755 -o root -g root bweb/cgi/*.pl /usr/lib/cgi-bin/bweb + + # get a config file + mkdir -m 755 /etc/bacula + chown root:bacula /etc/bacula + echo '$VAR1 = { template_dir => "/usr/share/bweb/tpl" };' > /etc/bacula/bweb.conf + chown www-data /etc/bacula/bweb.conf + + # copy the bweb template file + mkdir -p /usr/share/bweb/tpl + install -m 644 -o root -g root bweb/tpl/*.tpl /usr/share/bweb/tpl + + # copy the bweb graphics elements (bweb elements must reside in /bweb) + mkdir /var/www/bweb + install -m 644 -o root -g root bweb/html/*.{js,png,css,gif,ico,html} /var/www/bweb + + # done ! + + WARNING : Your www-data (or wwwrun on SuSE) user must be able to execute bconsole and able + to read the bconsole.conf file! + You can create an bconsole group for that. + +################ USE FRENCH VERSION ############################ + +Simply use lang/fr/tpl/*.tpl files instead of tpl/*.tpl + +################ INSTALL PERL LIBRARY ########################## + + - perl modules + - DBI (with mysql or postgresql support DBD::Pg and DBD::mysql) + - GD::Graph + - GD + - HTML::Template + - CGI + - Expect + - Time::ParseDate + + You can install perl modules with CPAN + perl -e shell -MCPAN + > install Expect + + Or use your distribution + apt-get install libgd-graph-perl libhtml-template-perl libexpect-perl + apt-get install libdbd-mysql-perl libdbd-pg-perl libdbi-perl libtime-modules-perl + + Note: the best way to test if you have all the dependencies + fullfilled for Perl is to: + + cd /var/www/cgi-bin/bweb + ./bweb.pl + + you might also want to try: + + ./bgraph.pl + + To make sure the graphing modules are loaded. However, running it + will spray binary graphics data on your terminal. Otherwise, you will + get an error. + + That should show you if any of the pre-requisites are missing. + On SuSE 10.2, I was able to load all the appropriate modules via rpms, + with the exception of Expect and Time::ParseDate, which I loaded manually + using perl. + + If you experience problems, always consult the Apache error_log + file. + +################ APACHE CONFIGURATION ########################## + +It could be a good idea to protect your bweb installation (optional). + +Put this in your httpd.conf, and add user with htpasswd + + + Options ExecCGI -MultiViews +SymLinksIfOwnerMatch + AuthType Basic + AuthName MyPrivateFile + AuthUserFile /etc/apache/htpasswd + AllowOverride None + Require valid-user + + +On SuSE 10.2, the following in /etc/apache2/default-server.conf works. +However, it is not secure: + +Directory "/srv/www/cgi-bin/bweb"> + AllowOverride None + Options +ExecCGI -Includes + Order allow,deny + Allow from all + + + +################ CONFIGURATION ################################# + +Note, this is automatically installed by the install_bweb script. + +/etc/bacula/bweb.conf looks like : (you can edit it inside bweb) +$VAR1 = bless( { + 'graph_font' => '/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf', + 'name' => undef, + 'config_file' => '/etc/bacula/bweb.conf', + 'bconsole' => '/usr/sbin/bconsole -n -c /etc/bacula/bconsole.conf', + 'ach_list' => { + 'S1_L80' => bless( { + 'info' => { + 'drive' => 0, + 'io' => 0, + 'slot' => 0 + }, + 'name' => 'S1_L80', + 'bweb' => undef, + 'device' => '/dev/changer', + 'drive' => [], + 'debug' => 0, + 'label' => {}, + 'precmd' => 'sudo', + 'io' => [], + 'mtxcmd' => '/usr/sbin/mtx', + 'drive_name' => [ + 'S1_L80_SDLT0', + 'S1_L80_SDLT1' + ], + 'slot' => [] + }, 'Bweb::Autochanger' ) + }, + 'password' => 'xxx', + 'template_dir' => '/usr/share/bweb/tpl', + 'dbi' => 'DBI:mysql:database=bacula', + 'error' => '', + 'debug' => 0, + 'user' => 'bacula', + 'email_media' => 'eric@localhost' +}, 'Bweb::Config' ); + + +################ BRESTORE ###################################### + +If you want to use brestore with bweb, you must associate a mime type +text/brestore with your brestore.pl, and you must install brestore. +See gui/brestore/README for instructions on installing brestore.pl. + +################ POSTGRESQL NOTES ############################## + +If you want to use PostgreSQL instead of MySQL, you must add +a function to the PostgreSQL Bacula database to get Bweb to work. + +psql -U bacula bacula < script/bweb-postgresql.sql + +Tips: PL must be enable in your cluster, you can do this with postgres user +postgres:~$ echo 'CREATE PROCEDURAL LANGUAGE plpgsql;' | psql bacula + +################ BCONSOLE NOTES ################################ + +You must use bconsole without conio/readline support. For that, use +the bconsole -n option. This is done automatically with the standard +configuration file. In addition, please ensure that the binary +bconsole file can be executed by your web server. It is normally +located in /usr/bin/bconsole (or some such file), and must have +modes 755 or it will not be executable by your web server. The +normal Bacula installation usually sets mode 750. + +################ BACULA LOG #################################### + +If you want Bweb to be able to show listings of the Job output, +you must add a "catalog = all, !skipped, !saved" to your +messages resource in bacula-dir.conf and restart your Bacula +server. This is shown below: + +Messages { + Name = Standard + + operator = root@localhost = mount + console = all, !skipped, !saved + append = "/tmp/bacula/var/bacula/working/log" = all, !skipped + + catalog = all, !skipped, !saved +} + + +################ BWEB LIMITATION ############################### + +To get bweb working, you must follow these rules + - Media, Storage and Pool must have [A-Za-z_0-9\.-]+ (no space) + - AutoChanger name must be same as Device and Location name in bacula + +################ SUDO CONFIGURATION ############################ + +If you use sudo, put this on you /etc/sudoers + +www-data ALL = (root) NOPASSWD: /usr/sbin/mtx -f /dev/changer transfer * +www-data ALL = (root) NOPASSWD: /usr/sbin/mtx -f /dev/changer status +www-data ALL = (root) NOPASSWD: /usr/sbin/mtx -f /dev/changer load * +www-data ALL = (root) NOPASSWD: /usr/sbin/mtx -f /dev/changer unload * + +################ BFILEVIEW SETUP ############################### + +At this time, bfileview works only with PostgreSQL. + +Alias /bweb/fv /var/spool/bweb + + Options None + AllowOverride AuthConfig + Order allow,deny + Allow from all + + +mkdir /var/spool/bweb +chmod 700 /var/spool/bweb +chown www-data /var/spool/bweb + +You have to remove "" from +tpl/display_job_zoom.tpl. + +You must use brestore.pl -b to initialize the database, and +you can use bfileview.pl mode=batch jobid=xxx where=/ to compute tree size. + +At this time, it's a good idea to schedule brestore.pl -b after your +BackupCatalog job. + +Job { + Name = "BackupCatalog" + ... + # This creates an ASCII copy of the catalog + RunBeforeJob = "/opt/bacula/etc/make_catalog_backup bacula bacula Pei0ahm9" + # This deletes the copy of the catalog + RunAfterJob = "/opt/bacula/etc/delete_catalog_backup" + RunAfterJob = "/usr/local/bin/brestore.pl -b" +} + +To upgrade from an old installation, you can use : +ALTER TABLE brestore_pathvisibility ADD Size int8; +ALTER TABLE brestore_pathvisibility ADD Files int4; + +################ ACCESSING TO BWEB ############################### + +Now, you are able to launch firefox/mozilla and go on +http://your-server/bweb + +Enjoy ! diff --git a/gui/bweb/bweb/MANIFEST b/gui/bweb/bweb/MANIFEST new file mode 100644 index 0000000000..8c0eecd02e --- /dev/null +++ b/gui/bweb/bweb/MANIFEST @@ -0,0 +1,7 @@ +lib/Bweb.pm +lib/Bconsole.pm +lib/CCircle.pm +Makefile.PL +INSTALL +COPYING +MANIFEST diff --git a/gui/bweb/bweb/Makefile.PL b/gui/bweb/bweb/Makefile.PL new file mode 100644 index 0000000000..45833d1c1a --- /dev/null +++ b/gui/bweb/bweb/Makefile.PL @@ -0,0 +1,26 @@ +use Test::More tests => 7; + +require_ok('DBI'); +require_ok('GD::Graph'); +require_ok('GD'); +require_ok('HTML::Template'); +require_ok('CGI'); +require_ok('Expect'); +require_ok('Time::ParseDate'); + + +use ExtUtils::MakeMaker; + +WriteMakefile( + ABSTRACT => "An other Bacula WEB interface", + AUTHOR => "Eric Bollengier ", + NAME => 'Bweb', + VERSION => "lib/Bweb.pm", + + #INST_BIN => "cgi", + # setup your cgi installation + # debian : /usr/lib/cgi-bin/bweb + # redhat/suse : /var/www/cgi-bin/bweb + # + #INSTALLSITEBIN => "/usr/lib/cgi-bin/bweb", +); diff --git a/gui/bweb/bweb/ReleaseNotes b/gui/bweb/bweb/ReleaseNotes new file mode 100644 index 0000000000..82c2a09a2b --- /dev/null +++ b/gui/bweb/bweb/ReleaseNotes @@ -0,0 +1,108 @@ + Release Notes for bweb 2.0 + +2007/01/25 + - Add spanish translation, thanks to Santiago Alberch + +2007/01/15 + - fix do_update_media timeout bug + +2007/01/09 + - fix stats bug on main page + +2007/01/01 + - Add an index.html page on /bweb + +2006/12/31 + - Move /etc/bweb/config to /etc/bacula/bweb.conf + +2006/12/29 + - Add graphical backup view. See INSTALL to enable it. It's usefull + for tuning backup. + NOTES : + - You must use brestore -b to initialise database after BackupCatalog job + - If you have an old installation, you must alter your schema (see INSTALL) + +2006/12/14 + - Add pool filter to job form + +2006/12/12 + - Add More options button to run_job and Start Date field + +2006/12/09 + - Update Copyright + +2006/12/05 + - Add html form filter to media view + +2006/12/04 + - Add mediatype filter to pool view + +2006/11/18 + - Add system log to job log (JobId = 0) + +2006/11/18 + - Add debian package + - Add cgi/bconsole.pl and BwebConsole package to keep bconsole installation and + scp usage on admin workstation. + +2006/11/16 + - Add Comment and RecyclePool to Media Update + +2006/11/13: + - Use LogId instead of Time in get_log function + +2006/10/31: + - remove Purged and Recycle volume size from total pool size + +2006/10/26: + - Fix javascript sort bug + - Add french translation for bweb (template_dir must point to bweb/lang/fr/tpl) + +2006/10/14: + - Fix Mysql bug for pool display #639 + +2006/09/20: + - Fix SQL query for pool display + +2006/09/08: + - Eject media takes Location as Autochanger Name + - Email is now sent when request to move media + +2006/09/06: + - Can delete empty location + - Drop Bconsole::send_cmd_with_drive and use drive= instead + - Use JavaScript to display Human size and time + +2006/08/31: + - Add FileSet view action + - Add view fileset to job_zoom + +2006/08/26: + - Add more graphics + o job avg size/days + o job avg size/hours + o ... + +2006/08/25: + - Cleanup + - Add more graphics + o job/days + o job/hours + o size/days + o size/hours + o ... + +2006/08/24: + - Add Location log to media zoom view + +2006/08/23: + - Add client/media search box (with regexp) + - Add menubar instead of plain menu + - Drop all