| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
use Moose; |
|
2
|
4
|
|
|
4
|
|
2677800
|
|
|
|
4
|
|
|
|
|
35
|
|
|
|
4
|
|
|
|
|
31
|
|
|
3
|
|
|
|
|
|
|
our $VERSION = '1.16'; |
|
4
|
|
|
|
|
|
|
use Catalyst::Runtime '5.80'; |
|
5
|
4
|
|
|
4
|
|
26687
|
|
|
|
4
|
|
|
|
|
539
|
|
|
|
4
|
|
|
|
|
130
|
|
|
6
|
|
|
|
|
|
|
use Catalyst qw/ |
|
7
|
4
|
|
|
|
|
24
|
ConfigLoader |
|
8
|
|
|
|
|
|
|
Static::Simple |
|
9
|
|
|
|
|
|
|
Authentication |
|
10
|
|
|
|
|
|
|
Session |
|
11
|
|
|
|
|
|
|
Session::Store::DBIC |
|
12
|
|
|
|
|
|
|
Session::State::Cookie |
|
13
|
|
|
|
|
|
|
/; |
|
14
|
4
|
|
|
4
|
|
4961
|
extends 'Catalyst'; |
|
|
4
|
|
|
|
|
3682614
|
|
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
__PACKAGE__->config( |
|
17
|
|
|
|
|
|
|
authentication => { |
|
18
|
|
|
|
|
|
|
default_realm => 'members', |
|
19
|
|
|
|
|
|
|
realms => { |
|
20
|
|
|
|
|
|
|
members => { |
|
21
|
|
|
|
|
|
|
credential => { |
|
22
|
|
|
|
|
|
|
class => 'Password', |
|
23
|
|
|
|
|
|
|
password_field => 'password', |
|
24
|
|
|
|
|
|
|
password_type => 'self_check', |
|
25
|
|
|
|
|
|
|
}, |
|
26
|
|
|
|
|
|
|
store => { |
|
27
|
|
|
|
|
|
|
class => 'DBIx::Class', |
|
28
|
|
|
|
|
|
|
user_model => 'DBIC::Player', |
|
29
|
|
|
|
|
|
|
role_relation => 'roles', |
|
30
|
|
|
|
|
|
|
role_field => 'role', |
|
31
|
|
|
|
|
|
|
use_userdata_from_session => 1, |
|
32
|
|
|
|
|
|
|
}, |
|
33
|
|
|
|
|
|
|
}, |
|
34
|
|
|
|
|
|
|
} |
|
35
|
|
|
|
|
|
|
} |
|
36
|
|
|
|
|
|
|
); |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
# Session::Store |
|
39
|
|
|
|
|
|
|
__PACKAGE__->config( |
|
40
|
|
|
|
|
|
|
'Plugin::Session' => { |
|
41
|
|
|
|
|
|
|
dbic_class => 'DBIC::Session', |
|
42
|
|
|
|
|
|
|
expires => 604800, |
|
43
|
|
|
|
|
|
|
cookie_expires => 1814400, |
|
44
|
|
|
|
|
|
|
}, |
|
45
|
|
|
|
|
|
|
); |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
# Start the application |
|
48
|
|
|
|
|
|
|
__PACKAGE__->setup; |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 NAME |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Bracket - College Basketball Tournament Bracket Web Application |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Run your own bracket software. Simple, effective and ad free. |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
College Basketball Tournament Bracket Web application using the Catalyst framework. |
|
61
|
|
|
|
|
|
|
Deploy an instance of this bracket software to run your own bracket system. |
|
62
|
|
|
|
|
|
|
It requires a data store such as MySQL, PostgreSQL or SQLite. |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Simple admin interface to build the perfect bracket as the tournament unfolds. |
|
65
|
|
|
|
|
|
|
Player brackets are compared to the perfect bracket for scoring purposes. |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 AUTHOR |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Mateu X. Hunter 2008-2022 |
|
70
|
|
|
|
|
|
|
hunter@missoula.org |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 LICENSE |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This library is free software, you can redistribute it and/or modify |
|
75
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 COPYRIGHT |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Mateu X. Hunter 2008-2022 |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 LIMITATIONS |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
* Currently only supports one group of players. |
|
84
|
|
|
|
|
|
|
* If you want to give more scoring weight to lower seeded wins |
|
85
|
|
|
|
|
|
|
you have to edit the lower_seed column of the game table. |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=cut |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
1; |