aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/install.php
Commit message (Collapse)AuthorAge
* do not check for deprecated functions in installerAndreas Gohr2025-03-15
| | | | | | | 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
* Use date in install.phphauk922024-07-26
|
* code style: line breaksAndreas Gohr2023-08-31
|
* Rector to rename print to echo callsAndreas Gohr2023-08-31
|
* update urls and simplify regexpGerrit Uitslag2023-08-31
|
* reformatting at top levelGerrit Uitslag2023-08-31
|
* comment fix in install.phpAndreas Gohr2023-08-30
|
* Apply rector fixes to bin and toplevelAndreas Gohr2023-08-30
|
* increase required PHP version to 7.4Andreas Gohr2023-06-09
|
* CodeStyle: fix line length issue in installerAndreas Gohr2022-04-28
|
* Changed username validation (to func cleanID) during installationjpedryc2022-02-15
|
* Styling install.phpjpedryc2022-02-15
|
* Fix warning in install.php on PHP 8Damien Regad2021-01-26
| | | | | | | | | 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
* Fix for Remove random_compat, no longer needed #3262Martijn Ras2021-01-08
|
* Installer: check for XML parser method. fixes #3207Andreas Gohr2020-07-27
|
* fixed comment smd5->bcryptms1012020-06-09
|
* changed hash algo in install.php from smd5 to bcryptms1012020-06-08
|
* Checks for PHP mail in install.php and warns if mail used after install (#3056)Myron Turner2020-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #2993 from splitbrain/issue1892Andreas Gohr2020-03-04
|\ | | | | Add random_bytes check in installer
| * Add random_bytes check in installerPhy2020-02-28
| | | | | | | | | | | | | | 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
* | Remove obsolete attributes at <script> tagPhy2020-03-02
|/ | | | | | | | | | | | 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 <58340153+petrkajzar@users.noreply.github.com>
* Merge pull request #2857 from splitbrain/issue2845Andreas Gohr2019-10-15
|\ | | | | use inline template instead of .dist file to populate users.auth.php
| * use inline template instead of .dist file to populate users.auth.phpPhy2019-09-13
| | | | | | | | 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.
* | Merge branch 'master' into psr2Andreas Gohr2019-03-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * install.php: respect useacl=0 choice, fixes #2576Phy2019-03-13
| |
* | PSR2 adjustments for the PassHash classAndreas Gohr2019-03-06
| | | | | | | | | | | | | | I opted for ignoring the camel case funtion check not because the public hash_* methods are widely used but because I find this style actually cleaner in this case where the method name is auto-built from the hash type name.
* | Merge branch 'master' into psr2Andreas Gohr2018-05-07
|\| | | | | | | | | | | | | | | | | | | | | | | * master: fixed tests for chunked encoding Update PHP logo URL to HTTPS Bump updateVersion fix draft recovering updated php-archive lib. fixes #2361 translation update translation update Add simple catch-all to left install.php div
| * Add simple catch-all to left install.php divL. Ivanovich Harrison2018-04-24
| | | | | | Background: I was trying to install DokuWiki in my chrooted OpenBSD webserver. The install seemed funky (generated config but not ACLs), and the installer page, instead of even showing any errors, was just blank after submitting initial parameters. Long story short, I edited install.php to approximately this effect, and finally got a visible error, which let me find out that I needed to create $CHROOT/dev/{a,u,s,}random. I would have found that out a lot sooner and torn out a lot less of my beautiful hair if something like this were already in place. After all, the installation phase is where one expects many edge cases and whatnot. Would help newcomers with strange environments to make more actionable forum posts crying for help. Please consider.
* | line lengths shortenedAndreas Gohr2018-04-27
|/ | | | | | This makes sure all files use line lenghts shorter than 120 characters. This is a quick fix. It might not always be the nicest change.
* Remove installer conf/dokuwiki.php hash checkMichael Große2018-03-21
| | | | | | | | This check was useful in ages past, when there was no conf/local.php However, nowadays it causes the installer to fail with the snapshot version of DokuWiki and since we now have a dedicated local.php, it has become obsolete.
* try to display an error when installer is run without phpAndreas Gohr2018-02-14
| | | | | | | | When a server has no PHP support enabled, it will either prompt to download a PHP file or may display it as HTML instead. When a user tries to run install.php with a server that does the latter, they will see some weird garbage with the browser trying to interpret raw PHP as HTML. This pathc adds a warning at the top, telling the user what is going on.
* Make security.png more descriptiveDeathCamel572017-12-06
| | | Access attempts to security.png are normally denied, so the name of the file will be more self-descriptive
* Replace htmlspecialchars to hsc in corePhy2017-08-01
|
* remove magic quote handlingAndreas Gohr2017-03-31
|
* increase minimum version requirement to PHP 5.6Andreas Gohr2017-03-31
|
* Fix calling undefined function random_int() when doing install.phpYousong Zhou2017-02-20
| | | | | | | Otherwise the it will fail with the following error: 2017/02/20 14:34:57 [error] 16242#0: *59 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function random_int() in /var/www/dokuwiki/inc/PassHash.class.php on line 630" while reading response header from upstream, client: 172.18.35.245, server: _, request: "POST /dokuwiki/install.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "10.5.234.170", referrer: "http://10.5.234.170/dokuwiki/install.php" Fixes #1852
* Release preparationGuy Brand2017-02-19
|
* Release preparationGuy Brand2016-06-26
|
* Fixed broken links to php.net and redirecting pages to php.netAnders Sandblad2016-06-14
|
* Release preparationGuy Brand2015-08-10
|
* changed all input type=submit buttons to button type=submit button for ↵Anika Henke2015-07-12
| | | | better stylability
* Remove error supression for file_exists()Andreas Gohr2015-01-07
| | | | | | | In an older version of PHP a file_exists() call would issue a warning when the file did not exist. This was fixed in later PHP releases. Since we require PHP 5.3 now, there's no need to supress any error here anymore. This might even give a minor performance boost.
* Merge remote-tracking branch 'origin/master' into scrutinizerissuesGerrit Uitslag2014-12-09
|\ | | | | | | | | | | | | | | | | Conflicts: inc/media.php inc/plugin.php inc/template.php lib/plugins/authplain/_test/escaping.test.php lib/plugins/syntax.php
| * new PHP minimum requirement is now 5.3.3Andreas Gohr2014-10-14
| | | | | | | | that's the version in Debian old stable
| * release preparationsAndreas Gohr2014-09-29
| |
* | more PHPDocs, unused var, small bit code reformattingGerrit Uitslag2014-10-01
|/
* allow config presets with installerAndreas Gohr2014-06-22
| | | | | | | | | | | | | this adds the ability to place a install.conf file next to the install.php which contains additional config options to be written to conf/local.php on completion of the installer. The install.conf is automatically deleted then. This is useful for automated DokuWiki installers or downloaders that take care of downloading DokuWiki and then drop the user in the default install dialog for initial setup. These tools may set up host specific things options like rewrites, image magic path or file permission settings in this preset.
* check mbstring function overloading in installer. closes #736Andreas Gohr2014-05-24
|
* Release preparationGuy Brand2014-05-05
|
* Release preparationGuy Brand2013-12-08
|