Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/17/12 09:37:16 (12 years ago)
Author:
fschoepp
Message:

#1888:
Backend changes:

  • Simplified job state detection (only one hive call will be made to detect all states now, instead of one additional call per job)
  • Reorganized classes (moved model classes into Model folder)

Website changes:

  • Website now heavily uses JavaScript to achieve better user experience
  • JavaScript degrades gracefully, except for plots
  • Tables: Added jquery-datatable-plugin to extend tables (pagination + search functionality)
  • OaaS-Website now uses the design of the HL websites (found in WebApplication branch)
  • Added jqplot to render zoomable line plots for HL-Datatables
  • Styling.js: Plots will be generated by using an ajax call; additional jquery-styling occurs within this file.
  • Added jquery-ui-1.9.2 which is capable of handling/rendering tabs, accordions and resizers.
Location:
branches/OaaS/HeuristicLab.Services.Optimization.Web/Controllers
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Optimization.Web/Controllers/OptimizationController.cs

    r8545 r9062  
    2222
    2323      public T withControllerService<T>(ControllerServiceDelegate<T> del) {
     24        if (Session["pw"] == null)
     25          Response.Redirect("/Account/Logon");
     26
    2427        using (var cf = new ChannelFactory<IControllerService>(OptimizationController.DEFAULT_CONTROLLER_ENDPOINT)) {
    2528          var credentialBehaviour = cf.Endpoint.Behaviors.Find<ClientCredentials>();
     
    3235
    3336      public void withControllerService(ControllerServiceDelegate del) {
    34         using (var cf = new ChannelFactory<IControllerService>(OptimizationController.DEFAULT_CONTROLLER_ENDPOINT)) {
     37        if (Session["pw"] == null)
     38          Response.Redirect("/Account/Logon");
     39
     40        using (var cf = new ChannelFactory<IControllerService>(OptimizationController.DEFAULT_CONTROLLER_ENDPOINT)) {         
    3541          var credentialBehaviour = cf.Endpoint.Behaviors.Find<ClientCredentials>();
    3642          credentialBehaviour.UserName.UserName = Membership.GetUser().UserName;
    37           credentialBehaviour.UserName.Password = Session["pw"] as string;
     43          credentialBehaviour.UserName.Password = Session["pw"] as string;         
    3844          var controllerProxy = cf.CreateChannel();
    3945          del(controllerProxy);
     
    7379          });
    7480          JobDetailsModel jdm = new JobDetailsModel() { Job = job, Runs = runs };
     81          Session["jobDetails"] = jdm;
    7582          return View(jdm);
    7683        }
Note: See TracChangeset for help on using the changeset viewer.