dwpage: Detect that workingfile is a directoryAnd provide meaningful error message instead of PHP warning.Fixes #4461
fix listing of plugin componentsPlugins may have one main component of a type or they might havemultiple of the same type in a subdirectory.Sometimes they may have both. This is often the case f
fix listing of plugin componentsPlugins may have one main component of a type or they might havemultiple of the same type in a subdirectory.Sometimes they may have both. This is often the case for organicallygrown plugin, commonly with helper classes where a helper.php existsfirst only to be extended by helper/*.php files later.This patch fixes the listing of plugin(components) by type in the plugincontroller.It also adjusts bin/plugin.php to handle plugin CLI components.
show more ...
Use str_starts_with/str_ends_with
code style: line breaks
code style: operator spacing
Rector to rename print to echo calls
coding style: control flow whitespaces
coding style: function call spacing
codestyle adjustments: function declaration braces/spaces
codestyle adjustments: class declaration braces
Apply rector fixes to bin and toplevel
do no load disabled plugins in /bin/plugin.php
move resolvers into File namespace
replace deprecated function callsReplaces the use of resolve_pageid() and resolve_mediaid() with theproper class invocations
dwpage: output meta data as JSONjson shows the same nested data but is easier to process by other tools
dwpage: rename gmeta into getmeta
dwpage.php: add an option to get metadataThis adds an option to ./bin/dwpage.php, to display metadata about apage. This is useful in maintenance shell scripts, and debugging plugins.There is no a
dwpage.php: add an option to get metadataThis adds an option to ./bin/dwpage.php, to display metadata about apage. This is useful in maintenance shell scripts, and debugging plugins.There is no ability to write metadata, only read them../bin/dwpage.php -u <user> gmeta [page] <meta tag>where <meta tag> can be "date modified" (in quotes) or "last_change date"an empty <meta tag> returns all metadata.Signed-off-by: Robin Getz <robin.getz@analog.com>
Changes according to revisions in https://github.com/moisesbr-dw/dokuwiki/pull/2Many minor details and use of Sort::xyz() instead of intl_xyz() in files outside the "inc" folder.
use envvars in shebang
Command line tool wantedpages.php
replaced deprecated utf8 functionsFor now this uses full qualified namespaces, sensible imports may comelater.
moved plugin controller to Extension namespace
First go at moving the plugin classes into their own namespace
Fix .htaccess files for Apache 2.4 (and 2.2)Refer to module by suitable file name (mod_*.c).Test for mod_authz_core.c (instead of mod_authz_host.c) to properlydetect Apache 2.4 and avoid false po
Fix .htaccess files for Apache 2.4 (and 2.2)Refer to module by suitable file name (mod_*.c).Test for mod_authz_core.c (instead of mod_authz_host.c) to properlydetect Apache 2.4 and avoid false positive for Apache 2.2.
PSR2 adjustments for bin scripts
1234