* Pass the page number in the URI query string.

[?]
Oct 15, 2009, 12:59 PM
E74FJWCFNVUEG34WMRXTJ37MR4O5L6ZWK6PU2VTGE5DRNBKLYVVQC

Dependencies

  • [2] FPK5LF53 * Put the project-related actions in a separate controller. Put the
  • [3] 7Z3YOKCV * PROCESS -> INCLUDE in most cases. INCLUDE does proper scoping of
  • [4] YTSIRIMK * Separate job status and all builds pages.
  • [5] DEMSSSB2 * Controller for jobs which inherits all actions in ListBuilds. So
  • [6] RI4S7SYT * Job status: show the active jobs.
  • [7] T2232OBS * Add some DB indices to make the /releases page much faster.
  • [8] RAKTHYAI * In the job status and error pages, show when the status of a job
  • [9] SJN2QPWH * Big speed-up of the job status page and the channel generation (such
  • [10] ZD5AEKWM * Job status / error pages: show only active jobs.
  • [11] 2AIIYGI5 * Show job status and all builds for a project.
  • [12] X5UVREJY * PostgreSQL compatibility.
  • [13] 75XUS62Y * Added a page to quickly see all failed builds and failed evaluations

Change contents

  • replacement in src/lib/Hydra/Base/Controller/ListBuilds.pm at line 50
    [2.381][2.381:413]()
    my ($self, $c, $page) = @_;
    [2.381]
    [2.413]
    my ($self, $c) = @_;
  • replacement in src/lib/Hydra/Base/Controller/ListBuilds.pm at line 54
    [2.453][2.453:504]()
    $page = (defined $page ? int($page) : 1) || 1;
    [2.453]
    [2.504]
    my $page = int($c->req->param('page')) || 1;
  • replacement in src/root/all.tt at line 14
    [3.1329][3.1325:1366]()
    [<a href="[% "$baseUri/1" %]">First</a>]
    [3.1329]
    [3.1377]
    [<a href="[% "$baseUri?page=1" %]">First</a>]
  • replacement in src/root/all.tt at line 16
    [3.1395][3.1367:1420]()
    [<a href="[% "$baseUri/"; (page - 1) %]">Prev</a>]
    [3.1395]
    [3.1453]
    [<a href="[% "$baseUri?page="; (page - 1) %]">Prev</a>]
  • replacement in src/root/all.tt at line 19
    [3.1508][3.1421:1474]()
    [<a href="[% "$baseUri/"; (page + 1) %]">Next</a>]
    [3.1508]
    [3.1566]
    [<a href="[% "$baseUri?page="; (page + 1) %]">Next</a>]
  • replacement in src/root/all.tt at line 21
    [3.1576][3.1475:1556]()
    [<a href="[% "$baseUri/"; (totalBuilds - 1) div resultsPerPage + 1 %]">Last</a>]
    [3.1576]
    [3.1662]
    [<a href="[% "$baseUri?page="; (totalBuilds - 1) div resultsPerPage + 1 %]">Last</a>]