History log of /dokuwiki/install.php (Results 1 – 25 of 147)
Revision Date Author Comments
# 999fe614 15-Mar-2025 Andreas Gohr <[email protected]>

do not check for deprecated functions in installer

our UTF-8 fallbacks should not fall back on the utf8_decode/encode
functions anymore, so this check is no longer useful

sligthly related to #4354


# 234bbfaf 26-Jul-2024 hauk92 <[email protected]>

Use date in install.php


# d4f83172 31-Aug-2023 Andreas Gohr <[email protected]>

code style: line breaks


# 26dfc232 31-Aug-2023 Andreas Gohr <[email protected]>

Rector to rename print to echo calls


# 220897ae 30-Aug-2023 Gerrit Uitslag <[email protected]>

update urls and simplify regexp


# ff84abad 30-Aug-2023 Gerrit Uitslag <[email protected]>

reformatting at top level


# 0f2c316a 30-Aug-2023 Andreas Gohr <[email protected]>

comment fix in install.php


# b1f206e1 30-Aug-2023 Andreas Gohr <[email protected]>

Apply rector fixes to bin and toplevel


# c49393f5 09-Jun-2023 Andreas Gohr <[email protected]>

increase required PHP version to 7.4


# 36a1a880 28-Apr-2022 Andreas Gohr <[email protected]>

CodeStyle: fix line length issue in installer


# 2cb06bbd 15-Feb-2022 jpedryc <[email protected]>

Changed username validation (to func cleanID) during installation


# db581254 15-Feb-2022 jpedryc <[email protected]>

Styling install.php


# ee4f28e3 26-Jan-2021 Damien Regad <[email protected]>

Fix warning in install.php on PHP 8

Warning: Undefined array key "pop" in install.php on line 427

In PHP 8, attempting to read an undefined array key throws a warning
instead of a notice as in earl

Fix warning in install.php on PHP 8

Warning: Undefined array key "pop" in install.php on line 427

In PHP 8, attempting to read an undefined array key throws a warning
instead of a notice as in earlier versions [1].

[1]: https://www.php.net/manual/en/migration80.incompatible.php

show more ...


# 5484014b 07-Jan-2021 Martijn Ras <[email protected]>

Fix for Remove random_compat, no longer needed #3262


# 670dc13d 27-Jul-2020 Andreas Gohr <[email protected]>

Installer: check for XML parser method. fixes #3207


# 722372bd 10-Jun-2020 ms101 <[email protected]>

fixed comment smd5->bcrypt


# 267bbbca 08-Jun-2020 ms101 <[email protected]>

changed hash algo in install.php from smd5 to bcrypt


# 3f6872b1 17-May-2020 Myron Turner <[email protected]>

Checks for PHP mail in install.php and warns if mail used after install (#3056)

* Checks for PHP mail in install.php and warns if mail used after install.

* fixed spacing in instal.php

* Recon

Checks for PHP mail in install.php and warns if mail used after install (#3056)

* Checks for PHP mail in install.php and warns if mail used after install.

* fixed spacing in instal.php

* Reconfigured warning message and code for PHP mail not existing or disabled. Removed the substitute mail function in inc/compatibility.php

* fixed some spacing errors in install.php

* Adds warning to error_log when call is made to unavailable PHP mail function and posts the warning to browser top if current user is admin.

* adds newline at end of compatibility.php and $lang global to Mailer.class.php

* Changes to handling of msg and `return false` as suggested by @phy25

* Removed tab from lilne 719

* removed additional tabs from Mailer.class.php

* Update inc/Mailer.class.php

removes unnecessary object

* Update inc/Mailer.class.php

changed msg styling for msg_managers_only warning for no PHP mail function

* Update inc/Mailer.class.php

* Update inc/Mailer.class.php

show more ...


# 47350e5c 04-Mar-2020 Andreas Gohr <[email protected]>

Merge pull request #2993 from splitbrain/issue1892

Add random_bytes check in installer


# 59305168 02-Mar-2020 Phy <[email protected]>

Remove obsolete attributes at <script> tag

Nowadays it is not necessary to specify "type" or "charset" attribute at <script> tag:

1. "type" attribute defaults to "application/javascript", so there

Remove obsolete attributes at <script> tag

Nowadays it is not necessary to specify "type" or "charset" attribute at <script> tag:

1. "type" attribute defaults to "application/javascript", so there is no need to specify that. The recent value "text/javascript" is obsolete in favor of the default "application/javascript", as stated e.g. here: https://www.iana.org/assignments/media-types/media-types.xhtml#text

2. "charset" attribute of the <script> tag defaults to encoding be the same as the encoding of the script element's node document. As DokuWiki's default encoding is "utf-8", there is no need to specify this encoding in external resources. See: https://html.spec.whatwg.org/multipage/scripting.html#the-script-element

Manual merging, closes #2921.

Co-Authored-By: petrkajzar <[email protected]>

show more ...


# 387250ef 29-Feb-2020 Phy <[email protected]>

Add random_bytes check in installer

Fixes #1892. This will be triggered by:

- PHP 7+: "If an appropriate source of randomness cannot be found, an Exception will be thrown"
- paragonie/random_compat

Add random_bytes check in installer

Fixes #1892. This will be triggered by:

- PHP 7+: "If an appropriate source of randomness cannot be found, an Exception will be thrown"
- paragonie/random_compat: PHP 5.6 support will fail if urandom is not readable

show more ...


# c823026d 15-Oct-2019 Andreas Gohr <[email protected]>

Merge pull request #2857 from splitbrain/issue2845

use inline template instead of .dist file to populate users.auth.php


# a672ef75 14-Sep-2019 Phy <[email protected]>

use inline template instead of .dist file to populate users.auth.php

users.auth.php is the only file in DokuWiki that is generated by using existing .dist file, instead of inline templates in instal

use inline template instead of .dist file to populate users.auth.php

users.auth.php is the only file in DokuWiki that is generated by using existing .dist file, instead of inline templates in install.php. This may cause problem when install.php is being run to create animal wiki in farm mode, because in this case DOKU_CONF may have no files at all, so install cannot populate users.auth.php properly. This closes #2845, which may be a result of this behavior - without proper comments at the beginning of the file, once the last authplain user is removed (if users has other auth backend as a proxy of authplain), the whole file will get removed, which causes fatal error.

show more ...


# abc9c0d2 30-Mar-2019 Andreas Gohr <[email protected]>

Merge branch 'master' into psr2

* master: (22 commits)
Support "local" subdir when listing the smiley directory
fix zero ID/NS issue with page_findnearest
add ID/NS = '0' test against page_fin

Merge branch 'master' into psr2

* master: (22 commits)
Support "local" subdir when listing the smiley directory
fix zero ID/NS issue with page_findnearest
add ID/NS = '0' test against page_findnearest
fix zero value issue with metadata indexer
add key/value = '0' test to metadata indexer
fix zero ID issue with linkwiz and search indexer
fix zero ID issue with wl() and getID()
add $ID = '0' test against wl() and getID()
cookie.js when setValue‘s value parameter is false delete entry
install.php: respect useacl=0 choice, fixes #2576
cookie.js add def parameter to getValue()
cookie.js convert value type to string
set_doku_pref bugfix, closes #2721
more definition tests of doku_pref, for #1129
add tests for get/set_doku_pref #2721
fix Windows tests for #2702
use absolute URL in index.php when redirecting to doku.php, fixes #2706
Adding "recursive_groups" setting for authad-plugin in configuration-manager
Fix notices when using dw CLI
Fix issue #2396
...

show more ...


# b9ab8e4f 13-Mar-2019 Phy <[email protected]>

install.php: respect useacl=0 choice, fixes #2576


123456