From: Marcin Haba Date: Tue, 10 Dec 2019 19:44:30 +0000 (+0100) Subject: baculum: Tweak add information about scripts X-Git-Tag: Release-9.6.0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdd3afc78d53fec4bead865e115145951668bf61;p=thirdparty%2Fbacula.git baculum: Tweak add information about scripts --- diff --git a/gui/baculum/protected/API/Class/APIConfig.php b/gui/baculum/protected/API/Class/APIConfig.php index ddcd7fda4..50543c5d8 100644 --- a/gui/baculum/protected/API/Class/APIConfig.php +++ b/gui/baculum/protected/API/Class/APIConfig.php @@ -27,6 +27,8 @@ Prado::using('Application.Common.Class.ConfigFileModule'); * Module is responsible for get/set API config data. * * @author Marcin Haba + * @category Config + * @package Baculum API */ class APIConfig extends ConfigFileModule { diff --git a/gui/baculum/protected/API/Class/APIDbModule.php b/gui/baculum/protected/API/Class/APIDbModule.php index 63c25dc10..8c191f7fd 100644 --- a/gui/baculum/protected/API/Class/APIDbModule.php +++ b/gui/baculum/protected/API/Class/APIDbModule.php @@ -20,19 +20,20 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ -/** - * Base API database module. - * Every API module that use database connection should inherit this class. - * - * @author Marcin Haba - */ - Prado::using('Application.Common.Class.Errors'); Prado::using('Application.API.Class.APIConfig'); Prado::using('Application.API.Class.BAPIException'); Prado::using('Application.API.Class.Database'); Prado::using('System.Data.ActiveRecord.TActiveRecord'); +/** + * Base API database module. + * Every API module that use database connection should inherit this class. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class APIDbModule extends TActiveRecord { /** diff --git a/gui/baculum/protected/API/Class/APIModule.php b/gui/baculum/protected/API/Class/APIModule.php index 62080e385..4a9d3300d 100644 --- a/gui/baculum/protected/API/Class/APIModule.php +++ b/gui/baculum/protected/API/Class/APIModule.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,8 @@ Prado::using('System.TModule'); * Every API module should inherit this abstraction. * * @author Marcin Haba + * @category Module + * @package Baculum API */ abstract class APIModule extends TModule { diff --git a/gui/baculum/protected/API/Class/APIUrlMapping.php b/gui/baculum/protected/API/Class/APIUrlMapping.php index 5d4ba9c2a..a33ffec7f 100644 --- a/gui/baculum/protected/API/Class/APIUrlMapping.php +++ b/gui/baculum/protected/API/Class/APIUrlMapping.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('System.Web.TUrlMapping'); +/** + * Extension default URL mapper for API. + * + * @author Marcin Haba + * @category URL + * @package Baculum API + */ class APIUrlMapping extends TUrlMappingPattern { const SERVICE_ID = 'api'; diff --git a/gui/baculum/protected/API/Class/BAPIException.php b/gui/baculum/protected/API/Class/BAPIException.php index 9ff96b3d7..8ec63d348 100644 --- a/gui/baculum/protected/API/Class/BAPIException.php +++ b/gui/baculum/protected/API/Class/BAPIException.php @@ -22,6 +22,13 @@ Prado::using('Application.Common.Class.BException'); +/** + * API exceptions. + * + * @author Marcin Haba + * @category Exception + * @package Baculum API + */ class BAPIException extends BException { } diff --git a/gui/baculum/protected/API/Class/BList.php b/gui/baculum/protected/API/Class/BList.php index 5890dbc6f..cd102cff2 100644 --- a/gui/baculum/protected/API/Class/BList.php +++ b/gui/baculum/protected/API/Class/BList.php @@ -25,6 +25,10 @@ Prado::using('Application.API.Class.APIModule'); /** * Tools used to show list files command output. + * + * @author Marcin Haba + * @category Module + * @package Baculum API */ class BList extends APIModule { diff --git a/gui/baculum/protected/API/Class/BaculaConfig.php b/gui/baculum/protected/API/Class/BaculaConfig.php index ed0ec050a..49278af5b 100644 --- a/gui/baculum/protected/API/Class/BaculaConfig.php +++ b/gui/baculum/protected/API/Class/BaculaConfig.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -26,6 +26,8 @@ Prado::using('Application.Common.Class.ConfigFileModule'); * Manage Bacula configuration. * * @author Marcin Haba + * @category Config + * @package Baculum API */ class BaculaConfig extends ConfigFileModule { diff --git a/gui/baculum/protected/API/Class/BaculaSetting.php b/gui/baculum/protected/API/Class/BaculaSetting.php index 887b6c129..650caedd4 100644 --- a/gui/baculum/protected/API/Class/BaculaSetting.php +++ b/gui/baculum/protected/API/Class/BaculaSetting.php @@ -30,6 +30,8 @@ Prado::using('Application.API.Class.APIConfig'); * Read/write Bacula configuration. * * @author Marcin Haba + * @category Config + * @package Baculum API */ class BaculaSetting extends APIModule { diff --git a/gui/baculum/protected/API/Class/BaculumAPIPage.php b/gui/baculum/protected/API/Class/BaculumAPIPage.php index 3cf84f466..f6d974464 100644 --- a/gui/baculum/protected/API/Class/BaculumAPIPage.php +++ b/gui/baculum/protected/API/Class/BaculumAPIPage.php @@ -25,7 +25,14 @@ session_start(); Prado::using('Application.API.Pages.Requirements'); Prado::using('Application.Common.Class.BaculumPage'); Prado::using('Application.API.Class.APIConfig'); - + +/** + * Main API pages class. + * + * @author Marcin Haba + * @category Page + * @package Baculum API + */ class BaculumAPIPage extends BaculumPage { public function onPreInit($param) { diff --git a/gui/baculum/protected/API/Class/BaculumAPIServer.php b/gui/baculum/protected/API/Class/BaculumAPIServer.php index 4865791aa..bf567931f 100644 --- a/gui/baculum/protected/API/Class/BaculumAPIServer.php +++ b/gui/baculum/protected/API/Class/BaculumAPIServer.php @@ -35,6 +35,8 @@ Prado::using('Application.API.Class.OAuth2.TokenRecord'); * The module contains methods that are common for all API pages. * * @author Marcin Haba + * @category API + * @package Baculum API */ abstract class BaculumAPIServer extends TPage { diff --git a/gui/baculum/protected/API/Class/BasicAPIUserConfig.php b/gui/baculum/protected/API/Class/BasicAPIUserConfig.php index d6bae9050..6f040891e 100644 --- a/gui/baculum/protected/API/Class/BasicAPIUserConfig.php +++ b/gui/baculum/protected/API/Class/BasicAPIUserConfig.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -26,6 +26,8 @@ Prado::using('Application.Common.Class.BasicUserConfig'); * Manage HTTP Basic auth method users. * * @author Marcin Haba + * @category Config + * @package Baculum API */ class BasicAPIUserConfig extends BasicUserConfig { diff --git a/gui/baculum/protected/API/Class/Bconsole.php b/gui/baculum/protected/API/Class/Bconsole.php index 690b02daf..cd1575014 100644 --- a/gui/baculum/protected/API/Class/Bconsole.php +++ b/gui/baculum/protected/API/Class/Bconsole.php @@ -24,6 +24,13 @@ Prado::using('Application.Common.Class.Errors'); Prado::using('Application.API.Class.BAPIException'); Prado::using('Application.API.Class.APIModule'); +/** + * Execute bconsole module. + * + * @author Marcin Haba + * @category Bconsole + * @package Baculum API + */ class Bconsole extends APIModule { const SUDO = 'sudo'; diff --git a/gui/baculum/protected/API/Class/ClientManager.php b/gui/baculum/protected/API/Class/ClientManager.php index 8adffaca3..dac65d94e 100644 --- a/gui/baculum/protected/API/Class/ClientManager.php +++ b/gui/baculum/protected/API/Class/ClientManager.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('Application.API.Class.APIModule'); Prado::using('Application.API.Class.ClientRecord'); +/** + * Client manager module. + * + * @author Marcin Haba + * @category Module + * @package Baculum API + */ class ClientManager extends APIModule { public function getClients($limit) { diff --git a/gui/baculum/protected/API/Class/ClientRecord.php b/gui/baculum/protected/API/Class/ClientRecord.php index 62167a974..a3d6aab23 100644 --- a/gui/baculum/protected/API/Class/ClientRecord.php +++ b/gui/baculum/protected/API/Class/ClientRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.APIDbModule'); +/** + * Client active record module. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class ClientRecord extends APIDbModule { const TABLE = 'Client'; @@ -36,4 +43,4 @@ class ClientRecord extends APIDbModule { return parent::finder($className); } } -?> \ No newline at end of file +?> diff --git a/gui/baculum/protected/API/Class/ComponentActions.php b/gui/baculum/protected/API/Class/ComponentActions.php index baaf0d57d..f7ff0257a 100644 --- a/gui/baculum/protected/API/Class/ComponentActions.php +++ b/gui/baculum/protected/API/Class/ComponentActions.php @@ -25,6 +25,10 @@ Prado::using('Application.Common.Class.Errors'); /** * Module responsible for executing action commands. + * + * @author Marcin Haba + * @category Module + * @package Baculum API */ class ComponentActions extends APIModule { diff --git a/gui/baculum/protected/API/Class/ComponentStatusModule.php b/gui/baculum/protected/API/Class/ComponentStatusModule.php index 943599c74..19cc3d4ba 100644 --- a/gui/baculum/protected/API/Class/ComponentStatusModule.php +++ b/gui/baculum/protected/API/Class/ComponentStatusModule.php @@ -25,6 +25,10 @@ Prado::using('Application.API.Class.APIModule'); /** * Base abstract class to inherit commonly used method * in work with component status. + * + * @author Marcin Haba + * @category Module + * @package Baculum API */ abstract class ComponentStatusModule extends APIModule { diff --git a/gui/baculum/protected/API/Class/ConsoleOutputPage.php b/gui/baculum/protected/API/Class/ConsoleOutputPage.php index 53aaa2bda..2c8a8d39d 100644 --- a/gui/baculum/protected/API/Class/ConsoleOutputPage.php +++ b/gui/baculum/protected/API/Class/ConsoleOutputPage.php @@ -22,6 +22,10 @@ /** * Get console output page. + * + * @author Marcin Haba + * @category API + * @package Baculum API */ abstract class ConsoleOutputPage extends BaculumAPIServer { diff --git a/gui/baculum/protected/API/Class/Database.php b/gui/baculum/protected/API/Class/Database.php index 4e608db3c..738932668 100644 --- a/gui/baculum/protected/API/Class/Database.php +++ b/gui/baculum/protected/API/Class/Database.php @@ -25,6 +25,13 @@ Prado::using('Application.API.Class.BAPIException'); Prado::using('Application.API.Class.APIModule'); Prado::using('Application.API.Class.APIDbModule'); +/** + * Database module. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class Database extends APIModule { public $ID; diff --git a/gui/baculum/protected/API/Class/FileSetManager.php b/gui/baculum/protected/API/Class/FileSetManager.php index 22328bfd4..337317c17 100644 --- a/gui/baculum/protected/API/Class/FileSetManager.php +++ b/gui/baculum/protected/API/Class/FileSetManager.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('Application.API.Class.APIModule'); Prado::using('Application.API.Class.FileSetRecord'); +/** + * FileSet manager module. + * + * @author Marcin Haba + * @category Module + * @package Baculum API + */ class FileSetManager extends APIModule { public function getFileSets($limit) { diff --git a/gui/baculum/protected/API/Class/FileSetRecord.php b/gui/baculum/protected/API/Class/FileSetRecord.php index 4fe756612..52dc2310c 100644 --- a/gui/baculum/protected/API/Class/FileSetRecord.php +++ b/gui/baculum/protected/API/Class/FileSetRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,7 +22,15 @@ Prado::using('Application.API.Class.APIDbModule'); +/** + * FileSet record module. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class FileSetRecord extends APIDbModule { + const TABLE = 'FileSet'; public $filesetid; @@ -34,4 +42,4 @@ class FileSetRecord extends APIDbModule { return parent::finder($className); } } -?> \ No newline at end of file +?> diff --git a/gui/baculum/protected/API/Class/JSONTools.php b/gui/baculum/protected/API/Class/JSONTools.php index 9b456c6bd..ac7311922 100644 --- a/gui/baculum/protected/API/Class/JSONTools.php +++ b/gui/baculum/protected/API/Class/JSONTools.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,8 @@ Prado::using('Application.Common.Class.Errors'); * Bacula JSON tools manager. * * @author Marcin Haba + * @category Module + * @package Baculum API */ class JSONTools extends APIModule { diff --git a/gui/baculum/protected/API/Class/JobManager.php b/gui/baculum/protected/API/Class/JobManager.php index 61fcf80d8..18e950a79 100644 --- a/gui/baculum/protected/API/Class/JobManager.php +++ b/gui/baculum/protected/API/Class/JobManager.php @@ -24,6 +24,13 @@ Prado::using('Application.API.Class.APIModule'); Prado::using('Application.API.Class.JobRecord'); Prado::using('Application.API.Class.Database'); +/** + * Job manager module. + * + * @author Marcin Haba + * @category Module + * @package Baculum API + */ class JobManager extends APIModule { public function getJobs($limit, $params = array()) { diff --git a/gui/baculum/protected/API/Class/JobRecord.php b/gui/baculum/protected/API/Class/JobRecord.php index 768f4705c..3645a6799 100644 --- a/gui/baculum/protected/API/Class/JobRecord.php +++ b/gui/baculum/protected/API/Class/JobRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.APIDbModule'); +/** + * Job record module. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class JobRecord extends APIDbModule { const TABLE = 'Job'; @@ -58,4 +65,4 @@ class JobRecord extends APIDbModule { return parent::finder($className); } } -?> \ No newline at end of file +?> diff --git a/gui/baculum/protected/API/Class/LogManager.php b/gui/baculum/protected/API/Class/LogManager.php index ef4e138f6..49a2ac22e 100644 --- a/gui/baculum/protected/API/Class/LogManager.php +++ b/gui/baculum/protected/API/Class/LogManager.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('Application.API.Class.APIModule'); Prado::using('Application.API.Class.LogRecord'); +/** + * Log manager module. + * + * @author Marcin Haba + * @category Module + * @package Baculum API + */ class LogManager extends APIModule { public function getLogByJobId($jobid) { diff --git a/gui/baculum/protected/API/Class/LogRecord.php b/gui/baculum/protected/API/Class/LogRecord.php index 679405338..bf113b0f7 100644 --- a/gui/baculum/protected/API/Class/LogRecord.php +++ b/gui/baculum/protected/API/Class/LogRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.APIDbModule'); +/** + * Log record module. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class LogRecord extends APIDbModule { const TABLE = 'Log'; diff --git a/gui/baculum/protected/API/Class/Ls.php b/gui/baculum/protected/API/Class/Ls.php index ce8c130d8..af431e6b5 100644 --- a/gui/baculum/protected/API/Class/Ls.php +++ b/gui/baculum/protected/API/Class/Ls.php @@ -23,6 +23,13 @@ Prado::using('Application.API.Class.APIModule'); +/** + * Ls command module. + * + * @author Marcin Haba + * @category Module + * @package Baculum API + */ class Ls extends APIModule { const LS_OUTPUT_PATTERN = '/^(?P[a-z\-\.]+)\s+(?P\d+)\s+(?P\w+)\s+(?P\w+)\s+(?P\d+)\s+(?P[\d\-]+\s+[\d:]+)\s+(?P(?U:[\S\s]+))(?P(?(?=\s+\-\>\s+)[\S\s]*))$/i'; diff --git a/gui/baculum/protected/API/Class/OAuth2/AuthIdManager.php b/gui/baculum/protected/API/Class/OAuth2/AuthIdManager.php index 3cc4793bd..0ca7705e4 100644 --- a/gui/baculum/protected/API/Class/OAuth2/AuthIdManager.php +++ b/gui/baculum/protected/API/Class/OAuth2/AuthIdManager.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -26,10 +26,10 @@ Prado::using('Application.API.Class.APIModule'); /** * Manager for authorization identifiers (authorization codes). * - * @category OAuth2 - * @package Baculum + * @author Marcin Haba + * @category Authorization + * @package Baculum API */ - class AuthIdManager extends APIModule { /** diff --git a/gui/baculum/protected/API/Class/OAuth2/AuthIdRecord.php b/gui/baculum/protected/API/Class/OAuth2/AuthIdRecord.php index f6055f696..7c402d4b1 100644 --- a/gui/baculum/protected/API/Class/OAuth2/AuthIdRecord.php +++ b/gui/baculum/protected/API/Class/OAuth2/AuthIdRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -26,10 +26,10 @@ Prado::using('Application.Common.Class.SessionRecord'); /** * Get/set OAuth2 auth identifier. * - * @category OAuth2 - * @package Baculum + * @author Marcin Haba + * @category Authorization + * @package Baculum API */ - class AuthIdRecord extends SessionRecord implements SessionItem { public $auth_id; diff --git a/gui/baculum/protected/API/Class/OAuth2/BaculumOAuth2.php b/gui/baculum/protected/API/Class/OAuth2/BaculumOAuth2.php index 43c2dfc32..2b739a801 100644 --- a/gui/baculum/protected/API/Class/OAuth2/BaculumOAuth2.php +++ b/gui/baculum/protected/API/Class/OAuth2/BaculumOAuth2.php @@ -20,13 +20,15 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ -/** - * @category OAuth2 - * @package Baculum - */ - Prado::using('Application.Common.Class.OAuth2'); +/** + * Baculum API specific module with generic methods to support OAuth2. + * + * @author Marcin Haba + * @category Authorization + * @package Baculum API + */ class BaculumOAuth2 extends OAuth2 { /** diff --git a/gui/baculum/protected/API/Class/OAuth2/OAuth2Config.php b/gui/baculum/protected/API/Class/OAuth2/OAuth2Config.php index 6088bb5b4..ccafc8d52 100644 --- a/gui/baculum/protected/API/Class/OAuth2/OAuth2Config.php +++ b/gui/baculum/protected/API/Class/OAuth2/OAuth2Config.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,8 @@ Prado::using('Application.Common.Class.ConfigFileModule'); * Module is responsible for get/set OAuth2 client config data. * * @author Marcin Haba + * @category Authorization + * @package Baculum API */ class OAuth2Config extends ConfigFileModule { diff --git a/gui/baculum/protected/API/Class/OAuth2/TokenManager.php b/gui/baculum/protected/API/Class/OAuth2/TokenManager.php index 62985ff3b..cb939fdbc 100644 --- a/gui/baculum/protected/API/Class/OAuth2/TokenManager.php +++ b/gui/baculum/protected/API/Class/OAuth2/TokenManager.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -26,10 +26,10 @@ Prado::using('Application.API.Class.APIModule'); /** * Manager for tokens. * + * @author Marcin Haba * @category Authorization - * @package Baculum + * @package Baculum API */ - class TokenManager extends APIModule { /** diff --git a/gui/baculum/protected/API/Class/OAuth2/TokenRecord.php b/gui/baculum/protected/API/Class/OAuth2/TokenRecord.php index 7495cec0b..7f5dd0886 100644 --- a/gui/baculum/protected/API/Class/OAuth2/TokenRecord.php +++ b/gui/baculum/protected/API/Class/OAuth2/TokenRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -24,10 +24,12 @@ Prado::using('Application.Common.Class.Interfaces'); Prado::using('Application.Common.Class.SessionRecord'); /** - * @category Database + * Module to store tokens as session record. + * + * @author Marcin Haba + * @category Authorization * @package Baculum */ - class TokenRecord extends SessionRecord implements SessionItem { public $access_token; diff --git a/gui/baculum/protected/API/Class/OAuthUrlMapping.php b/gui/baculum/protected/API/Class/OAuthUrlMapping.php index 80e343fe0..e294763cc 100644 --- a/gui/baculum/protected/API/Class/OAuthUrlMapping.php +++ b/gui/baculum/protected/API/Class/OAuthUrlMapping.php @@ -22,6 +22,13 @@ Prado::using('System.Web.TUrlMapping'); +/** + * Extension default URL mapper for OAuth2. + * + * @author Marcin Haba + * @category URL + * @package Baculum API + */ class OAuthUrlMapping extends TUrlMappingPattern { const SERVICE_ID = 'oauth'; diff --git a/gui/baculum/protected/API/Class/PanelUrlMapping.php b/gui/baculum/protected/API/Class/PanelUrlMapping.php index f6c7b8db6..6a874d9ba 100644 --- a/gui/baculum/protected/API/Class/PanelUrlMapping.php +++ b/gui/baculum/protected/API/Class/PanelUrlMapping.php @@ -22,6 +22,13 @@ Prado::using('System.Web.TUrlMapping'); +/** + * Extension default URL mapper for Panel. + * + * @author Marcin Haba + * @category URL + * @package Baculum API + */ class PanelUrlMapping extends TUrlMappingPattern { const SERVICE_ID = 'panel'; diff --git a/gui/baculum/protected/API/Class/PoolManager.php b/gui/baculum/protected/API/Class/PoolManager.php index 8ac49da21..b53c2a22d 100644 --- a/gui/baculum/protected/API/Class/PoolManager.php +++ b/gui/baculum/protected/API/Class/PoolManager.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -24,6 +24,13 @@ Prado::using('Application.API.Class.APIModule'); Prado::using('Application.API.Class.PoolRecord'); Prado::using('Application.API.Class.Database'); +/** + * Pool manager module. + * + * @author Marcin Haba + * @category Module + * @package Baculum API + */ class PoolManager extends APIModule { public function getPools($limit) { $criteria = new TActiveRecordCriteria; diff --git a/gui/baculum/protected/API/Class/PoolRecord.php b/gui/baculum/protected/API/Class/PoolRecord.php index 154da7497..e3f5beddd 100644 --- a/gui/baculum/protected/API/Class/PoolRecord.php +++ b/gui/baculum/protected/API/Class/PoolRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.APIDbModule'); +/** + * Pool record module. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class PoolRecord extends APIDbModule { const TABLE = 'Pool'; diff --git a/gui/baculum/protected/API/Class/StatusClient.php b/gui/baculum/protected/API/Class/StatusClient.php index e44724dcf..ece87ecf9 100644 --- a/gui/baculum/protected/API/Class/StatusClient.php +++ b/gui/baculum/protected/API/Class/StatusClient.php @@ -24,6 +24,10 @@ Prado::using('Application.API.Class.ComponentStatusModule'); /** * Module used to get and parse client status output. + * + * @author Marcin Haba + * @category Status + * @package Baculum API */ class StatusClient extends ComponentStatusModule { diff --git a/gui/baculum/protected/API/Class/StatusDirector.php b/gui/baculum/protected/API/Class/StatusDirector.php index 6d2a77b9f..30394ba6c 100644 --- a/gui/baculum/protected/API/Class/StatusDirector.php +++ b/gui/baculum/protected/API/Class/StatusDirector.php @@ -25,6 +25,10 @@ Prado::using('Application.API.Class.ComponentStatusModule'); /** * Module used to parse and prepare director status output. + * + * @author Marcin Haba + * @category Status + * @package Baculum API */ class StatusDirector extends ComponentStatusModule { diff --git a/gui/baculum/protected/API/Class/StatusStorage.php b/gui/baculum/protected/API/Class/StatusStorage.php index ebbff12bf..085ef09e7 100644 --- a/gui/baculum/protected/API/Class/StatusStorage.php +++ b/gui/baculum/protected/API/Class/StatusStorage.php @@ -24,6 +24,10 @@ Prado::using('Application.API.Class.ComponentStatusModule'); /** * Module used to get and parse storage status output. + * + * @author Marcin Haba + * @category Status + * @package Baculum API */ class StatusStorage extends ComponentStatusModule { diff --git a/gui/baculum/protected/API/Class/StorageManager.php b/gui/baculum/protected/API/Class/StorageManager.php index 2c0b78a98..b7bd43cbc 100644 --- a/gui/baculum/protected/API/Class/StorageManager.php +++ b/gui/baculum/protected/API/Class/StorageManager.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('Application.API.Class.APIModule'); Prado::using('Application.API.Class.StorageRecord'); +/** + * Storage manager module. + * + * @author Marcin Haba + * @category Module + * @package Baculum API + */ class StorageManager extends APIModule { public function getStorages($limit) { diff --git a/gui/baculum/protected/API/Class/StorageRecord.php b/gui/baculum/protected/API/Class/StorageRecord.php index 4e21e3a79..08f2127d3 100644 --- a/gui/baculum/protected/API/Class/StorageRecord.php +++ b/gui/baculum/protected/API/Class/StorageRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.APIDbModule'); +/** + * Storage record module. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class StorageRecord extends APIDbModule { const TABLE = 'Storage'; diff --git a/gui/baculum/protected/API/Class/VersionManager.php b/gui/baculum/protected/API/Class/VersionManager.php index f79f66d6c..c4f0eda97 100644 --- a/gui/baculum/protected/API/Class/VersionManager.php +++ b/gui/baculum/protected/API/Class/VersionManager.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('Application.API.Class.APIModule'); Prado::using('Application.API.Class.VersionRecord'); +/** + * Version manager module. + * + * @author Marcin Haba + * @category Module + * @package Baculum API + */ class VersionManager extends APIModule { public function getVersionId() { @@ -31,4 +38,4 @@ class VersionManager extends APIModule return VersionRecord::finder()->find($criteria); } } -?> \ No newline at end of file +?> diff --git a/gui/baculum/protected/API/Class/VersionRecord.php b/gui/baculum/protected/API/Class/VersionRecord.php index 14aa5db72..5247f34c3 100644 --- a/gui/baculum/protected/API/Class/VersionRecord.php +++ b/gui/baculum/protected/API/Class/VersionRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.APIDbModule'); +/** + * Version record module. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class VersionRecord extends APIDbModule { const TABLE = 'Version'; @@ -32,4 +39,4 @@ class VersionRecord extends APIDbModule return parent::finder($className); } } -?> \ No newline at end of file +?> diff --git a/gui/baculum/protected/API/Class/VolumeManager.php b/gui/baculum/protected/API/Class/VolumeManager.php index edd7d817b..ee91351c9 100644 --- a/gui/baculum/protected/API/Class/VolumeManager.php +++ b/gui/baculum/protected/API/Class/VolumeManager.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -24,6 +24,13 @@ Prado::using('Application.API.Class.APIModule'); Prado::using('Application.API.Class.VolumeRecord'); Prado::using('Application.API.Class.Database'); +/** + * Volume manager module. + * + * @author Marcin Haba + * @category Module + * @package Baculum API + */ class VolumeManager extends APIModule { public function getVolumes($limit) { diff --git a/gui/baculum/protected/API/Class/VolumeRecord.php b/gui/baculum/protected/API/Class/VolumeRecord.php index 4bf0d9369..8e1127757 100644 --- a/gui/baculum/protected/API/Class/VolumeRecord.php +++ b/gui/baculum/protected/API/Class/VolumeRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,7 +22,15 @@ Prado::using('Application.API.Class.APIDbModule'); +/** + * Volume record module. + * + * @author Marcin Haba + * @category Database + * @package Baculum API + */ class VolumeRecord extends APIDbModule { + const TABLE = 'Media'; public $mediaid; diff --git a/gui/baculum/protected/API/Layouts/Main.php b/gui/baculum/protected/API/Layouts/Main.php index 2bd98a3f4..f18c9b4b6 100644 --- a/gui/baculum/protected/API/Layouts/Main.php +++ b/gui/baculum/protected/API/Layouts/Main.php @@ -22,6 +22,12 @@ Prado::using('Application.Common.Class.Params'); +/** + * Main layout. + * + * @category Layout + * @package Baculum API + */ class Main extends TTemplateControl { } ?> diff --git a/gui/baculum/protected/API/Layouts/Wizard.php b/gui/baculum/protected/API/Layouts/Wizard.php index 684c7f383..4ce694a3a 100644 --- a/gui/baculum/protected/API/Layouts/Wizard.php +++ b/gui/baculum/protected/API/Layouts/Wizard.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,12 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Wizard layout. + * + * @category Layout + * @package Baculum API + */ class Wizard extends TTemplateControl { } diff --git a/gui/baculum/protected/API/Pages/API/Actions.php b/gui/baculum/protected/API/Pages/API/Actions.php index 34db5be7f..c3a8a0f54 100644 --- a/gui/baculum/protected/API/Pages/API/Actions.php +++ b/gui/baculum/protected/API/Pages/API/Actions.php @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.APIConfig'); +/** + * API actions support. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Actions extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/BVFSCleanUp.php b/gui/baculum/protected/API/Pages/API/BVFSCleanUp.php index e413b9a23..bd3068585 100644 --- a/gui/baculum/protected/API/Pages/API/BVFSCleanUp.php +++ b/gui/baculum/protected/API/Pages/API/BVFSCleanUp.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * BVFS cleanup. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class BVFSCleanUp extends BaculumAPIServer { public function set($id, $params) { diff --git a/gui/baculum/protected/API/Pages/API/BVFSClearCache.php b/gui/baculum/protected/API/Pages/API/BVFSClearCache.php index f5bcd9c72..e26fc5db3 100644 --- a/gui/baculum/protected/API/Pages/API/BVFSClearCache.php +++ b/gui/baculum/protected/API/Pages/API/BVFSClearCache.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * BVFS clear cache. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class BVFSClearCache extends BaculumAPIServer { public function set($id, $params) { diff --git a/gui/baculum/protected/API/Pages/API/BVFSGetJobids.php b/gui/baculum/protected/API/Pages/API/BVFSGetJobids.php index 30ab404df..c59e74203 100644 --- a/gui/baculum/protected/API/Pages/API/BVFSGetJobids.php +++ b/gui/baculum/protected/API/Pages/API/BVFSGetJobids.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * BVFS get jobids to do restore. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class BVFSGetJobids extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/BVFSLsDirs.php b/gui/baculum/protected/API/Pages/API/BVFSLsDirs.php index fcbd6998c..1a6f41841 100644 --- a/gui/baculum/protected/API/Pages/API/BVFSLsDirs.php +++ b/gui/baculum/protected/API/Pages/API/BVFSLsDirs.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * BVFS list directories. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class BVFSLsDirs extends BaculumAPIServer { private $jobids; diff --git a/gui/baculum/protected/API/Pages/API/BVFSLsFiles.php b/gui/baculum/protected/API/Pages/API/BVFSLsFiles.php index e6af45b87..a226f400d 100644 --- a/gui/baculum/protected/API/Pages/API/BVFSLsFiles.php +++ b/gui/baculum/protected/API/Pages/API/BVFSLsFiles.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * BVFS list files. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class BVFSLsFiles extends BaculumAPIServer { private $jobids; diff --git a/gui/baculum/protected/API/Pages/API/BVFSRestore.php b/gui/baculum/protected/API/Pages/API/BVFSRestore.php index 7e12d94b9..1451f326d 100644 --- a/gui/baculum/protected/API/Pages/API/BVFSRestore.php +++ b/gui/baculum/protected/API/Pages/API/BVFSRestore.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * BVFS restore. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class BVFSRestore extends BaculumAPIServer { public function create($params) { diff --git a/gui/baculum/protected/API/Pages/API/BVFSUpdate.php b/gui/baculum/protected/API/Pages/API/BVFSUpdate.php index 7e4fc99aa..5ad4089d9 100644 --- a/gui/baculum/protected/API/Pages/API/BVFSUpdate.php +++ b/gui/baculum/protected/API/Pages/API/BVFSUpdate.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * BVFS update. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class BVFSUpdate extends BaculumAPIServer { public function set($id, $params) { diff --git a/gui/baculum/protected/API/Pages/API/BVFSVersions.php b/gui/baculum/protected/API/Pages/API/BVFSVersions.php index 9fd56f52e..626909cc2 100644 --- a/gui/baculum/protected/API/Pages/API/BVFSVersions.php +++ b/gui/baculum/protected/API/Pages/API/BVFSVersions.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * BVFS versions. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class BVFSVersions extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/Catalog.php b/gui/baculum/protected/API/Pages/API/Catalog.php index cc3499d10..e190c5832 100644 --- a/gui/baculum/protected/API/Pages/API/Catalog.php +++ b/gui/baculum/protected/API/Pages/API/Catalog.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Catalog test. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Catalog extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/Client.php b/gui/baculum/protected/API/Pages/API/Client.php index e5cc51b6a..6229638ad 100644 --- a/gui/baculum/protected/API/Pages/API/Client.php +++ b/gui/baculum/protected/API/Pages/API/Client.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Client endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Client extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/ClientBandwidthLimit.php b/gui/baculum/protected/API/Pages/API/ClientBandwidthLimit.php index 797dec45e..436a722d2 100644 --- a/gui/baculum/protected/API/Pages/API/ClientBandwidthLimit.php +++ b/gui/baculum/protected/API/Pages/API/ClientBandwidthLimit.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Client bandwidth limit endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class ClientBandwidthLimit extends BaculumAPIServer { public function set($id, $params) { diff --git a/gui/baculum/protected/API/Pages/API/ClientLs.php b/gui/baculum/protected/API/Pages/API/ClientLs.php index db067719b..6c7925d59 100644 --- a/gui/baculum/protected/API/Pages/API/ClientLs.php +++ b/gui/baculum/protected/API/Pages/API/ClientLs.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Client list directories. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class ClientLs extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/ClientShow.php b/gui/baculum/protected/API/Pages/API/ClientShow.php index 01fda0bb8..c55fac6d4 100644 --- a/gui/baculum/protected/API/Pages/API/ClientShow.php +++ b/gui/baculum/protected/API/Pages/API/ClientShow.php @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.ConsoleOutputPage'); +/** + * Client show command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class ClientShow extends ConsoleOutputPage { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/ClientStatus.php b/gui/baculum/protected/API/Pages/API/ClientStatus.php index 8dc3900f1..1c2b09282 100644 --- a/gui/baculum/protected/API/Pages/API/ClientStatus.php +++ b/gui/baculum/protected/API/Pages/API/ClientStatus.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Client status. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class ClientStatus extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/Clients.php b/gui/baculum/protected/API/Pages/API/Clients.php index 24f11f3d9..d7e85ea83 100644 --- a/gui/baculum/protected/API/Pages/API/Clients.php +++ b/gui/baculum/protected/API/Pages/API/Clients.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Clients endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Clients extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/ClientsShow.php b/gui/baculum/protected/API/Pages/API/ClientsShow.php index b74675756..d8c587a19 100644 --- a/gui/baculum/protected/API/Pages/API/ClientsShow.php +++ b/gui/baculum/protected/API/Pages/API/ClientsShow.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Clients show command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class ClientsShow extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/ComponentStatus.php b/gui/baculum/protected/API/Pages/API/ComponentStatus.php index e7c9c0db4..5bf558a1a 100644 --- a/gui/baculum/protected/API/Pages/API/ComponentStatus.php +++ b/gui/baculum/protected/API/Pages/API/ComponentStatus.php @@ -24,6 +24,10 @@ Prado::using('Application.API.Class.Bconsole'); /** * Component status module. + * + * @author Marcin Haba + * @category API + * @package Baculum API */ class ComponentStatus extends BaculumAPIServer { diff --git a/gui/baculum/protected/API/Pages/API/Config.php b/gui/baculum/protected/API/Pages/API/Config.php index 31f7a6622..e7cf9d7c6 100644 --- a/gui/baculum/protected/API/Pages/API/Config.php +++ b/gui/baculum/protected/API/Pages/API/Config.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Common.Class.Errors'); +/** + * Config endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Config extends BaculumAPIServer { public function get() { $component_type = $this->Request->contains('component_type') ? $this->Request['component_type'] : null; diff --git a/gui/baculum/protected/API/Pages/API/ConsoleCommand.php b/gui/baculum/protected/API/Pages/API/ConsoleCommand.php index bff7985e2..c06f93e9c 100644 --- a/gui/baculum/protected/API/Pages/API/ConsoleCommand.php +++ b/gui/baculum/protected/API/Pages/API/ConsoleCommand.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Console command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class ConsoleCommand extends BaculumAPIServer { public function set($id, $params) { @@ -29,5 +36,4 @@ class ConsoleCommand extends BaculumAPIServer { $this->error = $result->exitcode; } } - ?> diff --git a/gui/baculum/protected/API/Pages/API/DbSize.php b/gui/baculum/protected/API/Pages/API/DbSize.php index 1dfe3ee38..0a88e5045 100644 --- a/gui/baculum/protected/API/Pages/API/DbSize.php +++ b/gui/baculum/protected/API/Pages/API/DbSize.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Database size endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class DbSize extends BaculumAPIServer { public function get() { $dbsize = $this->getModule('db')->getDatabaseSize(); diff --git a/gui/baculum/protected/API/Pages/API/Directors.php b/gui/baculum/protected/API/Pages/API/Directors.php index b9fb3d44a..a10ab7c55 100644 --- a/gui/baculum/protected/API/Pages/API/Directors.php +++ b/gui/baculum/protected/API/Pages/API/Directors.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Directors endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Directors extends BaculumAPIServer { public function get() { $result = $this->getModule('bconsole')->getDirectors(); diff --git a/gui/baculum/protected/API/Pages/API/FileSet.php b/gui/baculum/protected/API/Pages/API/FileSet.php index dc547e9a0..cc884804d 100644 --- a/gui/baculum/protected/API/Pages/API/FileSet.php +++ b/gui/baculum/protected/API/Pages/API/FileSet.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * FileSet endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class FileSet extends BaculumAPIServer { public function get() { $filesetid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/FileSetResNames.php b/gui/baculum/protected/API/Pages/API/FileSetResNames.php index f7806af19..5174a657e 100644 --- a/gui/baculum/protected/API/Pages/API/FileSetResNames.php +++ b/gui/baculum/protected/API/Pages/API/FileSetResNames.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * FileSet resource names endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class FileSetResNames extends BaculumAPIServer { public function get() { $directors = $this->getModule('bconsole')->getDirectors(); diff --git a/gui/baculum/protected/API/Pages/API/FileSets.php b/gui/baculum/protected/API/Pages/API/FileSets.php index ad73c6ccb..79610cd48 100644 --- a/gui/baculum/protected/API/Pages/API/FileSets.php +++ b/gui/baculum/protected/API/Pages/API/FileSets.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * FileSets endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class FileSets extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/Job.php b/gui/baculum/protected/API/Pages/API/Job.php index f12385245..32f5f3550 100644 --- a/gui/baculum/protected/API/Pages/API/Job.php +++ b/gui/baculum/protected/API/Pages/API/Job.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Job endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Job extends BaculumAPIServer { public function get() { $jobid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/JobBandwidthLimit.php b/gui/baculum/protected/API/Pages/API/JobBandwidthLimit.php index a3ed590d4..4f188fd33 100644 --- a/gui/baculum/protected/API/Pages/API/JobBandwidthLimit.php +++ b/gui/baculum/protected/API/Pages/API/JobBandwidthLimit.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Job bandwidth limit endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobBandwidthLimit extends BaculumAPIServer { public function set($id, $params) { diff --git a/gui/baculum/protected/API/Pages/API/JobCancel.php b/gui/baculum/protected/API/Pages/API/JobCancel.php index 60be22d8e..0aa8e9e65 100644 --- a/gui/baculum/protected/API/Pages/API/JobCancel.php +++ b/gui/baculum/protected/API/Pages/API/JobCancel.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Cancel job endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobCancel extends BaculumAPIServer { public function set($id, $params) { diff --git a/gui/baculum/protected/API/Pages/API/JobEstimate.php b/gui/baculum/protected/API/Pages/API/JobEstimate.php index 39d9c555b..7655069c2 100644 --- a/gui/baculum/protected/API/Pages/API/JobEstimate.php +++ b/gui/baculum/protected/API/Pages/API/JobEstimate.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.Bconsole'); +/** + * Estimate job endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobEstimate extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/JobFiles.php b/gui/baculum/protected/API/Pages/API/JobFiles.php index 525822635..1f024c5a1 100644 --- a/gui/baculum/protected/API/Pages/API/JobFiles.php +++ b/gui/baculum/protected/API/Pages/API/JobFiles.php @@ -22,6 +22,10 @@ /** * List files from 'list files jobid=xx' bconsole command. + * + * @author Marcin Haba + * @category API + * @package Baculum API */ class JobFiles extends BaculumAPIServer { diff --git a/gui/baculum/protected/API/Pages/API/JobLog.php b/gui/baculum/protected/API/Pages/API/JobLog.php index d8bb6ba98..7dd9650a7 100644 --- a/gui/baculum/protected/API/Pages/API/JobLog.php +++ b/gui/baculum/protected/API/Pages/API/JobLog.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Job log endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobLog extends BaculumAPIServer { public function get() { $jobid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/JobResNames.php b/gui/baculum/protected/API/Pages/API/JobResNames.php index b53220235..50291d8d1 100644 --- a/gui/baculum/protected/API/Pages/API/JobResNames.php +++ b/gui/baculum/protected/API/Pages/API/JobResNames.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Job resource names endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobResNames extends BaculumAPIServer { public function get() { $limit = $this->Request->contains('limit') ? intval($this->Request['limit']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/JobRun.php b/gui/baculum/protected/API/Pages/API/JobRun.php index e3139547a..cb49e2380 100644 --- a/gui/baculum/protected/API/Pages/API/JobRun.php +++ b/gui/baculum/protected/API/Pages/API/JobRun.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Job run endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobRun extends BaculumAPIServer { public function create($params) { diff --git a/gui/baculum/protected/API/Pages/API/JobShow.php b/gui/baculum/protected/API/Pages/API/JobShow.php index 4485fb967..004708c65 100644 --- a/gui/baculum/protected/API/Pages/API/JobShow.php +++ b/gui/baculum/protected/API/Pages/API/JobShow.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Job show endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobShow extends BaculumAPIServer { public function get() { $jobid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/JobTotals.php b/gui/baculum/protected/API/Pages/API/JobTotals.php index c69723414..39debc5f5 100644 --- a/gui/baculum/protected/API/Pages/API/JobTotals.php +++ b/gui/baculum/protected/API/Pages/API/JobTotals.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Job totals endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobTotals extends BaculumAPIServer { public function get() { $error = false; diff --git a/gui/baculum/protected/API/Pages/API/Jobs.php b/gui/baculum/protected/API/Pages/API/Jobs.php index e49af8194..0c5f47df8 100644 --- a/gui/baculum/protected/API/Pages/API/Jobs.php +++ b/gui/baculum/protected/API/Pages/API/Jobs.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Jobs endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Jobs extends BaculumAPIServer { public function get() { $misc = $this->getModule('misc'); diff --git a/gui/baculum/protected/API/Pages/API/JobsForClient.php b/gui/baculum/protected/API/Pages/API/JobsForClient.php index 0dd0bc0f0..17482797d 100644 --- a/gui/baculum/protected/API/Pages/API/JobsForClient.php +++ b/gui/baculum/protected/API/Pages/API/JobsForClient.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Jobs for client endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobsForClient extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/JobsOnVolume.php b/gui/baculum/protected/API/Pages/API/JobsOnVolume.php index b5495ba9c..8c56fe939 100644 --- a/gui/baculum/protected/API/Pages/API/JobsOnVolume.php +++ b/gui/baculum/protected/API/Pages/API/JobsOnVolume.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Jobs on volume endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobsOnVolume extends BaculumAPIServer { public function get() { $allowed = array(); diff --git a/gui/baculum/protected/API/Pages/API/JobsRecent.php b/gui/baculum/protected/API/Pages/API/JobsRecent.php index 332bdd73e..eb94c3c72 100644 --- a/gui/baculum/protected/API/Pages/API/JobsRecent.php +++ b/gui/baculum/protected/API/Pages/API/JobsRecent.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Recent jobs endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobsRecent extends BaculumAPIServer { public function get() { $jobname = $this->Request->contains('name') ? $this->Request['name'] : ''; diff --git a/gui/baculum/protected/API/Pages/API/JobsShow.php b/gui/baculum/protected/API/Pages/API/JobsShow.php index 2ef87db18..3538ee35a 100644 --- a/gui/baculum/protected/API/Pages/API/JobsShow.php +++ b/gui/baculum/protected/API/Pages/API/JobsShow.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Show jobs command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class JobsShow extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/Pool.php b/gui/baculum/protected/API/Pages/API/Pool.php index ebacb9958..050311271 100644 --- a/gui/baculum/protected/API/Pages/API/Pool.php +++ b/gui/baculum/protected/API/Pages/API/Pool.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Pool endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Pool extends BaculumAPIServer { public function get() { $poolid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/PoolShow.php b/gui/baculum/protected/API/Pages/API/PoolShow.php index ae3af1f83..2c38d4c92 100644 --- a/gui/baculum/protected/API/Pages/API/PoolShow.php +++ b/gui/baculum/protected/API/Pages/API/PoolShow.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Show pool command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class PoolShow extends BaculumAPIServer { public function get() { $poolid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/PoolUpdate.php b/gui/baculum/protected/API/Pages/API/PoolUpdate.php index 507321218..d58599812 100644 --- a/gui/baculum/protected/API/Pages/API/PoolUpdate.php +++ b/gui/baculum/protected/API/Pages/API/PoolUpdate.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Update pool command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class PoolUpdate extends BaculumAPIServer { public function set($id, $params) { diff --git a/gui/baculum/protected/API/Pages/API/PoolUpdateVolumes.php b/gui/baculum/protected/API/Pages/API/PoolUpdateVolumes.php index 27243f080..5d3c3f913 100644 --- a/gui/baculum/protected/API/Pages/API/PoolUpdateVolumes.php +++ b/gui/baculum/protected/API/Pages/API/PoolUpdateVolumes.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Update pool volumes command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class PoolUpdateVolumes extends BaculumAPIServer { public function set($id, $params) { diff --git a/gui/baculum/protected/API/Pages/API/Pools.php b/gui/baculum/protected/API/Pages/API/Pools.php index 27cef2589..b088176fe 100644 --- a/gui/baculum/protected/API/Pages/API/Pools.php +++ b/gui/baculum/protected/API/Pages/API/Pools.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Pools endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Pools extends BaculumAPIServer { public function get() { $limit = $this->Request->contains('limit') ? intval($this->Request['limit']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/PoolsShow.php b/gui/baculum/protected/API/Pages/API/PoolsShow.php index e44d3481f..c346f21b6 100644 --- a/gui/baculum/protected/API/Pages/API/PoolsShow.php +++ b/gui/baculum/protected/API/Pages/API/PoolsShow.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Show pools command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class PoolsShow extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/RestoreRun.php b/gui/baculum/protected/API/Pages/API/RestoreRun.php index 31ff347d9..dbf57440d 100644 --- a/gui/baculum/protected/API/Pages/API/RestoreRun.php +++ b/gui/baculum/protected/API/Pages/API/RestoreRun.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.APIDbModule'); +/** + * Run restore command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class RestoreRun extends BaculumAPIServer { public function create($params) { diff --git a/gui/baculum/protected/API/Pages/API/ScheduleStatus.php b/gui/baculum/protected/API/Pages/API/ScheduleStatus.php index b5e2283cf..139171a1d 100644 --- a/gui/baculum/protected/API/Pages/API/ScheduleStatus.php +++ b/gui/baculum/protected/API/Pages/API/ScheduleStatus.php @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.Bconsole'); +/** + * Status schedune endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class ScheduleStatus extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/Schedules.php b/gui/baculum/protected/API/Pages/API/Schedules.php index 3c0d0e67c..487e182e1 100644 --- a/gui/baculum/protected/API/Pages/API/Schedules.php +++ b/gui/baculum/protected/API/Pages/API/Schedules.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Schedules command endpoint + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Schedules extends BaculumAPIServer { public function get() { $result = $this->getModule('bconsole')->bconsoleCommand($this->director, array('.schedule')); diff --git a/gui/baculum/protected/API/Pages/API/SlotsUpdate.php b/gui/baculum/protected/API/Pages/API/SlotsUpdate.php index 1cebe0492..1967c55b6 100644 --- a/gui/baculum/protected/API/Pages/API/SlotsUpdate.php +++ b/gui/baculum/protected/API/Pages/API/SlotsUpdate.php @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.Bconsole'); +/** + * Update slots command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class SlotsUpdate extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/Storage.php b/gui/baculum/protected/API/Pages/API/Storage.php index 1650f4b70..05cdc7f7c 100644 --- a/gui/baculum/protected/API/Pages/API/Storage.php +++ b/gui/baculum/protected/API/Pages/API/Storage.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Storage endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Storage extends BaculumAPIServer { public function get() { $storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/StorageMount.php b/gui/baculum/protected/API/Pages/API/StorageMount.php index acacc7082..489eff055 100644 --- a/gui/baculum/protected/API/Pages/API/StorageMount.php +++ b/gui/baculum/protected/API/Pages/API/StorageMount.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Mount storage command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class StorageMount extends BaculumAPIServer { public function get() { $storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/StorageRelease.php b/gui/baculum/protected/API/Pages/API/StorageRelease.php index 16124c298..ce15cdbc8 100644 --- a/gui/baculum/protected/API/Pages/API/StorageRelease.php +++ b/gui/baculum/protected/API/Pages/API/StorageRelease.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Release storage command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class StorageRelease extends BaculumAPIServer { public function get() { $storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/StorageShow.php b/gui/baculum/protected/API/Pages/API/StorageShow.php index 1f0622b8d..918b8269a 100644 --- a/gui/baculum/protected/API/Pages/API/StorageShow.php +++ b/gui/baculum/protected/API/Pages/API/StorageShow.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Show storage command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class StorageShow extends BaculumAPIServer { public function get() { $storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/StorageStatus.php b/gui/baculum/protected/API/Pages/API/StorageStatus.php index 72cc279e6..42b60deaa 100644 --- a/gui/baculum/protected/API/Pages/API/StorageStatus.php +++ b/gui/baculum/protected/API/Pages/API/StorageStatus.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Storage status command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class StorageStatus extends BaculumAPIServer { public function get() { $storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/StorageUmount.php b/gui/baculum/protected/API/Pages/API/StorageUmount.php index 20706538c..657f1fbe8 100644 --- a/gui/baculum/protected/API/Pages/API/StorageUmount.php +++ b/gui/baculum/protected/API/Pages/API/StorageUmount.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Storage umount command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class StorageUmount extends BaculumAPIServer { public function get() { $storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/Storages.php b/gui/baculum/protected/API/Pages/API/Storages.php index 09cd7f888..e4ca533ab 100644 --- a/gui/baculum/protected/API/Pages/API/Storages.php +++ b/gui/baculum/protected/API/Pages/API/Storages.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Storages endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Storages extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/StoragesShow.php b/gui/baculum/protected/API/Pages/API/StoragesShow.php index 5a2582fcf..32bd3dd24 100644 --- a/gui/baculum/protected/API/Pages/API/StoragesShow.php +++ b/gui/baculum/protected/API/Pages/API/StoragesShow.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Show storages command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class StoragesShow extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/Volume.php b/gui/baculum/protected/API/Pages/API/Volume.php index c1b76db2d..bc00c62bc 100644 --- a/gui/baculum/protected/API/Pages/API/Volume.php +++ b/gui/baculum/protected/API/Pages/API/Volume.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Volume endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Volume extends BaculumAPIServer { public function get() { $mediaid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/VolumeLabel.php b/gui/baculum/protected/API/Pages/API/VolumeLabel.php index d3b65d8b5..5a943057b 100644 --- a/gui/baculum/protected/API/Pages/API/VolumeLabel.php +++ b/gui/baculum/protected/API/Pages/API/VolumeLabel.php @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.Bconsole'); +/** + * Label volume endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class VolumeLabel extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/VolumeLabelBarcodes.php b/gui/baculum/protected/API/Pages/API/VolumeLabelBarcodes.php index 4f9518477..d46ffcd87 100644 --- a/gui/baculum/protected/API/Pages/API/VolumeLabelBarcodes.php +++ b/gui/baculum/protected/API/Pages/API/VolumeLabelBarcodes.php @@ -22,6 +22,13 @@ Prado::using('Application.API.Class.Bconsole'); +/** + * Label barcodes command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class VolumeLabelBarcodes extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/VolumePrune.php b/gui/baculum/protected/API/Pages/API/VolumePrune.php index e8e27289a..6044abe14 100644 --- a/gui/baculum/protected/API/Pages/API/VolumePrune.php +++ b/gui/baculum/protected/API/Pages/API/VolumePrune.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Volume prune command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class VolumePrune extends BaculumAPIServer { /** diff --git a/gui/baculum/protected/API/Pages/API/VolumePurge.php b/gui/baculum/protected/API/Pages/API/VolumePurge.php index 03d15b4bc..ac294a90a 100644 --- a/gui/baculum/protected/API/Pages/API/VolumePurge.php +++ b/gui/baculum/protected/API/Pages/API/VolumePurge.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Volume purge command endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class VolumePurge extends BaculumAPIServer { /** diff --git a/gui/baculum/protected/API/Pages/API/Volumes.php b/gui/baculum/protected/API/Pages/API/Volumes.php index 1572a6636..20868b3ba 100644 --- a/gui/baculum/protected/API/Pages/API/Volumes.php +++ b/gui/baculum/protected/API/Pages/API/Volumes.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Volumes endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Volumes extends BaculumAPIServer { public function get() { $limit = $this->Request->contains('limit') ? intval($this->Request['limit']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/VolumesInPool.php b/gui/baculum/protected/API/Pages/API/VolumesInPool.php index 3a940540b..27b3e9003 100644 --- a/gui/baculum/protected/API/Pages/API/VolumesInPool.php +++ b/gui/baculum/protected/API/Pages/API/VolumesInPool.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Volumes in pool endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class VolumesInPool extends BaculumAPIServer { public function get() { $poolid = $this->Request->contains('id') ? intval($this->Request['id']) : 0; diff --git a/gui/baculum/protected/API/Pages/API/VolumesRequired.php b/gui/baculum/protected/API/Pages/API/VolumesRequired.php index 05b05edd9..3216f8085 100644 --- a/gui/baculum/protected/API/Pages/API/VolumesRequired.php +++ b/gui/baculum/protected/API/Pages/API/VolumesRequired.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Required volumes endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class VolumesRequired extends BaculumAPIServer { public function get() { diff --git a/gui/baculum/protected/API/Pages/API/Welcome.php b/gui/baculum/protected/API/Pages/API/Welcome.php index 19928d2d5..afa63dd61 100644 --- a/gui/baculum/protected/API/Pages/API/Welcome.php +++ b/gui/baculum/protected/API/Pages/API/Welcome.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Welcome endpoint. + * + * @author Marcin Haba + * @category API + * @package Baculum API + */ class Welcome extends BaculumAPIServer { public function get() { $panel_url = sprintf('%s://%s:%d', diff --git a/gui/baculum/protected/API/Pages/OAuth2/Authorize.php b/gui/baculum/protected/API/Pages/OAuth2/Authorize.php index 91b1e5907..5aa9a0b18 100644 --- a/gui/baculum/protected/API/Pages/OAuth2/Authorize.php +++ b/gui/baculum/protected/API/Pages/OAuth2/Authorize.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -25,8 +25,9 @@ Prado::using('Application.API.Class.BaculumAPIPage'); /** * OAuth2 authorization server. * - * @category OAuth2 - * @package Baculum + * @author Marcin Haba + * @category API + * @package Baculum API */ class Authorize extends BaculumAPIPage { diff --git a/gui/baculum/protected/API/Pages/OAuth2/RequestToken.php b/gui/baculum/protected/API/Pages/OAuth2/RequestToken.php index b6e76501f..82b8fc28e 100644 --- a/gui/baculum/protected/API/Pages/OAuth2/RequestToken.php +++ b/gui/baculum/protected/API/Pages/OAuth2/RequestToken.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -25,8 +25,9 @@ Prado::using('Application.API.Class.BaculumAPIPage'); /** * OAuth2 authorization server - request token part. * - * @category OAuth2 - * @package Baculum + * @author Marcin Haba + * @category API + * @package Baculum API */ class RequestToken extends BaculumAPIPage { diff --git a/gui/baculum/protected/API/Pages/Panel/APIHome.php b/gui/baculum/protected/API/Pages/Panel/APIHome.php index 9991cef79..d0246ff5f 100644 --- a/gui/baculum/protected/API/Pages/Panel/APIHome.php +++ b/gui/baculum/protected/API/Pages/Panel/APIHome.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('Application.API.Class.BaculumAPIPage'); +/** + * API main page. + * + * @author Marcin Haba + * @category Panel + * @package Baculum API + */ class APIHome extends BaculumAPIPage { public function onInit($param) { diff --git a/gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php b/gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php index 54882c222..99766f82c 100644 --- a/gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php +++ b/gui/baculum/protected/API/Pages/Panel/APIInstallWizard.php @@ -35,6 +35,13 @@ Prado::using('Application.API.Class.BaculumAPIPage'); Prado::using('Application.API.Class.Database'); Prado::using('Application.API.Class.BasicAPIUserConfig'); +/** + * API install wizard. + * + * @author Marcin Haba + * @category Panel + * @package Baculum API + */ class APIInstallWizard extends BaculumAPIPage { public $first_run; diff --git a/gui/baculum/protected/API/Pages/Requirements.php b/gui/baculum/protected/API/Pages/Requirements.php index 5b399a1f4..fda8e8ff3 100644 --- a/gui/baculum/protected/API/Pages/Requirements.php +++ b/gui/baculum/protected/API/Pages/Requirements.php @@ -24,6 +24,10 @@ Prado::using('Application.Common.Class.GeneralRequirements'); /** * API part requirements class. + * + * @author Marcin Haba + * @category Requirements + * @package Baculum API */ class Requirements extends GeneralRequirements { diff --git a/gui/baculum/protected/Common/Class/AuthBase.php b/gui/baculum/protected/Common/Class/AuthBase.php index 3ad4666e0..9bbaf466c 100644 --- a/gui/baculum/protected/Common/Class/AuthBase.php +++ b/gui/baculum/protected/Common/Class/AuthBase.php @@ -28,6 +28,8 @@ Prado::using('Application.Common.Class.CommonModule'); * @see Application.Common.Class.Interfaces.AuthModule * * @author Marcin Haba + * @category Module + * @package Baculum Common */ abstract class AuthBase extends CommonModule { diff --git a/gui/baculum/protected/Common/Class/AuthBasic.php b/gui/baculum/protected/Common/Class/AuthBasic.php index e948754ad..ac38351f5 100644 --- a/gui/baculum/protected/Common/Class/AuthBasic.php +++ b/gui/baculum/protected/Common/Class/AuthBasic.php @@ -27,6 +27,8 @@ Prado::using('Application.Common.Class.Interfaces'); * Basic authentication auth module. * * @author Marcin Haba + * @category Module + * @package Baculum Common */ class AuthBasic extends AuthBase implements AuthModule { diff --git a/gui/baculum/protected/Common/Class/AuthOAuth2.php b/gui/baculum/protected/Common/Class/AuthOAuth2.php index 31624f9a0..416eae05c 100644 --- a/gui/baculum/protected/Common/Class/AuthOAuth2.php +++ b/gui/baculum/protected/Common/Class/AuthOAuth2.php @@ -28,6 +28,8 @@ Prado::using('Application.Common.Class.OAuth2'); * OAuth2 authorization auth module. * * @author Marcin Haba + * @category Module + * @package Baculum Common */ class AuthOAuth2 extends AuthBase implements AuthModule { diff --git a/gui/baculum/protected/Common/Class/BClientScript.php b/gui/baculum/protected/Common/Class/BClientScript.php index 09e09f4f6..03b241426 100644 --- a/gui/baculum/protected/Common/Class/BClientScript.php +++ b/gui/baculum/protected/Common/Class/BClientScript.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('System.Web.UI.WebControls.TClientScript'); +/** + * Baculum client script class. + * + * @author Marcin Haba + * @category Client Script + * @package Baculum Common + */ class BClientScript extends TClientScript { const SCRIPTS_VERSION = 4; diff --git a/gui/baculum/protected/Common/Class/BException.php b/gui/baculum/protected/Common/Class/BException.php index f2486d2e2..50d96f3b7 100644 --- a/gui/baculum/protected/Common/Class/BException.php +++ b/gui/baculum/protected/Common/Class/BException.php @@ -22,6 +22,13 @@ use Prado\Exceptions; +/** + * Main common Baculum exceptions class. + * + * @author Marcin Haba + * @category Exception + * @package Baculum Common + */ class BException extends \Prado\Exceptions\TException { private $error_code; diff --git a/gui/baculum/protected/Common/Class/BaculumPage.php b/gui/baculum/protected/Common/Class/BaculumPage.php index 783e6c92c..2cdb8fd10 100644 --- a/gui/baculum/protected/Common/Class/BaculumPage.php +++ b/gui/baculum/protected/Common/Class/BaculumPage.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -29,6 +29,8 @@ Prado::using('Application.Common.Class.BClientScript'); * page and error pages). * * @author Marcin Haba + * @category Page + * @package Baculum Common */ class BaculumPage extends TPage { diff --git a/gui/baculum/protected/Common/Class/BaculumUrlMapping.php b/gui/baculum/protected/Common/Class/BaculumUrlMapping.php index 6b7db0392..a6f34a035 100644 --- a/gui/baculum/protected/Common/Class/BaculumUrlMapping.php +++ b/gui/baculum/protected/Common/Class/BaculumUrlMapping.php @@ -22,6 +22,13 @@ Prado::using('System.Web.TUrlMapping'); +/** + * Baculum URL mapping class. + * + * @author Marcin Haba + * @category URL + * @package Baculum Common + */ class BaculumUrlMapping extends TUrlMapping { private $services = array( diff --git a/gui/baculum/protected/Common/Class/BasicUserConfig.php b/gui/baculum/protected/Common/Class/BasicUserConfig.php index b65a6bdee..ac0bb15fd 100644 --- a/gui/baculum/protected/Common/Class/BasicUserConfig.php +++ b/gui/baculum/protected/Common/Class/BasicUserConfig.php @@ -26,6 +26,8 @@ Prado::using('Application.Common.Class.CommonModule'); * Manage basic auth method users. * * @author Marcin Haba + * @category Module + * @package Baculum Common */ abstract class BasicUserConfig extends CommonModule { diff --git a/gui/baculum/protected/Common/Class/CommonModule.php b/gui/baculum/protected/Common/Class/CommonModule.php index eb26f9991..8d79b8ee9 100644 --- a/gui/baculum/protected/Common/Class/CommonModule.php +++ b/gui/baculum/protected/Common/Class/CommonModule.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,8 @@ Prado::using('System.TModule'); * Every common module should inherit this abstraction. * * @author Marcin Haba + * @category Module + * @package Baculum Common */ abstract class CommonModule extends TModule { diff --git a/gui/baculum/protected/Common/Class/ConfigBacula.php b/gui/baculum/protected/Common/Class/ConfigBacula.php index 117f4ecd0..8f223671d 100644 --- a/gui/baculum/protected/Common/Class/ConfigBacula.php +++ b/gui/baculum/protected/Common/Class/ConfigBacula.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -28,6 +28,8 @@ Prado::using('Application.Common.Class.CommonModule'); * Note: Only write config implemented. More info in read() method. * * @author Marcin Haba + * @category Module + * @package Baculum Common */ class ConfigBacula extends CommonModule implements ConfigFormat { diff --git a/gui/baculum/protected/Common/Class/ConfigFileModule.php b/gui/baculum/protected/Common/Class/ConfigFileModule.php index 2849c45d0..95388d50f 100644 --- a/gui/baculum/protected/Common/Class/ConfigFileModule.php +++ b/gui/baculum/protected/Common/Class/ConfigFileModule.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -26,6 +26,8 @@ Prado::using('Application.Common.Class.CommonModule'); * Generic config file module. * * @author Marcin Haba + * @category Module + * @package Baculum Common */ class ConfigFileModule extends CommonModule { diff --git a/gui/baculum/protected/Common/Class/ConfigIni.php b/gui/baculum/protected/Common/Class/ConfigIni.php index c0aca86c0..5ac57275e 100644 --- a/gui/baculum/protected/Common/Class/ConfigIni.php +++ b/gui/baculum/protected/Common/Class/ConfigIni.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,8 @@ Prado::using('Application.Common.Class.CommonModule'); * Module to read/write INI-style config. * * @author Marcin Haba + * @category Module + * @package Baculum Common */ class ConfigIni extends CommonModule implements ConfigFormat { diff --git a/gui/baculum/protected/Common/Class/Errors.php b/gui/baculum/protected/Common/Class/Errors.php index b8b2e97c1..5e4c3e3cf 100644 --- a/gui/baculum/protected/Common/Class/Errors.php +++ b/gui/baculum/protected/Common/Class/Errors.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Error classes. + * + * @author Marcin Haba + * @category Errors + * @package Baculum Common + */ class GenericError { const ERROR_NO_ERRORS = 0; const ERROR_INVALID_COMMAND = 1; diff --git a/gui/baculum/protected/Common/Class/GeneralRequirements.php b/gui/baculum/protected/Common/Class/GeneralRequirements.php index 78ee2a16b..8229d9a87 100644 --- a/gui/baculum/protected/Common/Class/GeneralRequirements.php +++ b/gui/baculum/protected/Common/Class/GeneralRequirements.php @@ -22,6 +22,10 @@ /** * General requirement class with common dependencies both for API and Web. + * + * @author Marcin Haba + * @category Requirements + * @package Baculum Common */ abstract class GeneralRequirements { diff --git a/gui/baculum/protected/Common/Class/Interfaces.php b/gui/baculum/protected/Common/Class/Interfaces.php index a2ab45c2a..b397a2e4f 100644 --- a/gui/baculum/protected/Common/Class/Interfaces.php +++ b/gui/baculum/protected/Common/Class/Interfaces.php @@ -24,6 +24,8 @@ * Common interfaces. * * @author Marcin Haba + * @category Interfaces + * @package Baculum Common */ /** diff --git a/gui/baculum/protected/Common/Class/Logging.php b/gui/baculum/protected/Common/Class/Logging.php index 0a31a8aac..8638d30c2 100644 --- a/gui/baculum/protected/Common/Class/Logging.php +++ b/gui/baculum/protected/Common/Class/Logging.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Common.Class.CommonModule'); +/** + * Logger class. + * + * @author Marcin Haba + * @category Module + * @package Baculum Common + */ class Logging extends CommonModule { public static $debug_enabled = false; diff --git a/gui/baculum/protected/Common/Class/OAuth2.php b/gui/baculum/protected/Common/Class/OAuth2.php index e1fd09613..7685eb773 100644 --- a/gui/baculum/protected/Common/Class/OAuth2.php +++ b/gui/baculum/protected/Common/Class/OAuth2.php @@ -20,13 +20,15 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ -/** - * @category Authorization - * @package Baculum - */ - Prado::using('Application.Common.Class.CommonModule'); +/** + * Generic OAuth2 abstraction. + * + * @author Marcin Haba + * @category Module + * @package Baculum Common + */ abstract class OAuth2 extends CommonModule { /** diff --git a/gui/baculum/protected/Common/Class/Params.php b/gui/baculum/protected/Common/Class/Params.php index b45ccd0df..a5b2e33c3 100644 --- a/gui/baculum/protected/Common/Class/Params.php +++ b/gui/baculum/protected/Common/Class/Params.php @@ -22,6 +22,13 @@ Prado::using('Application.Common.Class.CommonModule'); +/** + * Params class. + * + * @author Marcin Haba + * @category Module + * @package Baculum Common + */ class Params extends CommonModule { const BACULUM_VERSION = '9.6.0'; diff --git a/gui/baculum/protected/Common/Class/SessionRecord.php b/gui/baculum/protected/Common/Class/SessionRecord.php index 2a5c09207..468a9ce70 100644 --- a/gui/baculum/protected/Common/Class/SessionRecord.php +++ b/gui/baculum/protected/Common/Class/SessionRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,16 +20,16 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ -/** - * Store data in session. - * - * @category Data - * @package Baculum - */ - Prado::using('Application.Common.Class.CommonModule'); Prado::using('Application.Common.Class.Interfaces'); +/** + * Store data in session. + * + * @author Marcin Haba + * @category Module + * @package Baculum Common + */ class SessionRecord extends CommonModule implements SessionItem { private static $lock = false; diff --git a/gui/baculum/protected/Common/Pages/CommonPage.php b/gui/baculum/protected/Common/Pages/CommonPage.php index 5dda41767..a52152e45 100644 --- a/gui/baculum/protected/Common/Pages/CommonPage.php +++ b/gui/baculum/protected/Common/Pages/CommonPage.php @@ -22,6 +22,12 @@ Prado::using('Application.Common.Class.BaculumPage'); +/** + * Common page class. + * + * @category Page + * @package Baculum Common + */ class CommonPage extends BaculumPage { } ?> diff --git a/gui/baculum/protected/Common/Portlets/BActiveButton.php b/gui/baculum/protected/Common/Portlets/BActiveButton.php index 226cbf872..fa2436a81 100644 --- a/gui/baculum/protected/Common/Portlets/BActiveButton.php +++ b/gui/baculum/protected/Common/Portlets/BActiveButton.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); +/** + * Baculum Active Button control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Common + */ class BActiveButton extends TButton implements ICallbackEventHandler, IActiveControl { public function __construct() diff --git a/gui/baculum/protected/Common/Portlets/BButton.php b/gui/baculum/protected/Common/Portlets/BButton.php index 22d9831b2..6ce1c303b 100644 --- a/gui/baculum/protected/Common/Portlets/BButton.php +++ b/gui/baculum/protected/Common/Portlets/BButton.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Baculum Button control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Common + */ class BButton extends TButton { public function onInit($param) { diff --git a/gui/baculum/protected/Common/Portlets/NewAuthClient.php b/gui/baculum/protected/Common/Portlets/NewAuthClient.php index c5c78f776..6c1cb55ec 100644 --- a/gui/baculum/protected/Common/Portlets/NewAuthClient.php +++ b/gui/baculum/protected/Common/Portlets/NewAuthClient.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,13 @@ Prado::using('System.Web.UI.TTemplateControl'); Prado::using('Application.Common.Class.OAuth2'); Prado::using('Application.Common.Portlets.PortletTemplate'); +/** + * New auth client control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Common + */ class NewAuthClient extends PortletTemplate { private $show_buttons = true; diff --git a/gui/baculum/protected/Common/Portlets/NewHost.php b/gui/baculum/protected/Common/Portlets/NewHost.php index 3cdb464fe..57292de85 100644 --- a/gui/baculum/protected/Common/Portlets/NewHost.php +++ b/gui/baculum/protected/Common/Portlets/NewHost.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -29,6 +29,13 @@ Prado::using('System.Web.UI.TTemplateControl'); Prado::using('Application.Common.Class.OAuth2'); Prado::using('Application.Common.Portlets.PortletTemplate'); +/** + * New host control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Common + */ class NewHost extends PortletTemplate { private $error = false; diff --git a/gui/baculum/protected/Common/Portlets/PortletTemplate.php b/gui/baculum/protected/Common/Portlets/PortletTemplate.php index 2b36279fa..5adfca102 100644 --- a/gui/baculum/protected/Common/Portlets/PortletTemplate.php +++ b/gui/baculum/protected/Common/Portlets/PortletTemplate.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Portlet template control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Common + */ class PortletTemplate extends TTemplateControl { protected function getModule($id) { diff --git a/gui/baculum/protected/Web/Class/BaculumAPIClient.php b/gui/baculum/protected/Web/Class/BaculumAPIClient.php index 7d2496140..e4325334d 100644 --- a/gui/baculum/protected/Web/Class/BaculumAPIClient.php +++ b/gui/baculum/protected/Web/Class/BaculumAPIClient.php @@ -30,7 +30,9 @@ Prado::using('Application.Web.Class.HostRecord'); /** * Internal API client module. * - * @author Marcin Haba + * @author Marcin Haba + * @category Module + * @package Baculum Web */ class BaculumAPIClient extends WebModule { diff --git a/gui/baculum/protected/Web/Class/BaculumWebPage.php b/gui/baculum/protected/Web/Class/BaculumWebPage.php index a9c4133d2..41e74aaad 100644 --- a/gui/baculum/protected/Web/Class/BaculumWebPage.php +++ b/gui/baculum/protected/Web/Class/BaculumWebPage.php @@ -27,6 +27,13 @@ Prado::using('Application.Common.Class.BaculumPage'); Prado::using('Application.Web.Init'); Prado::using('Application.Web.Class.WebConfig'); +/** + * Baculum Web page module. + * + * @author Marcin Haba + * @category Module + * @package Baculum Web + */ class BaculumWebPage extends BaculumPage { /** diff --git a/gui/baculum/protected/Web/Class/BasicWebUserConfig.php b/gui/baculum/protected/Web/Class/BasicWebUserConfig.php index 5d3ca62a6..2e622f651 100644 --- a/gui/baculum/protected/Web/Class/BasicWebUserConfig.php +++ b/gui/baculum/protected/Web/Class/BasicWebUserConfig.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -26,6 +26,8 @@ Prado::using('Application.Common.Class.BasicUserConfig'); * Manage HTTP Basic auth method users. * * @author Marcin Haba + * @category Module + * @package Baculum Web */ class BasicWebUserConfig extends BasicUserConfig { diff --git a/gui/baculum/protected/Web/Class/DataDependencies.php b/gui/baculum/protected/Web/Class/DataDependencies.php index 4c11fd4a3..8d6bcf81a 100644 --- a/gui/baculum/protected/Web/Class/DataDependencies.php +++ b/gui/baculum/protected/Web/Class/DataDependencies.php @@ -24,6 +24,10 @@ Prado::using('Application.:Web.Class.WebModule'); /** * Module responsible for checking and keeping Bacula config dependencies. + * + * @author Marcin Haba + * @category Module + * @package Baculum Web */ class DataDependencies extends WebModule { diff --git a/gui/baculum/protected/Web/Class/DataDescription.php b/gui/baculum/protected/Web/Class/DataDescription.php index 8ae76ba0c..47b5e67d9 100644 --- a/gui/baculum/protected/Web/Class/DataDescription.php +++ b/gui/baculum/protected/Web/Class/DataDescription.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.WebModule'); +/** + * Data description module. + * + * @author Marcin Haba + * @category Module + * @package Baculum Web + */ class DataDescription extends WebModule { /** diff --git a/gui/baculum/protected/Web/Class/HostConfig.php b/gui/baculum/protected/Web/Class/HostConfig.php index 69cd2d0a2..4ce133d1a 100644 --- a/gui/baculum/protected/Web/Class/HostConfig.php +++ b/gui/baculum/protected/Web/Class/HostConfig.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,8 @@ Prado::using('Application.Common.Class.ConfigFileModule'); * Module is responsible for get/set hosts config data. * * @author Marcin Haba + * @category Module + * @package Baculum Web */ class HostConfig extends ConfigFileModule { diff --git a/gui/baculum/protected/Web/Class/HostRecord.php b/gui/baculum/protected/Web/Class/HostRecord.php index d76cfc088..8e5059ba8 100644 --- a/gui/baculum/protected/Web/Class/HostRecord.php +++ b/gui/baculum/protected/Web/Class/HostRecord.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('Application.Common.Class.Interfaces'); Prado::using('Application.Common.Class.SessionRecord'); +/** + * Host session record class. + * + * @author Marcin Haba + * @category Database + * @package Baculum Web + */ class HostRecord extends SessionRecord implements SessionItem { public $host; diff --git a/gui/baculum/protected/Web/Class/LogParser.php b/gui/baculum/protected/Web/Class/LogParser.php index f7b8db87e..9221f3d8a 100644 --- a/gui/baculum/protected/Web/Class/LogParser.php +++ b/gui/baculum/protected/Web/Class/LogParser.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.WebModule'); +/** + * Bacula logs parser module. + * + * @author Marcin Haba + * @category Module + * @package Baculum Web + */ class LogParser extends WebModule { const CLIENT_PATTERN = '/^\s+Client\:\s+"?(?P[a-zA-Z0-9:.\-_ ]+)"?/i'; diff --git a/gui/baculum/protected/Web/Class/OAuth2Record.php b/gui/baculum/protected/Web/Class/OAuth2Record.php index 76894ac26..7f9e73b0d 100644 --- a/gui/baculum/protected/Web/Class/OAuth2Record.php +++ b/gui/baculum/protected/Web/Class/OAuth2Record.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('Application.Common.Class.Interfaces'); Prado::using('Application.Common.Class.SessionRecord'); +/** + * OAuth2 session record module. + * + * @author Marcin Haba + * @category Module + * @package Baculum Web + */ class OAuth2Record extends SessionRecord implements SessionItem { public $host; diff --git a/gui/baculum/protected/Web/Class/WebConfig.php b/gui/baculum/protected/Web/Class/WebConfig.php index 46dbe9871..47732498e 100644 --- a/gui/baculum/protected/Web/Class/WebConfig.php +++ b/gui/baculum/protected/Web/Class/WebConfig.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,8 @@ Prado::using('Application.Common.Class.ConfigFileModule'); * Module is responsible for get/set webGUI config data. * * @author Marcin Haba + * @category Module + * @package Baculum Web */ class WebConfig extends ConfigFileModule { diff --git a/gui/baculum/protected/Web/Class/WebModule.php b/gui/baculum/protected/Web/Class/WebModule.php index 0a789b55e..dfad7f463 100644 --- a/gui/baculum/protected/Web/Class/WebModule.php +++ b/gui/baculum/protected/Web/Class/WebModule.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,8 @@ Prado::using('System.TModule'); * Every Web module should inherit this abstraction. * * @author Marcin Haba + * @category Module + * @package Baculum Web */ abstract class WebModule extends TModule { diff --git a/gui/baculum/protected/Web/Class/WebUrlMapping.php b/gui/baculum/protected/Web/Class/WebUrlMapping.php index 89cb6c435..02f196e20 100644 --- a/gui/baculum/protected/Web/Class/WebUrlMapping.php +++ b/gui/baculum/protected/Web/Class/WebUrlMapping.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('System.Web.TUrlMapping'); +/** + * Web URL mapper class. + * + * @author Marcin Haba + * @category URL + * @package Baculum Web + */ class WebUrlMapping extends TUrlMappingPattern { const SERVICE_ID = 'web'; diff --git a/gui/baculum/protected/Web/Init.php b/gui/baculum/protected/Web/Init.php index 94271cdbc..aa55b8e90 100644 --- a/gui/baculum/protected/Web/Init.php +++ b/gui/baculum/protected/Web/Init.php @@ -20,6 +20,14 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Initialization file. + * + * @author Marcin Haba + * @category Initialization + * @package Baculum Web + */ + $timezone = 'UTC'; if (!ini_get('date.timezone')) { date_default_timezone_set($timezone); diff --git a/gui/baculum/protected/Web/Layouts/Main.php b/gui/baculum/protected/Web/Layouts/Main.php index edf597c88..2f9c118fc 100644 --- a/gui/baculum/protected/Web/Layouts/Main.php +++ b/gui/baculum/protected/Web/Layouts/Main.php @@ -22,6 +22,13 @@ Prado::using('Application.Common.Class.Params'); +/** + * Main layout class. + * + * @author Marcin Haba + * @category Layout + * @package Baculum Web + */ class Main extends TTemplateControl { public $web_config; diff --git a/gui/baculum/protected/Web/Layouts/MessageBox.php b/gui/baculum/protected/Web/Layouts/MessageBox.php index 1f2e772e3..4e584f881 100644 --- a/gui/baculum/protected/Web/Layouts/MessageBox.php +++ b/gui/baculum/protected/Web/Layouts/MessageBox.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,8 +20,14 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Message box class. + * + * @author Marcin Haba + * @category Layout + * @package Baculum Web + */ class MessageBox extends TTemplateControl { - } -?> \ No newline at end of file +?> diff --git a/gui/baculum/protected/Web/Layouts/Wizard.php b/gui/baculum/protected/Web/Layouts/Wizard.php index c37fae98d..6aee10a70 100644 --- a/gui/baculum/protected/Web/Layouts/Wizard.php +++ b/gui/baculum/protected/Web/Layouts/Wizard.php @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Wizard layout. + * + * @author Marcin Haba + * @category Layout + * @package Baculum Web + */ class Wizard extends TTemplateControl { public $web_config; diff --git a/gui/baculum/protected/Web/Pages/ApplicationSettings.php b/gui/baculum/protected/Web/Pages/ApplicationSettings.php index 7b4c39256..57cb0d191 100644 --- a/gui/baculum/protected/Web/Pages/ApplicationSettings.php +++ b/gui/baculum/protected/Web/Pages/ApplicationSettings.php @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Class.BaculumWebPage'); Prado::using('Application.Web.Pages.Monitor'); +/** + * Application settings class. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class ApplicationSettings extends BaculumWebPage { protected $admin = true; diff --git a/gui/baculum/protected/Web/Pages/BaculumError.php b/gui/baculum/protected/Web/Pages/BaculumError.php index bb9f86e72..0041978bc 100644 --- a/gui/baculum/protected/Web/Pages/BaculumError.php +++ b/gui/baculum/protected/Web/Pages/BaculumError.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Common.Class.BaculumPage'); +/** + * Baculum error page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class BaculumError extends BaculumPage { public $error; diff --git a/gui/baculum/protected/Web/Pages/ClientList.php b/gui/baculum/protected/Web/Pages/ClientList.php index aa0b8a895..e67a55f96 100644 --- a/gui/baculum/protected/Web/Pages/ClientList.php +++ b/gui/baculum/protected/Web/Pages/ClientList.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,12 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Client list page. + * + * @category Page + * @package Baculum Web + */ class ClientList extends BaculumWebPage { } ?> diff --git a/gui/baculum/protected/Web/Pages/ClientView.php b/gui/baculum/protected/Web/Pages/ClientView.php index 2dc030432..c1525596b 100644 --- a/gui/baculum/protected/Web/Pages/ClientView.php +++ b/gui/baculum/protected/Web/Pages/ClientView.php @@ -26,6 +26,13 @@ Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('System.Web.UI.JuiControls.TJuiProgressbar'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Client view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class ClientView extends BaculumWebPage { const CLIENTID = 'ClientId'; diff --git a/gui/baculum/protected/Web/Pages/ConfigureHosts.php b/gui/baculum/protected/Web/Pages/ConfigureHosts.php index f39c94d5d..eb53cf7b4 100644 --- a/gui/baculum/protected/Web/Pages/ConfigureHosts.php +++ b/gui/baculum/protected/Web/Pages/ConfigureHosts.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Configure hosts page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class ConfigureHosts extends BaculumWebPage { protected $admin = true; diff --git a/gui/baculum/protected/Web/Pages/Console.php b/gui/baculum/protected/Web/Pages/Console.php index 7326284c8..752800498 100644 --- a/gui/baculum/protected/Web/Pages/Console.php +++ b/gui/baculum/protected/Web/Pages/Console.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,12 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Bacula console page. + * + * @category Page + * @package Baculum Web + */ class Console extends BaculumWebPage { } ?> diff --git a/gui/baculum/protected/Web/Pages/Dashboard.php b/gui/baculum/protected/Web/Pages/Dashboard.php index b0655134f..cfa681a52 100644 --- a/gui/baculum/protected/Web/Pages/Dashboard.php +++ b/gui/baculum/protected/Web/Pages/Dashboard.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Main dashboard page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class Dashboard extends BaculumWebPage { public function loadRunJobModal($sender, $param) { $this->RunJobModal->loadData(); diff --git a/gui/baculum/protected/Web/Pages/DeviceView.php b/gui/baculum/protected/Web/Pages/DeviceView.php index 5426a04ec..10b987296 100644 --- a/gui/baculum/protected/Web/Pages/DeviceView.php +++ b/gui/baculum/protected/Web/Pages/DeviceView.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Device view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class DeviceView extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/FileSetList.php b/gui/baculum/protected/Web/Pages/FileSetList.php index 0eea9b3b3..9f6362a11 100644 --- a/gui/baculum/protected/Web/Pages/FileSetList.php +++ b/gui/baculum/protected/Web/Pages/FileSetList.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * FileSet list page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class FileSetList extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/FileSetView.php b/gui/baculum/protected/Web/Pages/FileSetView.php index 4e9029042..49cb31106 100644 --- a/gui/baculum/protected/Web/Pages/FileSetView.php +++ b/gui/baculum/protected/Web/Pages/FileSetView.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * FileSet view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class FileSetView extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/Graphs.php b/gui/baculum/protected/Web/Pages/Graphs.php index 6dbce6bd0..1f041e9bc 100644 --- a/gui/baculum/protected/Web/Pages/Graphs.php +++ b/gui/baculum/protected/Web/Pages/Graphs.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,12 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Graphs page. + * + * @category Page + * @package Baculum Web + */ class Graphs extends BaculumWebPage { } ?> diff --git a/gui/baculum/protected/Web/Pages/JobHistoryList.php b/gui/baculum/protected/Web/Pages/JobHistoryList.php index b7d947f9a..a80d7626e 100644 --- a/gui/baculum/protected/Web/Pages/JobHistoryList.php +++ b/gui/baculum/protected/Web/Pages/JobHistoryList.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('Application.Web.Class.BaculumWebPage'); Prado::using('Application.Web.Portlets.RunJob'); +/** + * Job history list page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class JobHistoryList extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/JobHistoryView.php b/gui/baculum/protected/Web/Pages/JobHistoryView.php index 9c557f20f..4d0305441 100644 --- a/gui/baculum/protected/Web/Pages/JobHistoryView.php +++ b/gui/baculum/protected/Web/Pages/JobHistoryView.php @@ -26,6 +26,13 @@ Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('System.Web.UI.JuiControls.TJuiProgressbar'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Job history view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class JobHistoryView extends BaculumWebPage { const IS_RUNNING = 'IsRunning'; diff --git a/gui/baculum/protected/Web/Pages/JobList.php b/gui/baculum/protected/Web/Pages/JobList.php index 9c38bcd78..760c38892 100644 --- a/gui/baculum/protected/Web/Pages/JobList.php +++ b/gui/baculum/protected/Web/Pages/JobList.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Job list page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class JobList extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/JobView.php b/gui/baculum/protected/Web/Pages/JobView.php index 559753b7d..d323f6519 100644 --- a/gui/baculum/protected/Web/Pages/JobView.php +++ b/gui/baculum/protected/Web/Pages/JobView.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Job view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class JobView extends BaculumWebPage { const JOB_NAME = 'JobName'; diff --git a/gui/baculum/protected/Web/Pages/Monitor.php b/gui/baculum/protected/Web/Pages/Monitor.php index 4308eba2b..19a31f454 100644 --- a/gui/baculum/protected/Web/Pages/Monitor.php +++ b/gui/baculum/protected/Web/Pages/Monitor.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -26,6 +26,10 @@ Prado::using('Application.Web.Class.BaculumWebPage'); * * NOTE: It must inherit from BaculumPage, not from BaculumWebPage, * because this way it has not any redundant API request from BaculumWebPage. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web */ class Monitor extends BaculumPage { diff --git a/gui/baculum/protected/Web/Pages/NewJobWizard.php b/gui/baculum/protected/Web/Pages/NewJobWizard.php index c12ed5834..5e16b4658 100644 --- a/gui/baculum/protected/Web/Pages/NewJobWizard.php +++ b/gui/baculum/protected/Web/Pages/NewJobWizard.php @@ -24,6 +24,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.WebControls.TWizard'); +/** + * New job wizard page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class NewJobWizard extends BaculumWebPage { protected $admin = true; diff --git a/gui/baculum/protected/Web/Pages/NewResource.php b/gui/baculum/protected/Web/Pages/NewResource.php index bf9151393..5ab843091 100644 --- a/gui/baculum/protected/Web/Pages/NewResource.php +++ b/gui/baculum/protected/Web/Pages/NewResource.php @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * New resource page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class NewResource extends BaculumWebPage { const COMPONENT_TYPE = 'ComponentType'; diff --git a/gui/baculum/protected/Web/Pages/OAuth2Redirect.php b/gui/baculum/protected/Web/Pages/OAuth2Redirect.php index 7cf6c5626..ab6d0b662 100644 --- a/gui/baculum/protected/Web/Pages/OAuth2Redirect.php +++ b/gui/baculum/protected/Web/Pages/OAuth2Redirect.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Common.Class.BaculumPage'); +/** + * OAuth2 redirection callback page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class OAuth2Redirect extends BaculumPage { /** diff --git a/gui/baculum/protected/Web/Pages/PoolList.php b/gui/baculum/protected/Web/Pages/PoolList.php index 4ff5c9c97..35f89c016 100644 --- a/gui/baculum/protected/Web/Pages/PoolList.php +++ b/gui/baculum/protected/Web/Pages/PoolList.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Pool list page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class PoolList extends BaculumWebPage { protected $admin = true; diff --git a/gui/baculum/protected/Web/Pages/PoolView.php b/gui/baculum/protected/Web/Pages/PoolView.php index f826d3e3a..a80d4174b 100644 --- a/gui/baculum/protected/Web/Pages/PoolView.php +++ b/gui/baculum/protected/Web/Pages/PoolView.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Pool view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class PoolView extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/Requirements.php b/gui/baculum/protected/Web/Pages/Requirements.php index 0befa5c3c..9ae2cb933 100644 --- a/gui/baculum/protected/Web/Pages/Requirements.php +++ b/gui/baculum/protected/Web/Pages/Requirements.php @@ -24,6 +24,10 @@ Prado::using('Application.Common.Class.GeneralRequirements'); /** * Web part requirements class. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web */ class Requirements extends GeneralRequirements { diff --git a/gui/baculum/protected/Web/Pages/RestoreWizard.php b/gui/baculum/protected/Web/Pages/RestoreWizard.php index f868d3141..63b8d5c43 100644 --- a/gui/baculum/protected/Web/Pages/RestoreWizard.php +++ b/gui/baculum/protected/Web/Pages/RestoreWizard.php @@ -31,6 +31,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveRepeater'); Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); +/** + * Restore wizard page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class RestoreWizard extends BaculumWebPage { /** diff --git a/gui/baculum/protected/Web/Pages/ScheduleList.php b/gui/baculum/protected/Web/Pages/ScheduleList.php index 2f4f1cf88..678924221 100644 --- a/gui/baculum/protected/Web/Pages/ScheduleList.php +++ b/gui/baculum/protected/Web/Pages/ScheduleList.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Schedule list page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class ScheduleList extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/ScheduleStatusList.php b/gui/baculum/protected/Web/Pages/ScheduleStatusList.php index f10733b7a..fcbdb1f03 100644 --- a/gui/baculum/protected/Web/Pages/ScheduleStatusList.php +++ b/gui/baculum/protected/Web/Pages/ScheduleStatusList.php @@ -22,6 +22,12 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Schedule status list. + * + * @category Page + * @package Baculum Web + */ class ScheduleStatusList extends BaculumWebPage { } ?> diff --git a/gui/baculum/protected/Web/Pages/ScheduleView.php b/gui/baculum/protected/Web/Pages/ScheduleView.php index 677c8d139..8de37cc9c 100644 --- a/gui/baculum/protected/Web/Pages/ScheduleView.php +++ b/gui/baculum/protected/Web/Pages/ScheduleView.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Schedule view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class ScheduleView extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/StatisticsList.php b/gui/baculum/protected/Web/Pages/StatisticsList.php index 1bbf34e0f..e36e82408 100644 --- a/gui/baculum/protected/Web/Pages/StatisticsList.php +++ b/gui/baculum/protected/Web/Pages/StatisticsList.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Statistics list page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class StatisticsList extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/StatisticsView.php b/gui/baculum/protected/Web/Pages/StatisticsView.php index bbf896ccf..51abd690c 100644 --- a/gui/baculum/protected/Web/Pages/StatisticsView.php +++ b/gui/baculum/protected/Web/Pages/StatisticsView.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Statistics view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class StatisticsView extends BaculumWebPage { const COMPONENT_TYPE = 'ComponentType'; diff --git a/gui/baculum/protected/Web/Pages/StorageList.php b/gui/baculum/protected/Web/Pages/StorageList.php index b7bc114ab..3aa29e317 100644 --- a/gui/baculum/protected/Web/Pages/StorageList.php +++ b/gui/baculum/protected/Web/Pages/StorageList.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Storage list page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class StorageList extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/StorageView.php b/gui/baculum/protected/Web/Pages/StorageView.php index 3ae56d85f..3613f39cd 100644 --- a/gui/baculum/protected/Web/Pages/StorageView.php +++ b/gui/baculum/protected/Web/Pages/StorageView.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveRepeater'); Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Storage view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class StorageView extends BaculumWebPage { const STORAGEID = 'StorageId'; diff --git a/gui/baculum/protected/Web/Pages/Users.php b/gui/baculum/protected/Web/Pages/Users.php index 55d752c55..cdf7cd147 100644 --- a/gui/baculum/protected/Web/Pages/Users.php +++ b/gui/baculum/protected/Web/Pages/Users.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveRepeater'); Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Users page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class Users extends BaculumWebPage { protected $admin = true; diff --git a/gui/baculum/protected/Web/Pages/VolumeList.php b/gui/baculum/protected/Web/Pages/VolumeList.php index f89ea037d..528e9ad05 100644 --- a/gui/baculum/protected/Web/Pages/VolumeList.php +++ b/gui/baculum/protected/Web/Pages/VolumeList.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,6 +22,13 @@ Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Volume list page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class VolumeList extends BaculumWebPage { const USE_CACHE = true; diff --git a/gui/baculum/protected/Web/Pages/VolumeView.php b/gui/baculum/protected/Web/Pages/VolumeView.php index e11098a32..547932554 100644 --- a/gui/baculum/protected/Web/Pages/VolumeView.php +++ b/gui/baculum/protected/Web/Pages/VolumeView.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('System.Web.UI.ActiveControls.TActiveCheckBox'); Prado::using('Application.Web.Class.BaculumWebPage'); +/** + * Volume view page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class VolumeView extends BaculumWebPage { const USE_CACHE = false; diff --git a/gui/baculum/protected/Web/Pages/WebConfigWizard.php b/gui/baculum/protected/Web/Pages/WebConfigWizard.php index 8fccb699b..5e364f9f4 100644 --- a/gui/baculum/protected/Web/Pages/WebConfigWizard.php +++ b/gui/baculum/protected/Web/Pages/WebConfigWizard.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -27,6 +27,13 @@ Prado::using('Application.Web.Class.HostConfig'); Prado::using('Application.Web.Class.BasicWebUserConfig'); Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); +/** + * Web config wizard page. + * + * @author Marcin Haba + * @category Page + * @package Baculum Web + */ class WebConfigWizard extends BaculumWebPage { diff --git a/gui/baculum/protected/Web/Portlets/BConditional.php b/gui/baculum/protected/Web/Portlets/BConditional.php index b90ee114e..22f3f9cc1 100644 --- a/gui/baculum/protected/Web/Portlets/BConditional.php +++ b/gui/baculum/protected/Web/Portlets/BConditional.php @@ -22,6 +22,13 @@ Prado::using('System.Web.UI.WebControls.TConditional'); +/** + * Baculum conditional control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class BConditional extends TTemplateControl implements IDataRenderer, IActiveControl { const BCONDITION = 'BCondition'; diff --git a/gui/baculum/protected/Web/Portlets/BaculaConfigComponents.php b/gui/baculum/protected/Web/Portlets/BaculaConfigComponents.php index f707fd18d..b622cfcc6 100644 --- a/gui/baculum/protected/Web/Portlets/BaculaConfigComponents.php +++ b/gui/baculum/protected/Web/Portlets/BaculaConfigComponents.php @@ -26,6 +26,13 @@ Prado::using('Application.Web.Portlets.ComponentListTemplate'); Prado::using('Application.Web.Portlets.NewResourceMenu'); Prado::using('Application.Web.Class.Miscellaneous'); +/** + * Bacula config components control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class BaculaConfigComponents extends ComponentListTemplate { const CHILD_CONTROL = 'BaculaConfigResources'; diff --git a/gui/baculum/protected/Web/Portlets/BaculaConfigDirectives.php b/gui/baculum/protected/Web/Portlets/BaculaConfigDirectives.php index fe4925ab0..3a5214686 100644 --- a/gui/baculum/protected/Web/Portlets/BaculaConfigDirectives.php +++ b/gui/baculum/protected/Web/Portlets/BaculaConfigDirectives.php @@ -39,6 +39,13 @@ Prado::using('Application.Web.Portlets.DirectiveTimePeriod'); Prado::using('Application.Web.Portlets.DirectiveRunscript'); Prado::using('Application.Web.Portlets.DirectiveMessages'); +/** + * Bacula config directives control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class BaculaConfigDirectives extends DirectiveListTemplate { const SHOW_REMOVE_BUTTON = 'ShowRemoveButton'; diff --git a/gui/baculum/protected/Web/Portlets/BaculaConfigResources.php b/gui/baculum/protected/Web/Portlets/BaculaConfigResources.php index 9e3efd6cb..b4fc2517e 100644 --- a/gui/baculum/protected/Web/Portlets/BaculaConfigResources.php +++ b/gui/baculum/protected/Web/Portlets/BaculaConfigResources.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('System.Web.UI.ActiveControls.TActiveRepeater'); Prado::using('Application.Web.Portlets.ResourceListTemplate'); +/** + * Bacula config resource control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class BaculaConfigResources extends ResourceListTemplate { const CHILD_CONTROL = 'BaculaConfigDirectives'; diff --git a/gui/baculum/protected/Web/Portlets/BaculaHosts.php b/gui/baculum/protected/Web/Portlets/BaculaHosts.php index 4f31b56ae..41e58b003 100644 --- a/gui/baculum/protected/Web/Portlets/BaculaHosts.php +++ b/gui/baculum/protected/Web/Portlets/BaculaHosts.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveRepeater'); Prado::using('Application.Web.Class.HostConfig'); Prado::using('Application.Web.Portlets.HostListTemplate'); +/** + * Bacula hosts control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class BaculaHosts extends HostListTemplate { const CHILD_CONTROL = 'BaculaConfigComponents'; diff --git a/gui/baculum/protected/Web/Portlets/Bconsole.php b/gui/baculum/protected/Web/Portlets/Bconsole.php index 4eb066df8..37eaabc65 100644 --- a/gui/baculum/protected/Web/Portlets/Bconsole.php +++ b/gui/baculum/protected/Web/Portlets/Bconsole.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveButton'); Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('Application.Web.Portlets.Portlets'); +/** + * Bconsole control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class Bconsole extends Portlets { const MAX_CONSOLE_OUTPUT_BATCH = -1000; diff --git a/gui/baculum/protected/Web/Portlets/ClientBandwidthLimit.php b/gui/baculum/protected/Web/Portlets/ClientBandwidthLimit.php index d51482152..b96af4f32 100644 --- a/gui/baculum/protected/Web/Portlets/ClientBandwidthLimit.php +++ b/gui/baculum/protected/Web/Portlets/ClientBandwidthLimit.php @@ -28,6 +28,10 @@ Prado::using('Application.Web.Portlets.Portlets'); /** * Set client bandwidth limit control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web */ class ClientBandwidthLimit extends Portlets { diff --git a/gui/baculum/protected/Web/Portlets/ComponentActionsMenu.php b/gui/baculum/protected/Web/Portlets/ComponentActionsMenu.php index 4b626710d..68baf413d 100644 --- a/gui/baculum/protected/Web/Portlets/ComponentActionsMenu.php +++ b/gui/baculum/protected/Web/Portlets/ComponentActionsMenu.php @@ -26,6 +26,10 @@ Prado::using('Application.Web.Portlets.DirectiveListTemplate'); /** * Component actions control responsible for start, * stop and restart components. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web */ class ComponentActionsMenu extends DirectiveListTemplate { diff --git a/gui/baculum/protected/Web/Portlets/ComponentListTemplate.php b/gui/baculum/protected/Web/Portlets/ComponentListTemplate.php index b8550f054..4f7b6d44d 100644 --- a/gui/baculum/protected/Web/Portlets/ComponentListTemplate.php +++ b/gui/baculum/protected/Web/Portlets/ComponentListTemplate.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); Prado::using('Application.Web.Portlets.ConfigListTemplate'); +/** + * Component list template control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class ComponentListTemplate extends ConfigListTemplate implements IActiveControl, ICallbackEventHandler { const HOST = 'Host'; diff --git a/gui/baculum/protected/Web/Portlets/ConfigListTemplate.php b/gui/baculum/protected/Web/Portlets/ConfigListTemplate.php index d1ad390aa..e294108c0 100644 --- a/gui/baculum/protected/Web/Portlets/ConfigListTemplate.php +++ b/gui/baculum/protected/Web/Portlets/ConfigListTemplate.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Portlets.DirectiveControlTemplate'); +/** + * Config list template control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class ConfigListTemplate extends DirectiveControlTemplate { public function getChildControl($parent, $type) { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveCheckBox.php b/gui/baculum/protected/Web/Portlets/DirectiveCheckBox.php index c2486ebbd..71bc0098e 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveCheckBox.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveCheckBox.php @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveCheckBox'); Prado::using('Application.Web.Portlets.DirectiveTemplate'); +/** + * Checkbox directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveCheckBox extends DirectiveTemplate { public function getValue() { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveComboBox.php b/gui/baculum/protected/Web/Portlets/DirectiveComboBox.php index 6cd148ffe..9bf235fc5 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveComboBox.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveComboBox.php @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); Prado::using('Application.Web.Portlets.DirectiveTemplate'); +/** + * Combobox directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveComboBox extends DirectiveTemplate { public function onPreRender($param) { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveControlTemplate.php b/gui/baculum/protected/Web/Portlets/DirectiveControlTemplate.php index 042eef9c9..f0d4571c2 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveControlTemplate.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveControlTemplate.php @@ -22,6 +22,13 @@ Prado::using('System.Web.UI.TTemplateControl'); +/** + * Abstraction to directive control template. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ abstract class DirectiveControlTemplate extends TTemplateControl { public function getCmdParam() { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveFileSet.php b/gui/baculum/protected/Web/Portlets/DirectiveFileSet.php index 357d35eac..9be9bba98 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveFileSet.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveFileSet.php @@ -30,6 +30,13 @@ Prado::using('Application.Web.Portlets.DirectiveComboBox'); Prado::using('Application.Web.Portlets.DirectiveInteger'); Prado::using('Application.Web.Portlets.FileSetOptionRenderer'); +/** + * FileSet directive template. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveFileSet extends DirectiveListTemplate { private $directive_types = array( diff --git a/gui/baculum/protected/Web/Portlets/DirectiveInteger.php b/gui/baculum/protected/Web/Portlets/DirectiveInteger.php index 13a919230..41d031d7c 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveInteger.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveInteger.php @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('Application.Web.Portlets.DirectiveTemplate'); +/** + * Integer directive template. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveInteger extends DirectiveTemplate { public function getValue() { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveListBox.php b/gui/baculum/protected/Web/Portlets/DirectiveListBox.php index 2ba98d222..283f308de 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveListBox.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveListBox.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveListBox'); Prado::using('Application.Web.Portlets.DirectiveTemplate'); +/** + * ListBox directive template. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveListBox extends DirectiveTemplate { public function onPreRender($param) { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveListTemplate.php b/gui/baculum/protected/Web/Portlets/DirectiveListTemplate.php index eb5d5c071..232be6954 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveListTemplate.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveListTemplate.php @@ -23,6 +23,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); Prado::using('Application.Web.Portlets.ConfigListTemplate'); +/** + * Directive list template. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveListTemplate extends ConfigListTemplate implements IActiveControl, ICallbackEventHandler { const HOST = 'Host'; diff --git a/gui/baculum/protected/Web/Portlets/DirectiveMessages.php b/gui/baculum/protected/Web/Portlets/DirectiveMessages.php index c682c67ba..01c145f5c 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveMessages.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveMessages.php @@ -23,6 +23,13 @@ Prado::using('Application.Web.Portlets.DirectiveListTemplate'); Prado::using('Application.Web.Portlets.DirectiveTextBox'); +/** + * Messages directive. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveMessages extends DirectiveListTemplate { private $directive_types = array( diff --git a/gui/baculum/protected/Web/Portlets/DirectiveMultiComboBox.php b/gui/baculum/protected/Web/Portlets/DirectiveMultiComboBox.php index 5b453e10f..dc5736c0c 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveMultiComboBox.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveMultiComboBox.php @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * Multi-combobox directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveMultiComboBox extends DirectiveListTemplate { public function dataBind() { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveMultiTextBox.php b/gui/baculum/protected/Web/Portlets/DirectiveMultiTextBox.php index ed85b7c6f..7ce3bfe13 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveMultiTextBox.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveMultiTextBox.php @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * Multi-textbox directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveMultiTextBox extends DirectiveListTemplate { public function dataBind() { diff --git a/gui/baculum/protected/Web/Portlets/DirectivePassword.php b/gui/baculum/protected/Web/Portlets/DirectivePassword.php index 1e3cf889b..17766cadb 100644 --- a/gui/baculum/protected/Web/Portlets/DirectivePassword.php +++ b/gui/baculum/protected/Web/Portlets/DirectivePassword.php @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('Application.Web.Portlets.DirectiveTemplate'); +/** + * Password directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectivePassword extends DirectiveTemplate { public function getValue() { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveRenderer.php b/gui/baculum/protected/Web/Portlets/DirectiveRenderer.php index e981a84c5..b84f9f756 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveRenderer.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveRenderer.php @@ -42,6 +42,13 @@ Prado::using('Application.Web.Portlets.DirectiveTimePeriod'); Prado::using('Application.Web.Portlets.DirectiveRunscript'); Prado::using('Application.Web.Portlets.DirectiveMessages'); +/** + * Directive renderer control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveRenderer extends TItemDataRenderer { const DATA = 'Data'; diff --git a/gui/baculum/protected/Web/Portlets/DirectiveRunscript.php b/gui/baculum/protected/Web/Portlets/DirectiveRunscript.php index e85abe74d..953dd93ce 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveRunscript.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveRunscript.php @@ -25,6 +25,13 @@ Prado::using('Application.Web.Portlets.DirectiveCheckBox'); Prado::using('Application.Web.Portlets.DirectiveTextBox'); Prado::using('Application.Web.Portlets.DirectiveComboBox'); +/** + * Runscript directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveRunscript extends DirectiveListTemplate { private $directive_types = array( diff --git a/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php b/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php index bfdf0f7f0..76ca7f139 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveSchedule.php @@ -27,6 +27,13 @@ Prado::using('Application.Web.Portlets.DirectiveComboBox'); Prado::using('Application.Web.Portlets.DirectiveTextBox'); Prado::using('Application.Web.Portlets.DirectiveTimePeriod'); +/** + * Schedule directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveSchedule extends DirectiveListTemplate { private $directive_types = array( diff --git a/gui/baculum/protected/Web/Portlets/DirectiveSetting.php b/gui/baculum/protected/Web/Portlets/DirectiveSetting.php index 67e27722c..24c4057a3 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveSetting.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveSetting.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * Directive settings control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveSetting extends DirectiveListTemplate { public function onLoadDirectives($param) { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveSize.php b/gui/baculum/protected/Web/Portlets/DirectiveSize.php index 65eef444c..c6cb936c3 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveSize.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveSize.php @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); Prado::using('Application.Web.Portlets.DirectiveTemplate'); +/** + * Size directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveSize extends DirectiveTemplate { const SIZE_FORMAT = 'SizeFormat'; diff --git a/gui/baculum/protected/Web/Portlets/DirectiveSpeed.php b/gui/baculum/protected/Web/Portlets/DirectiveSpeed.php index e536c7d7f..889bbd315 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveSpeed.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveSpeed.php @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); Prado::using('Application.Web.Portlets.DirectiveTemplate'); +/** + * Speed directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveSpeed extends DirectiveTemplate { const ALLOW_REMOVE = 'AllowRemove'; diff --git a/gui/baculum/protected/Web/Portlets/DirectiveTemplate.php b/gui/baculum/protected/Web/Portlets/DirectiveTemplate.php index b37e414f5..f439dae27 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveTemplate.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveTemplate.php @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); Prado::using('Application.Web.Portlets.DirectiveControlTemplate'); Prado::using('Application.Web.Portlets.IDirectiveField'); +/** + * Directive template control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveTemplate extends DirectiveControlTemplate implements IDirectiveField, IActiveControl { const HOST = 'Host'; diff --git a/gui/baculum/protected/Web/Portlets/DirectiveTextBox.php b/gui/baculum/protected/Web/Portlets/DirectiveTextBox.php index f72d86d8d..301764730 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveTextBox.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveTextBox.php @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('Application.Web.Portlets.DirectiveTemplate'); +/** + * TextBox directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveTextBox extends DirectiveTemplate { public function getValue() { diff --git a/gui/baculum/protected/Web/Portlets/DirectiveTimePeriod.php b/gui/baculum/protected/Web/Portlets/DirectiveTimePeriod.php index b0b95aa1b..25d2e5a30 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveTimePeriod.php +++ b/gui/baculum/protected/Web/Portlets/DirectiveTimePeriod.php @@ -25,6 +25,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); Prado::using('Application.Web.Portlets.DirectiveTemplate'); +/** + * Time period directive control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class DirectiveTimePeriod extends DirectiveTemplate { const TIME_FORMAT = 'TimeFormat'; diff --git a/gui/baculum/protected/Web/Portlets/FileSetBrowser.php b/gui/baculum/protected/Web/Portlets/FileSetBrowser.php index f772150cc..92a590de5 100644 --- a/gui/baculum/protected/Web/Portlets/FileSetBrowser.php +++ b/gui/baculum/protected/Web/Portlets/FileSetBrowser.php @@ -23,6 +23,13 @@ Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('Application.Web.Portlets.Portlets'); +/** + * FileSet browser control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class FileSetBrowser extends Portlets { const BCLIENT_ID = 'BClientId'; diff --git a/gui/baculum/protected/Web/Portlets/FileSetOptionRenderer.php b/gui/baculum/protected/Web/Portlets/FileSetOptionRenderer.php index d10f4b5f4..4c8d0f43e 100644 --- a/gui/baculum/protected/Web/Portlets/FileSetOptionRenderer.php +++ b/gui/baculum/protected/Web/Portlets/FileSetOptionRenderer.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Portlets.DirectiveRenderer'); +/** + * FileSet option renderer. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class FileSetOptionRenderer extends DirectiveRenderer { private static $index = 0; diff --git a/gui/baculum/protected/Web/Portlets/HostListTemplate.php b/gui/baculum/protected/Web/Portlets/HostListTemplate.php index 3fc97b2af..b23d0a7bf 100644 --- a/gui/baculum/protected/Web/Portlets/HostListTemplate.php +++ b/gui/baculum/protected/Web/Portlets/HostListTemplate.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); Prado::using('Application.Web.Portlets.ConfigListTemplate'); +/** + * Host list template control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class HostListTemplate extends ConfigListTemplate implements IActiveControl, ICallbackEventHandler { const HOST = 'Host'; diff --git a/gui/baculum/protected/Web/Portlets/IDirectiveField.php b/gui/baculum/protected/Web/Portlets/IDirectiveField.php index b39fd5e1a..3df223ad8 100644 --- a/gui/baculum/protected/Web/Portlets/IDirectiveField.php +++ b/gui/baculum/protected/Web/Portlets/IDirectiveField.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,6 +20,13 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ +/** + * Directive field interface. + * + * @author Marcin Haba + * @category Interfaces + * @package Baculum Web + */ interface IDirectiveField { public function setDirectiveName($name); diff --git a/gui/baculum/protected/Web/Portlets/JobBandwidthLimit.php b/gui/baculum/protected/Web/Portlets/JobBandwidthLimit.php index 0f2f71763..e92c8b2f0 100644 --- a/gui/baculum/protected/Web/Portlets/JobBandwidthLimit.php +++ b/gui/baculum/protected/Web/Portlets/JobBandwidthLimit.php @@ -20,7 +20,6 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ - Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Portlets.DirectiveSpeed'); @@ -28,6 +27,10 @@ Prado::using('Application.Web.Portlets.Portlets'); /** * Set job bandwidth limit control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web */ class JobBandwidthLimit extends Portlets { diff --git a/gui/baculum/protected/Web/Portlets/JobGraphs.php b/gui/baculum/protected/Web/Portlets/JobGraphs.php index 64f51ca1b..8697f26df 100644 --- a/gui/baculum/protected/Web/Portlets/JobGraphs.php +++ b/gui/baculum/protected/Web/Portlets/JobGraphs.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -21,6 +21,13 @@ */ Prado::using('Application.Web.Portlets.Portlets'); +/** + * Job graphs control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class JobGraphs extends Portlets { const JOB = 'Job'; diff --git a/gui/baculum/protected/Web/Portlets/JobListFiles.php b/gui/baculum/protected/Web/Portlets/JobListFiles.php index 32a15b185..de1e30781 100644 --- a/gui/baculum/protected/Web/Portlets/JobListFiles.php +++ b/gui/baculum/protected/Web/Portlets/JobListFiles.php @@ -20,7 +20,6 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ - Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); @@ -29,6 +28,13 @@ Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('System.Web.UI.WebControls.TListItem'); Prado::using('Application.Web.Portlets.Portlets'); +/** + * Job list files control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class JobListFiles extends Portlets { const JOBID = 'JobId'; diff --git a/gui/baculum/protected/Web/Portlets/JobRunscriptRenderer.php b/gui/baculum/protected/Web/Portlets/JobRunscriptRenderer.php index c0727a5f7..d47014893 100644 --- a/gui/baculum/protected/Web/Portlets/JobRunscriptRenderer.php +++ b/gui/baculum/protected/Web/Portlets/JobRunscriptRenderer.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Portlets.DirectiveRenderer'); +/** + * Job runscript renderer. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class JobRunscriptRenderer extends DirectiveRenderer { private static $index = 0; diff --git a/gui/baculum/protected/Web/Portlets/LabelVolume.php b/gui/baculum/protected/Web/Portlets/LabelVolume.php index 544f6ffaf..21c7e98fb 100644 --- a/gui/baculum/protected/Web/Portlets/LabelVolume.php +++ b/gui/baculum/protected/Web/Portlets/LabelVolume.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,7 +20,6 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ - Prado::using('System.Web.UI.ActiveControls.TActiveCheckBox'); Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); @@ -28,6 +27,13 @@ Prado::using('System.Web.UI.ActiveControls.TActivePanel'); Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('Application.Web.Portlets.Portlets'); +/** + * Label volume control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class LabelVolume extends Portlets { public function loadValues() { diff --git a/gui/baculum/protected/Web/Portlets/MainSideBar.php b/gui/baculum/protected/Web/Portlets/MainSideBar.php index 9bcebce9f..8128f7bd8 100644 --- a/gui/baculum/protected/Web/Portlets/MainSideBar.php +++ b/gui/baculum/protected/Web/Portlets/MainSideBar.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Portlets.Portlets'); +/** + * Main side-bar control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class MainSideBar extends Portlets { public function logout($sender, $param) { diff --git a/gui/baculum/protected/Web/Portlets/MessageTypes.php b/gui/baculum/protected/Web/Portlets/MessageTypes.php index aae494429..eb7951869 100644 --- a/gui/baculum/protected/Web/Portlets/MessageTypes.php +++ b/gui/baculum/protected/Web/Portlets/MessageTypes.php @@ -20,11 +20,17 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ - Prado::using('System.Web.Ui.ActiveControls.TActiveRepeater'); Prado::using('Application.Web.Portlets.DirectiveListTemplate'); Prado::using('Application.Web.Portlets.DirectiveCheckBox'); +/** + * Message types control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class MessageTypes extends DirectiveListTemplate { public function loadConfig() { diff --git a/gui/baculum/protected/Web/Portlets/NewFileSetExcMenu.php b/gui/baculum/protected/Web/Portlets/NewFileSetExcMenu.php index 29581f334..cc328282e 100644 --- a/gui/baculum/protected/Web/Portlets/NewFileSetExcMenu.php +++ b/gui/baculum/protected/Web/Portlets/NewFileSetExcMenu.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * New FileSet exclude menu. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class NewFileSetExcMenu extends DirectiveListTemplate { const ITEM_INDEX = 'ItemIndex'; diff --git a/gui/baculum/protected/Web/Portlets/NewFileSetFileOptMenu.php b/gui/baculum/protected/Web/Portlets/NewFileSetFileOptMenu.php index afc1681cd..981bbb9e5 100644 --- a/gui/baculum/protected/Web/Portlets/NewFileSetFileOptMenu.php +++ b/gui/baculum/protected/Web/Portlets/NewFileSetFileOptMenu.php @@ -22,6 +22,13 @@ Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * New FileSet file options menu. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class NewFileSetFileOptMenu extends DirectiveListTemplate { const ITEM_INDEX = 'ItemIndex'; diff --git a/gui/baculum/protected/Web/Portlets/NewFileSetIncExcMenu.php b/gui/baculum/protected/Web/Portlets/NewFileSetIncExcMenu.php index d77d3691f..a1c75a40c 100644 --- a/gui/baculum/protected/Web/Portlets/NewFileSetIncExcMenu.php +++ b/gui/baculum/protected/Web/Portlets/NewFileSetIncExcMenu.php @@ -22,6 +22,12 @@ Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * New FileSet include and exclude menu. + * + * @category Control + * @package Baculum Web + */ class NewFileSetIncExcMenu extends DirectiveListTemplate { } ?> diff --git a/gui/baculum/protected/Web/Portlets/NewMessagesMenu.php b/gui/baculum/protected/Web/Portlets/NewMessagesMenu.php index a39830bfc..540000cfa 100644 --- a/gui/baculum/protected/Web/Portlets/NewMessagesMenu.php +++ b/gui/baculum/protected/Web/Portlets/NewMessagesMenu.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,5 +22,11 @@ Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * New messages menu control. + * + * @category Control + * @package Baculum Web + */ class NewMessagesMenu extends DirectiveListTemplate { } diff --git a/gui/baculum/protected/Web/Portlets/NewResourceMenu.php b/gui/baculum/protected/Web/Portlets/NewResourceMenu.php index 464efb344..8ab185d3c 100644 --- a/gui/baculum/protected/Web/Portlets/NewResourceMenu.php +++ b/gui/baculum/protected/Web/Portlets/NewResourceMenu.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -22,5 +22,12 @@ Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * New resource menu. + * + * @category Control + * @package Baculum Web + */ class NewResourceMenu extends DirectiveListTemplate { } +?> diff --git a/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.php b/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.php index 65d3e1c7b..46c15c516 100644 --- a/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.php +++ b/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,5 +23,12 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * New runscript menu. + * + * @category Control + * @package Baculum Web + */ class NewRunscriptMenu extends DirectiveListTemplate { } +?> diff --git a/gui/baculum/protected/Web/Portlets/NewScheduleMenu.php b/gui/baculum/protected/Web/Portlets/NewScheduleMenu.php index 99d2bd783..8f196227b 100644 --- a/gui/baculum/protected/Web/Portlets/NewScheduleMenu.php +++ b/gui/baculum/protected/Web/Portlets/NewScheduleMenu.php @@ -23,6 +23,12 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Portlets.DirectiveListTemplate'); +/** + * New schedule menu. + * + * @category Control + * @package Baculum Web + */ class NewScheduleMenu extends DirectiveListTemplate { } ?> diff --git a/gui/baculum/protected/Web/Portlets/Portlets.php b/gui/baculum/protected/Web/Portlets/Portlets.php index 7416b10e3..76bad8c3d 100644 --- a/gui/baculum/protected/Web/Portlets/Portlets.php +++ b/gui/baculum/protected/Web/Portlets/Portlets.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -19,7 +19,14 @@ * * Bacula(R) is a registered trademark of Kern Sibbald. */ - + +/** + * Portlets control base. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class Portlets extends TTemplateControl { protected function getModule($id) { diff --git a/gui/baculum/protected/Web/Portlets/ResourceListTemplate.php b/gui/baculum/protected/Web/Portlets/ResourceListTemplate.php index 4e98c356b..50f0d794a 100644 --- a/gui/baculum/protected/Web/Portlets/ResourceListTemplate.php +++ b/gui/baculum/protected/Web/Portlets/ResourceListTemplate.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2016 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -23,6 +23,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter'); Prado::using('Application.Web.Portlets.ConfigListTemplate'); +/** + * Resource list template control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class ResourceListTemplate extends ConfigListTemplate implements IActiveControl, ICallbackEventHandler { const HOST = 'Host'; diff --git a/gui/baculum/protected/Web/Portlets/RunJob.php b/gui/baculum/protected/Web/Portlets/RunJob.php index cd061d098..18891cf8a 100644 --- a/gui/baculum/protected/Web/Portlets/RunJob.php +++ b/gui/baculum/protected/Web/Portlets/RunJob.php @@ -20,7 +20,6 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ - Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); Prado::using('System.Web.UI.ActiveControls.TActivePanel'); Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); @@ -31,6 +30,13 @@ Prado::using('System.Web.UI.ActiveControls.TActiveLabel'); Prado::using('System.Web.UI.ActiveControls.TActiveButton'); Prado::using('Application.Web.Portlets.Portlets'); +/** + * Run job control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class RunJob extends Portlets { const JOBID = 'JobId'; diff --git a/gui/baculum/protected/Web/Portlets/StatusSchedule.php b/gui/baculum/protected/Web/Portlets/StatusSchedule.php index 81b6e9129..526aaf048 100644 --- a/gui/baculum/protected/Web/Portlets/StatusSchedule.php +++ b/gui/baculum/protected/Web/Portlets/StatusSchedule.php @@ -24,6 +24,13 @@ Prado::using('System.Web.UI.JuiControls.TJuiDatePicker'); Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton'); Prado::using('Application.Web.Portlets.Portlets'); +/** + * Schedule status control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class StatusSchedule extends Portlets { const JOB = 'Job'; diff --git a/gui/baculum/protected/Web/Portlets/UpdateSlots.php b/gui/baculum/protected/Web/Portlets/UpdateSlots.php index bc128ada1..4a9b0b7bf 100644 --- a/gui/baculum/protected/Web/Portlets/UpdateSlots.php +++ b/gui/baculum/protected/Web/Portlets/UpdateSlots.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2018 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,13 +20,19 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ - Prado::using('System.Web.UI.ActiveControls.TCallback'); Prado::using('System.Web.UI.ActiveControls.TActiveCheckBox'); Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList'); Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); Prado::using('Application.Web.Portlets.Portlets'); +/** + * Update slots control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class UpdateSlots extends Portlets { public function loadValues() { diff --git a/gui/baculum/protected/Web/Portlets/Users.php b/gui/baculum/protected/Web/Portlets/Users.php index 74d863607..04e16274f 100644 --- a/gui/baculum/protected/Web/Portlets/Users.php +++ b/gui/baculum/protected/Web/Portlets/Users.php @@ -3,7 +3,7 @@ * Bacula(R) - The Network Backup Solution * Baculum - Bacula web interface * - * Copyright (C) 2013-2017 Kern Sibbald + * Copyright (C) 2013-2019 Kern Sibbald * * The main author of Baculum is Marcin Haba. * The original author of Bacula is Kern Sibbald, with contributions @@ -20,10 +20,16 @@ * Bacula(R) is a registered trademark of Kern Sibbald. */ - Prado::using('System.Web.UI.ActiveControls.TActiveRepeater'); Prado::using('Application.Web.Portlets.Portlets'); +/** + * Users control. + * + * @author Marcin Haba + * @category Control + * @package Baculum Web + */ class Users extends Portlets { public $web_config;