OSDN Git Service
umorigu [Sat, 30 Sep 2017 01:44:00 +0000 (10:44 +0900)]
Fix encode_hint logic
umorigu [Fri, 29 Sep 2017 15:27:35 +0000 (00:27 +0900)]
Improve EUC-JP handling
umorigu [Tue, 26 Sep 2017 19:53:51 +0000 (04:53 +0900)]
Improve encode_hint handling
umorigu [Mon, 25 Sep 2017 19:05:46 +0000 (04:05 +0900)]
Support IE10 (can not use dataset)
umorigu [Mon, 25 Sep 2017 19:04:00 +0000 (04:04 +0900)]
Show no support message
umorigu [Mon, 25 Sep 2017 16:42:27 +0000 (01:42 +0900)]
search2: Support IE10
umorigu [Sun, 24 Sep 2017 19:57:08 +0000 (04:57 +0900)]
search2: Highlight search text for Firefox (auto encodeURIComponent)
umorigu [Sun, 24 Sep 2017 19:27:16 +0000 (04:27 +0900)]
Color search text in body
umorigu [Sun, 24 Sep 2017 13:09:30 +0000 (22:09 +0900)]
search2: Shor page summary
umorigu [Sun, 24 Sep 2017 09:39:33 +0000 (18:39 +0900)]
Support browsers that doesn't support String.normalize
umorigu [Sun, 24 Sep 2017 05:02:49 +0000 (14:02 +0900)]
Implement hiragana / katakana / hankaku-katakana search
umorigu [Sat, 23 Sep 2017 22:58:26 +0000 (07:58 +0900)]
Enable search2 only for PHP5.4+
umorigu [Sat, 23 Sep 2017 08:55:54 +0000 (17:55 +0900)]
Support base in search2
umorigu [Sat, 23 Sep 2017 04:50:26 +0000 (13:50 +0900)]
Support es-promise and Fetch API polyfill
umorigu [Fri, 22 Sep 2017 18:27:29 +0000 (03:27 +0900)]
Improve search2 : Support OR
umorigu [Fri, 22 Sep 2017 17:57:50 +0000 (02:57 +0900)]
Support OR search
umorigu [Fri, 22 Sep 2017 15:22:59 +0000 (00:22 +0900)]
BugTrack/2420 AutoTicketLink: Move defs after body start tag
umorigu [Fri, 22 Sep 2017 15:03:28 +0000 (00:03 +0900)]
BugTrack/692 Show passage
umorigu [Tue, 19 Sep 2017 15:35:36 +0000 (00:35 +0900)]
Improve author line related proc / Speed up get_source raw
umorigu [Sun, 17 Sep 2017 23:00:36 +0000 (08:00 +0900)]
BugTrack/2433 Control Search Request interval
umorigu [Sun, 17 Sep 2017 21:23:12 +0000 (06:23 +0900)]
BugTrack/2433 Cancelable Search with search2 plugin
umorigu [Thu, 14 Sep 2017 22:51:36 +0000 (07:51 +0900)]
BugTrack/692 Show page contents in search result - search2 plugin
umorigu [Tue, 12 Sep 2017 15:08:01 +0000 (00:08 +0900)]
BugTrack/2292 Remove redundant text search in do_search()
umorigu [Tue, 12 Sep 2017 15:07:19 +0000 (00:07 +0900)]
BugTrack/2432 Ignore page readable or not on AutoLink processing
Simplify page name search by links_do_search_page() added
umorigu [Mon, 11 Sep 2017 16:16:33 +0000 (01:16 +0900)]
BugTrack/2213 Improve Canonical URL and reload links
umorigu [Mon, 11 Sep 2017 12:39:47 +0000 (21:39 +0900)]
BugTrack/2239 Show page canonical URL after commenting
umorigu [Sun, 10 Sep 2017 01:30:13 +0000 (10:30 +0900)]
BugTrack/2265 Enable edit_auth for bugtrack and tracker plugin
umorigu [Sat, 9 Sep 2017 13:48:32 +0000 (22:48 +0900)]
BugTrack/407 Show attached file list on editing page
umorigu [Sat, 9 Sep 2017 13:22:55 +0000 (22:22 +0900)]
BugTrack/2430 Remove author line from text-search target
umorigu [Sat, 9 Sep 2017 12:34:47 +0000 (21:34 +0900)]
BugTrack/2385 Remote author info from editing text on unfreezing
umorigu [Sat, 9 Sep 2017 12:03:07 +0000 (21:03 +0900)]
BugTrack/184 Save user's "name" for commenting
* Target plugin: comment, pcomment, article and bugtrack
* Save user's name in localStorage of Web browser
umorigu [Thu, 7 Sep 2017 22:34:14 +0000 (07:34 +0900)]
BugTrack/2424 bugtrack: Define bugtrack list style by CSS
umorigu [Thu, 7 Sep 2017 21:18:04 +0000 (06:18 +0900)]
BugTrack/2426 topicpath plugin - Use CSS layout in tdiary skin
umorigu [Thu, 7 Sep 2017 21:00:32 +0000 (06:00 +0900)]
BugTrack/2428 bugtrack: Enable WikiName link on $nowikiname = 1
umorigu [Tue, 5 Sep 2017 22:58:31 +0000 (07:58 +0900)]
BugTrack/2348 Remove limitation of Search box count
umorigu [Mon, 4 Sep 2017 14:57:14 +0000 (23:57 +0900)]
BugTrack/615 Remove $script shortening logic for Keitai profile
umorigu [Mon, 4 Sep 2017 14:07:03 +0000 (23:07 +0900)]
BugTrack/2213 Use Absolute URI as Canonical URL
umorigu [Sun, 3 Sep 2017 17:26:28 +0000 (02:26 +0900)]
BugTrack/341 Support Port 443 of non-https sites
umorigu [Sun, 3 Sep 2017 16:46:01 +0000 (01:46 +0900)]
BugTrack/2213 Support Absolute/Relative URI type context
We can create URI-type context to call pkwk_base_uri_type_stack_push()
and can stop the context to call pkwk_base_uri_type_stack_pop().
```
$relative_uri = get_base_uri();
pkwk_base_uri_type_stack_push(PKWK_URI_ABSOLUTE);
$absolute_uri = get_base_uri();
pkwk_base_uri_type_stack_pop();
```
umorigu [Sun, 3 Sep 2017 02:51:11 +0000 (11:51 +0900)]
BugTrack/2260 Use get_base_uri() instead of $script
umorigu [Sun, 3 Sep 2017 12:22:17 +0000 (21:22 +0900)]
BugTrack/2213 Use get_base_uri() instead of get_script_uri()
umorigu [Sat, 2 Sep 2017 09:25:49 +0000 (18:25 +0900)]
BugTrack/2213 Set Absolute URI or Root relative path
* Absolute URI: URI for Offline USE
* Root relative URI: Location header in HTTP redirection
umorigu [Sat, 2 Sep 2017 03:50:22 +0000 (12:50 +0900)]
BugTrack/2213 Use relative path for internal link - get_base_uri()
Add URI type enum.
* PKWK_URI_RELATIVE : relative path (ex: ./, index.php )
* PKWK_URI_ROOT : Root relative path (ex: /wiki/)
* PKWK_URI_ABSOLUTE : Absolute URI (ex: http://example.com/wiki/)
We will use get_base_uri() to make internal link.
get_base_uri(): returns simple URL that indicates this script(PukiWiki)
For example for 'http://example.com/wiki/' site,
* `get_base_uri()` returns './'
* `get_base_uri(PKWK_URI_ROOT)` returns '/wiki/'
* `get_base_uri(PKWK_URI_ABSOLUTE)` returns 'http://example.com/wiki/'
get_page_uri($page) returns simple URL that indicates specific page.
For example,
* `get_page_uri('News')` returns './?News'
* `get_page_uri('News', PKWK_URI_ROOT)` returns '/wiki/?News'
* `get_page_uri('News', PKWK_URI_ABSOLUTE)` returns
'https://example.com/wiki/?News'
umorigu [Sat, 2 Sep 2017 01:38:45 +0000 (10:38 +0900)]
BugTrack/2299 Detect https access by REQUEST_SCHEME server variable
* Detect https access by REQUEST_SCHEME or HTTPS vars
* Get URI pathname from REQUEST_URI server variable instead of SCRIPT_NAME
umorigu [Sun, 27 Aug 2017 02:16:10 +0000 (11:16 +0900)]
BugTrack/2256 edit: Handle template loading button
umorigu [Wed, 23 Aug 2017 18:58:50 +0000 (03:58 +0900)]
BugTrack/2426 topicpath plugin - Use CSS layout for slashes
umorigu [Tue, 22 Aug 2017 21:02:56 +0000 (06:02 +0900)]
BugTrack/2102 Disable output buffering on sending an file
umorigu [Tue, 22 Aug 2017 20:51:19 +0000 (05:51 +0900)]
BugTrack/571 Write updates log
umorigu [Thu, 17 Aug 2017 19:10:45 +0000 (04:10 +0900)]
BugTrack/2361 Simple Pagename URL for ls2 plugin
umorigu [Thu, 17 Aug 2017 14:52:20 +0000 (23:52 +0900)]
BugTrack/2126 Stop removing attrs of ul elements in Menu
umorigu [Wed, 16 Aug 2017 17:54:28 +0000 (02:54 +0900)]
BugTrack/2188 Replace list-margin px with indent-level calc
* Remove px calclation of List margin and padding
* Margin and padding are now defined by CSS
* Calc indent-level of nected list. That is used as list-indentN class
umorigu [Wed, 16 Aug 2017 16:04:56 +0000 (01:04 +0900)]
BugTrack/2188 Define List layout by CSS instead of ini file
* Define List styles by CSS instead of default.ini file
* Add list-indent1, 2 and 3: that is express indent-distance to parent list
* In default.ini.php, $_ul_margin, $_ol_margin and $_dl_margin must be 1
* These are used as indent leaping level calclation source
* $_list_pad_str = ' class="list%d list-indent%d"';
* 2nd param of sprintf($_list_pad_str, $1, $2) is exactly indent-level.
* This replacement from PHP logic to CSS is completely compatible
with existing list logic that contains ls2 plugin
and PukiWiki core list logic.
umorigu [Tue, 15 Aug 2017 01:32:05 +0000 (10:32 +0900)]
BugTrack/2420 Avoid JavaScript error on PHP5.3 env
umorigu [Mon, 10 Jul 2017 15:37:43 +0000 (00:37 +0900)]
BugTrack/2422 Improve DB error handling in counter plugin
umorigu [Sun, 9 Jul 2017 14:32:05 +0000 (14:32 +0000)]
BugTrack/2422 counter plugin: Remove unused log line
umorigu [Sun, 9 Jul 2017 06:25:27 +0000 (15:25 +0900)]
BugTrack/2411 SAML plugin: PukiWiki as a SAML service provider
* Add SAML plugin that enable SAML authentication
* Parse '?//key1.value2//key2.value2' type querystring
that we handles as query parameters
* The SAML plugin depends on onlogin/php-saml library.
How to use SAML plugin:
* install onelogin/php-saml `composer install onlogin/php-saml`
* Create saml_settings.php
* Set $auth_type = AUTH_TYPE_SAML; in pukiwiki.ini.php
umorigu [Wed, 21 Jun 2017 15:52:07 +0000 (00:52 +0900)]
BugTrack/2425 Fix today param handling of popular plugin
umorigu [Mon, 19 Jun 2017 16:21:59 +0000 (01:21 +0900)]
BugTrack/2196 Refresh RecentChanges list on renaming pages
umorigu [Mon, 19 Jun 2017 15:44:18 +0000 (00:44 +0900)]
BugTrack/2266 Open FormattingRules on new Window from edit page
umorigu [Mon, 19 Jun 2017 15:08:58 +0000 (00:08 +0900)]
BugTrack/2424 Fix unfreezing page on comment action
umorigu [Mon, 12 Jun 2017 18:40:00 +0000 (03:40 +0900)]
BugTrack/782 Numbering tracker issue naturally : the biggest one + 1
umorigu [Sun, 11 Jun 2017 12:44:02 +0000 (21:44 +0900)]
BugTrack/2422 Rename plugin action support Database counter
umorigu [Sat, 10 Jun 2017 19:41:50 +0000 (04:41 +0900)]
BugTrack/2422 popular plugin supports Dababase counter
umorigu [Thu, 1 Jun 2017 15:17:28 +0000 (00:17 +0900)]
BugTrack/2422 Counter plugin supports MySQL
umorigu [Tue, 30 May 2017 15:54:21 +0000 (00:54 +0900)]
BugTrack/2422 Counter plugin: Table name prefix for multi wiki sites
umorigu [Sun, 28 May 2017 18:56:14 +0000 (03:56 +0900)]
BugTrack/2422 Improve access count up logic to avoid miscounting
umorigu [Sun, 2 Apr 2017 07:22:45 +0000 (16:22 +0900)]
BugTrack/2420 AutoTicketLink support 'git' type
umorigu [Wed, 1 Mar 2017 21:55:02 +0000 (06:55 +0900)]
BugTrack/2420 AutoTicketLink
umorigu [Sat, 27 May 2017 03:07:04 +0000 (12:07 +0900)]
BugTrack/2422 Use SQLite database for reliable counter
umorigu [Fri, 17 Feb 2017 17:00:06 +0000 (02:00 +0900)]
BugTrack/2401 Stop showing bug list if a root page is not readable
umorigu [Thu, 16 Feb 2017 17:04:00 +0000 (02:04 +0900)]
BugTrack/2418 Delete blank page even if it has only small changes
umorigu [Thu, 16 Feb 2017 15:09:23 +0000 (00:09 +0900)]
BugTrack/2414 strtotime return false on parsing failure in PHP5.1+
http://php.net/manual/en/function.strtotime.php
Returns a timestamp on success, FALSE otherwise. Previous to PHP 5.1.0,
this function would return -1 on failure.
umorigu [Thu, 16 Feb 2017 13:58:43 +0000 (22:58 +0900)]
BugTrack/598 List only readable pages as template
umorigu [Wed, 15 Feb 2017 17:42:29 +0000 (02:42 +0900)]
BugTrack/694 Stop reading page that is not readable as template
umorigu [Wed, 15 Feb 2017 17:36:50 +0000 (02:36 +0900)]
BugTrack/598 Stop reading page that is not readable as template
umorigu [Mon, 9 Jan 2017 17:55:48 +0000 (02:55 +0900)]
BugTrack/2412 Wrap text in pre elements
umorigu [Fri, 23 Dec 2016 07:47:41 +0000 (16:47 +0900)]
BugTrack/2410 Parsing date string fallback to strtotime in new plugin
umorigu [Sun, 11 Dec 2016 08:45:39 +0000 (17:45 +0900)]
BugTrack/2187 Fix doubled HTML-escaped text in bugtrack_list summary
umorigu [Sun, 11 Dec 2016 01:50:59 +0000 (10:50 +0900)]
BugTrack/2408 Remove 'Waiting CVS' status from bugtrack and tracker
umorigu [Thu, 8 Dec 2016 23:07:27 +0000 (08:07 +0900)]
BugTrack/2407 Make link files (cache/*.rel,*.ref) automatically
* Remove related files (*.rel) and reference files (*.ref) in
cache directory of the repository and distribute package
* Prepare page related links and references for links_get_related()
Make link files automatically only if the page count < 50.
Because large number of update links will cause PHP timeout.
umorigu [Thu, 8 Dec 2016 21:26:10 +0000 (06:26 +0900)]
BugTrack/2406 Create cache/autolink.dat automatically
* Create 'cache/autolink.dat' before convert_html() if needed
* Remove 'cache/autolink.dat' from the repositogy and the distribution
umorigu [Thu, 8 Dec 2016 20:05:57 +0000 (05:05 +0900)]
BugTrack/2406 Include the HTML entitiy pattern of cache/entities.dat
'cache/entities.dat' had a fixed pattern created by
'plugin/update_entities.inc'.
So it should be an application logic shipped with PukiWiki itself.
umorigu [Sat, 3 Dec 2016 00:45:26 +0000 (09:45 +0900)]
BugTrack/2404 Add filetime as author attr on "Don't change timestamp"
umorigu [Fri, 2 Dec 2016 21:20:49 +0000 (06:20 +0900)]
BugTrack/2401 Locked file_get_contents/file_put_contents on bugtrack
It needs locking for a bugtrack_list cache file.
* file_put_contents lock bug was fixed on PHP 5.2.6 .
* bugtrack_list is for PHP5.4+. So we can use it.
* file_get_content has no lock mechanism. I added pkwk_file_get_contents.
umorigu [Fri, 2 Dec 2016 21:05:38 +0000 (06:05 +0900)]
BugTrack/2403 bugtrack plugin - new numbering spec
* New: New page number is (largest exisging page number) + 1.
* Prev: It has local numbering logic (1 -> 51 -> 101 -> 151 -> 102,...)
umorigu [Fri, 2 Dec 2016 19:50:12 +0000 (04:50 +0900)]
BugTrack/2396 Support Page redurection rules on make_pagelink()
umorigu [Sat, 26 Nov 2016 21:40:12 +0000 (06:40 +0900)]
BugTrack/2401 Cache bugtrack_list
Cache specification:
* Enable only for PHP5.4+ (Because of JSON_UNESCAPE_UNICODE)
* Use cached values for articles that have the unchaged filemtime
* Invalidate all cache data everyday
umorigu [Sun, 27 Nov 2016 04:38:29 +0000 (13:38 +0900)]
Add pkwk_log function for application logging
umorigu [Sat, 19 Nov 2016 13:15:53 +0000 (22:15 +0900)]
BugTrack/2389 Set LANG to HTML content language in skin files
umorigu [Thu, 17 Nov 2016 16:31:12 +0000 (01:31 +0900)]
BugTrack/2396 Stop page redirection when new_page = old_page
umorigu [Thu, 17 Nov 2016 16:06:57 +0000 (01:06 +0900)]
BugTrack/2389 Remove DTD selecting function
umorigu [Mon, 14 Nov 2016 23:21:22 +0000 (08:21 +0900)]
BugTrack/2389 Use HTML5 DocType
* Use HTML5 DocType declaration
* Remove XHTML specific meta headers - content-style-type and
* Content-Script-Type
umorigu [Sun, 13 Nov 2016 20:01:35 +0000 (05:01 +0900)]
BugTrack/2396 Redirect pages by Site Administrator
Add new property - $page_redirect_rules in pukiwiki.ini.php
umorigu [Thu, 10 Nov 2016 16:12:42 +0000 (01:12 +0900)]
BugTrack/2397 Enable JavaScript by default
Keep PKWK_ALLOW_JAVASCRIPT constant for the backward compatibility.
It is no longer used.
umorigu [Mon, 7 Nov 2016 18:25:24 +0000 (03:25 +0900)]
BugTrack/2062 Remove Referer function config default page
umorigu [Mon, 7 Nov 2016 18:03:28 +0000 (03:03 +0900)]
BugTrack/2108 Use case insensitive index chars for page list
umorigu [Mon, 7 Nov 2016 16:15:34 +0000 (01:15 +0900)]
BugTrack/2390 Fix #tracker_list with #author metadata
umorigu [Sun, 6 Nov 2016 09:03:59 +0000 (18:03 +0900)]
Merge branch 'bugtrack_2394' into branch_r1_5
BugTrack/2394 Use __construct() instead of old style constructor
umorigu [Sun, 6 Nov 2016 08:56:43 +0000 (17:56 +0900)]
BugTrack/2394 Add PHP4 Compatibility on constructor
PHP7 doesn't show E_DEPRECATED warning on existance of
both __constructor() and old style ClassName() constructor.
Akito Hachiya [Sat, 22 Oct 2016 23:24:45 +0000 (08:24 +0900)]
BugTrack/2394 Use __construct() instead of old style constructor