removed some unused constants

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2025-08-02 19:00:15 +02:00
parent b2948a5255
commit 75ad6346c3
3 changed files with 30 additions and 33 deletions

View File

@@ -83,7 +83,6 @@ const (
user2FARecoveryCodesPath = "/api/v2/user/2fa/recoverycodes" user2FARecoveryCodesPath = "/api/v2/user/2fa/recoverycodes"
userProfilePath = "/api/v2/user/profile" userProfilePath = "/api/v2/user/profile"
userSharesPath = "/api/v2/user/shares" userSharesPath = "/api/v2/user/shares"
retentionBasePath = "/api/v2/retention/users"
retentionChecksPath = "/api/v2/retention/users/checks" retentionChecksPath = "/api/v2/retention/users/checks"
fsEventsPath = "/api/v2/events/fs" fsEventsPath = "/api/v2/events/fs"
providerEventsPath = "/api/v2/events/provider" providerEventsPath = "/api/v2/events/provider"

View File

@@ -126,7 +126,6 @@ const (
user2FARecoveryCodesPath = "/api/v2/user/2fa/recoverycodes" user2FARecoveryCodesPath = "/api/v2/user/2fa/recoverycodes"
userProfilePath = "/api/v2/user/profile" userProfilePath = "/api/v2/user/profile"
userSharesPath = "/api/v2/user/shares" userSharesPath = "/api/v2/user/shares"
retentionBasePath = "/api/v2/retention/users"
fsEventsPath = "/api/v2/events/fs" fsEventsPath = "/api/v2/events/fs"
providerEventsPath = "/api/v2/events/provider" providerEventsPath = "/api/v2/events/provider"
logEventsPath = "/api/v2/events/logs" logEventsPath = "/api/v2/events/logs"

View File

@@ -73,37 +73,36 @@ const (
) )
const ( const (
templateAdminDir = "webadmin" templateAdminDir = "webadmin"
templateBase = "base.html" templateBase = "base.html"
templateFsConfig = "fsconfig.html" templateFsConfig = "fsconfig.html"
templateSharedComponents = "sharedcomponents.html" templateUsers = "users.html"
templateUsers = "users.html" templateUser = "user.html"
templateUser = "user.html" templateAdmins = "admins.html"
templateAdmins = "admins.html" templateAdmin = "admin.html"
templateAdmin = "admin.html" templateConnections = "connections.html"
templateConnections = "connections.html" templateGroups = "groups.html"
templateGroups = "groups.html" templateGroup = "group.html"
templateGroup = "group.html" templateFolders = "folders.html"
templateFolders = "folders.html" templateFolder = "folder.html"
templateFolder = "folder.html" templateEventRules = "eventrules.html"
templateEventRules = "eventrules.html" templateEventRule = "eventrule.html"
templateEventRule = "eventrule.html" templateEventActions = "eventactions.html"
templateEventActions = "eventactions.html" templateEventAction = "eventaction.html"
templateEventAction = "eventaction.html" templateRoles = "roles.html"
templateRoles = "roles.html" templateRole = "role.html"
templateRole = "role.html" templateEvents = "events.html"
templateEvents = "events.html" templateStatus = "status.html"
templateStatus = "status.html" templateDefender = "defender.html"
templateDefender = "defender.html" templateIPLists = "iplists.html"
templateIPLists = "iplists.html" templateIPList = "iplist.html"
templateIPList = "iplist.html" templateConfigs = "configs.html"
templateConfigs = "configs.html" templateProfile = "profile.html"
templateProfile = "profile.html" templateMaintenance = "maintenance.html"
templateMaintenance = "maintenance.html" templateMFA = "mfa.html"
templateMFA = "mfa.html" templateSetup = "adminsetup.html"
templateSetup = "adminsetup.html" defaultQueryLimit = 1000
defaultQueryLimit = 1000 inversePatternType = "inverse"
inversePatternType = "inverse"
) )
var ( var (