CommitBit
view release on metacpan or search on metacpan
share/web/templates/admin/project/index.html
share/web/templates/admin/project/people
share/web/templates/admin/projects
share/web/templates/admin/repositories
share/web/templates/admin/repository/index.html
share/web/templates/admin/repository/projects
share/web/templates/index.html
share/web/templates/let/set_password
share/web/templates/login
share/web/templates/logout
share/web/templates/prefs
share/web/templates/project/index.html
share/web/templates/signup
SIGNATURE
t/00-model-Project.t
t/00-model-ProjectMember.t
t/00-model-Repository.t
t/00-model-User.t
t/01-dependencies.t
t/authz.t
SHA1 2d1775ab4ac9cadad2dd529380b642b1bc2046d8 share/web/templates/admin/project/index.html
SHA1 94a4ac102f85f57b8fc41ba8e01cf8eafed456f0 share/web/templates/admin/project/people
SHA1 3ae3e1701add37378d502f4586fa9fd975ce6435 share/web/templates/admin/projects
SHA1 45700b73bc0b7331f3d20a8fcd910efc35494520 share/web/templates/admin/repositories
SHA1 190cca3aeb5f8301100f421aeb9c334c6bfff7fd share/web/templates/admin/repository/index.html
SHA1 32c820bf3c576f186c7ab500d5ad5828e00cb8e4 share/web/templates/admin/repository/projects
SHA1 6a790091f61ee22dc03012097a15bac893ad3ac2 share/web/templates/index.html
SHA1 e8cb18ec931e802b109af34aef85cbac867216fb share/web/templates/let/set_password
SHA1 9a1c6d00d1b2878e045cd683deaf97d7afe8e9de share/web/templates/login
SHA1 e38eaf6f5d52cf5050df5803cf13623b14ecd96d share/web/templates/logout
SHA1 8637a54816f2fc23450c8775da3a87264ab06c14 share/web/templates/prefs
SHA1 20e290dc43ecc803af565a44f9ae58761d046fd4 share/web/templates/project/index.html
SHA1 1069a79533d0cef7eee2652fb2c9029c19a9aa03 share/web/templates/signup
SHA1 579ff6b109f17bfc403b3027197267b6bb14e750 t/00-model-Project.t
SHA1 8de77058aad70fd6110f277ecabba0ecc4a8bc96 t/00-model-ProjectMember.t
SHA1 780092b9be9f040175d7847597d0eca0daa0d431 t/00-model-Repository.t
SHA1 76db6cd080b3d9ceec71fb14fa52862936f8097d t/00-model-User.t
SHA1 801e13865be6bf74327ff4d10b44520e0859af34 t/01-dependencies.t
SHA1 9943f623fad0e97ebb90f04cf2c46330224a9546 t/authz.t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
lib/CommitBit/Dispatcher.pm view on Meta::CPAN
Jifty->web->navigation->child(
Home => # override the jifty default. ew
label => _('Home'),
url => '/',
sort_order => 1);
if ( Jifty->web->current_user->id ) {
Jifty->web->navigation->child(
prefs =>
label => _('Preferences'),
url => '/prefs',
sort_order => 998
);
Jifty->web->navigation->child(
logout =>
label => _('Logout'),
url => '/logout',
sort_order => 999
);
} else {
Jifty->web->navigation->child(
lib/CommitBit/Dispatcher.pm view on Meta::CPAN
{
Jifty->web->navigation->child(
admin =>
label => _('Admin'),
url => '/admin'
);
}
};
before qr'/admin/|/prefs' => run {
unless (Jifty->web->current_user->id) {
tangent '/login';
}
};
# Sign up for an account
on 'signup' => run {
redirect('/') if ( Jifty->web->current_user->id );
set 'action' =>
Jifty->web->new_action(
class => 'Signup',
moniker => 'signupbox'
);
set 'next' => Jifty->web->request->continuation
|| Jifty::Continuation->new(
request => Jifty::Request->new( path => "/" ) );
};
on 'prefs' => run {
set 'action' =>
Jifty->web->new_action(
class => 'UpdateUser',
moniker => 'prefsbox',
record => Jifty->web->current_user->user_object
);
set 'next' => Jifty->web->request->continuation
|| Jifty::Continuation->new(
request => Jifty::Request->new( path => "/" ) );
};
# Login
share/web/templates/let/set_password view on Meta::CPAN
<%init>
Jifty->web->new_action(
moniker => 'confirm_email',
class => 'ConfirmEmail',
)->run;
my $action = Jifty->web->new_action(
class => 'UpdateUser',
moniker => 'prefsbox',
record => Jifty->web->current_user->user_object
);
my $next = Jifty::Continuation->new(
request => Jifty::Request->new( path => "/" ) );
</%init>
<&|/_elements/wrapper, title => 'Preferences' &>
<p>Please set a password and nickname.
(For now, you can't touch your email address)</p>
( run in 0.621 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )