root | 2 Jun 23:54 2008

[mb-commits] r9866 - in mb_server/trunk: . cgi-bin

Author: robert
Date: 2008-06-02 21:54:43 +0000 (Mon, 02 Jun 2008)
New Revision: 9866

Modified:
   mb_server/trunk/AUTHORS
   mb_server/trunk/cgi-bin/UserSubscription.pm
Log:
Checking in Muz's awesome perl heavy patch. Fixes #3329

Modified: mb_server/trunk/AUTHORS
===================================================================
--- mb_server/trunk/AUTHORS	2008-05-31 20:35:36 UTC (rev 9865)
+++ mb_server/trunk/AUTHORS	2008-06-02 21:54:43 UTC (rev 9866)
 <at>  <at>  -90,4 +90,7  <at>  <at> 
   - Submitted new Multiple TRMs per album report
   - Fixed bug [ 1239431 ] Move Disc ID: Failed dependency

+  Mustaqil "Muzz" Ali
+  - Submitted patch for #3329
+
 (please send change requests to rob <at> musicbrainz.org or maintainer)

Modified: mb_server/trunk/cgi-bin/UserSubscription.pm
===================================================================
--- mb_server/trunk/cgi-bin/UserSubscription.pm	2008-05-31 20:35:36 UTC (rev 9865)
+++ mb_server/trunk/cgi-bin/UserSubscription.pm	2008-06-02 21:54:43 UTC (rev 9866)
 <at>  <at>  -700,7 +700,9  <at>  <at> 
 			if $self->{'verbose'};
 		
(Continue reading)

root | 7 Jun 00:32 2008

[mb-commits] r9867 - mb_server/branches/RELEASE_20071014-BRANCH/htdocs

Author: robert
Date: 2008-06-06 22:32:05 +0000 (Fri, 06 Jun 2008)
New Revision: 9867

Modified:
   mb_server/branches/RELEASE_20071014-BRANCH/htdocs/index.html
Log:
Update the blog feed addy

Modified: mb_server/branches/RELEASE_20071014-BRANCH/htdocs/index.html
===================================================================
--- mb_server/branches/RELEASE_20071014-BRANCH/htdocs/index.html	2008-06-02 21:54:43 UTC (rev 9866)
+++ mb_server/branches/RELEASE_20071014-BRANCH/htdocs/index.html	2008-06-06 22:32:05 UTC (rev 9867)
 <at>  <at>  -255,7 +255,7  <at>  <at> 
 			<div class="boxcontent">
 				<div class="inner">
 					<& /comp/newsfeed-side,
-						url => 'http://blog.musicbrainz.org/index-excerpt.xml',
+						url => 'http://blog.musicbrainz.org/?feed=rss2',
 						max_items => 4,
 						categories => [ ], # all categories
 						update_interval => 5*60,
root | 7 Jun 01:27 2008

[mb-commits] r9868 - mb_server/branches/RELEASE_20071014-BRANCH/htdocs/comp

Author: robert
Date: 2008-06-06 23:27:51 +0000 (Fri, 06 Jun 2008)
New Revision: 9868

Modified:
   mb_server/branches/RELEASE_20071014-BRANCH/htdocs/comp/newsfeed-side
Log:
Don't escape the text coming from the newsfeed.

Modified: mb_server/branches/RELEASE_20071014-BRANCH/htdocs/comp/newsfeed-side
===================================================================
--- mb_server/branches/RELEASE_20071014-BRANCH/htdocs/comp/newsfeed-side	2008-06-06 22:32:05
UTC (rev 9867)
+++ mb_server/branches/RELEASE_20071014-BRANCH/htdocs/comp/newsfeed-side	2008-06-06 23:27:51
UTC (rev 9868)
 <at>  <at>  -25,7 +25,7  <at>  <at> 

 					<div class="newsarticle">
 						<b><% $item->GetTitle() %></b> &mdash;
-						<% $item->GetDescription() %>
+						<% $item->GetDescription() |n  %>
 						<div class="datetime">Posted: <% $item->GetDateTimeString() %></div>
 						<div class="readmore">&raquo; <a href="<% $item->GetLink() %>">read more</a></div>
 					</div>
root | 11 Jun 00:44 2008

[mb-commits] r9869 - mb_server/branches/RELEASE_20071014-BRANCH/htdocs/user

Author: robert
Date: 2008-06-10 22:44:29 +0000 (Tue, 10 Jun 2008)
New Revision: 9869

Modified:
   mb_server/branches/RELEASE_20071014-BRANCH/htdocs/user/register.html
Log:
Added a note about not using your email address as a user name. That's been happening a lot lately.

Modified: mb_server/branches/RELEASE_20071014-BRANCH/htdocs/user/register.html
===================================================================
--- mb_server/branches/RELEASE_20071014-BRANCH/htdocs/user/register.html	2008-06-06 23:27:51
UTC (rev 9868)
+++ mb_server/branches/RELEASE_20071014-BRANCH/htdocs/user/register.html	2008-06-10 22:44:29
UTC (rev 9869)
 <at>  <at>  -125,7 +125,7  <at>  <at> 
 				<td class="label">
 					<label for="id_username">User Name:</label></td>
 				<td class="field">
-					<input class="textfield" type="text" name="username" id="id_username" size="30" value="<%
$username %>" style="width: 180px" /></td>
+					<input class="textfield" type="text" name="username" id="id_username" size="30" value="<%
$username %>" style="width: 180px" /><br/><span style="font-size: x-small">Note: Please do not
enter your email address as your user name. Your user name will be publicly visible.</span></td>
 			</tr>
 			<tr>
 				<td class="label">
root | 11 Jun 01:51 2008

[mb-commits] r9870 - in mb_server/trunk/admin/sql: . updates

Author: robert
Date: 2008-06-10 23:51:52 +0000 (Tue, 10 Jun 2008)
New Revision: 9870

Added:
   mb_server/trunk/admin/sql/updates/20080610-1.sql
   mb_server/trunk/admin/sql/updates/20080610-2.sql
Modified:
   mb_server/trunk/admin/sql/CreateFunctions.sql
   mb_server/trunk/admin/sql/CreateTables.sql
   mb_server/trunk/admin/sql/CreateTriggers.sql
   mb_server/trunk/admin/sql/DropFunctions.sql
Log:
Add lastupdated timestamp to album, artist, label and track tables. Also, add triggers to keep them up to date.
Now we can support HTTP caching and we can support RSS feeds of most recently changed entities, which will
allow tagger users to intelligently download changed metadata.

Modified: mb_server/trunk/admin/sql/CreateFunctions.sql
===================================================================
--- mb_server/trunk/admin/sql/CreateFunctions.sql	2008-06-10 22:44:29 UTC (rev 9869)
+++ mb_server/trunk/admin/sql/CreateFunctions.sql	2008-06-10 23:51:52 UTC (rev 9870)
 <at>  <at>  -97,27 +97,38  <at>  <at> 
 ' language 'plpgsql';

 --'-----------------------------------------------------------------
+-- Keep lastupdated columns up to date
+--'-----------------------------------------------------------------
+
+create or replace function b_iu_update_lastmodified () returns TRIGGER as '
+begin
(Continue reading)

root | 13 Jun 05:42 2008

[mb-commits] r9871 - in mb_server/trunk/admin/sql: . updates

Author: robert
Date: 2008-06-13 03:42:44 +0000 (Fri, 13 Jun 2008)
New Revision: 9871

Modified:
   mb_server/trunk/admin/sql/CreateFunctions.sql
   mb_server/trunk/admin/sql/DropTriggers.sql
   mb_server/trunk/admin/sql/updates/20080610-2.sql
Log:
Update lastmodfied columns in:
  album when release events for the albums are added/removed
  album when tracks are updated
  album when tracks are added/removed from albums
  artist when tracks are updated
  artist when releases are updated
This way changes bubble up to the top and we can see changes to tracks reflected in the artist lastupdate timestamp

Modified: mb_server/trunk/admin/sql/CreateFunctions.sql
===================================================================
--- mb_server/trunk/admin/sql/CreateFunctions.sql	2008-06-10 23:51:52 UTC (rev 9870)
+++ mb_server/trunk/admin/sql/CreateFunctions.sql	2008-06-13 03:42:44 UTC (rev 9871)
 <at>  <at>  -102,7 +102,20  <at>  <at> 

 create or replace function b_iu_update_lastmodified () returns TRIGGER as '
 begin
-   NEW.lastupdate = now(); 
+    NEW.lastupdate = now(); 
+    IF (TG_RELNAME = ''track'')
+    THEN
+        -- update the releases
(Continue reading)

root | 14 Jun 00:31 2008

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

Author: robert
Date: 2008-06-13 22:31:48 +0000 (Fri, 13 Jun 2008)
New Revision: 9872

Added:
   metabrainz/trunk/htdocs/finances/reports/MetaBrainz_Foundation_balance_sheet_20080531.pdf
   metabrainz/trunk/htdocs/finances/reports/MetaBrainz_Foundation_profit_loss_20080531.pdf
Modified:
   metabrainz/trunk/htdocs/finances/index.html
Log:
Updated for may

Modified: metabrainz/trunk/htdocs/finances/index.html
===================================================================
--- metabrainz/trunk/htdocs/finances/index.html	2008-06-13 03:42:44 UTC (rev 9871)
+++ metabrainz/trunk/htdocs/finances/index.html	2008-06-13 22:31:48 UTC (rev 9872)
 <at>  <at>  -50,6 +50,8  <at>  <at> 
 </p>

 <ul>
+<li>May: <a href="reports/MetaBrainz_Foundation_balance_sheet_20080531.pdf">balance sheet</a>,
+             <a href="reports/MetaBrainz_Foundation_profit_loss_20080531.pdf">profit &amp; loss</a></li>
 <li>April: <a href="reports/MetaBrainz_Foundation_balance_sheet_20080430.pdf">balance sheet</a>,
              <a href="reports/MetaBrainz_Foundation_profit_loss_20080430.pdf">profit &amp; loss</a></li>
 <li>March: <a href="reports/MetaBrainz_Foundation_balance_sheet_20080331.pdf">balance sheet</a>,

Added: metabrainz/trunk/htdocs/finances/reports/MetaBrainz_Foundation_balance_sheet_20080531.pdf

Property changes on: metabrainz/trunk/htdocs/finances/reports/MetaBrainz_Foundation_balance_sheet_20080531.pdf
___________________________________________________________________
(Continue reading)

root | 15 Jun 22:00 2008

[mb-commits] r9873 - python-musicbrainz2/trunk/src/musicbrainz2

Author: matt
Date: 2008-06-15 20:00:47 +0000 (Sun, 15 Jun 2008)
New Revision: 9873

Modified:
   python-musicbrainz2/trunk/src/musicbrainz2/webservice.py
Log:
Added a trackCount parameter to ReleaseFilter (fixes #3781).

Modified: python-musicbrainz2/trunk/src/musicbrainz2/webservice.py
===================================================================
--- python-musicbrainz2/trunk/src/musicbrainz2/webservice.py	2008-06-13 22:31:48 UTC (rev 9872)
+++ python-musicbrainz2/trunk/src/musicbrainz2/webservice.py	2008-06-15 20:00:47 UTC (rev 9873)
 <at>  <at>  -418,7 +418,7  <at>  <at> 

 	def __init__(self, title=None, discId=None, releaseTypes=None,
 			artistName=None, artistId=None, limit=None,
-			offset=None, query=None):
+			offset=None, query=None, trackCount=None):
 		"""Constructor.

 		If C{discId} or C{artistId} are set, only releases matching
 <at>  <at>  -449,6 +449,7  <at>  <at> 
 		 <at> param limit: the maximum number of releases to return
 		 <at> param offset: start results at this zero-based offset
 		 <at> param query: a string containing a query in Lucene syntax
+		 <at> param trackCount: the number of tracks in the release

 		 <at> see: the constants in L{musicbrainz2.model.Release}
 		"""
(Continue reading)

root | 20 Jun 18:19 2008

[mb-commits] r9874 - in mb_server/branches/TemplateToolkit: lib/MusicBrainz lib/MusicBrainz/Server lib/MusicBrainz/Server/Controller root root/forms root/forms/user root/static/styles/extra root/user

Author: acid2
Date: 2008-06-20 16:19:17 +0000 (Fri, 20 Jun 2008)
New Revision: 9874

Added:
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Filters.pm
   mb_server/branches/TemplateToolkit/root/forms/
   mb_server/branches/TemplateToolkit/root/forms/user/
   mb_server/branches/TemplateToolkit/root/forms/user/login.fb
   mb_server/branches/TemplateToolkit/root/forms/user/register.fb
   mb_server/branches/TemplateToolkit/root/user/register.tt
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/root/static/styles/extra/user.css
   mb_server/branches/TemplateToolkit/root/user/login.tt
   mb_server/branches/TemplateToolkit/root/user/profile.tt
Log:
Introduced Form Builder forms

Modified: mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Root.pm
===================================================================
--- mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Root.pm	2008-06-15
20:00:47 UTC (rev 9873)
+++ mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/Root.pm	2008-06-20
16:19:17 UTC (rev 9874)
 <at>  <at>  -86,7 +86,7  <at>  <at> 
     my ($self, $c) =  <at> _;

(Continue reading)

root | 20 Jun 19:04 2008

[mb-commits] r9875 - in mb_server/branches/TemplateToolkit: lib/MusicBrainz/Server/Controller root/forms/user root/layout/sidebar

Author: acid2
Date: 2008-06-20 17:04:46 +0000 (Fri, 20 Jun 2008)
New Revision: 9875

Modified:
   mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/User.pm
   mb_server/branches/TemplateToolkit/root/forms/user/register.fb
   mb_server/branches/TemplateToolkit/root/layout/sidebar/login.tt
Log:
Create users if they fill in the form. Still working out how to correctly add custom validation to
formbuilder (like username already taken)

Modified: mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/User.pm
===================================================================
--- mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/User.pm	2008-06-20
16:19:17 UTC (rev 9874)
+++ mb_server/branches/TemplateToolkit/lib/MusicBrainz/Server/Controller/User.pm	2008-06-20
17:04:46 UTC (rev 9875)
 <at>  <at>  -84,11 +84,31  <at>  <at> 

     if($c->form->submitted && $c->form->validate)
     {
-    }
-    else
-    {
+	require MusicBrainz;
+	require UserStuff;
+
+	my $mb = new MusicBrainz;
+	$mb->Login();
(Continue reading)


Gmane