mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-14 14:25:52 +01:00
WIP new WebAdmin: event actions
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
b18b37042d
commit
c85601146d
17 changed files with 1583 additions and 1186 deletions
|
|
@ -68,6 +68,9 @@ const (
|
|||
I18nUpdateIPListTitle = "title.update_ip_list"
|
||||
I18nDefenderTitle = "title.defender"
|
||||
I18nEventsTitle = "title.logs"
|
||||
I18nActionsTitle = "title.event_actions"
|
||||
I18nAddActionTitle = "title.add_action"
|
||||
I18nUpdateActionTitle = "title.update_action"
|
||||
I18nStatusTitle = "status.desc"
|
||||
I18nErrorSetupInstallCode = "setup.install_code_mismatch"
|
||||
I18nInvalidAuth = "general.invalid_auth_request"
|
||||
|
|
@ -238,6 +241,43 @@ const (
|
|||
I18nErrorSMTPClientIDRequired = "smtp.client_id_required"
|
||||
I18nErrorSMTPClientSecretRequired = "smtp.client_secret_required"
|
||||
I18nErrorSMTPRefreshTokenRequired = "smtp.refresh_token_required"
|
||||
I18nErrorURLRequired = "actions.http_url_required"
|
||||
I18nErrorURLInvalid = "actions.http_url_invalid"
|
||||
I18nErrorHTTPPartNameRequired = "actions.http_part_name_required"
|
||||
I18nErrorHTTPPartBodyRequired = "actions.http_part_body_required"
|
||||
I18nErrorMultipartBody = "actions.http_multipart_body_error"
|
||||
I18nErrorMultipartCType = "actions.http_multipart_ctype_error"
|
||||
I18nErrorPathDuplicated = "actions.path_duplicated"
|
||||
I18nErrorCommandRequired = "actions.command_required"
|
||||
I18nErrorCommandInvalid = "actions.command_invalid"
|
||||
I18nErrorEmailRecipientRequired = "actions.email_recipient_required"
|
||||
I18nErrorEmailSubjectRequired = "actions.email_subject_required"
|
||||
I18nErrorEmailBodyRequired = "actions.email_body_required"
|
||||
I18nErrorRetentionDirRequired = "actions.retention_directory_required"
|
||||
I18nErrorPathRequired = "actions.path_required"
|
||||
I18nErrorSourceDestMatch = "actions.source_dest_different"
|
||||
I18nErrorRootNotAllowed = "actions.root_not_allowed"
|
||||
I18nErrorArchiveNameRequired = "actions.archive_name_required"
|
||||
I18nErrorIDPTemplateRequired = "actions.idp_template_required"
|
||||
I18nActionTypeHTTP = "actions.types.http"
|
||||
I18nActionTypeEmail = "actions.types.email"
|
||||
I18nActionTypeBackup = "actions.types.backup"
|
||||
I18nActionTypeUserQuotaReset = "actions.types.user_quota_reset"
|
||||
I18nActionTypeFolderQuotaReset = "actions.types.folder_quota_reset"
|
||||
I18nActionTypeTransferQuotaReset = "actions.types.transfer_quota_reset"
|
||||
I18nActionTypeDataRetentionCheck = "actions.types.data_retention_check"
|
||||
I18nActionTypeMetadataCheck = "actions.types.metadata_check"
|
||||
I18nActionTypeFilesystem = "actions.types.filesystem"
|
||||
I18nActionTypePwdExpirationCheck = "actions.types.password_expiration_check"
|
||||
I18nActionTypeUserExpirationCheck = "actions.types.user_expiration_check"
|
||||
I18nActionTypeIDPCheck = "actions.types.idp_check"
|
||||
I18nActionTypeCommand = "actions.types.command"
|
||||
I18nActionFsTypeRename = "actions.fs_types.rename"
|
||||
I18nActionFsTypeDelete = "actions.fs_types.delete"
|
||||
I18nActionFsTypePathExists = "actions.fs_types.path_exists"
|
||||
I18nActionFsTypeCompress = "actions.fs_types.compress"
|
||||
I18nActionFsTypeCopy = "actions.fs_types.copy"
|
||||
I18nActionFsTypeCreateDirs = "actions.fs_types.create_dirs"
|
||||
)
|
||||
|
||||
// NewI18nError returns a I18nError wrappring the provided error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue