Serialize data as JSON with `Accept: application/json`

[?]
Feb 14, 2019, 12:18 AM
3EH53DZJGSPICPCI2KD6BGGFKAIY6EEOGAV7WBC4GIRGKJC6XWWAC

Dependencies

  • [2] JLQN6QYH Revert "Remove the global channel"
  • [3] HRAFVVOE make logo configurable via HYDRA_LOGO env var
  • [4] UICHT2PS Add a search feature
  • [5] VH5ZABDR Add a page to show the latest evaluations for the entire server
  • [6] TX7Q4RAS Add page showing latest build steps
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] R2PON6R7 Allow non-admin users to see the machine status page

Change contents

  • edit in src/lib/Hydra/Controller/Root.pm at line 200
    [9.683]
    [2.49]
    $self->status_ok($c, entity => $c->stash->{machines});
  • replacement in src/lib/Hydra/Controller/Root.pm at line 348
    [3.742][3.742:843]()
    $c->stash->{evals} = getEvals($self, $c, $evals, ($page - 1) * $resultsPerPage, $resultsPerPage)
    [3.742]
    [3.0]
    $c->stash->{evals} = getEvals($self, $c, $evals, ($page - 1) * $resultsPerPage, $resultsPerPage);
    $self->status_ok($c, entity => $c->stash->{evals});