mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 08:34:16 +01:00
chore: Use constants for config properties.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -30,21 +30,102 @@ namespace SP\Domain\Config\In;
|
||||
*/
|
||||
interface ConfigDataInterface
|
||||
{
|
||||
public const LOG_EVENTS = 'logEvents';
|
||||
public const DOKUWIKI_ENABLED = 'dokuwikiEnabled';
|
||||
public const DOKUWIKI_URL = 'dokuwikiUrl';
|
||||
public const DOKUWIKI_URL_BASE = 'dokuwikiUrlBase';
|
||||
public const DOKUWIKI_USER = 'dokuwikiUser';
|
||||
public const DOKUWIKI_PASS = 'dokuwikiPass';
|
||||
public const DOKUWIKI_NAMESPACE = 'dokuwikiNamespace';
|
||||
public const LDAP_DEFAULT_GROUP = 'ldapDefaultGroup';
|
||||
public const LDAP_DEFAULT_PROFILE = 'ldapDefaultProfile';
|
||||
public const PROXY_ENABLED = 'proxyEnabled';
|
||||
public const PROXY_SERVER = 'proxyServer';
|
||||
public const PROXY_PORT = 'proxyPort';
|
||||
public const PROXY_USER = 'proxyUser';
|
||||
public const PROXY_PASS = 'proxyPass';
|
||||
public const PUBLINKS_MAX_VIEWS = 'publinksMaxViews';
|
||||
public const LOG_EVENTS = 'logEvents';
|
||||
public const DOKUWIKI_ENABLED = 'dokuwikiEnabled';
|
||||
public const DOKUWIKI_URL = 'dokuwikiUrl';
|
||||
public const DOKUWIKI_URL_BASE = 'dokuwikiUrlBase';
|
||||
public const DOKUWIKI_USER = 'dokuwikiUser';
|
||||
public const DOKUWIKI_PASS = 'dokuwikiPass';
|
||||
public const DOKUWIKI_NAMESPACE = 'dokuwikiNamespace';
|
||||
public const LDAP_DEFAULT_GROUP = 'ldapDefaultGroup';
|
||||
public const LDAP_DEFAULT_PROFILE = 'ldapDefaultProfile';
|
||||
public const PROXY_ENABLED = 'proxyEnabled';
|
||||
public const PROXY_SERVER = 'proxyServer';
|
||||
public const PROXY_PORT = 'proxyPort';
|
||||
public const PROXY_USER = 'proxyUser';
|
||||
public const PROXY_PASS = 'proxyPass';
|
||||
public const PUBLINKS_MAX_VIEWS = 'publinksMaxViews';
|
||||
public const PUBLINKS_MAX_TIME = 'publinksMaxTime';
|
||||
public const SYSLOG_ENABLED = 'syslogEnabled';
|
||||
public const SYSLOG_REMOTE_ENABLED = 'syslogRemoteEnabled';
|
||||
public const SYSLOG_SERVER = 'syslogServer';
|
||||
public const SYSLOG_PORT = 'syslogPort';
|
||||
public const BACKUP_HASH = 'backup_hash';
|
||||
public const EXPORT_HASH = 'export_hash';
|
||||
public const LDAP_BIND_USER = 'ldapBindUser';
|
||||
public const ACCOUNT_COUNT = 'accountCount';
|
||||
public const ACCOUNT_LINK = 'accountLink';
|
||||
public const CHECK_UPDATES = 'checkUpdates';
|
||||
public const CONFIG_HASH = 'configHash';
|
||||
public const DB_HOST = 'dbHost';
|
||||
public const DB_NAME = 'dbName';
|
||||
public const DB_PASS = 'dbPass';
|
||||
public const DB_USER = 'dbUser';
|
||||
public const DEBUG = 'debug';
|
||||
public const DEMO_ENABLED = 'demoEnabled';
|
||||
public const FILES_ALLOWED_EXTS = 'filesAllowedExts';
|
||||
public const FILES_ALLOWED_SIZE = 'filesAllowedSize';
|
||||
public const FILES_ENABLED = 'filesEnabled';
|
||||
public const GLOBAL_SEARCH = 'globalSearch';
|
||||
public const INSTALLED = 'installed';
|
||||
public const LDAP_BASE = 'ldapBase';
|
||||
public const LDAP_ENABLED = 'ldapEnabled';
|
||||
public const LDAP_GROUP = 'ldapGroup';
|
||||
public const LDAP_SERVER = 'ldapServer';
|
||||
public const LOG_ENABLED = 'logEnabled';
|
||||
public const MAIL_AUTHENABLED = 'mailAuthenabled';
|
||||
public const MAIL_ENABLED = 'mailEnabled';
|
||||
public const MAIL_FROM = 'mailFrom';
|
||||
public const MAIL_PASS = 'mailPass';
|
||||
public const MAIL_PORT = 'mailPort';
|
||||
public const MAIL_REQUESTS_ENABLED = 'mailRequestsEnabled';
|
||||
public const MAIL_SECURITY = 'mailSecurity';
|
||||
public const MAIL_SERVER = 'mailServer';
|
||||
public const MAIL_USER = 'mailUser';
|
||||
public const MAINTENANCE = 'maintenance';
|
||||
public const PASSWORD_SALT = 'passwordSalt';
|
||||
public const RESULTS_AS_CARDS = 'resultsAsCards';
|
||||
public const SESSION_TIMEOUT = 'sessionTimeout';
|
||||
public const SITE_LANG = 'siteLang';
|
||||
public const SITE_THEME = 'siteTheme';
|
||||
public const CONFIG_VERSION = 'configVersion';
|
||||
public const WIKI_ENABLED = 'wikiEnabled';
|
||||
public const WIKI_FILTER = 'wikiFilter';
|
||||
public const WIKI_PAGEURL = 'wikiPageurl';
|
||||
public const WIKI_SEARCHURL = 'wikiSearchurl';
|
||||
public const LDAP_BIND_PASS = 'ldapBindPass';
|
||||
public const PUBLINKS_IMAGE_ENABLED = 'publinksImageEnabled';
|
||||
public const HTTPS_ENABLED = 'httpsEnabled';
|
||||
public const CHECK_NOTICES = 'checkNotices';
|
||||
public const ACCOUNT_PASS_TO_IMAGE = 'accountPassToImage';
|
||||
public const UPGRADE_KEY = 'upgradeKey';
|
||||
public const DB_PORT = 'dbPort';
|
||||
public const PUBLINKS_ENABLED = 'publinksEnabled';
|
||||
public const CONFIG_SAVER = 'configSaver';
|
||||
public const DB_SOCKET = 'dbSocket';
|
||||
public const ENCRYPT_SESSION = 'encryptSession';
|
||||
public const ACCOUNT_FULL_GROUP_ACCESS = 'accountFullGroupAccess';
|
||||
public const AUTH_BASIC_ENABLED = 'authBasicEnabled';
|
||||
public const AUTH_BASIC_DOMAIN = 'authBasicDomain';
|
||||
public const AUTH_BASIC_AUTO_LOGIN_ENABLED = 'authBasicAutoLoginEnabled';
|
||||
public const SSO_DEFAULT_GROUP = 'ssoDefaultGroup';
|
||||
public const SSO_DEFAULT_PROFILE = 'ssoDefaultProfile';
|
||||
public const MAIL_RECIPIENTS = 'mailRecipients';
|
||||
public const MAIL_EVENTS = 'mailEvents';
|
||||
public const DATABASE_VERSION = 'databaseVersion';
|
||||
public const CONFIG_DATE = 'configDate';
|
||||
public const ACCOUNT_EXPIRE_ENABLED = 'accountExpireEnabled';
|
||||
public const ACCOUNT_EXPIRE_TIME = 'accountExpireTime';
|
||||
public const LDAP_TLS_ENABLED = 'ldapTlsEnabled';
|
||||
public const FILES_ALLOWED_MIME = 'filesAllowedMime';
|
||||
public const LDAP_TYPE = 'ldapType';
|
||||
public const APP_VERSION = 'appVersion';
|
||||
public const APPLICATION_URL = 'applicationUrl';
|
||||
public const LDAP_FILTER_USER_OBJECT = 'ldapFilterUserObject';
|
||||
public const LDAP_FILTER_GROUP_OBJECT = 'ldapFilterGroupObject';
|
||||
public const LDAP_FILTER_USER_ATTRIBUTES = 'ldapFilterUserAttributes';
|
||||
public const LDAP_FILTER_GROUP_ATTRIBUTES = 'ldapFilterGroupAttributes';
|
||||
public const LDAP_DATABASE_ENABLED = 'ldapDatabaseEnabled';
|
||||
|
||||
public function getAttributes(): array;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user