]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
11 years agobacula-web: Fixed case on bacula table fields name
Davide Franco [Sun, 26 Jun 2011 17:33:28 +0000 (19:33 +0200)]
bacula-web: Fixed case on bacula table fields name

11 years agobacula-web: Fixed bug in GetStoredBytesByInterval() function
Davide Franco [Sun, 26 Jun 2011 17:24:30 +0000 (19:24 +0200)]
bacula-web: Fixed bug in GetStoredBytesByInterval() function

 - Fixed carriage return in TriggerDBError() function

11 years agobacula-web: Optimized php code in bweb classe
Davide Franco [Sun, 26 Jun 2011 16:16:51 +0000 (18:16 +0200)]
bacula-web: Optimized php code in bweb classe

 - Optimized Get_Pools_List() function in BWeb class
 - Added defautl fetch mode to DB class
 - Optimized code in CountVolumesByPool() function

11 years agobacula-web: Fixed php bugs in Bweb class
Davide Franco [Sun, 26 Jun 2011 15:34:08 +0000 (17:34 +0200)]
bacula-web: Fixed php bugs in Bweb class

 - Added new function TriggerDBError()

11 years agobacula-web: Added connection options and fixed typo in php code
Davide Franco [Sun, 26 Jun 2011 15:00:25 +0000 (17:00 +0200)]
bacula-web: Added connection options and fixed typo in php code

11 years agobacula-web: Two new functions in CErrorHandler php class
Davide Franco [Fri, 24 Jun 2011 16:20:21 +0000 (18:20 +0200)]
bacula-web: Two new functions in CErrorHandler php class

 - TriggerError()
 - SetDebug()

11 years agobacula-web: Fixed typo in construct and destructor classe name function
Davide Franco [Fri, 24 Jun 2011 16:13:51 +0000 (18:13 +0200)]
bacula-web: Fixed typo in construct and destructor classe name function

11 years agobacula-web: New Error handler php class
Davide Franco [Fri, 24 Jun 2011 16:06:02 +0000 (18:06 +0200)]
bacula-web: New Error handler php class

11 years agobacula-web: Added CDB extend to PHP Databases abstraction classes
Davide Franco [Fri, 24 Jun 2011 15:49:58 +0000 (17:49 +0200)]
bacula-web: Added CDB extend to PHP Databases abstraction classes

11 years agobacula-web: Renamed SQLite class php file
Davide Franco [Fri, 24 Jun 2011 15:46:58 +0000 (17:46 +0200)]
bacula-web: Renamed SQLite class php file

11 years agobacula-web: Renamed PostgreSQL class php file
Davide Franco [Fri, 24 Jun 2011 15:46:13 +0000 (17:46 +0200)]
bacula-web: Renamed PostgreSQL class php file

11 years agobacula-web: Renamed MySQL class php file
Davide Franco [Fri, 24 Jun 2011 15:45:10 +0000 (17:45 +0200)]
bacula-web: Renamed MySQL class php file

11 years agobacula-web: New database abstraction classes
Davide Franco [Fri, 24 Jun 2011 15:24:51 +0000 (17:24 +0200)]
bacula-web: New database abstraction classes

11 years agobacula-web: Renamed sqlitedatabase.class.php to sqlite.cdb.class.php
Davide Franco [Fri, 24 Jun 2011 15:08:27 +0000 (17:08 +0200)]
bacula-web: Renamed sqlitedatabase.class.php to sqlite.cdb.class.php

11 years agobacula-web: Removed bugy file sqlite.cdb.class.php
Davide Franco [Fri, 24 Jun 2011 15:07:33 +0000 (17:07 +0200)]
bacula-web: Removed bugy file sqlite.cdb.class.php

11 years agoRenamed sqlitedatabase.class.php to sqlite.cdb.class.php
Davide Franco [Fri, 24 Jun 2011 14:52:09 +0000 (16:52 +0200)]
Renamed sqlitedatabase.class.php to sqlite.cdb.class.php

11 years agoRenamed pgsqldatabase.class.php to pgsql.cdb.class.php
Davide Franco [Fri, 24 Jun 2011 14:51:22 +0000 (16:51 +0200)]
Renamed pgsqldatabase.class.php to pgsql.cdb.class.php

11 years agobacula-web: Renamed mysqldatabase.class.php to mysql.cdb.class.php
Davide Franco [Fri, 24 Jun 2011 14:50:28 +0000 (16:50 +0200)]
bacula-web: Renamed mysqldatabase.class.php to mysql.cdb.class.php

11 years agobacula-web: Renamed database.class.php to cdb.class.php
Davide Franco [Fri, 24 Jun 2011 14:49:34 +0000 (16:49 +0200)]
bacula-web: Renamed database.class.php to cdb.class.php

11 years agobacula-web: Rename php class TimeUtils to CTimeUtils
Davide Franco [Fri, 24 Jun 2011 14:44:59 +0000 (16:44 +0200)]
bacula-web: Rename php class TimeUtils to CTimeUtils

11 years agobacula-web: Renamed timeutils.class.php -> ctimeutils.class.php
Davide Franco [Fri, 24 Jun 2011 13:49:13 +0000 (15:49 +0200)]
bacula-web: Renamed timeutils.class.php -> ctimeutils.class.php

11 years agobacula-web: Renamed php class Utils to CUtils
Davide Franco [Fri, 24 Jun 2011 13:32:36 +0000 (15:32 +0200)]
bacula-web: Renamed php class Utils to CUtils

 - Changed file path in config.inc.php

11 years agobacula-web: Renamed file utils.class.php to cutils.class.php
Davide Franco [Fri, 24 Jun 2011 13:24:38 +0000 (15:24 +0200)]
bacula-web: Renamed file utils.class.php to cutils.class.php

11 years agobacula-web: Renamed database class files
Davide Franco [Wed, 22 Jun 2011 16:35:35 +0000 (18:35 +0200)]
bacula-web: Renamed database class files

11 years agobacula-web: Removed useless variables in Bweb class
Davide Franco [Wed, 22 Jun 2011 16:13:31 +0000 (18:13 +0200)]
bacula-web: Removed useless variables in Bweb class

11 years agobacula-web: Indented and commented php code
Davide Franco [Wed, 22 Jun 2011 15:56:44 +0000 (17:56 +0200)]
bacula-web: Indented and commented php code

11 years agobacula-web: Added odd and even row in job list
Davide Franco [Wed, 22 Jun 2011 15:55:11 +0000 (17:55 +0200)]
bacula-web: Added odd and even row in job list

11 years agobacula-web: Split TimeUtils php class into new file timeutils.class.php
Davide Franco [Wed, 22 Jun 2011 15:43:33 +0000 (17:43 +0200)]
bacula-web: Split TimeUtils php class into new file timeutils.class.php

11 years agobacula-web: Made some code cleanup in index.php
Davide Franco [Wed, 22 Jun 2011 13:27:13 +0000 (15:27 +0200)]
bacula-web: Made some code cleanup in index.php

11 years agobacula-web: php version check added to test page
Davide Franco [Wed, 22 Jun 2011 11:28:23 +0000 (13:28 +0200)]
bacula-web: php version check added to test page

11 years agobacula-web: Added elapsed time column to jobs list
Davide Franco [Tue, 21 Jun 2011 12:30:10 +0000 (14:30 +0200)]
bacula-web: Added elapsed time column to jobs list

11 years agobacula-web: Removed useless code in elapsed time calculation for jobs
Davide Franco [Tue, 21 Jun 2011 12:22:17 +0000 (14:22 +0200)]
bacula-web: Removed useless code in elapsed time calculation for jobs

11 years agobacula-web: Optimized TimeUtils::Get_Elapsed_Time() function
Davide Franco [Tue, 21 Jun 2011 12:21:19 +0000 (14:21 +0200)]
bacula-web: Optimized TimeUtils::Get_Elapsed_Time() function

11 years agobacula-web: Removed useless Get_ElapsedTime() function
Davide Franco [Tue, 21 Jun 2011 11:30:27 +0000 (13:30 +0200)]
bacula-web: Removed useless Get_ElapsedTime() function

11 years agobacula-web: Modified usage of Get_ElapsedTime() function to TimeUtils::Get_Elapsed_Time()
Davide Franco [Tue, 21 Jun 2011 11:28:57 +0000 (13:28 +0200)]
bacula-web: Modified usage of Get_ElapsedTime() function to TimeUtils::Get_Elapsed_Time()

11 years agobacula-web: Fixed variable name in Get_Elapsed_Time() function parameters
Davide Franco [Tue, 21 Jun 2011 11:27:38 +0000 (13:27 +0200)]
bacula-web: Fixed variable name in Get_Elapsed_Time() function parameters

11 years agobacula-web: Removed report page from git branch
Davide Franco [Mon, 20 Jun 2011 17:26:34 +0000 (19:26 +0200)]
bacula-web: Removed report page from git branch

 - The client report page will replace this one

11 years agobacula-web: Removed useless templates files
Davide Franco [Mon, 20 Jun 2011 17:21:26 +0000 (19:21 +0200)]
bacula-web: Removed useless templates files

 - Removed also useless template include in index.tpl

11 years agobacula-web: New client report page created
Davide Franco [Mon, 20 Jun 2011 17:16:45 +0000 (19:16 +0200)]
bacula-web: New client report page created

11 years agobacula-web: New class TimeUtils in utils.class.php module
Davide Franco [Mon, 20 Jun 2011 17:00:51 +0000 (19:00 +0200)]
bacula-web: New class TimeUtils in utils.class.php module

 - A class member function <Get_Elapsed_Time> has been created

11 years agobacula-web: Added static keyword to Utils class function member
Davide Franco [Mon, 20 Jun 2011 16:55:47 +0000 (18:55 +0200)]
bacula-web: Added static keyword to Utils class function member

11 years agobacula-web: Added Start time column in backup job report page
Davide Franco [Mon, 20 Jun 2011 15:51:42 +0000 (17:51 +0200)]
bacula-web: Added Start time column in backup job report page

 - Fixed column width in last 10 jobs list

11 years agobacula-web: Renamed BW_Config PHP class to Config
Davide Franco [Thu, 16 Jun 2011 20:46:43 +0000 (22:46 +0200)]
bacula-web: Renamed BW_Config PHP class to Config

11 years agobacula-web: Added Y axis title in graphs (unit GB)
Davide Franco [Mon, 13 Jun 2011 19:26:04 +0000 (21:26 +0200)]
bacula-web: Added Y axis title in graphs (unit GB)

11 years agobacula-web: New function SetYTitle() in BGraph class
Davide Franco [Mon, 13 Jun 2011 19:25:15 +0000 (21:25 +0200)]
bacula-web: New function SetYTitle() in BGraph class

11 years agobacula-web: Removed useless function Get_ElapsedTime_Job() in bweb.inc.php
Davide Franco [Mon, 13 Jun 2011 18:41:41 +0000 (20:41 +0200)]
bacula-web: Removed useless function Get_ElapsedTime_Job() in bweb.inc.php

11 years agobacula-web: Removed useless human_file_size function from bweb.inc.php
Davide Franco [Mon, 13 Jun 2011 18:21:01 +0000 (20:21 +0200)]
bacula-web: Removed useless human_file_size function from bweb.inc.php

11 years agobacula-web: Replaced Get_human_file_size() function by Utils::Get_Human_Size
Davide Franco [Mon, 13 Jun 2011 18:12:53 +0000 (20:12 +0200)]
bacula-web: Replaced Get_human_file_size() function by Utils::Get_Human_Size

11 years agobacula-web: Added library path of utils.class.php
Davide Franco [Mon, 13 Jun 2011 18:10:59 +0000 (20:10 +0200)]
bacula-web: Added library path of utils.class.php

11 years agobacula-web: New php classe utils.class.php in includes/utils
Davide Franco [Mon, 13 Jun 2011 18:09:44 +0000 (20:09 +0200)]
bacula-web: New php classe utils.class.php in includes/utils

 - This classe contain a new function Get_Human_Size which will replace function in bweb.inc.php

11 years agobacula-web: bug fix with config file existence check
Davide Franco [Mon, 6 Jun 2011 15:52:50 +0000 (17:52 +0200)]
bacula-web: bug fix with config file existence check

 - changed the way of checking if the config file exist and/or is readable

11 years agobacula-web: Added / updated GPL copyright header in php scripts
Davide Franco [Sun, 5 Jun 2011 10:14:56 +0000 (12:14 +0200)]
bacula-web: Added / updated GPL copyright header in php scripts

11 years agobacula-web: Fixed icons filename in test.php
Davide Franco [Thu, 2 Jun 2011 11:43:27 +0000 (13:43 +0200)]
bacula-web: Fixed icons filename in test.php

11 years agobacula-web: Renammed config filename and updated gitignore file
Davide Franco [Thu, 2 Jun 2011 11:38:13 +0000 (13:38 +0200)]
bacula-web: Renammed config filename and updated gitignore file

 - updated content of config.php.sample
 - updated content of gitignore which exclude now config/config.php also

11 years agobacula-web: Moved gitignore file fom templates_c to root directory
Davide Franco [Thu, 2 Jun 2011 11:29:46 +0000 (13:29 +0200)]
bacula-web: Moved gitignore file fom templates_c to root directory

11 years agobacula-web: Replaced job status code by constants
Davide Franco [Fri, 27 May 2011 16:50:13 +0000 (18:50 +0200)]
bacula-web: Replaced job status code by constants

11 years agobacula-web: new icons file in style/images folder
Davide Franco [Fri, 27 May 2011 16:36:25 +0000 (18:36 +0200)]
bacula-web: new icons file in style/images folder

11 years agobacula-web: Added job status code constant
Davide Franco [Fri, 27 May 2011 16:33:40 +0000 (18:33 +0200)]
bacula-web: Added job status code constant

11 years agobacula-web: Changed icons apparence and filename for jobs page
Davide Franco [Fri, 27 May 2011 16:33:10 +0000 (18:33 +0200)]
bacula-web: Changed icons apparence and filename for jobs page

 - New icon for jobs with status "completed with errors"
 - Changed icon for jobs status "Fatal error"
 - Renammed some icons file and removed useless

11 years agobacula-web: some php code cleanup in backupjob-report.php
Davide Franco [Tue, 10 May 2011 16:04:44 +0000 (18:04 +0200)]
bacula-web: some php code cleanup in backupjob-report.php

11 years agobacula-web: Fixed some html code in index.tpl template
Davide Franco [Mon, 9 May 2011 15:18:36 +0000 (17:18 +0200)]
bacula-web: Fixed some html code in index.tpl template

 - Added content to translate also

11 years agobacula-web: Renamed GetPoolsStatistics() function to CountVolumesByPool() in includes...
Davide Franco [Mon, 9 May 2011 15:06:23 +0000 (17:06 +0200)]
bacula-web: Renamed GetPoolsStatistics() function to CountVolumesByPool() in includes/bweb.inc.php

11 years agobacula-web: Merged bytes and files graph in the same boxe
Davide Franco [Fri, 6 May 2011 16:12:53 +0000 (18:12 +0200)]
bacula-web: Merged bytes and files graph in the same boxe

11 years agobacula-web: css improved and dashboard customisation
Davide Franco [Tue, 3 May 2011 16:50:39 +0000 (18:50 +0200)]
bacula-web: css improved and dashboard customisation

 - cleaned css file
 - changed colors for main dashboard
 - cleaned html code in index.tpl

11 years agobacula-web: php code cleanup in includes/bweb.inc.php
Davide Franco [Thu, 31 Mar 2011 16:39:31 +0000 (18:39 +0200)]
bacula-web: php code cleanup in includes/bweb.inc.php

 - Remove useless php code
 - Fixed some typo in GetDbSize() function
 - Removed useless require_once instruction
 - Removed copyright

11 years agobacula-web: Changed classes folder name to includes
Davide Franco [Tue, 29 Mar 2011 08:36:52 +0000 (10:36 +0200)]
bacula-web: Changed classes folder name to includes

11 years agobacula-web: Renammed some php filename's under classes folder
Davide Franco [Thu, 24 Mar 2011 16:17:05 +0000 (17:17 +0100)]
bacula-web: Renammed some php filename's under classes folder

11 years agobacula-web: Removed useless functions in bweb php classe
Davide Franco [Wed, 23 Mar 2011 16:24:43 +0000 (17:24 +0100)]
bacula-web: Removed useless functions in bweb php classe

 - Made also some code cleanup

11 years agobacula-web: Enabled catalog selection in header template
Davide Franco [Wed, 23 Mar 2011 15:47:44 +0000 (16:47 +0100)]
bacula-web: Enabled catalog selection in header template

 - ability to choose which catalog to use (when more than 1 catalog areconfigured)
 - some php code cleanup in index.php

11 years agobacula-web: New function Get_Catalogs() in BW_Config classe
Davide Franco [Wed, 23 Mar 2011 15:44:01 +0000 (16:44 +0100)]
bacula-web: New function Get_Catalogs() in BW_Config classe

 - Used in header template to generate option list of catalogs

11 years agobacula-web: Major change with bacula-web configuration
Davide Franco [Wed, 23 Mar 2011 11:14:36 +0000 (12:14 +0100)]
bacula-web: Major change with bacula-web configuration

 - Renammed bacula.conf to config.php
 - bacula-web configuration file is now a php script (more simple)
 - BW_Config php class was adapted regarding this change
 - Multi catalog support has been improved in bweb php classe

11 years agocula-web: Renamed configs folder to config
Davide Franco [Tue, 22 Mar 2011 16:48:05 +0000 (17:48 +0100)]
cula-web: Renamed configs folder to config

 - Changed path in config.inc.php

11 years agobacula-web: Removed useless variable $db_dsn in bweb classe
Davide Franco [Tue, 22 Mar 2011 16:28:14 +0000 (17:28 +0100)]
bacula-web: Removed useless variable $db_dsn in bweb classe

11 years agobacula-web: Removed useless variable $dbs_name in bweb classe
Davide Franco [Tue, 22 Mar 2011 16:23:12 +0000 (17:23 +0100)]
bacula-web: Removed useless variable $dbs_name in bweb classe

11 years agobacula-web: Moved config stuff to classes/cfg/config.classe.php
Davide Franco [Tue, 22 Mar 2011 16:18:30 +0000 (17:18 +0100)]
bacula-web: Moved config stuff to classes/cfg/config.classe.php

 - Changed config file loading in bweb constructor
 - Made more simple to load catalogs parameters (with multiple catalogs)
 - Made some php code cleanup

11 years agobacula-web: New classe BW_Config in config.classe.php
Davide Franco [Tue, 22 Mar 2011 14:53:47 +0000 (15:53 +0100)]
bacula-web: New classe BW_Config in config.classe.php

11 years agobacula-web: Moved bweb.inc.php into classes folder
Davide Franco [Tue, 22 Mar 2011 13:58:47 +0000 (14:58 +0100)]
bacula-web: Moved bweb.inc.php into classes folder

 - Changed include path in config.inc.php and all other scripts

11 years agobacula-web: Removed useless and old php code in bgraph.inc.php
Davide Franco [Tue, 22 Mar 2011 13:36:24 +0000 (14:36 +0100)]
bacula-web: Removed useless and old php code in bgraph.inc.php

11 years agobacula-web: Added constant for config file path
Davide Franco [Tue, 22 Mar 2011 13:35:34 +0000 (14:35 +0100)]
bacula-web: Added constant for config file path

 - Changed constant usage in bweb classe constructor

11 years agobacula-web: Moved external_packages folder to classes/external
Davide Franco [Tue, 22 Mar 2011 13:26:32 +0000 (14:26 +0100)]
bacula-web: Moved external_packages folder to classes/external

 - Changed path in config.inc.php

11 years agobacula-web: Removed overlib from external_packages and html templates
Davide Franco [Tue, 22 Mar 2011 13:19:58 +0000 (14:19 +0100)]
bacula-web: Removed overlib from external_packages and html templates

 - Will be replaced by mootools tooltip

11 years agobacula-web: New images files in style/images folder
Davide Franco [Mon, 21 Mar 2011 18:16:33 +0000 (19:16 +0100)]
bacula-web: New images files in style/images folder

11 years agobacula-web: Removed useless .gitignore file in main folder
Davide Franco [Mon, 21 Mar 2011 18:13:42 +0000 (19:13 +0100)]
bacula-web: Removed useless .gitignore file in main folder

11 years agobacula-web: Moved bgraph.inc.php into classes/graph folder
Davide Franco [Mon, 21 Mar 2011 18:10:58 +0000 (19:10 +0100)]
bacula-web: Moved bgraph.inc.php into classes/graph folder

11 years agobacula-web: Created directory and files for new classes definitions
Davide Franco [Mon, 21 Mar 2011 18:03:58 +0000 (19:03 +0100)]
bacula-web: Created directory and files for new classes definitions

11 years agobacula-web: Improved config.inc.php
Davide Franco [Mon, 21 Mar 2011 17:56:45 +0000 (18:56 +0100)]
bacula-web: Improved config.inc.php

 - Using constant instead of variable for include paths
 - Automatic detection of bacula-web installation path
 - Adapted include in index.php and bweb.inc.php

11 years agobacula-web: Removed unused icons in images folder
Davide Franco [Mon, 21 Mar 2011 16:44:29 +0000 (17:44 +0100)]
bacula-web: Removed unused icons in images folder

11 years agobacula-web: Removed useless elements from bacula-web config file
Davide Franco [Fri, 18 Mar 2011 16:32:10 +0000 (17:32 +0100)]
bacula-web: Removed useless elements from bacula-web config file

11 years agobacula-web: Removed paths.php from git
Davide Franco [Fri, 18 Mar 2011 13:35:01 +0000 (14:35 +0100)]
bacula-web: Removed paths.php from git

 - Removed paths.php file from git and moved his content in config.inc.php
 - Made some code cleanup
 - Adapted includes in all php script after this change

11 years agobacula-web: Removed utils folder and his content from git
Davide Franco [Thu, 17 Mar 2011 18:39:37 +0000 (19:39 +0100)]
bacula-web: Removed utils folder and his content from git

 - Removed the folder utils and his content (already in external_packages/smarty-gettext folder

11 years agobacula-web: Modified internal php code for smarty classe instance name
Davide Franco [Thu, 17 Mar 2011 18:29:29 +0000 (19:29 +0100)]
bacula-web: Modified internal php code for smarty classe instance name

11 years agobacula-web: Removed useless lang.php file
Davide Franco [Thu, 17 Mar 2011 18:13:25 +0000 (19:13 +0100)]
bacula-web: Removed useless lang.php file

 - Removed include in all php script for lang.php
 - Removed lang.php file from git repo

11 years agobacula-web: Several improvments with php code
Davide Franco [Thu, 17 Mar 2011 18:08:35 +0000 (19:08 +0100)]
bacula-web: Several improvments with php code

 - Integrated php gettext init in bweb classe
 - Removed useless declaration in index.php
 - Smarty classe declaration now in bweb classe
 - Adapted php code in index.php for new smarty classe instance name

11 years agobacula-web: PHP code cleanup in bweb.inc.php
Davide Franco [Thu, 17 Mar 2011 16:55:34 +0000 (17:55 +0100)]
bacula-web: PHP code cleanup in bweb.inc.php

11 years agobacula-web: Removed useless stats.php script form git
Davide Franco [Thu, 17 Mar 2011 16:40:11 +0000 (17:40 +0100)]
bacula-web: Removed useless stats.php script form git

11 years agobacula-web: Removed useless array_fill.func.php file
Davide Franco [Thu, 17 Mar 2011 16:37:38 +0000 (17:37 +0100)]
bacula-web: Removed useless array_fill.func.php file

 - Removed include in bweb.inc.php
 - Removed file array_fill.func.php from git

11 years agobacula-web: Added Custom report form to main dashboard (index.tpl)
Davide Franco [Thu, 17 Mar 2011 16:06:14 +0000 (17:06 +0100)]
bacula-web: Added Custom report form to main dashboard (index.tpl)

11 years agobacula-web: Test page improvments
Davide Franco [Wed, 16 Mar 2011 17:48:41 +0000 (18:48 +0100)]
bacula-web: Test page improvments

 - PHP - MySQL support check added
 - PHP - PostgreSQL support check added
 - HTML and css fixes

11 years agobacula-web: Removed useless template file last_run_report.tpl
Davide Franco [Mon, 14 Mar 2011 18:05:30 +0000 (19:05 +0100)]
bacula-web: Removed useless template file last_run_report.tpl

11 years agobacula-web: Changed title of graph in main dashboard
Davide Franco [Mon, 14 Mar 2011 18:03:57 +0000 (19:03 +0100)]
bacula-web: Changed title of graph in main dashboard

 - Changed title and added legend for stored bytes in maindashboard