[Cpan-forum-commit] rev 177 - in trunk: . lib/CPAN templates

svn at pti.co.il svn at pti.co.il
Sat Aug 26 19:47:53 IDT 2006


Author: gabor
Date: 2006-08-26 19:47:52 +0300 (Sat, 26 Aug 2006)
New Revision: 177

Added:
   trunk/Changes
Modified:
   trunk/
   trunk/MANIFEST
   trunk/TODO
   trunk/lib/CPAN/Forum.pm
   trunk/templates/links.tmpl
Log:
update the TODO list
add link to AnnoCPAN



Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 8c4c90e1-83eb-0310-96eb-e7cb62807872:/local/cpan-forum:11021
   + 8c4c90e1-83eb-0310-96eb-e7cb62807872:/local/cpan-forum:11022

Added: trunk/Changes
===================================================================
--- trunk/Changes	2006-08-26 16:47:45 UTC (rev 176)
+++ trunk/Changes	2006-08-26 16:47:52 UTC (rev 177)
@@ -0,0 +1,80 @@
+
+v0.12 
+
+  Include link to AnnoCPAN, rearrange links
+
+  Used on http://www.cpanforum.com/ but not released as a distribution
+
+  Create links http://www.cpanforum.com/rss/author/PAUSEID
+  Fix the dist based feeds: http://www.cpanforum.com/rss/dist/OpenOffice-OODoc
+
+
+  bin/populate.pl now gets all its arguments using --options
+  bin/setup.pl now uses --options
+
+  Let people monitor all current and future modules associated with a certain PAUSE ID.
+  (both RSS and e-mail)
+  A table called "subscription_PAUSE"
+	
+
+  Let people subscribe to all messages or all thread starters or all followups.
+  Add a table called "subscription_all"
+ 
+  Longer usernames
+  Search box on more pages
+  Search for module uses % at the beginning of the string as well
+  Include stars of CPAN Ratings
+  Admin can add new modules manually
+
+v0.11_01
+  Put the page size and the rss size in the configuration table
+  Make CPAN::Forum::Configure an easy interface to the configuration table
+  Give "no result" on no result
+  Trim off leading and trailing spaces from the query. 
+  Hide distname from the listing when resticted to one distribution (the same with users)
+  Setup a "status" variable for the site that allows the administrator to lock the whole site.
+     Currently it does not let the admin outlock, s/he has to remove the db/status file for this.
+
+
+v0.11
+  Search for users
+  Unite the serch methods
+  Accept both upper-case and lower-case HTML tags and turn them all to lower 
+    case tags when displaying
+  Accept <a href=> tags for http and mailto
+  Admin page
+  Admin can change "From" e-address
+  Enable <i>, <b> <br> and <a ..> with <p></p> pairs
+  Remove the selection box from the post interface as it was not used there.
+  Put the search form on the home page as well.
+  Admin can change e-mail address of any user
+  Add paging
+ 
+
+v0.10_02
+  <p>, <br> enabled
+  Add link to Kobes Search
+  Improve full text search for posts
+  Add capability to search for module names
+
+
+v0.10
+- markup improved, bugs fixed
+
+v0.09_05
+- POD cleanup (Shlomi Fish)
+
+- More tests
+
+- Start using Parse::RecDescent
+
+v0.09_04
+
+- Before writing a new post instead of showing a list of all the modules now 
+the user first will search for a module name.  post link should give a search
+box that will let the user search within the names of the modules. The result
+should be a restricted list with only a few module names in a pull-down menu
+like we have now.  The search is a regular SQL LIKE search and we add % signs
+at both ends of the typed in word.
+
+

Modified: trunk/MANIFEST
===================================================================
--- trunk/MANIFEST	2006-08-26 16:47:45 UTC (rev 176)
+++ trunk/MANIFEST	2006-08-26 16:47:52 UTC (rev 177)
@@ -3,6 +3,7 @@
 MANIFEST
 META.yml
 README
+Changes
 
 bin/populate.pl
 bin/setup.pl

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2006-08-26 16:47:45 UTC (rev 176)
+++ trunk/TODO	2006-08-26 16:47:52 UTC (rev 177)
@@ -1,8 +1,41 @@
 
-- A way to monitor all current and future modules associated with a certain PAUSE ID.
- (both RSS and e-mail)
+  Tests  *  Tests   *   Tests
 
 
+
+
+  Cleanup the schema. Currently the schema/schema.sql is not the same as the
+  schema used in the live application.
+
+  Describe the schema (in Forum.pm) which fields are in use and which are not.
+
+  Make the data restrictions stricter in the schema (UNIQUE, NOT NULL)
+
+  Enable listing modules based on module author
+
+  Provide the alerts in rss feed as well, not only in e-mail.
+  Let people subscribe to alerts but ask to have the RSS feed only, no e-mails.
+  /rss/user/username
+
+
+  Check if the database (and its parent directory) is writable by the process 
+  and give appropriate error message if not.
+  BUG: If the directory of the database is not writable and logging was setup the
+   application fails.
+
+
+  Loggin: add client IP to logger and/or enable logging based on a single
+          client IP address
+  
+  Clean up STDERR, move voluntary warnings to logger
+
+  Include number of AnnoCPAN posts
+  
+  Provide a csv file with the number of posts for each distribution so 
+  other sites can include it.
+
+
+
 BUG:
 When I try to reply and the original subject is already 50 chars long
 in offers a new subject with Re: prefix but then when I try to submit
@@ -14,8 +47,6 @@
 subject and press preview again
 it returns the same error message as it put back the word where it was earlier.
 
-
-
  
 - Clean up the listing of the subscribers at the bottom of the pages:
   Separate people who will receive all messages
@@ -25,7 +56,7 @@
 - Unite and clean up the code that fetches list of people who need to be notified
 
 
-- Script that populates databse should not lock the whole database for a long time
+- Script that populates database should not lock the whole database for a long time
   Maybe it should fetch all the data to memory and work there.
 
 - Add announcement service (check for new versions of modules and send e-mail
@@ -48,25 +79,8 @@
   Send out e-mail about PAUSEID changes
   
 
-  A table called "subscription_PAUSE"
 
 
-
-- Somehow let a module author (or anyone ?) subscribe/unsubscribe to all of her 
-  current and future(!) modules.
-    1) Enable listing modules based on module author
-	2) Enable subscribing to several modules at the same time
-	this is not good as this does not cover the "future" thing and people will
-	forget to subscribe to the new module when they release one.
-	
-	So especially the module authors would like to have a button that sais
-	subscribe too all the modules of XYZ
-- Let people select a group of distros (e.g. all the distros by author SZABGAB)
-  and show them on the /mypan interface (or just subscribe to all of them)
-
-
-
-
 In order to avoid accepting postings today that will break when we add more 
 tags, we will reject any submission that is not correctly marked up.
 
@@ -262,8 +276,27 @@
 
 - xml - provided
 
+In order to prepare a downloadable version of the database we need to hide the
+personal infromation:
+    update users set email = 'test_' || id || '@cpanforum.com' where id in(select id from users);
+    update users set password = 'testpw';
+    update users set username = 'test_' || id where id in(select id from users);
+    update users set fname='', lname='';
 
+    delete from sessions;
 
+    delete from configure;  -- ???
+    delete user_in_group;   -- ???
+
+    update posts set uid=myuid where (select users.uid myuid from users where posts.uid=users.username;
+    select posts.id pid, users.id uid, users.username from posts, users where posts.uid=users.username;
+
+
+Removed the use of CPAN::Forum::Build - need to see what was it doing and
+replace its functionality with something better
+
+
+
 Shlomi:
 The Forum uses cgiapp_prerun to set the mode according to the PATH_INFO instead of 
 using a mode_param code-reference. This causes a lot of warnings in the logs, 

Modified: trunk/lib/CPAN/Forum.pm
===================================================================
--- trunk/lib/CPAN/Forum.pm	2006-08-26 16:47:45 UTC (rev 176)
+++ trunk/lib/CPAN/Forum.pm	2006-08-26 16:47:52 UTC (rev 177)
@@ -177,106 +177,11 @@
 variable to the URL where you installed the forum.
 
 
-
-=head2 Changes
-
-  bin/populate.pl now gets all its arguments using --options
-  bin/setup.pl now uses --options
-
-
-
-Enable people to subscribe to all messages or all thread starters or all followups
-Add a table called "subscription_all"
- 
-Longer usernames
-Search box on more pages
-Search for module uses % at the beginning of the string as well
-Include stars of CPAN Ratings
-Admin can add new modules manually
-
-v0.11_01
-  Put the page size and the rss size in the configuration table
-  Make CPAN::Forum::Configure an easy interface to the configuration table
-  Give "no result" on no result
-  Trim off leading and trailing spaces from the query. 
-  Hide distname from the listing when resticted to one distribution (the same with users)
-  Setup a "status" variable for the site that allows the administrator to lock the whole site.
-     Currently it does not let the admin outlock, s/he has to remove the db/status file for this.
-
-
-v0.11
-  Search for users
-  Unite the serch methods
-  Accept both upper-case and lower-case HTML tags and turn them all to lower 
-    case tags when displaying
-  Accept <a href=> tags for http and mailto
-  Admin page
-  Admin can change "From" e-address
-  Enable <i>, <b> <br> and <a ..> with <p></p> pairs
-  Remove the selection box from the post interface as it was not used there.
-  Put the search form on the home page as well.
-  Admin can change e-mail address of any user
-  Add paging
- 
-
-v0.10_02
-  <p>, <br> enabled
-  Add link to Kobes Search
-  Improve full text search for posts
-  Add capability to search for module names
-
-
-v0.10
-- markup improved, bugs fixed
-
-v0.09_05
-- POD cleanup (Shlomi Fish)
-
-- More tests
-
-- Start using Parse::RecDescent
-
-v0.09_04
-
-- Before writing a new post instead of showing a list of all the modules now 
-the user first will search for a module name.  post link should give a search
-box that will let the user search within the names of the modules. The result
-should be a restricted list with only a few module names in a pull-down menu
-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
 
-In order to prepare a downloadable version of the database we need to hide the
-personal infromation:
-    update users set email = 'test_' || id || '@cpanforum.com' where id in(select id from users);
-    update users set password = 'testpw';
-    update users set username = 'test_' || id where id in(select id from users);
-    update users set fname='', lname='';
+See the TODO file
 
-    delete from sessions;
 
-    delete from configure;  -- ???
-    delete user_in_group;   -- ???
-
-    update posts set uid=myuid where (select users.uid myuid from users where posts.uid=users.username;
-    select posts.id pid, users.id uid, users.username from posts, users where posts.uid=users.username;
-
-
-Removed the use of CPAN::Forum::Build - need to see what was it doing and
-replace its functionality with something better
-
-Create links http://www.cpanforum.com/rss/author/PAUSEID
-These links don't seem to contain any data http://www.cpanforum.com/rss/dist/OpenOffice-OODoc
-
-Check if the database is writable by the process and give appropriate error
-message if not.
-If the directory of the database is not writable and logging was setup the
-application fails.
-
-
-
 Subject field:
 -  <= 80 chars
 -  Can contain any characters, we'll escape them when showing on the web site

Modified: trunk/templates/links.tmpl
===================================================================
--- trunk/templates/links.tmpl	2006-08-26 16:47:45 UTC (rev 176)
+++ trunk/templates/links.tmpl	2006-08-26 16:47:52 UTC (rev 177)
@@ -1,14 +1,17 @@
 <div class="links">
-	<b><a href="/dist/<TMPL_VAR group>"><TMPL_VAR group></a></b>
-	[<a href="http://search.cpan.org/dist/<TMPL_VAR group>">search.cpan.org</a>]
-	[<a href="http://cpan.uwinnipeg.ca/dist/<TMPL_VAR group>">Kobes search</a>]
+    <b><a href="/dist/<TMPL_VAR group>"><TMPL_VAR group></a></b>
+    [<a href="http://search.cpan.org/dist/<TMPL_VAR group>">search.cpan.org</a>]
+    [<a href="http://cpan.uwinnipeg.ca/dist/<TMPL_VAR group>">Kobes search</a>]
     [<a href="http://rt.cpan.org/NoAuth/Bugs.html?Dist=<TMPL_VAR group>">View and report bugs</a>]
-	[<a href="http://cpanratings.perl.org/d/<TMPL_VAR group>">Ratings</a>
+    [<a href="http://cpanratings.perl.org/d/<TMPL_VAR group>">Ratings</a>
          <TMPL_IF rating>
          <img src="/img/stars-<TMPL_VAR roundrating>.png" alt="<TMPL_VAR rating>"> (<TMPL_VAR review_count>)
          </TMPL_IF>
         ]
-	[<a href="http://testers.cpan.org/show/<TMPL_VAR group>.html">CPAN Tests results</a>]
-  [<a href="http://cpants.perl.org/dist/<TMPL_VAR group>">CPANTS</a>]
 </div>
+<div class="links">
+    [<a href="http://www.annocpan.org/dist/<TMPL_VAr group>">AnnoCPAN</a>]
+    [<a href="http://testers.cpan.org/show/<TMPL_VAR group>.html">CPAN Tests results</a>]
+    [<a href="http://cpants.perl.org/dist/<TMPL_VAR group>">CPANTS</a>]
+</div>
 



More information about the Cpan-forum-commit mailing list