root | 1 Jan 15:19 2009

[mb-commits] r10988 - mb_server/branches/RELEASE_20081123-BRANCH

Author: djce
Date: 2009-01-01 14:19:01 +0000 (Thu, 01 Jan 2009)
New Revision: 10988

Modified:
   mb_server/branches/RELEASE_20081123-BRANCH/
Log:
dummy commit

Property changes on: mb_server/branches/RELEASE_20081123-BRANCH
___________________________________________________________________
Added: djce:dummy
   + dummy commit
root | 2 Jan 19:47 2009

[mb-commits] r10989 - in metabrainz/trunk/htdocs/finances: . reports

Author: robert
Date: 2009-01-02 18:47:47 +0000 (Fri, 02 Jan 2009)
New Revision: 10989

Added:
   metabrainz/trunk/htdocs/finances/reports/MetaBrainz_Foundation_balance_sheet_20081231.pdf
   metabrainz/trunk/htdocs/finances/reports/MetaBrainz_Foundation_profit_loss_2008.pdf
   metabrainz/trunk/htdocs/finances/reports/MetaBrainz_Foundation_profit_loss_20081231.pdf
   metabrainz/trunk/htdocs/finances/reports/MetaBrainz_Foundation_profit_loss_2008_Q4.pdf
Modified:
   metabrainz/trunk/htdocs/finances/index.html
Log:
Year end financials.

Modified: metabrainz/trunk/htdocs/finances/index.html
===================================================================
--- metabrainz/trunk/htdocs/finances/index.html	2009-01-01 14:19:01 UTC (rev 10988)
+++ metabrainz/trunk/htdocs/finances/index.html	2009-01-02 18:47:47 UTC (rev 10989)
 <at>  <at>  -38,6 +38,14  <at>  <at> 
 <h3>2008</h3>

 <p>
+Year End Reports
+</p>
+<ul>
+<li><a href="reports/MetaBrainz_Foundation_balance_sheet_20081231.pdf">Balance Sheet</a></li>
+<li><a href="reports/MetaBrainz_Foundation_profit_loss_2007.pdf">Profit &amp; Loss</a></li>
+</ul>
+
+<p>
(Continue reading)

root | 2 Jan 19:50 2009

[mb-commits] r10990 - metabrainz/trunk/htdocs/finances

Author: robert
Date: 2009-01-02 18:50:56 +0000 (Fri, 02 Jan 2009)
New Revision: 10990

Modified:
   metabrainz/trunk/htdocs/finances/index.html
Log:
Fixed one minor typo

Modified: metabrainz/trunk/htdocs/finances/index.html
===================================================================
--- metabrainz/trunk/htdocs/finances/index.html	2009-01-02 18:47:47 UTC (rev 10989)
+++ metabrainz/trunk/htdocs/finances/index.html	2009-01-02 18:50:56 UTC (rev 10990)
 <at>  <at>  -42,7 +42,7  <at>  <at> 
 </p>
 <ul>
 <li><a href="reports/MetaBrainz_Foundation_balance_sheet_20081231.pdf">Balance Sheet</a></li>
-<li><a href="reports/MetaBrainz_Foundation_profit_loss_2007.pdf">Profit &amp; Loss</a></li>
+<li><a href="reports/MetaBrainz_Foundation_profit_loss_2008.pdf">Profit &amp; Loss</a></li>
 </ul>

 <p>
root | 6 Jan 16:19 2009

[mb-commits] r10991 - in mb_server/branches/TemplateToolkit: lib lib/MusicBrainz lib/MusicBrainz/Server/Controller lib/MusicBrainz/Server/Model root/moderation

Author: acid2
Date: 2009-01-06 15:19:20 +0000 (Tue, 06 Jan 2009)
New Revision: 10991

Modified:
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server.pm
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Root.pm
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/User.pm
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Model/Subscription.pm
   mb_server/branches/TemplateToolkit/lib/UserSubscription.pm
   mb_server/branches/TemplateToolkit/root/moderation/notes.tt
Log:
Support unsubscribing from labels (in groups)

Modified: mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Root.pm
===================================================================
--- mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Root.pm	2009-01-02
18:50:56 UTC (rev 10990)
+++ mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Root.pm	2009-01-06
15:19:20 UTC (rev 10991)
 <at>  <at>  -148,29 +148,6  <at>  <at> 
     $c->stash(entity_url => sub { EntityUrl($c,  <at> _); }); 
     $c->stash->{server_details}->{version} = &DBDefs::VERSION;

-    # Effectivly a date filter:
-    $c->stash->{user_date} = sub {
-        return unless ('' ne $_[0]);
-
-        use UserPreference;
-
(Continue reading)

root | 7 Jan 01:50 2009

[mb-commits] r10992 - mb_server/branches/TemplateToolkit

Author: acid2
Date: 2009-01-07 00:50:33 +0000 (Wed, 07 Jan 2009)
New Revision: 10992

Modified:
   mb_server/branches/TemplateToolkit/INSTALL.TemplateToolkit
Log:
Rewrote the INSTALL.TemplateToolkit document

Modified: mb_server/branches/TemplateToolkit/INSTALL.TemplateToolkit
===================================================================
--- mb_server/branches/TemplateToolkit/INSTALL.TemplateToolkit	2009-01-06 15:19:20 UTC (rev 10991)
+++ mb_server/branches/TemplateToolkit/INSTALL.TemplateToolkit	2009-01-07 00:50:33 UTC (rev 10992)
 <at>  <at>  -1,56 +1,69  <at>  <at> 
-Install instructions for the MusicBrainz Server: (TemplateToolkit flavour)
---------------------------------------------------------------------------
+Installing mb_server
+--------------------

-These are advanced install instructions for running the Template Toolkit
-flavour of mb_server. At the time of writing, this is solely for development
-purposes.
+mb_server is the web front end to the MusicBrainz data (as displayed at
+http://musicbrainz.org/), and this document explains how you can get everything
+up and running.

-For the most part, you need only install the perl modules described under 
-section 4) of the  Requirements to run a basic webserver. For instructions on
-setting up the database that powers mb_server, look at INSTALL and 
-INSTALL.advanced again.
(Continue reading)

root | 8 Jan 13:25 2009

[mb-commits] r10993 - mb_server/branches/TemplateToolkit/root/forms/widgets

Author: acid2
Date: 2009-01-08 12:25:55 +0000 (Thu, 08 Jan 2009)
New Revision: 10993

Removed:
   mb_server/branches/TemplateToolkit/root/forms/widgets/password.tt
Log:
Remove 'lazy Muz-hack' that breaks SVN on OS X. Noobs
root | 8 Jan 18:41 2009

[mb-commits] r10994 - mb_server/branches/RELEASE_20081123-BRANCH/htdocs/scripts

Author: luks
Date: 2009-01-08 17:41:36 +0000 (Thu, 08 Jan 2009)
New Revision: 10994

Modified:
   mb_server/branches/RELEASE_20081123-BRANCH/htdocs/scripts/ar-frontend.js
Log:
Modify URL AR JavaScript validation for new format Discogs release URLs

Patch by Nikki, closes #4336

Modified: mb_server/branches/RELEASE_20081123-BRANCH/htdocs/scripts/ar-frontend.js
===================================================================
--- mb_server/branches/RELEASE_20081123-BRANCH/htdocs/scripts/ar-frontend.js	2009-01-08
12:25:55 UTC (rev 10993)
+++ mb_server/branches/RELEASE_20081123-BRANCH/htdocs/scripts/ar-frontend.js	2009-01-08
17:41:36 UTC (rev 10994)
 <at>  <at>  -40,7 +40,7  <at>  <at> 
 	this.formsubmitted = null;
 	this.urlRegExps = {
 		amazon:		new RegExp("^(http://)?([^/]+\.)?amazon\.(com|ca|co\.uk|fr|at|de|co\.jp|jp)","i"),
-		discogs:	new RegExp("^(http://)?([^/]+\.)?discogs\.com","i"),
+		discogs:	new RegExp("^(https?://)?([^/]+\.)?discogs\.com","i"),
 		wikipedia:	new RegExp("^(http://)?([^/]+\.)?wikipedia\.","i"),
 		musicmoz:	new RegExp("^(http://)?([^/]+\.)?musicmoz\.","i"),
 		imdb:		new RegExp("^(http://)?([^/]+\.)?imdb\.com","i"),
 <at>  <at>  -264,7 +264,7  <at>  <at> 
 				field.value = "http://www.amazon." + tld + "/gp/product/" + asin;
 			}
 		} else if (v.match(this.urlRegExps.discogs)) {
(Continue reading)

root | 8 Jan 20:33 2009

[mb-commits] r10995 - in mb_server/branches/TemplateToolkit: . script

Author: acid2
Date: 2009-01-08 19:33:41 +0000 (Thu, 08 Jan 2009)
New Revision: 10995

Modified:
   mb_server/branches/TemplateToolkit/INSTALL.TemplateToolkit
   mb_server/branches/TemplateToolkit/script/musicbrainz_server.pl
Log:
Updated Install with mentions of improting the databases

Modified: mb_server/branches/TemplateToolkit/INSTALL.TemplateToolkit
===================================================================
--- mb_server/branches/TemplateToolkit/INSTALL.TemplateToolkit	2009-01-08 17:41:36 UTC (rev 10994)
+++ mb_server/branches/TemplateToolkit/INSTALL.TemplateToolkit	2009-01-08 19:33:41 UTC (rev 10995)
 <at>  <at>  -56,13 +56,45  <at>  <at> 

         This will generate a standard Makefile, which you can use to install dependancies:

-4) Start the development server
+4) Create the databases

-	./script/musicbrainz_server.pl -r
+	You have 2 options when it comes to databases. You can either opt for a clean database,
+	with just the schema (useful for developers with little free diskspace), or you can use
+	a copy of the MusicBrainz data.
 	
-Visiting http://your.machines.ip.address:3000 should now present you with a Template
-Toolkit based version of mb_server.
+	a) Using Clean Databases
+	
(Continue reading)

root | 9 Jan 16:42 2009

[mb-commits] r10996 - mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller

Author: acid2
Date: 2009-01-09 15:42:33 +0000 (Fri, 09 Jan 2009)
New Revision: 10996

Modified:
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Label.pm
Log:
Only load subscription information for entity headers, if a user exists.

Fixes #4339

Modified: mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Label.pm
===================================================================
---
mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Label.pm	2009-01-08
19:33:41 UTC (rev 10995)
+++
mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Label.pm	2009-01-09
15:42:33 UTC (rev 10996)
 <at>  <at>  -33,8 +33,11  <at>  <at> 
 {
     my ($self, $c) =  <at> _;

-    $c->stash->{subscribed} = $c->model('Subscription')->
-        is_user_subscribed_to_entity($c->user, $self->entity);
+	if ($c->user_exists)
+	{
+    	$c->stash->{subscribed} = $c->model('Subscription')->
+        	is_user_subscribed_to_entity($c->user, $self->entity);
+	}
(Continue reading)

root | 9 Jan 16:43 2009

[mb-commits] r10997 - mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller

Author: acid2
Date: 2009-01-09 15:43:38 +0000 (Fri, 09 Jan 2009)
New Revision: 10997

Modified:
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Artist.pm
Log:
Don't load subscription information in artist header, when no user exists.

Modified: mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Artist.pm
===================================================================
---
mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Artist.pm	2009-01-09
15:42:33 UTC (rev 10996)
+++
mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Artist.pm	2009-01-09
15:43:38 UTC (rev 10997)
 <at>  <at>  -59,8 +59,11  <at>  <at> 
         $c->detach;
     }

-    $c->stash->{subscribed} = $c->model('Subscription')->
-        is_user_subscribed_to_entity($c->user, $self->entity);
+	if ($c->user_exists)
+	{
+    	$c->stash->{subscribed} = $c->model('Subscription')->
+        	is_user_subscribed_to_entity($c->user, $self->entity);
+	}
 }

(Continue reading)


Gmane