| #
a672ef75 |
| 14-Sep-2019 |
Phy <git@phy25.com> |
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 <andi@splitbrain.org> |
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 <git@phy25.com> |
install.php: respect useacl=0 choice, fixes #2576
|
| #
c3cc6e05 |
| 06-Mar-2019 |
Andreas Gohr <andi@splitbrain.org> |
PSR2 adjustments for the PassHash class
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
PSR2 adjustments for the PassHash class
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.
show more ...
|
| #
272a98e2 |
| 07-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
Merge branch 'master' into psr2
* master: fixed tests for chunked encoding Update PHP logo URL to HTTPS Bump updateVersion fix draft recovering updated php-archive lib. fixes #2361 trans
Merge branch 'master' into psr2
* 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
show more ...
|
| #
64159a61 |
| 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
line lengths shortened
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.
|
| #
7ac1baa0 |
| 24-Apr-2018 |
L. Ivanovich Harrison <35902473+ivanovich@users.noreply.github.com> |
Add simple catch-all to left install.php div
Background: I was trying to install DokuWiki in my chrooted OpenBSD webserver. The install seemed funky (generated config but not ACLs), and the installe
Add simple catch-all to left install.php div
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.
show more ...
|
| #
fcfe300b |
| 21-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
Remove installer conf/dokuwiki.php hash check
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 Dok
Remove installer conf/dokuwiki.php hash check
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.
show more ...
|
| #
ac251797 |
| 14-Feb-2018 |
Andreas Gohr <gohr@cosmocode.de> |
try to display an error when installer is run without php
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
try to display an error when installer is run without php
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.
show more ...
|
| #
3cd83762 |
| 06-Dec-2017 |
DeathCamel57 <DeathCamel57@gmail.com> |
Make security.png more descriptive
Access attempts to security.png are normally denied, so the name of the file will be more self-descriptive
|
| #
65cc1598 |
| 01-Aug-2017 |
Phy <git@phy25.com> |
Replace htmlspecialchars to hsc in core
|
| #
75ce4e03 |
| 31-Mar-2017 |
Andreas Gohr <andi@splitbrain.org> |
remove magic quote handling
|
| #
3476bb81 |
| 31-Mar-2017 |
Andreas Gohr <andi@splitbrain.org> |
increase minimum version requirement to PHP 5.6
|
| #
02bca5d4 |
| 20-Feb-2017 |
Yousong Zhou <yszhou4tech@gmail.com> |
Fix calling undefined function random_int() when doing install.php
Otherwise the it will fail with the following error:
2017/02/20 14:34:57 [error] 16242#0: *59 FastCGI sent in stderr: "PHP mess
Fix calling undefined function random_int() when doing install.php
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
show more ...
|
| #
2f7c97b3 |
| 19-Feb-2017 |
Guy Brand <gb@unistra.fr> |
Release preparation
|
| #
c8574e7d |
| 26-Jun-2016 |
Guy Brand <gb@unistra.fr> |
Release preparation
|
| #
59752844 |
| 14-Jun-2016 |
Anders Sandblad <runeson@gmail.com> |
Fixed broken links to php.net and redirecting pages to php.net
|
| #
a060d997 |
| 10-Aug-2015 |
Guy Brand <gb@unistra.fr> |
Release preparation
|
| #
ae614416 |
| 12-Jul-2015 |
Anika Henke <anika@selfthinker.org> |
changed all input type=submit buttons to button type=submit button for better stylability
|
| #
79e79377 |
| 07-Jan-2015 |
Andreas Gohr <gohr@cosmocode.de> |
Remove error supression for file_exists()
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 PH
Remove error supression for file_exists()
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.
show more ...
|
| #
8702de7f |
| 09-Dec-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Merge remote-tracking branch 'origin/master' into scrutinizerissues
Conflicts: inc/media.php inc/plugin.php inc/template.php lib/plugins/authplain/_test/escaping.test.php lib/plugins/syntax.php
|
| #
001d05ed |
| 14-Oct-2014 |
Andreas Gohr <andi@splitbrain.org> |
new PHP minimum requirement is now 5.3.3
that's the version in Debian old stable
|
| #
253d4b48 |
| 01-Oct-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
more PHPDocs, unused var, small bit code reformatting
|
| #
57271d07 |
| 29-Sep-2014 |
Andreas Gohr <andi@splitbrain.org> |
release preparations
|
| #
2613efa1 |
| 21-Jun-2014 |
Andreas Gohr <andi@splitbrain.org> |
allow config presets with installer
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
allow config presets with installer
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.
show more ...
|