OSDN Git Service
umorigu [Wed, 14 Mar 2018 13:01:26 +0000 (22:01 +0900)]
BugTrack/2401 bugtrack_list: Improve cache management
Use converted HTML text when cache/recent.dat is unchanged.
umorigu [Tue, 6 Mar 2018 18:15:10 +0000 (03:15 +0900)]
BugTrack/2460 Sublist of tracker_list with range(start-last)
Now tracker_list supports range format as limit parameter.
ex: limit:"101-200" means that name numbers are (101 <= x and x <=200)
umorigu [Thu, 1 Mar 2018 14:40:07 +0000 (23:40 +0900)]
BugTrack/560 tracker_list cache mechanism supports limit parameter
umorigu [Wed, 28 Feb 2018 15:19:56 +0000 (00:19 +0900)]
BugTrack/560 Get timestamps of tracker_list pages from cache
umorigu [Mon, 26 Feb 2018 15:10:34 +0000 (00:10 +0900)]
BugTrack/560 tracker_list speeding up with cache
* Implement 2-layer caching
* Converted HTML cache
* Contents cache for list pages
* Get only updated/deleted page contents
* Detect page updates by file or page timestamps
* Refer cache/recent.dat file to detect updated pages
* Refer RecentDeleted page to detect deleted pages
* Handle page links properly on tracker_list table
* Save contents cache on cache/(TrackerBase).tracker
How to invalidate cache:
Execute one of following actions.
* Change tracker config file
* Change tracker list file
* Delete cache/*.tracker file manually
umorigu [Tue, 13 Feb 2018 15:16:18 +0000 (00:16 +0900)]
BugTrack/560 Generate readable HTML source for table format
Append NewLine code after each TR element.
umorigu [Sun, 12 Nov 2017 16:24:15 +0000 (01:24 +0900)]
BugTrack/2455 new plugin: Enable to work on cache
umorigu [Sun, 12 Nov 2017 10:22:19 +0000 (19:22 +0900)]
BugTrack/2447 Show tracker - passage by Client-JavaScript
Add passage plugin (passage.inc.php)
umorigu [Wed, 8 Nov 2017 19:53:10 +0000 (04:53 +0900)]
BugTrack/2447 Show page passage by Web browser/JavaScript process
* lib/make_link
* related plugin
* ls2 plugin
* recent plugin
* popular plugin
* showrss plugin
* list plugin
* filelist plugin
umorigu [Sun, 5 Nov 2017 23:15:18 +0000 (08:15 +0900)]
BugTrack/2453 Show alert message for leaving page action on editing
umorigu [Tue, 31 Oct 2017 20:28:36 +0000 (05:28 +0900)]
BugTrack/2283 ls2 plugin: Improve include loop handling
PHP4 cannot use referenced parameters with default value.
umorigu [Tue, 31 Oct 2017 20:18:53 +0000 (05:18 +0900)]
BugTrack/2452 Remove 'create_function' function for stability
Note that 'create_function' will be deprecated in PHP 7.2 .
umorigu [Mon, 30 Oct 2017 15:25:57 +0000 (00:25 +0900)]
BugTrack/2445 Rename deleted page
umorigu [Sun, 29 Oct 2017 18:02:13 +0000 (03:02 +0900)]
BugTrack/2213 Fix ArgumentCountError on PHP7.1
umorigu [Sun, 29 Oct 2017 16:34:53 +0000 (01:34 +0900)]
BugTrack/2308 Fix WikiName linking on no-AutoLink pages
umorigu [Sun, 29 Oct 2017 16:19:33 +0000 (01:19 +0900)]
BugTrack/2295 Remove useless implementation in make_link.php
umorigu [Sun, 29 Oct 2017 14:59:08 +0000 (23:59 +0900)]
BugTrack/2283 ls2 plugin: Improve page name handling on #include
* Support relative page name ( ex: #include(../RelPage) )
* Support quoted page name ( ex: #include("A,B,C") )
* Support include plugin option ( ex: #include(AAPage,notitle) )
umorigu [Fri, 27 Oct 2017 15:50:11 +0000 (00:50 +0900)]
BugTrack/2283 ls2 plugin: Improve include loop handling
* Fix infinite loop on 'include' and no-'title' condition
* Trace including tree on each page
umorigu [Fri, 27 Oct 2017 15:05:04 +0000 (00:05 +0900)]
BugTrack/2283 ls2 plugin: Fix heading listing level
umorigu [Thu, 26 Oct 2017 22:02:22 +0000 (07:02 +0900)]
BugTrack/2283 Fasten ls2 plugin listing on no-title or no-include
umorigu [Wed, 25 Oct 2017 17:16:27 +0000 (02:16 +0900)]
BugTrack/2436 ESLint - Linting utility for JavaScript
Install utilities:
```
npm install
```
Use ESLint:
```
npm test
```
or
```
npx eslint skin/main.js skin/search2.js
```
umorigu [Wed, 25 Oct 2017 14:06:24 +0000 (23:06 +0900)]
BugTrack/2420 Simplify AutoTicketLink script: DOM to JSON
umorigu [Wed, 25 Oct 2017 11:50:54 +0000 (20:50 +0900)]
BugTrack/693 calendar_viewer plugin: Extend the show limit (1 to 4)
umorigu [Tue, 24 Oct 2017 17:52:09 +0000 (02:52 +0900)]
BugTrack/2367 Rename pukiwiki.css.php to pukiwiki.css, a static file
umorigu [Tue, 24 Oct 2017 17:49:41 +0000 (02:49 +0900)]
BugTrack/2412 Wrap text in pre elements
umorigu [Tue, 24 Oct 2017 17:47:56 +0000 (02:47 +0900)]
BugTrack/2188 Define List layout by CSS instead of ini file
umorigu [Tue, 24 Oct 2017 17:44:42 +0000 (02:44 +0900)]
BugTrack/2426 topicpath plugin - Use CSS layout for slashes
umorigu [Tue, 24 Oct 2017 17:42:59 +0000 (02:42 +0900)]
BugTrack/2424 bugtrack: Define bugtrack list style by CSS
umorigu [Tue, 24 Oct 2017 17:08:49 +0000 (02:08 +0900)]
BugTrack/2261 Cannot attach a file on freezing page
umorigu [Tue, 24 Oct 2017 15:21:42 +0000 (00:21 +0900)]
BugTrack/684 Don't show MenuBar right after unfreezing a page
umorigu [Tue, 24 Oct 2017 15:09:28 +0000 (00:09 +0900)]
BugTrack/2411 Fix document comment
umorigu [Mon, 23 Oct 2017 17:48:49 +0000 (02:48 +0900)]
BugTrack/657 Check is_page_readable(page) on editing
umorigu [Mon, 23 Oct 2017 17:28:38 +0000 (02:28 +0900)]
BugTrack/2446 Fasten calendar_viewer plugin with get_existpage cache
umorigu [Sun, 22 Oct 2017 18:21:45 +0000 (03:21 +0900)]
BugTrack/2438 Fasten get_existpages() for ls2 plugin
Cache get_existpages() result (page list) of wiki/*.txt
Enable cache after calling read plugin (plugin_read_action())
umorigu [Sun, 22 Oct 2017 15:06:41 +0000 (00:06 +0900)]
BugTrack/693 calendar_viewer plugin: Extend the show limit (1 to 4)
umorigu [Sat, 21 Oct 2017 06:07:48 +0000 (15:07 +0900)]
BugTrack/2444 showrss plugin support RSS/Atom
umorigu [Sat, 21 Oct 2017 05:33:36 +0000 (14:33 +0900)]
BugTrack/2176 showrss plugin: Use default template if error
umorigu [Sat, 21 Oct 2017 02:12:26 +0000 (11:12 +0900)]
BugTrack/2443 showrss plugin: Enable to show Japanese RSS feeds
umorigu [Fri, 20 Oct 2017 20:42:22 +0000 (05:42 +0900)]
BugTrack/2176 showrss: Fix character encoding issues etc.
umorigu [Fri, 20 Oct 2017 16:27:13 +0000 (01:27 +0900)]
BugTrack/2442 showrss plugin - Support HTTPS RSS feeds
umorigu [Wed, 18 Oct 2017 16:05:07 +0000 (01:05 +0900)]
BugTrack/2435 Improve search result messages
umorigu [Sat, 30 Sep 2017 20:52:20 +0000 (05:52 +0900)]
BugTrack/2434 Search result cache and offset paging
umorigu [Sat, 30 Sep 2017 06:34:42 +0000 (15:34 +0900)]
BugTrack/2433 Search Progress and Cancel with search2 plugin
umorigu [Sat, 30 Sep 2017 06:31:10 +0000 (15:31 +0900)]
BugTrack/692 Show page contents in search result - search2 plugin
* Show page contents by client-side JavaScript
* Add new "search2" plugin with "skin/search2.js" JavaScript
* Toggle switch to show details or not
* Supoort both UTF-8 and EUC-JP encodings
* OR Search with "OR"-combined keywords (ex: "A OR B")
* Always show passage
* Color search texts in details view
* Color search texts in each text-found page
* Web browser requirement: HTML5 Fetch API (You can use Polyfill library)
* Server requirement: PHP5.4+ (can handle JSON)
umorigu [Fri, 22 Sep 2017 15:22:59 +0000 (00:22 +0900)]
BugTrack/2420 AutoTicketLink: Move defs after body start tag
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