OSDN Git Service
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
umorigu [Sat, 29 Oct 2016 14:59:12 +0000 (23:59 +0900)]
BugTrack/2392 Fix encoding: die_message() outputs suitable charset
umorigu [Mon, 24 Oct 2016 22:51:27 +0000 (07:51 +0900)]
BugTrack/2391 Remove invalid http_input setting
http://php.net/manual/en/mbstring.http.php
HTTP Input
There is no way to control HTTP input character conversion
from a PHP script. To disable HTTP input character conversion,
it has to be done in php.ini.
http://php.net/manual/en/mbstring.configuration.php
;; Set default HTTP input character encoding
;; Note: Script cannot change http_input setting.
umorigu [Sun, 23 Oct 2016 17:39:22 +0000 (02:39 +0900)]
BugTrack/2367 Rename tdiary.css.php to tdiary.css
Now CSS files have no PHP/Dynamic logic.
umorigu [Sun, 23 Oct 2016 17:30:08 +0000 (02:30 +0900)]
Merge branch 'bugtrack2367_static_css_tdiary' into branch_r1_5
Expand all CSS variables in tDiary style file and then,
All css files has no PHP code.
umorigu [Sun, 23 Oct 2016 17:25:12 +0000 (02:25 +0900)]
BugTrack/2367 Expand CSS variables in tDiary skin stylefile
Style selector : (Normal colors, Black theme colors)
* thead td.style_td (D0D8E0, 223333)
* thead th.style_th (E0E8F0, 332200)
* .style_table (CCD5DD, 999999) ($c_line1)
* .style_th (EEEEEE, 333333)
* .style_td (EEF5FF, 111111) ($c_background)
* span.noexists (FFFACC, 333355) ($c_dangling)
* div#preview (F5F8FF, 222200)
* .style_calendar (CCD5DD, 999999) ($c_line1)
* .style_td_caltop (EEF5FF, 111111) ($c_background)
* .style_td_today (FFFACC, 333355) ($c_dangling)
* .style_td_sat (DDE5FF, 223333) ($c_color2)
* .style_td_sun (FFEEEE, 332200) ($c_color3)
* .style_td_blank (EEF5FF, 111111) ($c_background)
* .style_td_day (EEF5FF, 111111) ($c_background)
* .style_td_week (DDE5EE, 333333) ($c_color1)
* hr.short_line (CCD5DD, 999999) ($c_line1)
* td.vote_labe (DDE5EE, 333333) ($c_color1)
* td.vote_td1 (FFEEEE, 332200) ($c_color3)
* td.vote_td2 (DDE5FF, 223333) ($c_color2)
umorigu [Sun, 23 Oct 2016 13:59:57 +0000 (22:59 +0900)]
BugTrack/2367 Add tDiary css file for black color theme
umorigu [Sun, 23 Oct 2016 13:19:05 +0000 (22:19 +0900)]
Fix comment - 'Line feeds' to 'Carriage Return'
umorigu [Sun, 23 Oct 2016 13:12:47 +0000 (22:12 +0900)]
BugTrack/2367 Rename pukiwiki.css.php to pukiwiki.css, a static file
umorigu [Sun, 23 Oct 2016 13:03:49 +0000 (22:03 +0900)]
Merge branch 'bugtrack2367_static_css'
Import a CSS improvement proposed by bee on BugTrack/2367.
umorigu [Sun, 23 Oct 2016 13:01:26 +0000 (22:01 +0900)]
BugTrack/2367 Static CSS - Remove PHP code remained in default CSS
Akito Hachiya [Thu, 20 Oct 2016 03:03:00 +0000 (12:03 +0900)]
Remove compression feature
Akito Hachiya [Thu, 20 Oct 2016 02:45:24 +0000 (11:45 +0900)]
Remove media selector, use media query
Akito Hachiya [Thu, 20 Oct 2016 02:43:32 +0000 (11:43 +0900)]
Remove charset selector, use UTF-8
umorigu [Mon, 29 Feb 2016 18:29:52 +0000 (03:29 +0900)]
BugTrack2/375 Enable Login/Logout on tDiary skin
umorigu [Thu, 25 Feb 2016 14:40:20 +0000 (23:40 +0900)]
BugTrack2/375 Show "Invalid username or password" on failed login
umorigu [Sun, 21 Feb 2016 20:30:59 +0000 (05:30 +0900)]
Now PukiWiki version is "1.5.1"
umorigu [Sun, 21 Feb 2016 20:27:22 +0000 (05:27 +0900)]
BugTrack2/361 Send Canonical URL link http header for Search Engines
umorigu [Fri, 19 Feb 2016 14:06:20 +0000 (23:06 +0900)]
Set dev site name - PukiWiki Developers' site
umorigu [Fri, 19 Feb 2016 13:43:46 +0000 (22:43 +0900)]
Fix uninitialized variable access
umorigu [Fri, 19 Feb 2016 13:36:39 +0000 (22:36 +0900)]
Fix uninitialized string access
umorigu [Wed, 17 Feb 2016 16:20:57 +0000 (01:20 +0900)]
BugTrack2/384 Support LDAP Group - Security Group of Active Directory
Use LDAP_MATCHING_RULE_IN_CHAIN rule of Active Directory LDAP,
that enables nested group check.
For other systems, standard 'memberof' check is used.
umorigu [Sun, 14 Feb 2016 21:31:33 +0000 (06:31 +0900)]
BugTrack2/375 Improve parameter handling in loginform plugin
umorigu [Sun, 14 Feb 2016 20:20:02 +0000 (05:20 +0900)]
BugTrack2/362 Escape LDAP search strings to prevent LDAP injection
LDAP escape function 'ldap_escape' is available only on PHP5.6+.
I implemented pkwk_ldap_escape_dn/filter functions for compatibility.
umorigu [Sun, 14 Feb 2016 20:19:02 +0000 (05:19 +0900)]
Fix miss spell, and remove redundant group examples
umorigu [Sun, 14 Feb 2016 20:16:26 +0000 (05:16 +0900)]
BugTrack2/343 Replace 'htmlspecialchars' by 'htmlsc'
umorigu [Sat, 13 Feb 2016 00:45:44 +0000 (09:45 +0900)]
BugTrack2/362 Support ldaps(SSL) - Secure LDAP server connection
umorigu [Fri, 12 Feb 2016 18:50:52 +0000 (03:50 +0900)]
BugTrack2/383 Set Form authentication as default auth method type
umorigu [Fri, 12 Feb 2016 18:40:31 +0000 (03:40 +0900)]
BugTrack2/377 Add 'Template pages' label for template page list
umorigu [Fri, 12 Feb 2016 17:54:38 +0000 (02:54 +0900)]
BugTrack2/361 Apply simple URL for InterWiki link of PukiWiki site
umorigu [Fri, 12 Feb 2016 15:37:16 +0000 (00:37 +0900)]
Update UPDATING documents for Release 1.5.0 and 1.5.1
umorigu [Sun, 7 Feb 2016 18:09:10 +0000 (03:09 +0900)]
Set PukiWiki version to "1.5.1_beta1"
umorigu [Sun, 7 Feb 2016 17:26:50 +0000 (02:26 +0900)]
BugTrack2/374 Fix recording username logic
* Recoard username and fullname for each post
* If fullname is empty, use username as his/her fullname
* Take backup if username differs from previous post
umorigu [Sun, 7 Feb 2016 16:51:18 +0000 (01:51 +0900)]
BugTrack2/374 Get fullname from LDAP server on AUTH_TYPE_EXTERNAL
umorigu [Sun, 7 Feb 2016 13:22:14 +0000 (22:22 +0900)]
BugTrack2/230 Do nothing on updating page with unchanged content
umorigu [Sun, 7 Feb 2016 10:17:52 +0000 (19:17 +0900)]
BugTrack2/381 Handle failure to add comment - comment plugin
umorigu [Sun, 7 Feb 2016 01:04:51 +0000 (10:04 +0900)]
BugTrack2/376 Keep prev spec: return value of AttachFile::getstatus
* Return TRUE if a target file exists
* Return FAlSE if not exists
* Read status file(.log) regardless of active file existance
umorigu [Sat, 6 Feb 2016 16:33:03 +0000 (01:33 +0900)]
Make sure page name is valid for tracker plugin action
umorigu [Fri, 5 Feb 2016 21:36:19 +0000 (06:36 +0900)]
BugTrack2/366 Output 'X-Robots-Tag: nofollow' header on nofollow page
Internet search engines should not index PukiWiki default contents
(i.e. PukiWiki plugin manuals) and non-'read' pluing output (ie: Edit).
So we need to send "nofollow, noindex" marks to search engines.
Previously PukiWiki outputs "robots: nofollow,noindex" meta info
by HTML meta header contained in the default skin file.
Therefore if administrators customize skin file or use other skin,
they failed to tell "nofollow,noindex" to search engines.
In order to resolve this issue, PukiWiki engine now output
HTTP header 'X-Robots-Tag: nofollow,noindex' if the content should
not be cached.
We can tell right index policy to search engine crawlers
regardless of skin file.
umorigu [Fri, 5 Feb 2016 20:30:13 +0000 (05:30 +0900)]
ButTrack2/374 Remove author info on detecting edit collision
umorigu [Fri, 5 Feb 2016 14:00:54 +0000 (23:00 +0900)]
BugTrack2/7 Handle URL with double brackets as a simple URL
umorigu [Thu, 4 Feb 2016 15:43:45 +0000 (00:43 +0900)]
BugTrack2/290 Rename 'http_request' function to 'pkwk_http_request'
pecl_http extension also have the function named 'http_request'.
So, if pecl_http is enable, PukiWiki crashes because of
the name conflict.
I renamed the function to 'pkwk_http_request'.
And I also defined 'http_request' function on the environment
without pecl_http for the backword (mainly your plugin) compatibility.
umorigu [Wed, 3 Feb 2016 18:09:10 +0000 (03:09 +0900)]
BugTrack2/380 Support Mime-type of OpenDocument and Microsoft Office
https://en.wikipedia.org/wiki/OpenDocument
https://technet.microsoft.com/en-us/library/
ee309278(v=office.12).aspx
umorigu [Wed, 3 Feb 2016 17:04:06 +0000 (02:04 +0900)]
BugTrack2/377 Filter template pages for sites that have many pages
* Template list page: ':config/Templates'
* Show the list as template pages
* Anothor rule: Page whose name have 'template' keyward is template
umorigu [Wed, 3 Feb 2016 14:55:39 +0000 (23:55 +0900)]
BugTrack2/374 Remove author info when the page is used as template
umorigu [Wed, 3 Feb 2016 14:33:28 +0000 (23:33 +0900)]
BugTrack2/378 Record delete action history and its user
umorigu [Tue, 2 Feb 2016 17:31:04 +0000 (02:31 +0900)]
BugTrack2/379 Fix Mime-type of svg image; Add svgz type
umorigu [Tue, 2 Feb 2016 17:03:30 +0000 (02:03 +0900)]
Merge branch 'bugtrack2374_record_page_author' into branch_r1_5
* Record '#author' line that shows text modified date and author
* Implement auth username prefix that shows its auth provider
* Default list: 'default:', 'ldap:' and 'external:'
* Recoard Full name of author, it is included on '#author' info
* backup list shows its authors
* Hide author info when user edit wiki text
umorigu [Tue, 2 Feb 2016 16:44:03 +0000 (01:44 +0900)]
BugTrack2/374 Remove author info from user editing text
umorigu [Mon, 1 Feb 2016 16:39:40 +0000 (01:39 +0900)]
BugTrack2/374 Show authors on backup list
umorigu [Mon, 1 Feb 2016 16:15:39 +0000 (01:15 +0900)]
BugTrack2/374 Record fullname of edit user(author)
umorigu [Mon, 1 Feb 2016 16:03:16 +0000 (01:03 +0900)]
BugTrack2/374 Add auth provider user prefix
* AUTH_PROVIDER_USER_PREFIX_DEFAULT(default:)
* for users defined in pukiwiki.ini.php
* AUTH_PROVIDER_USER_PREFIX_LDAP(ldap:)
* for users from LDAP
* AUTH_PROVIDER_USER_PREFIX_EXTERNAL(external:)
* for users provided by external auth systems
umorigu [Mon, 1 Feb 2016 14:14:31 +0000 (23:14 +0900)]
BugTrack2/374 Record timestamp and edit user as author info
author plugin (plugin/author.inc.php) outputs empty string
for HTML text.
umorigu [Wed, 27 Jan 2016 16:03:17 +0000 (01:03 +0900)]
BugTrack2/264 Call getimagesize() only for image named files
umorigu [Tue, 26 Jan 2016 17:12:14 +0000 (02:12 +0900)]
BugTrack2/363 sourceforge.jp to osdn.jp for default contents
umorigu [Tue, 26 Jan 2016 16:56:39 +0000 (01:56 +0900)]
BugTrack2/363 Domain name change: sourceforge.jp to osdn.jp
umorigu [Tue, 26 Jan 2016 16:33:46 +0000 (01:33 +0900)]
Change Attach-file menu label: 'Upload' to 'Attach'
umorigu [Tue, 26 Jan 2016 15:56:40 +0000 (00:56 +0900)]
BugTrack2/345 Rename log and backup files on renaming attached file
umorigu [Tue, 26 Jan 2016 15:05:42 +0000 (00:05 +0900)]
BugTrack2/376 Keep download counts of archived attached files
umorigu [Fri, 22 Jan 2016 16:28:53 +0000 (01:28 +0900)]
BugTrack2/373 AUTH_TYPE_EXTERNAL - Add Log-in and Log-out menu
umorigu [Thu, 21 Jan 2016 19:24:14 +0000 (04:24 +0900)]
BugTrack2/373 AUTH_TYPE_EXTERNAL - Use external sign-in mechanism
In pukiwiki.ini.php, you can define $auth_external_login_url URL.
It is a external sign in URL.
For example,
```
$auth_type = AUTH_TYPE_EXTERNAL;
$auth_external_login_url = './exlogin.php';
```
If you meet a private page that requires access permission,
a system redirect you to './exlogin.php' with 'url_after_login'
parameter.
In this case, 'exlogin.php' is your custom PHP script.
After you sign in your SSO system,
please redirect back to 'url_after_login' page.
umorigu [Thu, 21 Jan 2016 12:58:30 +0000 (21:58 +0900)]
BugTrack2/356 Fix spell miss of COUNTER_DIR
umorigu [Wed, 20 Jan 2016 20:56:45 +0000 (05:56 +0900)]
Merge branch 'ldap' into branch_r1_5
umorigu [Wed, 20 Jan 2016 20:55:03 +0000 (05:55 +0900)]
BugTrack2/375 Use secure session options to prevent session hijacking
umorigu [Fri, 24 Jul 2015 20:13:32 +0000 (05:13 +0900)]
BugTrack2/375 Layout login form with table, and i18n messages
umorigu [Fri, 24 Jul 2015 19:50:06 +0000 (04:50 +0900)]
BugTrack2/362 Implement LDAP account sign in
umorigu [Thu, 16 Jul 2015 18:42:23 +0000 (03:42 +0900)]
BugTrack2/362 Add LDAP settings
umorigu [Sun, 12 Jul 2015 20:17:27 +0000 (05:17 +0900)]
BugTrack2/375 AUTH_TYPE_FORM auth_type - save auth info on session
Implement Log in and Log out for Form auth
umorigu [Sun, 12 Jul 2015 16:55:16 +0000 (01:55 +0900)]
BugTrack2/372 Add auth group - set of multi users on page permission
Reserved 'valid-group' that contains all authenticated users.
Implicit group that has same name as authenticated user name --
for example,
User 'usera' is one and only member of Group 'usera'.
umorigu [Sun, 12 Jul 2015 15:54:05 +0000 (00:54 +0900)]
BugTrack2/375 Decide to authenticated user only once on the beginning
If username are fixed and he don't have page reading permission,
the message 'Pagename is not readable' will be shown instead of
returning 401 Unauthorized.
umorigu [Sun, 12 Jul 2015 14:43:45 +0000 (23:43 +0900)]
Support simple page name expression with '&'-params as query string
For example, a URL "/?FrontPage&a=b&c=d" is recognized as "FrontPage"
page with a=b and c=d parammeteers.
umorigu [Mon, 6 Jul 2015 18:11:29 +0000 (03:11 +0900)]
Add Basic-Auth logout plugin to log out explicitly
umorigu [Mon, 18 Jan 2016 15:43:04 +0000 (00:43 +0900)]
BugTrack2/364 New development team name: "PukiWiki Development Team"
umorigu [Mon, 18 Jan 2016 04:46:51 +0000 (13:46 +0900)]
BugTrack2/354 Fix: invalid char encoding of attached filename
umorigu [Sun, 17 Jan 2016 16:49:12 +0000 (01:49 +0900)]
BugTrack2/370 Set same pcomment default target page for en/ja
* Default page: Comments/%s
* Compatible default page: コメント/%s
If only compatible page exist, use compatible page as a default comment
target.
umorigu [Sun, 17 Jan 2016 15:26:12 +0000 (00:26 +0900)]
BugTrack2/365 Simplify copyright string on page footer
umorigu [Sun, 17 Jan 2016 13:33:30 +0000 (22:33 +0900)]
BugTrack2/141 Fix: counter plugin fails for yesterday on PHP5.1+
umorigu [Sun, 17 Jan 2016 12:26:07 +0000 (21:26 +0900)]
BugTrack2/120 Fix: new plugin doesn't show "New!" indicator on PHP5+
strtotime function requests specific date time format.
So use ISO 8601 (YYYY-MM-DD) as input string.
http://php.net/manual/en/function.strtotime.php
umorigu [Sun, 10 Jan 2016 16:22:46 +0000 (01:22 +0900)]
Ignore NetBeans project files
umorigu [Fri, 8 Jan 2016 15:30:00 +0000 (00:30 +0900)]
Merge branch 'php7' into branch_r1_5
BugTrack2/369 PHP7 Support
umorigu [Fri, 8 Jan 2016 15:20:02 +0000 (00:20 +0900)]
BugTrack2/369 PHP7: Replace ereg regex functions with preg_xxx
Removed Extensions - ereg
http://php.net/manual/en/migration70.removed-exts-sapis.php
Remove ereg() and ereg_replace()
umorigu [Thu, 7 Jan 2016 18:47:44 +0000 (03:47 +0900)]
BugTrack2/369 Follow PHP7 changes of internal array pointer
Backward incompatible change of PHP7:
foreach no longer changes the internal array pointer
We already don't use current() function for array to calculate prev/next.
http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.foreach.array-pointer
http://wiki.php.net/rfc/php7_foreach
umorigu [Tue, 5 Jan 2016 19:23:03 +0000 (04:23 +0900)]
BugTrack2/369 PHP7 - Remove /e (PREG_REPLACE_EVAL) in preg_replace
Backward incompatible change of PHP7:
preg_replace() function no longer supports "\e" (PREG_REPLACE_EVAL).
http://php.net/manual/en/migration70.changed-functions.php#migration70.changed-functions.core
Solution:
Simply remove "/e" option of preg_replace() because we doen't use EVAL
behaviors.
umorigu [Tue, 5 Jan 2016 19:18:30 +0000 (04:18 +0900)]
Fix invalid reference operator of array for usort
umorigu [Mon, 4 Jan 2016 03:19:26 +0000 (12:19 +0900)]
BugTrack2/369 Support PHP7 - Remove '& new Class' notation
Backward incompatible change of PHP7:
New objects cannot be assigned by reference
The result of the new statement can no longer be assigned to a variable
http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.other.new-by-ref
Deprecated code:
```
class C {}
$c =& new C;
```
Solution:
```
class C {}
$c = new C;
```
These code changes will cause PHP4 imconpatibility in some cases.