bugtrack_2213_relative_script_uri3
RSS
Rev. 日時 作者
a784fa9 bugtrack_2213_relative_script_uri3 2017-09-06 07:58:31 umorigu

BugTrack/2348 Remove limitation of Search box count

71a40c7 2017-09-04 23:57:14 umorigu

BugTrack/615 Remove $script shortening logic for Keitai profile

42880ef 2017-09-04 23:07:03 umorigu

BugTrack/2213 Use Absolute URI as Canonical URL

87416fb 2017-09-04 02:26:28 umorigu

BugTrack/341 Support Port 443 of non-https sites

1c21a00 2017-09-04 01:46:01 umorigu

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();
```

d4fd351 2017-09-03 11:51:11 umorigu

BugTrack/2260 Use get_base_uri() instead of $script

2019096 2017-09-03 21:22:17 umorigu

BugTrack/2213 Use get_base_uri() instead of get_script_uri()

82ae296 2017-09-02 18:25:49 umorigu

BugTrack/2213 Set Absolute URI or Root relative path

* Absolute URI: URI for Offline USE
* Root relative URI: Location header in HTTP redirection

7bad7de 2017-09-02 12:50:22 umorigu

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'

6785d8b 2017-09-02 10:38:45 umorigu

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

cf24849 bugtrack_2256_edit_preview_with_template 2017-08-27 11:16:10 umorigu

BugTrack/2256 edit: Handle template loading button

b963e2b redmine_2426_topicpath_slashes 2017-08-27 06:44:36 umorigu

BugTrack/2426 topicpath plugin - Use CSS layout for slashes

cd237d7 2017-08-27 06:37:12 umorigu

BugTrack/2102 Disable output buffering on sending an file

180b4f4 2017-08-27 06:36:17 umorigu

BugTrack/571 Write updates log

e35bce2 bugtrack_2126_menubar_ul_attrs_2 2017-08-18 04:10:45 umorigu

BugTrack/2361 Simple Pagename URL for ls2 plugin

53970ad 2017-08-17 23:59:45 umorigu

BugTrack/2126 Stop removing attrs of ul elements in Menu

b7779f7 bugtrack_2188_listcss_3 2017-08-17 23:25:29 umorigu

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

3b57473 2017-08-17 01:04:56 umorigu

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.

c72364b 2017-08-15 10:32:05 umorigu

BugTrack/2420 Avoid JavaScript error on PHP5.3 env

2e347b7 2017-07-11 00:37:43 umorigu

BugTrack/2422 Improve DB error handling in counter plugin

a5f0333 2017-07-09 23:33:18 umorigu

BugTrack/2422 counter plugin: Remove unused log line

db66ccd 2017-07-09 23:25:21 umorigu

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

a1f8e5b 2017-06-22 00:52:07 umorigu

BugTrack/2425 Fix today param handling of popular plugin

683d0c1 2017-06-20 01:21:59 umorigu

BugTrack/2196 Refresh RecentChanges list on renaming pages

8dc8b36 2017-06-20 00:44:18 umorigu

BugTrack/2266 Open FormattingRules on new Window from edit page

c3033c3 2017-06-20 00:11:05 umorigu

BugTrack/2424 Fix unfreezing page on comment action

32c7cde 2017-06-13 03:40:00 umorigu

BugTrack/782 Numbering tracker issue naturally : the biggest one + 1

6a4f843 2017-06-11 21:47:24 umorigu

BugTrack/2422 Rename plugin action support Database counter

34a4ca0 2017-06-11 21:47:12 umorigu

BugTrack/2422 popular plugin supports Dababase counter

112f231 2017-06-02 00:17:28 umorigu

BugTrack/2422 Counter plugin supports MySQL

旧リポジトリブラウザで表示