[Cpan-forum-commit] rev 186 - in trunk: . templates
svn at pti.co.il
svn at pti.co.il
Tue Aug 29 15:15:12 IDT 2006
Author: gabor
Date: 2006-08-29 15:15:09 +0300 (Tue, 29 Aug 2006)
New Revision: 186
Modified:
trunk/
trunk/Changes
trunk/TODO
trunk/templates/groups.tmpl
Log:
Button to post
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 8c4c90e1-83eb-0310-96eb-e7cb62807872:/local/cpan-forum:11037
+ 8c4c90e1-83eb-0310-96eb-e7cb62807872:/local/cpan-forum:11038
Modified: trunk/Changes
===================================================================
--- trunk/Changes 2006-08-29 12:15:03 UTC (rev 185)
+++ trunk/Changes 2006-08-29 12:15:09 UTC (rev 186)
@@ -1,6 +1,22 @@
v0.12
+ Add large button on dist page to start a new post.
+
+ Added process_missing_dist that will automatically add distributions
+ if they are accessed by one of the search engines and exist on
+ search.cpan.org
+ When a request arrives to /dist/XYZ and XYZ is not in our database
+ we can fetch http://search.cpan.org/dist/XYZ and add the entry to our
+ database. In order not to let some random person bombard our server and that
+ in turn that we don't bombard search.cpan.org (though our server will
+ crash much sooner than search.cpan.org) we can add a list of trusted client
+ ip addresses from the list in the log file. After all very soon most of the
+ correct entries will be added to the database. A trusted ip would be
+ GoogleBot 66.249.66.3, msnbot 65.55.213.74, inktomisearch and similar
+
+ Cleaned up STDERR, moved voluntary warnings to logger
+
Cookie exparation was increased from 1 day to 14 days
Provide a csv file with the number of posts for each distribution so
@@ -13,8 +29,6 @@
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
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2006-08-29 12:15:03 UTC (rev 185)
+++ trunk/TODO 2006-08-29 12:15:09 UTC (rev 186)
@@ -1,25 +1,24 @@
Tests * Tests * Tests
+ Unite and clean up the code that fetches list of people who need to be
+ notified. Test both the interface to manage this and the the actually
+ retreival of addresses to be notified.
+
+ One-time notification of module author when the first post arrives to one of
+ her modules.
+
Missing entries:
ApacheDBI
Net-SMS-TWSMS missing from 02... and from CPANTS
- they are both on search.cpan.org
+ they are both on search.cpan.org, now they are going to be auto-added but
+ we should still understand this issue so we can keep the version numbers
+ and the author changes up-to-date.
Improve the populate.pl, look at CPANTS for ideas:
http://search.cpan.org/src/DOMM/Module-CPANTS-ProcessCPAN-0.62/bin/update_authors.pl
Finish the recent.pl file and maybe replace the populate.pl by using recent.pl
- When a request arrives to /dist/XYZ and XYZ is not in our database
- we can fetch http://search.cpan.org/dist/XYZ and add the entry to our
- database. In order not to let some random person bombard our server and that
- in turn that we don't bombard search.cpan.org (though our server will
- crash much sooner than search.cpan.org) we can add a list of trusted client
- ip addresses from the list in the log file. After all very soon most of the
- correct entries will be added to the database. A trusted ip would be
- GoogleBot 66.249.66.3, msnbot 65.55.213.74, inktomisearch and similar
-
-
Cleanup the schema. Currently the schema/schema.sql is not the same as the
schema used in the live application.
@@ -43,36 +42,28 @@
Logging: enable logging based on a single client IP address
- Clean up STDERR, move voluntary warnings to logger
-
Include number of AnnoCPAN posts
+ 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
+ it won't let me.
+ (So far is ok, though it should 70 or 100 long)
+ But the main problem is that if I delete the last word from the
+ subject and press preview again
+ it returns the same error message as it put back the word where it was earlier.
-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
-it won't let me.
-
-(So far is ok, though it should 70 or 100 long)
-
-But the main problem is that if I delete the last word from the
-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:
+ Clean up the listing of the subscribers at the bottom of the pages:
Separate people who will receive all messages
Thread starters
And show names of people with "followup set" only within the threads they posted.
-- Unite and clean up the code that fetches list of people who need to be notified
-
-
-- Script that populates database 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
+ Add announcement service (check for new versions of modules and send e-mail
to those whom are interested in announcements.
For example I just tried to install a module but it failed its test. Checking
search.cpan.org I noticed the module has been updated lately and looking at
@@ -82,38 +73,25 @@
it is hot. I can subscribe to the announcement service of this module and get
the message.
-- Announcment service for new modules (modules that appear on CPAN for the first time)
+ Announcment service for new modules (modules that appear on CPAN for the first time)
For this I n
-- Include the information received from cpanratings in our database:
- For each "group" add two fields: "ratings" and "review_count"
-
-- Register the PAUSEID where the module was last seen:
+ Register the PAUSEID where the module was last seen:
Send out e-mail about PAUSEID changes
+ 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.
+ Create larger discussion groups (e.g. Web development and All)
-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.
-
-
-
-- Create larger discussion groups (e.g. Web development and All)
-
-
-
-- Record the date when a user joined
-- Record when a user last visited
+ Record the date when a user joined
+ Record when a user last visited
-- Put time ellapsed since post instead of date of post, (3 min. 6 hours 3 days ago)
+ Put time ellapsed since post instead of date of post, (3 min. 6 hours 3 days ago)
make this configurable: User can say after N days passed the date should show,
before that the ellapsed time
-- Admin: hide a posting
-
-- Admin: delete a user
-
- replace the e-mail address checking by if ($q->param('email') !~ $Email::Address::addr_spec) {
- Enable people to edit their posts
@@ -132,33 +110,39 @@
- xml version of the search results
-- Admin: disable posting to a distibution,
+ Admin: hide a posting
-- Admin: hide a distribution and all its postings
+ Admin: delete or disable a user
-- Admin: disable user, change username ?
+ Admin: disable posting to a distibution,
+ Admin: hide a distribution and all its postings
+
+ Admin: change username ?
+
+ Admin: hide a message (or a whole thread) (database already has field)
+
+ Admin: freeze a distro: (cannot add new message but still can see the earlier messages)
+
+ Admin: (or even the author ?) should be able to move a message from one module to
+ another module or group.
+
- Statistics on posts, views etc.
- Other (human) languages (?)
- Enable sending direct mail to a poster (?) (without disclosing e-mail address)
-- Better integration with search.cpan.org, cpanratings.perl.org
+ Include the information received from cpanratings in our database:
+ For each "group" add two fields: "ratings" and "review_count"
+
+ Better integration with search.cpan.org, cpanratings.perl.org
Provide statistics on number of comments per distro to be displayed on search.cpan
-- Admin: hide a message (or a whole thread) (database already has field)
-
-- Admin: freeze a distro: (cannot add new message but still can see the earlier messages)
-
-- Admin: (or even the author ?) should be able to move a message from one module to
- another module or group.
-
- Replace the /post/number link by /post/TITLE_OF_POST ???
- make the page size (for paging) user configurable
-
- Allow users to subscribe for announcement service:
A script that will send an announcement on the new version of every module to
those who asked for this information.
@@ -241,8 +225,6 @@
- on a new installation, change the ownership of directories (or at least tell
the user to do so)
-- Write comprehensive test suit
-
- Reply within a thread
When replying to a post within a thread we might want to open the editor window
Modified: trunk/templates/groups.tmpl
===================================================================
--- trunk/templates/groups.tmpl 2006-08-29 12:15:03 UTC (rev 185)
+++ trunk/templates/groups.tmpl 2006-08-29 12:15:09 UTC (rev 186)
@@ -8,18 +8,27 @@
<p>
This section of the site is for discussing the <b><TMPL_VAR group></b> CPAN distribution.
</p>
-<TMPL_UNLESS messages>
+<TMPL_IF messages>
<p>
+<center>
+<form action="/new_post/<TMPL_VAR group>">
+<input type="submit" value="Post a message in the subforum of <TMPL_VAR group>">
+</form>
+</center>
+</p>
+<TMPL_ELSE>
+<p>
The whole web site is new, so there are no posts in this section yet.
Visit the <a href="/">main page</a> to see more action.
</p>
+<p>
<center>
<form action="/new_post/<TMPL_VAR group>">
<input type="submit" value="Be the first one to post a message in the subforum of <TMPL_VAR group>">
</form>
</center>
</p>
-</TMPL_UNLESS>
+</TMPL_IF>
<p>
If you are <a href="/register/">registered</a> on the forum you can <a href="/mypan/dist/<TMPL_VAR group>">subscribe to e-mail notification <TMPL_VAR group></a> for this specific
More information about the Cpan-forum-commit
mailing list