[Slashdotjp-dev 1149] [676] * add debian/changelog entry about previous commit

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 6月 26日 (木) 18:46:05 JST


Revision: 676
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=676
Author:   tach
Date:     2008-06-26 18:46:05 +0900 (Thu, 26 Jun 2008)

Log Message:
-----------
 * add debian/changelog entry about previous commit
 * Add new url for userdir_handler
   - Add "/journals" URL

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/Slash/Apache/User/User.pm
    slashjp/branches/2.5.0.192/debian/changelog


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/Slash/Apache/User/User.pm
===================================================================
--- slashjp/branches/2.5.0.192/Slash/Apache/User/User.pm	2008-06-26 09:28:45 UTC (rev 675)
+++ slashjp/branches/2.5.0.192/Slash/Apache/User/User.pm	2008-06-26 09:46:05 UTC (rev 676)
@@ -592,6 +592,18 @@
 		return OK;
 	}
 
+	# journals for slashdot.jp
+	if ($uri =~ m[^/journals (?: /([^?]*) | /? ) (?: \?(.*) )? $]x) {
+		my($word, $query) = ($1, $2);
+		my @args = ($query);
+		$word =~ s{/}{_}g;
+		push @args, "op=$word" if ($word);
+		$r->args(join('&', @args));
+		$r->uri('/journal.pl');
+		$r->filename($constants->{basedir} . '/journal.pl');
+		return OK;
+	}
+
 	# for self-references (/~/ and /my/)
 	if (($saveuri =~ m[^/(?:%7[eE]|~)] && $uri =~ m[^/~ (?: /(.*) | /? ) $]x)
 		# /my/ or /my can match, but not /mything

Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-06-26 09:28:45 UTC (rev 675)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-06-26 09:46:05 UTC (rev 676)
@@ -8,8 +8,16 @@
     - mode = mobile_commentmode
   * Fix: redirect url when ('?m=1') has been appended
   * Add "discussion" variable for printCommComments template
+  * enable to show divided top journal pages
+    - top_recent
+    - top_posters
+    - top_friends
+  * add "start" parameter for $journal->top() and $journal->topRecent()
+    - for enabling pagination for top journals
+  * Add new url for userdir_handler
+    - Add "/journals" URL
 
- -- Taku YASUI <tach****@osdn*****>  Mon, 23 Jun 2008 07:45:17 +0000
+ -- Taku YASUI <tach****@osdn*****>  Thu, 26 Jun 2008 09:45:09 +0000
 
 slash (2.5.0.192-13) unstable; urgency=low
 


Slashdotjp-dev メーリングリストの案内
Back to archive index