* Module is responsible for get/set API config data.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Config
+ * @package Baculum API
*/
class APIConfig extends ConfigFileModule {
* 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 <marcin.haba@bacula.pl>
- */
-
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 <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class APIDbModule extends TActiveRecord {
/**
* 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
* Every API module should inherit this abstraction.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
*/
abstract class APIModule extends TModule {
* 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
Prado::using('System.Web.TUrlMapping');
+/**
+ * Extension default URL mapper for API.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category URL
+ * @package Baculum API
+ */
class APIUrlMapping extends TUrlMappingPattern {
const SERVICE_ID = 'api';
Prado::using('Application.Common.Class.BException');
+/**
+ * API exceptions.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Exception
+ * @package Baculum API
+ */
class BAPIException extends BException {
}
/**
* Tools used to show list files command output.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
*/
class BList extends APIModule {
* 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
* Manage Bacula configuration.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Config
+ * @package Baculum API
*/
class BaculaConfig extends ConfigFileModule {
* Read/write Bacula configuration.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Config
+ * @package Baculum API
*/
class BaculaSetting extends APIModule {
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 <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum API
+ */
class BaculumAPIPage extends BaculumPage {
public function onPreInit($param) {
* The module contains methods that are common for all API pages.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
*/
abstract class BaculumAPIServer extends TPage {
* 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
* Manage HTTP Basic auth method users.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Config
+ * @package Baculum API
*/
class BasicAPIUserConfig extends BasicUserConfig {
Prado::using('Application.API.Class.BAPIException');
Prado::using('Application.API.Class.APIModule');
+/**
+ * Execute bconsole module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Bconsole
+ * @package Baculum API
+ */
class Bconsole extends APIModule {
const SUDO = 'sudo';
* 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
Prado::using('Application.API.Class.APIModule');
Prado::using('Application.API.Class.ClientRecord');
+/**
+ * Client manager module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
+ */
class ClientManager extends APIModule {
public function getClients($limit) {
* 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
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * Client active record module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class ClientRecord extends APIDbModule {
const TABLE = 'Client';
return parent::finder($className);
}
}
-?>
\ No newline at end of file
+?>
/**
* Module responsible for executing action commands.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
*/
class ComponentActions extends APIModule {
/**
* Base abstract class to inherit commonly used method
* in work with component status.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
*/
abstract class ComponentStatusModule extends APIModule {
/**
* Get console output page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
*/
abstract class ConsoleOutputPage extends BaculumAPIServer {
Prado::using('Application.API.Class.APIModule');
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * Database module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class Database extends APIModule {
public $ID;
* 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
Prado::using('Application.API.Class.APIModule');
Prado::using('Application.API.Class.FileSetRecord');
+/**
+ * FileSet manager module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
+ */
class FileSetManager extends APIModule {
public function getFileSets($limit) {
* 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
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * FileSet record module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class FileSetRecord extends APIDbModule {
+
const TABLE = 'FileSet';
public $filesetid;
return parent::finder($className);
}
}
-?>
\ No newline at end of file
+?>
* 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
* Bacula JSON tools manager.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
*/
class JSONTools extends APIModule
{
Prado::using('Application.API.Class.JobRecord');
Prado::using('Application.API.Class.Database');
+/**
+ * Job manager module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
+ */
class JobManager extends APIModule {
public function getJobs($limit, $params = array()) {
* 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
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * Job record module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class JobRecord extends APIDbModule {
const TABLE = 'Job';
return parent::finder($className);
}
}
-?>
\ No newline at end of file
+?>
* 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
Prado::using('Application.API.Class.APIModule');
Prado::using('Application.API.Class.LogRecord');
+/**
+ * Log manager module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
+ */
class LogManager extends APIModule {
public function getLogByJobId($jobid) {
* 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
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * Log record module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class LogRecord extends APIDbModule {
const TABLE = 'Log';
Prado::using('Application.API.Class.APIModule');
+/**
+ * Ls command module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
+ */
class Ls extends APIModule {
const LS_OUTPUT_PATTERN = '/^(?P<perm>[a-z\-\.]+)\s+(?P<nb_hardlink>\d+)\s+(?P<owner>\w+)\s+(?P<group>\w+)\s+(?P<size>\d+)\s+(?P<mtime>[\d\-]+\s+[\d:]+)\s+(?P<item>(?U:[\S\s]+))(?P<dest>(?(?=\s+\-\>\s+)[\S\s]*))$/i';
* 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
/**
* Manager for authorization identifiers (authorization codes).
*
- * @category OAuth2
- * @package Baculum
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Authorization
+ * @package Baculum API
*/
-
class AuthIdManager extends APIModule {
/**
* 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
/**
* Get/set OAuth2 auth identifier.
*
- * @category OAuth2
- * @package Baculum
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Authorization
+ * @package Baculum API
*/
-
class AuthIdRecord extends SessionRecord implements SessionItem {
public $auth_id;
* 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 <marcin.haba@bacula.pl>
+ * @category Authorization
+ * @package Baculum API
+ */
class BaculumOAuth2 extends OAuth2 {
/**
* 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
* Module is responsible for get/set OAuth2 client config data.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Authorization
+ * @package Baculum API
*/
class OAuth2Config extends ConfigFileModule {
* 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
/**
* Manager for tokens.
*
+ * @author Marcin Haba <marcin.haba@bacula.pl>
* @category Authorization
- * @package Baculum
+ * @package Baculum API
*/
-
class TokenManager extends APIModule {
/**
* 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
Prado::using('Application.Common.Class.SessionRecord');
/**
- * @category Database
+ * Module to store tokens as session record.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Authorization
* @package Baculum
*/
-
class TokenRecord extends SessionRecord implements SessionItem {
public $access_token;
Prado::using('System.Web.TUrlMapping');
+/**
+ * Extension default URL mapper for OAuth2.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category URL
+ * @package Baculum API
+ */
class OAuthUrlMapping extends TUrlMappingPattern {
const SERVICE_ID = 'oauth';
Prado::using('System.Web.TUrlMapping');
+/**
+ * Extension default URL mapper for Panel.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category URL
+ * @package Baculum API
+ */
class PanelUrlMapping extends TUrlMappingPattern {
const SERVICE_ID = 'panel';
* 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
Prado::using('Application.API.Class.PoolRecord');
Prado::using('Application.API.Class.Database');
+/**
+ * Pool manager module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
+ */
class PoolManager extends APIModule {
public function getPools($limit) {
$criteria = new TActiveRecordCriteria;
* 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
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * Pool record module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class PoolRecord extends APIDbModule {
const TABLE = 'Pool';
/**
* Module used to get and parse client status output.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Status
+ * @package Baculum API
*/
class StatusClient extends ComponentStatusModule {
/**
* Module used to parse and prepare director status output.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Status
+ * @package Baculum API
*/
class StatusDirector extends ComponentStatusModule {
/**
* Module used to get and parse storage status output.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Status
+ * @package Baculum API
*/
class StatusStorage extends ComponentStatusModule {
* 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
Prado::using('Application.API.Class.APIModule');
Prado::using('Application.API.Class.StorageRecord');
+/**
+ * Storage manager module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
+ */
class StorageManager extends APIModule {
public function getStorages($limit) {
* 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
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * Storage record module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class StorageRecord extends APIDbModule {
const TABLE = 'Storage';
* 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
Prado::using('Application.API.Class.APIModule');
Prado::using('Application.API.Class.VersionRecord');
+/**
+ * Version manager module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
+ */
class VersionManager extends APIModule
{
public function getVersionId() {
return VersionRecord::finder()->find($criteria);
}
}
-?>
\ No newline at end of file
+?>
* 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
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * Version record module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class VersionRecord extends APIDbModule
{
const TABLE = 'Version';
return parent::finder($className);
}
}
-?>
\ No newline at end of file
+?>
* 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
Prado::using('Application.API.Class.VolumeRecord');
Prado::using('Application.API.Class.Database');
+/**
+ * Volume manager module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum API
+ */
class VolumeManager extends APIModule {
public function getVolumes($limit) {
* 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
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * Volume record module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum API
+ */
class VolumeRecord extends APIDbModule {
+
const TABLE = 'Media';
public $mediaid;
Prado::using('Application.Common.Class.Params');
+/**
+ * Main layout.
+ *
+ * @category Layout
+ * @package Baculum API
+ */
class Main extends TTemplateControl {
}
?>
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Wizard layout.
+ *
+ * @category Layout
+ * @package Baculum API
+ */
class Wizard extends TTemplateControl
{
}
Prado::using('Application.API.Class.APIConfig');
+/**
+ * API actions support.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Actions extends BaculumAPIServer {
public function get() {
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * BVFS cleanup.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class BVFSCleanUp extends BaculumAPIServer {
public function set($id, $params) {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * BVFS clear cache.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class BVFSClearCache extends BaculumAPIServer {
public function set($id, $params) {
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * BVFS get jobids to do restore.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class BVFSGetJobids extends BaculumAPIServer {
public function get() {
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * BVFS list directories.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class BVFSLsDirs extends BaculumAPIServer {
private $jobids;
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * BVFS list files.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class BVFSLsFiles extends BaculumAPIServer {
private $jobids;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * BVFS restore.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class BVFSRestore extends BaculumAPIServer {
public function create($params) {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * BVFS update.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class BVFSUpdate extends BaculumAPIServer {
public function set($id, $params) {
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * BVFS versions.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class BVFSVersions extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Catalog test.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Catalog extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Client endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Client extends BaculumAPIServer {
public function get() {
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Client bandwidth limit endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class ClientBandwidthLimit extends BaculumAPIServer {
public function set($id, $params) {
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Client list directories.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class ClientLs extends BaculumAPIServer {
public function get() {
Prado::using('Application.API.Class.ConsoleOutputPage');
+/**
+ * Client show command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class ClientShow extends ConsoleOutputPage {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Client status.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class ClientStatus extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Clients endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Clients extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Clients show command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class ClientsShow extends BaculumAPIServer {
public function get() {
/**
* Component status module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
*/
class ComponentStatus extends BaculumAPIServer {
* 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
Prado::using('Application.Common.Class.Errors');
+/**
+ * Config endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Config extends BaculumAPIServer {
public function get() {
$component_type = $this->Request->contains('component_type') ? $this->Request['component_type'] : null;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Console command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class ConsoleCommand extends BaculumAPIServer {
public function set($id, $params) {
$this->error = $result->exitcode;
}
}
-
?>
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Database size endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class DbSize extends BaculumAPIServer {
public function get() {
$dbsize = $this->getModule('db')->getDatabaseSize();
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Directors endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Directors extends BaculumAPIServer {
public function get() {
$result = $this->getModule('bconsole')->getDirectors();
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * FileSet endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class FileSet extends BaculumAPIServer {
public function get() {
$filesetid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * FileSet resource names endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class FileSetResNames extends BaculumAPIServer {
public function get() {
$directors = $this->getModule('bconsole')->getDirectors();
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * FileSets endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class FileSets extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Job endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Job extends BaculumAPIServer {
public function get() {
$jobid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Job bandwidth limit endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobBandwidthLimit extends BaculumAPIServer {
public function set($id, $params) {
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Cancel job endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobCancel extends BaculumAPIServer {
public function set($id, $params) {
* 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
Prado::using('Application.API.Class.Bconsole');
+/**
+ * Estimate job endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobEstimate extends BaculumAPIServer {
public function get() {
/**
* List files from 'list files jobid=xx' bconsole command.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
*/
class JobFiles extends BaculumAPIServer {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Job log endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobLog extends BaculumAPIServer {
public function get() {
$jobid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Job resource names endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobResNames extends BaculumAPIServer {
public function get() {
$limit = $this->Request->contains('limit') ? intval($this->Request['limit']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Job run endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobRun extends BaculumAPIServer {
public function create($params) {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Job show endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobShow extends BaculumAPIServer {
public function get() {
$jobid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Job totals endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobTotals extends BaculumAPIServer {
public function get() {
$error = false;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Jobs endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Jobs extends BaculumAPIServer {
public function get() {
$misc = $this->getModule('misc');
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Jobs for client endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobsForClient extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Jobs on volume endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobsOnVolume extends BaculumAPIServer {
public function get() {
$allowed = array();
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Recent jobs endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobsRecent extends BaculumAPIServer {
public function get() {
$jobname = $this->Request->contains('name') ? $this->Request['name'] : '';
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Show jobs command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class JobsShow extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Pool endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Pool extends BaculumAPIServer {
public function get() {
$poolid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Show pool command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class PoolShow extends BaculumAPIServer {
public function get() {
$poolid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Update pool command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class PoolUpdate extends BaculumAPIServer {
public function set($id, $params) {
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Update pool volumes command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class PoolUpdateVolumes extends BaculumAPIServer {
public function set($id, $params) {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Pools endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Pools extends BaculumAPIServer {
public function get() {
$limit = $this->Request->contains('limit') ? intval($this->Request['limit']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Show pools command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class PoolsShow extends BaculumAPIServer {
public function get() {
* 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
Prado::using('Application.API.Class.APIDbModule');
+/**
+ * Run restore command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class RestoreRun extends BaculumAPIServer {
public function create($params) {
Prado::using('Application.API.Class.Bconsole');
+/**
+ * Status schedune endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class ScheduleStatus extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Schedules command endpoint
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Schedules extends BaculumAPIServer {
public function get() {
$result = $this->getModule('bconsole')->bconsoleCommand($this->director, array('.schedule'));
Prado::using('Application.API.Class.Bconsole');
+/**
+ * Update slots command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class SlotsUpdate extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Storage endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Storage extends BaculumAPIServer {
public function get() {
$storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Mount storage command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class StorageMount extends BaculumAPIServer {
public function get() {
$storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Release storage command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class StorageRelease extends BaculumAPIServer {
public function get() {
$storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Show storage command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class StorageShow extends BaculumAPIServer {
public function get() {
$storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Storage status command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class StorageStatus extends BaculumAPIServer {
public function get() {
$storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Storage umount command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class StorageUmount extends BaculumAPIServer {
public function get() {
$storageid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Storages endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Storages extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Show storages command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class StoragesShow extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Volume endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Volume extends BaculumAPIServer {
public function get() {
$mediaid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
Prado::using('Application.API.Class.Bconsole');
+/**
+ * Label volume endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class VolumeLabel extends BaculumAPIServer {
public function get() {
Prado::using('Application.API.Class.Bconsole');
+/**
+ * Label barcodes command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class VolumeLabelBarcodes extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Volume prune command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class VolumePrune extends BaculumAPIServer {
/**
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Volume purge command endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class VolumePurge extends BaculumAPIServer {
/**
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Volumes endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Volumes extends BaculumAPIServer {
public function get() {
$limit = $this->Request->contains('limit') ? intval($this->Request['limit']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Volumes in pool endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class VolumesInPool extends BaculumAPIServer {
public function get() {
$poolid = $this->Request->contains('id') ? intval($this->Request['id']) : 0;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Required volumes endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class VolumesRequired extends BaculumAPIServer {
public function get() {
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Welcome endpoint.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
+ */
class Welcome extends BaculumAPIServer {
public function get() {
$panel_url = sprintf('%s://%s:%d',
* 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
/**
* OAuth2 authorization server.
*
- * @category OAuth2
- * @package Baculum
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
*/
class Authorize extends BaculumAPIPage {
* 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
/**
* OAuth2 authorization server - request token part.
*
- * @category OAuth2
- * @package Baculum
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category API
+ * @package Baculum API
*/
class RequestToken extends BaculumAPIPage {
* 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
Prado::using('System.Web.UI.ActiveControls.TCallback');
Prado::using('Application.API.Class.BaculumAPIPage');
+/**
+ * API main page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Panel
+ * @package Baculum API
+ */
class APIHome extends BaculumAPIPage {
public function onInit($param) {
Prado::using('Application.API.Class.Database');
Prado::using('Application.API.Class.BasicAPIUserConfig');
+/**
+ * API install wizard.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Panel
+ * @package Baculum API
+ */
class APIInstallWizard extends BaculumAPIPage {
public $first_run;
/**
* API part requirements class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Requirements
+ * @package Baculum API
*/
class Requirements extends GeneralRequirements {
* @see Application.Common.Class.Interfaces.AuthModule
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
*/
abstract class AuthBase extends CommonModule {
* Basic authentication auth module.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
*/
class AuthBasic extends AuthBase implements AuthModule {
* OAuth2 authorization auth module.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
*/
class AuthOAuth2 extends AuthBase implements AuthModule {
* 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
Prado::using('System.Web.UI.WebControls.TClientScript');
+/**
+ * Baculum client script class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Client Script
+ * @package Baculum Common
+ */
class BClientScript extends TClientScript {
const SCRIPTS_VERSION = 4;
use Prado\Exceptions;
+/**
+ * Main common Baculum exceptions class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Exception
+ * @package Baculum Common
+ */
class BException extends \Prado\Exceptions\TException {
private $error_code;
* 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
* page and error pages).
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Common
*/
class BaculumPage extends TPage {
Prado::using('System.Web.TUrlMapping');
+/**
+ * Baculum URL mapping class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category URL
+ * @package Baculum Common
+ */
class BaculumUrlMapping extends TUrlMapping {
private $services = array(
* Manage basic auth method users.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
*/
abstract class BasicUserConfig extends CommonModule {
* 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
* Every common module should inherit this abstraction.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
*/
abstract class CommonModule extends TModule {
* 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
* Note: Only write config implemented. More info in read() method.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
*/
class ConfigBacula extends CommonModule implements ConfigFormat {
* 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
* Generic config file module.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
*/
class ConfigFileModule extends CommonModule {
* 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
* Module to read/write INI-style config.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
*/
class ConfigIni extends CommonModule implements ConfigFormat {
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Error classes.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Errors
+ * @package Baculum Common
+ */
class GenericError {
const ERROR_NO_ERRORS = 0;
const ERROR_INVALID_COMMAND = 1;
/**
* General requirement class with common dependencies both for API and Web.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Requirements
+ * @package Baculum Common
*/
abstract class GeneralRequirements {
* Common interfaces.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Interfaces
+ * @package Baculum Common
*/
/**
* 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
Prado::using('Application.Common.Class.CommonModule');
+/**
+ * Logger class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
+ */
class Logging extends CommonModule {
public static $debug_enabled = false;
* 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 <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
+ */
abstract class OAuth2 extends CommonModule {
/**
Prado::using('Application.Common.Class.CommonModule');
+/**
+ * Params class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
+ */
class Params extends CommonModule {
const BACULUM_VERSION = '9.6.0';
* 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
* 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 <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Common
+ */
class SessionRecord extends CommonModule implements SessionItem {
private static $lock = false;
Prado::using('Application.Common.Class.BaculumPage');
+/**
+ * Common page class.
+ *
+ * @category Page
+ * @package Baculum Common
+ */
class CommonPage extends BaculumPage {
}
?>
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
+/**
+ * Baculum Active Button control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Common
+ */
class BActiveButton extends TButton implements ICallbackEventHandler, IActiveControl
{
public function __construct()
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Baculum Button control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Common
+ */
class BButton extends TButton {
public function onInit($param) {
* 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
Prado::using('Application.Common.Class.OAuth2');
Prado::using('Application.Common.Portlets.PortletTemplate');
+/**
+ * New auth client control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Common
+ */
class NewAuthClient extends PortletTemplate {
private $show_buttons = true;
* 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
Prado::using('Application.Common.Class.OAuth2');
Prado::using('Application.Common.Portlets.PortletTemplate');
+/**
+ * New host control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Common
+ */
class NewHost extends PortletTemplate {
private $error = false;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Portlet template control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Common
+ */
class PortletTemplate extends TTemplateControl {
protected function getModule($id) {
/**
* Internal API client module.
*
- * @author Marcin Haba
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
*/
class BaculumAPIClient extends WebModule {
Prado::using('Application.Web.Init');
Prado::using('Application.Web.Class.WebConfig');
+/**
+ * Baculum Web page module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
+ */
class BaculumWebPage extends BaculumPage {
/**
* 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
* Manage HTTP Basic auth method users.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
*/
class BasicWebUserConfig extends BasicUserConfig {
/**
* Module responsible for checking and keeping Bacula config dependencies.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
*/
class DataDependencies extends WebModule {
Prado::using('Application.Web.Class.WebModule');
+/**
+ * Data description module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
+ */
class DataDescription extends WebModule {
/**
* 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
* Module is responsible for get/set hosts config data.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
*/
class HostConfig extends ConfigFileModule {
* 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
Prado::using('Application.Common.Class.Interfaces');
Prado::using('Application.Common.Class.SessionRecord');
+/**
+ * Host session record class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Database
+ * @package Baculum Web
+ */
class HostRecord extends SessionRecord implements SessionItem {
public $host;
Prado::using('Application.Web.Class.WebModule');
+/**
+ * Bacula logs parser module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
+ */
class LogParser extends WebModule {
const CLIENT_PATTERN = '/^\s+Client\:\s+"?(?P<client>[a-zA-Z0-9:.\-_ ]+)"?/i';
* 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
Prado::using('Application.Common.Class.Interfaces');
Prado::using('Application.Common.Class.SessionRecord');
+/**
+ * OAuth2 session record module.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
+ */
class OAuth2Record extends SessionRecord implements SessionItem {
public $host;
* 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
* Module is responsible for get/set webGUI config data.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
*/
class WebConfig extends ConfigFileModule {
* 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
* Every Web module should inherit this abstraction.
*
* @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Module
+ * @package Baculum Web
*/
abstract class WebModule extends TModule {
* 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
Prado::using('System.Web.TUrlMapping');
+/**
+ * Web URL mapper class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category URL
+ * @package Baculum Web
+ */
class WebUrlMapping extends TUrlMappingPattern {
const SERVICE_ID = 'web';
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Initialization file.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Initialization
+ * @package Baculum Web
+ */
+
$timezone = 'UTC';
if (!ini_get('date.timezone')) {
date_default_timezone_set($timezone);
Prado::using('Application.Common.Class.Params');
+/**
+ * Main layout class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Layout
+ * @package Baculum Web
+ */
class Main extends TTemplateControl {
public $web_config;
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Message box class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Layout
+ * @package Baculum Web
+ */
class MessageBox extends TTemplateControl
{
-
}
-?>
\ No newline at end of file
+?>
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Wizard layout.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Layout
+ * @package Baculum Web
+ */
class Wizard extends TTemplateControl {
public $web_config;
Prado::using('Application.Web.Class.BaculumWebPage');
Prado::using('Application.Web.Pages.Monitor');
+/**
+ * Application settings class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class ApplicationSettings extends BaculumWebPage {
protected $admin = true;
* 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
Prado::using('Application.Common.Class.BaculumPage');
+/**
+ * Baculum error page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class BaculumError extends BaculumPage {
public $error;
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Client list page.
+ *
+ * @category Page
+ * @package Baculum Web
+ */
class ClientList extends BaculumWebPage {
}
?>
Prado::using('System.Web.UI.JuiControls.TJuiProgressbar');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Client view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class ClientView extends BaculumWebPage {
const CLIENTID = 'ClientId';
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Configure hosts page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class ConfigureHosts extends BaculumWebPage {
protected $admin = true;
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Bacula console page.
+ *
+ * @category Page
+ * @package Baculum Web
+ */
class Console extends BaculumWebPage {
}
?>
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Main dashboard page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class Dashboard extends BaculumWebPage {
public function loadRunJobModal($sender, $param) {
$this->RunJobModal->loadData();
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Device view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class DeviceView extends BaculumWebPage {
const USE_CACHE = true;
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * FileSet list page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class FileSetList extends BaculumWebPage {
const USE_CACHE = true;
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * FileSet view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class FileSetView extends BaculumWebPage {
const USE_CACHE = true;
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Graphs page.
+ *
+ * @category Page
+ * @package Baculum Web
+ */
class Graphs extends BaculumWebPage {
}
?>
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
Prado::using('Application.Web.Portlets.RunJob');
+/**
+ * Job history list page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class JobHistoryList extends BaculumWebPage {
const USE_CACHE = true;
Prado::using('System.Web.UI.JuiControls.TJuiProgressbar');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Job history view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class JobHistoryView extends BaculumWebPage {
const IS_RUNNING = 'IsRunning';
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Job list page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class JobList extends BaculumWebPage {
const USE_CACHE = true;
* 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
Prado::using('System.Web.UI.ActiveControls.TCallback');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Job view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class JobView extends BaculumWebPage {
const JOB_NAME = 'JobName';
* 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
*
* NOTE: It must inherit from BaculumPage, not from BaculumWebPage,
* because this way it has not any redundant API request from BaculumWebPage.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
*/
class Monitor extends BaculumPage {
Prado::using('System.Web.UI.ActiveControls.TActiveLabel');
Prado::using('System.Web.UI.WebControls.TWizard');
+/**
+ * New job wizard page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class NewJobWizard extends BaculumWebPage {
protected $admin = true;
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * New resource page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class NewResource extends BaculumWebPage {
const COMPONENT_TYPE = 'ComponentType';
* 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
Prado::using('Application.Common.Class.BaculumPage');
+/**
+ * OAuth2 redirection callback page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class OAuth2Redirect extends BaculumPage {
/**
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Pool list page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class PoolList extends BaculumWebPage {
protected $admin = true;
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Pool view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class PoolView extends BaculumWebPage {
const USE_CACHE = true;
/**
* Web part requirements class.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
*/
class Requirements extends GeneralRequirements {
Prado::using('System.Web.UI.ActiveControls.TCallback');
Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
+/**
+ * Restore wizard page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class RestoreWizard extends BaculumWebPage
{
/**
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Schedule list page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class ScheduleList extends BaculumWebPage {
const USE_CACHE = true;
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Schedule status list.
+ *
+ * @category Page
+ * @package Baculum Web
+ */
class ScheduleStatusList extends BaculumWebPage {
}
?>
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Schedule view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class ScheduleView extends BaculumWebPage {
const USE_CACHE = true;
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Statistics list page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class StatisticsList extends BaculumWebPage {
const USE_CACHE = true;
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Statistics view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class StatisticsView extends BaculumWebPage {
const COMPONENT_TYPE = 'ComponentType';
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Storage list page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class StorageList extends BaculumWebPage {
const USE_CACHE = true;
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Storage view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class StorageView extends BaculumWebPage {
const STORAGEID = 'StorageId';
* 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
Prado::using('System.Web.UI.ActiveControls.TCallback');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Users page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class Users extends BaculumWebPage {
protected $admin = true;
* 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
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Volume list page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class VolumeList extends BaculumWebPage {
const USE_CACHE = true;
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveCheckBox');
Prado::using('Application.Web.Class.BaculumWebPage');
+/**
+ * Volume view page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class VolumeView extends BaculumWebPage {
const USE_CACHE = false;
* 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
Prado::using('Application.Web.Class.BasicWebUserConfig');
Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList');
+/**
+ * Web config wizard page.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Page
+ * @package Baculum Web
+ */
class WebConfigWizard extends BaculumWebPage
{
Prado::using('System.Web.UI.WebControls.TConditional');
+/**
+ * Baculum conditional control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class BConditional extends TTemplateControl implements IDataRenderer, IActiveControl {
const BCONDITION = 'BCondition';
Prado::using('Application.Web.Portlets.NewResourceMenu');
Prado::using('Application.Web.Class.Miscellaneous');
+/**
+ * Bacula config components control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class BaculaConfigComponents extends ComponentListTemplate {
const CHILD_CONTROL = 'BaculaConfigResources';
Prado::using('Application.Web.Portlets.DirectiveRunscript');
Prado::using('Application.Web.Portlets.DirectiveMessages');
+/**
+ * Bacula config directives control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class BaculaConfigDirectives extends DirectiveListTemplate {
const SHOW_REMOVE_BUTTON = 'ShowRemoveButton';
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveRepeater');
Prado::using('Application.Web.Portlets.ResourceListTemplate');
+/**
+ * Bacula config resource control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class BaculaConfigResources extends ResourceListTemplate {
const CHILD_CONTROL = 'BaculaConfigDirectives';
* 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
Prado::using('Application.Web.Class.HostConfig');
Prado::using('Application.Web.Portlets.HostListTemplate');
+/**
+ * Bacula hosts control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class BaculaHosts extends HostListTemplate {
const CHILD_CONTROL = 'BaculaConfigComponents';
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
Prado::using('Application.Web.Portlets.Portlets');
+/**
+ * Bconsole control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class Bconsole extends Portlets {
const MAX_CONSOLE_OUTPUT_BATCH = -1000;
/**
* Set client bandwidth limit control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
*/
class ClientBandwidthLimit extends Portlets {
/**
* Component actions control responsible for start,
* stop and restart components.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
*/
class ComponentActionsMenu extends DirectiveListTemplate {
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
Prado::using('Application.Web.Portlets.ConfigListTemplate');
+/**
+ * Component list template control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class ComponentListTemplate extends ConfigListTemplate implements IActiveControl, ICallbackEventHandler {
const HOST = 'Host';
Prado::using('Application.Web.Portlets.DirectiveControlTemplate');
+/**
+ * Config list template control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class ConfigListTemplate extends DirectiveControlTemplate {
public function getChildControl($parent, $type) {
Prado::using('System.Web.UI.ActiveControls.TActiveCheckBox');
Prado::using('Application.Web.Portlets.DirectiveTemplate');
+/**
+ * Checkbox directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveCheckBox extends DirectiveTemplate {
public function getValue() {
Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList');
Prado::using('Application.Web.Portlets.DirectiveTemplate');
+/**
+ * Combobox directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveComboBox extends DirectiveTemplate {
public function onPreRender($param) {
Prado::using('System.Web.UI.TTemplateControl');
+/**
+ * Abstraction to directive control template.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
abstract class DirectiveControlTemplate extends TTemplateControl {
public function getCmdParam() {
Prado::using('Application.Web.Portlets.DirectiveInteger');
Prado::using('Application.Web.Portlets.FileSetOptionRenderer');
+/**
+ * FileSet directive template.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveFileSet extends DirectiveListTemplate {
private $directive_types = array(
Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
Prado::using('Application.Web.Portlets.DirectiveTemplate');
+/**
+ * Integer directive template.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveInteger extends DirectiveTemplate {
public function getValue() {
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveListBox');
Prado::using('Application.Web.Portlets.DirectiveTemplate');
+/**
+ * ListBox directive template.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveListBox extends DirectiveTemplate {
public function onPreRender($param) {
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
Prado::using('Application.Web.Portlets.ConfigListTemplate');
+/**
+ * Directive list template.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveListTemplate extends ConfigListTemplate implements IActiveControl, ICallbackEventHandler {
const HOST = 'Host';
Prado::using('Application.Web.Portlets.DirectiveListTemplate');
Prado::using('Application.Web.Portlets.DirectiveTextBox');
+/**
+ * Messages directive.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveMessages extends DirectiveListTemplate {
private $directive_types = array(
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Portlets.DirectiveListTemplate');
+/**
+ * Multi-combobox directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveMultiComboBox extends DirectiveListTemplate {
public function dataBind() {
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Portlets.DirectiveListTemplate');
+/**
+ * Multi-textbox directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveMultiTextBox extends DirectiveListTemplate {
public function dataBind() {
Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
Prado::using('Application.Web.Portlets.DirectiveTemplate');
+/**
+ * Password directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectivePassword extends DirectiveTemplate {
public function getValue() {
Prado::using('Application.Web.Portlets.DirectiveRunscript');
Prado::using('Application.Web.Portlets.DirectiveMessages');
+/**
+ * Directive renderer control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveRenderer extends TItemDataRenderer {
const DATA = 'Data';
Prado::using('Application.Web.Portlets.DirectiveTextBox');
Prado::using('Application.Web.Portlets.DirectiveComboBox');
+/**
+ * Runscript directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveRunscript extends DirectiveListTemplate {
private $directive_types = array(
Prado::using('Application.Web.Portlets.DirectiveTextBox');
Prado::using('Application.Web.Portlets.DirectiveTimePeriod');
+/**
+ * Schedule directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveSchedule extends DirectiveListTemplate {
private $directive_types = array(
* 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
Prado::using('System.Web.UI.ActiveControls.TCallback');
Prado::using('Application.Web.Portlets.DirectiveListTemplate');
+/**
+ * Directive settings control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveSetting extends DirectiveListTemplate {
public function onLoadDirectives($param) {
Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList');
Prado::using('Application.Web.Portlets.DirectiveTemplate');
+/**
+ * Size directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveSize extends DirectiveTemplate {
const SIZE_FORMAT = 'SizeFormat';
Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList');
Prado::using('Application.Web.Portlets.DirectiveTemplate');
+/**
+ * Speed directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveSpeed extends DirectiveTemplate {
const ALLOW_REMOVE = 'AllowRemove';
Prado::using('Application.Web.Portlets.DirectiveControlTemplate');
Prado::using('Application.Web.Portlets.IDirectiveField');
+/**
+ * Directive template control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveTemplate extends DirectiveControlTemplate implements IDirectiveField, IActiveControl {
const HOST = 'Host';
Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
Prado::using('Application.Web.Portlets.DirectiveTemplate');
+/**
+ * TextBox directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveTextBox extends DirectiveTemplate {
public function getValue() {
Prado::using('System.Web.UI.ActiveControls.TActiveDropDownList');
Prado::using('Application.Web.Portlets.DirectiveTemplate');
+/**
+ * Time period directive control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class DirectiveTimePeriod extends DirectiveTemplate {
const TIME_FORMAT = 'TimeFormat';
Prado::using('System.Web.UI.ActiveControls.TCallback');
Prado::using('Application.Web.Portlets.Portlets');
+/**
+ * FileSet browser control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class FileSetBrowser extends Portlets {
const BCLIENT_ID = 'BClientId';
Prado::using('Application.Web.Portlets.DirectiveRenderer');
+/**
+ * FileSet option renderer.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class FileSetOptionRenderer extends DirectiveRenderer {
private static $index = 0;
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
Prado::using('Application.Web.Portlets.ConfigListTemplate');
+/**
+ * Host list template control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class HostListTemplate extends ConfigListTemplate implements IActiveControl, ICallbackEventHandler {
const HOST = 'Host';
* 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
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
+/**
+ * Directive field interface.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Interfaces
+ * @package Baculum Web
+ */
interface IDirectiveField {
public function setDirectiveName($name);
* 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');
/**
* Set job bandwidth limit control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
*/
class JobBandwidthLimit extends Portlets {
* 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
*/
Prado::using('Application.Web.Portlets.Portlets');
+/**
+ * Job graphs control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class JobGraphs extends Portlets {
const JOB = 'Job';
* 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');
Prado::using('System.Web.UI.WebControls.TListItem');
Prado::using('Application.Web.Portlets.Portlets');
+/**
+ * Job list files control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class JobListFiles extends Portlets {
const JOBID = 'JobId';
Prado::using('Application.Web.Portlets.DirectiveRenderer');
+/**
+ * Job runscript renderer.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class JobRunscriptRenderer extends DirectiveRenderer {
private static $index = 0;
* 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
* 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');
Prado::using('System.Web.UI.ActiveControls.TActiveTextBox');
Prado::using('Application.Web.Portlets.Portlets');
+/**
+ * Label volume control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class LabelVolume extends Portlets {
public function loadValues() {
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Portlets.Portlets');
+/**
+ * Main side-bar control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class MainSideBar extends Portlets {
public function logout($sender, $param) {
* 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 <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class MessageTypes extends DirectiveListTemplate {
public function loadConfig() {
Prado::using('Application.Web.Portlets.DirectiveListTemplate');
+/**
+ * New FileSet exclude menu.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class NewFileSetExcMenu extends DirectiveListTemplate {
const ITEM_INDEX = 'ItemIndex';
Prado::using('Application.Web.Portlets.DirectiveListTemplate');
+/**
+ * New FileSet file options menu.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class NewFileSetFileOptMenu extends DirectiveListTemplate {
const ITEM_INDEX = 'ItemIndex';
Prado::using('Application.Web.Portlets.DirectiveListTemplate');
+/**
+ * New FileSet include and exclude menu.
+ *
+ * @category Control
+ * @package Baculum Web
+ */
class NewFileSetIncExcMenu extends DirectiveListTemplate {
}
?>
* 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
Prado::using('Application.Web.Portlets.DirectiveListTemplate');
+/**
+ * New messages menu control.
+ *
+ * @category Control
+ * @package Baculum Web
+ */
class NewMessagesMenu extends DirectiveListTemplate {
}
* 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
Prado::using('Application.Web.Portlets.DirectiveListTemplate');
+/**
+ * New resource menu.
+ *
+ * @category Control
+ * @package Baculum Web
+ */
class NewResourceMenu extends DirectiveListTemplate {
}
+?>
* 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
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 {
}
+?>
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 {
}
?>
* 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
*
* Bacula(R) is a registered trademark of Kern Sibbald.
*/
-
+
+/**
+ * Portlets control base.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class Portlets extends TTemplateControl {
protected function getModule($id) {
* 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
Prado::using('System.Web.UI.ActiveControls.TActiveControlAdapter');
Prado::using('Application.Web.Portlets.ConfigListTemplate');
+/**
+ * Resource list template control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class ResourceListTemplate extends ConfigListTemplate implements IActiveControl, ICallbackEventHandler {
const HOST = 'Host';
* 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');
Prado::using('System.Web.UI.ActiveControls.TActiveButton');
Prado::using('Application.Web.Portlets.Portlets');
+/**
+ * Run job control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class RunJob extends Portlets {
const JOBID = 'JobId';
Prado::using('System.Web.UI.ActiveControls.TActiveLinkButton');
Prado::using('Application.Web.Portlets.Portlets');
+/**
+ * Schedule status control.
+ *
+ * @author Marcin Haba <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class StatusSchedule extends Portlets {
const JOB = 'Job';
* 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
* 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 <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class UpdateSlots extends Portlets {
public function loadValues() {
* 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
* 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 <marcin.haba@bacula.pl>
+ * @category Control
+ * @package Baculum Web
+ */
class Users extends Portlets {
public $web_config;