[Cpan-forum-commit] rev 54 - in trunk: lib/CPAN t templates

svn at pti.co.il svn at pti.co.il
Wed Feb 2 00:31:58 IST 2005


Author: gabor
Date: 2005-02-02 00:31:58 +0200 (Wed, 02 Feb 2005)
New Revision: 54

Modified:
   trunk/lib/CPAN/Forum.pm
   trunk/t/001-users.t
   trunk/t/010-markup.t
   trunk/templates/about.tmpl
   trunk/templates/faq.tmpl
   trunk/templates/footer.tmpl
   trunk/templates/head.tmpl
Log:
v0.10

Modified: trunk/lib/CPAN/Forum.pm
===================================================================
--- trunk/lib/CPAN/Forum.pm	2005-02-01 21:30:47 UTC (rev 53)
+++ trunk/lib/CPAN/Forum.pm	2005-02-01 22:31:58 UTC (rev 54)
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-our $VERSION = "0.09_05";
+our $VERSION = "0.10";
 
 use base "CGI::Application";
 use CGI::Application::Plugin::Session;
@@ -16,7 +16,7 @@
 
 use CPAN::Forum::INC;
 
-my $limit       = 3;
+my $limit       = 20;
 my $limit_rss   = 10;
 my $cookiename  = "cpanforum";
 my $SUBJECT = qr{[\w .:~!@#\$%^&*\()+?><,'";=-]+};
@@ -184,6 +184,8 @@
 
 - More tests
 
+- Start using Parse::RecDescent
+
 v0.09_04
 
 - Before writing a new post instead of showing a list of all the modules now 
@@ -193,20 +195,18 @@
 like we have now.  The search is a regular SQL LIKE search and we add % signs
 at both ends of the typed in word.
 
-=head2 TODO Critical for launching
 
+=head2 TODO
+
 - Decide on Basic Markup language and how to extend for shortcuts opening tag
 for code:  <code[^>]*>  but right now only <code> should be accepted closing
 tag for code:  </code>
 
 - check all submitted fields (restrict posting size to 10.000 Kbyte ?
-
-
 - Make the site look nicer (HTML and css work)
 - Improve text and explanations.
 - Improve Legal statement, look at other sites.
 
-=head2 TODO other, TBD
 
 clean up documentation
 

Modified: trunk/t/001-users.t
===================================================================
--- trunk/t/001-users.t	2005-02-01 21:30:47 UTC (rev 53)
+++ trunk/t/001-users.t	2005-02-01 22:31:58 UTC (rev 54)
@@ -10,7 +10,6 @@
 
 setup_database();
 ok(-e "blib/db/forum.db");
-ok(-e "blib/db/modules.txt");
 
 use CPAN::Forum::DBI;
 CPAN::Forum::DBI->myinit("$ROOT/db/forum.db");

Modified: trunk/t/010-markup.t
===================================================================
--- trunk/t/010-markup.t	2005-02-01 21:30:47 UTC (rev 53)
+++ trunk/t/010-markup.t	2005-02-01 22:31:58 UTC (rev 54)
@@ -72,7 +72,7 @@
 
 my $data = join "", <DATA>;
 foreach my $code (split /CODE/, $data) {
-	print STDERR $code;
+	#print STDERR $code;
 	my $out = $markup->posting_process($code);
 	ok(defined($out), "BIG CODE");
 	ok(length($out) > length ($code));

Modified: trunk/templates/about.tmpl
===================================================================
--- trunk/templates/about.tmpl	2005-02-01 21:30:47 UTC (rev 53)
+++ trunk/templates/about.tmpl	2005-02-01 22:31:58 UTC (rev 54)
@@ -32,6 +32,7 @@
 		<li><a href="/dist/WWW-Mechanize">WWW::Mechanize</a></li>
 		<li><a href="/dist/XML-RSS-SimpleGen">XML::RSS::SimpleGen</a></li>
 		<li><a href="/dist/Mail-Sendmail">Mail::Sendmail</a></li>
+		<li><a href="/dist/Parse-RecDescent">Parse::RecDescent</a></li>
 	</ul>
 </div>
 <div class="about_list">
@@ -50,6 +51,7 @@
 <div class="about_list">
 	<p class="about_title">News</p>
 	<ul>
+		<li> 2005 February 1 - First public release</li>
 		<li> 2005 January 15 - First public beta version</li>
 		<li> 2004 June - First version (and then a long silence fell on us)</li>
 	</ul>
@@ -63,14 +65,14 @@
 	<ul>
 	  <li><a href="http://svn.pti.co.il/svn/cpan-forum/trunk/">Subversion repository</a></li>
       <li><a href="http://perl.org.il/mailman/listinfo/cpan-forum-commit">mailing list for repository commits</a></li>
-      <li><a href="http://www.cpanforum.com/dist/CPAN-Forum">Discussion</a></li>
+      <li><a href="/dist/CPAN-Forum">Discussion</a></li>
 	</ul>
 </div>
 <div class="about_list">
 	<p class="about_title">TODO</p>
 	<ul>
-		<li> Finalize the markup language</li>
-		<li> -----</li>
+		<li> Improve the markup language</li>
+		<li> Better design</li>
 		<li> Paging through all the messages </li>
 		<li> Enable module authors to configure some aspects of the section of their own module</li>
 		<li> Posting a message under more than one distribution</li>
@@ -85,6 +87,8 @@
 		<li> Enable sending direct mail to a poster (?) (without disclosing e-mail address)</li>
 		<li> Better integration with search.cpan.org, cpanratings.perl.org, books.perl.org ?</li>
 	</ul>
+	See also the TODO section of
+	<a href="http://svn.pti.co.il/svn/cpan-forum/trunk/lib/CPAN/Forum.pm">the POD</a>.
 </div>
 
 <TMPL_INCLUDE NAME="footer.tmpl">

Modified: trunk/templates/faq.tmpl
===================================================================
--- trunk/templates/faq.tmpl	2005-02-01 21:30:47 UTC (rev 53)
+++ trunk/templates/faq.tmpl	2005-02-01 22:31:58 UTC (rev 54)
@@ -6,7 +6,7 @@
 	<ol>
 		<li><a href="#self">Hey, the service has just been launched. How can be there any questions?</a></li>
 		<li><a href="#nologin">Why can't I login?</a></li>
-		<li><a href="#techo">I have some other technical problem with the site</a></li>
+		<!--<li><a href="#techo">I have some other technical problem with the site</a></li>-->
 		<li><a href="#howtolink">Can I link to a specific Module's page in the forum?</a></li>
 		<li><a href="#machine">I am a machine, do you have something for me too?</a></li>
 		<li><a href="#why">Why do I need this? We already have our mailing list!</a></li>
@@ -20,13 +20,16 @@
 	<dd>I talk to myself and frequently ask questions... :-)</dd>
 	<dt><a name="nologin">Why can't I login?</a></dt>
 	<dd>
-	    Don't know. Send a report to <a href="mailto:gabor at pti.co.il">Gabor Szabo</a>
+	    Don't know. Send a note to <a href="mailto:gabor at pti.co.il">Gabor Szabo</a> with your
+		username, I might be able to help.
 	</dd>
+	<!--
 	<dt><a name="techo">I have some other technical problem with the site</a></dt>
 	<dd>If you have technical problems please contact <a href="mailto:gabor at pti.co.il">Gabor Szabo</a></dd>
+	-->
 	<dt><a name="howtolink">Can I link to a specific Module's page in the forum?</a></dt>
 	<dd>
-		To link to the forum of a specific distribution/module you can link to:<br />
+		To link to the forum of a specific distribution you can link to:<br />
 		http://www.cpanforum.com/dist/Package-Name<br />
 	</dd>
 	<dt><a name="machine">I am a machine, do you have something for me too?</a></dt>
@@ -39,9 +42,10 @@
 	</dd>
 	<dt><a name="why">Why do I need this? We already have our mailing list!</a></dt>
 	<dd>
-		Of course the established distribtions already have their mailing lists. This means 100-200 maybe 
-		even 500 distributions. But there are nearly 7000 on CPAN. Even if we say that half of them don't
-		need any kind of mailing list or forum and should not be there anyway it still leaves more than
+		Of course the established distribtions already have their mailing lists. 
+		This means 100-200 maybe even 500 distributions. But there are over 7000 distributions on CPAN. 
+		Even if we say that half of them don't need any kind of mailing list or forum and should not be 
+		there anyway it still leaves more than
 		3000 distributions that could do with a some kind of a forum.
 		<br />
 		You can also look at it from the other side. Someone who uses 30-50 modules on a regular basis, 
@@ -69,7 +73,7 @@
 		</ul>
 		News groups:
 		<ul>
-			<li> No one really knows what is a news group any more. Unfortunately.</li>
+			<li> That might be good as well but it seems HTTP is a bit more popular than NNTP.</li>
 		</ul>
 		Web forums:
 		<ul>
@@ -80,16 +84,14 @@
 	</dd>
 	<dt><a name="perlmonks">So what about Perl Monks? That is a web forum!</a></dt>
 	<dd>
-		Yes, what about them?<br />
-		<a href="http://www.perlmonks.org/">Perl Monks</a> is a nice place with very good content, 
-		but we have nicer colors :-)<br /> 
-		And module categorizations.<br /> 
-		Besides, TMTOWTDI<br /> 
-		and yes, I do recommend them!<br /> 
+		<a href="http://www.perlmonks.org/">Perl Monks</a> emphasizes free association
+		and it is a more general Perl web site.<br /> 
+		CPAN::Forum provide module categorizations.<br />
 		You can find me on PerlMonks as <a href="http://www.perlmonks.org/?node_id=415035">SZABGAB</a>.<br/>
-		P.S. I just found this link on Perl Monks with a 
+		There was a thread on Perl Monks with a 
 		<a href="http://www.perlmonks.org/index.pl?node_id=196112">
-		similar idea</a> but appearently without implementation. It is a nice discussion though.
+		similar idea</a> but appearently without implementation.<br />
+		It is a nice discussion though.
 	</dd>
 	<dt><a name="notify">Can I get notified when a new post arrives?</a></dt>
 	<dd>

Modified: trunk/templates/footer.tmpl
===================================================================
--- trunk/templates/footer.tmpl	2005-02-01 21:30:47 UTC (rev 53)
+++ trunk/templates/footer.tmpl	2005-02-01 22:31:58 UTC (rev 54)
@@ -1,7 +1,7 @@
 <TMPL_INCLUDE name="navigation.tmpl">
 
 <div class="footer">
-	Service launched in January 2005.<br />
+	Service launched on 1st of February 2005.<br />
 	Comments, and other submissions on CPAN Forum are Copyright 2005, their respective owners.<br />
 	Site maintainer is not responsible for content.
 </div>

Modified: trunk/templates/head.tmpl
===================================================================
--- trunk/templates/head.tmpl	2005-02-01 21:30:47 UTC (rev 53)
+++ trunk/templates/head.tmpl	2005-02-01 22:31:58 UTC (rev 54)
@@ -8,7 +8,7 @@
 <body>
 <TMPL_IF test_site_warning>
 <p class="warning">Warning: this is a test site, the data here will be deleted.<br />
-For real use, please wait till we launch the production site.</p>
+For real use, please visit the <a href="http://www.cpanforum.com/">the production site</a>.</p>
 </TMPL_IF>
 <div id="container">
 	



More information about the Cpan-forum-commit mailing list