Skip to the page content area.

:::

Tavern Change Log Volume 10


Date: 3.11.’07.

預備昇級 Apache 2 + mod_perl 2 。

  1. 修正 Selima::DataVars 模組,加上 $IS_MP2 ,偵測 mod_perl 的版本是否為第二版。
  2. 修正 Selima::HTTP 模組和 Selima::AuthDig 類別,原先由 Apache::Constants 匯入常數,改依 $IS_MP2 判斷,由 Apache::ConstantsApache2::Const 匯入常數。
  3. 修正 Selima::CallForm 模組、 Selima::DecForm 模組、 Selima::FormFunc 模組、 Selima::GeoIP 模組、 Selima::HTTP 模組、 Selima::Init 模組、 Selima::LogIn 模組、 Selima::LogOut 模組、 Selima::Logging 模組、 Selima::RemoHost 模組、 Selima::ReqURI 模組、 Selima::XHTML 模組、 Selima::Destroy 類別、 Selima::List 類別、 Selima::ListPref 類別、 Selima::Mail 類別、 Selima::Session 類別、 Selima::*::Processor::Public::Guestbook 類別和 Selima::imacat::Processor::Public::Garbage 類別,原先使用 Apache->request() 物件,改依 $IS_MP2 判斷,使用 Apache->request()Apache2::RequestUtil->request() 物件。
  4. 修正 startup.pl 程式,只在 mod_perl 1 下載入 Selima::AuthDig 類別。我暫時找不到 mod_perl 2 下用的 Digest 登入模組,暫時回歸使用密碼檔的舊方式。
  5. 修正 Selima::GeoIP 模組、 Selima::HTTP 模組、 Selima::LogIn 模組、 Selima::Logging 模組、 Selima::RemoHost 模組、 Selima::Mail 類、 Selima::Session 類別及showenv.cgi 程式,若在 mod_perl 2 下,則載入 Apache2::Connection 類別。
  6. 修正 Selima::DecForm 模組、 Selima::Init 模組、 Selima::LogOut 模組、 Selima::XHTML 模組及 Selima::ListPref 類別,原用 $r->header_in() 方法,改用 $r->headers_in()->get() 方法、 $r->headers_in()->add() 方法及 $r->headers_in()->set() 方法。
  7. 修正 showenv.cgi 程式,加上在 mod_perl 2 下載入 Apache2::ServerRec 類別,並修正在 mod_perl 2 下時,顯示的 $r->connection()$r->server() 下的方法名稱;顯示方法名稱時,顯示的方法符號 -> 修正為 ->
  8. 修正 Selima::RemoHost 模組,原用 $r->get_remote_host() 方法,修正為依 $IS_MP2 判斷,使用 $r->connection()->get_remote_host() 方法或 $r->get_remote_host() 方法。

Date: 3.10.’07.
  1. 修正 Selima::ReqURI 模組的 init_request_uri() 函式,計算 $REQUEST_URI$REQUEST_PATH 碰到絕對網址時,移除通訊協定和主機名稱。

Date: 2.12.’07.
  1. Selima::MnglMail 模組改名為 Selima::MungAddr 模組;修正 Selima 模組、 Selima::A2HTML 模組、 Selima::List::Public::Guestbook 類別、 Selima::Checker::MailTo 類別及 Selima::*::HTML 模組,將 mangle_* 函數更名為 mung_* 函數,註解中的 mangle 更正為 mung

Date: 2.4.’07.
  1. 修正 Selima::Init 模組,修正 checkspam_reqheads() 函式,加上新的規則;加上 checkspam_escurl() 函式。

Date: 2.1.’07.
  1. 修正 Selima::Process 類別的 process() 方法,未確認表單時,原未傳回任何值,改傳回 {"preview"=>1} ,以使其後的表單得知可否預覽;修正 Selima::Form 類別的 _html_preview_link() 方法,原檢查 ${$self->{"status"}}{"error"} ,改檢查 ${$self->{"status"}}{"preview"} ,以得知可否預覽。
  2. 修正 Selima::Form 類別的 _html_preview_link() 方法的註解, Bounce when not preview 改為 Bounce when preview is not available for this form

Date: 1.23.’07.
  1. 修正 Selima::Preview 模組,加上 html_preview_mark() 函式,預覽時顯示預覽標印;加上引用 Selima::HTTP 模組、 Selima::PageFunc 模組、 Selima::ReqURI 模組;修正 Selima::*::HTML 模組的 html_footer() 函式,加上呼叫 html_preview_mark() 函式;修正 common.css 樣式表,加上 .previewmark 預覽標印的樣式。

Date: 1.21.’07.
  1. 修正Selima::emandy::Processor::Legend 類別、 Selima::imacat::Processor::ChangeLog 類別、 Selima::imacat::Processor::Diary 類別、 Selima::imacat::Processor::LiteralEn 類別、 Selima::imacat::Processor::LiteralZh 類別、 Selima::wov::Processor::Newslet 類別 _rebuild_partial_pages() 方法的註解, Check if there are shown parts affected 修正為 Check if there is any shown part affected
  2. 修正 Selima::Format 模組 fmtsize() 函式的註解, Bounce if there are less than 3 digits in the rounded result 修正為 Bounce if there are fewer than 3 digits in the rounded result
  3. 修正 Selima::List 類別、 Selima::List::* 類別與 Selima::*::List::* 類別 liststat_message() 方法的註解, Result more than 1 page 修正為 More than one pageResult less than 1 page 修正為 Fit in one page
  4. 修正 Selima::imacat::HTML 模組與 Selima::wov::HTML 模組 html_*_pagebar() 函式的註解, No more than 1 page - no page bar is needed 修正為 Fit in one page - paging is not neededLess than 7 pages 修正為 Fewer than 7 pages ;修正 Selima::List 類別 html_pagebar() 方法的註解, Less than 1 page - no page bar is needed 修正為 Fit in one page - paging is not neededLess than 5 pages 修正為 Fewer than 5 pagesNear the END 修正為 Near the end
  5. 修正 Selima::imacat::Processor::LiteralEn 模組與 Selima::imacat::Processor::LiteralZh 模組 _rebuild_partial_pages() 函式的註解, We have 6 more to the first -- rebuild the previous 3 修正為 We have 6 more pages to the first - rebuild the previous 3 pagesIf less than 6, start from the first for page bar sliding 修正為 If fewer than 6 pages, start from the first for page bar slidingWe have 6 more to the end -- rebuild the next 3 修正為 We have 6 more pages to the end - rebuild the next 3 pagesIf less than 6, build to the end for page bar sliding 修正為 If fewer than 6 pages, build to the end for page bar sliding

Date: 1.21.’07.
  1. 修正 Selima::Links 模組、 Selima::UserName 模組、 Selima::Country 模組、 Selima::*::Items 模組的註解, Bounce if there is problem with … 修正為 Bounce if there is any problem with …
  2. 修正 Selima::List 類別,將 colval() 方法移至可重載方法區。

Date: 1.10.’07.
  1. 修正 Selima::*::List::Funds 類別,重寫 html_search() 方法,加上進階篩選條件欄位;修正 pre_filter() 方法,改傳回進階篩選條件欄位;修正 new() 方法, $self->{"pre_filter"} 改列預先定義的進階篩選條件;修正 funds.cgi ,移除對 $LIST->{"pre_filter"} 的預先定義。

Date: 1.9.’07.
  1. 修正 Selima::Checker::User 類別,加回之前暫時取消的 Crypt::Cracklib 密碼檢查,並根據 cracklib/fscist.c 中各種檢查結果,回傳適當的錯誤訊息,並加上中譯。

Date: 1.1.’07.
  1. 修正 funds_list* 檢視, m*ranky*rank 改顯示排名/同類基金數;加上 _m*rank_y*rank 顯示原來的數字排名;修正 Selima::*::List::Funds 類別,加上覆寫 sql_filter() 方法和 sql_orderby() 方法,將排名欄位前置 _ ,以數字排名為基準瀏覽資料;修正 new() 方法,加上 $self->{"COLS_NO_DISPLAY"} ,不顯示數字排名,只顯示排名/同類基金數
  2. 修正 funds 資料表,將 majcatmincat 欄位改為 cat0cat1cat2cat3 欄位;修正 Selima::*::List::Funds 類別的 new() 方法, col_labels 加上 cat0cat1cat2cat3 欄位。

Date: 12.30.’06.
  1. emily 加上 funds 資料表、 Selima::emily::List::Funds 類別與 funds.cgi 程式。
  2. 修正 Selima::imacat::List::Funds 類別的註解,移除程式說明多餘的旅舍兩個字。

Date: 12.1.’06.
  1. 修正 material 資料表、 Selima::emandy::List::Material 類別、Selima::emandy::Form::Material 類別、Selima::emandy::Checker::Material 類別、Selima::emandy::Processor::Material 類別及 material.cgi 程式,加上 author 欄位。

Date: 11.23.’06.
  1. 修正 Selima::emandy::Form::Book 類別的 new() 方法,資料表名誤植為 legend ,修正為 books
  2. 修正許多程式的 fetch_curitem() 函式,移除沒有用到的 $error 變數及 $count 變數。
  3. 修正 legend.cgi 程式與 books.cgi 程式,移除未引用的 Encode::HanConvert 類別,及未使用的 zhsync 重導向檢查。
  4. 修正 Selima::emandy::Items 模組,所有的函式都是之前 htc 網站用,複製後未整理移除,移除之;加上 mtrltype_options() 函式。
  5. 修正 Selima::Form::LinkCat 類別與 Selima::htc::Form::NLIndex 類別的 new() 方法,原用 $CURRENT{"*count"} ,改用 $self->{"cur"}->param("*count") ,取得項目數;移除不需要的引用 dataman 類變數。

Date: 11.22.’06.
  1. 加上 mtrltype 資料表及 material 資料表。

Date: 11.17.’06.
  1. 修正 Selima::Form 模組的 _html_coltmpl_call()_html_coltmpl_call_null() 方法,修正顯示刪除鈕的邏輯,將刪除鈕和選擇鈕接在一起。

Index | First | Previous | 8 | 9 | 10 | 11 | 12 | Next | Last