Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/20/13 16:56:28 (11 years ago)
Author:
fschoepp
Message:

#1888:

  • DAL: Added a Delete method which deletes by experiment id.
  • HL DataTables will now be transposed and mapped as double[ROWS][COLUMNS] (transposed)
  • JS: Moved all classes into "modules" to prevent namespace pollution (using OAAS_MODEL for model classes, OAAS_VIEW for views and OAAS_CONTROLLER for controllers)
  • JS: Moved DatatypeMapper classes into Backbone views
  • JS: Models now correctly send DELETE requests
  • Added a new job overview page (which also renders run details) using AJAX
  • Using moment.min.js to format DateTime as string
  • Controllers now inherit from BaseController which provides a RedirectToLoginIfNecessary-method
  • Added loading animations to several AJAX bound places (loading experiments / scenarios)
  • Added a section to _Layout.cshtml which allows page-specific JavaScript includes (<script> only for a certain page)
  • Fixed Build/Edit of experiment menu redirecting to the wrong page
  • The Experiment Variation Dialog disables input fields, if the property has not been activated before
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Optimization.Controller/Parsers/AlgorithmConverter.cs

    r9305 r9324  
    184184    }
    185185
     186    public static JObject ConvertRunToJson(Run run) {
     187      var jrun = new JObject();
     188      jrun["id"] = run.Id;
     189      jrun["name"] = run.Name;
     190      jrun["results"] = ConvertParametersToJson(run.Results);
     191      return jrun;
     192    }
     193
     194    public static JArray ConvertRunsToJson(IList<Run> runs) {
     195       var jarray = new JArray();
     196      foreach (var run in runs)
     197        jarray.Add(ConvertRunToJson(run));
     198      return jarray;
     199    }
     200
    186201    public static Experiment ConvertJsonToExperiment(string json) {
    187202      var experiment = new Experiment();
Note: See TracChangeset for help on using the changeset viewer.