Commit Graph

10864 Commits

Author SHA1 Message Date
Guy Brand 3c8749ba80 Release candidate 2020-06-09 "Hogfather" RC3 2020-06-09 20:01:03 +02:00
Guy Brand f378e57a29 Merge branch master into stable 2020-06-09 19:59:24 +02:00
Guy Brand e602e04722 Release preparation 2020-06-09 19:58:59 +02:00
Andreas Gohr d26862c5dc
Merge pull request #3122 from splitbrain/Rewriter
Fix accessing handler internals
2020-06-08 08:24:41 +02:00
Andreas Gohr dd5a02820f
Merge pull request #3155 from splitbrain/issue3114test
Add unit tests for noNS ending with colon
2020-06-08 08:22:07 +02:00
Phy a65be91118
add unit tests for #3114 2020-06-07 21:08:41 -04:00
Henry Pan 627b135e7b
Merge pull request #3154 from dregad/typo
Fix typo in error message
2020-06-07 16:44:48 -04:00
Damien Regad 985f440f62 Fix typo in error message 2020-06-07 11:45:15 +02:00
Andreas Gohr af1080410d
Merge pull request #3145 from splitbrain/admin-overflow
Add flexbox to admin menu link to fix text width
2020-06-05 21:22:56 +02:00
Andreas Gohr 17b5bdfb9c
Merge pull request #3132 from splitbrain/defines
Move defines to their own file
2020-06-05 21:21:42 +02:00
Phy 5e77d3e832
Add flexbox to admin menu link to fix text width
The previous implementation assigns the whole width of the parent ul to the text area, which brings some text (fr) overlapping the icon in the second row. Adding flexbox should be most backward-compatible and ensures a proper width being set.
2020-06-04 22:57:37 -04:00
Andreas Gohr 7210c855fd add datetime option to info plugin
It simply displays the time of the last render() call. This is useful
for cache debugging
2020-06-04 13:41:12 +02:00
Andreas Gohr b6c12ffa53 use correct class for Sitemap generation. fixes #3134
This seems to have been a refactoring error
2020-06-04 13:35:21 +02:00
Andreas Gohr 85b0dd7dc5 readd lib/exe/indexer.php for now. fixes #3137
This ensures backward compability (especially for testing purposes)
2020-06-04 13:29:53 +02:00
Gerrit Uitslag 0b34fd76bb
Merge pull request #3135 from dokuwiki-translate/lang_update_73_1591265958
Translation update (es)
2020-06-04 12:22:55 +02:00
Domingo Redal c183535abd translation update 2020-06-04 12:21:12 +02:00
Andreas Gohr eb33b670a5 make handler status available via accessors. fixes #2931
This allows plugins to inspect and manipulate the status if needed.
2020-06-04 08:50:50 +02:00
Andreas Gohr 46028c4c32 Move defines to their own file
As described in
https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603
sometime the Lexer constants have not been (auto)loaded when a syntax plugin
is invoked (I'm not sure why).

In general PSR2 discourages a mix of main code and function/class setup
with the call to define() being considered main code.

This patch moves these the define calls to a separate new file, solving
both of the above problems.

These are not all our defines. Instead I focused on the ones that are
ENUM-like.

In the future we should think about what defines can be replaced by
class constants and what other define() calls should be moved.
2020-06-04 08:22:16 +02:00
Guy Brand b83837fe1b Release candidate 2020-06-01 "Hogfather" RC2 2020-06-03 15:50:30 +02:00
Guy Brand 2268f30d0a Merge branch master into stable 2020-06-03 15:49:07 +02:00
Guy Brand 7ee46c5d3d Release preparation 2020-06-03 15:48:32 +02:00
Andreas Gohr d87ff0d3eb
fix phpdoc
Co-authored-by: Matthias Gutjahr <mattsches@gmail.com>
2020-06-03 12:31:05 +02:00
Andreas Gohr e3ec9ced04
Merge pull request #3116 from splitbrain/breadcrumbfix
fix hierarchical breadcrumbs #3114
2020-06-03 08:30:22 +02:00
Henry Pan 0b126498c5
Merge pull request #3117 from splitbrain/infoimprovement
Info Improvement
2020-06-03 01:24:44 -04:00
Andreas Gohr 533aca443d Fix accessing calls
Some plugins need access to the handler (and rewriter) calls. One
example is the do plugin.

This adds some accessing methods to the callWriter objects, ensures
$calls can be accessed and removes some duplicate code by introducing an
abstract base class.
2020-06-03 00:28:56 +02:00
Andreas Gohr 0884c25472 fix the case lookup table. #3113
This readds a whole bunch of conversions that for some reason got lost
in the refactoring. No idea what happened there.
2020-06-02 21:47:42 +02:00
Andreas Gohr 3feb137a32 run all tests without mbstring support
The setup we had, where we tried to disable mbstring on a perclass basis
did not actually work because the define is set up in an early include
already.

Ideally we should probably make the check a static instead of a
constant.
2020-06-02 21:44:41 +02:00
Andreas Gohr 322ad0741d some minor improvements for the writability checks
* handle is_writable for non-existing pages correctly
* Success and Fail are now color coded correctly
2020-06-02 11:42:41 +02:00
Andreas Gohr 556e996e8e fixed message classes
In #3069 the internal structure of messages was accidentally changed to
be numeric. This reintroduces the proper string constants.

I thought about keeping the integers and do the mapping in
html_msgarea() but some plugins rely on inspecting the global $MSG so I
don't want to change it.
2020-06-02 11:33:13 +02:00
Andreas Gohr c077d4dc94 fix hierarchical breadcrumbs #3114 2020-06-02 11:14:18 +02:00
Andreas Gohr 6dc405e1a9 fix formatting errors in template.php
These were introduced in #2684
2020-06-02 10:33:20 +02:00
Andreas Gohr cd0c69d4aa ignore the .github directory for exports 2020-06-02 10:21:53 +02:00
Henry Pan 0e091db5e3
Merge pull request #3112 from dokuwiki-translate/lang_update_72_1591021999
Translation update (fr)
2020-06-01 12:41:04 -04:00
Schplurtz le Déboulonné 47e93e33c9 translation update 2020-06-01 16:36:12 +02:00
Guy Brand fe14dcf17b Bump updateVersion 2020-06-01 13:24:32 +02:00
Guy Brand 017e165d34 Release candidate 2020-06-01 "Hogfather" RC1 2020-06-01 12:57:48 +02:00
Guy Brand deeaa68932 Merge master into stable 2020-06-01 12:54:55 +02:00
Guy Brand bf713fe248 Release preparation 2020-06-01 12:53:56 +02:00
Andreas Gohr c01a028456
Merge pull request #2684 from geekitude/tpl_getMediaFile_check
Improve tpl_getMediaFile()
2020-05-31 16:57:32 +02:00
Andreas Gohr a61342fb47
Merge pull request #3069 from splitbrain/event-msg-show
Trigger INFOUTIL_MSG_SHOW event for msg()
2020-05-31 16:54:23 +02:00
Gerrit Uitslag 650fb29e0d
Merge pull request #3106 from dokuwiki-translate/lang_update_69_1590781682
Translation update (pt)
2020-05-31 12:48:17 +02:00
Gerrit Uitslag 01e00829a6
Merge branch 'master' into lang_update_69_1590781682 2020-05-31 12:48:04 +02:00
Henry Pan dad94815f0
Merge pull request #3104 from dokuwiki-translate/lang_update_67_1590781344
Translation update (pt)
2020-05-30 15:21:20 -04:00
Henry Pan 054e9c5787
Merge pull request #3103 from dokuwiki-translate/lang_update_65_1590781231
Translation update (pt)
2020-05-30 15:21:09 -04:00
Paulo Schopf 6da9edb7a8 translation update 2020-05-29 21:52:46 +02:00
Paulo Schopf a9f5d8b3c3 translation update 2020-05-29 21:48:44 +02:00
Paulo Schopf c1643fc843 translation update 2020-05-29 21:46:11 +02:00
Henry Pan d58d8efc56
Merge pull request #3102 from dokuwiki-translate/lang_update_64_1590762965
Translation update (pt)
2020-05-29 12:09:13 -04:00
Paulo Schopf e31c003dba translation update 2020-05-29 16:41:12 +02:00
Andreas Gohr eb4fa6e9dc
Merge pull request #3098 from glensc/patch-1
FatalException: drop unused $status property
2020-05-29 11:40:19 +02:00