* Added authentication.
[?]
Nov 26, 2008, 7:48 PM
S66BOMVUACAUDSGSDWP7ZIXVMZSQHWXOZYVTB7ILUCWZ7DDFAKVACDependencies
- [2]
TWVSALRL* Allow the maximum number of concurrent builds per platform to be - [3]
JLDUSNUO* Unify rendering of finished and scheduled builds. - [4]
7YBYT2LQ - [5]
2AUODJBT - [6]
KFFNFE4D - [7]
6BLUKEQ2* Caching of "path" inputs, and fake a revision number for those. - [8]
L2E6EVE2* Merged the Build and Job tables. - [9]
J5UVLXOK* Start of a basic Catalyst web interface. - [10]
CLJQCY2X* Store info about all the build actions and allow them to be - [11]
ZEHSSVFG - [12]
PBFZEQLZ - [13]
H7CNGK4O* Log evaluation errors etc. in the DB. - [14]
VCOSLZRP - [15]
KOTB7BKV - [16]
7LKUAIGC - [17]
LQNBKF3D - [18]
B72GLND4 - [19]
SHBLLAVH* More global substitution. - [20]
IK53RV4V - [21]
3ZCEPLNO - [22]
67P45PY4 - [23]
ZVTSOVHN* Support Subversion checkouts. - [24]
HCKFTNQ6 - [25]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [26]
PHX2HIVG* Store info about the build inputs in the build record. - [27]
YAPITGB3* Boolean inputs. - [28]
CMU3YKOU* Store the release name. - [29]
YTZOC7C5* Editing of jobset inputs. - [30]
GWCV3TQV* BuildInputs table: link to dependencies, include store paths. - [31]
TLZ2SPBR - [32]
W6DC6K4I* Happy Javascript hacking. - [33]
WYN733ST* Store build duration, handle cached builds. - [34]
TQKGQ5R3 - [35]
X27GNHDV* Basic job info in the database. - [36]
DVNWJXWW* Generic declaration of build products. - [37]
BVOPAMLS - [38]
M552HLIA* Support variant builds. - [*]
PKPWUHUX* Idem. - [*]
JK2QWPH6 - [*]
HJLYC753* Adding input value alternatives. - [*]
N22GPKYT* Put info about logs / build products in the DB.
Change contents
- edit in src/Hydra/hydra.conf at line 2[4.51]
<authentication>default_realm dbic<realms><dbic><credential>class Passwordpassword_field passwordpassword_type hashedpassword_hash_type SHA-1</credential><store>class DBIx::Classuser_class DB::Users</store></dbic></realms></authentication> - edit in src/Hydra/lib/Hydra/Controller/Root.pm at line 62
- edit in src/Hydra/lib/Hydra/Controller/Root.pm at line 64
sub login :Local {my ($self, $c) = @_;my $username = $c->request->params->{username} || "";my $password = $c->request->params->{password} || ""; - edit in src/Hydra/lib/Hydra/Controller/Root.pm at line 70
if ($username && $password) {if ($c->authenticate({username => $username, password => $password})) {$c->response->redirect(defined $c->flash->{afterLogin}? $c->flash->{afterLogin}: $c->uri_for('/'));$c->flash->{afterLogin} = undef;return;}$c->stash->{errorMsg} = "Bad username or password.";}$c->stash->{template} = 'login.tt';}sub logout :Local {my ($self, $c) = @_;$c->logout;$c->response->redirect($c->uri_for('/'));}sub requireLogin {my ($c) = @_;$c->flash->{afterLogin} = $c->request->uri;$c->response->redirect($c->uri_for('/login'));} - replacement in src/Hydra/lib/Hydra/Controller/Root.pm at line 101
my ($self, $c) = @_;my ($self, $c) = @_;return requireLogin($c) if !$c->user_exists; - replacement in src/Hydra/lib/Hydra/Schema/Buildinputs.pm at line 39
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LXmRVGbyhgP5UGYK5ekbog# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LRcAsbLWbetVw+DCDnv/9w - replacement in src/Hydra/lib/Hydra/Schema/Buildproducts.pm at line 36
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ai10FDZA/INuvAMu+1mvWw# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Pu6gWxltfVJJ+9DBiC9bYg - replacement in src/Hydra/lib/Hydra/Schema/Buildresultinfo.pm at line 32
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KLmCZNoPd+vFmAj7XNtLMQ# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X5GXZRLAaCMl8OKBGjtztw - replacement in src/Hydra/lib/Hydra/Schema/Builds.pm at line 73
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hm/IA7ESnKT9gls0lw1Daw# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:h32zqOEGcpXQy7pshiWVMA - replacement in src/Hydra/lib/Hydra/Schema/Buildschedulinginfo.pm at line 26
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d/8LOVy+FfKFEo7iFbP3Gw# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:egegc7kFKTt9cEGuomi0cQ - replacement in src/Hydra/lib/Hydra/Schema/Buildsteps.pm at line 38
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:a/DM38J4HR2LBDTeXvt4uA# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kFD90OFRM1aqVVCBCh/geA - replacement in src/Hydra/lib/Hydra/Schema/Cachedpathinputs.pm at line 25
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Pnefs6s7Y0i3YRE+BoWdDg# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r/3GaLIIWaX1fh8kfuQp+w - replacement in src/Hydra/lib/Hydra/Schema/Cachedsubversioninputs.pm at line 23
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gmw8LSLTRV00vCYDKiuZOw# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yTp1XcBSQ+6OJvVLugRh1w - replacement in src/Hydra/lib/Hydra/Schema/Jobsetinputalts.pm at line 36
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R26KAvuQZHKAyG/hEaB6Gw# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lYdNLENxLW2mtZ2w+jou8w - replacement in src/Hydra/lib/Hydra/Schema/Jobsetinputs.pm at line 46
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:quDswVe6ApUm4cYVVijAEw# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Bk/vLWpBjR3ZU0p1KN7KfA - replacement in src/Hydra/lib/Hydra/Schema/Jobsets.pm at line 53
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nDI28mE5gmZwDozOG/0fnw# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9xvvQg/H0oibycB6B45V5A - replacement in src/Hydra/lib/Hydra/Schema/Projects.pm at line 33
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SKZ/imJK1fjPbBEXde23Og# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3YMBhMqCjtpUjoTx4JLTOw - replacement in src/Hydra/lib/Hydra/Schema/Systemtypes.pm at line 19
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/NVhmxcHU6YWCXDX9sO8mA# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SSKVFeg7ieeLJcF+s1uWWw - file addition: Users.pm[40.207]
package Hydra::Schema::Users;use strict;use warnings;use base 'DBIx::Class';__PACKAGE__->load_components("Core");__PACKAGE__->table("Users");__PACKAGE__->add_columns("username",{ data_type => "text", is_nullable => 0, size => undef },"fullname",{ data_type => "text", is_nullable => 0, size => undef },"emailaddress",{ data_type => "text", is_nullable => 0, size => undef },"password",{ data_type => "text", is_nullable => 0, size => undef },);__PACKAGE__->set_primary_key("username");# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BgF6FK+9d7+cc72sp6pfCQ# You can replace this text with custom content, and it will be preserved on regeneration1; - replacement in src/Hydra/lib/Hydra/Schema.pm at line 11
# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 18:03:19# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Pcp+OvDPqTvMftKcbkPkjA# Created by DBIx::Class::Schema::Loader v0.04005 @ 2008-11-26 20:02:52# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jK/9VMZBot2RJwtlHA6QIg - edit in src/Hydra/lib/Hydra.pm at line 13
AuthenticationSessionSession::Store::FastMmapSession::State::Cookie - replacement in src/Hydra/root/build.tt at line 20
<table><table class="layoutTable"> - replacement in src/Hydra/root/layout.tt at line 112
[% INCLUDE makeLink uri = c.uri_for('/users') title = "Users" %][% INCLUDE makeLink uri = c.uri_for('/createproject') title = "Create a project" %][% IF c.user_exists %][% INCLUDE makeLink uri = c.uri_for('/logout') title = "Logout" %][% ELSE %][% INCLUDE makeLink uri = c.uri_for('/login') title = "Login" %][% END %][% INCLUDE makeLink uri = c.uri_for('/createproject') title = "Create project" %] - edit in src/Hydra/root/layout.tt at line 128
[% IF c.user_exists %]You are logged in as <tt>[% c.user.username %]</tt>.[% END %] - replacement in src/Hydra/root/project.tt at line 77
<table><table class="layoutTable"> - replacement in src/Hydra/root/project.tt at line 151
<table><table class="layoutTable"> - replacement in src/Hydra/root/project.tt at line 261
<table><table class="layoutTable"> - edit in src/Hydra/root/static/css/hydra.css at line 30
}.layoutTable td, .layoutTable th {border-style: none; - edit in src/hydra.sql at line 263
);create table Users (userName text primary key not null,fullName text,emailAddress text not null,password text not null -- sha256 hash