From c821b21b2db050852a61398c84c6f1d697c0153c Mon Sep 17 00:00:00 2001 From: Tom Kraljevic Date: Thu, 18 Sep 2014 12:04:30 -0700 Subject: [PATCH] Move Debug and Unlock Keys from Admin to Beta so they're hidden. We don't want fearless users clicking those. Register Console even if beta isn't specified, so it's reachable but not visible in the menu. --- src/main/java/water/api/RequestServer.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/water/api/RequestServer.java b/src/main/java/water/api/RequestServer.java index 485514be2c..fe34277731 100644 --- a/src/main/java/water/api/RequestServer.java +++ b/src/main/java/water/api/RequestServer.java @@ -134,10 +134,8 @@ public enum API_VERSION { Request.addToNavbar(registerRequest(new Timeline()), "Timeline", "Admin"); Request.addToNavbar(registerRequest(new JProfile()), "Profiler", "Admin"); Request.addToNavbar(registerRequest(new JStack()), "Stack Dump", "Admin"); - Request.addToNavbar(registerRequest(new Debug()), "Debug Dump", "Admin"); Request.addToNavbar(registerRequest(new LogView()), "Inspect Log", "Admin"); - Request.addToNavbar(registerRequest(new UnlockKeys()), "Unlock Keys", "Admin"); - Request.addToNavbar(registerRequest(new NetworkTest()),"Network Test", "Admin"); + Request.addToNavbar(registerRequest(new NetworkTest()), "Network Test", "Admin"); Request.addToNavbar(registerRequest(new Shutdown()), "Shutdown", "Admin"); // Help and Tutorials @@ -155,12 +153,15 @@ public enum API_VERSION { registerRequest(new hex.LR2()); registerRequest(new ReBalance()); registerRequest(new NFoldFrameExtractPage()); + registerRequest(new Console()); registerRequest(new GapStatistic()); registerRequest(new CreateFrame()); registerRequest(new InsertMissingValues()); registerRequest(new KillMinus3()); registerRequest(new SaveModel()); registerRequest(new LoadModel()); + registerRequest(new Debug()); + registerRequest(new UnlockKeys()); } else { Request.addToNavbar(registerRequest(new hex.LR2()), "Linear Regression2", "Beta"); Request.addToNavbar(registerRequest(new ReBalance()), "ReBalance", "Beta"); @@ -172,6 +173,8 @@ public enum API_VERSION { Request.addToNavbar(registerRequest(new KillMinus3()), "Kill Minus 3", "Beta"); Request.addToNavbar(registerRequest(new SaveModel()), "Save Model", "Beta"); Request.addToNavbar(registerRequest(new LoadModel()), "Load Model", "Beta"); + Request.addToNavbar(registerRequest(new Debug()), "Debug Dump (floods log file)","Beta"); + Request.addToNavbar(registerRequest(new UnlockKeys()), "Unlock Keys (use with caution)","Beta"); } registerRequest(new Up());