OSDN Git Service

pukiwiki/pukiwiki.git
9 years agoMerge tag 'r1_5_0' from branch_r1_5 r1_5_0
umorigu [Sat, 19 Jul 2014 02:07:36 +0000 (11:07 +0900)]
Merge tag 'r1_5_0' from branch_r1_5

PukiWiki 1.5.0

9 years agoBugTrack2/354: Implement RFC 6266 to support non-ASCII filename of Attach r1_5_0_rc1
umorigu [Mon, 7 Jul 2014 16:05:23 +0000 (01:05 +0900)]
BugTrack2/354: Implement RFC 6266 to support non-ASCII filename of Attach

* RFC 6266: Use of the Content-Disposition Header Field in the Hypertext Transfer Protocol
  - http://www.ietf.org/rfc/rfc6266.txt
* RFC2231: MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations
  - http://www.ietf.org/rfc/rfc2231.txt
* RFC 5987: Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters
  - http://www.ietf.org/rfc/rfc5987.txt

9 years agoSet PukiWiki version to "1.5.0"
umorigu [Mon, 9 Jun 2014 17:26:12 +0000 (02:26 +0900)]
Set PukiWiki version to "1.5.0"

9 years agoWarning: Call-time pass-by-reference has been deprecated
henoheno [Sat, 10 Feb 2007 06:21:53 +0000 (15:21 +0900)]
Warning: Call-time pass-by-reference has been deprecated

9 years agoA little cleanup:
henoheno [Tue, 3 Oct 2006 14:16:31 +0000 (23:16 +0900)]
A little cleanup:
* Remove unused variable
* Use intval() to say why it's safe without htmlspecialchars() clearly
* BugTrack2/182: With php.ini: allow_call_time_pass_reference = Off
 'Warning: Call-time pass-by-reference has been deprecated'
 with array_walk (Patched by Ratbeta)

9 years agoBugTrack2/182: With php.ini: allow_call_time_pass_reference = Off
henoheno [Tue, 3 Oct 2006 13:33:36 +0000 (22:33 +0900)]
BugTrack2/182: With php.ini: allow_call_time_pass_reference = Off
 'Warning: Call-time pass-by-reference has been deprecated'
 with array_walk (Patched by Ratbeta)

9 years agoBugTrack2/182: With php.ini: allow_call_time_pass_reference = Off
henoheno [Sun, 6 Aug 2006 13:17:31 +0000 (22:17 +0900)]
BugTrack2/182: With php.ini: allow_call_time_pass_reference = Off
 'Warning: Call-time pass-by-reference has been deprecated'
 with array_walk (Patched by Ratbeta)

9 years agoBugTrack2/343: Use ENT_COMPAT at htmlspecialchars
umorigu [Sun, 1 Jun 2014 21:04:09 +0000 (06:04 +0900)]
BugTrack2/343: Use ENT_COMPAT at htmlspecialchars

Use ENT_COMPAT for 2nd- $flags parameter at 'htmlspecialchars' instead of
ENT_QUOTES because of the compatibility of PukiWiki 1.4.7

9 years agoReplace 'htmlspecialchars' by 'htmlsc'
umorigu [Sun, 1 Jun 2014 21:01:07 +0000 (06:01 +0900)]
Replace 'htmlspecialchars' by 'htmlsc'

The behavior of 'htmlspecialchars' has changed in PHP 5.4.
The default value of 3rd parameter $encoding is UTF-8.
Almost all EUC_JP characters are handled as invalid UTF-8
sequence and that cause empty output.
http://docs.php.net/manual/en/function.htmlspecialchars.php

The solution used in 'htmlsc' is setting $encoding explicitly.

9 years agohtmlsc(): Just sugar for htmlspecialchars(), and a foundation
henoheno [Tue, 25 Jan 2011 15:01:01 +0000 (00:01 +0900)]
htmlsc(): Just sugar for htmlspecialchars(), and a foundation

(Modified in cherry-picking 429ae9efab6d8d5e224f56ecf668126d2ce632df)

9 years agoRename 'hex2bin' to 'pkwk_hex2bin' because of PHP 5.4+ compatibility
umorigu [Sun, 1 Jun 2014 20:50:11 +0000 (05:50 +0900)]
Rename 'hex2bin' to 'pkwk_hex2bin' because of PHP 5.4+ compatibility

PHP 5.4 has embedded 'hex2bin', so the pukiwiki-original 'hex2bin'
needs to be given another name.

17 years agoThis commit was manufactured by cvs2svn to create tag 'r1_4_7_notb'. r1_4_7_notb
pukiwikiadmin [Sun, 11 Jun 2006 15:35:54 +0000 (00:35 +0900)]
This commit was manufactured by cvs2svn to create tag 'r1_4_7_notb'.

17 years agoUnified with en contents r1_4_7
henoheno [Sun, 11 Jun 2006 15:35:52 +0000 (00:35 +0900)]
Unified with en contents

17 years agoCorrect a little
henoheno [Sun, 11 Jun 2006 15:24:35 +0000 (00:24 +0900)]
Correct a little

17 years ago1.4.7
henoheno [Sun, 11 Jun 2006 15:04:27 +0000 (00:04 +0900)]
1.4.7

17 years agoCorrect using PKWK_UPDATE_EXEC
henoheno [Sun, 11 Jun 2006 14:42:09 +0000 (23:42 +0900)]
Correct using PKWK_UPDATE_EXEC

17 years agoJapanese words => English
henoheno [Sun, 11 Jun 2006 14:35:39 +0000 (23:35 +0900)]
Japanese words => English

17 years agoCorrect using PKWK_UPDATE_EXEC
henoheno [Thu, 8 Jun 2006 14:36:24 +0000 (23:36 +0900)]
Correct using PKWK_UPDATE_EXEC

17 years agoupdate
henoheno [Sun, 4 Jun 2006 04:34:41 +0000 (13:34 +0900)]
update

17 years ago#navi(PukiWiki/1.4/Manual/Plugin) => #navi(../)
henoheno [Sun, 4 Jun 2006 03:32:08 +0000 (12:32 +0900)]
#navi(PukiWiki/1.4/Manual/Plugin) => #navi(../)

17 years agonavi: dangling link => link
henoheno [Sun, 4 Jun 2006 03:12:37 +0000 (12:12 +0900)]
navi: dangling link => link

17 years agoAdded about attach plugin's PLUGIN_ATTACH_RENAME_ENABLE (by Nibun-no-ni)
henoheno [Sun, 4 Jun 2006 02:54:38 +0000 (11:54 +0900)]
Added about attach plugin's PLUGIN_ATTACH_RENAME_ENABLE (by Nibun-no-ni)

17 years agoshowrss: Added about PLUGIN_SHOWRSS_USAGE (by Nibun-no-ni)
henoheno [Sun, 4 Jun 2006 02:49:14 +0000 (11:49 +0900)]
showrss: Added about PLUGIN_SHOWRSS_USAGE (by Nibun-no-ni)

17 years agoRemove unused hyperlinks (for default contents)
henoheno [Sun, 4 Jun 2006 02:40:17 +0000 (11:40 +0900)]
Remove unused hyperlinks (for default contents)

17 years agoCorrected/Added comments only about password
henoheno [Sat, 3 Jun 2006 11:32:18 +0000 (20:32 +0900)]
Corrected/Added comments only about password

17 years agoCorrected/Added comments only about password
henoheno [Sat, 3 Jun 2006 11:31:03 +0000 (20:31 +0900)]
Corrected/Added comments only about password

17 years agoSetting adjustment: $auth_method_type default should be 'pagename'.
henoheno [Sat, 3 Jun 2006 11:08:29 +0000 (20:08 +0900)]
Setting adjustment: $auth_method_type default should be 'pagename'.
'contents' is not WikiWiki option, means heavy

17 years agoSimplify: $adminpass default is 'locked'
henoheno [Sat, 3 Jun 2006 11:04:28 +0000 (20:04 +0900)]
Simplify: $adminpass default is 'locked'

17 years agoSetting adjustment: $autolink: 8 => 0(OFF) for default.
henoheno [Sat, 3 Jun 2006 10:46:50 +0000 (19:46 +0900)]
Setting adjustment: $autolink: 8 => 0(OFF) for default.
We know, AutoLink implementation now, is not WikiWiki, means _not_ scalable with pages.
(Related: BugTrack2/151)

17 years agoPKWK_UPDATE_ EXEC => PKWK_UPDATE_EXEC
henoheno [Sat, 3 Jun 2006 07:10:39 +0000 (16:10 +0900)]
PKWK_UPDATE_ EXEC => PKWK_UPDATE_EXEC

17 years agoPukiWiki 1.4.7: Incompatibility from PukiWiki 1.4.6 (for en)
henoheno [Sat, 3 Jun 2006 07:10:11 +0000 (16:10 +0900)]
PukiWiki 1.4.7: Incompatibility from PukiWiki 1.4.6 (for en)

17 years agoupdate
henoheno [Tue, 30 May 2006 15:10:20 +0000 (00:10 +0900)]
update

17 years agoupdate
henoheno [Tue, 30 May 2006 15:08:22 +0000 (00:08 +0900)]
update

17 years agoUTF-8 supporting hack
henoheno [Tue, 30 May 2006 14:53:39 +0000 (23:53 +0900)]
UTF-8 supporting hack

17 years agoAdded about OS command injection
henoheno [Tue, 30 May 2006 14:51:25 +0000 (23:51 +0900)]
Added about OS command injection

17 years ago2005 => 2006
henoheno [Tue, 30 May 2006 14:50:46 +0000 (23:50 +0900)]
2005 => 2006

17 years agoAdded 1.4.7
henoheno [Mon, 29 May 2006 15:16:24 +0000 (00:16 +0900)]
Added 1.4.7

17 years agoPukiWiki/1.4/Manual/Plugin/S-U: Update search (by Nibun-no-ni)
henoheno [Sat, 27 May 2006 15:26:43 +0000 (00:26 +0900)]
PukiWiki/1.4/Manual/Plugin/S-U: Update search (by Nibun-no-ni)

17 years agoPukiWiki/1.4/Manual/Plugin/O-R: Update pcomment and recent (by Nibun-no-ni)
henoheno [Sat, 27 May 2006 15:22:56 +0000 (00:22 +0900)]
PukiWiki/1.4/Manual/Plugin/O-R: Update pcomment and recent (by Nibun-no-ni)

17 years agoUnified header format
henoheno [Sat, 27 May 2006 13:31:11 +0000 (22:31 +0900)]
Unified header format

17 years agoBugTrack2/179: array_splice() will break integer keys in hashtable
henoheno [Fri, 19 May 2006 15:16:59 +0000 (00:16 +0900)]
BugTrack2/179: array_splice() will break integer keys in hashtable

17 years agoBugTrack2/179: array_splice() will break integer keys in hashtable
henoheno [Fri, 19 May 2006 15:04:25 +0000 (00:04 +0900)]
BugTrack2/179: array_splice() will break integer keys in hashtable

17 years agoBugTrack2/171: Fixed preg_quote parameter.
teanan [Mon, 15 May 2006 16:41:39 +0000 (01:41 +0900)]
BugTrack2/171: Fixed preg_quote parameter.

17 years ago1.4.7_rc1 r1_4_7_rc1
henoheno [Mon, 15 May 2006 14:47:42 +0000 (23:47 +0900)]
1.4.7_rc1

17 years agoupdate
henoheno [Mon, 15 May 2006 14:37:54 +0000 (23:37 +0900)]
update

17 years agoAdded spaces only
henoheno [Sat, 13 May 2006 07:39:49 +0000 (16:39 +0900)]
Added spaces only

17 years ago$non_list with 'S'
henoheno [Sat, 13 May 2006 07:36:41 +0000 (16:36 +0900)]
$non_list with 'S'

17 years agoJapanese => English
henoheno [Sat, 13 May 2006 07:29:58 +0000 (16:29 +0900)]
Japanese => English

17 years agoBugTrack2/175: Correct r1.25
henoheno [Sun, 7 May 2006 03:55:26 +0000 (12:55 +0900)]
BugTrack2/175: Correct r1.25
* Backout removing $non_list from get_existpages() at r1.25
* Added removing $non_list and $whatsdeleted(RecentDeleted) from refer pages (Pointed out by shimashima)

17 years agoTypo: Serarch => Search
henoheno [Fri, 5 May 2006 10:37:12 +0000 (19:37 +0900)]
Typo: Serarch => Search

17 years agoBugTrack2/176: Respect encoding as rss said (Base patched by matsuo2)
henoheno [Fri, 5 May 2006 04:32:09 +0000 (13:32 +0900)]
BugTrack2/176: Respect encoding as rss said (Base patched by matsuo2)

17 years agoBugTrack2/176: Respect encoding as rss said (Base patched by matsuo2)
henoheno [Fri, 5 May 2006 04:25:28 +0000 (13:25 +0900)]
BugTrack2/176: Respect encoding as rss said (Base patched by matsuo2)

17 years agoStop if nothing found
henoheno [Fri, 5 May 2006 03:22:34 +0000 (12:22 +0900)]
Stop if nothing found

17 years agoOne-path reduces memories, KISS
henoheno [Fri, 5 May 2006 03:16:38 +0000 (12:16 +0900)]
One-path reduces memories, KISS

17 years agoBugTrack2/175: Cleanup.
henoheno [Fri, 5 May 2006 02:52:46 +0000 (11:52 +0900)]
BugTrack2/175: Cleanup.
* Added header comment
* Check $non_list
* Simplify
* Show dangling links as dangling links
* Japanese => English

17 years agoBugTrack2/175: Cleanup.
henoheno [Fri, 5 May 2006 02:32:52 +0000 (11:32 +0900)]
BugTrack2/175: Cleanup.
* Added header comment
* Check $non_list (Patched by shimashima)
* Simplify
* Show dangling links as dangling links
* Japanese => English

17 years agoSimplify sha1(). KISS
henoheno [Thu, 4 May 2006 09:30:58 +0000 (18:30 +0900)]
Simplify sha1(). KISS

17 years ago2005 => 2006
henoheno [Thu, 4 May 2006 05:04:43 +0000 (14:04 +0900)]
2005 => 2006

17 years agoEncouraged using SMD5 or SSHA
henoheno [Thu, 4 May 2006 05:04:17 +0000 (14:04 +0900)]
Encouraged using SMD5 or SSHA

17 years agoCleanup.
henoheno [Tue, 2 May 2006 08:15:43 +0000 (17:15 +0900)]
Cleanup.
* Show usage and error detail
* Simplify
PKWK_SAFE_MODE prohibits action
* plugin_showrss_get_timestamp(): Check if strtotime() returns -1

17 years agoCleanup the header comment only
henoheno [Tue, 2 May 2006 01:28:01 +0000 (10:28 +0900)]
Cleanup the header comment only

17 years ago$update_exec => PKWK_UPDATE_EXEC for security reason
henoheno [Tue, 2 May 2006 01:22:56 +0000 (10:22 +0900)]
$update_exec => PKWK_UPDATE_EXEC for security reason

17 years agoAdministrator's default password is now always fail.
henoheno [Mon, 1 May 2006 12:33:31 +0000 (21:33 +0900)]
Administrator's default password is now always fail.
It prohibits tricking anything to default Wiki.

17 years agoBugTrack2/151: lastmodified_add() now treats page deletion
henoheno [Sun, 30 Apr 2006 03:58:35 +0000 (12:58 +0900)]
BugTrack2/151: lastmodified_add() now treats page deletion

17 years agolastmodified_add(): if the $page is blank, add nothing
henoheno [Sat, 29 Apr 2006 02:37:33 +0000 (11:37 +0900)]
lastmodified_add(): if the $page is blank, add nothing

17 years agolastmodified_add(): Just a cleanup
henoheno [Sat, 29 Apr 2006 02:32:49 +0000 (11:32 +0900)]
lastmodified_add(): Just a cleanup

17 years ago2005 => 2006
henoheno [Thu, 27 Apr 2006 14:50:58 +0000 (23:50 +0900)]
2005 => 2006

17 years agoBugTrack/280: Opera browsers for WILLCOM cell phones (Patched by shimashima)
henoheno [Thu, 27 Apr 2006 14:50:05 +0000 (23:50 +0900)]
BugTrack/280: Opera browsers for WILLCOM cell phones (Patched by shimashima)

17 years agoBugTrack2/151: Correct r1.60: Ignore $non_list
henoheno [Tue, 25 Apr 2006 13:51:56 +0000 (22:51 +0900)]
BugTrack2/151: Correct r1.60: Ignore $non_list

17 years agoRemove $non_list pages beforehand
henoheno [Tue, 25 Apr 2006 13:37:34 +0000 (22:37 +0900)]
Remove $non_list pages beforehand

18 years agoBugTrack2/171: Correct r1.66, count($pages)
henoheno [Sun, 16 Apr 2006 14:45:49 +0000 (23:45 +0900)]
BugTrack2/171: Correct r1.66, count($pages)

18 years agoBugTrack2/171: Correct r1.66, count($pages)
henoheno [Sun, 16 Apr 2006 14:43:35 +0000 (23:43 +0900)]
BugTrack2/171: Correct r1.66, count($pages)

18 years agoBugTrack2/171: Follow $show_passage setting
henoheno [Sun, 16 Apr 2006 14:29:54 +0000 (23:29 +0900)]
BugTrack2/171: Follow $show_passage setting

18 years agoBugTrack2/171: Less memory (array * 2 => array * 1)
henoheno [Sun, 16 Apr 2006 13:53:04 +0000 (22:53 +0900)]
BugTrack2/171: Less memory (array * 2 => array * 1)

18 years agoBugTrack2/171: Simplify
henoheno [Sun, 16 Apr 2006 13:22:00 +0000 (22:22 +0900)]
BugTrack2/171: Simplify

18 years agoBugTrack2/171: Cleanup: Check filetime later
henoheno [Sun, 16 Apr 2006 11:20:52 +0000 (20:20 +0900)]
BugTrack2/171: Cleanup: Check filetime later

18 years agoBugTrack2/171: Cleanup a little (0.1sec)
henoheno [Sun, 16 Apr 2006 10:50:13 +0000 (19:50 +0900)]
BugTrack2/171: Cleanup a little (0.1sec)

18 years agoBugTrack2/171: Checking page name, suppresses file access
henoheno [Sun, 16 Apr 2006 10:27:55 +0000 (19:27 +0900)]
BugTrack2/171: Checking page name, suppresses file access

18 years agoBugTrack2/171: Checking page name, suppresses file access
henoheno [Sun, 16 Apr 2006 10:26:25 +0000 (19:26 +0900)]
BugTrack2/171: Checking page name, suppresses file access

18 years agoBugTrack2/171: The delimiter was put between page name and body.
teanan [Sun, 16 Apr 2006 01:08:57 +0000 (10:08 +0900)]
BugTrack2/171: The delimiter was put between page name and body.

18 years agoBugTrack2/171: The filetime is not needed when $non_format is true.
teanan [Sat, 15 Apr 2006 18:02:38 +0000 (03:02 +0900)]
BugTrack2/171: The filetime is not needed when $non_format is true.

18 years agoBugTrack2/171: Added a PCRE modifiers ''S''.
teanan [Sat, 15 Apr 2006 17:33:35 +0000 (02:33 +0900)]
BugTrack2/171: Added a PCRE modifiers ''S''.

18 years agoBugTrack2/171: Backout r1.55. It *must* consider upper and lower cases.
teanan [Sat, 15 Apr 2006 02:50:22 +0000 (11:50 +0900)]
BugTrack2/171: Backout r1.55. It *must* consider upper and lower cases.

18 years agoBugTrack2/171: Backout r1.55. It *must* consider upper and lower cases
teanan [Sat, 15 Apr 2006 02:50:21 +0000 (11:50 +0900)]
BugTrack2/171: Backout r1.55. It *must* consider upper and lower cases

18 years agoget_source(): Forgotten str_replace()
henoheno [Sat, 15 Apr 2006 00:18:37 +0000 (09:18 +0900)]
get_source(): Forgotten str_replace()

18 years agoget_source(): Added comments only
henoheno [Sat, 15 Apr 2006 00:00:45 +0000 (09:00 +0900)]
get_source(): Added comments only

18 years agoFixed typo 'test' => 'text'. (Pointed out by Siena)
teanan [Fri, 14 Apr 2006 23:51:12 +0000 (08:51 +0900)]
Fixed typo 'test' => 'text'. (Pointed out by Siena)

18 years agoCopyright '2005' => '2006'.
teanan [Fri, 14 Apr 2006 18:47:03 +0000 (03:47 +0900)]
Copyright '2005' => '2006'.

18 years agoBugTrack2/171: 'join('', get_source())' => 'get_source(,,TRUE)'
teanan [Fri, 14 Apr 2006 18:36:00 +0000 (03:36 +0900)]
BugTrack2/171: 'join('', get_source())' => 'get_source(,,TRUE)'

18 years agoBugTrack2/171: 'get_source' can return flat value.
teanan [Fri, 14 Apr 2006 18:30:37 +0000 (03:30 +0900)]
BugTrack2/171: 'get_source' can return flat value.
Overheads are fewer than to join later. (Pointed out by Cue)

18 years agoBugTrack2/171: Improved on search speed at 'do_search' function.
teanan [Fri, 14 Apr 2006 05:18:31 +0000 (14:18 +0900)]
BugTrack2/171: Improved on search speed at 'do_search' function.
'get_search_words' doesn't consider upper and lower cases of the alphabet.

18 years agoBugTrack2/151: Added lastmodified_add().
henoheno [Wed, 12 Apr 2006 15:45:26 +0000 (00:45 +0900)]
BugTrack2/151: Added lastmodified_add().
It quickly updates recent.dat and(why) RecentChanges.
Don't use fopen('w') before flock().

18 years agoBugTrack2/151: Added lastmodified_add().
henoheno [Wed, 12 Apr 2006 14:38:51 +0000 (23:38 +0900)]
BugTrack2/151: Added lastmodified_add().
It quickly updates recent.dat and(why) RecentChanges.
Don't use fopen('w') before flock().

18 years agoBugTrack2/160: Moved up 'cancel' button.
henoheno [Wed, 12 Apr 2006 14:37:21 +0000 (23:37 +0900)]
BugTrack2/160: Moved up 'cancel' button.

18 years agofile_head() with non-lock option
henoheno [Tue, 11 Apr 2006 14:31:37 +0000 (23:31 +0900)]
file_head() with non-lock option

18 years agofile_head() with non-lock option
henoheno [Tue, 11 Apr 2006 14:26:03 +0000 (23:26 +0900)]
file_head() with non-lock option

18 years agoBugTrack2/170: Added ''rename'' function.
teanan [Mon, 10 Apr 2006 17:37:08 +0000 (02:37 +0900)]
BugTrack2/170: Added ''rename'' function.

18 years agoBugTrack2/160: Moved up 'cancel' button.
teanan [Mon, 10 Apr 2006 15:51:21 +0000 (00:51 +0900)]
BugTrack2/160: Moved up 'cancel' button.

18 years agosha1(): Remove verbose and useless code
henoheno [Mon, 10 Apr 2006 14:44:07 +0000 (23:44 +0900)]
sha1(): Remove verbose and useless code

18 years agofile_head() with non-lock option
henoheno [Mon, 10 Apr 2006 14:41:10 +0000 (23:41 +0900)]
file_head() with non-lock option