diff -urN saku-2.0.2.orig/file/message-en.txt saku-2.0.2.with-list_cgi/file/message-en.txt --- saku-2.0.2.orig/file/message-en.txt 2006-09-06 20:48:14.000000000 +0900 +++ saku-2.0.2.with-list_cgi/file/message-en.txt 2006-09-16 17:59:03.000000000 +0900 @@ -8,6 +8,7 @@ # menu bar top<>TOP +menu<>MENU new<>NEW index<>INDEX changes<>CHANGES @@ -34,6 +35,10 @@ recent_changes<>Recent Changes archive<>Archive +# new +thread<>thread +list<>list + # index filter<>Filter regexp<>RegExp diff -urN saku-2.0.2.orig/file/message-ja.txt saku-2.0.2.with-list_cgi/file/message-ja.txt --- saku-2.0.2.orig/file/message-ja.txt 2006-09-06 20:48:14.000000000 +0900 +++ saku-2.0.2.with-list_cgi/file/message-ja.txt 2006-09-16 17:59:03.000000000 +0900 @@ -8,6 +8,7 @@ # menu bar top<>トップ +menu<>メニュー new<>新規作成 index<>一覧 changes<>最終更新 @@ -34,6 +35,10 @@ desc_comment<>他のノードにも通知するときには削除の理由を書いてください desc_send<>掲示板の最初の書き込みで、なおかつ匿名性を保ちたいときだけ無効にしてください +# new +thread<>スレッド +list<>リスト + # index filter<>フィルタ regexp<>正規表現 diff -urN saku-2.0.2.orig/file/sample.ini saku-2.0.2.with-list_cgi/file/sample.ini --- saku-2.0.2.orig/file/sample.ini 2006-09-10 22:58:11.000000000 +0900 +++ saku-2.0.2.with-list_cgi/file/sample.ini 2006-09-16 18:04:29.000000000 +0900 @@ -89,3 +89,11 @@ # Page size page_size: 50 + +[Application List] +#save_record: 2678400 +save_record: 0 +get_range: 2678400 +sync_range: 864000 +save_removed: 4320000 + diff -urN saku-2.0.2.orig/shingetsu/LightCGIHTTPServer.py saku-2.0.2.with-list_cgi/shingetsu/LightCGIHTTPServer.py --- saku-2.0.2.orig/shingetsu/LightCGIHTTPServer.py 2006-08-26 21:51:58.000000000 +0900 +++ saku-2.0.2.with-list_cgi/shingetsu/LightCGIHTTPServer.py 2006-09-16 18:00:31.000000000 +0900 @@ -36,13 +36,14 @@ import CGIHTTPServer import SocketServer -import admin_cgi, client_cgi, server_cgi, gateway_cgi, thread_cgi +import admin_cgi, client_cgi, server_cgi, gateway_cgi, thread_cgi, list_cgi cgimodule = {"admin.cgi": admin_cgi, "client.cgi": client_cgi, "server.cgi": server_cgi, "gateway.cgi": gateway_cgi, - "thread.cgi": thread_cgi} + "thread.cgi": thread_cgi, + "list.cgi": list_cgi} __version__ = "$Revision: 1240 $" diff -urN saku-2.0.2.orig/shingetsu/config.py saku-2.0.2.with-list_cgi/shingetsu/config.py --- saku-2.0.2.orig/shingetsu/config.py 2006-09-16 08:25:41.000000000 +0900 +++ saku-2.0.2.with-list_cgi/shingetsu/config.py 2006-09-16 18:17:01.000000000 +0900 @@ -56,7 +56,7 @@ os.path.expanduser('~/.saku/saku.ini')]) # Application types -types = ("thread",) +types = ("thread","list") port = _get_value(_extconf, 'Network', 'port', 8000, 'int') use_upnp = _get_value(_extconf, 'Network', 'upnp', False, 'boolean') @@ -138,6 +138,7 @@ # regexp robot = r"Google|bot|Yahoo|archiver|Wget|Crawler" +menu = "menu" dnsname = "" # Server name for shinGETsu protocol query_separator = "/" # Charactor for foo.cgi[/?]bar root_path = "/" # path of URI for root @@ -159,10 +160,11 @@ gateway = root_path + "gateway.cgi" thread_cgi = root_path + "thread.cgi" admin_cgi = root_path + "admin.cgi" +list_cgi = root_path + "list.cgi" xsl = root_path + "rss1.xsl" root_index = gateway -application = {"thread": thread_cgi} +application = {"thread": thread_cgi, "list": list_cgi} use_cookie = True save_cookie = 7*24*60*60 # Seconds diff -urN saku-2.0.2.orig/shingetsu/gateway.py saku-2.0.2.with-list_cgi/shingetsu/gateway.py --- saku-2.0.2.orig/shingetsu/gateway.py 2006-09-10 23:20:03.000000000 +0900 +++ saku-2.0.2.with-list_cgi/shingetsu/gateway.py 2006-09-16 18:17:57.000000000 +0900 @@ -113,6 +113,7 @@ gateway_cgi = config.gateway thread_cgi = config.thread_cgi admin_cgi = config.admin_cgi + list_cgi = config.list_cgi message = None filter = None str_filter = '' @@ -234,6 +235,9 @@ '