OSDN Git Service

pukiwiki/pukiwiki_sandbox.git
17 years agois_badhost():
henoheno [Sat, 16 Dec 2006 12:53:27 +0000 (21:53 +0900)]
is_badhost():
Some Viral/Buzz marketers' site, seems to try to make people as commercial Wiki spammers
http://pukiwiki.sourceforge.jp/image/2006-12-16_wikiviral_pressblog.gif

17 years agoSimplify $method['asap']: Quit as soon as possible
henoheno [Sat, 16 Dec 2006 11:57:29 +0000 (20:57 +0900)]
Simplify $method['asap']: Quit as soon as possible

17 years ago* OUCH: This code is PHP 4 >= 4.3.0
henoheno [Sat, 16 Dec 2006 04:47:07 +0000 (13:47 +0900)]
* OUCH: This code is PHP 4 >= 4.3.0
* 'area_anchor' and 'area_bbcode' now respect $method['asap'] option

17 years agoNewly resurrected two $method: 'area_anchor' and 'area_bbcode'. They can capture...
henoheno [Sat, 16 Dec 2006 04:09:46 +0000 (13:09 +0900)]
Newly resurrected two $method: 'area_anchor' and 'area_bbcode'. They can capture non-URI(skeleton) spam, and do things faster.

17 years agoRename $method: 'area_anchor' => 'uri_anchor', 'area_bbcode' => 'uri_bbcode'
henoheno [Sat, 16 Dec 2006 02:59:26 +0000 (11:59 +0900)]
Rename $method: 'area_anchor' => 'uri_anchor', 'area_bbcode' => 'uri_bbcode'

17 years ago* Simplify:
henoheno [Sat, 16 Dec 2006 02:01:23 +0000 (11:01 +0900)]
* Simplify:
 $uri['area']['anchor'] => $uri['area']['area_anchor']
 $uri['area']['bbcode'] => $uri['area']['area_bbcode']

17 years ago* Simplify $method['area'] => $method, 'anchor' => 'area_anchor', 'bbcode' => 'area_b...
henoheno [Sat, 16 Dec 2006 01:55:15 +0000 (10:55 +0900)]
* Simplify $method['area'] => $method, 'anchor' => 'area_anchor', 'bbcode' => 'area_bbcode'.
* 'area_total' had been revemod. This is just useless and adding useless complexity to the code.

17 years agoCorrect not passing $method to area_pickup()
henoheno [Thu, 14 Dec 2006 15:42:28 +0000 (00:42 +0900)]
Correct not passing $method to area_pickup()

17 years agospam_uri_pickup(): Just renaming variable: $area => $method
henoheno [Tue, 12 Dec 2006 15:04:22 +0000 (00:04 +0900)]
spam_uri_pickup(): Just renaming variable: $area => $method
is_badhost(): array('a.example.com', 'b.example.com') support

17 years agospam_uri_pickup(): Just renaming variable: $area => $method
henoheno [Tue, 12 Dec 2006 14:58:32 +0000 (23:58 +0900)]
spam_uri_pickup(): Just renaming variable: $area => $method
is_badhost(): array('a.example.com', 'b.example.com') support

17 years agoSimplify check_uri_spam()
henoheno [Sun, 10 Dec 2006 05:56:32 +0000 (14:56 +0900)]
Simplify check_uri_spam()

17 years agoSimplify. !empty($progress['is_spam']) just means $is_spam
henoheno [Sun, 10 Dec 2006 05:23:37 +0000 (14:23 +0900)]
Simplify. !empty($progress['is_spam']) just means $is_spam

17 years ago* is_badhost() returns a summary.
henoheno [Sun, 10 Dec 2006 04:01:43 +0000 (13:01 +0900)]
* is_badhost() returns a summary.
* Added array_count_leaves()

17 years agoAdded area_pickup()
henoheno [Sun, 10 Dec 2006 02:31:18 +0000 (11:31 +0900)]
Added area_pickup()

17 years ago$asap => $method['asap']
henoheno [Sat, 9 Dec 2006 12:18:52 +0000 (21:18 +0900)]
$asap => $method['asap']

17 years agoCleanup.
henoheno [Thu, 7 Dec 2006 14:27:01 +0000 (23:27 +0900)]
Cleanup.
* Reconstruct data structure of $progress
* Recreate summarize_check_uri_spam_progress() => summarize_uri_spam_progress()

17 years agofile_normalize(): Content-negothiation filter (rough but works)
henoheno [Mon, 4 Dec 2006 13:34:17 +0000 (22:34 +0900)]
file_normalize(): Content-negothiation filter (rough but works)

17 years agoindex.jsp etc.
henoheno [Mon, 4 Dec 2006 12:53:40 +0000 (21:53 +0900)]
index.jsp etc.

17 years ago* Added uri_array_normalize()
henoheno [Mon, 4 Dec 2006 12:35:55 +0000 (21:35 +0900)]
* Added uri_array_normalize()
* Added file_normalize()
* Move functions' order

17 years agoquery_normalize(strtolower())
henoheno [Sun, 3 Dec 2006 14:06:54 +0000 (23:06 +0900)]
query_normalize(strtolower())

17 years agoquery_normalize(): Consider '='-sepalated input and paddings
henoheno [Sun, 3 Dec 2006 10:40:11 +0000 (19:40 +0900)]
query_normalize(): Consider '='-sepalated input and paddings

17 years agonon_uniq: Destructive normalize of URIs
henoheno [Sun, 3 Dec 2006 03:33:28 +0000 (12:33 +0900)]
non_uniq: Destructive normalize of URIs

17 years agouri_pickup(): Enabled query-string .Simplify.
henoheno [Sun, 3 Dec 2006 03:23:54 +0000 (12:23 +0900)]
uri_pickup(): Enabled query-string .Simplify.
uri_array_implode(): Enabled query-string
Added query_normalize()

17 years agoA little cleanup. ACTION = Blocked
henoheno [Sun, 3 Dec 2006 02:47:35 +0000 (11:47 +0900)]
A little cleanup. ACTION = Blocked

17 years ago_preg_replace_callback_domain_exposure(): check $matches[4]
henoheno [Sat, 2 Dec 2006 09:22:37 +0000 (18:22 +0900)]
_preg_replace_callback_domain_exposure(): check $matches[4]

17 years agocheck_uri_spam_method($times = 1, $t_area = 0, $rule = TRUE)
henoheno [Sat, 2 Dec 2006 09:19:51 +0000 (18:19 +0900)]
check_uri_spam_method($times = 1, $t_area = 0, $rule = TRUE)

17 years agois_badhost(): require_or_include_once(another file) for Admin. Simplify
henoheno [Sat, 2 Dec 2006 09:14:42 +0000 (18:14 +0900)]
is_badhost(): require_or_include_once(another file) for Admin. Simplify
generate_glob_regex(): Enables array()

17 years agoSpam-related setting
henoheno [Sat, 2 Dec 2006 09:03:45 +0000 (18:03 +0900)]
Spam-related setting

17 years agoAlways test with an array()
henoheno [Wed, 29 Nov 2006 15:14:27 +0000 (00:14 +0900)]
Always test with an array()

17 years agoCorrect recursing check_uri_spam()
henoheno [Sun, 26 Nov 2006 14:41:51 +0000 (23:41 +0900)]
Correct recursing check_uri_spam()

17 years agoCorrect recursing check_uri_spam()
henoheno [Sun, 26 Nov 2006 14:25:24 +0000 (23:25 +0900)]
Correct recursing check_uri_spam()

17 years agoCorrect recursing check_uri_spam()
henoheno [Sun, 26 Nov 2006 14:01:14 +0000 (23:01 +0900)]
Correct recursing check_uri_spam()

17 years agopkwk_spamnotify()
henoheno [Sun, 26 Nov 2006 10:07:35 +0000 (19:07 +0900)]
pkwk_spamnotify()

17 years agoDo check all data (! $asap by default)
henoheno [Sun, 26 Nov 2006 08:55:15 +0000 (17:55 +0900)]
Do check all data (! $asap by default)

17 years agoDo check all data (! $asap)
henoheno [Sun, 26 Nov 2006 08:50:43 +0000 (17:50 +0900)]
Do check all data (! $asap)

17 years agoReporting: 'Blocked by: ' . summarize_check_uri_spam_progress($progress)
henoheno [Sun, 26 Nov 2006 08:43:45 +0000 (17:43 +0900)]
Reporting: 'Blocked by: ' . summarize_check_uri_spam_progress($progress)

17 years agoSimplify. Add '#regex#i'
henoheno [Sun, 26 Nov 2006 07:35:02 +0000 (16:35 +0900)]
Simplify. Add '#regex#i'

17 years agoEnabled $method['area']['total']
henoheno [Sun, 26 Nov 2006 06:35:47 +0000 (15:35 +0900)]
Enabled $method['area']['total']

17 years agoArea selection (Check BBCode only, check anchor only, check ...)
henoheno [Sun, 26 Nov 2006 02:57:26 +0000 (11:57 +0900)]
Area selection (Check BBCode only, check anchor only, check ...)

17 years agoRemove unused codes
henoheno [Sun, 26 Nov 2006 02:20:15 +0000 (11:20 +0900)]
Remove unused codes

17 years agocheck_uri_spam_method() tells the default
henoheno [Sat, 25 Nov 2006 15:05:17 +0000 (00:05 +0900)]
check_uri_spam_method() tells the default

17 years agoCorrect $progress
henoheno [Sat, 25 Nov 2006 14:31:47 +0000 (23:31 +0900)]
Correct $progress

17 years agoReport $progress['uniqhost']
henoheno [Sat, 25 Nov 2006 14:07:42 +0000 (23:07 +0900)]
Report $progress['uniqhost']

17 years agoStop $asap, or do them all?
henoheno [Sat, 25 Nov 2006 13:55:34 +0000 (22:55 +0900)]
Stop $asap, or do them all?

17 years agoMulti-metrics: quantity, area, non_uniq, badhost.
henoheno [Sat, 25 Nov 2006 12:58:20 +0000 (21:58 +0900)]
Multi-metrics: quantity, area, non_uniq, badhost.
Correct is_badhost()

17 years agoURI uniqueness (and removing non-uniques)
henoheno [Sat, 25 Nov 2006 11:40:00 +0000 (20:40 +0900)]
URI uniqueness (and removing non-uniques)

17 years agois_badhost(array_unique($hosts))
henoheno [Sat, 25 Nov 2006 03:31:19 +0000 (12:31 +0900)]
is_badhost(array_unique($hosts))

17 years agogenerate_glob_regex() enables globbing
henoheno [Sat, 25 Nov 2006 02:37:21 +0000 (11:37 +0900)]
generate_glob_regex() enables globbing

17 years agottp => http, ttps => https
henoheno [Fri, 24 Nov 2006 11:25:05 +0000 (20:25 +0900)]
ttp => http, ttps => https

17 years agoScheme exposure => URI exposure
henoheno [Fri, 24 Nov 2006 11:01:28 +0000 (20:01 +0900)]
Scheme exposure => URI exposure

17 years agoAdded more samples
henoheno [Thu, 23 Nov 2006 15:02:13 +0000 (00:02 +0900)]
Added more samples

17 years agois_badhost() testing
henoheno [Thu, 23 Nov 2006 02:05:03 +0000 (11:05 +0900)]
is_badhost() testing

17 years ago_preg_replace_callback_domain_exposure()
henoheno [Thu, 23 Nov 2006 01:27:56 +0000 (10:27 +0900)]
_preg_replace_callback_domain_exposure()

17 years ago_preg_replace_callback_domain_exposure()
henoheno [Thu, 23 Nov 2006 01:16:13 +0000 (10:16 +0900)]
_preg_replace_callback_domain_exposure()

17 years agoExpose someting Google
henoheno [Wed, 22 Nov 2006 15:04:11 +0000 (00:04 +0900)]
Expose someting Google

17 years agoExample: is_badhost()
henoheno [Wed, 22 Nov 2006 13:19:21 +0000 (22:19 +0900)]
Example: is_badhost()

17 years ago* uri_pickup($string = , $normalize = TRUE) => uri_pickup($string = , $normalize...
henoheno [Tue, 21 Nov 2006 13:42:40 +0000 (22:42 +0900)]
* uri_pickup($string = , $normalize = TRUE) => uri_pickup($string = , $normalize = TRUE, $preserve_rawuri = FALSE, $preserve_chunk = TRUE)
* user:pass => userinfo (See RFC3986)
* Enabled port 0 to 9
* Enabled fragment
* static array()
* Added uri_array_implode()

17 years agoSimplify. static $array = array('static'). trim(). Added comments
henoheno [Sat, 18 Nov 2006 12:22:11 +0000 (21:22 +0900)]
Simplify. static $array = array('static'). trim(). Added comments

17 years agoswitch() => isset($array())
henoheno [Sat, 18 Nov 2006 11:57:28 +0000 (20:57 +0900)]
switch() => isset($array())

17 years agouser@password ('user', and 'pass')
henoheno [Sat, 18 Nov 2006 09:35:54 +0000 (18:35 +0900)]
user@password ('user', and 'pass')

17 years agoAdded scheme_normalize(), port_normalize()
henoheno [Sat, 18 Nov 2006 06:35:37 +0000 (15:35 +0900)]
Added scheme_normalize(), port_normalize()

17 years agoCorret comments only
henoheno [Sat, 18 Nov 2006 01:15:41 +0000 (10:15 +0900)]
Corret comments only

17 years agoCorrect comments only
henoheno [Sun, 12 Nov 2006 14:09:51 +0000 (23:09 +0900)]
Correct comments only

17 years agouri_pickup($string = , $normalize = TRUE)
henoheno [Sun, 12 Nov 2006 11:21:57 +0000 (20:21 +0900)]
uri_pickup($string = , $normalize = TRUE)

17 years agoRoughly reconstruncted: spam_pickup() => spam_uri_pickup()
henoheno [Sun, 12 Nov 2006 10:59:56 +0000 (19:59 +0900)]
Roughly reconstruncted: spam_pickup() => spam_uri_pickup()

17 years agourldecode() => rawurldecode(). Added is_invalid_useragent()
henoheno [Sun, 12 Nov 2006 04:27:11 +0000 (13:27 +0900)]
urldecode() => rawurldecode(). Added is_invalid_useragent()

17 years agoCleanup
henoheno [Sun, 5 Nov 2006 03:36:40 +0000 (12:36 +0900)]
Cleanup

17 years agoCool down. Too much strict blocking is not wanted. Let's provide it by another way.
henoheno [Fri, 3 Nov 2006 16:15:00 +0000 (01:15 +0900)]
Cool down. Too much strict blocking is not wanted. Let's provide it by another way.

17 years ago[BLOCKED]: => [blocked]
henoheno [Fri, 3 Nov 2006 15:58:00 +0000 (00:58 +0900)]
[BLOCKED]: => [blocked]

17 years agovar_export()
henoheno [Fri, 3 Nov 2006 10:15:38 +0000 (19:15 +0900)]
var_export()

17 years agoAdded is_uri_spam()
henoheno [Fri, 3 Nov 2006 07:47:57 +0000 (16:47 +0900)]
Added is_uri_spam()

17 years agoscheme: Prefer http/https/ftp ... and something to anything
henoheno [Thu, 2 Nov 2006 15:54:56 +0000 (00:54 +0900)]
scheme: Prefer http/https/ftp ... and something to anything

17 years ago... Flag?
henoheno [Thu, 2 Nov 2006 15:19:14 +0000 (00:19 +0900)]
... Flag?

17 years agoCare for percent-decoded URIs, and concatenated URIs.
henoheno [Thu, 2 Nov 2006 15:17:41 +0000 (00:17 +0900)]
Care for percent-decoded URIs, and concatenated URIs.
Ignore fragment(#).
Cleanup.

17 years agoWithout flagment (#)
henoheno [Wed, 1 Nov 2006 14:45:25 +0000 (23:45 +0900)]
Without flagment (#)

17 years agoarray_rename_key(), array_rename_keys(), path_normalize($path = '', $divider = '...
henoheno [Wed, 1 Nov 2006 14:39:12 +0000 (23:39 +0900)]
array_rename_key(), array_rename_keys(), path_normalize($path = '', $divider = '/', $addroot = TRUE)

17 years agopkwk_spamfilter(): just for testing
henoheno [Sun, 29 Oct 2006 15:04:01 +0000 (00:04 +0900)]
pkwk_spamfilter(): just for testing

17 years agoLibrary spam.php
henoheno [Sat, 28 Oct 2006 14:09:51 +0000 (23:09 +0900)]
Library spam.php

17 years agoLibrary spam.php
henoheno [Sat, 28 Oct 2006 14:08:58 +0000 (23:08 +0900)]
Library spam.php

17 years agoCare for http://example.org//path
henoheno [Sat, 28 Oct 2006 14:02:34 +0000 (23:02 +0900)]
Care for http://example.org//path

17 years agopath_normalize(): Back track
henoheno [Sat, 28 Oct 2006 13:54:25 +0000 (22:54 +0900)]
path_normalize(): Back track

17 years agoIPv6 and Port support. Path normalization. http://host?nasty support.
henoheno [Sat, 28 Oct 2006 13:39:28 +0000 (22:39 +0900)]
IPv6 and Port support. Path normalization. host?nasty support.

17 years agoAdded comments and recursive_map()
henoheno [Thu, 26 Oct 2006 15:21:09 +0000 (00:21 +0900)]
Added comments and recursive_map()

17 years agodirectory pattern was added.
teanan [Wed, 25 Oct 2006 17:58:48 +0000 (02:58 +0900)]
directory pattern was added.

17 years agoAlso the same as PukiWiki
henoheno [Mon, 23 Oct 2006 12:59:33 +0000 (21:59 +0900)]
Also the same as PukiWiki

17 years ago*** empty log message ***
henoheno [Mon, 23 Oct 2006 12:57:06 +0000 (21:57 +0900)]
*** empty log message ***

17 years agoWindows + cygwin + cvsごった煮版20020227 + cygwin ssh (ext server) からテスト中 -- henoheno
henoheno [Sat, 16 Sep 2006 12:18:16 +0000 (21:18 +0900)]
Windows + cygwin + cvsごった煮版20020227 + cygwin ssh (ext server) からテスト中 -- henoheno

18 years ago(そうなるように設定をした上で)WinCVSごった煮版のフロントエンドからコミットした場合、日本語文字列のコミットログは、EUC-JPで(EUC-JPに変換されて...
henoheno [Sat, 18 Feb 2006 01:14:07 +0000 (10:14 +0900)]
(そうなるように設定をした上で)WinCVSごった煮版のフロントエンドからコミットした場合、日本語文字列のコミットログは、EUC-JPで(EUC-JPに変換されて)コミットされる

18 years ago日本語文字列ふたたび。コマンドラインから再挑戦。
henoheno [Sat, 18 Feb 2006 01:10:08 +0000 (10:10 +0900)]
日本語文字列ふたたび。コマンドラインから再挑戦。

18 years ago日本語文字列のコミットログは、EUC-JPで(EUC-JPに変換されて)コミットされる
henoheno [Sat, 18 Feb 2006 01:08:04 +0000 (10:08 +0900)]
日本語文字列のコミットログは、EUC-JPで(EUC-JPに変換されて)コミットされる

18 years ago日本語文字列
henoheno [Sat, 18 Feb 2006 01:05:44 +0000 (10:05 +0900)]
日本語文字列

18 years agoNG. Shift-JIS で日本語が入力されている。どうやるんだったかな?
henoheno [Sat, 18 Feb 2006 00:57:15 +0000 (09:57 +0900)]
NG. Shift-JIS で日本語が入力されている。どうやるんだったかな?

19 years agocommit test from mobile pc (mobile pc auth key only)
teanan [Tue, 5 Apr 2005 01:51:18 +0000 (10:51 +0900)]
commit test from mobile pc (mobile pc auth key only)

19 years agocommit test from mobile pc
teanan [Tue, 5 Apr 2005 01:10:23 +0000 (10:10 +0900)]
commit test from mobile pc

19 years agomodify commit log test sandbox_20050319_2
teanan [Sat, 5 Mar 2005 04:22:15 +0000 (13:22 +0900)]
modify commit log test

19 years agofile add test (php file) result tag_sandbox_test
teanan [Sun, 27 Feb 2005 17:23:20 +0000 (02:23 +0900)]
file add test (php file) result

19 years agofile add test (php file)
teanan [Sun, 27 Feb 2005 17:21:06 +0000 (02:21 +0900)]
file add test (php file)

19 years agofile add test 3
teanan [Sun, 27 Feb 2005 17:18:52 +0000 (02:18 +0900)]
file add test 3

19 years agofile add test 2
teanan [Sun, 27 Feb 2005 16:51:56 +0000 (01:51 +0900)]
file add test 2

19 years agofile add test
teanan [Sun, 27 Feb 2005 16:50:31 +0000 (01:50 +0900)]
file add test