diff --git a/server/server.go b/server/server.go index 85c32f3..d112997 100644 --- a/server/server.go +++ b/server/server.go @@ -211,6 +211,12 @@ func initRoutes(router *gin.Engine) { router.POST("/storage_services/test/:id", controllers.StorageServiceTestConnection) // Upload Jobs + // + // These are disabled for now. We've hidden them from the main menu. + // We can re-enable upload-only jobs if we restrict + // them to uploading files only (no directories, because directory uploads + // require considerable work and open up a huge number of potential problems). + // router.GET("/upload_jobs/new", controllers.UploadJobNew) router.GET("/upload_jobs/files/:id", controllers.UploadJobShowFiles) router.POST("/upload_jobs/add_file/:id", controllers.UploadJobAddFile) diff --git a/server/views/partials/nav.html b/server/views/partials/nav.html index 6e307eb..586f2aa 100644 --- a/server/views/partials/nav.html +++ b/server/views/partials/nav.html @@ -30,7 +30,7 @@ New
Validate Bags - Upload Files +