Allow searching for store and drv paths. Only does a complete match to reduce load on database.
[?]
Apr 25, 2013, 1:57 PM
EJ7C77C3QLT7JPRHFTDIOY4WAXPXAXMAPWJYWEPKGPO5CCGD3SZACDependencies
- [2]
WUCOEIFASearch: Limit the number of results - [3]
VH5ZABDRAdd a page to show the latest evaluations for the entire server - [4]
UICHT2PSAdd a search feature - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
LCLXI7PTSearch: Mark disabled projects/jobsets/jobs - [*]
HRAFVVOEmake logo configurable via HYDRA_LOGO env var - [*]
D5QIOJGP* Move everything up one directory.
Change contents
- replacement in src/lib/Hydra/Controller/Root.pm at line 268
unless $query =~ /^[a-zA-Z0-9_\-]+$/;unless $query =~ /^[a-zA-Z0-9_\-\/.]+$/; - edit in src/lib/Hydra/Controller/Root.pm at line 298
$c->stash->{builds} = [ $c->model('DB::Builds')->search({ -or => { "buildoutputs.path" => trim($query), "drvpath" => trim($query)} },{ order_by => ["id desc"], join => ["buildoutputs"] } ) ]; - edit in src/root/search.tt at line 60
[% END %][% IF builds.size > 0; matched = 1 %]<p>The following builds match your query:[% IF jobs.size > limit %] <span class="text-warning">(first [% limit %] results only)</span>[% END %]</p>[% INCLUDE renderBuildList %] - file addition: upgrade-12.sql[9.3004]
create index IndexBuildOutputsOnPath on BuildOutputs(path);