[mb-commits] r9878 - in mb_server/branches/TemplateToolkit: lib/MusicBrainz/Server/Controller root root/artist script

root at musicbrainz.org root at musicbrainz.org
Mon Jun 23 11:54:54 UTC 2008


Author: acid2
Date: 2008-06-23 11:54:54 +0000 (Mon, 23 Jun 2008)
New Revision: 9878

Added:
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Artist.pm
   mb_server/branches/TemplateToolkit/root/artist/
   mb_server/branches/TemplateToolkit/root/artist/show.tt
Modified:
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/User.pm
   mb_server/branches/TemplateToolkit/script/musicbrainz_create.pl
Log:
Having a play getting artists to display

Added: mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Artist.pm

Modified: mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/User.pm
===================================================================
--- mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/User.pm	2008-06-22 15:26:02 UTC (rev 9877)
+++ mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/User.pm	2008-06-23 11:54:54 UTC (rev 9878)
@@ -5,17 +5,22 @@
 use base 'Catalyst::Controller';
 
 =head1 NAME
+
 musicbrainz::Controller::User - Catalyst Controller to handle user authentication and profile management
 
 =head1 DESCRIPTION
+
 The User controller handles the Users logging in and logging out, along with providing logic for updating &
 managing user profiles
 
 =head1 METHODS
+
 =cut
 
-=head2 index 
+=head2 index
+
 If the user is currently logged in redirect them to their profile page, otherwise redirect the user to the login page.
+
 =cut
 
 sub index : Private {
@@ -35,7 +40,9 @@
 }
 
 =head2 login
+
 Handle logging in users
+
 =cut
 
 sub login : Local Form {
@@ -79,7 +86,9 @@
 }
 
 =head2 register
+
 Handle user registration
+
 =cut
 
 sub register : Local Form
@@ -119,8 +128,10 @@
 }
 
 =head2 registered
+
 Called when a user has completed registration. We use this to notify the user that everything
 went ok
+
 =cut
 
 sub registered : Private
@@ -134,7 +145,9 @@
 }
 
 =head2 profile
+
 Display a users profile page.
+
 =cut 
 
 sub profile : Local {
@@ -183,7 +196,9 @@
 }
 
 =head2 logout
+
 Logout the current user. Has no effect if the user is already logged out.
+
 =cut
 
 sub logout : Local {
@@ -193,8 +208,9 @@
 }
 
 =head1 AUTHOR
-Oliver Charles
 
+Oliver Charles <oliver.g.charles at googlemail.com>
+
 =head1 LICENSE
 
 This library is free software, you can redistribute it and/or modify

Added: mb_server/branches/TemplateToolkit/root/artist/show.tt

Modified: mb_server/branches/TemplateToolkit/script/musicbrainz_create.pl
===================================================================
--- mb_server/branches/TemplateToolkit/script/musicbrainz_create.pl	2008-06-22 15:26:02 UTC (rev 9877)
+++ mb_server/branches/TemplateToolkit/script/musicbrainz_create.pl	2008-06-23 11:54:54 UTC (rev 9878)
@@ -20,7 +20,7 @@
 
 my $helper = Catalyst::Helper->new( { '.newfiles' => !$force, mech => $mech } );
 
-pod2usage(1) unless $helper->mk_component( 'musicbrainz', @ARGV );
+pod2usage(1) unless $helper->mk_component( 'MusicBrainz::Server', @ARGV );
 
 1;
 




More information about the MusicBrainz-commits mailing list